CN115550539A - Function control method, function control device, and storage medium - Google Patents

Function control method, function control device, and storage medium Download PDF

Info

Publication number
CN115550539A
CN115550539A CN202110737229.3A CN202110737229A CN115550539A CN 115550539 A CN115550539 A CN 115550539A CN 202110737229 A CN202110737229 A CN 202110737229A CN 115550539 A CN115550539 A CN 115550539A
Authority
CN
China
Prior art keywords
terminal
full
configuration parameter
application scene
time working
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110737229.3A
Other languages
Chinese (zh)
Inventor
刘楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110737229.3A priority Critical patent/CN115550539A/en
Publication of CN115550539A publication Critical patent/CN115550539A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present disclosure relates to a function control method, a function control apparatus, and a storage medium, the function control method being applied to a terminal, the terminal being mounted with an image capture apparatus that captures an image based on a full-time working sensor, the function control method including: determining an application scenario of the terminal based on the full-time operation sensor operating with a first configuration parameter; controlling the terminal to execute a function corresponding to the application scene under the application scene; and under the condition that the full-time working sensor operates according to the first configuration parameter, the number of pixels of the image acquired by the image acquisition device is lower than a pixel number threshold value, and/or the working frequency of the full-time working sensor is lower than a frequency threshold value. Through the embodiment of the disclosure, different parameter configurations can be adopted for detection in stages in the full-time working sensor application process, so that the power consumption is saved.

Description

Function control method, function control device, and storage medium
Technical Field
The present disclosure relates to the field of technologies, and in particular, to a function control method, a function control apparatus, and a storage medium.
Background
The full-time working image acquisition device is also called always on camera, and is provided with a terminal based on the full-time working image acquisition device of a sensor.
Compared with other sensors, the full-time working image acquisition device has lower power consumption in working and very wide application scenes.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a function control method, a function control apparatus, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a function control method applied to a terminal, where an image acquisition device for acquiring an image based on a full-time operation sensor is installed in the terminal, the function control method including: determining an application scenario of the terminal based on the full-time operation sensor operating with a first configuration parameter; controlling the terminal to execute a function corresponding to the application scene under the application scene; and under the condition that the full-time working sensor operates according to the first configuration parameter, the number of pixels of the image acquired by the image acquisition device is lower than a pixel number threshold value, and/or the working frequency of the full-time working sensor is lower than a frequency threshold value.
In some embodiments, determining an application scenario of the terminal based on the full-time operation sensor operating at a first configuration parameter comprises: determining an application scene of the terminal as an application scene for user behavior operation detection based on the full-time working sensor operating with a first configuration parameter; controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps: if the current stage is not in the stage of detecting the user behavior operation, controlling the full-time working sensor which runs by the first configuration parameter to detect the user behavior operation; the stage in which the user behavior operation is not detected comprises a stage in which the user is not detected, a stage in which the user is detected and the behavior operation is not executed, and a stage in which the user is detected and the behavior operation is initially executed.
In some embodiments, controlling the terminal to execute a function corresponding to the application scenario in the application scenario includes: if the current stage of executing the behavior operation is detected, controlling the full-time working sensor operated by the second configuration parameter to detect the user behavior operation; and under the condition that the full-time working sensor operated by the second configuration parameter performs user behavior operation detection, the number of pixels of the image acquired by the image acquisition device is the maximum number of pixels which can be acquired by the image acquisition device, and/or the working frequency of the full-time working sensor is higher than a frequency threshold.
In some embodiments, determining an application scenario of the terminal based on the full-time operation sensor operating at a first configuration parameter comprises: determining an application scene of the terminal as an application scene for performing pocket mode detection of the terminal in response to determining that the ambient light brightness of the terminal is lower than a preset ambient light brightness threshold based on the full-time operation sensor operating with a first configuration parameter; controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps: acquiring a target image in the direction of the terminal display screen based on the full-time working sensor operated by the first configuration parameter; and if the eye watching state is detected based on the target image, controlling the terminal to exit the pocket mode.
In some embodiments, based on the full-time operation sensor operating at a first configuration parameter, determining an application scenario of the terminal, including; determining an application scene of the terminal as an application scene for detecting the ambient light brightness of the terminal based on the full-time working sensor operating with a first configuration parameter; controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps: and controlling the terminal to adjust the screen brightness based on the detection result of the ambient light brightness detection.
According to a second aspect of the embodiments of the present disclosure, there is provided a function control device, which is applied to a terminal, the terminal is mounted with an image capturing device for capturing an image based on a full-time operation sensor, the function control device includes: the determining unit is used for determining an application scene of the terminal based on the full-time working sensor operated by a first configuration parameter; the control unit is used for controlling the terminal to execute the function corresponding to the application scene under the application scene; and under the condition that the full-time working sensor operates according to the first configuration parameter, the number of pixels of the image acquired by the image acquisition device is lower than a pixel number threshold value, and/or the working frequency of the full-time working sensor is lower than a frequency threshold value.
In some embodiments, the determining unit determines the application scenario of the terminal based on the full-time operation sensor operating with the first configuration parameter in the following manner: determining an application scene of the terminal as an application scene for user behavior operation detection based on the full-time working sensor operating with a first configuration parameter; controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps: if the user behavior operation is not detected at the present stage, controlling the full-time working sensor operated by the first configuration parameter to detect the user behavior operation; the stage in which the user behavior operation is not detected comprises a stage in which the user is not detected, a stage in which the user is detected and the behavior operation is not executed, and a stage in which the user is detected and the behavior operation is initially executed.
In some embodiments, the control unit controls the terminal to execute the function corresponding to the application scenario in the following manner: if the current stage of executing the behavior operation is detected, controlling the full-time working sensor operated by the second configuration parameter to detect the user behavior operation; and under the condition that the full-time working sensor operated by the second configuration parameter performs user behavior operation detection, the number of pixels of the image acquired by the image acquisition device is the maximum number of pixels which can be acquired by the image acquisition device, and/or the working frequency of the full-time working sensor is higher than a frequency threshold.
In some embodiments, the determining unit determines the application scenario of the terminal based on the full-time operation sensor operating with the first configuration parameter in the following manner: determining an application scene of the terminal as an application scene for performing pocket mode detection of the terminal in response to determining that the ambient light brightness of the terminal is lower than a preset ambient light brightness threshold based on the full-time operation sensor operating with a first configuration parameter; controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps: acquiring a target image in the direction of the terminal display screen based on the full-time working sensor operated by the first configuration parameter; and if the eye watching state is detected based on the target image, controlling the terminal to exit the pocket mode.
In some embodiments, the determining unit determines an application scenario of the terminal based on the full-time operation sensor operating with a first configuration parameter in the following manner; determining an application scene of the terminal as an application scene for detecting the ambient light brightness of the terminal based on the full-time working sensor operating with a first configuration parameter; controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps: and controlling the terminal to adjust the screen brightness based on the detection result of the ambient light brightness detection.
According to still another aspect of the embodiments of the present disclosure, there is provided a function control apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: executing the function control method of any one of the preceding claims.
According to yet another aspect of an embodiment of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform the function control method of any one of the foregoing.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the terminal is provided with an image acquisition device for acquiring images based on the full-time working sensor, the full-time working sensor operates according to the first configuration parameter to determine the application scene of the terminal, the control terminal executes the function corresponding to the application scene, the pixel quantity of the images acquired by the image acquisition device is lower than the pixel quantity threshold value when the first configuration parameter of the full-time working sensor operates, and/or the image acquisition frequency of the full-time working sensor is lower than the frequency threshold value, so that different parameter configurations can be adopted for detection in stages in the application process of the full-time working sensor, and the power consumption is saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a function control method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a function control method according to still another exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a function control method according to still another exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a function control method according to still another exemplary embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating a function control method according to still another exemplary embodiment of the present disclosure.
Fig. 6 is a block diagram illustrating a function control apparatus according to an exemplary embodiment of the present disclosure.
FIG. 7 illustrates a block diagram of an apparatus for function control according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminal is provided with full-time working image acquisition device (Always on camera), is in the power-on state when the terminal, no matter be in awakening state or dormant state, no matter be in the terminal screen promptly and go out the screen or bright screen state, full-time working image acquisition device continuously works all the time, real-time supervision terminal external environment, and the application scene is very extensive. Compared with other sensors, the full-time working image acquisition device has lower power consumption in working.
Thus, the present disclosure provides a function control method that can further save power consumption in full-time operation sensor applications.
Fig. 1 is a flowchart illustrating a function control method according to an exemplary embodiment of the present disclosure, where as shown in fig. 1, the device control method is applied to a terminal, and the terminal is equipped with an image capturing apparatus for capturing an image based on a full-time operation sensor, and the function control method includes the following steps.
In step S101, an application scenario of the terminal is determined based on the full-time operation sensor operating with the first configuration parameters.
In step S102, the control terminal executes a function corresponding to the application scenario in the application scenario.
In the embodiment of the disclosure, the terminal is provided with the image acquisition device for acquiring images based on the full-time working sensor, and the full-time working sensor is used for monitoring the external environment of the terminal in real time, so that the terminal can be controlled according to the monitored external environment. When the application scene of the terminal is determined, the full-time working sensor is set to operate according to the first configuration parameter, and under the condition that the full-time working sensor operates according to the first configuration parameter, the number of pixels of an image acquired by the image acquisition device is lower than a pixel number threshold value, namely, a pixel part of the image acquisition device to be subjected to image acquisition is started for image acquisition. Under the condition that the full-time working sensor operates according to the first configuration parameter, the detection frequency of the full-time working sensor is lower than a frequency threshold value, namely, image acquisition is carried out at a lower detection frequency. It is also possible to perform image acquisition simultaneously with an operating frequency of the image acquisition device below a threshold for the number of pixels and below a frequency threshold, under the first configuration parameter. It will be appreciated that a full time operational sensor operating at the first configuration parameter corresponds to a lower power consumption for operating the full time operational sensor. And after the application scene of the terminal is determined, controlling the terminal to execute the function corresponding to the application scene in the application scene.
According to the embodiment of the disclosure, the terminal is provided with the image acquisition device for acquiring images based on the full-time working sensor, the full-time working sensor operates according to the first configuration parameter to determine the application scene of the terminal, the control terminal executes the function corresponding to the application scene, the number of pixels of the images acquired by the image acquisition device when the first configuration parameter of the full-time working sensor operates is lower than the threshold value of the number of pixels, and/or the image acquisition frequency of the full-time working sensor is lower than the threshold value of the frequency, so that different parameter configurations can be adopted for detection in stages in the application process of the full-time working sensor, and the power consumption is saved.
Fig. 2 is a flowchart illustrating a function control method according to still another exemplary embodiment of the present disclosure, and as shown in fig. 2, the function control method includes the following steps.
In step S201, based on the full-time operation sensor operating with the first configuration parameter, the application scenario of the terminal is determined as the application scenario for performing the user behavior operation detection.
In step S202, if the user behavior operation is not detected, the full-time operation sensor operating with the first configuration parameter is controlled to perform the user behavior operation detection.
In the embodiment of the disclosure, the terminal is provided with an image acquisition device for acquiring images based on the full-time working sensor, the full-time working sensor is used for monitoring the external environment of the terminal in real time, and the terminal is controlled according to the monitored external environment. When the application scene of the terminal is determined, the full-time working sensor is set to operate according to the first configuration parameter, and under the condition that the full-time working sensor operates according to the first configuration parameter, the number of pixels of an image acquired by the image acquisition device is lower than a pixel number threshold value, namely, a pixel part of the image acquisition device to be subjected to image acquisition is started for image acquisition. It is also possible to set the detection frequency of the full-time operation sensor to be lower than the frequency threshold, i.e. to perform image acquisition at a lower detection frequency, or to perform image acquisition at the same time at an operation frequency of the image acquisition device which is lower than the threshold of the number of pixels and lower than the frequency threshold. And determining the application scene of the terminal as the application scene for detecting the user behavior operation based on the full-time working sensor operated by the first configuration parameter. The user behavior operation detection may be, for example, human eye gaze detection, gesture detection, or the like when the user operates the user terminal. In the process of using the terminal, an image acquisition device which acquires images based on a full-time working sensor is used for detecting user behavior operation. The user behavior operation can be divided into different stages, and for the user behavior operation in different stages, the user behavior operation is detected by adopting full-time working sensors with different parameter configurations. For example, the different phases of the user behavior operation may be a phase including no detection of the user behavior operation, a phase in which the user performs the behavior operation, and the like, wherein the phases in which the user behavior operation is not detected include a phase in which the user is not detected, a phase in which the user is detected and is not performing the behavior operation, and a phase in which the user is detected and is initially performing the behavior operation. For example, the gesture detection of the user is performed based on a full-time working sensor, a scene where the user does not exist before the terminal is detected in a stage where the user is not detected, the image acquisition device acquires an image before the terminal by using a low detection frequency and opening partial pixels of the image acquisition device, and whether the image includes a feature of a 'person' is judged according to the acquired image. The stage of detecting the user and performing no behavior operation may correspond to a stage of detecting that the user exists before the terminal through the full-time sensor, but the user does not perform a preset behavior operation for controlling the terminal. The image acquisition device acquires an image in front of the terminal according to the parameter configuration of the lower detection frequency and the opening part of pixels, and judges whether the image comprises the characteristics of a person or not according to the acquired image, namely, the existence of a user is detected. The image acquisition device is still configured with parameters for detecting people, acquires an image in front of the terminal, judges whether a user is about to perform preset gestures and action operations according to action amplitude and the like of an object included in the image, detects that the user does not perform the gesture operations or does not perform the gesture operations of a preset control terminal, and determines that the user is detected and is in a stage of not performing the action operations. The stage of detecting the user and performing the behavior operation initially may be an initial stage of performing a preset behavior operation for controlling the terminal by the user corresponding to the presence of the user in front of the terminal detected by the full-time sensor. The image acquisition device acquires an image in front of the terminal according to the parameter configuration of the lower detection frequency and the opening part of pixels, and judges whether the image comprises the characteristics of a person or not according to the acquired image, namely the existence of a user is detected. The image acquisition device still configures parameters for human detection to acquire images in front of the terminal, judges that the user executes gesture operation of the preset control terminal according to action amplitude and the like of an object in the images, and determines that the user is detected and is in a stage of initially executing behavior operation. The terminal is currently in a stage of not detecting the user behavior operation, namely the terminal is in a stage of not detecting the user, detects the user and is in a stage of not executing the behavior operation, and detects the user and is in a stage of initially executing the behavior operation, the full-time working sensor which runs by the first configuration parameters is controlled to detect the user behavior operation, and the use power consumption of the full-time working sensor is reduced.
According to the embodiment of the disclosure, the terminal is provided with the image acquisition device for acquiring images based on the full-time working sensor, when the full-time working sensor performs user behavior operation detection by using the first configuration parameter, if the full-time working sensor is at the stage of not detecting the user behavior operation, the full-time working sensor operating by using the first configuration parameter is controlled to perform user behavior operation detection, so that different parameter configurations are adopted for detection in stages in the application process of the full-time working sensor, and the power consumption is saved.
Fig. 3 is a flowchart illustrating a function control method according to still another exemplary embodiment of the present disclosure, and as shown in fig. 3, the function control method includes the following steps.
In step S301, based on the full-time operation sensor operating with the first configuration parameter, the application scenario of the terminal is determined as the application scenario for performing the user behavior operation detection.
In step S302, if it is detected that the current stage is performing behavior operation, the full-time operation sensor operating with the second configuration parameter is controlled to perform user behavior operation detection.
In the embodiment of the disclosure, the terminal is provided with an image acquisition device for acquiring images based on the full-time working sensor, and the application scene of the terminal is determined to be the application scene for detecting the user behavior operation based on the full-time working sensor operating according to the first configuration parameter. And under the condition that the full-time working sensor operates according to the first configuration parameter, correspondingly starting a pixel part of an image acquisition device for image acquisition, or acquiring an image by adopting a detection frequency lower than a frequency threshold value. In the process of using the terminal, the user behavior operation detection is carried out by using the image acquisition device which acquires images based on the full-time working sensor, for example, human eye gaze detection, gesture detection and the like when the user operates the terminal. The different phases of the user behavior operation may be a phase including no detection of the user behavior operation, a phase in which the user performs the behavior operation, and the like, wherein the phases in which the user behavior operation is not detected include a phase in which the user is not detected, a phase in which the user is detected and is not performing the behavior operation, and a phase in which the user is detected and is initially performing the behavior operation.
For example, the user gesture detection is performed based on the full-time operation sensor, the stage where the user is not detected may correspond to a stage where the user does not exist before the terminal, and the stage where the user is detected and the behavior operation is not performed may correspond to a stage where the user is detected to exist before the terminal through the full-time sensor, but the user does not perform the preset behavior operation for controlling the terminal. The stage of detecting the user and performing the behavior operation initially may be an initial stage of performing a preset behavior operation for controlling the terminal by the user corresponding to the presence of the user in front of the terminal detected by the full-time sensor. That is, the stage in which the user behavior operation is not detected may be implemented by a full-time operation sensor operating with the first configuration parameter, the number of pixels of the image acquired by the image acquisition device is lower than a pixel number threshold, and/or the operation frequency lower than a frequency threshold is used to perform image acquisition, and whether the user exists in the image is determined according to the acquired image. And if the user is detected to exist, judging whether the user executes the gesture operation or not or whether the gesture operation executed by the user is the preset gesture operation or not by using the same parameter configuration of the full-time working sensor. And if the action amplitude of the gesture operation of the user is detected to meet the set threshold value, determining that the user is in a stage of initially executing behavior operation. After the user is in the stage of initially executing the behavior operation, the user is about to perform the gesture operation, that is, the user enters the stage of executing the behavior operation in the next stage. When a user executes a behavior operation, the full-time working sensor running with the second configuration parameter is controlled to detect the user behavior operation, for example, a gesture or other set actions are detected, and under the condition that the full-time working sensor running with the second configuration parameter detects the user behavior operation, the pixel number of an image acquired by the image acquisition device is the maximum pixel number capable of being acquired by the image acquisition device, and/or the working frequency of the full-time working sensor is higher than a frequency threshold value, so that the image acquisition progress is improved, a full-detail picture is acquired, the detection frequency is improved, the sensitivity degree of the action detection is improved, and the terminal is controlled according to the user behavior operation detection.
According to the embodiment of the disclosure, the terminal is provided with an image acquisition device for acquiring images based on a full-time working sensor, the full-time working sensor performs user behavior operation detection according to a first configuration parameter, if the full-time working sensor is currently in a stage where the user behavior operation is not detected, the full-time working sensor running according to the first configuration parameter is controlled to perform the user behavior operation detection, if the full-time working sensor running according to a second configuration parameter is detected to be currently in a stage where the behavior operation is executed, the full-time working sensor running according to the second configuration parameter is controlled to perform the user behavior operation detection, the second configuration parameter is higher than the first configuration parameter, the detection is performed by adopting different parameter configurations in stages in the application process of the full-time working sensor, the detection precision and the sensitivity are met, and meanwhile, the standby power consumption is effectively reduced.
Fig. 4 is a flowchart illustrating a function control method according to still another exemplary embodiment of the present disclosure, the function control method including the following steps, as shown in fig. 4.
In step S401, in response to determining that the ambient light level of the terminal is lower than a preset ambient light level threshold based on the full-time operation sensor operating with the first configuration parameter, determining the application scene of the terminal as an application scene for performing pocket mode detection of the terminal.
In step S402, a target image in the terminal display screen orientation direction is captured based on the full time operation sensor operating at the first configuration parameter.
In step S403, if the eye-gaze state is detected based on the target image, the control terminal exits the pocket mode.
In the embodiment of the disclosure, the terminal is provided with an image acquisition device for image acquisition based on the full-time working sensor, and the full-time working sensor correspondingly turns on a pixel part of the image acquisition device for image acquisition under the condition of operating with the first configuration parameter, or performs image acquisition by adopting a detection frequency lower than a frequency threshold. And determining the application scene of the terminal as the application scene for carrying out the pocket mode detection of the terminal based on the full-time working sensor which operates by the first configuration parameter. The pocket mode is widely applied to the terminal, when the terminal is in the pocket mode by the equipment, namely the terminal is in a scene in a pocket of a user, the terminal cannot be on when a new message is received, and the phenomenon that mistaken touch is caused by contact of a body or other parts in the pocket is avoided. When the terminal is determined to be in the pocket mode, a front distance sensor may be disposed at the terminal, and when the distance sensor detects that the distance between the terminal and an object to be detected (pocket) is smaller than a set distance, the terminal is determined to be in the pocket of the user according to the distance, and the relevant operation that the terminal is in the pocket mode is performed.
It can be understood that when the terminal is in the pocket of the user, the brightness of the terminal is much lower than the brightness of the terminal in other environments, that is, the terminal determines that the ambient light brightness of the terminal is lower than the preset ambient light brightness threshold based on the full-time operation sensor operating with the first configuration parameter, and determines that the application scene of the terminal is the application scene for performing the pocket mode detection of the terminal. Namely, with the lower configuration of the full-time working sensor, when the current ambient light brightness of the terminal is detected to be lower than the preset ambient light brightness threshold, the judgment of whether the terminal is in the pocket mode is started. The image acquisition device still uses a full-time working sensor operated by the first configuration parameter to acquire a target image in the direction of the display screen of the terminal, and based on the target image, image identification, feature detection and the like are carried out to determine that the human face is detected and determine that the human face is in a human eye watching state, and at the moment, the terminal is controlled to exit from a pocket mode for a user to use the terminal in a low-brightness use scene. It can be understood that the image capturing device, operating with the first configuration parameter, captures the target image in the direction of the terminal display screen, and controls the terminal to maintain the pocket mode based on the target image in order to detect that the target image contains a human face or not detect the gaze state of human eyes in the target image, and at this time, it is highly likely that the user uses the usage scene of the terminal at a lower brightness. It is also understood that when the terminal is in a dark environment with low brightness, it may include that the current ambient light brightness of the terminal is lower than the preset ambient light brightness threshold, and the user is not in a state of looking at the terminal, i.e. the state of looking at the terminal by the eyes of the user is not detected, however, the terminal is not in a pocket. The distance sensor set through the terminal detects that the distance from the terminal to a measured object is smaller than a set distance, and the full-time working sensor operates based on a first configuration parameter, a target image on the orientation direction of a display screen of the acquisition terminal is based on a target image, and when a human eye gazing state is detected in the target image, the control terminal keeps a pocket mode, so that a judgment result of the pocket mode is more accurate.
According to the embodiment of the disclosure, the terminal is provided with the image acquisition device for acquiring images based on the full-time working sensor, the full-time working sensor determines that the ambient light brightness of the terminal is lower than a preset ambient light brightness threshold value according to the first configuration parameter, pocket mode detection of the terminal is carried out, the full-time working sensor still runs based on the first configuration parameter, a target image in the direction of the display screen of the terminal is acquired, if a human eye watching state is detected based on the target image, the terminal is controlled to exit from the pocket mode, the characteristics of light detection and dynamic capture of the full-time working sensor can be fully exerted, pocket mode detection of the terminal is achieved, and cost is not additionally increased.
Fig. 5 is a flowchart illustrating a function control method according to still another exemplary embodiment of the present disclosure, and as shown in fig. 5, the function control method includes the following steps.
In step S501, an application scene of the terminal is determined as an application scene for detecting the ambient light brightness of the terminal based on the full-time operation sensor operating with the first configuration parameter.
In step S502, the control terminal performs screen brightness adjustment based on the detection result of the ambient light brightness detection.
In the embodiment of the present disclosure, the terminal is installed with an image acquisition device that performs image acquisition based on a full-time working sensor, and under the condition that the full-time working sensor operates according to the first configuration parameter, a pixel portion of the image acquisition device that will perform image acquisition is correspondingly turned on, or image acquisition is performed by using a detection frequency lower than a frequency threshold. The theoretical power consumption of the full-time working sensor is less than 1mW, the light intensity detection range can be realized within the range of 3-10000 Lux, and the ambient light detection requirement in the use of a terminal is met. The real-time detection of the ambient light brightness of the terminal may be performed based on a full-time operation sensor operating with the first configuration parameter, the control terminal may perform screen brightness adjustment based on a detection result of the ambient light brightness detection, or perform other related adjustments with respect to the ambient light brightness detection result. The environment light detection sensor can be arranged in the terminal instead of the terminal, extra cost is not required to be added, and the power consumption is low.
Based on the same conception, the embodiment of the disclosure also provides a function control device.
It is understood that the apparatus provided by the embodiments of the present disclosure includes hardware structures and/or software modules for performing the functions described above. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 6 is a block diagram illustrating a function control apparatus according to an exemplary embodiment of the present disclosure. Referring to fig. 6, the function control apparatus 100 is applied to a terminal mounted with an image pickup apparatus for image pickup based on a full-time operation sensor, and the function control apparatus 100 includes a determination unit 101 and a control unit 102.
A determining unit 101, configured to determine an application scenario of the terminal based on the full-time operation sensor operating with the first configuration parameter.
The control unit 102 is configured to control the terminal to execute a function corresponding to an application scenario in the application scenario; and under the condition that the full-time working sensor operates according to the first configuration parameter, the number of pixels of the image acquired by the image acquisition device is lower than a pixel number threshold value, and/or the working frequency of the full-time working sensor is lower than a frequency threshold value.
In some embodiments, the determining unit 101 determines the application scenario of the terminal based on the full-time operation sensor operating with the first configuration parameter in the following manner: determining an application scene of the terminal as an application scene for detecting user behavior operation based on a full-time working sensor operating with first configuration parameters; the control terminal executes the function corresponding to the application scene under the application scene, and the function comprises the following steps: if the user behavior operation is not detected at the present stage, controlling a full-time working sensor operated by the first configuration parameter to detect the user behavior operation; the stage of not detecting the user behavior operation comprises a stage of not detecting the user, a stage of detecting the user and not executing the behavior operation, and a stage of detecting the user and initially executing the behavior operation.
In some embodiments, the control unit 102 controls the terminal to execute the function corresponding to the application scenario in the following manner: if the current stage of executing the behavior operation is detected, controlling a full-time working sensor operated by the second configuration parameter to detect the user behavior operation; and under the condition that the full-time working sensor operated by the second configuration parameter performs user behavior operation detection, the number of pixels of the image acquired by the image acquisition device is the maximum number of pixels which can be acquired by the image acquisition device, and/or the working frequency of the full-time working sensor is higher than a frequency threshold.
In some embodiments, the determining unit 101 determines the application scenario of the terminal based on the full-time operation sensor operating with the first configuration parameter in the following manner: determining an application scene of the terminal as an application scene for performing pocket mode detection of the terminal in response to determining that the ambient light brightness of the terminal is lower than a preset ambient light brightness threshold value based on a full-time working sensor operating with a first configuration parameter; the control terminal executes the function corresponding to the application scene under the application scene, and the function comprises the following steps: acquiring a target image in the direction of a terminal display screen based on a full-time working sensor operating with first configuration parameters; and if the eye gazing state is detected based on the target image, the control terminal exits the pocket mode.
In some embodiments, the determining unit 101 determines the application scenario of the terminal based on the full-time operation sensor operating with the first configuration parameter in the following manner; determining an application scene of the terminal as an application scene for detecting the ambient light brightness of the terminal based on a full-time working sensor operating with a first configuration parameter; the control terminal executes the function corresponding to the application scene under the application scene, and the function comprises the following steps: and the control terminal adjusts the screen brightness based on the detection result of the ambient light brightness detection.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an apparatus 200 for function control according to an exemplary embodiment of the present disclosure. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 202 may include one or more processors 220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the apparatus 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 204 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 206 provide power to the various components of device 200. Power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 200.
The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 210 is configured to output and/or input audio signals. For example, audio component 210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing component 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 214 includes one or more sensors for providing various aspects of status assessment for the device 200. For example, the sensor assembly 214 may detect an open/closed state of the device 200, the relative positioning of components, such as a display and keypad of the device 200, the sensor assembly 214 may also detect a change in the position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration/deceleration of the device 200, and a change in the temperature of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the apparatus 200 and other devices. The device 200 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 204, comprising instructions executable by processor 220 of device 200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It is further understood that, unless otherwise specified, "connected" includes direct connections between the two without other elements and indirect connections between the two with other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the scope of the appended claims.

Claims (12)

1. A function control method is characterized by being applied to a terminal, wherein the terminal is provided with an image acquisition device for acquiring images based on a full-time working sensor, and the function control method comprises the following steps:
determining an application scenario of the terminal based on the full-time operation sensor operating with a first configuration parameter;
controlling the terminal to execute a function corresponding to the application scene under the application scene;
and under the condition that the full-time working sensor operates according to the first configuration parameter, the number of pixels of the image acquired by the image acquisition device is lower than a pixel number threshold value, and/or the working frequency of the full-time working sensor is lower than a frequency threshold value.
2. The method according to claim 1, wherein determining an application scenario of the terminal based on the full-time operation sensor operating with a first configuration parameter comprises:
determining an application scene of the terminal as an application scene for user behavior operation detection based on the full-time working sensor operating with a first configuration parameter;
controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps:
if the user behavior operation is not detected at the present stage, controlling the full-time working sensor operated by the first configuration parameter to detect the user behavior operation;
the stage in which the user behavior operation is not detected comprises a stage in which the user is not detected, a stage in which the user is detected and the behavior operation is not executed, and a stage in which the user is detected and the behavior operation is initially executed.
3. The method according to claim 2, wherein controlling the terminal to execute the function corresponding to the application scenario in the application scenario comprises:
if the current stage of executing the behavior operation is detected, controlling the full-time working sensor operated by the second configuration parameter to detect the user behavior operation;
and under the condition that the full-time working sensor operated by the second configuration parameter performs user behavior operation detection, the number of pixels of the image acquired by the image acquisition device is the maximum number of pixels which can be acquired by the image acquisition device, and/or the working frequency of the full-time working sensor is higher than a frequency threshold.
4. The method according to claim 1, wherein determining an application scenario of the terminal based on the full-time operation sensor operating with a first configuration parameter comprises:
determining an application scene of the terminal as an application scene for performing pocket mode detection of the terminal in response to determining that the ambient light brightness of the terminal is lower than a preset ambient light brightness threshold based on the full-time working sensor operating with a first configuration parameter;
controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps:
acquiring a target image in the direction of the terminal display screen based on the full-time working sensor operated by the first configuration parameter;
and if the eye watching state is detected based on the target image, controlling the terminal to exit the pocket mode.
5. The function control method according to claim 1, wherein determining an application scenario of the terminal based on the full-time operation sensor operating with a first configuration parameter comprises;
determining an application scene of the terminal as an application scene for detecting the ambient light brightness of the terminal based on the full-time working sensor operating with a first configuration parameter;
controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps:
and controlling the terminal to adjust the screen brightness based on the detection result of the ambient light brightness detection.
6. The utility model provides a function control device which characterized in that is applied to the terminal, the terminal is installed and is carried out image acquisition device of image acquisition based on full-time working sensor, function control device includes:
the determining unit is used for determining an application scene of the terminal based on the full-time working sensor operated by a first configuration parameter;
the control unit is used for controlling the terminal to execute the function corresponding to the application scene under the application scene;
and under the condition that the full-time working sensor operates according to the first configuration parameter, the number of pixels of the image acquired by the image acquisition device is lower than a pixel number threshold value, and/or the working frequency of the full-time working sensor is lower than a frequency threshold value.
7. The function control device according to claim 6, wherein the determining unit determines the application scenario of the terminal based on the full-time operation sensor operating at the first configuration parameter in the following manner:
determining an application scene of the terminal as an application scene for user behavior operation detection based on the full-time working sensor operating with a first configuration parameter;
controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps:
if the user behavior operation is not detected at the present stage, controlling the full-time working sensor operated by the first configuration parameter to detect the user behavior operation;
the stage in which the user behavior operation is not detected comprises a stage in which the user is not detected, a stage in which the user is detected and the behavior operation is not executed, and a stage in which the user is detected and the behavior operation is initially executed.
8. The function control device according to claim 7, wherein the control unit controls the terminal to execute the function corresponding to the application scenario in the application scenario as follows:
if the current stage of executing the behavior operation is detected, controlling the full-time working sensor operated by the second configuration parameter to detect the user behavior operation;
and under the condition that the full-time working sensor operated by the second configuration parameter performs user behavior operation detection, the number of pixels of the image acquired by the image acquisition device is the maximum number of pixels which can be acquired by the image acquisition device, and/or the working frequency of the full-time working sensor is higher than a frequency threshold.
9. The function control device according to claim 6, wherein the determining unit determines the application scenario of the terminal based on the full-time operation sensor operating at the first configuration parameter in the following manner:
determining an application scene of the terminal as an application scene for performing pocket mode detection of the terminal in response to determining that the ambient light brightness of the terminal is lower than a preset ambient light brightness threshold based on the full-time operation sensor operating with a first configuration parameter;
controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps:
acquiring a target image in the direction of the terminal display screen based on the full-time working sensor operating with a first configuration parameter;
and if the eye gazing state is detected based on the target image, controlling the terminal to exit the pocket mode.
10. The function control device according to claim 6, wherein the determining unit determines an application scenario of the terminal based on the full-time operation sensor operating at a first configuration parameter in a manner as follows;
determining an application scene of the terminal as an application scene for detecting the ambient light brightness of the terminal based on the full-time working sensor operating with a first configuration parameter;
controlling the terminal to execute the function corresponding to the application scene under the application scene, wherein the function comprises the following steps:
and controlling the terminal to adjust the screen brightness based on the detection result of the ambient light brightness detection.
11. A function control apparatus, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: executing the function control method of any of claims 1 to 5.
12. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the function control method of any one of claims 1 to 5.
CN202110737229.3A 2021-06-30 2021-06-30 Function control method, function control device, and storage medium Pending CN115550539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110737229.3A CN115550539A (en) 2021-06-30 2021-06-30 Function control method, function control device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110737229.3A CN115550539A (en) 2021-06-30 2021-06-30 Function control method, function control device, and storage medium

Publications (1)

Publication Number Publication Date
CN115550539A true CN115550539A (en) 2022-12-30

Family

ID=84705621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110737229.3A Pending CN115550539A (en) 2021-06-30 2021-06-30 Function control method, function control device, and storage medium

Country Status (1)

Country Link
CN (1) CN115550539A (en)

Similar Documents

Publication Publication Date Title
CN110796988B (en) Backlight adjusting method and device
CN106843706B (en) Shutdown control method and device and terminal equipment
EP3361369B1 (en) Method and device for displaying time on mobile device
CN106527682B (en) Method and device for switching environment pictures
EP3496391A1 (en) Method and device for capturing image and storage medium
CN111988493B (en) Interaction processing method, device, equipment and storage medium
CN113055966B (en) Frequency band switching method, frequency band switching device and storage medium
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN111611034A (en) Screen display adjusting method and device and storage medium
CN111984347A (en) Interaction processing method, device, equipment and storage medium
US11011124B2 (en) Method and device for adjusting current of backlight, and storage medium
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN112748817A (en) Information control method and device, terminal and storage medium
CN109922203B (en) Terminal, screen off method and device
CN109905543B (en) Method and device for preventing misoperation of terminal
CN108597456B (en) Backlight brightness adjusting method and device
CN112689047B (en) Display control method and device and electronic equipment
CN115550539A (en) Function control method, function control device, and storage medium
CN107329604B (en) Mobile terminal control method and device
CN114738977B (en) Air conditioner flux weakening angle control method, device and storage medium
CN111343336B (en) Mode switching method and device, electronic equipment and computer readable storage medium
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
CN112565521B (en) Information processing method, device, terminal and storage medium
US11617023B2 (en) Method for brightness enhancement of preview image, apparatus, and medium
CN114764272A (en) Terminal, terminal control method, terminal control device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination