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.

CN119728824APending Publication Date: 2025-03-28HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410190516.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

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.

Method used

By introducing a fingerprint reader into the terminal device, the fingerprint reader is awakened when the device is folded to a preset angle range, the user's fingerprint operation is recognized, and the camera application's photo button function is called to take pictures.

Benefits of technology

It simplifies the user's photo operation in handheld camera scenes, avoids the inconvenience of operating the shutter button with one hand, and improves the convenience of photo operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728824A_ABST
    Figure CN119728824A_ABST
Patent Text Reader

Abstract

The invention relates to a photographing operation method, terminal equipment and a storage medium. The method is applied to the terminal equipment. When it is determined that the terminal equipment enters the camera application scene, a camera interface is displayed, the camera interface comprises at least one function hot area, the at least one function hot area comprises a target hot area, and the target hot area is provided with a target button. If it is determined that the terminal equipment is folded to the preset angle range, a fingerprint identifier of the terminal equipment is awakened, user operation received by the fingerprint identifier is responded, and the function of the target button is called for photographing. According to the uploading technical scheme, when the terminal equipment is folded to the preset angle range, the fingerprint identifier of the terminal equipment is awakened to identify the user operation of the user on the fingerprint identifier, and photographing is carried out according to the function of calling the target button, so that the situation that the user does not need to carry out photographing in a handheld photographing scene is avoided. The problem that photographing can only be started through a shutter button, and operation is inconvenient is solved, and convenience of photographing operation of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202311208548.0, and the original application date is September 19, 2023. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] 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

[0003] In the related art, electronic devices with foldable displays, such as mobile phones, can be handheld for video recording when adapted to camera applications. For example, users can simulate handheld DV camera recording through the digital video (DV) mode of the camera application. However, when users hand-hold the video, they need to support the phone with one hand and operate the shooting button of the phone at the same time to complete the photo shooting, which causes inconvenience to the user's operation. Summary of the invention

[0004] 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.

[0005] In the first aspect, the embodiment of the present application provides a method for photographing operation, which is applied to a terminal device, and the method includes: if it is determined that the terminal device enters a camera application scenario, a camera interface is displayed, the camera interface includes at least one functional hot zone, 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, the fingerprint identifier of the terminal device is awakened; in response to the user operation received by the fingerprint identifier, the function of the target button is called to take a photo. Upload the technical solution, when the terminal device is folded to a preset angle range, the fingerprint identifier of the terminal device is awakened to identify the user's operation on the fingerprint identifier, and the photo is taken according to the function of the target button. This avoids the problem that the user can only start taking photos by the shutter button in the scenario of handheld video recording, which causes inconvenience in operation, and improves the convenience of the user in taking photos.

[0006] In one embodiment of the present application, in response to a user operation received by the fingerprint identifier, calling the function of the target button to take a photo includes: if the user operation is a first preset operation, calling the function of the target button to take a photo; if the user operation is a second preset operation, calling the function of the target button to take continuous photos. In the above technical solution, when it is detected that the user applies the first preset operation to the fingerprint identifier, the terminal device can quickly start taking photos, and when it is detected that the user applies the first preset operation to the fingerprint identifier, the terminal device can quickly start taking photos.

[0007] In one embodiment of the present application, the first preset operation is a single click operation of the fingerprint identifier, and the second preset operation is a long press operation of the fingerprint identifier. With the above technical solution, when the user is detected to single click the fingerprint identifier, the terminal device can quickly start taking photos, and when the user is detected to long press the fingerprint identifier, the terminal device can quickly start continuous taking photos.

[0008] In one embodiment of the present application, waking up the fingerprint identifier includes: the processor of the terminal device sends a drive 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. 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 identifier so that the fingerprint identifier exits the sleep state, so that the fingerprint identifier enters the wake-up state to identify the user operation, and based on the user operation, calls the function of the target button to take a photo, which can reduce the consumption of hardware resources of the terminal device.

[0009] In one embodiment of the present application, the method further includes: if the recognized user operation is a third preset operation, changing the target hot zone; if the recognized user operation is a fourth preset operation, changing the target button in the target hot zone. In the above technical solution, when it is detected that the user applies the third preset operation to the fingerprint identifier, the terminal device can quickly change the target hot zone, and when it is detected that the user applies the fourth preset operation to the fingerprint identifier, the terminal device can quickly change the target button, so that the user can easily call the function of the target button of the camera application.

[0010] 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 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; if the designated button of the camera interface is determined to be triggered, a new hot zone is added to 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, 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. In the above technical solution, when it is determined that the user triggers the designated button of the camera interface, a new hot zone is added to the camera interface, and the functional hot zone to which the target hot zone belongs is changed according to the second preset switching rule to update the target hot zone, so as to facilitate the user to call the function of the target button in the target hot zone.

[0011] In one embodiment of the present application, the third preset operation is the operation of double-clicking the fingerprint identifier, and the fourth preset operation is the operation of sliding the fingerprint identifier. In the above technical solution, when the user double-clicks the fingerprint identifier, the terminal device can quickly change the target hot zone, and when the user slides the fingerprint identifier, the terminal device can quickly change the target button, so that the user can call the function of the target button of the camera application conveniently.

[0012] 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 the third preset operation, the sub-hot zone in the newly added hot zone is updated, and the updated sub-hot zone is used as the target hot zone; when determining that the sub-hot zone is the target hot zone, if the recognized user operation is 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. In the above technical solution, when it is detected that the user applies the third preset operation to the fingerprint identifier, the sub-hot zone in the newly added hot zone can be modified; 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, 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, so as to facilitate 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.

[0013] In one embodiment of the present application, in response to a user operation received by the fingerprint identifier, calling the function of the target button to take a photo includes: if the user operation is recognized as a first preset operation, calling the function of the target button or taking a photo according to a target parameter value. The above technical solution, when it is detected that the user applies the first preset operation to the fingerprint identifier, can call the function of the target button in the sub-hot zone or take a photo according to the target parameter value.

[0014] 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.

[0015] In a second aspect, the embodiment of the present application provides a method for photographing operation, which is applied to a terminal device, and the method includes: 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 posture of the terminal device is a hand-held posture, the fingerprint identifier of the terminal device is awakened; the user operation is recognized through the fingerprint identifier; if the user operation is a preset photographing operation, the photographing working mode of the camera application is set to the photographing mode, and photographing is performed in accordance with the photographing mode; if the user operation is recognized as a preset video recording operation, the photographing working mode of the camera application is set to the video recording mode, and photographing is performed in accordance with the video recording mode. The above technical solution, when it is detected that the posture of the terminal device is a hand-held posture, the fingerprint identifier is awakened, and when the preset photographing operation applied by the user to the fingerprint identifier is detected, the camera application is set to the photographing mode, and photographing is performed in accordance with the photographing mode, and when the preset video recording operation applied by the user to the fingerprint identifier is detected, the camera application is set to the video recording mode, and photographing is performed in accordance with the video recording mode. In this way, the user quickly enters the camera photographing function through the preset photographing operation, or quickly enters the camera video recording function through the preset video recording operation, which simplifies the action flow of the photographing operation and improves the operation efficiency of photographing.

[0016] In an embodiment of the present application, the method further comprises: acquiring 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.

[0017] In one embodiment of the present application, waking up the fingerprint identifier of the terminal device includes: the processor of the terminal device sends a drive 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. In the above technical solution, the processor of the terminal device sends a drive signal to the fingerprint identifier so that the fingerprint identifier exits the sleep state, so that the fingerprint identifier enters the wake-up state to identify the user operation, and based on the user operation, calls the function of the target button to take a photo, which can reduce the consumption of hardware resources of the terminal device.

[0018] 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 executes the above-mentioned photo-taking operation method.

[0019] 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.

[0020] In addition, the technical effects brought about by the third aspect to the fourth aspect can be found in the description related to the methods of each design in the above method part, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] 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 related drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A schematic diagram of a user taking a photo using a mobile phone.

[0023] Figure 2 It is a schematic diagram of the structure of a terminal device in one embodiment of the present application.

[0024] Figure 3 This is a flow chart of a method for taking photos in one embodiment of the present application.

[0025] Figure 4 This is a schematic diagram of the operation of calling the camera function in the chat interface in one embodiment of the present application.

[0026] Figure 5 Schematic diagram of a camera interface in one embodiment of the present application.

[0027] Figure 6 This is a schematic diagram of clicking the fingerprint reader to take a photo in one embodiment of the present application.

[0028] Figure 7 This is a flow chart of a method for taking photos in one embodiment of the present application.

[0029] Figure 8 This is a schematic diagram of changing the target hot zone in one embodiment of the present application.

[0030] Fig. 9 It is a schematic diagram of changing the target button in one embodiment of the present application.

[0031] Fig.10 This is a schematic diagram of changing the target button in another embodiment of the present application.

[0032] Fig.11 This is a flow chart of a method for changing a target hot zone in one embodiment of the present application.

[0033] Fig.12 This is a flow chart of a method for changing a target hot zone in another embodiment of the present application.

[0034] Fig.13 Flow chart of a volume adjustment method in one embodiment of the present application.

[0035] Fig.14 It is a schematic diagram of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION

[0036] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of 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 designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.

[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field in this application. The terms used in the specification of this application are only for the purpose of describing specific embodiments 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 represent A or B. "And / or" in this application is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: 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 represent: a, b, c, a and b, a and c, b and c, a, b and c seven situations.

[0038] In the related art, electronic devices with foldable screen functions such as mobile phones will adapt camera applications to perform handheld photography. Figure 1 , users use the digital video (DV) mode of the camera application to perform handheld video recording, wherein the 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 operate the shooting button of the mobile phone to complete the photo shooting, which causes inconvenience to the user's operation.

[0039] 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. Figure 2As shown, it is a schematic diagram of the structure of the 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 shoot images or videos. The display screen 12 is used to display the display content of the terminal device 100, for example, to display 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 identifying 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, which is convenient for the user to perform a photo operation.

[0040] refer to Figure 3 , which is a flow chart of a method for taking a photo in one embodiment of the present application. The method is applied to a terminal device, such as Figure 2 The terminal device 100 specifically includes the following steps.

[0041] Step S301, determining whether the terminal device enters a camera application scenario.

[0042] The following introduces the camera operation method of the embodiment of the present application by taking 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 desktop of a mobile phone. 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 that the mobile phone has entered by recording the currently running application. For example, after the user triggers the icon of the camera application on the desktop of the mobile phone, 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 that the mobile phone has entered is the camera application scene based on the recorded name of the currently running camera application.

[0043] 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, such as an instant messaging application. The following uses an instant messaging application as an example to illustrate how the mobile phone enters the camera application scenario. Reference Figure 4 , the user clicks the shooting button in the chat interface of the instant messaging application to call the camera function. If the mobile phone detects that the user clicks the shooting 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 scene entered by the mobile phone is the camera application scene based on the recorded name of the currently running camera application.

[0044] 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.

[0045] Step S302, displaying a camera interface, wherein the camera interface includes at least one functional hot zone, the at least one functional hot zone includes a target hot zone, and a target button is disposed in the target hot zone.

[0046] In one embodiment of the present application, if it is determined that the terminal device enters the camera application scene, the mobile phone displays a camera interface including at least one functional hot zone on the display screen 12. The functional hot zone may refer to a functional area for human-computer interaction on the camera interface, and one or more function setting buttons may be displayed in the functional area, and different function setting buttons are used to set different functions. Figure 5 As shown, it is a schematic diagram of a camera interface in an embodiment of the present application. The camera interface 50 includes at least one functional hot zone 51 and an image preview area 52. The functional 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 touches the photo mode setting button in the first hot zone 511, the corresponding photo working mode is set according to the triggered photo mode setting button; if it is detected that the user touches the shutter button, the camera 11 is controlled by the camera application to take a photo. For example, if it is detected that the user triggers the night scene button, the photo working mode is set to the night scene mode, if it is detected that the user touches the portrait button, the photo working mode is set to the portrait mode, and if it is detected that the user touches the shutter button, the camera application is controlled to call the camera 11 to take a photo.

[0047] The second hot zone 512 is a focus selection zone, 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 button includes, but is 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 zone, 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.

[0048] In one embodiment of the present application, the target hot zone refers to an area where a button or control in the camera interface is used as an operation object. Figure 5 , the mobile phone can receive the user's operation to change the target button in the target hot zone, such as sliding 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.

[0049] Step S303, detecting 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, executing step S304. If it is detected that the terminal device is folded into the preset angle range, executing step S305.

[0050] In one embodiment of the present application, when the user takes a photo or video after folding the display screen of the mobile phone, 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 according to 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.

[0051] In one embodiment of the present application, the preset angle range can be set according to the angle at which the mobile phone needs to be bent to take photos in the DV mode. For example, the angle at which the mobile phone needs to be bent to take photos in the DV mode is generally close to 90°, and the preset angle range can be set in the vicinity of 90°, for example, the preset angle range is set to [80°, 100°].

[0052] Step S304: if it is recognized that the user touches the shutter button on the camera interface, the function of the target button is called to take a photo.

[0053] 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 of the camera interface, the mobile phone can recognize the user's operation of touching the shutter button of the camera interface and call the function of the target button to take a photo.

[0054] Step S305, waking up the fingerprint identifier and identifying the user operation through the fingerprint identifier.

[0055] In one embodiment of the present application, when it is determined that the mobile phone is folded to a preset angle range, or when it is determined that the mobile phone is working in DV mode for video recording, the fingerprint identifier is awakened. In another embodiment of the present application, when it is detected that the mobile phone is folded to 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 to 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 go to the awake state, thereby waking up the fingerprint identifier 13. Among them, 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.

[0056] In one embodiment of the present application, the fingerprint identifier 13 may be a capacitive fingerprint identifier, which reports the measured capacitance change information to the processor 14 when in the awake state; and does not measure the capacitance change information or upload the measured capacitance change information to the processor 14 when in the sleep state. In another embodiment of the present application, the fingerprint identifier 13 may be a temperature sensor fingerprint identifier, which reports the measured temperature change information to the processor 14 when in the awake state, and does not measure the temperature change information or upload the measured temperature change information to the processor 14 when in the sleep state. In other embodiments, the fingerprint identifier may also be an optical fingerprint identifier, an ultrasonic fingerprint identifier, or an electromagnetic wave fingerprint identifier, and the present application does not limit the type of the fingerprint identifier 13.

[0057] 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 the art. For example, a capacitive fingerprint identifier is used to measure the capacitance change and / or time change information when a 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.

[0058] Step S306: according to the user operation, the function of the target button is called to take a photo.

[0059] In one embodiment of the present application, according to the user operation, calling the function of the target button to take a photo includes: if the user operation is a first preset operation, taking a photo according to the function of the target button. In an 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 clicking the fingerprint identifier 13. Reference Figure 6 As shown, it 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 clicks the fingerprint identifier 13, the mobile phone calls the function of the target button to take a photo, thus avoiding the problem that the user can only use the shutter button to start taking a photo in the scene of handheld video recording, which causes inconvenience in operation, and improves the convenience of the user's photo operation.

[0060] In another embodiment of the present application, taking photos according to the function of the target button according to the user operation includes: if the user operation is a second preset operation, taking photos continuously according to the function of the target button. The second preset operation can be used to start continuous photography. 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 identifier 13. If it is recognized that the user long presses the fingerprint identifier 13, the mobile phone takes photos continuously according to the function of the target button, thereby avoiding the problem of the user needing to select the continuous shooting button and touch it to start continuous photography in the scene of handheld video recording, which causes inconvenience in operation, and improves the convenience of the user in performing continuous photography operations.

[0061] refer to Figure 7 FIG. 1 is a flow chart of a method for taking photos in an embodiment of the present application. The method comprises the following steps.

[0062] Step S701, determining whether the terminal device enters a camera application scenario.

[0063] Step S702, displaying a camera interface, wherein the camera interface includes at least one functional hot zone, the at least one functional hot zone includes a target hot zone, and a target button is disposed in the target hot zone.

[0064] Step S703, detecting 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, executing step S704. If it is detected that the terminal device is folded into the preset angle range, executing step S705.

[0065] Step S704: If it is recognized that the user touches the shutter button on the camera interface, the function of the target button is called to take a photo.

[0066] Step S705, waking up the fingerprint identifier and identifying the user operation through the fingerprint identifier.

[0067] For the specific implementation contents of steps S701-S705, please refer to the description contents of the above steps S301-S305, which will not be described in detail here.

[0068] Step S706: If the recognized user operation is the third preset operation, determine the updated target hot zone.

[0069] In one embodiment of the present application, the third preset operation can be pre-set according to user needs, such as setting the third preset operation to the operation of double-clicking the fingerprint identifier 13. In the embodiment of the present application, the third preset operation can be used to update the target hot zone. Figure 8 As shown, 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 operation of the fingerprint identifier 13, then in response to the double-click operation of the fingerprint identifier 13, the second hot zone 512 is used as the updated target hot zone. After determining the second hot zone 512 as the updated target hot zone, if the mobile phone detects that the user double-clicks the fingerprint identifier 13 again, the third hot zone 513 is used as the updated target hot zone. After determining the third hot zone 513 as the target hot zone, if the mobile phone detects that the user double-clicks the fingerprint identifier 13 again, the first hot zone 511 is used as the updated target hot zone. In this way, 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 by continuously double-clicking the fingerprint identifier 13. The specific implementation method of switching the target hot zone is shown in FIG. Fig.11 The method flow chart is shown.

[0070] Step S707: if the recognized user operation is the fourth preset operation, the target button in the updated target hot zone is changed.

[0071] In one embodiment of the present application, the fourth preset operation can be pre-set according to user needs, such as setting the fourth preset operation to the operation of sliding the fingerprint identifier 13, and the fourth preset operation can be used to update the target button. Fig. 9 As shown, 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, and the mobile phone can recognize the user's sliding operation on the fingerprint identifier 13, and respond to the sliding operation on the fingerprint identifier 13, and switch the target button in the first hot zone 511 from the photo button to the video recording button in the first hot zone 511.

[0072] Step S708: If the user's operation is identified as the first preset operation, the function of the target button is called to take a photo.

[0073] In one embodiment of the present application, the specific implementation content of step S708 can refer to the steps of step S306, and will not be repeated here.

[0074] 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 photo, so that the user starts the camera to take a photo by applying the first preset operation to the fingerprint identifier 13, which facilitates the user's operation of taking photos in a handheld camera scene and improves operating efficiency.

[0075] In one embodiment of the present application, reference Fig.10 , when determining that the first hot zone 511 is 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 through a third preset operation (such as double-clicking the fingerprint identifier 13) and use the updated sub-hot zone as the target hot zone, and update the sub-button in the sub-hot zone through a fourth preset operation (such as sliding the fingerprint identifier 13), or adjust the value in the progress bar. 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 fingerprint identifier 13 is recognized, and in response to the sliding fingerprint identifier 13, 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; 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.

[0076] In one embodiment of the present application, the sub-hot zones of the fourth hot zone 514 include but are not limited to the photometric sub-hot zone and the sensitivity sub-hot zone. The photometric sub-hot zone includes at least a matrix photometric button, a center-weighted photometric mode button, and a spot photometric mode button. The matrix photometric button is used to set the photometric mode to the matrix photometric mode, the center-weighted photometric mode button is used to set the photometric mode to the center-weighted photometric mode, and the spot photometric mode button is used to set the photometric mode to the spot photometric mode. The sensitivity sub-hot zone includes a sensitivity adjustment progress bar, and the sensitivity adjustment progress bar is used to adjust the sensitivity.

[0077] refer to Fig.11 FIG. 1 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.

[0078] Step S1101, determining the functional hot zone to which the target hot zone belongs.

[0079] In one embodiment of the present application, the camera application of the mobile phone records the flag bit of the target hot zone, and the flag bit 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 according to the flag bit of the target hot zone. For example, if the flag bit of the target hot zone recorded by the camera application of the mobile phone indicates the first hot zone, then 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.

[0080] Step S1102: if the user operation on the fingerprint identifier is identified as the third preset operation, based on the functional hot zone to which the target hot zone belongs, the target hot zone is changed according to the first preset switching rule to update the target hot zone.

[0081] In one embodiment of the present application, the first preset switching rule may be to change the function hot zone to which the target hot zone belongs according to the cyclic switching rule of the first hot zone 511, the second hot zone 512, and the third hot zone 513, so as to update the target hot zone. For example, when it is determined that the function hot zone to which the target hot zone belongs is the first hot zone 511, if the user is identified to double-click the fingerprint identifier 13, the function 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 function hot zone to which the target hot zone belongs is changed to the second hot zone 411, if the user is identified to double-click the fingerprint identifier 13 again, the function 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 function hot zone to which the target hot zone belongs is changed to the third hot zone 513, if the user is identified to double-click the fingerprint identifier 13 again, the function hot zone to which the target hot zone belongs is changed from the third hot zone 513 to the first hot zone 511.

[0082] Step S1103, determining whether the designated button is triggered.

[0083] In one embodiment of the present application, the designated button is a button for setting the working mode to the professional mode. For example, the designated button may be a button for determining that the professional button is triggered if the professional button for updating the camera interface through a sliding operation by the user is identified as the target button. 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.

[0084] Step S1104, displaying the fourth hot zone.

[0085] 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 identifier 13, and the professional button is updated as the target button in the first hot zone 511 by sliding the fingerprint identifier 13 to trigger the professional button.

[0086] Step S1105, determining the functional hot zone to which the target hot zone belongs.

[0087] 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.

[0088] Step S1106: if the user operation on the fingerprint identifier is identified as the third preset operation, based on the functional hot zone to which the target hot zone belongs, the target hot zone is changed according to the second preset switching rule to update the target hot zone.

[0089] 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 the 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 double-clicks the fingerprint identifier 13, the functional hot zone to which the target hot zone belongs is changed from the fourth hot zone 514 to the 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 the sub-hot zone of the fourth hot zone 514, if it is recognized that the user double-clicks the fingerprint identifier 13, the functional hot zone to which the target hot zone belongs is changed from the sub-hot zone of the fourth hot zone 514 to another sub-hot zone of the fourth hot zone 514. After all the sub-hot zones of the fourth hot zone 514 are changed, if the identified user double-clicks the fingerprint identifier 13, the functional hot zone to which the target hot zone belongs is changed from the 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 identifier 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 identifier 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 identifier 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.

[0090] In one embodiment of the present application, if it is recognized that the user has no operation on the camera interface within 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 common 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 identified, and the target hot zone is changed from the fourth hot zone 514 to the second hot zone 512. It is not necessary to change to the second hot zone 512 after all the sub-hot zones of the fourth hot zone 514 are changed. This improves the convenience of the user in changing the target hot zone.

[0091] refer to Fig.12 , which is a flow chart of a method for taking photos in another embodiment of the present application. The method comprises the following steps.

[0092] Step S1201, when it is determined that the terminal device is 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.

[0093] In one embodiment of the present application, the unlocked state refers to the state of exiting the screen lock. In one embodiment of the present application, if the mobile phone is in the screen lock state, the mobile phone can receive a password or pattern input by the user. If the received password is consistent with the preset password, or the received pattern is consistent with the preset pattern, it is determined that the terminal device exits the state described by the screen, and the terminal device is determined to be in the unlocked state. The specific implementation content of determining whether the terminal device is folded to the preset angle range can refer to the specific implementation content of the above step S303, which will not be described in detail here.

[0094] Step S1202, detecting whether the posture of the terminal device is a hand-held posture. If it is determined that the posture of the terminal device is a hand-held posture, executing step S1203, if it is determined that the posture of the terminal device is not a hand-held posture, executing step S1201.

[0095] 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 according to the posture information. The posture information of the mobile phone may include but is not limited to information on position, direction and angle.

[0096] Step S1203, waking up the fingerprint identifier and identifying the user operation through the fingerprint identifier.

[0097] 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.

[0098] 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 camera mode, and the camera is taken according to the camera mode.

[0099] In one embodiment of the present application, the sixth preset operation may be a preset photo-taking operation, and the sixth preset operation may be pre-set according to user needs, such as setting the sixth preset operation to the operation of double-clicking the fingerprint identifier 13. For example, after the mobile phone recognizes the operation of the user double-clicking the fingerprint identifier 13, the camera application is set to the photo-taking mode, and the photo is taken according to the photo-taking mode.

[0100] Step S1205: If the user operation is recognized as the seventh preset operation, the camera application's photographing working mode is set to the video recording mode, and photographing is performed in accordance with the video recording mode.

[0101] In one embodiment of the present application, the seventh preset operation may be a preset video recording operation, and 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 operation of the user long pressing the fingerprint identifier 13, the camera application is set to the video recording mode, and the photo is taken in accordance with the video recording mode. It should be noted that the user operations involved in the above embodiments may be adjusted according to actual applications, and the present application does not limit this.

[0102] In the above embodiment, when it is detected that the terminal device is folded to a preset angle range and the posture of the terminal device is a handheld posture, the camera application can be quickly entered 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 the photo mode, and the photo is taken in the photo mode. If the user operation is recognized as the seventh preset operation, the camera application's photo mode is set to the video mode, and the photo is taken in the video mode. In this way, the camera photo function is quickly entered through the sixth preset operation, or the camera video function is quickly entered through the seventh preset operation, which simplifies the action process of the photo operation, facilitates the user to perform the photo operation, and improves the efficiency of photo taking.

[0103] refer to Fig.13 , which is a flow chart of a volume adjustment method in an embodiment of the present application. The method is applied to a terminal device, such as Figure 2 The terminal device 100 specifically includes the following steps.

[0104] Step S1301, determining whether the terminal device enters an audio application scenario.

[0105] In one embodiment of the present application, a user triggers an application icon on the desktop of a mobile phone. 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 that the mobile phone is currently in by recording the currently running application. For example, after a user triggers the icon of an audio application on the desktop of a mobile phone, the mobile phone runs the audio application in the foreground and records the name of the currently running audio application. The mobile phone determines that the application scenario that the mobile phone has entered is an audio application scenario based on the recorded name of the currently running audio application. 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.

[0106] Step S1302, waking up the fingerprint identifier and identifying the user operation through the fingerprint identifier.

[0107] In an embodiment of the present application, the specific implementation content of step S1302 refers to the implementation content of step S305, and will not be described again here.

[0108] Step S1303: adjusting the volume of the audio application according to the user operation.

[0109] In one embodiment of the present application, adjusting the volume of the audio application according to the 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. The embodiment of the present application identifies the user operation through a fingerprint identifier and adjusts the volume of the audio application according to 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 key, thereby reducing the hardware resource overhead of the terminal device.

[0110] The terminal device 100 involved in the embodiment of the present application is introduced below. Fig.14 , which is a schematic diagram of the hardware structure of the terminal device 100 in one embodiment of the present application.

[0111] 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.

[0112] It is understood that the structure illustrated in the embodiment of the present application does 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0113] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.

[0114] 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.

[0115] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0116] In some embodiments, the processor 110 may include one or more interfaces. The interface 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, etc.

[0117] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic 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 different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0118] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device 100 through the power management module 141.

[0119] 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 supplies power to the processor 110, the internal memory 121, the display screen 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 number, battery health status (leakage, impedance), etc. 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.

[0120] 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.

[0121] 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 the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0122] 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.

[0123] 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 integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0124] 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).

[0125] The terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which 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, which execute program instructions to generate or change display information.

[0126] The display screen 194 is used to display images, videos, etc. The 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), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0127] The terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0128] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0129] 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 DDR SDRAM is generally referred to as DDR5 SDRAM), etc.;

[0130] Non-volatile memory may include disk storage devices and flash memory.

[0131] 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 unit potential level; universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.

[0132] 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.

[0133] 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 .

[0134] 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 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

[0135] 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 implement the photographing operation function of the terminal device 100.

[0136] The terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0137] The pressure sensor 180A is used to sense the pressure signal and can 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.

[0138] 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 positioning and navigation.

[0139] The magnetic sensor 180D includes a Hall sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather 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 according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.

[0140] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in all directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device 100 and applied to applications such as horizontal and vertical screen switching and pedometers.

[0141] The distance sensor 180F is used to measure the distance. The terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0142] 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 that 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 automatically unlocks and locks the screen.

[0143] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.

[0144] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0145] 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 avoid abnormal shutdown of the terminal device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0146] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the terminal device 100, which is different from the position of the display screen 194.

[0147] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0148] The keyboard 190 includes a power button, a volume button, etc. The keyboard 190 may be a mechanical keyboard or a touch keyboard. The terminal device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the terminal device 100.

[0149] 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.

[0150] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0151] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device 100 by inserting the SIM card interface 195 or pulling it out from the SIM card interface 195. The terminal device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. 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 at the same time. The types of the multiple cards can be the same or different. 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.

[0152] This embodiment also provides a computer storage medium, in which computer instructions are stored. 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-mentioned embodiment.

[0153] This embodiment also 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.

[0154] In addition, an embodiment of the present application also provides a device, which may 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 may execute the computer-executable instructions stored in the memory so that the chip executes the photo-taking operation method in the above-mentioned method embodiments.

[0155] 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.

[0156] 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.

[0157] In the several embodiments provided in the present 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 only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, 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.

[0158] The unit described as a separate component may or may not be physically separated, and the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.

[0159] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0160] 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, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0161] The above implementation modes 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 implementation modes, a person skilled in the art should understand that the technical solutions of the present application may be modified or replaced by equivalents without departing 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 recognition device 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 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 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: The method comprises: 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 posture of the terminal device is a handheld posture, waking up the fingerprint identifier of the terminal device; Identify user operations through the fingerprint identifier; If the user operation is a preset photo-taking operation, setting the photo-taking working mode of the camera application to the photo-taking mode, and taking photos according to the photo-taking mode; If the user operation is identified as a preset video recording operation, the camera operation mode of the camera application is set to a 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 method further comprises: Acquire posture information of the terminal device, and determine whether the terminal device is in the hand-held posture according to the posture information.

16. The photographing operation method according to claim 14, characterized in that: The fingerprint recognition device for waking up the terminal device includes: 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.

17. The photographing operation method according to claim 16, 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.

18. 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 17.

19. 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 17.