Electronic equipment, photographing method and storage medium
By designing the shutter input area, piezoelectric module and vibration module in electronic devices, detecting the force of shutter operation and providing vibration feedback, the problem of insufficient fast and simple operation of mobile phone photography is solved, and the interactive experience and photography efficiency are improved.
Patent Information
- Application Number
- CN202311184308.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2025-03-14
AI Technical Summary
The existing mobile phone photography operation process is not fast and simple enough, and the interactive experience is poor.
An electronic device is designed, including a shutter input area, a piezoelectric module and a vibration module. By detecting the force generated by the shutter operation, the vibration module is controlled to generate vibration, provide vibration feedback, and simplify photography operation.
It improves the human-computer interactive experience, simplifies the photo operation process, saves the steps of awakening and unlocking the touch screen, and enhances the convenience and efficiency of taking pictures.
Smart Images

Figure CN119629264A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of photographing technology, and in particular to an electronic device, a photographing method and a storage medium. Background Art
[0002] At present, the imaging of electronic devices such as mobile phones has become one of the most concerned functions of users when consuming, and the pursuit of the ultimate mobile phone photography experience is also the research and development goal of major manufacturers. For example, in addition to the image quality gradually approaching that of traditional cameras, the operation experience and convenience of mobile phone photography are also approaching those of traditional cameras. However, existing mobile phone photography usually requires five steps: waking up the touch screen, unlocking the touch screen, opening the camera application, framing and focusing, and triggering the virtual shutter on the touch screen. Compared with traditional cameras, the operation process of mobile phone photography is still not quick and simple enough, and the interactive experience is poor. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides an electronic device, a photographing method and a storage medium, which can provide users with rich vibration feedback and improve the human-computer interaction experience.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0005] The frame has a shutter input area; the shutter input area is used to receive a shutter operation input by a user;
[0006] A piezoelectric module is located in the space surrounded by the frame and is disposed at the shutter input area, and is configured to detect the force generated by the shutter operation acting on the shutter input area;
[0007] a vibration module, located in the space enclosed by the frame, connected to the shutter input area, and configured to drive the shutter input area to vibrate;
[0008] The control module is electrically connected to the piezoelectric module and the vibration module, and is configured to control the vibration module to generate vibration based on the force when the force meets a preset condition, so as to form a vibration feedback for the shutter operation.
[0009] In some embodiments, the control module is further configured to control the vibration module to generate a first vibration when the applied force is greater than a first threshold and less than a second threshold; and control the vibration module to generate a second vibration when the applied force is greater than or equal to the second threshold;
[0010] The first vibration acts on the shutter input area to form a first vibration feedback; the second vibration acts on the shutter input area to form a second vibration feedback; and the second vibration feedback is different from the first vibration feedback.
[0011] In some embodiments, the control module is further configured to control the vibration module to stop vibrating when the applied force is less than or equal to the first threshold.
[0012] In some embodiments, the electronic device further includes a camera module;
[0013] The control module is electrically connected to the camera module and is further configured to control the camera module to perform different functions based on the force;
[0014] Wherein, the function performed by the photographing module has a corresponding vibration effect.
[0015] In some embodiments, the control module is further configured to control the camera module to perform a focus function or a zoom function when the applied force is greater than a first threshold and less than a second threshold; and to control the camera module to perform a shutter function when the applied force is greater than or equal to the second threshold.
[0016] In some embodiments, the control module is further configured to adjust the focal length of the camera module in response to a first sliding operation on the shutter input area when the camera mode of the electronic device is an autofocus mode.
[0017] In some embodiments, the camera module includes a lens and an imaging element, and the lens and the imaging element are arranged at intervals on the propagation light path of the ambient light;
[0018] The control module is connected to the lens and the imaging element, and is also configured to adjust the distance between the lens and the imaging element in response to a second sliding operation applied to the shutter input area when the shooting mode of the electronic device is a manual focus mode.
[0019] In some embodiments, the control module is further configured to control the shutter switch of the photographing module to be turned on once if the duration of the shutter operation is less than a preset duration threshold; and to control the shutter switch of the photographing module to be turned on multiple times in succession if the duration of the shutter operation is greater than or equal to the duration threshold.
[0020] In some embodiments, the control module is further configured to control the vibration module to vibrate in response to a touch operation on a touch screen of the electronic device to form vibration feedback for the touch operation.
[0021] In some embodiments, the shutter input area is disposed close to a communication interface of the electronic device, and is located on two adjacent sides of a middle frame of the frame body with the communication interface.
[0022] In some embodiments, a partial area of the frame is reused as the shutter input area; or, the frame has an opening, and the shutter input area is exposed through the opening.
[0023] According to a second aspect of an embodiment of the present disclosure, a photographing method is provided, the method comprising:
[0024] Detecting the force exerted on the shutter input area by a shutter operation through a piezoelectric module of the electronic device;
[0025] When the applied force satisfies a preset condition, controlling a vibration module of the electronic device to generate vibration based on the applied force;
[0026] The vibration generated by the vibration module acts on the shutter input area to form vibration feedback for the shutter operation.
[0027] In some embodiments, controlling a vibration module of the electronic device to generate vibration based on the force includes:
[0028] When the applied force is greater than a first threshold value and less than a second threshold value, the vibration module is controlled to generate a first vibration; the first vibration acts on the shutter input area to form a first vibration feedback;
[0029] When the applied force is greater than or equal to the second threshold, controlling the vibration module to generate a second vibration; the second vibration acts on the shutter input area to form a second vibration feedback;
[0030] The first vibration feedback is different from the second vibration feedback.
[0031] In some embodiments, the method further comprises:
[0032] When the applied force is less than or equal to the first threshold, the vibration module is controlled to stop vibrating.
[0033] In some embodiments, the method further comprises:
[0034] Controlling a camera module of the electronic device to perform different functions based on the force;
[0035] Wherein, the function performed by the photographing module has a corresponding vibration effect.
[0036] In some embodiments, the controlling of the camera module of the electronic device to perform different functions based on the force includes:
[0037] When the applied force is greater than a first threshold value and less than a second threshold value, controlling the camera module to perform a focus function or a zoom function;
[0038] When the applied force is greater than or equal to the second threshold, the photographing module is controlled to execute a shutter function.
[0039] In some embodiments, controlling the camera module to perform a focus function or a zoom function includes:
[0040] When the photographing mode of the electronic device is an auto-focus mode, the focal distance of the photographing module is adjusted in response to a first sliding operation applied to the shutter input area.
[0041] In some embodiments, controlling the camera module to perform a focus function or a zoom function includes:
[0042] When the photographing mode of the electronic device is the manual focus mode, in response to the second sliding operation acting on the shutter input area, the distance between the lens and the imaging element in the photographing module is adjusted.
[0043] In some embodiments, controlling the camera module to perform a shutter function includes:
[0044] If the duration of the shutter operation is less than a preset duration threshold, controlling the shutter switch of the camera module to open once;
[0045] If the duration of the shutter operation is greater than or equal to the duration threshold, the shutter switch of the photographing module is controlled to be opened multiple times in succession.
[0046] In some embodiments, the method further comprises:
[0047] In response to a touch operation on a touch screen in the electronic device, the vibration module is controlled to vibrate to form a vibration feedback of the touch operation.
[0048] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising at least:
[0049] processor;
[0050] a memory for storing processor-executable instructions;
[0051] Wherein, the processor is configured to execute the photographing method as described in the second aspect above.
[0052] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:
[0053] When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the photographing method in the second aspect described above.
[0054] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0055] The disclosed embodiment can realize fast photo taking by operating the shutter input area and receiving vibration feedback at the same time, which not only saves the photo taking operation process and improves the photo taking efficiency by not waking up the touch screen and unlocking the touch screen, but also provides rich vibration feedback for the user, thereby simulating photo taking with a real camera and improving the human-computer interaction experience. Moreover, compared with electronic devices detecting shutter operations through physical button structures, the disclosed embodiment detects shutter operations through the shutter input area and the piezoelectric module, which can reduce the space occupied by the electronic device and improve the space utilization rate of the electronic device.
[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0058] Figure 1 is a schematic diagram of a structure of an electronic device according to an exemplary embodiment Figure 1 .
[0059] Figure 2 is a schematic diagram of a structure of an electronic device according to an exemplary embodiment Figure 2 .
[0060] Figure 3 is a first waveform diagram corresponding to a first vibration according to an exemplary embodiment.
[0061] Figure 4 is a second waveform diagram corresponding to a second vibration according to an exemplary embodiment.
[0062] Figure 5 This is a schematic diagram of a process of a photographing method shown in an exemplary embodiment. Figure 1 .
[0063] Figure 6 The figure is a schematic diagram of a photographing process of an electronic device according to an exemplary embodiment.
[0064] Figure 7 This is a schematic diagram of a process of a photographing method shown in an exemplary embodiment. Figure 2 .
[0065] Figure 8 The figure is a schematic diagram of half-pressing the shutter of an electronic device according to an exemplary embodiment.
[0066] Fig. 9 It is a schematic diagram showing an exemplary embodiment of an electronic device sliding left on a shutter input area.
[0067] Fig.10 It is a schematic diagram showing an exemplary embodiment of sliding right on a shutter input area of an electronic device.
[0068] Fig.11 is a schematic diagram of an electronic device according to an exemplary embodiment Figure 1 .
[0069] Fig.12 is a schematic diagram of an electronic device according to an exemplary embodiment Figure 2 . DETAILED DESCRIPTION
[0070] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0071] The disclosed embodiment provides an electronic device, which is suitable for use in a scene where photography can be performed without directly acting on a touch screen. The scene of the photography includes, but is not limited to, a scene of taking photos or recording videos. For example, when the electronic device is in a standby state, quick photography can be achieved by directly acting on a shutter input area of a frame; for another example, when the touch screen of the electronic device is in a working state, quick photography can be achieved by directly acting on a shutter input area of a frame without switching the display interface of the touch screen to an interface where a camera icon is located.
[0072] Figure 1 is a schematic diagram of a structure of an electronic device according to an exemplary embodiment Figure 1 .like Figure 1 As shown, the electronic device includes:
[0073] The frame 101 has a shutter input area 102; the shutter input area 102 is used to receive a shutter operation input by a user;
[0074] The piezoelectric module 103 is located in the space enclosed by the frame 101 and is disposed at the shutter input area 102 , and is configured to detect the force generated by the shutter operation acting on the shutter input area 102 ;
[0075] The vibration module 104 is located in the space enclosed by the frame 101 and connected to the shutter input area 102, and is configured to drive the shutter input area 102 to vibrate;
[0076] The control module 105 is electrically connected to the piezoelectric module 103 and the vibration module 104 , and is configured to control the vibration module 104 to generate vibration based on the force when the force meets a preset condition, so as to form a vibration feedback for the shutter operation.
[0077] In the embodiments of the present disclosure, the electronic device may include a smart phone, a tablet computer, or a wearable electronic device, etc., which is not limited in the embodiments of the present disclosure. For example, in the case where the electronic device is a smart phone, the shutter input area may be formed on the frame of the smart phone and close to the touch screen of the smart phone, so that the shutter operation can be triggered through the shutter input area while watching the display screen of the touch screen to quickly take a photo.
[0078] The frame has a shutter input area for receiving a shutter operation input by a user. That is to say, not only the touch screen of the electronic device can receive the shutter operation input by the user, but also the shutter input area on the frame can receive the shutter operation input by the user. In this way, by increasing the shutter input area, the electronic device can be adapted to the needs of taking photos in more different scenes, improving the user's photo taking experience, and by directly acting on the shutter input area to achieve quick photo taking, it is convenient for the user to snap or capture photos.
[0079] Here, the shutter operation acting on the shutter input area is used to start the electronic device to take a photo. The shutter operation may include a pressing operation, which is not limited in the embodiment of the present disclosure.
[0080] In the disclosed embodiment, the frame may include a middle frame carrying electronic device components (e.g., a vibration module or a control module of the electronic device), a frame surrounding the middle frame, and a back shell connected to the frame; the middle frame is located in the area surrounded by the back shell and the frame. The shutter input area may be formed at different positions of the frame or the back shell.
[0081] In some embodiments, Figure 2 As shown, the shutter input area 102 is arranged close to the communication interface 106 of the electronic device, and is arranged on two adjacent sides of the frame in the frame body with the communication interface 106 .
[0082] Here, the communication interface is used to transmit power supply signals and / or audio signals, etc. The communication interface is located at the bottom of the electronic device. When the user holds the electronic device for a call, the communication interface and the speaker in the electronic device for outputting the call are located on opposite sides of the electronic device.
[0083] Exemplarily, the communication interface includes a micro USB interface, a USB Type-C interface, or a Lightning interface, which is not limited in the embodiments of the present disclosure.
[0084] In the present disclosure, Figure 2 As shown, by arranging the shutter input area 102 close to the communication interface 106 of the electronic device and locating the shutter input area 102 and the communication interface 106 on two adjacent sides of the frame, the position of the shutter input area 102 can be made as close as possible to the actual shutter position 200 of the camera device. In this way, taking photos can be more in line with the user's operating habits.
[0085] It should be noted that, in the process of forming the shutter input area on the frame, the frame can be directly reused or the shutter input area can be set on the frame separately, and the embodiments of the present disclosure are not limited to this.
[0086] In some embodiments, part of the border is reused as a shutter input area. That is, in the embodiments of the present disclosure, part of the border can be used as a shutter input area. In this way, there is no need to set up an additional shutter input area on the electronic device, which reduces the space occupied by the electronic device, thereby improving the space utilization of the electronic device and the consistency of the appearance of the electronic device.
[0087] In other embodiments, the frame has an opening, and the shutter input area is exposed through the opening. That is, the shutter input area is arranged at the opening in the embodiment of the present disclosure, so that the user can quickly find the shutter input area through the opening to improve the user experience.
[0088] The piezoelectric module is arranged in the shutter input area to detect the force generated by the shutter operation on the shutter input area. In some embodiments, the piezoelectric module is attached to the surface of the shutter input area facing the inside of the electronic device. In this way, the piezoelectric module can better detect the force.
[0089] Exemplarily, the piezoelectric module includes, but is not limited to, a pressure sensor.
[0090] The vibration module is connected to the shutter input area, which may include: the vibration module is directly connected to the shutter input area; or the vibration module is indirectly connected to the shutter input area through other modules (such as a connecting rod). Here, the vibration module is connected to the shutter input area, which means that the vibration module is in contact with the shutter input area, so that the shutter input area can be driven to vibrate together during the vibration of the vibration module.
[0091] It should be noted that, if the vibration of the vibration module is different, the corresponding shutter input area will also vibrate differently following the vibration of the vibration module. Here, the different vibration may include different vibration amplitudes and / or vibration frequencies.
[0092] In the disclosed embodiment, the vibration direction of the vibration module may be parallel to the touch screen of the electronic device.
[0093] Exemplarily, the vibration module includes, but is not limited to, a vibration motor.
[0094] In the disclosed embodiment, the vibration module can not only drive the shutter input area to vibrate to form a vibration feedback for the shutter operation, but also drive the touch screen to vibrate to form a vibration feedback for the touch operation. In some embodiments, the control module is further configured to control the vibration module to vibrate to form a vibration feedback for the touch operation in response to a touch operation on the touch screen of the electronic device.
[0095] That is, the embodiment of the present disclosure can reuse the vibration module in the electronic device that drives the touch screen to vibrate, so that the vibration module of the electronic device can also drive the shutter input area to vibrate. In this way, not only can the functions realized based on the vibration module be enriched, but also the space occupied by the electronic device can be saved, thereby improving the space utilization rate of the electronic device.
[0096] It should be noted that the piezoelectric module and the vibration module may belong to one device that can simultaneously realize the two functions of detecting force and vibration, or may belong to two different devices respectively, and the embodiments of the present disclosure are not limited to this.
[0097] The control module is electrically connected to the piezoelectric module and can obtain the force detected by the piezoelectric module to determine the magnitude of the force.
[0098] The control module is electrically connected to the vibration module, and can control the vibration module to vibrate based on the force when the force meets the preset conditions, so as to form vibration feedback for the shutter operation. That is to say, the embodiment of the present disclosure does not control the vibration module to vibrate when the force is detected, but controls the vibration module to vibrate when the force meets the preset conditions, which can not only respond to the user's shutter operation so that the user can get vibration feedback in the shutter input area, but also reduce the vibration caused by accidental touch, thereby improving the user experience.
[0099] In the embodiment of the present disclosure, controlling the vibration module to vibrate based on the applied force when the applied force meets a preset condition may include: controlling the vibration module to vibrate when the applied force is greater than a first threshold.
[0100] Here, the vibration form of the vibration module can be set according to the vibration touch of the user's preference. For example, the vibration form may include multiple continuous vibrations or a single vibration, etc., which is not limited in the embodiment of the present disclosure.
[0101] It should be noted that, when the applied force meets the preset conditions, the electronic device can not only control the vibration module based on the applied force, but also control the camera module of the electronic device to take pictures. For example, the control module can wake up the touch screen and start the camera module to take pictures. In this way, the electronic device can not only achieve fast photography based on the shutter operation of the shutter input area, but also form touch feedback of the shutter operation.
[0102] In the embodiment of the present disclosure, the frame of the electronic device has a shutter input area; the piezoelectric module is arranged at the shutter input area; the vibration module is connected to the shutter input area; the control module is electrically connected to the piezoelectric module and the vibration module, and is configured to control the vibration module to generate vibration based on the force when the piezoelectric module detects that the force acting on the shutter input area meets the preset conditions, so as to form a vibration feedback for the shutter operation. That is to say, the embodiment of the present disclosure can receive vibration feedback while realizing fast photography by acting on the shutter input area through the shutter operation, which not only saves the photography operation process and improves the photography efficiency without waking up the touch screen and unlocking the touch screen, but also provides rich vibration feedback for the user, thereby simulating real camera photography and improving the human-computer interaction experience; and, compared with the electronic device detecting the shutter operation through the physical button structure, the embodiment of the present disclosure detects the shutter operation through the shutter input area and the piezoelectric module, which can reduce the space occupied by the electronic device and improve the space utilization rate of the electronic device.
[0103] In some embodiments, the control module is further configured to control the vibration module to generate a first vibration when the applied force is greater than a first threshold and less than a second threshold; and control the vibration module to generate a second vibration when the applied force is greater than or equal to the second threshold;
[0104] The first vibration acts on the shutter input area to form a first vibration feedback; the second vibration acts on the shutter input area to form a second vibration feedback; and the second vibration feedback is different from the first vibration feedback.
[0105] In the disclosed embodiment, the first threshold and the second threshold can be determined according to the trigger force of pressing the shutter of a real camera, wherein the first threshold can be determined according to the trigger force of half-pressing the shutter of a real camera, and the second threshold can be determined according to the trigger force of fully pressing the shutter of a real camera.
[0106] It should be noted that the touch screen of the electronic device can display options with different trigger forces for users to choose from to meet personalized needs.
[0107] In the case of controlling the camera module to perform different camera functions, the vibration module can generate vibrations corresponding to the camera functions to form vibration feedback. For example, when the control module controls the camera module to perform a zoom function, the vibration module can be controlled to generate a first vibration to form a first vibration feedback. For another example, when the control module controls the camera module to perform a shutter function, the vibration module can be controlled to generate a second vibration to form a second vibration feedback.
[0108] It should be noted that, on the basis that the first vibration feedback and the second vibration feedback are different, the first vibration corresponding to the first vibration feedback and the second vibration corresponding to the second vibration feedback are also different.
[0109] Here, the first vibration and the second vibration are different, which may include: the amplitude of the first vibration is different from the amplitude of the second vibration, and / or the vibration frequency of the first vibration is different from the vibration frequency of the second vibration.
[0110] For example, Figure 3 and Figure 4 As shown, Figure 3 is the first waveform corresponding to the first vibration, Figure 4 is a second waveform corresponding to the second vibration, wherein the first waveform may be a waveform simulating the vibration tactile sensation of half-pressing the shutter of a real camera; and the second waveform may be a waveform simulating the vibration tactile sensation of fully pressing the shutter of a real camera.
[0111] Of course, the first waveform and the second waveform can be freely set according to the vibration tactile sensation preferred by the user. For example, the first waveform and the second waveform can both be set to a waveform of crisp vibration tactile sensation, a waveform of heavy vibration tactile sensation, or a waveform of simulated shutter vibration tactile sensation.
[0112] In the disclosed embodiment, the vibration waveforms are set differently, and the vibration module can be controlled to vibrate differently based on the set vibration waveforms, thereby providing users with a richer and more personalized tactile experience.
[0113] For example, the touch screen of the electronic device displays a vibration option icon, and after the vibration option icon is activated, the touch screen displays multiple vibration options for the user to choose from. Different vibration options correspond to different vibration waveforms, which can form different vibration feedbacks, so that the user can feel different vibration touches.
[0114] In the disclosed embodiment, the vibration module generates different vibrations, which can form different first vibration feedbacks and second vibration feedbacks accordingly. Thus, by controlling the vibration of the vibration module, a richer tactile experience can be provided to the user acting on the shutter input area.
[0115] In some embodiments, the control module is further configured to control the vibration module to stop vibrating when the applied force is less than or equal to the first threshold.
[0116] The force is less than or equal to the first threshold, indicating that the shutter input area may be accidentally touched. For example, when the electronic device is a mobile phone, the user presses the shutter input area while holding the phone to the ear to make a call, or the user presses the shutter input area while playing a game with the mobile phone in landscape mode.
[0117] It should be noted that, when the applied force is less than or equal to the first threshold, the electronic device does not respond to the shutter operation, and then controls the vibration module to stop vibrating. Here, controlling the vibration module to stop vibrating includes: switching the vibration module to non-vibration when the vibration module is vibrating; or controlling the vibration module to continue not vibrating when the vibration module is not vibrating.
[0118] In the disclosed embodiment, when the applied force is less than or equal to the first threshold, the vibration module is prevented from vibrating, thereby reducing the possibility of the shutter input area being accidentally touched and improving the user experience.
[0119] In some embodiments, the electronic device further includes a camera module;
[0120] The control module is electrically connected to the camera module, and is further configured to control the camera module to perform different functions based on the force; wherein the functions performed by the camera module have corresponding vibration effects.
[0121] In the embodiments of the present disclosure, the photographing module performs different photographing functions, which may include: a focus function, a zoom function, or a shutter function, etc., and the embodiments of the present disclosure do not limit this.
[0122] It should be noted that when the applied force meets the preset conditions, the control module will judge the state of the touch screen before controlling the camera module. If the touch screen is in an unlocked state, the camera module can be directly controlled to perform different functions based on the applied force. If the touch screen is in a locked state or an off-screen state, the touch screen needs to be switched to an unlocked state to display the camera interface corresponding to different camera functions on the touch screen.
[0123] Exemplarily, when the touch screen is in a locked state, the touch screen may be switched to an unlocked state to display a focus interface corresponding to the focus function on the touch screen.
[0124] The functions performed by the above-mentioned camera module have corresponding vibration effects, which may include: different camera functions correspond to different vibration feedbacks, thereby forming different vibration effects, and may also include: different camera functions have the same vibration feedback, thereby forming the same vibration effects.
[0125] In the embodiment of the present disclosure, the control module can control the vibration module to generate different vibrations to form vibration feedback while controlling the camera module to perform different functions based on the force. In this way, the embodiment of the present disclosure can not only realize fast photography based on the shutter input area, but also provide vibration feedback for the shutter operation to improve the interactive experience, thereby restoring the real camera operation experience.
[0126] In some embodiments, the control module is further configured to control the camera module to perform a focus function or a zoom function when the applied force is greater than a first threshold and less than a second threshold; and to control the camera module to perform a shutter function when the applied force is greater than or equal to the second threshold.
[0127] In the embodiment of the present disclosure, when the applied force is greater than the first threshold value and less than the second threshold value, the camera module is activated in response to the shutter operation. Here, the camera module is activated, which can be characterized as the touch screen of the electronic device displaying a camera interface. The camera interface corresponds to the camera function. For example, when focusing, the camera interface is a focus interface, and when zooming, the camera interface is a zoom interface.
[0128] The above-mentioned focusing function may include an automatic focusing function and a manual focusing function. The automatic focusing may include single focusing and continuous focusing. Among them, continuous focusing is characterized by performing multiple focusing on different viewfinders.
[0129] Exemplarily, the electronic device is a mobile phone. When the touch screen of the mobile phone is in a locked state and the force detected by the shutter input area is greater than a first threshold and less than a second threshold, the touch screen is switched to an unlocked state, and the camera module is started to display a focus interface on the touch screen.
[0130] When the camera module of the mobile phone is in single focus mode, the camera module is controlled to perform one focus. The user can perform multiple focuses on the subject by multiple actions on the shutter input area.
[0131] When the camera module of the mobile phone is in continuous focus mode, the camera module is controlled to continuously perform multiple focusing operations. For example, the camera module can continuously focus on the object being photographed, and the focus position on the focus interface changes in real time, thereby achieving a continuous focus effect. It should be noted that each time the focus is successful, the vibration module can be controlled to vibrate to prompt the user that the focus is successful.
[0132] In the embodiment of the present disclosure, after the photographing module is turned on, it is necessary to control the photographing module to perform a focus function or a zoom function based on the photographing mode of the photographing module.
[0133] In some embodiments, the control module is further configured to adjust the focal length of the camera module in response to a first sliding operation on the shutter input area when the camera mode of the electronic device is an autofocus mode.
[0134] In the disclosed embodiment, the focal distance of the camera module indicates the distance from the optical center of the lens to the light focusing focus when parallel light is incident. Adjusting the focal distance of the camera module may include: changing the focal distance to achieve a zoom function. Here, in the process of adjusting the focal distance of the camera module, the vibration module may be controlled to vibrate based on the first sliding operation, and vibration feedback corresponding to the sliding focus may be formed while achieving sliding zoom, thereby improving the human-computer interaction experience.
[0135] It should be noted that adjusting the focal length of the camera module may include adjusting the position of the lens to increase the focal length or decrease the focal length, thereby changing the field of view of the camera.
[0136] Here, in the process of responding to the first sliding operation, it can be determined whether the moving lens increases the focal distance or decreases the focal distance based on the sliding direction of the first sliding operation. In some embodiments, the sliding direction of the first sliding operation includes a first direction and a second direction, and the first direction and the second direction are opposite directions; when the sliding direction of the first sliding operation is the first direction, the lens can be moved accordingly to increase the focal distance; when the sliding direction of the second sliding operation is the second direction, the lens can be moved accordingly to decrease the focal distance.
[0137] In the disclosed embodiment, when the camera module of the electronic device is in the auto focus mode, the zoom function is realized by directly sliding in the shutter input area, thereby making the electronic device more flexible in executing the zoom function.
[0138] In some embodiments, the camera module includes a lens and an imaging element, and the lens and the imaging element are arranged at intervals on the propagation light path of the ambient light;
[0139] The control module is connected to the lens and is further configured to adjust the distance between the lens and the imaging element in response to a second sliding operation applied to the shutter input area when the photographing mode of the electronic device is a manual focus mode.
[0140] In the disclosed embodiment, the ambient light is emitted to the imaging element through the lens, and the imaging element can perform imaging based on the ambient light after receiving the ambient light.
[0141] The above adjustment of the distance between the lens and the imaging element in the camera module can realize manual focus of the electronic device. Here, in the process of adjusting the distance between the lens and the imaging element, the vibration module can be controlled to vibrate based on the second sliding operation, and vibration feedback corresponding to manual focus can be formed while realizing manual focus, thereby improving the human-computer interaction experience.
[0142] It should be noted that adjusting the distance between the lens and the imaging element may include: increasing the distance between the lens and the imaging element, or decreasing the distance between the lens and the imaging element, thereby making the image clearer through manual focus.
[0143] Here, in the process of responding to the second sliding operation, it can be determined whether to increase the distance between the lens and the imaging element or to decrease the distance between the lens and the imaging element based on the sliding direction of the second sliding operation. For example, when the sliding direction of the second sliding operation is the first direction, the distance between the lens and the imaging element can be increased; when the sliding direction of the second sliding operation is the second direction, the distance between the lens and the imaging element can be decreased.
[0144] In the disclosed embodiment, when the camera module of the electronic device is in manual focus mode, the camera module can be controlled to achieve a manual focus effect by directly sliding in the shutter input area, thereby making the electronic device more flexible in executing the manual focus function.
[0145] In some embodiments, the control module is further configured to control the shutter switch of the photographing module to be turned on once if the duration of the shutter operation is less than a preset duration threshold; and to control the shutter switch of the photographing module to be turned on multiple times in succession if the duration of the shutter operation is greater than or equal to the duration threshold.
[0146] In the embodiment of the present disclosure, the shutter switch is turned on once, and the electronic device can take a photo once. The shutter switch is turned on multiple times continuously, and the electronic device can start the continuous shooting function, and then take photos multiple times continuously. Here, after focusing or zooming the subject, the action duration of the shutter operation acting on the shutter input area can be detected, and based on the action duration, it can be controlled whether to take a photo once or take photos multiple times continuously.
[0147] It should be noted that the shutter switch is set on the propagation light path of the ambient light and is located between the lens and the imaging element. When the shutter switch is turned on, the shutter switch forms an opening for the ambient light to pass through. When the ambient light enters the camera module, the ambient light emitted from the lens propagates through the opening to the imaging element for imaging; when the shutter switch is closed, the shutter switch blocks the ambient light emitted from the lens, and then the imaging element cannot receive the ambient light and will not form an image.
[0148] In the disclosed embodiment, the photographing module can be controlled to execute different shutter functions based on the duration of the shutter operation, which not only enables the electronic device to execute different shutter functions more flexibly, but also improves the efficiency of the electronic device in executing different shutter functions.
[0149] The disclosed embodiment also provides a photographing method, which is applied in a scenario where an electronic device takes photos or videos. Figure 5 This is a schematic diagram of a process of a photographing method shown in an exemplary embodiment. Figure 1 .like Figure 5 As shown, the electronic device executing the photographing method may include the following steps:
[0150] S1001, detecting, by a piezoelectric module of an electronic device, a force generated by a shutter operation acting on the shutter input area;
[0151] S1002: When the applied force satisfies a preset condition, controlling a vibration module of the electronic device to generate vibration based on the applied force;
[0152] S1003 . Vibration generated by the vibration module acts on the shutter input area to form vibration feedback of the shutter operation.
[0153] In step S1001, the piezoelectric module of the electronic device may detect a shutter operation of the shutter input area when the electronic device is in a locked screen state or a standby state.
[0154] In step S1002, when the applied force meets a preset condition, a camera module of the electronic device may be activated to take a photo, and a vibration module of the electronic device may be controlled to generate vibration based on the applied force.
[0155] In the embodiment of the present disclosure, the shutter input area can receive vibration feedback while realizing fast photo taking through shutter operation, which not only eliminates the need to wake up the touch screen and unlock the touch screen to save photo taking operation process and improve photo taking efficiency, but also provides users with rich vibration feedback to improve the human-computer interaction experience; and, compared with electronic devices detecting shutter operations through physical button structures, the embodiment of the present disclosure detects shutter operations through the shutter input area and the piezoelectric module, which can reduce the space occupied by electronic devices and improve the space utilization of electronic devices.
[0156] In some embodiments, controlling a vibration module of the electronic device to generate vibration based on the force includes:
[0157] When the applied force is greater than a first threshold value and less than a second threshold value, the vibration module is controlled to generate a first vibration; the first vibration acts on the shutter input area to form a first vibration feedback;
[0158] When the applied force is greater than or equal to the second threshold, controlling the vibration module to generate a second vibration; the second vibration acts on the shutter input area to form a second vibration feedback;
[0159] The first vibration feedback is different from the second vibration feedback.
[0160] In the disclosed embodiment, the vibration module generates different vibrations, which can form different first vibration feedbacks and second vibration feedbacks accordingly. Thus, by controlling the vibration of the vibration module, different tactile experiences can be provided to the user acting on the shutter input area.
[0161] In some embodiments, the method further comprises:
[0162] When the applied force is less than or equal to the first threshold, the vibration module is controlled to stop vibrating.
[0163] In the embodiment of the present disclosure, when the applied force is less than or equal to the first threshold, the electronic device does not respond to the shutter operation, and the vibration module does not generate vibration. In this way, the shutter input area can be less likely to be accidentally touched, and the user experience can be improved.
[0164] In some embodiments, the method further comprises:
[0165] Controlling a camera module of the electronic device to perform different functions based on the force;
[0166] Wherein, the function performed by the photographing module has a corresponding vibration effect.
[0167] In the embodiment of the present disclosure, the control module can control the vibration module to generate different vibrations to form vibration feedback while controlling the camera module to perform different functions based on the force. In this way, the embodiment of the present disclosure can not only realize fast photography based on the shutter input area, but also provide vibration feedback for the shutter operation to improve the interactive experience, thereby restoring the real camera operation experience.
[0168] In some embodiments, the controlling of the camera module of the electronic device to perform different functions based on the force includes:
[0169] When the applied force is greater than a first threshold value and less than a second threshold value, controlling the camera module to perform a focus function or a zoom function;
[0170] When the applied force is greater than or equal to the second threshold, the photographing module is controlled to execute a shutter function.
[0171] In the disclosed embodiment, the photographing module can be controlled to execute different photographing functions based on the force, thereby directly acting on the shutter input area, which can not only save the photographing process and improve the photographing efficiency, but also make the photographing more flexible.
[0172] In some embodiments, controlling the camera module to perform a focus function or a zoom function includes:
[0173] When the photographing mode of the electronic device is an auto-focus mode, the focal distance of the photographing module is adjusted in response to a first sliding operation applied to the shutter input area.
[0174] In the disclosed embodiment, when the camera module of the electronic device is in the autofocus mode, the camera module can be controlled to perform a zoom function by directly sliding in the shutter input area, thereby making the electronic device perform the zoom function faster and more flexible.
[0175] In some embodiments, controlling the camera module to perform a focus function or a zoom function includes:
[0176] When the photographing mode of the electronic device is the manual focus mode, in response to the second sliding operation acting on the shutter input area, the distance between the lens and the imaging element in the photographing module is adjusted.
[0177] In the disclosed embodiment, when the camera module of the electronic device is in the manual focus mode, manual focus can be achieved by directly sliding on the shutter input area, thereby making the manual focus of the electronic device more flexible.
[0178] In some embodiments, controlling the camera module to perform a shutter function includes:
[0179] If the duration of the shutter operation is less than a preset duration threshold, controlling the shutter switch of the camera module to open once;
[0180] If the duration of the shutter operation is greater than or equal to the duration threshold, the shutter switch of the photographing module is controlled to be opened multiple times in succession.
[0181] In the disclosed embodiment, the photographing module can be controlled to execute different shutter functions based on the duration of the shutter operation, which not only enables the electronic device to execute different shutter functions more flexibly, but also improves the efficiency of the electronic device in executing different shutter functions.
[0182] In some embodiments, the method further comprises:
[0183] In response to a touch operation on a touch screen in the electronic device, the vibration module is controlled to vibrate to form a vibration feedback of the touch operation.
[0184] In the disclosed embodiment, the vibration module of the electronic device can not only drive the touch screen to vibrate, but also drive the shutter input area to vibrate. In this way, the disclosed embodiment can reuse the vibration module in the electronic device, which not only makes the functions based on the vibration module more abundant, but also saves the space occupied by the electronic device and improves the space utilization rate of the electronic device.
[0185] In order to better understand one or more of the above embodiments, the present disclosure also provides the following examples:
[0186] like Figure 6 As shown, S0 means the camera module of the electronic device is in standby state; S1 means the camera module of the electronic device is in half-press shutter state, correspondingly controlling the camera module to perform the focus function; S2 means the camera module of the electronic device is in full-press shutter state, correspondingly controlling the camera module to perform the shutter function. Among them, f1 is the first threshold, f2 is the second threshold, and f is the force of the shutter operation acting on the shutter input area detected by the piezoelectric module.
[0187] Figure 7 This is a schematic diagram of a process of a photographing method shown in an exemplary embodiment. Figure 2 .like Figure 7 As shown, the electronic device executing the photographing method may further include the following steps:
[0188] S2001, detecting, by a piezoelectric module of an electronic device, a force f generated by a shutter operation acting on the shutter input area;
[0189] S2002, when f is greater than f1 and less than f2, controlling the vibration module to generate a first vibration to form a first vibration feedback;
[0190] S2003, controlling the camera module to execute a focus function or a zoom function;
[0191] Here, if Figure 8 As shown, when f is greater than f1 and less than f2, it is determined that the electronic device is in a half-press shutter state. The electronic device first wakes up the touch screen and starts the camera module, and then moves the electronic device to aim at the subject so that the butterfly in the focus interface displayed on the touch screen is located in the auto focus frame, thereby realizing the auto focus function.
[0192] When the camera module of the electronic device is in a half-pressed shutter state, in response to a first sliding operation on the shutter input area, the focal length of the camera module can be adjusted to achieve sliding zoom of the electronic device. Fig. 9 and Fig.10As shown, swiping left along the arrow direction in the shutter input area can reduce the image, and swiping right along the arrow direction in the shutter input area can zoom in. In this way, the user can complete the sliding zoom with one hand by swiping left and right in the shutter input area, which can further save the photo process and improve the photo efficiency.
[0193] S2004: When f is greater than or equal to f2, control the vibration module to generate a second vibration to form a second vibration feedback, and control the shutter switch of the camera module to open.
[0194] Here, when the force applied to the shutter input area causes f to increase from f1 to greater than f2, it is determined that the camera module of the electronic device is in the full shutter state. At this time, the shutter switch is controlled to open to realize the shutter function for taking pictures. In this way, the focus function and shutter function can be quickly realized by increasing the force acting on the shutter input area, which can better facilitate users to capture or rush shots.
[0195] S2005: When f is less than or equal to f1, no operation is performed.
[0196] Here, the electronic device does not respond to the shutter operation, and the corresponding vibration module does not vibrate. Here, f is less than or equal to f1, which may include: the force applied by the shutter input area causes f to decrease from greater than f1 to less than f1, and the corresponding control vibration module stops vibrating.
[0197] The disclosed embodiment can realize fast photo taking by operating the shutter input area and receiving vibration feedback at the same time, which not only saves the photo taking operation process and improves the photo taking efficiency by not waking up the touch screen and unlocking the touch screen, but also provides rich vibration feedback for the user, thereby simulating photo taking with a real camera and improving the human-computer interaction experience. Moreover, compared with electronic devices detecting shutter operations through physical button structures, the disclosed embodiment detects shutter operations through the shutter input area and the piezoelectric module, which can reduce the space occupied by the electronic device and improve the space utilization rate of the electronic device.
[0198] The specific manner in which the operations are performed in each of the above-mentioned embodiments has been described in detail in the embodiment of the electronic device, and will not be elaborated on here.
[0199] The disclosed embodiment also provides an electronic device. Fig.11 is a schematic diagram of an electronic device according to an exemplary embodiment Figure 1 .like Fig.11 As shown, the electronic device 300 includes:
[0200] The detection module 301 is configured to detect the force generated by the shutter operation acting on the shutter input area through the piezoelectric module of the electronic device;
[0201] The control module 302 is configured to control the vibration module of the electronic device to generate vibration based on the force when the force meets a preset condition;
[0202] The forming module 303 is configured to cause the vibration generated by the vibration module to act on the shutter input area, thereby forming a vibration feedback for the shutter operation.
[0203] In some embodiments, the control module 302 is further configured to, when the applied force is greater than a first threshold value and less than a second threshold value, control the vibration module to generate a first vibration; the first vibration acts on the shutter input area to form a first vibration feedback; when the applied force is greater than or equal to the second threshold value, control the vibration module to generate a second vibration; the second vibration acts on the shutter input area to form a second vibration feedback;
[0204] The first vibration feedback is different from the second vibration feedback.
[0205] In some embodiments, the control module 302 is further configured to control the vibration module to stop vibrating when the force is less than or equal to the first threshold.
[0206] In some embodiments, the control module 3002 is further configured to control a camera module of the electronic device to perform different functions based on the force; wherein the functions performed by the camera module have corresponding vibration effects.
[0207] In some embodiments, the control module 3002 is further configured to control the camera module to perform a focus function or a zoom function when the applied force is greater than a first threshold and less than a second threshold; and to control the camera module to perform a shutter function when the applied force is greater than or equal to the second threshold.
[0208] In some embodiments, the control module 3002 is further configured to adjust the focal distance of the camera module in response to a first sliding operation on the shutter input area when the camera mode of the electronic device is an autofocus mode.
[0209] In some embodiments, the control module 3002 is further configured to adjust the distance between the lens and the imaging element in the camera module in response to a second sliding operation applied to the shutter input area when the camera mode of the electronic device is a manual focus mode.
[0210] In some embodiments, the control module 3002 is further configured to control the shutter switch of the photographing module to be turned on once if the duration of the shutter operation is less than a preset duration threshold; if the duration of the shutter operation is greater than or equal to the duration threshold, control the shutter switch of the photographing module to be turned on multiple times in succession.
[0211] In some embodiments, the control module 3002 is further configured to control the vibration module to vibrate in response to a touch operation on a touch screen in the electronic device to form a vibration feedback of the touch operation.
[0212] Fig.12 is a schematic diagram of an electronic device according to an exemplary embodiment Figure 2 For example, the electronic device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0213] Reference Fig.12 , the electronic device may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0214] The processing component 802 generally controls the overall operation of the electronic device, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0215] The memory 804 is configured to store various types of data to support the operation of the electronic device. Examples of such data include instructions for any application or method used to operate the electronic device, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0216] The power supply component 806 provides power to various components of the electronic device. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.
[0217] The multimedia component 808 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0218] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0219] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0220] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device. For example, the sensor assembly 814 can detect the on / off state of the electronic device, the relative positioning of components, such as the display and keypad of the electronic device, and the sensor assembly 814 can also detect the position change of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, the orientation or acceleration / deceleration of the electronic device and the temperature change of the electronic device. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0221] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on a communication standard, such as WiFi, 3G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0222] In an exemplary embodiment, the electronic device may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0223] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0224] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a photographing method, the method comprising: detecting the force generated by a shutter operation acting on the shutter input area through a piezoelectric module of the electronic device; controlling a vibration module of the electronic device to generate vibration based on the force when the force meets a preset condition; and causing the vibration generated by the vibration module to act on the shutter input area to form vibration feedback to the shutter operation.
[0225] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0226] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An electronic device, characterized in that: include: A frame having a shutter input area; The shutter input area is used to receive a shutter operation input by a user; A piezoelectric module is located in the space surrounded by the frame and is disposed at the shutter input area, and is configured to detect the force generated by the shutter operation acting on the shutter input area; a vibration module, located in the space enclosed by the frame, connected to the shutter input area, and configured to drive the shutter input area to vibrate; The control module is electrically connected to the piezoelectric module and the vibration module, and is configured to control the vibration module to generate vibration based on the force when the force meets a preset condition, so as to form a vibration feedback for the shutter operation.
2. The electronic device according to claim 1, characterized in that: The control module is further configured to control the vibration module to generate a first vibration when the applied force is greater than a first threshold and less than a second threshold; and control the vibration module to generate a second vibration when the applied force is greater than or equal to the second threshold; The first vibration acts on the shutter input area to form a first vibration feedback; the second vibration acts on the shutter input area to form a second vibration feedback; and the second vibration feedback is different from the first vibration feedback.
3. The electronic device according to claim 2, characterized in that: The control module is further configured to control the vibration module to stop vibrating when the force is less than or equal to the first threshold.
4. The electronic device according to claim 1, characterized in that: The electronic device also includes a camera module; The control module is electrically connected to the camera module and is further configured to control the camera module to perform different functions based on the force; Wherein, the function performed by the photographing module has a corresponding vibration effect.
5. The electronic device according to claim 4, characterized in that: The control module is further configured to control the camera module to perform a focus function or a zoom function when the applied force is greater than a first threshold and less than a second threshold; and to control the camera module to perform a shutter function when the applied force is greater than or equal to the second threshold.
6. The electronic device according to claim 5, characterized in that: The control module is further configured to adjust the focal length of the camera module in response to a first sliding operation on the shutter input area when the camera mode of the electronic device is an autofocus mode.
7. The electronic device according to claim 5, characterized in that: The camera module includes a lens and an imaging element, and the lens and the imaging element are arranged at intervals on the propagation path of the ambient light; The control module is connected to the lens and the imaging element, and is also configured to adjust the distance between the lens and the imaging element in response to a second sliding operation applied to the shutter input area when the shooting mode of the electronic device is a manual focus mode.
8. The electronic device according to claim 5, characterized in that: The control module is further configured to control the shutter switch of the photographing module to be turned on once if the duration of the shutter operation is less than a preset duration threshold; and to control the shutter switch of the photographing module to be turned on multiple times in succession if the duration of the shutter operation is greater than or equal to the duration threshold.
9. The electronic device according to any one of claims 1 to 8, characterized in that: The control module is further configured to control the vibration module to vibrate in response to a touch operation on the touch screen of the electronic device to form vibration feedback for the touch operation.
10. The electronic device according to any one of claims 1 to 8, characterized in that: The shutter input area is arranged close to the communication interface of the electronic device, and is located on two adjacent sides of the frame in the frame body with the communication interface.
11. The electronic device according to claim 10, characterized in that: A partial area of the frame is reused as the shutter input area; or, the frame has an opening, and the shutter input area is exposed through the opening.
12. A photographing method, characterized in that: The method comprises: Detecting the force exerted on the shutter input area by a shutter operation through a piezoelectric module of the electronic device; When the applied force satisfies a preset condition, controlling a vibration module of the electronic device to generate vibration based on the applied force; The vibration generated by the vibration module acts on the shutter input area to form vibration feedback for the shutter operation.
13. The method according to claim 12, characterized in that The step of controlling a vibration module of the electronic device to generate vibration based on the force comprises: When the applied force is greater than a first threshold value and less than a second threshold value, the vibration module is controlled to generate a first vibration; the first vibration acts on the shutter input area to form a first vibration feedback; When the applied force is greater than or equal to the second threshold, controlling the vibration module to generate a second vibration; the second vibration acts on the shutter input area to form a second vibration feedback; The first vibration feedback is different from the second vibration feedback.
14. The method according to claim 13, characterized in that The method further comprises: When the applied force is less than or equal to the first threshold, the vibration module is controlled to stop vibrating.
15. The method according to claim 12, characterized in that The method further comprises: Controlling a camera module of the electronic device to perform different functions based on the force; Wherein, the function performed by the photographing module has a corresponding vibration effect.
16. The method according to claim 15, characterized in that The controlling of the camera module of the electronic device to perform different functions based on the force includes: When the applied force is greater than a first threshold value and less than a second threshold value, controlling the camera module to perform a focus function or a zoom function; When the applied force is greater than or equal to the second threshold, the photographing module is controlled to execute a shutter function.
17. The method according to claim 16, characterized in that The controlling the camera module to perform a focus function or a zoom function includes: When the photographing mode of the electronic device is an auto-focus mode, the focal distance of the photographing module is adjusted in response to a first sliding operation on the shutter input area.
18. The method according to claim 16, characterized in that The controlling the camera module to perform a focus function or a zoom function includes: When the photographing mode of the electronic device is the manual focus mode, in response to the second sliding operation acting on the shutter input area, the distance between the lens and the imaging element in the photographing module is adjusted.
19. The method according to claim 16, characterized in that The controlling the photographing module to execute the shutter function includes: If the duration of the shutter operation is less than a preset duration threshold, controlling the shutter switch of the camera module to open once; If the duration of the shutter operation is greater than or equal to the duration threshold, the shutter switch of the photographing module is controlled to be opened multiple times in succession.
20. The method according to any one of claims 12 to 19, characterized in that The method further comprises: In response to a touch operation on a touch screen in the electronic device, the vibration module is controlled to vibrate to form a vibration feedback of the touch operation.
21. An electronic device, characterized in that: The electronic device comprises: A detection module, configured to detect a force generated by a shutter operation acting on the shutter input area through a piezoelectric module of the electronic device; a control module configured to control a vibration module of the electronic device to generate vibration based on the force when the force satisfies a preset condition; The forming module is configured to cause the vibration generated by the vibration module to act on the shutter input area, thereby forming a vibration feedback for the shutter operation.
22. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the photographing method according to any one of claims 12 to 20.