CN113055524A - Terminal control method and device, terminal and storage medium - Google Patents

Terminal control method and device, terminal and storage medium Download PDF

Info

Publication number
CN113055524A
CN113055524A CN202110258397.4A CN202110258397A CN113055524A CN 113055524 A CN113055524 A CN 113055524A CN 202110258397 A CN202110258397 A CN 202110258397A CN 113055524 A CN113055524 A CN 113055524A
Authority
CN
China
Prior art keywords
terminal
unlocking
face recognition
state
preset
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
CN202110258397.4A
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 Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110258397.4A priority Critical patent/CN113055524A/en
Publication of CN113055524A publication Critical patent/CN113055524A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a control method and device of a terminal, the terminal and a storage medium. In some embodiments, the present disclosure provides a control method of a terminal, including: the unlocking mode of the terminal is determined to be face recognition unlocking, the data of the terminal motion sensor within a preset time range are acquired in response to the screen lightening of the terminal, the motion state of the terminal is determined according to the data of the motion sensor, and if the motion state is the preset state, the terminal is controlled not to execute face recognition unlocking operation. According to the control method of the terminal, the face recognition unlocking is adopted in the terminal, but the face recognition unlocking is not executed under the condition that the motion state is the preset state, so that the problem of low user experience caused by mistaken reminding due to the fact that the face cannot be recognized under the condition that the terminal is awakened by mistake can be solved.

Description

Terminal control method and device, terminal and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling a terminal, and a storage medium.
Background
Some intelligent terminals, such as mobile phones, have a face recognition function, and after detecting a pre-stored face image, the intelligent terminal with the face recognition function also executes unlocking to unlock the intelligent terminal.
Disclosure of Invention
The disclosure provides a control method and device of a terminal, the terminal and a storage medium.
The present disclosure adopts the following technical solutions.
In some embodiments, the present disclosure provides a control method of a terminal, including:
determining that the unlocking mode of the terminal is face recognition unlocking;
responding to the bright screen of the terminal, and acquiring data of the terminal motion sensor within a preset time range;
determining the motion state of the terminal according to the data of the motion sensor;
and if the motion state is a preset state, controlling the terminal not to execute the face recognition unlocking operation.
In some embodiments, the present disclosure provides a control apparatus of a terminal, including:
the first determining unit is used for determining that the unlocking mode of the terminal is face identification unlocking;
the acquisition unit is used for responding to the screen lightening of the terminal and acquiring the data of the terminal motion sensor within a preset time range;
a second determination unit for determining a motion state of the terminal according to data of the motion sensor;
and the control unit is used for controlling the terminal not to execute the face recognition unlocking operation if the motion state is a preset state.
In some embodiments, the present disclosure provides a terminal comprising: at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
In some embodiments, the present disclosure provides a storage medium for storing program code for performing the above-described method.
According to the control method of the terminal, the face recognition unlocking is performed in the unlocking mode of the terminal, but the face recognition unlocking is not performed under the condition that the motion state of the terminal is the preset state, so that the problems of low user experience and energy consumption increase caused by mistaken reminding due to the fact that the face cannot be recognized under the condition that the terminal is awakened by mistake can be solved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a flowchart of a control method of a terminal according to an embodiment of the present disclosure.
Fig. 2 is a block diagram of a control device of a terminal according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that various steps recited in method embodiments of the present disclosure may be performed in parallel and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the related art, terminals such as mobile phones have a face unlocking function, after the terminal is lightened, face recognition is performed, unlocking is performed under the condition that the detected face is a preset face, in some situations, for example, in the running process, a user holds the terminal and may mistakenly touch the terminal to enable the terminal to be lightened, the terminal starts face recognition at the moment, but the terminal cannot detect the face and can possibly vibrate to remind the user to be interfered, power consumption is increased by repeatedly performing face recognition, and the user experience is low.
As shown in fig. 1, fig. 1 is a flowchart of a control method of a terminal according to an embodiment of the present disclosure, including the following steps.
S11: and determining that the unlocking mode of the terminal is face recognition unlocking.
The method provided in some embodiments of the present disclosure is used in a scenario where the current unlocking mode of the terminal is face recognition unlocking, and can determine whether the unlocking mode of the terminal is face recognition unlocking or not from setting options of the terminal.
S12: and responding to the screen lightening of the terminal, and acquiring the data of the terminal motion sensor within a preset time range.
In some embodiments, the terminal may be, for example, a mobile phone or a tablet, and the terminal is turned on by clicking a switch button or double-clicking a screen, when the terminal needs to execute an unlocking function in a using process of the terminal, a user may wake up the terminal to turn on the screen of the terminal to prepare for unlocking, and when the terminal is turned on, the user usually indicates that the user needs to unlock, and data of the motion sensor is obtained at this time.
S13: and determining the motion state of the terminal according to the data of the motion sensor.
In some embodiments, the data of the motion sensor reflects a motion state of the terminal within a preset time range, and the motion state may include a static state and a non-static state.
S13: and if the motion state is a preset state, the control terminal does not execute face recognition unlocking operation.
In some embodiments, the terminal has a face recognition unlocking function, and before face recognition, it is determined whether a motion state of the terminal is a preset state, where the preset state is, for example, a non-static state, or the preset state is the non-static state and the motion speed is greater than a preset speed, and if the motion state of the terminal is the preset state, the face recognition unlocking operation is not performed, for example, face recognition unlocking may be suspended. The duration of the pause use can be the duration of the screen lightening, namely, the face recognition unlocking function is recovered after the screen lightening is finished. According to the method provided by some embodiments of the disclosure, the face recognition unlocking operation is not executed under the condition that the motion state of the terminal is the preset state, so that the problem of low user experience caused by false reminding due to the fact that the face cannot be recognized under the condition that the terminal is awakened by mistake can be avoided.
For example, in some cases, a user holds the terminal to run, the terminal is unlocked by face recognition, and at this time, the user may mistakenly touch the terminal to wake up the bright screen of the terminal, but the terminal cannot detect the face to cause repeated vibration reminding of the terminal, so that the user experience is low, in some embodiments of the disclosure, when the terminal is unlocked by face recognition, the terminal first acquires data of the motion sensor for a period of time before when the terminal is bright screen, and then determines the motion state of the terminal, and controls the terminal not to perform face recognition unlocking operation when the motion state of the terminal is a preset state, such as a non-static state, and the motion speed is greater than a preset speed or the motion acceleration is greater than a preset acceleration, so as to prevent the terminal from repeatedly reminding due to false detection of the face by the terminal in the preset state, thereby improving the user experience.
In some embodiments of the present disclosure, if the motion state of the terminal is not a preset state, the terminal is controlled to execute a face recognition unlocking operation. In some embodiments, when the motion state of the terminal is not the preset state, it indicates that the user normally uses the terminal, so as to perform a face recognition unlocking operation, and in the process of face recognition unlocking, a face image may be acquired through a camera, and the acquired face image is compared with a pre-stored face image, so that the terminal is unlocked in the case that the comparison result is consistent.
In some embodiments of the disclosure, if the motion state is a preset state, after the controlling terminal does not execute the face recognition unlocking operation, the method further includes: and sending prompt information, wherein the prompt information is used for prompting that the face recognition unlocking is not executed. In some embodiments, the user may use the terminal in the motion state, but the user may be prompted as required because the face recognition unlocking is suspended in the motion state, for example, the user is prompted to input fingerprint information and password information, so that the problem that the user cannot respond to the face unlocking is avoided.
In some embodiments of the disclosure, if the motion state is a preset state, after the controlling terminal does not execute the face recognition unlocking operation, the method further includes: the control terminal displays the selectable unlocking modes. In some embodiments, the user can select the unlocking mode by displaying the selectable unlocking mode, so that other unlocking modes are provided for the user under the condition that the face unlocking is suspended, and the problem that the user cannot unlock or mistakenly thinks that the terminal fails is avoided.
In some embodiments of the present disclosure, determining the motion state of the terminal comprises: acquiring acceleration data of the terminal, and determining the motion state of the terminal according to the acceleration data. In some embodiments, the acceleration data of the terminal may be detected by an acceleration sensor, a gyroscope, or the like of the terminal, and in the case where the user holds the terminal, if the user uses indoors, the terminal is usually in a stationary state, and no significant acceleration data may be detected.
In some embodiments of the present disclosure, the sensor data includes at least one of linear acceleration data and angular acceleration data; and if the linear acceleration data is greater than a first preset value and/or the angular acceleration data is greater than a second preset value, the terminal is in a preset state. In some embodiments, the linear acceleration can be detected by an acceleration sensor, the angular acceleration can be detected by a gyroscope of the terminal, and when a user uses the terminal normally, a certain linear acceleration and angular acceleration are generated due to slight vibration, so that a first preset value and a second preset value need to be set, and the unlocking by stopping the human face in the normal use process is avoided.
In some embodiments of the present disclosure, the control method of the terminal further includes: and if the motion state of the terminal is a preset state, reducing the automatic screen-off duration of the screen-lighting. In some embodiments, in a moving scene, the terminal may be touched by the user by mistake, and the user does not actually want to unlock the terminal, but the power consumption of the terminal is accelerated when the terminal is in the screen-on state, so that the automatic screen-off duration of the screen-on of this time is reduced, for example, if the terminal is not operated for 1 minute in a normal situation, the screen-on of this time is not operated for half a minute, namely, the screen is automatically turned off, in some embodiments, if the moving state of the terminal between the screen-on of this time and the next screen-on of this time is continuously the preset state, and the terminal is not unlocked during the screen-on of this time, the automatic screen-off duration of the next screen-on can be set to be shorter than the automatic screen-off duration of this time, because the terminal is not unlocked and is always in the preset state, it is very likely that the next screen-on is falsely triggered, and similarly, if the terminal is not unlocked after the next screen-on, the automatic screen-off duration of next screen-on can be further shorter than the automatic screen-off duration of next screen-on, and so on, but the automatic screen-off duration of each time can be not shorter than the preset value.
In some embodiments of the present disclosure, the control method of the terminal further includes: and if the motion state of the terminal is a preset state, not sending out reminding information under the condition that the terminal is failed to unlock. In some embodiments, in a motion state, the terminal suspends unlocking by using a human face, but a user may still touch the screen by mistake, so that the terminal may mistakenly input a gesture or a password for the user, and therefore in this scenario, if the terminal is not unlocked, a prompt such as a vibration or a sound is not given, so that the user is prevented from being troubled by the mistaken prompt.
In some embodiments of the present disclosure, determining that the unlocking manner of the terminal is face recognition unlocking includes: acquiring current time, and judging whether the current time is within a target time period; and if the current time is within the target time period, determining that the unlocking mode of the terminal is the face recognition unlocking, wherein the terminal is set to adopt different unlocking modes in different time periods, and the target time period is set as the time period for executing the face recognition unlocking. In some embodiments, the terminal is set to adopt different unlocking modes in different time periods, for example, the terminal adopts face recognition for unlocking in the morning and afternoon when light is not good, and the time period corresponding to the face recognition for unlocking is a target time period in the evening because light is not good for unlocking by fingerprints, so that whether the current time is in the target time period or not is judged according to the current time, and if so, the currently adopted unlocking mode is the face recognition for unlocking.
In some embodiments of the present disclosure, the method further includes, when the motion state of the terminal is a preset state, resuming unlocking using the human face in response to the target instruction. In some cases, the user may indeed need to perform face unlocking when the motion state is the preset state, and at this time, the user may receive a preset target instruction to input, and resume using face recognition for unlocking, so that normal unlocking of the user can be ensured.
A specific embodiment is provided as an illustration, a terminal currently adopts face recognition unlocking, the terminal brightens a screen in response to a screen brightening operation, for example, clicking a switch or double-clicking a screen, a motion state of the terminal is determined through an acceleration sensor and a gyroscope, if the motion state of the terminal is a preset state, for example, a non-static state, the use of face unlocking is suspended, a user is prompted to adopt other unlocking modes, for example, a password, a fingerprint, a gesture and the like, the automatic screen-rest duration of the current screen brightening is reduced, if the motion state of the terminal is not the preset state, face unlocking is performed, a face image is obtained, the face image is compared with a prestored face image, and unlocking is performed under the condition that the comparison result is consistent.
As shown in fig. 2, the present disclosure also provides a control apparatus of a terminal, including:
a first determining unit 10, configured to determine that an unlocking manner of the terminal is face recognition unlocking;
the acquiring unit 20 is used for responding to the terminal bright screen and acquiring the data of the terminal motion sensor within a preset time range;
a second determination unit 30 for determining a motion state of the terminal according to the data of the motion sensor;
and the control unit 40 is configured to control the terminal not to execute the face recognition unlocking operation if the motion state is a preset state.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The method and apparatus of the present disclosure have been described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 3, a schematic diagram of an electronic device (e.g., a terminal device or server) 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in the drawings is only an example and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device 800 may include a processing means (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While the figure illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure as described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, including:
determining that the unlocking mode of the terminal is face recognition unlocking;
responding to the bright screen of the terminal, and acquiring data of the terminal motion sensor within a preset time range;
determining the motion state of the terminal according to the data of the motion sensor;
and if the motion state is a preset state, controlling the terminal not to execute the face recognition unlocking operation.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, including:
and if the motion state is not the preset state, controlling the terminal to execute the face recognition unlocking operation.
According to one or more embodiments of the present disclosure, there is provided a method for controlling a terminal, where if the motion state is the preset state, after controlling the terminal not to execute the face recognition unlocking operation, the method further includes: sending prompt information, wherein the prompt information is used for prompting that the face recognition unlocking is not executed; or controlling the terminal to display a selectable unlocking mode.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, the data of the motion sensor including at least one of linear acceleration data and angular acceleration data;
and if the linear acceleration data is greater than a first preset value and/or the angular acceleration data is greater than a second preset value, the terminal is in a preset state.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, further including: and if the motion state is the preset state, reducing the automatic screen-off duration of the screen-lighting.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, further including: and if the motion state is the preset state, not sending out reminding information under the condition that the terminal is failed to unlock.
According to one or more embodiments of the present disclosure, a method for controlling a terminal is provided, where determining that an unlocking manner of the terminal is a face recognition unlocking includes:
acquiring current time, and judging whether the current time is within a target time period;
and if the current time is within the target time period, determining that the unlocking mode of the terminal is the face recognition unlocking, wherein the terminal is set to adopt different unlocking modes in different time periods, and the target time period is set as the time period for executing the face recognition unlocking.
According to one or more embodiments of the present disclosure, there is provided a control apparatus of a terminal, including:
the first determining unit is used for determining that the unlocking mode of the terminal is face identification unlocking;
the acquisition unit is used for responding to the screen lightening of the terminal and acquiring the data of the terminal motion sensor within a preset time range;
a second determination unit for determining a motion state of the terminal according to data of the motion sensor;
and the control unit is used for controlling the terminal not to execute the face recognition unlocking operation if the motion state is a preset state.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the method of any one of the above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A control method of a terminal, comprising:
determining that the unlocking mode of the terminal is face recognition unlocking;
responding to the bright screen of the terminal, and acquiring data of the terminal motion sensor within a preset time range;
determining the motion state of the terminal according to the data of the motion sensor;
and if the motion state is a preset state, controlling the terminal not to execute the face recognition unlocking operation.
2. The method of claim 1, comprising:
and if the motion state is not the preset state, controlling the terminal to execute the face recognition unlocking operation.
3. The method according to claim 1, wherein if the motion state is the preset state, after controlling the terminal not to execute the face recognition unlocking operation, the method further comprises:
sending prompt information, wherein the prompt information is used for prompting that the face recognition unlocking is not executed;
or controlling the terminal to display a selectable unlocking mode.
4. The method of claim 1,
the data of the motion sensor comprises at least one of linear acceleration data and angular acceleration data;
and if the linear acceleration data is greater than a first preset value and/or the angular acceleration data is greater than a second preset value, the terminal is in the preset state.
5. The method of claim 1, further comprising:
and if the motion state is the preset state, reducing the automatic screen-off duration of the screen-lighting.
6. The method of claim 1, further comprising:
and if the motion state is the preset state, not sending out reminding information under the condition that the terminal is failed to unlock.
7. The method according to claim 1, wherein determining that the unlocking manner of the terminal is unlocking for face recognition comprises:
acquiring current time, and judging whether the current time is within a target time period;
and if the current time is within the target time period, determining that the unlocking mode of the terminal is the face recognition unlocking, wherein the terminal is set to adopt different unlocking modes in different time periods, and the target time period is set as the time period for executing the face recognition unlocking.
8. A control apparatus of a terminal, comprising:
the first determining unit is used for determining that the unlocking mode of the terminal is face identification unlocking;
the acquisition unit is used for responding to the screen lightening of the terminal and acquiring the data of the terminal motion sensor within a preset time range;
a second determination unit for determining a motion state of the terminal according to data of the motion sensor;
and the control unit is used for controlling the terminal not to execute the face recognition unlocking operation if the motion state is a preset state.
9. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the method of any of claims 1 to 7.
10. A storage medium for storing program code for performing the method of any one of claims 1 to 7.
CN202110258397.4A 2021-03-09 2021-03-09 Terminal control method and device, terminal and storage medium Pending CN113055524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110258397.4A CN113055524A (en) 2021-03-09 2021-03-09 Terminal control method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110258397.4A CN113055524A (en) 2021-03-09 2021-03-09 Terminal control method and device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113055524A true CN113055524A (en) 2021-06-29

Family

ID=76511101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110258397.4A Pending CN113055524A (en) 2021-03-09 2021-03-09 Terminal control method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113055524A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113808584A (en) * 2021-07-29 2021-12-17 杭州逗酷软件科技有限公司 Voice wake-up method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145212A (en) * 2017-04-12 2017-09-08 广东欧珀移动通信有限公司 Terminal unlock method, device and terminal
CN108699340A (en) * 2016-03-02 2018-10-23 捷恩智株式会社 The manufacturing method of heat release component composition, heat release component, e-machine and heat release component
CN108810276A (en) * 2018-06-08 2018-11-13 维沃移动通信(深圳)有限公司 A kind of method and mobile terminal of face recognition
WO2019154190A1 (en) * 2018-02-08 2019-08-15 维沃移动通信有限公司 Face recognition-based unlocking control method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108699340A (en) * 2016-03-02 2018-10-23 捷恩智株式会社 The manufacturing method of heat release component composition, heat release component, e-machine and heat release component
CN107145212A (en) * 2017-04-12 2017-09-08 广东欧珀移动通信有限公司 Terminal unlock method, device and terminal
WO2019154190A1 (en) * 2018-02-08 2019-08-15 维沃移动通信有限公司 Face recognition-based unlocking control method and mobile terminal
CN108810276A (en) * 2018-06-08 2018-11-13 维沃移动通信(深圳)有限公司 A kind of method and mobile terminal of face recognition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113808584A (en) * 2021-07-29 2021-12-17 杭州逗酷软件科技有限公司 Voice wake-up method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8532707B2 (en) Mobile terminal having multiple subscriber identity modules (SIMs) with different phone numbers
CN110471738B (en) Theme switching method and device of application program, electronic equipment and storage medium
CN113741755A (en) Information processing method and device, terminal and storage medium
CN112860169B (en) Interaction method and device, computer readable medium and electronic equipment
EP4280058A1 (en) Information display method and electronic device
CN113741756A (en) Information processing method, device, terminal and storage medium
CN113220176A (en) Display method and device based on widget, electronic equipment and readable storage medium
CN113093980B (en) Terminal control method and device, terminal and storage medium
CN112256371A (en) Method and device for displaying information and electronic equipment
CN113055524A (en) Terminal control method and device, terminal and storage medium
CN111176744A (en) Electronic equipment control method, device, terminal and storage medium
CN113253847B (en) Terminal control method, device, terminal and storage medium
CN112256171A (en) Method, device, terminal and storage medium for presenting information in screen locking interface
CN113564865A (en) Remote control method and device for washing machine, electronic equipment and storage medium
CN114339419B (en) Video stream pulling processing method, device and storage medium
CN110618747B (en) Method and device for low-power operation of terminal, terminal and storage medium
CN113055534A (en) Terminal control method and device, terminal and non-transitory storage medium
CN112019685A (en) Terminal control method and device, terminal and storage medium
CN112867119A (en) Terminal control method and device, terminal and storage medium
CN111698368A (en) Terminal control method and device, terminal and storage medium
CN112822328A (en) Data display method and device and electronic equipment
CN110471714B (en) Method, device, terminal and storage medium for controlling application starting
CN111935640A (en) Terminal control method and device, terminal and storage medium
CN111225113A (en) Communication terminal and starting method thereof
CN113542834B (en) Control method and device for remote control device, electronic equipment 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