CN111443823A - Terminal control method, device, terminal and storage medium - Google Patents
Terminal control method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN111443823A CN111443823A CN202010207745.0A CN202010207745A CN111443823A CN 111443823 A CN111443823 A CN 111443823A CN 202010207745 A CN202010207745 A CN 202010207745A CN 111443823 A CN111443823 A CN 111443823A
- Authority
- CN
- China
- Prior art keywords
- function
- terminal
- display screen
- touch display
- state
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a terminal control method, a terminal control device, a terminal and a storage medium, and belongs to the technical field of terminals. The method is used in a terminal with a touch display screen, and comprises the following steps: responding to the fact that the touch display screen is in a turned-off state, and detecting whether the terminal starts a first function of the terminal or not; the response speed of the touch display screen in the state that the terminal starts the first function is not less than the response speed in the state that the terminal starts the second function; responding to the terminal not starting the first function, and detecting whether the terminal starts the second function of the terminal; and responding to the terminal to start the second function, starting a third function of the terminal, wherein the third function is a sub-function of the second function, and the response speed of the touch display screen in the state that the third function is started by the terminal is less than the response speed in the state that the second function is started by the terminal. According to the method and the device, the problem of low efficiency of the terminal responding to the first function when the terminal simultaneously opens the third function and the first function can be avoided.
Description
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a terminal control method, a terminal control device, a terminal and a storage medium.
Background
With the advancement of technology, a touch display screen is one of indispensable components in most terminals, and the terminals can implement various functions through the touch display screen.
For example, currently, in a terminal, the terminal may be provided with a black screen gesture function through a touch display screen, where the black screen gesture function is: when the touch display screen is in an off state, a user slides a preset character or shape on the touch display screen through an object such as a finger or a touch pen, and the terminal can execute corresponding operation corresponding to the character or shape. For example, when the user slides a "V" character on the touch display screen with a finger, the terminal may directly start the camera application and display an application interface of the camera application on the touch display screen. The energy-saving function can be started under the condition that the black screen gesture function is started in order to reduce misoperation of the terminal in the state that the black screen gesture function is started, and the response speed of the touch display screen is reduced by reducing the scanning time of the touch display screen, so that misoperation is reduced.
Therefore, when the energy-saving function is turned on, the scanning time of the touch display screen is shorter, and the response speed of the touch display screen is slower, which affects the response speed of the terminal for other functions (for example, a fingerprint recognition function under the screen) having higher requirements for the response speed of the touch display screen.
Disclosure of Invention
The embodiment of the application provides a terminal control method, a terminal control device, a terminal and a storage medium, which can prevent the terminal from simultaneously starting functions with different requirements on the response speed of a touch display screen and avoid the problem of conflict among the functions. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a terminal control method, where the method is used in a terminal with a touch display screen, and the method includes:
responding to the fact that the touch display screen is in a turned-off state, and detecting whether the terminal starts a first function of the terminal or not; the response speed of the touch display screen in the state that the terminal starts the first function is not less than the response speed in the state that the terminal starts the second function;
responding to the terminal not starting the first function, and detecting whether the terminal starts the second function of the terminal or not;
and responding to the terminal to start the second function, starting a third function of the terminal, wherein the third function is a sub-function of the second function, and the response speed of the touch display screen in the state that the terminal starts the third function is lower than the response speed in the state that the terminal starts the second function.
In another aspect, an embodiment of the present application provides a terminal control apparatus, where the apparatus is used in a terminal with a touch display screen, and the apparatus includes:
the first detection module is used for responding to the fact that the touch display screen is in a turned-off state and detecting whether the terminal starts a first function of the terminal or not; the response speed of the touch display screen in the state that the terminal starts the first function is not less than the response speed in the state that the terminal starts the second function;
the second detection module is used for responding to the situation that the first function is not started by the terminal and detecting whether the terminal starts the second function of the terminal or not;
the first starting module is used for responding to the terminal to start the second function and starting a third function of the terminal, the third function is a sub-function of the second function, and the response speed of the touch display screen in the state that the terminal starts the third function is smaller than the response speed in the state that the terminal starts the second function.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the terminal control method according to the above aspect.
In another aspect, the present application provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the terminal control method according to the above aspect.
The technical scheme provided by the embodiment of the application can at least comprise the following beneficial effects:
this application is through when touch display screen is in the state of extinguishing, whether detection terminal opens first function, when not opening first function, whether second function is opened to the detection terminal again, when opening the second function, just can open the subfunction of second function, the third function promptly. The third function is started again under the condition that the first function of the terminal is not started, so that the problem of low efficiency of the terminal in responding to the first function when the terminal simultaneously starts the third function and the first function is solved, the coordination control of the terminal on each function with different requirements on the response speed of the touch display screen is realized, and the control flexibility is improved.
Drawings
Fig. 1 is a flowchart of a method of controlling a terminal according to an exemplary embodiment of the present application;
fig. 2 is a flowchart of a method of controlling a terminal according to an exemplary embodiment of the present application;
FIG. 3 is an interface diagram of a setup interface according to an exemplary embodiment of the present application;
FIG. 4 is an interface schematic diagram of a first prompt interface of FIG. 3 according to an exemplary embodiment of the present application;
FIG. 5 is an interface schematic of a second prompt interface according to an exemplary embodiment of the present application;
fig. 6 is a flowchart of a method of controlling a terminal according to an exemplary embodiment of the present application;
fig. 7 is a block diagram of a terminal control apparatus according to an exemplary embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an exemplary embodiment of the present application.
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: 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 scheme provided by the application can be used in a real scene that the terminal provides a function with different response speeds to the touch display screen when people use the terminal in daily life, and for convenience of understanding, some terms and application scenes related to the embodiment of the application are simply introduced below.
1) Black screen gesture function: when the touch display screen is in an off state, a user slides a preset character or shape on the touch display screen through an object such as a finger or a touch pen, and the terminal can execute corresponding operation corresponding to the character or shape.
2) The under-screen fingerprint identification function: the finger receives the fingerprint through the touch display screen, and whether the fingerprint is a preset fingerprint is determined through fingerprint identification, so that functions of unlocking, payment and the like are realized. And when the touch display screen is turned off, the terminal is mainly awakened so that the turned-off touch display screen is lightened.
With the development of science and technology, more and more terminals appear in people's daily life, and people can work, amusement, study etc. through the terminal. The touch display screen is an important component in most terminals, and can enable the terminal to execute corresponding instructions in response to touch operation of a user.
For example, the terminal may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP3 player (Moving Picture Experts group Audio L layer III, motion Picture Experts compression standard Audio layer 3), an MP4 player (Moving Picture Experts group Audio L layer IV, motion Picture Experts compression standard Audio layer 4), a notebook computer, a laptop computer, a desktop computer, and the like.
At present, in a terminal, the terminal can be provided with a black screen gesture function and a fingerprint identification function through a touch display screen, and in order to reduce misoperation of the terminal in a state of opening the black screen gesture function, the terminal can also open an energy-saving function under the condition of opening the black screen gesture function, so that the scanning time of the touch display screen is reduced. However, if the terminal also simultaneously activates the fingerprint recognition function, then the energy saving function is activated in the terminal when the touch display screen is in the off state, and at this time, in the process that the user wakes up the terminal through the fingerprint, the scanning time of the touch display screen is low, which results in a long time for the user to wake up the terminal, and affects the response speed of the terminal to the fingerprint recognition function.
In order to realize the coordination control of each function with different requirements on the response speed of the touch display screen by the terminal and improve the flexibility of terminal control, the application provides the terminal control method, which can prevent the terminal from simultaneously starting a plurality of functions with different requirements on the response speed of the touch display screen and realize the flexible control of the terminal.
Referring to fig. 1, a flowchart of a method for controlling a terminal according to an exemplary embodiment of the present application is shown. The method can be used in a terminal having a touch display screen, and as shown in fig. 1, the terminal control method can include the following steps.
And 102, responding to the situation that the terminal does not start the first function, and detecting whether the terminal starts the second function of the terminal.
And 103, responding to the terminal to start the second function, starting a third function of the terminal, wherein the third function is a sub-function of the second function, and the response speed of the touch display screen in the state that the terminal starts the third function is lower than the response speed in the state that the terminal starts the second function.
To sum up, this application is through when touch display screen is in the off state, whether detection terminal opens first function, when not opening first function, whether second function is opened to the detection terminal again, when opening the second function, just can open the subfunction of second function, the third function promptly. The third function is started again under the condition that the first function of the terminal is not started, so that the problem of low efficiency of the terminal in responding to the first function when the terminal simultaneously starts the third function and the first function is solved, the coordination control of the terminal on each function with different requirements on the response speed of the touch display screen is realized, and the control flexibility is improved.
In a possible implementation manner, the terminal may receive a trigger operation executed by a user on the touch display screen, and generate a turn-off instruction for the touch display screen in the terminal, after receiving the turn-off instruction, the terminal may display a prompt interface in the touch display screen, where the prompt interface may prompt whether to turn off a certain function when the touch display screen is turned off.
Referring to fig. 2, a flowchart of a method for controlling a terminal according to an exemplary embodiment of the present application is shown. The method can be used in a terminal having a touch display screen, and as shown in fig. 2, the terminal control method can include the following steps.
That is, when the touch display screen is in the off state, the terminal may detect whether the terminal has turned on the first function. Optionally, the terminal may detect periodically or once, which is not limited in this application.
Optionally, the response speed of the touch display screen in the state that the terminal starts the first function is not less than the response speed in the state that the terminal starts the second function, or the scanning time of the touch display screen in the state that the terminal starts the first function is not less than the scanning time in the state that the terminal starts the second function, or the scanning frequency of the touch display screen in the state that the terminal starts the first function is not less than the scanning frequency in the state that the terminal starts the second function. The scanning time refers to a time period for sending an excitation signal and detecting capacitance data by the touch display screen.
Optionally, the first function may be an off-screen fingerprint recognition function; the second function may be a function (that is, the function of the black screen gesture) that the terminal starts the target application corresponding to the preset gesture when receiving a signal conforming to the preset gesture while the touch display screen is in an off state.
In a possible implementation manner, the terminal includes a first register, where the first register is a register that controls the fingerprint identification function to be turned on or off; the terminal can obtain a value in a control flag bit of the first register, wherein the control flag bit is used for indicating whether the terminal starts a first function or not; whether the terminal starts the first function is detected by detecting whether the value in the control flag bit of the first register is equal to a first confirmation value, wherein the first confirmation value is used for indicating the terminal to start the first function.
Optionally, in this step, detecting whether the terminal turns on the first function of the terminal may be performed by detecting a value of a control flag of the first register. That is, the terminal may obtain a value in the control flag bit of the first register, and detect whether the terminal turns on the first function by detecting whether the value in the control flag bit of the first register is equal to the first confirmation value. Optionally, if the terminal is marked with 1 to turn on the first function, 0 indicates that the terminal does not turn on the first function. Then, if the value in the control flag bit of the first register acquired by the terminal is 1, it may be detected that the first function is turned on, and if the value in the control flag bit of the first register acquired by the terminal is 0, it may be detected that the first function is not turned on.
In a possible implementation manner, if the terminal detects that the terminal does not turn on the first function, the terminal may also detect whether the terminal turns on the second function. Similarly, the terminal may also include a second register, where the second register is a register that controls the second function to be turned on or off; the terminal can obtain a value in a control flag bit of the second register, wherein the control flag bit is used for indicating whether the terminal starts a second function or not; and detecting whether the terminal starts the second function or not by detecting whether the value in the control flag bit of the second register is equal to a second confirmation value, wherein the second confirmation value is used for indicating the terminal to start the second function.
That is, the terminal may obtain a value in the control flag bit of the second register, and detect whether the terminal turns on the second function by detecting whether the value in the control flag bit of the second register is equal to the second confirmation value. Optionally, if the terminal is identified by 1 to turn on the second function, 0 indicates that the terminal does not turn on the second function. Then, if the value in the control flag bit of the second register acquired by the terminal is 1, it may be detected that the terminal itself has started the second function, and if the value in the control flag bit of the second register acquired by the terminal is 0, it may be detected that the terminal itself has not started the second function.
Optionally, the response speed of the touch display screen in the state that the terminal starts the third function is lower than the response speed of the touch display screen in the state that the terminal starts the second function, or the scanning time of the touch display screen in the state that the terminal starts the third function is shorter than the scanning time of the touch display screen in the state that the terminal starts the second function, or the scanning frequency of the touch display screen in the state that the terminal starts the third function is lower than the scanning frequency of the touch display screen in the state that the terminal starts the second function.
That is, if the terminal detects that itself turns on the second function in step 202, the terminal may turn on the third function with the touch display screen in an off state. Optionally, the second function is a black screen gesture function, and the third function may be a function that is started by the terminal to reduce a false touch of the black screen gesture function.
In a possible implementation manner, the process of the terminal turning on the third function may be as follows: the method comprises the steps that a terminal detects the contact duration of a touch display screen receiving a first object; and responding to the fact that the contact time length is larger than the preset time length, and starting a third function. For example, when the touch display screen is in an off state, the terminal does not start the first function, and the terminal starts the second function, when the touch display screen receives a contact operation of a finger of a user, the terminal can detect a contact duration of the finger of the user, and if the contact duration is greater than 5 seconds, the terminal starts the third function.
In one possible implementation, the terminal may further turn off the third function in response to the first object being separated from the touch display screen. That is, if the terminal detects that the first object contacted by the touch display screen is separated from itself, the terminal may turn off the third function. For example, when the touch display screen is in an off state, the terminal does not turn on the first function, and the terminal turns on the second function, if the terminal is placed in a pocket of a user, the touch display screen of the terminal may turn on the third function after detecting that the contact time of the pocket with the terminal is longer than the preset time, and if the terminal is taken out of the pocket by the user, the touch display screen is separated from the pocket, and the terminal may turn off the third function.
Optionally, in step 201, the terminal may further respond to the terminal to turn on the first function, and does not turn on the third function of the terminal. That is to say, if the terminal determines that the terminal itself is turned on with the first function, the terminal does not determine the contact duration of the touch display screen receiving the first object.
And 204, in response to that the second function is not started and the third function of the terminal is not started, the terminal starts a first working mode, wherein the power consumption of the first working mode is lower than that of the terminal when the third function is started.
In a possible implementation manner, the terminal may enter the first operating mode in a state where none of the first function, the second function, and the third function is activated in the terminal, and power consumption of the first power consumption mode is lower than power consumption of the terminal when the third function is activated, so that power consumption of the terminal may be saved.
In a possible implementation manner, a setting interface may be displayed in the terminal, and the setting interface includes a switch control for controlling the second function to be turned on or turned off; and responding to the on state of the switch control, starting the first function by the terminal, and displaying a first prompt interface, wherein the first prompt interface is used for prompting whether to close the first function when the touch display screen is turned off.
Referring to fig. 3, an interface diagram of a setting interface according to an exemplary embodiment of the present application is shown. As shown in fig. 3, a setting interface 300 includes a first control 301. The user can turn on or off the second function in the terminal by clicking the first control 301. When the first control 301 is in a state of opening the second function, a first prompt interface may be displayed in the terminal. Referring to fig. 4, an interface diagram of a first prompt interface related to fig. 3 according to an exemplary embodiment of the present application is shown. As shown in fig. 4, the first prompt interface 400 includes prompt information 401, a confirmation control 402, and a cancel control 403. The user may click the confirm control 402 to cause the terminal to close the first function, or the user may click the cancel control 403 to close the second function.
In a possible implementation manner, the terminal may further receive a turn-off instruction of the touch display screen in response to the second function being turned on and the terminal turning on the first function, and display a second prompt interface in the touch display screen. That is, under the condition that the terminal starts the second function and starts the first function, if an off instruction (for example, a screen locking instruction) of the touch display screen is received, the terminal may display the second prompt interface in the touch display screen. Referring to fig. 5, an interface diagram of a second prompt interface according to an exemplary embodiment of the present application is shown. As shown in fig. 5, the application interface 500 and the second prompt interface 501 are included, the application interface 500 is displayed when the terminal runs an application, and when the terminal receives a screen locking instruction and the first function and the second function of the terminal are both in an open state, the terminal may display the second prompt interface 501 on the application interface 500 in an overlapping manner. The second prompt interface 501 further includes prompt information 502, a first control 503, a second control 504, and a cancel control 505. The user may click on the first control 503 to cause the terminal to close the first function, or the user may click on the second control 504 to close the second function, or the user may click on the cancel control 505 to cause the terminal to close neither the first function nor the second function.
It should be noted that the sequence of detecting whether the first function is started and detecting whether the second function is started may be changed by the terminal, for example, the terminal first detects whether the second function is started, and then detects whether the first function is started in a state that the second function of the terminal is started.
To sum up, this application is through when touch display screen is in the off state, whether detection terminal opens first function, when not opening first function, whether second function is opened to the detection terminal again, when opening the second function, just can open the subfunction of second function, the third function promptly. The third function is started again under the condition that the first function of the terminal is not started, so that the problem of low efficiency of the terminal in responding to the first function when the terminal simultaneously starts the third function and the first function is solved, the coordination control of the terminal on each function with different requirements on the response speed of the touch display screen is realized, and the control flexibility is improved.
In practical applications, the touch display screen in the terminal may have a separate system (the touch display screen system has its own processor and memory), and interact with the terminal system through a fixed interface (e.g., a 2C serial peripheral interface), so as to complete the method embodiment shown in fig. 2. The embodiment shown in fig. 1 and 2 is described below by taking a touch display screen in a terminal as an execution subject, where the first function is an underscreen fingerprint recognition function, the second function is a black screen gesture function, and the third function is a Force Doze function as an example.
Referring to fig. 6, a flowchart of a method for controlling a terminal according to an exemplary embodiment of the present application is shown. The method can be used in a terminal having a touch display screen, which is executed by the touch display screen system, as shown in fig. 6, and the terminal control method can include the following steps.
If the function of fingerprint identification under the screen is already turned on, step 605 is executed, otherwise step 602 is executed.
If the black screen gesture function is already turned on, go to step 603, otherwise go to step 606.
If the time for pressing the touch screen surface by the object or the finger is longer than the preset time, step 604 is executed, otherwise step 605 is executed.
In step 604, the forced doze function is turned on.
In step 605, the forced dozing function is not turned on.
Alternatively, the low power consumption mode corresponds to the first operation mode in the embodiment of fig. 3 described above.
In summary, the method and the device for controlling the touch display screen avoid the problem that when the terminal simultaneously starts the forced dozing function and the underscreen fingerprint identification function, the efficiency of the terminal for responding to the underscreen fingerprint identification function is low, the coordinated control of the terminal on each function with different requirements on the response speed of the touch display screen is realized, and the flexibility of control is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 7, a block diagram of a terminal control device according to an exemplary embodiment of the present application is shown. The terminal control device can be used in a terminal with a touch display screen to execute all or part of the steps executed by the terminal or the touch display screen system in the method provided by the embodiment shown in fig. 1, fig. 2 or fig. 6. The terminal control device can comprise the following modules:
a first detecting module 701, configured to detect whether the terminal starts a first function of the terminal in response to that the touch display screen is in a turned-off state; the response speed of the touch display screen in the state that the terminal starts the first function is not less than the response speed in the state that the terminal starts the second function;
a second detecting module 702, configured to detect whether the terminal turns on the second function of the terminal in response to that the terminal does not turn on the first function;
the first starting module 703 is configured to start a third function of the terminal in response to the terminal starting the second function, where the third function is a sub-function of the second function, and a response speed of the touch display screen in a state where the third function is started by the terminal is smaller than a response speed in a state where the second function is started by the terminal.
To sum up, this application is through when touch display screen is in the off state, whether detection terminal opens first function, when not opening first function, whether second function is opened to the detection terminal again, when opening the second function, just can open the subfunction of second function, the third function promptly. The third function is started again under the condition that the first function of the terminal is not started, so that the problem of low efficiency of the terminal in responding to the first function when the terminal simultaneously starts the third function and the first function is solved, the coordination control of the terminal on each function with different requirements on the response speed of the touch display screen is realized, and the control flexibility is improved.
Optionally, the apparatus further comprises:
a second starting module, configured to, after the second detecting module 702 responds to that the terminal does not start the first function, and detects whether the terminal starts the second function of the terminal, respond to that the terminal does not start the second function and does not start the third function of the terminal, and start a first working mode by the terminal, where power consumption of the first working mode is lower than power consumption of the terminal when the terminal starts the third function.
Optionally, the apparatus further comprises:
and the third starting module is used for responding to the terminal to start the first function and not starting the third function of the terminal.
Optionally, the terminal includes a first register, where the first register is a register that controls the fingerprint identification function to be turned on or off;
the first detection module 701 includes: a first acquisition unit, a first detection unit;
the first obtaining unit is configured to obtain a value in a control flag of the first register, where the control flag is used to indicate whether the terminal turns on the first function;
the first detection unit is configured to detect whether the terminal turns on the first function by detecting whether a value in a control flag bit of the first register is equal to a first confirmation value, where the first confirmation value is used to instruct the terminal to turn on the first function.
Optionally, the terminal includes a second register, where the second register is a register for controlling the second function to be turned on or off;
the second detection module 702 includes: a second acquisition unit, a second detection unit;
the second obtaining unit is configured to obtain a value in a control flag of the second register, where the control flag is used to indicate whether the terminal turns on the second function;
the second detection unit is configured to detect whether the terminal turns on the second function by detecting whether a value in a control flag bit of the second register is equal to a second confirmation value, where the second confirmation value is used to instruct the terminal to turn on the second function.
Optionally, the first opening module includes: a third detection unit, a first opening unit;
the third detection unit is used for detecting the contact duration of the touch display screen receiving the first object;
the first starting unit is used for responding to the fact that the contact duration is larger than the preset duration and starting the third function.
Optionally, the apparatus further comprises:
and the closing module is used for responding to the separation of the first object and the touch display screen and closing the third function.
Optionally, the apparatus further comprises:
the first display module is used for displaying a setting interface, and the setting interface comprises a switch control for controlling the second function to be switched on or switched off;
and the second display module is used for responding to the on state of the switch control, starting the first function by the terminal and displaying a first prompt interface, wherein the first prompt interface is used for prompting whether to close the first function when the touch display screen is turned off.
Optionally, the apparatus further comprises:
the receiving module is used for responding to the terminal to start the second function, starting the first function and receiving a turn-off instruction of the touch display screen;
and the third display module is used for displaying a second prompt interface in the touch display screen, wherein the first prompt interface is used for prompting whether to close the first function or the second function when the touch display screen is turned off.
Optionally, the first function is an off-screen fingerprint identification function;
the second function is that the terminal starts the target application corresponding to the preset gesture when receiving a signal conforming to the preset gesture when the touch display screen is in a turning-off state.
Referring to fig. 8, which shows a schematic structural diagram of a terminal provided in an exemplary embodiment of the present application, as shown in fig. 8, the terminal includes a processor 810, a memory 820, a display component 830 and a sensor component 840, the display component 830 is used for displaying an interface of a program running in a foreground in the terminal, and the sensor component 840 is used for collecting data of each sensor. The memory 820 stores at least one instruction, and the instruction is loaded and executed by the processor 810 to implement some or all of the steps executed by the terminal in the terminal control method according to the above embodiments.
The present invention further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the terminal control method according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the terminal control method according to the above embodiments.
It should be noted that: in the terminal control method provided in the foregoing embodiment, the steps executed by the terminal are only illustrated in the foregoing embodiments, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (13)
1. A terminal control method, which is used in a terminal with a touch display screen, the method comprising:
responding to the fact that the touch display screen is in a turned-off state, and detecting whether the terminal starts a first function of the terminal or not; the response speed of the touch display screen in the state that the terminal starts the first function is not less than the response speed in the state that the terminal starts the second function;
responding to the terminal not starting the first function, and detecting whether the terminal starts the second function of the terminal or not;
and responding to the terminal to start the second function, starting a third function of the terminal, wherein the third function is a sub-function of the second function, and the response speed of the touch display screen in the state that the terminal starts the third function is lower than the response speed in the state that the terminal starts the second function.
2. The method according to claim 1, wherein after detecting whether the terminal turns on the second function of the terminal in response to the terminal not turning on the first function, further comprising:
and responding to the situation that the second function is not started and the third function of the terminal is not started, starting a first working mode by the terminal, wherein the power consumption of the first working mode is lower than that of the terminal when the third function is started.
3. The method of claim 1, further comprising:
and responding to the terminal to start the first function, and not starting the third function of the terminal.
4. The method according to claim 1, wherein the terminal comprises a first register, and the first register is a register for controlling the fingerprint identification function to be turned on or off;
the detecting whether the terminal starts a first function of the terminal includes:
acquiring a value in a control flag bit of the first register, wherein the control flag bit is used for indicating whether the terminal starts the first function or not;
and detecting whether the terminal starts the first function or not by detecting whether the value in the control flag bit of the first register is equal to a first confirmation value, wherein the first confirmation value is used for indicating the terminal to start the first function.
5. The method according to claim 4, wherein the terminal comprises a second register, wherein the second register is a register for controlling the second function to be turned on or off;
the detecting whether the terminal starts a second function of the terminal includes:
acquiring a value in a control flag bit of the second register, wherein the control flag bit is used for indicating whether the terminal starts the second function or not;
and detecting whether the terminal starts the second function or not by detecting whether the value in the control flag bit of the second register is equal to a second confirmation value, wherein the second confirmation value is used for indicating the terminal to start the second function.
6. The method according to any one of claims 1 to 5, wherein the starting of the third function of the terminal comprises:
detecting the contact duration of the touch display screen receiving a first object;
and responding to the fact that the contact duration is larger than a preset duration, and starting the third function.
7. The method of claim 6, further comprising:
turning off the third function in response to the first object being detached from the touch display screen.
8. The method of claim 6, further comprising:
displaying a setting interface, wherein the setting interface comprises a switch control for controlling the second function to be switched on or switched off;
responding to the on state of the switch control, starting the first function by the terminal, and displaying a first prompt interface, wherein the first prompt interface is used for prompting whether to close the first function when the touch display screen is turned off.
9. The method of claim 6, wherein in response to the terminal turning on the second function and the terminal turning on the first function, the method further comprises:
receiving a turning-off instruction of the touch display screen;
and displaying a second prompt interface in the touch display screen, wherein the first prompt interface is used for prompting whether to close the first function or the second function when the touch display screen is turned off.
10. The method of claim 6, wherein the first function is an off-screen fingerprint recognition function;
the second function is that the terminal starts the target application corresponding to the preset gesture when receiving a signal conforming to the preset gesture when the touch display screen is in a turning-off state.
11. A terminal control apparatus, for use in a terminal having a touch display screen, the apparatus comprising:
the first detection module is used for responding to the fact that the touch display screen is in a turned-off state and detecting whether the terminal starts a first function of the terminal or not; the response speed of the touch display screen in the state that the terminal starts the first function is not less than the response speed in the state that the terminal starts the second function;
the second detection module is used for responding to the situation that the first function is not started by the terminal and detecting whether the terminal starts the second function of the terminal or not;
the first starting module is used for responding to the terminal to start the second function and starting a third function of the terminal, the third function is a sub-function of the second function, and the response speed of the touch display screen in the state that the terminal starts the third function is smaller than the response speed in the state that the terminal starts the second function.
12. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, a set of codes or a set of instructions is stored, which is loaded and executed by the processor to implement the terminal control method according to any one of claims 1 to 10.
13. A computer readable storage medium, characterized in that at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, which is loaded and executed by a processor to implement the terminal control method according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010207745.0A CN111443823B (en) | 2020-03-23 | 2020-03-23 | Terminal control method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010207745.0A CN111443823B (en) | 2020-03-23 | 2020-03-23 | Terminal control method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111443823A true CN111443823A (en) | 2020-07-24 |
CN111443823B CN111443823B (en) | 2022-06-28 |
Family
ID=71629403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010207745.0A Active CN111443823B (en) | 2020-03-23 | 2020-03-23 | Terminal control method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111443823B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106302982A (en) * | 2015-06-26 | 2017-01-04 | Lg电子株式会社 | Mobile terminal and the method being used for controlling this mobile terminal |
CN107395889A (en) * | 2017-07-28 | 2017-11-24 | 广东欧珀移动通信有限公司 | Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption |
CN107422976A (en) * | 2017-07-28 | 2017-12-01 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and mobile terminal based on blank screen gesture |
CN107608561A (en) * | 2017-10-24 | 2018-01-19 | 北京小米移动软件有限公司 | Touch-screen control method and device |
US20180241855A1 (en) * | 2012-07-02 | 2018-08-23 | Lg Electronics Inc. | Mobile terminal |
CN108920080A (en) * | 2018-06-27 | 2018-11-30 | 努比亚技术有限公司 | Finger scan method, mobile terminal and storage medium |
CN108960118A (en) * | 2018-06-28 | 2018-12-07 | 厦门天马微电子有限公司 | A kind of capacitance type fingerprint recognition methods, display panel and display device |
CN110069208A (en) * | 2019-05-31 | 2019-07-30 | Oppo广东移动通信有限公司 | Touch operation method and relevant device |
CN110287842A (en) * | 2019-06-17 | 2019-09-27 | Oppo广东移动通信有限公司 | Finger scan method and Related product |
CN110889101A (en) * | 2019-11-25 | 2020-03-17 | 深圳传音控股股份有限公司 | Terminal function control method and device and readable storage medium |
EP3623916A1 (en) * | 2017-05-17 | 2020-03-18 | Samsung Electronics Co., Ltd. | Method for displaying content and electronic device therefor |
-
2020
- 2020-03-23 CN CN202010207745.0A patent/CN111443823B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180241855A1 (en) * | 2012-07-02 | 2018-08-23 | Lg Electronics Inc. | Mobile terminal |
CN106302982A (en) * | 2015-06-26 | 2017-01-04 | Lg电子株式会社 | Mobile terminal and the method being used for controlling this mobile terminal |
EP3623916A1 (en) * | 2017-05-17 | 2020-03-18 | Samsung Electronics Co., Ltd. | Method for displaying content and electronic device therefor |
CN107395889A (en) * | 2017-07-28 | 2017-11-24 | 广东欧珀移动通信有限公司 | Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption |
CN107422976A (en) * | 2017-07-28 | 2017-12-01 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and mobile terminal based on blank screen gesture |
CN107608561A (en) * | 2017-10-24 | 2018-01-19 | 北京小米移动软件有限公司 | Touch-screen control method and device |
CN108920080A (en) * | 2018-06-27 | 2018-11-30 | 努比亚技术有限公司 | Finger scan method, mobile terminal and storage medium |
CN108960118A (en) * | 2018-06-28 | 2018-12-07 | 厦门天马微电子有限公司 | A kind of capacitance type fingerprint recognition methods, display panel and display device |
CN110069208A (en) * | 2019-05-31 | 2019-07-30 | Oppo广东移动通信有限公司 | Touch operation method and relevant device |
CN110287842A (en) * | 2019-06-17 | 2019-09-27 | Oppo广东移动通信有限公司 | Finger scan method and Related product |
CN110889101A (en) * | 2019-11-25 | 2020-03-17 | 深圳传音控股股份有限公司 | Terminal function control method and device and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111443823B (en) | 2022-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3627809B1 (en) | Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal | |
US6771250B1 (en) | Portable computer system having application program launcher for low power consumption and method of operating the same | |
CN104899029A (en) | Screen control method and apparatus | |
WO2021109882A1 (en) | Application starting method and apparatus, and storage medium and electronic device | |
CN112671976B (en) | Control method and device of electronic equipment, electronic equipment and storage medium | |
CN112740152B (en) | Handwriting pen detection method, handwriting pen detection system and related device | |
WO2019218886A1 (en) | Application pre-loading management method, device, storage medium and smart terminal | |
CN109753947B (en) | Fingerprint unlocking method and related equipment | |
CN111108506A (en) | Prompt message display method and electronic equipment | |
CN113031742B (en) | Electronic equipment | |
CN104503321A (en) | Ultralow-power wireless intelligent control system for body sensing or voice control | |
WO2022048367A1 (en) | Method and apparatus for displaying multimedia content, and terminal and storage medium | |
WO2022022566A1 (en) | Graphic code identification method and apparatus and electronic device | |
CA2884202A1 (en) | Activation of an electronic device with a capacitive keyboard | |
WO2023035888A1 (en) | Display method, electronic device, and storage medium | |
CN109785801A (en) | A kind of method and apparatus of ink screen picture refreshing | |
CN204256444U (en) | A kind of ultra-low power consumption wireless intelligent control system being applicable to body sense or Sound control | |
WO2022213945A1 (en) | Application reminding method and apparatus, and electronic device | |
CN111443823B (en) | Terminal control method, device, terminal and storage medium | |
WO2018010438A1 (en) | Responding method and apparatus for terminal | |
CN115639905B (en) | Gesture control method and electronic equipment | |
CN112069843A (en) | Radio frequency signal processing method and device and electronic equipment | |
WO2020124389A1 (en) | Apparatus in mobile terminal for identifying application program, and terminal | |
EP4280032A1 (en) | Screen control method for electronic device, and readable medium and electronic device | |
CN115223561A (en) | Voice wake-up control method of handheld device and related device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |