CN108985033B - Terminal device control method and device and terminal device - Google Patents

Terminal device control method and device and terminal device Download PDF

Info

Publication number
CN108985033B
CN108985033B CN201810621807.5A CN201810621807A CN108985033B CN 108985033 B CN108985033 B CN 108985033B CN 201810621807 A CN201810621807 A CN 201810621807A CN 108985033 B CN108985033 B CN 108985033B
Authority
CN
China
Prior art keywords
terminal equipment
state
terminal
terminal device
unlocking
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.)
Expired - Fee Related
Application number
CN201810621807.5A
Other languages
Chinese (zh)
Other versions
CN108985033A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810621807.5A priority Critical patent/CN108985033B/en
Publication of CN108985033A publication Critical patent/CN108985033A/en
Application granted granted Critical
Publication of CN108985033B publication Critical patent/CN108985033B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a terminal device control method and device, a terminal device and a computer readable storage medium. The method comprises the following steps: responding to an unlocking request in a screen locking state, and unlocking the terminal equipment; after the terminal equipment is unlocked, detecting whether the terminal equipment is in a held state; controlling the terminal device to keep an unlocked state during the terminal device is in the held state. According to the method, the terminal equipment does not need to be unlocked again under the condition that the user keeps holding after successful unlocking, so that the use flow is saved, and the user experience is improved.

Description

Terminal device control method and device and terminal device
Technical Field
The present application relates to the technical field of terminal devices, and in particular, to a terminal device control method and apparatus, and a terminal device.
Background
With the development of science and technology, the use of terminal equipment is more and more extensive, and the function is more and more, has become one of the indispensable electronic product in people's daily life. However, at present, in the process of opening and closing the terminal device, the terminal device needs to be frequently authenticated, the loss of the functional device of the terminal device is serious, the operation is complicated, and the user experience is poor.
Disclosure of Invention
In view of the above problems, the present application provides a terminal device control method, an apparatus and a terminal device to achieve improvement of the above problems.
In a first aspect, the present application provides a terminal device control method, where the method includes: responding to an unlocking request in a screen locking state, and unlocking the terminal equipment; after the terminal equipment is unlocked, detecting whether the terminal equipment is in a held state; controlling the terminal device to keep an unlocked state during the terminal device is in the held state.
In a second aspect, the present application provides a terminal device control apparatus, operating on a terminal device, the apparatus including: the unlocking unit is used for responding to an unlocking request in a screen locking state and unlocking the terminal equipment; the detection unit is used for detecting whether the terminal equipment is in a held state or not after the terminal equipment is unlocked; and the control unit is used for controlling the terminal equipment to keep an unlocked state when the terminal equipment is in a held state.
In a third aspect, the present application provides a terminal device, comprising a camera and a terminal body, the terminal body comprising one or more processors and a memory, the memory storing one or more programs, wherein the one or more programs are configured to be executed by the one or more processors, and the one or more programs are configured to perform the above method.
In a fourth aspect, the present application provides a computer-readable storage medium having program code executable by a processor, wherein the computer-readable storage medium includes a stored program, and wherein the method is performed when the program runs.
According to the terminal device control method and device, the terminal device and the storage medium, after the terminal device is successfully unlocked, whether the terminal device is in the held state or not is detected, and if the terminal device is always in the held state, the terminal device is controlled to be in the unlocked state, so that a user does not need to frequently unlock the terminal device, the use flow is saved, and the user experience is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating a functional device of a terminal device hidden in a terminal body according to the present application;
FIG. 2 shows a schematic view of the functional device of FIG. 1 removed from the terminal body;
fig. 3 is a schematic diagram illustrating a first view of the functional device of another terminal device proposed in the present application being moved out relative to the terminal body;
FIG. 4 is a schematic diagram illustrating a second perspective view of the functional device of FIG. 3 removed from the terminal body;
fig. 5 shows a schematic view of the removal of a slider of another terminal device proposed by the present application with respect to a terminal body;
fig. 6 shows a schematic view of the functional device of fig. 3 from a first perspective hidden within the terminal body relative to the terminal body;
FIG. 7 is a schematic diagram of a second perspective of the functional device of FIG. 3 hidden within the terminal body relative to the terminal body;
fig. 8 is a flowchart illustrating a terminal device control method according to an embodiment of the present application;
fig. 9 is a flowchart illustrating a terminal device control method according to another embodiment of the present application;
fig. 10 is a block diagram illustrating a structure of a terminal device control apparatus according to an embodiment of the present application;
fig. 11 is a block diagram illustrating a structure of a terminal device control apparatus according to another embodiment of the present application;
fig. 12 is a block diagram showing a configuration of a terminal device of the present application for executing a terminal device control method according to an embodiment of the present application;
fig. 13 is a block diagram showing another terminal device of the present application for executing a terminal device control method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the increasing requirements of users on the definition and the fineness of displayed contents, more terminal devices adopt touch display screens with larger sizes to achieve the display effect of a full screen. However, in the process of setting a touch display screen with a large size, it is found that functional devices such as a front camera, a proximity optical sensor, and a receiver, which are arranged at the front end of the terminal device, affect an area that the touch display screen can extend to.
Typically, a terminal device includes a front panel, a rear cover, and a bezel. The front panel includes a forehead area, a middle screen area and a lower key area. The forehead area can be provided with functional devices such as a receiver sound outlet and a front camera, the middle screen area can be provided with a touch display screen, and the lower key area can be provided with one to three physical keys. With the development of the technology, the lower key area is gradually cancelled, and the physical keys originally arranged in the lower key area are replaced by the virtual keys in the touch display screen.
And functional devices such as a receiver sound outlet hole and a front camera arranged in the forehead area are important for the functional support of the mobile phone and are not easy to cancel, so that the display area of the touch display screen is expanded to cover the forehead area with great difficulty. After some series of studies, the inventors found that it is possible to dispose a front camera, a proximity optical sensor, an earpiece, and the like as functional devices inside a terminal body of a terminal device, and then configure the functional devices to be exposed from the inside of the terminal body in a rotating or sliding manner.
As shown in fig. 1, as one mode, the terminal device 100 shown in fig. 1 includes a terminal body 110 and a functional device 120, where the functional device is hidden in the terminal body 110 and slidably exposed from a top of the terminal body 110, and the functional device 120 includes, but is not limited to, a camera, and the number of the cameras may be one, or two or more. Each camera may face the front side of the terminal device, or may face the back side of the terminal device or other directions. The functional device 120 may further include a light supplement device. As an example, as shown in fig. 2, the camera includes a camera 121 facing the front of the terminal device and a camera 121 facing the back of the terminal device, and a light supplement device 122 is further disposed facing the back of the terminal device, where the camera 121 and the light supplement device 122 are sequentially arranged along the sliding-out direction of the functional device. Here, the camera 121 facing the front of the terminal device may be understood as a portion of the camera that captures an image facing the front of the terminal device. The light supplement device facing the front side of the terminal device may be understood as that the light emitting part of the light supplement device is facing the front side of the terminal device. The same is true for the understanding that the device is arranged towards the back of the terminal equipment. It is understood that in the mode shown in fig. 1, as one mode, the image acquired for face recognition is the image acquired by the camera 121 facing the front of the terminal device.
Alternatively, as shown in fig. 3, the terminal device 100 includes a terminal body 110 and a slider 130, and the functional device 120 is provided on the slider 130. In which the sliding member 130 can slide relative to the terminal body 110, so that the functional device 120 is exposed (shown in fig. 3 and 4) by protruding (moving out) the terminal body 110 or hidden (retracted) inside the terminal body (shown in fig. 6 and 7).
In the manner shown in fig. 3, the width of the slider 130 coincides with the width of the terminal body 110. It is understood that the width of the slider 130 may be smaller than the width of the terminal body 110 as shown in fig. 5. The slider 130 may be disposed at the center of the top of the terminal body 110, and may be disposed at the left or right side of the top of the terminal body 110.
It should be noted that, when the functional device mentioned in the following description is exposed or appears, reference may be made to the functional device in the state shown in fig. 2, fig. 3 or fig. 4. And the functional device is retracted or hidden in the terminal body, as can be seen in fig. 1, 6 or 7. It is to be understood that the terminal device in the embodiment of the present invention is not limited to the above-described forms.
The inventor finds that under the condition that face recognition is configured for unlocking, the camera needs to be started for image acquisition during unlocking every time, the loss of the camera is increased, face recognition is needed when the terminal is used every time, and user experience is reduced. For example, when the terminal device is configured with a face unlock function, when the camera of the terminal device is in the mode shown in fig. 1, 6, and 7, the camera needs to be extended to be in a state similar to that shown in fig. 2, 3, 4, and 5, and then the image acquisition is started to perform face recognition.
Therefore, the inventor provides a terminal device control method, a device and a terminal device which can reduce the starting frequency of the camera and the moving-out and withdrawing frequency of the camera in the application.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 8, the present application provides a terminal device control method, which is applicable to a terminal device, and the method includes:
step S110: and responding to the unlocking request in the screen locking state to unlock the terminal equipment.
And after the terminal equipment enters a screen locking state, unlocking the terminal equipment when an unlocking request is received. The unlock request may be a user-triggered unlock request or a system-triggered unlock request. For example, the user may trigger the unlocking request through a signal such as touch control or voice, or the system may trigger the unlocking request when detecting that a parameter such as an operating state, a posture or a surrounding environment of the terminal device satisfies a certain condition. And unlocking the terminal equipment when receiving the unlocking request. The specific unlocking mode may be, but is not limited to, password unlocking, fingerprint unlocking, voiceprint unlocking, face unlocking, and the like.
Step S120: and after the terminal equipment is unlocked, detecting whether the terminal equipment is in a held state.
After the device terminal is successfully unlocked, a user generally holds the terminal device for use, so that the terminal device is located in a touch range or the screen viewing angle is conveniently adjusted to perform various use operations. Therefore, whether the terminal is still used by the user who performs the unlocking operation can be judged by detecting whether the terminal device is in the held state.
In some embodiments, after the unlocking is successful, the detection of whether the terminal device is in the held state may be started immediately to determine that the terminal device is always used by the user who successfully performs the unlocking operation.
In other embodiments, after the unlocking is successful, it may also be started to detect whether the terminal device is in a held state after the foreground running program is closed or the foreground running program is switched to the background running. In general, if a foreground program is running, the foreground program represents that a user is using a mobile phone, so that the resource can be further saved and the loss of the terminal can be reduced by starting detection after the application program is closed or switched to the background.
In other embodiments, whether the holding state is detected or not may also refer to some parameters before or during unlocking, such as user habits, to make a more accurate determination.
The detection of whether or not the terminal is in the held state may be understood as whether or not the terminal is always in the held state from the start of the detection, or whether or not the held state is a continuous state.
The user can contact the equipment when holding the terminal equipment, and the equipment can change the posture along with the movement of the user, so that whether the terminal equipment is in a held state or not can be detected according to the contact or not, or whether the posture meets the holding posture or other factors, and the factors can also be comprehensively detected.
Step S130: controlling the terminal device to keep an unlocked state during the terminal device is in the held state.
If the terminal equipment is always held within the detection time, the terminal equipment is controlled to be kept in an unlocking state, namely, the user does not need to unlock the terminal equipment when using the terminal equipment in the holding state, so that the unlocking program is prevented from frequently calling the unlocking equipment, such as a camera, a fingerprint identifier and the like.
It should be noted that, when the terminal device sets the automatic screen locking time, the priority of the terminal device may be set to be lower than the priority of the holding state judgment, that is, the terminal device may always maintain the unlocked state as long as the terminal device is held all the time regardless of whether the automatic screen locking time is set.
Further, a preset time length can be set, the terminal device is held within the preset time length, the terminal device is controlled to be kept in an unlocking state, and if the preset time length is exceeded, the screen is locked according to the operation state of the terminal device.
The embodiment provides a terminal device control method, which detects whether a terminal device is in a held state after the terminal device is successfully unlocked, and controls the terminal device to keep an unlocked state if the terminal device is always in the held state.
Referring to fig. 9, the present application provides a terminal device control method, which is applicable to a terminal device, and the method includes:
step S210: and responding to the unlocking request in the screen locking state to unlock the terminal equipment.
As described in the foregoing embodiments, there may be many ways to trigger an unlocking request and unlock, and in this embodiment, an example of any terminal device and a face unlocking manner shown in fig. 1 to 7 is described. Taking the terminal device as an example, when the terminal device responds to an unlocking request, the camera is controlled to move out of the terminal body, the front camera is started to collect a face image, the face is identified, if the identification is successful, the terminal device is unlocked, if the identification is unsuccessful, the user can be prompted to collect the face again or a password unlocking interface is displayed, and the user unlocks by inputting a password. After the identification is successful, the camera can be controlled to be retracted into the terminal body.
Step S220: and after the terminal equipment is unlocked, detecting whether the terminal equipment is in a held state.
Whether the terminal device is held or not can be detected by one or a combination of several of the following modes: detecting whether the terminal equipment is in a held state or not through a pressure sensor; detecting whether the terminal equipment is in a held state or not through a temperature sensor; detecting whether the terminal equipment is in a held state or not through a touch sensor; and detecting whether the terminal equipment is in a held state or not through an attitude sensor.
Whether the terminal equipment is held or not is detected through the pressure sensor, and judgment can be carried out through detecting whether the outer surface of the main body of the terminal equipment or the surface of the screen receives pressure or not in real time and whether the pressure is continuous or not. For example, the pressure sensor disposed on the rear cover, the edge of the sidewall, or the screen detects the pressure to determine whether the terminal device is in the held state, and if the pressure sensor acquires a continuous pressure value, the terminal device is in the held state, otherwise, the terminal device is not in the held state.
Whether the terminal equipment is held or not is detected through the temperature sensor, and parameters such as a temperature value, a temperature change area and the like of the terminal equipment can be detected in real time through the temperature sensor arranged on the terminal main body or the screen. When a user holds the terminal device, the temperature of the held part of the terminal device is different from the temperature of other parts, so that whether the terminal device is continuously held can be judged by detecting the temperature value and the change of the temperature.
Whether the terminal equipment is held or not is detected through the touch sensor, and judgment can be carried out through detecting whether the outer surface of the main body of the terminal equipment or the surface of the screen receives a touch signal or a touch area or not in real time. For example, whether or not the touch panel is held may be detected by a touch screen or a touch panel provided on the back, side, or front surface. In some embodiments, the terminal device may be detected to be held by detecting whether the back surface or the side surface detects a touch signal, and if the side surface and the back surface both detect the touch signal, it indicates that the terminal device is in a held state. In other embodiments, the touch area may be detected to be matched with a preset holding area.
Whether the terminal equipment is held or not is detected through the attitude sensor, and attitude data can be acquired through the attitude sensors such as an acceleration sensor and a gyroscope included in the terminal equipment. Since the terminal device may be always in a lifted state or a traveling state when the user holds the terminal device, it is possible to determine whether the terminal device is continuously held by detecting the posture data. Of course, it may also be detected whether the current motion gesture is the holding gesture according to the historical behavior data of the user.
It is understood that other methods, such as infrared detection, which may be used to detect whether the terminal device is continuously held, may also be used in the embodiment of the present application, and are not limited herein.
If the terminal device is in the held state, step S230 to step S280 are executed, and if it is detected that the terminal device enters the non-held state from the held state, step S290 is executed.
Step S230: controlling the terminal device to keep an unlocked state during the terminal device is in the held state.
It can be understood that the terminal device can be controlled to keep the unlocked state all the time when the terminal device is in the held state, or the terminal device can be controlled to keep the unlocked state within a preset time, and the screen is locked according to the running state of the terminal device when the preset time is exceeded.
Step S240: and detecting whether the terminal equipment enters a screen turning state or not during the holding state of the terminal equipment.
When the terminal equipment is in the held state, the terminal equipment can be controlled to be always kept in the unlocked state, and whether the terminal equipment enters the screen turning-off state or not can be detected in the process. That is to say, while being in the held state, although the terminal device is controlled to maintain the unlocked state, the terminal device is not influenced to enter the screen-off state, and only when the screen-off state is detected to enter, whether to lock the screen is controlled according to the held state when the screen-off state is entered. If the terminal equipment is still held when entering the screen-off state, the screen is not locked, and if the terminal equipment is not held when entering the screen-off state, the screen can be locked according to a pre-designed screen-locking scheme.
Step S250: and if the terminal equipment is detected to enter the screen-off state, displaying a screen-off interface. The screen-turning interface can be a common screen-turning interface in a normal state, and can also be a screen-turning interface which is set in advance for a continuous holding state. Further, the screen-off interface may display clock information, weather information, short message reminders, and the like, wherein as an implementation manner, the screen-off interface may display information prompting that the current screen is unlocked in a preset screen-off interface in order to prompt a user that the current screen is not locked.
Step S260: and when the terminal equipment meets the awakening condition, detecting whether the terminal equipment is in the held state.
The wake-up condition may be set in various ways, and as one way, the wake-up condition includes: detecting that the terminal equipment is lifted; detecting that the terminal device is jittered; or detecting that touch operation is acted on the preset information screen interface. Whether the terminal device is lifted or shaken can be judged through data collected by sensors such as an acceleration sensor and a gyroscope included in the terminal device.
Step S270: and if the user is in the held state, directly displaying the interface displayed before entering the screen-off state.
And when the awakening condition is met, detecting whether the terminal equipment is still in a continuous holding state at present, if so, the terminal equipment is in an unlocking state, and after the terminal equipment is awakened from the screen, the terminal equipment can be directly used as a system interface or an application interface displayed before the terminal equipment enters the screen-off state.
Step S280: and if the handle is in the non-held state, entering an unlocking interface or executing an unlocking operation. If the terminal device is not held or the holding state is interrupted, turning off the screen and waking up, and then entering an unlocking interface or performing unlocking operation, for example, in the terminal device shown in fig. 1 to 7, controlling the camera to move out for face recognition.
Step S290: and when the terminal equipment is detected to enter a non-held state from a held state, locking the terminal equipment.
If the terminal device is detected to enter the non-held state from the held state, the screen can be directly locked, whether the screen needs to be locked or not can be confirmed according to the current running state of the device, and the screen can be locked after a certain time. The current running state of the terminal equipment comprises whether the terminal is in a standing state, whether the terminal has an application running in the foreground, the type and running duration of the application running in the foreground and the like. The method for locking the screen according to the operation state of the terminal device may also adopt the existing method, and details are not repeated here.
In some embodiments, it may be detected whether the terminal device enters a non-held state from a held state after the terminal device is unlocked for a preset time, and the terminal device may be locked when the terminal device is detected to enter the non-held state from the held state. Generally, the user does not need to unlock the terminal immediately after unlocking, so that the user can detect the terminal after unlocking for a preset time, resources can be further saved, and the loss of the terminal can be further reduced.
The terminal device control method provided in this embodiment detects whether the terminal device is in a held state after the terminal device is successfully unlocked, and controls the terminal device to keep an unlocked state if the terminal device is always in the held state. Therefore, the user does not need to frequently unlock, the use flow is saved, and the user experience is also improved. For the camera arrangement mode shown in fig. 1-7, frequent extension and retraction of the camera can be avoided to realize face unlocking.
Referring to fig. 10, a terminal device control apparatus 300 according to an embodiment of the present application, operating on a terminal device, includes: an unlocking unit 310, a detection unit 320 and a control unit 330. The unlocking unit 310 is used for responding to an unlocking request in a screen locking state and unlocking the terminal equipment; the detecting unit 320 is configured to detect whether the terminal device is held after the terminal device is unlocked; a control unit 330, configured to control the terminal device to maintain an unlocked state while the terminal device is in the held state.
The method for detecting whether the terminal device is held by the detection unit 320 includes, but is not limited to: detecting whether the terminal equipment is in a held state or not through a pressure sensor; detecting whether the terminal equipment is in a held state or not through a temperature sensor; detecting whether the terminal equipment is in a held state or not through a touch sensor; and detecting whether the terminal equipment is in a held state or not through an attitude sensor. It is understood that the detection can be performed by one of the above manners, or by a combination of at least two of the above manners.
Further, the control unit 330 may control the terminal device to maintain the unlocked state for a preset time period while the terminal device is in the held state. The control unit 330 may further be configured to lock the terminal device when the detection unit 320 detects that the terminal device enters the non-held state from the held state.
Referring to fig. 11, a terminal device control apparatus 400 according to another embodiment of the present application, operating on a terminal device, includes: an unlocking unit 410, a detection unit 420, a control unit 430 and a display unit 440. The main functions of the unlocking unit 410, the detecting unit 420 and the controlling unit 430 may refer to the description in the previous embodiment, and are not described herein again.
In this embodiment, the detecting unit 420 may be further configured to detect whether the terminal device enters a screen-off state while the terminal device is in the held state, and if it is detected that the terminal device enters the screen-off state, the displaying unit 440 is configured to display a screen-off interface. After the display unit 440 displays the screen-saving interface, the detection unit 420 is further configured to detect whether the terminal device meets an awakening condition, if it is detected that the terminal device meets the awakening condition, determine whether the terminal device is still in the held state, if so, the display unit 440 directly displays the interface displayed before entering the screen-saving state, and if the terminal device is not in the held state, enter an unlocking interface or perform an unlocking operation.
In some embodiments, a terminal device may include a terminal body and a camera that is movable and retractable with respect to the terminal body. The unlocking unit 410 is further configured to respond to an unlocking request, control the camera to extend out of the terminal body, control the camera to collect a face image, perform face recognition, and unlock the terminal device after the face image is successfully recognized.
A terminal device provided by the present application will be described with reference to fig. 12.
Referring to fig. 12, based on the terminal device control method and apparatus, a terminal device 100 capable of executing the terminal device control method is further provided in the embodiment of the present application. The terminal device 100 includes one or more processors 102 (only one shown), a memory 104, and a camera 220 coupled to each other. The number of the cameras 220 can be set according to the needs, for example, two cameras 220 can be configured, one as a front camera and the other as a rear camera. The memory 104 stores one or more programs configured to be executed by the one or more processors 102, the one or more programs configured to perform the methods described in the above embodiments.
The terminal device provided by the present application will be described in more detail below by taking a mobile phone as an example.
Referring to fig. 13, the terminal device 100 includes one or more processors 102 (only one is shown), a memory 104, a communication module 106, an audio circuit 140, a sensor 114, an input module 118, a power module 132, and a camera 220. It will be understood by those skilled in the art that the present application is not limited to the structure of the terminal device 100. For example, the terminal device 100 may also include more or fewer components than shown in the figures, or have a different configuration than shown in the figures.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory remotely located from the processor 102, which may be connected to the terminal device 100 or the screen 210 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 106 is configured to receive and transmit electromagnetic waves, and implement interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The communication module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The communication module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE 802.10A, IEEE802.11 b, IEEE 802.2.1 g and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), and other short message Communication protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The camera 220 is used to capture images and transmit them to the processor 102 for processing. The camera 220 is driven by a motor (not shown in the figure) to extend or retract to be hidden in the terminal body. The motor executes an operation of driving the camera 220 to extend or retract in response to a control command sent by the processor.
The audio circuit 140, the speaker 101, the sound jack 103, the microphone 105 together provide an audio interface between a user and the terminal device 100 or the screen 210. Specifically, the audio circuit 140 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the speaker 101. The speaker 101 converts an electric signal into a sound wave audible to the human ear. The audio circuitry 140 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the communication module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the communication module 106.
It is understood that the functional devices in this embodiment include the camera 220 and the microphone 105.
The sensor 114 is disposed in the terminal device 100 or the screen 210, and examples of the sensor 114 include, but are not limited to: temperature sensors, light sensors 114F, motion sensors, pressure sensors 114G, infrared heat sensors, distance sensors, attitude sensors, and other sensors. The acceleration sensor can be used for acquiring the motion attitude of the terminal device in real time, for example, acquiring the acceleration value and the direction of the acceleration of the terminal device in real time.
The screen 210 may include a touch display panel 111, and the touch display panel 111 may collect touch operations of a user on or near the touch display panel 111 (for example, operations of a user on or near the touch display panel 111 using any suitable object or accessory such as a finger, a stylus, etc.) and drive a corresponding connection device according to a preset program. Optionally, the touch display panel 111 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch display panel 111 can be implemented by using resistive, capacitive, infrared, and surface acoustic wave types.
The screen 210 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the terminal device 100, which may be configured by graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch display panel 111 may be disposed on the display panel 111 so as to be integrated with the display panel 111.
The power module 132 is used to provide power supply to the processor 102 and other components. Specifically, the power module 132 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the generation, management, and distribution of power within the terminal device 100 or the screen 210.
The terminal device 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the terminal device 100. In this embodiment, the locator 119 implements the positioning of the terminal device 100 by using a positioning service, which is understood to be a technology or a service for obtaining the position information (e.g., longitude and latitude coordinates) of the terminal device 100 by using a specific positioning technology and marking the position of the positioned object on an electronic map.
It should be understood that the terminal device 100 described above is not limited to a smartphone terminal, and it should refer to a computer device that can be used in a mobile. Specifically, the terminal device 100 refers to a mobile computer device equipped with an intelligent operating system, and the terminal device 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like. In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (terminal device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (7)

1. A terminal device control method is characterized in that the terminal device comprises a terminal body and an unlocking device, the unlocking device comprises a camera, and the camera can move out of and retract relative to the terminal body, and the method comprises the following steps:
responding to an unlocking request in a screen locking state, and controlling the camera to extend out of the terminal main body;
collecting a face image and carrying out face recognition;
unlocking the terminal equipment after successful identification;
after the terminal equipment is unlocked, after a foreground running program is closed or the foreground running program is switched to a background running program, detecting whether the terminal equipment is in a continuously held state, wherein the held state refers to a state when the terminal equipment is held by a user;
controlling the terminal equipment to keep an unlocking state during the period that the terminal equipment is in the continuously held state;
when the interruption of the holding state of the terminal equipment is detected, the terminal equipment is locked;
wherein, the detecting whether the terminal device is in a continuously held state comprises one or a combination of several of the following modes:
detecting whether the terminal equipment is in a continuously held state or not through a pressure sensor;
detecting whether the terminal equipment is in a continuously held state or not through a temperature sensor; and
and detecting whether the terminal equipment is in a continuously held state or not through a touch sensor.
2. The method according to claim 1, wherein the controlling the terminal device to maintain the unlocked state during the terminal device being in the continuously held state comprises:
and controlling the terminal equipment to keep an unlocking state within a preset time length during the period that the terminal equipment is continuously held.
3. The method of claim 1, wherein the controlling the terminal device to remain in an unlocked state during the period that the terminal device is in the continuously held state further comprises:
detecting whether the terminal equipment enters a screen turning state or not when the terminal equipment is in a continuously held state;
and if the terminal equipment is detected to enter the screen-off state, displaying a screen-off interface.
4. The method of claim 3, wherein after displaying the screenshot interface, further comprising:
when the terminal equipment meets the awakening condition, detecting whether the terminal equipment is in the period of the continuously held state;
if the mobile terminal is in the continuously held state, directly displaying an interface displayed before entering a screen-off state;
and if the handle is in the non-continuous held state, entering an unlocking interface or executing an unlocking operation.
5. The utility model provides a terminal equipment controlling means, its characterized in that, operation in terminal equipment, terminal equipment includes terminal body and unblock equipment, unblock equipment includes the camera, the camera can be relative terminal body shifts out and withdraws, the device includes:
the unlocking unit is used for responding to an unlocking request in a screen locking state and controlling the camera to extend out of the terminal main body; collecting a face image and carrying out face recognition; unlocking the terminal equipment after successful identification;
the detection unit is used for detecting whether the terminal equipment is in a continuously held state or not after a foreground running program is closed or the foreground running program is switched to a background running program after the terminal equipment is unlocked, wherein the held state refers to a state when the terminal equipment is held by a user;
the control unit is used for controlling the terminal equipment to keep an unlocking state when the terminal equipment is in a continuously held state; when the interruption of the holding state of the terminal equipment is detected, the terminal equipment is locked;
the detection unit detects whether the terminal equipment is in a continuously held state, and the detection unit comprises one or a combination of the following modes:
detecting whether the terminal equipment is in a continuously held state or not through a pressure sensor;
detecting whether the terminal equipment is in a continuously held state or not through a temperature sensor; and
and detecting whether the terminal equipment is in a continuously held state or not through a touch sensor.
6. A terminal device comprising a camera and a terminal body comprising one or more processors and memory, the memory storing one or more programs configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-4.
7. A computer-readable storage medium having program code executable by a processor, the computer-readable storage medium comprising a stored program, wherein the method of any of claims 1-4 is performed when the program is run.
CN201810621807.5A 2018-06-15 2018-06-15 Terminal device control method and device and terminal device Expired - Fee Related CN108985033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810621807.5A CN108985033B (en) 2018-06-15 2018-06-15 Terminal device control method and device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810621807.5A CN108985033B (en) 2018-06-15 2018-06-15 Terminal device control method and device and terminal device

Publications (2)

Publication Number Publication Date
CN108985033A CN108985033A (en) 2018-12-11
CN108985033B true CN108985033B (en) 2021-03-12

Family

ID=64541394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810621807.5A Expired - Fee Related CN108985033B (en) 2018-06-15 2018-06-15 Terminal device control method and device and terminal device

Country Status (1)

Country Link
CN (1) CN108985033B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784014B (en) * 2018-12-12 2020-06-02 维沃移动通信有限公司 Screen unlocking method and terminal equipment
CN110244894A (en) * 2019-06-19 2019-09-17 清华大学 A kind of control method of screen locking, device, handheld terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal
CN104657057A (en) * 2015-01-06 2015-05-27 小米科技有限责任公司 Terminal waking method and device
CN105487785A (en) * 2015-11-27 2016-04-13 广东欧珀移动通信有限公司 Screen locking method and apparatus for terminal device and terminal device
CN109962996A (en) * 2017-12-14 2019-07-02 广东欧珀移动通信有限公司 Functional unit, electronic device and its control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571922B (en) * 2015-01-13 2018-02-02 小米科技有限责任公司 Touch-responsive method, apparatus and terminal
CN104793824B (en) * 2015-04-23 2018-04-06 惠州Tcl移动通信有限公司 A kind of wake-up of mobile terminal and unlocking method and mobile terminal
CN105549721B (en) * 2015-12-18 2020-01-03 Tcl集团股份有限公司 Intelligent terminal dormancy method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal
CN104657057A (en) * 2015-01-06 2015-05-27 小米科技有限责任公司 Terminal waking method and device
CN105487785A (en) * 2015-11-27 2016-04-13 广东欧珀移动通信有限公司 Screen locking method and apparatus for terminal device and terminal device
CN109962996A (en) * 2017-12-14 2019-07-02 广东欧珀移动通信有限公司 Functional unit, electronic device and its control method

Also Published As

Publication number Publication date
CN108985033A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN109167894B (en) Camera control method and device, mobile terminal and storage medium
CN108924290B (en) Camera control method and device, mobile terminal and computer readable medium
CN108710456B (en) Application icon processing method and device and mobile terminal
CN109040351B (en) Camera control method and device, mobile terminal and storage medium
CN108965691B (en) Camera control method and device, mobile terminal and storage medium
US20190251317A1 (en) Method and apparatus for fingerprint unlocking
CN108388414B (en) Screen-off control method and device for terminal, computer-readable storage medium and terminal
CN109120841B (en) Camera control method and device, mobile terminal and storage medium
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
CN109067964B (en) Camera control method and device, mobile terminal and storage medium
CN109101119B (en) Terminal control method and device and mobile terminal
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
CN108769506B (en) Image acquisition method and device, mobile terminal and computer readable medium
EP4361974A2 (en) Fingerprint identification method and apparatus
CN108769299B (en) Screen control method and device and mobile terminal
CN108920922A (en) unlocking method, device, mobile terminal and computer-readable medium
CN108985033B (en) Terminal device control method and device and terminal device
WO2019052551A1 (en) Terminal device interaction method, storage medium and terminal device
CN108536380A (en) Screen control method, device and mobile terminal
CN109116983B (en) Mobile terminal control method and device, mobile terminal and computer readable medium
CN110221882B (en) Display method, display device, mobile terminal and storage medium
CN107995417B (en) Photographing method and mobile terminal
CN106325575A (en) Touch response method and apparatus
CN108932486B (en) Fingerprint matching method and device and electronic device
CN108804894B (en) Screen unlocking method and device, mobile terminal and computer readable 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210312