Photographing operation method, terminal device, and storage medium
By using a fingerprint reader to identify user operations in the terminal device, the problem of inconvenience of user operation when handheld camera is solved, and a more convenient photography experience is achieved.
Patent Information
- Application Number
- PCT/CN2024/119863
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-19
- Filing Date
- 2024-09-19
- Publication Date
- 2025-03-27
AI Technical Summary
When the user is handheld camera, he needs to support the phone with one hand and operate the shooting button, which leads to inconvenient operation.
By introducing a fingerprint recognizer in the terminal device, the fingerprint recognizer is awakened when the device is folded to the preset angle range, the user's fingerprint operation is recognized, and the function of the target button is called for taking pictures, avoiding the operation of the physical shutter button.
It improves the convenience of users to take photos in handheld camera scenes, reduces dependence on shutter buttons, and simplifies the operation process.
Smart Images

Figure CN2024119863_27032025_PF_FP_ABST
Abstract
Description
Photographing operation method, terminal device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to a Chinese patent application filed with the China Patent Office on September 19, 2023, with application number 202311208548.0 and application name “Photographing operation method, terminal device and storage medium”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application relates to the field of terminal devices, and specifically to a photographing operation method, a terminal device, and a storage medium. Background Art
[0004] In the related art, electronic devices with foldable displays, such as mobile phones, can be used for handheld video recording when adapted to camera applications. For example, users can use the digital video (DV) mode of the camera application to simulate handheld video recording using a DV camera. However, when using handheld video recording, users need to support the phone with one hand and press the capture button simultaneously to take the photo, which causes inconvenience to the user.
[0005] Summary of the Invention
[0006] In view of the above, it is necessary to provide a photographing operation method, a terminal device and a storage medium to solve the technical problem of inconvenience in user photographing operation.
[0007] In the first aspect, an embodiment of the present application provides a method for photographing, which is applied to a terminal device. The method includes: if it is determined that the terminal device has entered a camera application scenario, displaying a camera interface, the camera interface including at least one functional hot zone, at least one functional hot zone including a target hot zone, and the target hot zone being provided with a target button; if it is detected that the terminal device is folded to a preset angle range, waking up the fingerprint identifier of the terminal device; and in response to the user operation received by the fingerprint identifier, calling the function of the target button to take a photo. The uploaded technical solution, when the terminal device is folded to the preset angle range, wakes up the fingerprint identifier of the terminal device to identify the user operation on the fingerprint identifier, and takes a photo according to the function of calling the target button. This avoids the problem that the user can only use the shutter button to start taking a photo in the scenario of handheld video recording, which causes inconvenience in operation, thereby improving the convenience of the user in taking photos.
[0008] In one embodiment of the present application, in response to a user operation received by the fingerprint reader, invoking the function of a target button to take a photo includes: if the user operation is a first preset operation, invoking the function of the target button to take a photo; if the user operation is a second preset operation, invoking the function of the target button to take continuous photos. With the above technical solution, upon detecting that the user has applied the first preset operation to the fingerprint reader, the terminal device can quickly initiate a photo, and upon detecting that the user has applied the first preset operation to the fingerprint reader, the terminal device can quickly initiate continuous photos.
[0009] In one embodiment of the present application, the first preset operation is a single click on the fingerprint reader, and the second preset operation is a long press on the fingerprint reader. With the above technical solution, when the user is detected to have single-clicked the fingerprint reader, the terminal device can quickly start taking photos, and when the user is detected to have long pressed the fingerprint reader, the terminal device can quickly start taking photos continuously.
[0010] In one embodiment of the present application, waking up the fingerprint reader includes: the processor of the terminal device sending a drive signal to the fingerprint reader, causing the fingerprint reader to enter a wake-up state, and the fingerprint reader reporting measured user operation information to the processor while in the wake-up state. In the above technical solution, when it is detected that the terminal device is folded to a preset angle range, the processor of the terminal device sends a drive signal to the fingerprint reader to cause the fingerprint reader to exit the sleep state, causing the fingerprint reader to enter a wake-up state to recognize the user operation, and based on the user operation, calling the function of the target button to take a photo, which can reduce the consumption of hardware resources of the terminal device.
[0011] In one embodiment of the present application, the method further includes: if the recognized user operation is a third preset operation, changing the target hotspot; if the recognized user operation is a fourth preset operation, changing the target button in the target hotspot. In the above technical solution, when it is detected that the user has applied the third preset operation to the fingerprint identifier, the terminal device can quickly change the target hotspot; when it is detected that the user has applied the fourth preset operation to the fingerprint identifier, the terminal device can quickly change the target button, thereby making it easier for the user to call the function of the target button of the camera application.
[0012] In one embodiment of the present application, changing the target hot zone includes: determining the functional hot zone to which the target hot zone belongs; if the user operation on the fingerprint identifier is identified as a third preset operation, changing the functional hot zone to which the target hot zone belongs according to the first preset switching rule, and updating the target hot zone; if it is determined that a designated button of the camera interface is triggered, adding a new hot zone on the camera interface; determining the functional hot zone to which the target hot zone belongs; if the user operation on the fingerprint identifier is identified as the third preset operation, changing the functional hot zone to which the target hot zone belongs according to the second preset switching rule, and updating the target hot zone. The above technical solution, when it is determined that the user triggers the designated button of the camera interface, adds a new hot zone on the camera interface, and changes the functional hot zone to which the target hot zone belongs according to the second preset switching rule to update the target hot zone, thereby facilitating the user to call the function of the target button in the target hot zone.
[0013] In one embodiment of the present application, the third preset operation is a double-click operation on the fingerprint reader, and the fourth preset operation is a swipe operation on the fingerprint reader. In the above technical solution, when the user double-clicks the fingerprint reader, the terminal device can quickly change the target hotspot, and when the user swipes the fingerprint reader, the terminal device can quickly change the target button, thereby making it easier for the user to call the function of the target button of the camera application.
[0014] In one embodiment of the present application, the newly added hot zone includes at least one sub-hot zone, and at least one sub-hot zone includes a button or a progress bar. The method further includes: when determining that the newly added hot zone is the target hot zone, if the recognized user operation is a third preset operation, updating the sub-hot zone in the newly added hot zone and using the updated sub-hot zone as the target hot zone; when determining that the sub-hot zone is the target hot zone, if the recognized user operation is a fourth preset operation, updating the sub-button in the sub-hot zone and using the updated sub-button as the target button, or adjusting the value in the progress bar and using the adjusted value as the target parameter value. The above technical solution can modify the sub-hot zone in the newly added hot zone when it is detected that the user applies the third preset operation to the fingerprint identifier; when determining that the sub-hot zone is the target hot zone and detecting that the user applies the fourth preset operation to the fingerprint identifier, updating the sub-button in the sub-hot zone and using the updated sub-button as the target button, or adjusting the value in the progress bar and using the adjusted value as the target parameter value, thereby facilitating the user to call the function of the target button in the sub-hot zone or call the target parameter value of the progress bar.
[0015] In one embodiment of the present application, in response to a user operation received by the fingerprint reader, invoking a function of a target button to take a photo includes: if the user operation is recognized as a first preset operation, invoking the function of the target button or taking a photo based on a target parameter value. The above technical solution can invoke the function of the target button in the sub-hotspot or take a photo based on the target parameter value when it is detected that the user has applied the first preset operation to the fingerprint reader.
[0016] In one embodiment of the present application, at least one functional hot zone includes a first hot zone, a second hot zone and a third hot zone. The first hot zone includes at least one photo mode setting button, which is used to set the photo working mode. The second hot zone includes at least one focus button, which is used to set the focus mode. The third hot zone includes at least one function setting button, which is used to set the function corresponding to the function setting button.
[0017] In a second aspect, an embodiment of the present application provides a method for photographing, applied to a terminal device, the method comprising: when the terminal device is in an unlocked state, if it is determined that the terminal device is folded to a preset angle range and the terminal device is in a handheld posture, waking up the fingerprint identifier of the terminal device; identifying a user operation through the fingerprint identifier; if the user operation is a preset photographing operation, setting the photographing working mode of the camera application to photographing mode, and taking a photo in accordance with the photographing mode; if the user operation is a preset video recording operation, setting the photographing working mode of the camera application to video recording mode, and taking a photo in accordance with the video recording mode. The above technical solution, when it is detected that the terminal device is in a handheld posture, waking up the fingerprint identifier, and when it is detected that the user applies a preset photographing operation to the fingerprint identifier, setting the camera application to photographing mode, and taking a photo in accordance with the photographing mode; when it is detected that the user applies a preset video recording operation to the fingerprint identifier, setting the camera application to video recording mode, and taking a photo in accordance with the video recording mode. In this way, the user can quickly enter the camera photographing function through the preset photographing operation, or quickly enter the camera video recording function through the preset video recording operation, thereby simplifying the action process of the photographing operation and improving the efficiency of the photographing operation.
[0018] In one embodiment of the present application, the method further includes: obtaining posture information of the terminal device, and determining whether the terminal device is in a handheld posture according to the posture information. The above technical solution can determine whether the terminal device is in a handheld posture according to the posture information of the terminal device.
[0019] In one embodiment of the present application, waking up a fingerprint reader of a terminal device includes: a processor of the terminal device sending a drive signal to the fingerprint reader, causing the fingerprint reader to enter an awake state, and the fingerprint reader reporting measured user operation information to the processor while in the awake state. In the above technical solution, the processor of the terminal device sends a drive signal to the fingerprint reader to cause the fingerprint reader to exit a dormant state, causing the fingerprint reader to enter an awake state to recognize user operations, and based on the user operations, invoke the function of a target button to take a photo, thereby reducing the consumption of hardware resources of the terminal device.
[0020] In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory and a processor: the memory is used to store program instructions; the processor is used to read and execute the program instructions stored in the memory. When the program instructions are executed by the processor, the terminal device performs the above-mentioned photo-taking operation method.
[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores program instructions. When the program instructions are executed on a terminal device, the terminal device executes the above-mentioned photo-taking operation method.
[0022] In addition, the technical effects brought about by the third to fourth aspects can be found in the descriptions of the methods of each design in the above method section, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0024] FIG1 is a schematic diagram of a user taking a photo with a mobile phone.
[0025] FIG2 is a schematic diagram of the structure of a terminal device in an embodiment of the present application.
[0026] FIG3 is a flow chart of a method for taking a photo in an embodiment of the present application.
[0027] FIG4 is a schematic diagram of the operation of calling the camera function in the chat interface in one embodiment of the present application.
[0028] FIG5 is a schematic diagram of a camera interface in an embodiment of the present application.
[0029] FIG6 is a schematic diagram of clicking the fingerprint identifier to take a photo in one embodiment of the present application.
[0030] FIG7 is a flow chart of a method for taking a photo in an embodiment of the present application.
[0031] FIG8 is a schematic diagram of changing a target hot zone in an embodiment of the present application.
[0032] FIG9 is a schematic diagram of changing a target button in an embodiment of the present application.
[0033] FIG10 is a schematic diagram of changing a target button in another embodiment of the present application.
[0034] FIG11 is a flow chart of a method for changing a target hot zone in one embodiment of the present application.
[0035] FIG12 is a flow chart of a method for changing a target hot zone in another embodiment of the present application.
[0036] FIG13 is a flow chart of a volume adjustment method according to an embodiment of the present application.
[0037] FIG14 is a schematic diagram of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.
[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application. It should be understood that, unless otherwise specified in this application, " / " means or. For example, A / B can mean A or B. "And / or" in this application is merely a way to describe the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. "At least one" means one or more. "Multiple" means two or more than two. For example, at least one of a, b or c can mean: a, b, c, a and b, a and c, b and c, a, b and c.
[0040] In the related art, electronic devices with foldable screen functions, such as mobile phones, are adapted to camera applications for handheld video recording. For example, referring to Figure 1, a user uses the digital video (DV) mode of the camera application to perform handheld video recording, where DV mode refers to a mode in which the mobile phone simulates the shooting effect of a DV camera. However, when the user performs handheld video recording, the user needs to support the mobile phone with one hand and press the shooting button of the mobile phone to complete the photo shooting at the same time, which causes inconvenience to the user's operation.
[0041] In order to solve the above problems, the present application provides a method for taking a photo. The method is applied in a terminal device. Referring to Figure 2, it is a schematic diagram of the structure of a terminal device in an embodiment of the present application. The terminal device 100 can be an electronic product with a folding screen function, such as a mobile phone or a tablet. The terminal device 100 includes a camera 11, a display screen 12, a fingerprint identifier 13, a processor 14 and a motion sensor 15. The processor 14 is connected to the camera 11, the display screen 12, the fingerprint identifier 13 and the motion sensor 15 respectively. The camera 11 is used to take images or videos. The display screen 12 is used to display the display content of the terminal device 100, for example, the camera interface of the camera application. The fingerprint identifier 13 is used to identify the user's fingerprint information and operation information. The motion sensor 15 is used to detect the posture information of the terminal device 100. The processor 14 is used to wake up the fingerprint identifier 13 according to the posture information of the motion sensor 15 when it recognizes that the application scenario of the terminal device 100 is a camera application scenario, detect the user's operation information through the fingerprint identifier 13, and call the function of the camera application's photo button to take a photo according to the user's operation information. In this way, by performing a quick operation on the fingerprint identifier 13, the camera application's photo function is completed, making it convenient for the user to perform photo operations.
[0042] 3 is a flowchart of a method for taking a photo in accordance with an embodiment of the present invention. The method is applied to a terminal device, such as the terminal device 100 in FIG2 , and specifically includes the following steps.
[0043] Step S301: Determine whether the terminal device enters a camera application scenario.
[0044] The following describes the camera operation method of an embodiment of the present application using a mobile phone as an example of a terminal device. In one embodiment of the present application, a user triggers an application icon on the mobile phone's desktop. If the mobile phone detects that the user has triggered the application icon, it runs the application in the foreground and records the currently running application. The mobile phone can determine the application scene the mobile phone has entered by recording the currently running application. For example, after the user triggers the camera application icon on the mobile phone's desktop, the mobile phone runs the camera application in the foreground and records the name of the currently running camera application. The mobile phone determines that the application scene the mobile phone has entered is the camera application scene based on the recorded name of the currently running camera application.
[0045] In another embodiment of the present application, the user can call the camera function through user operation in the interface of the target application of the mobile phone. If the mobile phone detects the user operation of calling the camera function, the mobile phone jumps from the target application to the camera application, runs the camera application in the foreground and records the currently running camera application. The mobile phone determines that the application scenario entered by the mobile phone is the camera application scenario by recording the name of the currently running camera application. The target application is an application with a camera function, for example, it can be an instant messaging application. The following uses the instant messaging application as an example to illustrate the mobile phone entering the camera application scenario. Referring to Figure 4, the user calls the camera function by clicking the capture button in the chat interface of the instant messaging application. If the mobile phone detects the user clicking the capture button, it jumps from the instant messaging application to the camera application. The mobile phone runs the camera application in the foreground and records the name of the currently running camera application. The mobile phone determines that the application scenario entered by the mobile phone is the camera application scenario based on the recorded name of the currently running camera application.
[0046] If it is determined that the terminal device has entered the camera application scene, step S302 is executed; if it is determined that the terminal device has not entered the camera application scene, step S301 is continued to be executed.
[0047] Step S302 : displaying a camera interface, wherein the camera interface includes at least one function hot zone, and the at least one function hot zone includes a target hot zone, and a target button is set in the target hot zone.
[0048] In one embodiment of the present application, if it is determined that the terminal device has entered the camera application scenario, the mobile phone displays a camera interface including at least one function hot zone on the display screen 12. The function hot zone may refer to a functional area for human-computer interaction on the camera interface. One or more function setting buttons may be displayed in the function area, and different function setting buttons are used to set different functions. Referring to Figure 5, a schematic diagram of the camera interface in one embodiment of the present application is shown. The camera interface 50 includes at least one function hot zone 51 and an image preview area 52. The function hot zone 51 includes a first hot zone 511, a second hot zone 512, and a third hot zone 513. The first hot zone 511 includes at least one photo mode setting button and a shutter button. The function of the photo mode setting button is to set the photo working mode of the camera application. The function of the shutter button is to start the camera 11 to take a photo. The photo mode setting button includes, but is not limited to, a night scene button, a portrait button, a photo button, a video button, a movie button, and a professional button. If it is detected that the user has touched the photo mode setting button in the first hot zone 511, the corresponding photo mode is set according to the triggered photo mode setting button; if it is detected that the user has touched the shutter button, the camera application controls the camera 11 to take a photo. For example, if it is detected that the user has triggered the night scene button, the photo mode is set to night scene mode; if it is detected that the user has touched the portrait button, the photo mode is set to portrait mode; if it is detected that the user has touched the shutter button, the camera application is controlled to call the camera 11 to take a photo.
[0049] The second hot zone 512 is a focus selection area, including at least one focus button. The function of the focus button is to set the focus mode. If it is detected that the user touches the focus button, the corresponding focus mode is set according to the triggered focus button. In one embodiment of the present application, the focus buttons include, but are not limited to, a 0.5x focus button, a 1x focus button, and a 2.5x focus button. For example, if it is detected that the user touches the 0.5x focus button, the focus mode is set to 0.5x. The third hot zone 513 is a function selection area, including at least one function setting button. The function setting buttons include but are not limited to: a visual button, an artificial intelligence (AI) camera button, a flash button, a filter button, and a setting button. If it is detected that the user touches any button in the third hot zone 513, the corresponding function is set according to the touched button. For example, if it is detected that the user touches the filter button, the filter is set.
[0050] In one embodiment of the present application, the target hot zone refers to an area where buttons or controls in the camera interface are used as operation objects. For example, referring to Figure 5, the mobile phone can receive the user's operation to change the target button in the target hot zone, such as performing a sliding operation on the display screen 12, and change the current target button in the target hot zone, and the changed target button is highlighted in the target hot zone. In one embodiment of the present application, when the camera interface is displayed, the first hot zone 511 is selected as the target hot zone by default, and the photo button in the target hot zone is selected as the target button by default. In one embodiment of the present application, the functional hot zone of the non-target hot zone includes a target button. For example, after selecting the first hot zone 511 as the target hot zone, the 1x focus button of the second hot zone 512 of the non-target hot zone is used as the target button.
[0051] Step S303: Detect whether the terminal device is folded into a preset angle range. If it is detected that the terminal device is not folded into the preset angle range, execute step S304. If it is detected that the terminal device is folded into the preset angle range, execute step S305.
[0052] In one embodiment of the present application, when a user folds the display screen of a mobile phone and takes a photo or video, the mobile phone obtains the posture information of the mobile phone detected by the motion sensor, and calculates the angle of the mobile phone after bending based on the posture information. The motion sensor may include at least one of an accelerometer sensor, a gyroscope, and a magnetometer. For example, the mobile phone can use one or more sensors such as an accelerometer sensor, a gyroscope, and a magnetometer to obtain the posture information of the mobile phone. Among them, the accelerometer can measure the acceleration of the mobile phone in three directions of a coordinate system (such as a three-dimensional space coordinate system or an Android coordinate system), the gyroscope can measure the angular velocity of the mobile phone in three directions, and the magnetometer can measure the magnetic field strength of the mobile phone in three directions. Through these data, the posture information of the mobile phone can be calculated. The posture information of the mobile phone may include but is not limited to information on position, direction, and angle, such as the folding angle of the mobile phone.
[0053] In one embodiment of the present application, the preset angle range can be set based on the angle required to bend the phone in DV mode to take photos. For example, the angle required to bend the phone in DV mode to take photos is generally close to 90°, so the preset angle range can be set within a range close to 90°, for example, setting the preset angle range to [80°, 100°].
[0054] Step S304: If it is recognized that the user has touched the shutter button on the camera interface, the function of the target button is called to take a photo.
[0055] In one embodiment of the present application, when the mobile phone is not folded to a preset angle range, if the user touches the shutter button on the camera interface, the mobile phone can recognize the user's operation of touching the shutter button on the camera interface and call the function of the target button to take a photo.
[0056] Step S305: Wake up the fingerprint identifier and identify the user operation through the fingerprint identifier.
[0057] In one embodiment of the present application, when it is determined that the mobile phone is folded into a preset angle range, or when it is determined that the mobile phone is working in DV mode for recording, the fingerprint identifier is awakened. In another embodiment of the present application, when it is detected that the mobile phone is folded into a preset angle range, it can be determined that the mobile phone is working in DV mode. In one embodiment of the present application, when it is determined that the mobile phone is folded into a preset angle range or the mobile phone is working in DV mode, the processor 14 of the mobile phone sends a drive signal to the fingerprint identifier 13 to make the fingerprint identifier 13 exit the sleep state and enter the awake state, thereby waking up the fingerprint identifier 13. In the awake state, the fingerprint identifier 13 reports the measured user operation information to the processor 14; in the sleep state, the fingerprint identifier 13 does not measure the user operation information, or does not report the measured user operation information to the processor 14. In other embodiments, when the mobile phone determines that it has entered the camera application scenario, it can directly wake up the fingerprint identifier and identify the user operation through the fingerprint identifier.
[0058] In one embodiment of the present application, the fingerprint identifier 13 may be a capacitive fingerprint identifier. When the capacitive fingerprint identifier is in an awake state, it reports the measured capacitance change information to the processor 14. When the capacitive fingerprint identifier is in a dormant state, it does not measure the capacitance change information or does not upload the measured capacitance change information to the processor 14. In another embodiment of the present application, the fingerprint identifier 13 may be a temperature sensor fingerprint identifier. When the temperature sensor fingerprint identifier is in an awake state, it reports the measured temperature change information to the processor 14. When the temperature sensor fingerprint identifier is in a dormant state, it does not measure the temperature change information or does not upload the measured temperature change information to the processor 14. In other embodiments, the fingerprint identifier may also be an optical fingerprint identifier, an ultrasonic fingerprint identifier, or an electromagnetic wave fingerprint identifier. The present application does not limit the type of the fingerprint identifier 13.
[0059] In one embodiment of the present application, identifying a user operation through a fingerprint identifier includes: identifying a user operation through a fingerprint identifier, and the user operation may include but is not limited to: a single-click operation, a double-click operation, a sliding operation, and a long press operation. Identifying a user's single-click operation, double-click operation, sliding operation, and long press operation through a fingerprint identifier is a prior art means in this field. For example, a capacitive fingerprint identifier measures the capacitance change and / or time change information when the user operates the capacitive fingerprint identifier, and the user's single-click operation, double-click operation, sliding operation, or long press operation can be identified. This embodiment of the present application will not be described in detail.
[0060] Step S306: Based on the user operation, the function of the target button is called to take a photo.
[0061] In one embodiment of the present application, based on the user operation, calling the function of the target button to take a photo includes: if the user operation is the first preset operation, taking a photo according to the function of the target button. In the embodiment of the present application, the first preset operation can be used to start the camera to take a photo. The first preset operation can be pre-set according to user needs, such as setting the first preset operation to the operation of single-clicking the fingerprint identifier 13. Reference Figure 6 is a schematic diagram of clicking the fingerprint identifier to take a photo in one embodiment of the present application. In one embodiment of the present application, the fingerprint identifier 13 is installed on the side of the mobile phone, which is convenient for the user to touch when using the mobile phone for handheld video recording. If it is recognized that the user has single-clicked the fingerprint identifier 13, the mobile phone calls the function of the target button to take a photo. This avoids the problem that the user can only use the shutter button to start taking a photo in the handheld video recording scenario, which causes operational inconvenience, thereby improving the convenience of the user in taking photos.
[0062] In another embodiment of the present application, taking photos according to the function of the target button based on a user operation includes: if the user operation is a second preset operation, taking continuous photos according to the function of the target button. The second preset operation can be used to initiate continuous photo taking. The second preset operation can be pre-set according to user needs, such as setting the second preset operation to an operation of long-pressing the fingerprint reader 13. If the user is detected to have long-pressed the fingerprint reader 13, the mobile phone takes continuous photos according to the function of the target button. This avoids the inconvenience of the user having to select and touch the continuous shooting button to initiate continuous photo taking in handheld camera scenarios, thereby improving the convenience of the user in performing continuous photo taking operations.
[0063] 7 is a flow chart of a method for taking a photo in accordance with an embodiment of the present invention, which includes the following steps.
[0064] Step S701: Determine whether the terminal device enters a camera application scenario.
[0065] Step S702 : displaying a camera interface, wherein the camera interface includes at least one function hot zone, and the at least one function hot zone includes a target hot zone, and a target button is set in the target hot zone.
[0066] Step S703: Detect whether the terminal device is folded into a preset angle range. If it is detected that the terminal device is not folded into the preset angle range, execute step S704. If it is detected that the terminal device is folded into the preset angle range, execute step S705.
[0067] Step S704: If it is recognized that the user has touched the shutter button on the camera interface, the function of the target button is called to take a photo.
[0068] Step S705: Wake up the fingerprint identifier and identify the user operation through the fingerprint identifier.
[0069] For the specific implementation of steps S701-S705, please refer to the description of steps S301-S305 above, which will not be described in detail here.
[0070] Step S706: If the recognized user operation is the third preset operation, determine the updated target hot zone.
[0071] In one embodiment of the present application, the third preset operation can be pre-set based on user needs. For example, the third preset operation can be set to a double-click on the fingerprint reader 13. In this embodiment of the present application, the third preset operation can be used to update the target hot zone. Referring to FIG8 , when the first hot zone 511 is determined as the target hot zone, if the mobile phone recognizes that the user operation is a double-click on the fingerprint reader 13, the second hot zone 512 is used as the updated target hot zone in response to the double-click on the fingerprint reader 13. After determining that the second hot zone 512 is the updated target hot zone, if the mobile phone detects that the user double-clicked the fingerprint reader 13 again, the third hot zone 513 is used as the updated target hot zone. After determining that the third hot zone 513 is the target hot zone, if the mobile phone detects that the user double-clicked the fingerprint reader 13 again, the first hot zone 511 is used as the updated target hot zone. In this way, by continuously double-clicking the fingerprint reader 13, the user can cyclically switch between the first hot zone 511, the second hot zone 512, and the third hot zone 513 to update the target hot zone. For a specific implementation method of switching the target hot zone, refer to the method flow chart shown in FIG11 .
[0072] Step S707: If the recognized user operation is the fourth preset operation, the target button in the updated target hot zone is changed.
[0073] In one embodiment of the present application, the fourth preset operation can be pre-set according to user needs. For example, the fourth preset operation can be set to the operation of sliding the fingerprint identifier 13. The fourth preset operation can be used to update the target button. Referring to Figure 9, after selecting the first hot zone 511 as the target hot zone, the current default target button is the photo button. At this time, the user slides the fingerprint identifier 13. The mobile phone can recognize the user's sliding operation on the fingerprint identifier 13 and, in response to the sliding operation on the fingerprint identifier 13, switch the target button in the first hot zone 511 from the photo button to the video button in the first hot zone 511.
[0074] Step S708: If the user's operation is recognized as the first preset operation, the function of the target button is called to take a photo.
[0075] In one embodiment of the present application, the specific implementation content of step S708 can refer to step S306 and will not be repeated here.
[0076] In one embodiment of the present application, if the user's operation on the fingerprint identifier 13 is identified as the third preset operation, the mobile phone updates the target hot zone, so that the user updates the target hot zone of the camera interface by applying the third preset operation to the fingerprint identifier 13; if the user's operation on the fingerprint identifier 13 is identified as the fourth preset operation, the mobile phone updates the target button in the target hot zone of the fingerprint identifier 13, so that the user updates the target button in the target hot zone by applying the fourth preset operation to the fingerprint identifier 13; if the user's operation on the fingerprint identifier 13 is identified as the first preset operation, the function of the target button is called to take a picture, so that the user starts the camera to take a picture by applying the first preset operation to the fingerprint identifier 13, which facilitates the user's operation of taking pictures in a handheld camera scene and improves operating efficiency.
[0077] In one embodiment of the present application, referring to Figure 10, when the first hot zone 511 is determined to be the target hot zone, if it is recognized that the user updates the target button by sliding the fingerprint identifier 13 and updates the professional button to the target button, the mobile phone displays the fourth hot zone 514 on the camera interface and uses the fourth hot zone 514 as the target hot zone. The fourth hot zone 514 is the function setting area of the professional button. The fourth hot zone 514 includes at least one sub-hot zone, and each sub-hot zone includes a sub-button or a progress bar. The user can update the sub-hot zone in the fourth hot zone 514 and use the updated sub-hot zone as the target hot zone through a third preset operation (such as double-clicking the fingerprint identifier 13), and update the sub-button in the sub-hot zone or adjust the value in the progress bar through a fourth preset operation (such as sliding the fingerprint identifier 13). Specifically, when determining that the fourth hot zone 514 is the target hot zone, if the mobile phone recognizes the user's double-clicking of the fingerprint identifier 13, the sub-hot zone in the fourth hot zone 514 is updated in response to the double-clicking of the fingerprint identifier 13, and the updated sub-hot zone is used as the target hot zone; the user's sliding of the fingerprint identifier 13 is recognized, and the sub-button in the sub-hot zone is updated in response to the sliding of the fingerprint identifier 13 and the updated sub-button is used as the target button, or the value in the progress bar is adjusted and the adjusted value is used as the target parameter value; if the mobile phone recognizes the user's clicking of the fingerprint identifier 13, the function of the target button is called or a photo is taken according to the target parameter value.
[0078] In one embodiment of the present application, the sub-hot zones of the fourth hot zone 514 include, but are not limited to, a photometric sub-hot zone and a sensitivity sub-hot zone. The photometric sub-hot zone includes at least a matrix metering button, a center-weighted metering mode button, and a spot metering mode button. The matrix metering button is used to set the metering mode to matrix metering mode, the center-weighted metering mode button is used to set the metering mode to center-weighted metering mode, and the spot metering mode button is used to set the metering mode to spot metering mode. The sensitivity sub-hot zone includes a sensitivity adjustment progress bar, which is used to adjust the sensitivity.
[0079] 11 is a flow chart of a method for switching a target hot zone in an embodiment of the present application. The method includes the following steps.
[0080] Step S1101: Determine the functional hot zone to which the target hot zone belongs.
[0081] In one embodiment of the present application, the mobile phone's camera application records a flag bit of the target hot zone, which is used to indicate the identity information of the functional hot zone; the functional hot zone to which the target hot zone belongs is determined based on the flag bit of the target hot zone. For example, if the flag bit of the target hot zone recorded by the mobile phone's camera application indicates the first hot zone, the functional hot zone to which the target hot zone belongs is determined to be the first hot zone. In one embodiment of the present application, the flag bit can be a string of numbers and letters.
[0082] In step S1102 , if the user operation on the fingerprint identifier is identified as the third preset operation, the target hot zone is changed according to the first preset switching rule based on the functional hot zone to which the target hot zone belongs, so as to update the target hot zone.
[0083] In one embodiment of the present application, the first preset switching rule may be to change the functional hot zone to which the target hot zone belongs according to a cyclic switching rule of the first hot zone 511, the second hot zone 512, and the third hot zone 513 to update the target hot zone. For example, when it is determined that the functional hot zone to which the target hot zone belongs is the first hot zone 511, if the user is identified to perform a double-click operation on the fingerprint identifier 13, the functional hot zone to which the target hot zone belongs is changed from the first hot zone 511 to the second hot zone 512. After the functional hot zone to which the target hot zone belongs is changed to the second hot zone 411, if the user is identified to perform a double-click operation on the fingerprint identifier 13 again, the functional hot zone to which the target hot zone belongs is changed from the second hot zone 512 to the third hot zone 513. After the functional hot zone to which the target hot zone belongs is changed to the third hot zone 513, if the user is identified to perform a double-click operation on the fingerprint identifier 13 again, the functional hot zone to which the target hot zone belongs is changed from the third hot zone 513 to the first hot zone 511.
[0084] Step S1103: Determine whether the designated button is triggered.
[0085] In one embodiment of the present application, the designated button is a button for setting the operating mode to professional mode. For example, the designated button may be a button for determining that the professional button is triggered if the user updates the camera interface through a sliding operation. In one embodiment of the present application, if the professional button is determined to be triggered, step S1104 is executed; if the professional button is determined not to be triggered, step S1101 is executed.
[0086] Step S1104: display the fourth hot zone.
[0087] In one embodiment of the present application, if the triggering of the professional button is detected, the mobile phone adds and displays a fourth hot zone 514 on the camera interface. In one embodiment of the present application, the professional button can be triggered by touching the professional button on the camera interface. In another embodiment of the present application, the first hot zone 511 is selected as the target hot zone by double-clicking the fingerprint reader 13, and the professional button is updated as the target button in the first hot zone 511 by sliding the fingerprint reader 13 to trigger the professional button.
[0088] Step S1105: Determine the functional hot zone to which the target hot zone belongs.
[0089] In one embodiment of the present application, the specific implementation content of step S1105 refers to the content of step S1102 and will not be repeated here.
[0090] Step S1106 : If the user operation on the fingerprint identifier is identified as the third preset operation, the target hot zone is changed according to the second preset switching rule based on the functional hot zone to which the target hot zone belongs, so as to update the target hot zone.
[0091] In one embodiment of the present application, the second preset switching rule may be to change the functional hot zone to which the target hot zone belongs according to a cyclic switching rule of the fourth hot zone 514, the sub-hot zone of the fourth hot zone, the second hot zone 512, the third hot zone 513, and the first hot zone 511, so as to update the target hot zone. For example, when it is determined that the functional hot zone to which the target hot zone belongs is the fourth hot zone 514, if it is recognized that the user has double-clicked the fingerprint identifier 13, the functional hot zone to which the target hot zone belongs is changed from the fourth hot zone 514 to a sub-hot zone of the fourth hot zone 514. When it is determined that the functional hot zone to which the target hot zone belongs is a sub-hot zone of the fourth hot zone 514, if it is recognized that the user has double-clicked the fingerprint identifier 13, the functional hot zone to which the target hot zone belongs is changed from a sub-hot zone of the fourth hot zone 514 to another sub-hot zone of the fourth hot zone 514. After all sub-hot zones of the fourth hot zone 514 are changed, if the identified user double-clicks the fingerprint reader 13, the functional hot zone to which the target hot zone belongs is changed from a sub-hot zone of the fourth hot zone 514 to the second hot zone 512. After the functional hot zone to which the target hot zone belongs is changed to the second hot zone 411, if the identified user double-clicks the fingerprint reader 13 again, the target hot zone is switched from the second hot zone 512 to the third hot zone 513. After the functional hot zone to which the target hot zone belongs is changed to the third hot zone 513, if the identified user double-clicks the fingerprint reader 13 again, the target hot zone is switched from the third hot zone 513 to the first hot zone 511. After the functional hot zone to which the target hot zone belongs is changed to the first hot zone 511, if the identified user double-clicks the fingerprint reader 13 again, the functional hot zone to which the target hot zone belongs is switched from the first hot zone 511 to the fourth hot zone 514.
[0092] In one embodiment of the present application, if it is recognized that the user has not operated the camera interface for a preset time, the display of the fourth hot zone 514 is exited, and the first hot zone 511 is used as the target hot zone. By exiting the display of the fourth hot zone 514 on the camera interface, it is convenient for the user to set the commonly used functions of the camera application. In another embodiment of the present application, the fifth preset operation of the user on the fingerprint identifier 13 is recognized, and the target hot zone is changed from the fourth hot zone 514 to the second hot zone 512. It is not necessary to wait until all sub-hot zones of the fourth hot zone 514 are changed before changing to the second hot zone 512, thereby improving the convenience of the user in changing the target hot zone.
[0093] 12 is a flow chart of a method for taking a photo in another embodiment of the present application, which includes the following steps.
[0094] Step S1201: When the terminal device is determined to be in the unlocked state, determine whether the terminal device is folded into a preset angle range. If the terminal device is folded into the preset angle range, execute step S1202. If the terminal device is not folded into the preset angle range, execute step S1201.
[0095] In one embodiment of the present application, the unlocked state refers to the state in which the screen has been exited from lock. In one embodiment of the present application, if the mobile phone is in the locked screen state, the mobile phone may receive a password or pattern input by the user. If the received password matches a preset password, or the received pattern matches a preset pattern, the terminal device is determined to have exited the state described on the screen and is determined to be unlocked. The specific implementation details of determining whether the terminal device is folded within the preset angle range can be referred to the specific implementation details of step S303 above and will not be described in detail here.
[0096] Step S1202: Detect whether the terminal device is in a hand-held posture. If it is determined that the terminal device is in a hand-held posture, execute step S1203; if it is determined that the terminal device is not in a hand-held posture, execute step S1201.
[0097] In one embodiment of the present application, the mobile phone obtains the posture information of the mobile phone detected by the motion sensor, and determines whether the mobile phone is in a handheld posture based on the posture information. The posture information of the mobile phone may include but is not limited to information on position, direction and angle.
[0098] Step S1203: Wake up the fingerprint identifier and identify the user operation through the fingerprint identifier.
[0099] In one embodiment of the present application, the specific implementation content of waking up the fingerprint identifier and identifying the user operation through the fingerprint identifier can refer to the implementation content of step S305, which will not be repeated here.
[0100] Step S1204: If the user operation is recognized as the sixth preset operation, the camera operation mode of the camera application is set to the photo mode, and the photo is taken according to the photo mode.
[0101] In one embodiment of the present application, the sixth preset operation may be a preset photo-taking operation, which may be pre-set according to user needs, such as setting the sixth preset operation to the operation of double-clicking the fingerprint reader 13. For example, after the mobile phone recognizes the user's double-clicking of the fingerprint reader 13, the mobile phone sets the camera application to photo-taking mode and takes a photo in the photo-taking mode.
[0102] In step S1205 , if the user operation is recognized as the seventh preset operation, the camera application's photographing mode is set to the video recording mode, and photographing is performed in the video recording mode.
[0103] In one embodiment of the present application, the seventh preset operation may be a preset video recording operation. The seventh preset operation may be pre-set according to user needs, such as setting the seventh preset operation to an operation of long-pressing the fingerprint identifier 13. For example, after the mobile phone recognizes the user's operation of long-pressing the fingerprint identifier 13, it sets the camera application to video recording mode and takes a photo in video recording mode. It should be noted that the user operations involved in the above embodiments can be adjusted according to actual applications, and this application does not impose any restrictions on this.
[0104] In the above embodiment, when it is detected that the terminal device is folded to a preset angle range and the terminal device is in a handheld posture, the camera application can be quickly accessed and the fingerprint identifier can be awakened. If the fingerprint identifier recognizes that the user operation is the sixth preset operation, the camera application's photo mode is set to photo mode, and the photo is taken in the photo mode. If the fingerprint identifier recognizes that the user operation is the seventh preset operation, the camera application's photo mode is set to video mode, and the photo is taken in the video mode. In this way, quickly entering the camera's photo function through the sixth preset operation, or quickly entering the camera's video function through the seventh preset operation, simplifies the photo operation process, facilitates the user's photo operation, and improves photo efficiency.
[0105] 13 is a flow chart of a volume adjustment method according to an embodiment of the present application. The method is applied to a terminal device, such as the terminal device 100 in FIG2 , and specifically includes the following steps.
[0106] Step S1301: Determine whether the terminal device enters an audio application scenario.
[0107] In one embodiment of the present application, a user triggers an application icon on the mobile phone's desktop. If the mobile phone detects that the user has triggered the application icon, it runs the application in the foreground and records the currently running application. The mobile phone can identify the application scenario the mobile phone is currently in by recording the currently running application. For example, after a user triggers the audio application icon on the mobile phone's desktop, the mobile phone runs the audio application in the foreground and records the name of the currently running audio application. Based on the recorded name of the currently running audio application, the mobile phone determines that the application scenario the mobile phone has entered is an audio application scenario. In one embodiment of the present application, an audio application refers to an application that can play sound. For example, an audio application can be a music application, a video application, etc.
[0108] Step S1302: Wake up the fingerprint identifier and identify user operations through the fingerprint identifier.
[0109] In one embodiment of the present application, the specific implementation of step S1302 refers to the implementation of step S305 and will not be described again here.
[0110] Step S1303: Adjust the volume of the audio application according to the user operation.
[0111] In one embodiment of the present application, adjusting the volume of an audio application based on a user operation includes: if the user operation is identified as a first sliding operation, turning up the volume of the audio application; if the user operation is identified as a second sliding operation, turning down the volume of the audio application, wherein the direction of the first sliding operation is opposite to the direction of the second sliding operation. In this embodiment of the present application, the user operation is identified by a fingerprint identifier and the volume of the audio application is adjusted based on the user operation. The volume can be adjusted by operating the fingerprint identifier, thereby replacing the existing terminal device solution of adjusting the volume by pressing the volume button, thereby reducing the hardware resource overhead of the terminal device.
[0112] The following is an introduction to the terminal device 100 involved in an embodiment of the present application. Referring to FIG14 , it is a schematic diagram of the hardware structure of the terminal device 100 in an embodiment of the present application.
[0113] In this embodiment, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a keyboard 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0114] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0115] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0116] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0117] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0118] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0119] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt a different interface connection method from the above embodiments, or a combination of multiple interface connection methods.
[0120] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the terminal device 100. While charging the battery 142, the charging management module 140 can also provide power to the terminal device 100 via the power management module 141.
[0121] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0122] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0123] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0124] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0125] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0126] In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0127] The terminal device 100 implements display functions through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0128] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, terminal device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0129] The terminal device 100 can realize the shooting function through the ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0130] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0131] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation of DDR SDRAM is generally referred to as DDR5 SDRAM), etc.
[0132] Non-volatile memory may include disk storage devices and flash memory.
[0133] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage cell potential level; universal flash storage (UFS) and embedded multi media card (eMMC) can be divided into UFS and eMMC according to the storage specification.
[0134] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.
[0135] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
[0136] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the terminal device 100. The external non-volatile memory communicates with the processor 110 via the external memory interface 120 to implement data storage. For example, files such as music and videos can be stored in the external non-volatile memory.
[0137] The internal memory 121 or the external memory interface 120 is used to store one or more computer programs. The one or more computer programs are configured to be executed by the processor 110. The one or more computer programs include multiple instructions. When the multiple instructions are executed by the processor 110, the method for performing a photographing operation on the terminal device 100 in the above embodiment can be implemented to realize the photographing operation function of the terminal device 100.
[0138] The terminal device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0139] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. The gyroscope sensor 180B can be used to determine the motion posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the terminal device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
[0140] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
[0141] The magnetic sensor 180D includes a Hall effect sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip case. In some embodiments, when the terminal device 100 is a flip phone, the terminal device 100 can detect the opening and closing of the flip cover based on the magnetic sensor 180D. Furthermore, based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.
[0142] Accelerometer 180E can detect the magnitude of acceleration of the terminal device 100 in all directions (generally three axes). When the terminal device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of the terminal device 100, enabling applications such as switching between landscape and portrait modes and pedometers.
[0143] The distance sensor 180F is used to measure distance. The terminal device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0144] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can use the proximity light sensor 180G to detect when the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0145] Ambient light sensor 180L is used to sense ambient light brightness. Terminal device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether terminal device 100 is in a pocket to prevent accidental touches.
[0146] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0147] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to prevent the terminal device 100 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.
[0148] The touch sensor 180K is also called a "touch control device." The touch sensor 180K can be provided on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be provided on the surface of the terminal device 100, at a location different from that of the display screen 194.
[0149] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals from the vibrating bones of the human body. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulse signals. In some embodiments, the bone conduction sensor 180M can also be set in headphones to form bone conduction headphones. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bones of the human body obtained by the bone conduction sensor 180M to implement voice functions. The application processor can parse heart rate information based on the blood pressure pulse signals obtained by the bone conduction sensor 180M to implement heart rate detection functions.
[0150] The keyboard 190 includes a power button, a volume button, etc. The keyboard 190 can be a mechanical keyboard or a touch keyboard. The terminal device 100 can receive key inputs and generate key signal inputs related to user settings and function control of the terminal device 100.
[0151] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0152] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0153] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and disconnected from the terminal device 100 by inserting or removing it from the SIM card interface 195. The terminal device 100 can support one or N SIM card interfaces, where N is a positive integer greater than one. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the terminal device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
[0154] This embodiment also provides a computer storage medium, which stores computer instructions. When the computer instructions are executed on the terminal device 100, the terminal device 100 executes the above-mentioned related method steps to implement the photo-taking operation method in the above embodiment.
[0155] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the photographing operation method in the above-mentioned embodiment.
[0156] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to perform the photo-taking operation method in the above-mentioned method embodiments.
[0157] Among them, the terminal device 100, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0158] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0159] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0160] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0161] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0162] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0163] The above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the above preferred embodiments, those skilled in the art should understand that modifications or equivalent replacements of the technical solutions of the present application should not depart from the spirit and scope of the technical solutions of the present application.
Claims
1. A method for photographing, applied to a terminal device, wherein a button is installed on the side of the terminal device, characterized in that: The method comprises: displaying a camera interface, wherein the camera interface includes a target button; If it is detected that the terminal device is folded to a preset angle range, in response to the user operation received by the button, a photo is taken according to the function of the target button.
2. The photographing operation method according to claim 1, characterized in that: The button is a fingerprint identifier and is also used to identify the user's fingerprint information.
3. The photographing operation method according to claim 2, characterized in that: If it is detected that the terminal device is folded to a preset angle range, the fingerprint identifier is awakened.
4. The photographing operation method according to claim 1, characterized in that: The responding to the user operation received by the button and taking a photo according to the function of the target button comprises: If the user operation is the first preset operation, calling the function of the target button to take a photo; If the user operation is the second preset operation, the function of the target button is called to perform continuous photo taking.
5. The photographing operation method according to claim 4, characterized in that: The first preset operation is an operation of single-clicking the button, and the second preset operation is an operation of long-pressing the button.
6. The photographing operation method according to claim 3, characterized in that: The waking up the fingerprint recognition device comprises: The processor of the terminal device sends a driving signal to the fingerprint identifier, so that the fingerprint identifier enters a wake-up state, and the fingerprint identifier reports the measured user operation information to the processor in the wake-up state.
7. The photographing operation method according to claim 6, characterized in that: The fingerprint identifier is in a dormant state before entering the awakening state, and the fingerprint identifier does not detect user operation information in the dormant state.
8. The photographing operation method according to claim 1, characterized in that: The camera interface includes at least one functional hot zone, the at least one functional hot zone includes a target hot zone, the target hot zone is provided with the target button, and the method further includes: If the identified user operation is a third preset operation, changing the target hot zone; If the identified user operation is the fourth preset operation, the target button in the target hot zone is changed.
9. The photographing operation method according to claim 8, characterized in that: The changing of the target hot zone comprises: Determine the functional hot zone to which the target hot zone belongs; If the identified user operation is the third preset operation, the function hot zone to which the target hot zone belongs is operated according to the first The preset switching rule is changed, and the target hot zone is updated; In response to triggering a designated button on the camera interface, a new hot zone is added to the camera interface; the functional hot zone to which the target hot zone belongs is determined; if the identified user operation is the third preset operation, the functional hot zone to which the target hot zone belongs is changed according to the second preset switching rule, and the target hot zone is updated.
10. The photographing operation method according to claim 8, characterized in that: The third preset operation is an operation of double-clicking the button, and the fourth preset operation is an operation of sliding the button.
11. The photographing operation method according to claim 9, characterized in that: The newly added hot zone includes at least one sub-hot zone, and the at least one sub-hot zone includes a button or a progress bar. The method further includes: When determining that the newly added hot zone is the target hot zone, if the identified user operation is the third preset operation, updating the sub-hot zone in the newly added hot zone, and using the updated sub-hot zone as the target hot zone; When determining that the sub-hot zone is the target hot zone, if the user operation is identified as the fourth preset operation, the sub-button in the sub-hot zone is updated and the updated sub-button is used as the target button, or the value in the progress bar is adjusted and the adjusted value is used as the target parameter value.
12. The photographing operation method according to claim 11, characterized in that: The responding to the user operation received by the button and taking a photo according to the function of the target button comprises: If the user operation is identified as the first preset operation, the function of the target button is called or a photo is taken according to the target parameter value.
13. The photographing operation method according to claim 8, characterized in that: The at least one functional thermal zone includes a first thermal zone, a second thermal zone and a third thermal zone; The first hot zone includes at least one camera mode setting button, and the camera mode setting button is used to set the camera working mode; The second hot zone includes at least one focus button, and the at least one focus button is used to set a focus mode; The third hot zone includes at least one function setting button, and the at least one function setting button is used to set a corresponding function.
14. A method for taking a photo, applied to a terminal device, characterized in that: A button is installed on the side of the terminal device, and the method includes: If it is detected that the terminal device is folded to a preset angle range, in response to the first preset operation received by the button, the camera working mode of the camera application is set to the camera mode, and the camera is taken according to the camera mode; In response to the second preset operation received by the button, the camera working mode of the camera application is set to the video recording mode, and the shooting is performed according to the video recording mode.
15. The photographing operation method according to claim 14, characterized in that: The button is a fingerprint identifier and is also used to identify user operations, where the user operations include the first preset operation and the second preset operation.
16. The photographing operation method according to claim 15, characterized in that: If it is detected that the terminal device is folded to a preset angle range, the fingerprint identifier is awakened.
17. The photographing operation method according to claim 15, characterized in that: The waking up the fingerprint recognition device comprises: The processor of the terminal device sends a driving signal to the fingerprint identifier, so that the fingerprint identifier enters a wake-up state, and the fingerprint identifier reports the measured user operation information to the processor in the wake-up state.
18. The photographing operation method according to claim 17, characterized in that: The fingerprint identifier is in a dormant state before entering the awakening state, and the fingerprint identifier does not detect information of user operations in the dormant state.
19. A terminal device, characterized in that: The terminal device includes a memory and a processor: The memory is used to store program instructions; The processor is used to read and execute the program instructions stored in the memory. When the program instructions are executed by the processor, the terminal device executes the photo-taking operation method as described in any one of claims 1 to 18.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, and when the program instructions are executed on the terminal device, the terminal device executes the photographing operation method according to any one of claims 1 to 18.
21. A method for photographing, applied to a terminal device, characterized in that: The method comprises: If it is determined that the terminal device enters the camera application scene, a camera interface is displayed, wherein the camera interface includes at least one functional hot zone, wherein the at least one functional hot zone includes a target hot zone, and the target hot zone is provided with a target button; If it is detected that the terminal device is folded to a preset angle range, waking up the fingerprint identifier of the terminal device, including: the processor of the terminal device sends a driving signal to the fingerprint identifier, so that the fingerprint identifier enters the awake state from the sleep state, the fingerprint identifier does not detect user operation information in the sleep state, and the fingerprint identifier reports the detected user operation information to the processor in the awake state; In response to the user operation received by the fingerprint identifier, the function of the target button is called to take a photo.
22. The photographing operation method according to claim 21, characterized in that: In response to the user operation received by the fingerprint identifier, calling the function of the target button to take a photo includes: If the user operation is the first preset operation, calling the function of the target button to take a photo; If the user operation is the second preset operation, the function of the target button is called to perform continuous photo taking.
23. The photographing operation method according to claim 22, characterized in that: The first preset operation is an operation of single-clicking the fingerprint identifier, and the second preset operation is an operation of long-pressing the fingerprint identifier.
24. The photographing operation method according to claim 21, characterized in that: The method further comprises: If the identified user operation is a third preset operation, changing the target hot zone; If the identified user operation is the fourth preset operation, the target button in the target hot zone is changed.
25. The photographing operation method according to claim 24, characterized in that: The changing of the target hot zone comprises: Determine the functional hot zone to which the target hot zone belongs; If the user operation on the fingerprint identifier is identified as the third preset operation, the functional hot zone to which the target hot zone belongs is changed according to the first preset switching rule, and the target hot zone is updated; In response to triggering a designated button on the camera interface, a new hot zone is added to the camera interface; the functional hot zone to which the target hot zone belongs is determined; if the user operation on the fingerprint identifier is identified as the third preset operation, the functional hot zone to which the target hot zone belongs is changed according to the second preset switching rule, and the target hot zone is updated.
26. The photographing operation method according to claim 24, characterized in that: The third preset operation is an operation of double-clicking the fingerprint identifier, and the fourth preset operation is an operation of sliding the fingerprint identifier.
27. The photographing operation method according to claim 24, characterized in that: The newly added hot zone includes at least one sub-hot zone, and the at least one sub-hot zone includes a button or a progress bar. The method further includes: When determining that the newly added hot zone is the target hot zone, if the identified user operation is the third preset operation, updating the sub-hot zone in the newly added hot zone, and using the updated sub-hot zone as the target hot zone; When determining that the sub-hot zone is the target hot zone, if the user operation is identified as the fourth preset operation, the sub-button in the sub-hot zone is updated and the updated sub-button is used as the target button, or the value in the progress bar is adjusted and the adjusted value is used as the target parameter value.
28. The photographing operation method according to claim 27, characterized in that: In response to the user operation received by the fingerprint identifier, calling the function of the target button to take a photo includes: If the user operation is identified as the first preset operation, the function of the target button is called or a photo is taken according to the target parameter value.
29. The photographing operation method according to claim 21, characterized in that: The at least one functional thermal zone includes a first thermal zone, a second thermal zone and a third thermal zone; The first hot zone includes at least one camera mode setting button, and the camera mode setting button is used to set the camera working mode; The second hot zone includes at least one focus button, and the at least one focus button is used to set a focus mode; The third hot zone includes at least one function setting button, and the at least one function setting button is used to set a corresponding function.
Citation Information
Patent Citations
Photographing method and device used in terminal standby state and mobile terminal
CN105117137A
Shooting method, device, terminal and storage medium
CN107566579A
Photographing operation method, terminal device and storage medium
CN117082165A
Foldable device and control method thereof
KR1020160117381A
Photographing control method, terminal device, and computer-readable storage medium
WO2020210978A1