CN109116983B - Mobile terminal control method and device, mobile terminal and computer readable medium - Google Patents

Mobile terminal control method and device, mobile terminal and computer readable medium Download PDF

Info

Publication number
CN109116983B
CN109116983B CN201810813991.3A CN201810813991A CN109116983B CN 109116983 B CN109116983 B CN 109116983B CN 201810813991 A CN201810813991 A CN 201810813991A CN 109116983 B CN109116983 B CN 109116983B
Authority
CN
China
Prior art keywords
mobile terminal
camera
state
preset
terminal
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
CN201810813991.3A
Other languages
Chinese (zh)
Other versions
CN109116983A (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 CN201810813991.3A priority Critical patent/CN109116983B/en
Publication of CN109116983A publication Critical patent/CN109116983A/en
Application granted granted Critical
Publication of CN109116983B publication Critical patent/CN109116983B/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
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a mobile terminal control method and device, a mobile terminal and a computer readable medium, and belongs to the technical field of mobile terminals. The method comprises the following steps: responding to an unlocking request in a screen locking state, and unlocking the mobile terminal; after the mobile terminal is unlocked, detecting whether the mobile terminal is in a motion state; and controlling the mobile terminal to keep an unlocked state in the motion time period of the mobile terminal in the motion state. Therefore, the mobile terminal is controlled to keep the unlocking state in the motion time period when the mobile terminal is in the motion state, the situation that the mobile terminal is locked when a user uses the mobile terminal is avoided, the user frequently unlocks the mobile terminal, and the user experience degree is improved.

Description

Mobile terminal control method and device, mobile terminal and computer readable medium
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a mobile terminal control method, an apparatus, a mobile terminal, and a computer readable medium.
Background
With the development of scientific technology, mobile terminals are used more and more widely and have more and more functions, for example, some mobile terminals are provided with a retractable or rotatable camera. However, in the process of opening and closing the mobile terminal, the camera needs to be frequently lifted for identity authentication, so that the loss of functional devices of the mobile terminal is serious, the operation is complicated, and the user experience is poor.
Disclosure of Invention
The application provides a mobile terminal control method, a mobile terminal control device, a mobile terminal and a computer readable medium, so as to overcome the defects.
In a first aspect, an embodiment of the present application provides a mobile terminal control method, including: responding to an unlocking request in a screen locking state, and unlocking the mobile terminal; after the mobile terminal is unlocked, detecting whether the mobile terminal is in a motion state; and controlling the mobile terminal to keep an unlocked state in the motion time period of the mobile terminal in the motion state.
In a second aspect, an embodiment of the present application further provides a mobile terminal control apparatus, where the apparatus includes: the device comprises an unlocking unit, a detection unit and a control unit. And the unlocking unit is used for responding to the unlocking request in the screen locking state and unlocking the mobile terminal. And the detection unit is used for detecting whether the mobile terminal is in a motion state or not after the mobile terminal is unlocked. And the control unit is used for controlling the mobile terminal to keep an unlocking state in the motion time period when the mobile terminal is in the motion state.
In a third aspect, an embodiment of the present application further provides a mobile terminal, including a memory and a processor, where the memory is coupled to the processor; the memory stores instructions that, when executed by the processor, the processor performs the above-described method.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.
According to the mobile terminal control method and device, the mobile terminal and the computer readable medium, after the mobile terminal is unlocked, whether the mobile terminal is in the motion state is detected, if yes, the mobile terminal is used after being unlocked, the mobile terminal is controlled to be kept in the unlocking state within the motion time period when the mobile terminal is in the motion state, the situation that a user uses the mobile terminal and the mobile terminal is locked is avoided, the user frequently unlocks the mobile terminal, and therefore user experience is improved.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
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 structural diagram illustrating a first view of a mobile terminal according to an embodiment of the present application;
fig. 2 is a schematic structural diagram illustrating a first state of a second view angle of a mobile terminal according to an embodiment of the present application;
fig. 3 is a schematic structural diagram illustrating a second state of a second view angle of the mobile terminal according to an embodiment of the present application;
fig. 4 is a schematic structural diagram illustrating a third viewing angle of a mobile terminal according to an embodiment of the present application;
fig. 5 is a schematic structural diagram illustrating a first state of a mobile terminal according to another embodiment of the present application;
fig. 6 is a schematic structural diagram illustrating a second state of the mobile terminal according to another embodiment of the present application;
fig. 7 is a schematic structural diagram illustrating a first state of a mobile terminal according to another embodiment of the present application;
fig. 8 is a schematic structural diagram illustrating a second state of a mobile terminal according to another embodiment of the present application;
fig. 9 is a schematic diagram illustrating a first view of a mobile terminal according to still another embodiment of the present application;
fig. 10 is a schematic diagram illustrating a second view of a mobile terminal according to still another embodiment of the present application;
fig. 11 is a flowchart illustrating a method of controlling a mobile terminal according to an embodiment of the present application;
fig. 12 is a flowchart illustrating a method of controlling a mobile terminal according to another embodiment of the present application;
fig. 13 is a schematic diagram illustrating a mobile terminal provided in an embodiment of the present application being worn;
fig. 14 is a schematic diagram illustrating a mobile terminal in a motion state according to an embodiment of the present application;
fig. 15 is a flowchart illustrating a method of controlling a mobile terminal according to another embodiment of the present application;
fig. 16 is a schematic diagram illustrating a held state of a mobile terminal according to an embodiment of the present application;
fig. 17 shows a block diagram of a mobile terminal control device according to an embodiment of the present application;
fig. 18 shows a block diagram of modules of a mobile terminal provided in an embodiment of the present application;
fig. 19 shows a block diagram of a mobile terminal according to an embodiment of the present application for executing the 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. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a mobile terminal that can be used in the embodiments of the present application. The mobile terminal 100 includes a terminal body 130, a camera 150 and a movable assembly 140, wherein the camera 150 is mounted on the movable assembly 140, and the movable assembly 140 is movably connected with the terminal body 130, specifically, the movable connection indicates that the movable assembly 140 and the terminal body 130 can be directly connected in a rotating manner or in a sliding manner. In some implementations, the movable member 140 is disposed on a surface of the terminal body 130, and in some states, when an included angle between the movable member 140 and the terminal body 130 is minimized, the movable member 140 is attached to the surface of the terminal body 130, and the movable member 140 can rotate in a direction approaching or departing from the surface of the terminal body 130.
In other embodiments, the movable element 140 can be accommodated in the terminal body 130, for example, the terminal body 130 is provided with an opening, and the movable element 140 is connected to the opening and can move into the opening to achieve the effect of being accommodated in the terminal body 130. As an embodiment, the opening may be a groove formed on the surface of the terminal body 130, and the groove may be disposed at a position near the first edge of the top of the back surface of the terminal body, a position near the middle of the top of the back surface, a position near the second edge of the top of the back surface, or the like. The shape of the groove can be rectangular, square, circular, semicircular, regular polygon or irregular polygon, etc. Referring to fig. 1, the recess may be a rectangular recess disposed at the top of the back of the terminal body near the middle, and an accommodation space formed by the rectangular recess is used for accommodating a camera, a proximity optical sensor, an earpiece, a distance sensor, an ambient light sensor, a temperature sensor, a pressure sensor, and other functional devices, wherein when the functional devices are accommodated in the recess, the functional devices are hidden behind the terminal body, and when the functional devices are rotated out of the recess by 180 °, the functional devices are exposed from the top of the terminal body and have the same orientation as the front or the back of the terminal body.
Specifically, please refer to fig. 1, fig. 2, and fig. 3, where fig. 1 illustrates a schematic structural diagram of a mobile terminal that can be used in the embodiments of the present application, fig. 2 illustrates a schematic first state diagram of the mobile terminal that can be used in the embodiments of the present application, and fig. 3 illustrates a schematic second state diagram of the mobile terminal that can be used in the embodiments of the present application. In an embodiment of the present application, the terminal body 130 includes a front surface 120 and a back surface 132, wherein the front surface 120 of the terminal body is a touch screen of the mobile terminal, and the back surface 132 of the terminal body is a housing of the mobile terminal. Further, the movable element 140 is rotatably disposed on the back surface 132 of the terminal body 130, the camera 150 is disposed on the movable element 140, and the camera 150 rotates relative to the terminal body 130 by using the movable element 140 as a rotation axis, as a manner, the back surface 132 of the terminal body 130 is provided with a groove for accommodating the movable element 140, when the movable element 140 is accommodated in the groove, the height of the movable element 140 may be flush with the back surface 132 of the terminal body 130, may protrude out of the back surface 132 of the terminal body 130, may be recessed in the back surface 132 of the terminal body 130, and the like, and in addition, the movable element 140 may drive the camera 150 to rotate relative to the terminal body 130 within a range of 0 ° to 180 °. The camera 150 is rotatably connected with the terminal body 130 of the mobile terminal through the movable assembly 140, specifically, the movable assembly 140 includes a rotating shaft and a mounting member, functional devices such as the camera 150 are mounted on the mounting member, and the mounting member is connected with the inner wall of the groove through the rotating shaft, so that the mounting member can be accommodated in the groove and also can be rotated out of the groove. When the mounting member is received in the recess, i.e. the mounting member fills the recess, the position at this time is the initial position of the mounting member, i.e. the initial position of the camera 150. At this time, the camera 150 is oriented perpendicular to the light emitting surface of the screen, that is, at this time, the camera 150 may be used as the rear camera 150 of the mobile terminal, as shown in fig. 1, and when the camera 150 is rotated out of the groove and is rotated to the maximum position, as shown in fig. 3 and 4, at this time, the camera 150 may be used as the front camera 150.
Referring to fig. 5 and 6, a block diagram of another mobile terminal 200 according to an embodiment of the present application is shown. The mobile terminal 200 shown in fig. 5 includes a terminal main body 210, a camera 221 and a movable assembly 222, wherein the camera 221 is disposed on the movable assembly 222, the movable assembly 222 is slidably connected with the terminal main body 210 and can be hidden at the back or inside of the terminal main body 210, and when hidden at the back or inside, the camera 221 cannot be seen from the front of the terminal main body by a user, as shown in fig. 6.
Specifically, the movable component 222 is slidably disposed in the housing, and can extend out of or slide into the housing, and some functional devices of the mobile terminal may also be disposed in the movable component, where the functional devices include, but are not limited to, a receiver, a structured light component, a camera, and a light supplement device, as another implementation, a receiving cavity may also be formed in the back of the mobile terminal, for example, a groove may be formed, and then the movable component 222 may slide out of the receiving cavity.
As another example, as shown in fig. 7 and 8, the present application provides a structure diagram of a mobile terminal 200. In the mobile terminal 200 shown in fig. 7, the mobile terminal includes a terminal main body 210 and a functional device module 220, the functional device module 220 is hidden in the terminal main body and is slidably exposed from the top of the terminal main body 210, specifically, the functional device module 220 includes a sliding part 222 and a functional device, the functional device is disposed on the sliding part, the sliding part 222 is slidably disposed in the housing and can extend out of or slide into the housing, wherein the functional device includes but is not limited to a receiver, a structured light assembly, a camera and a light supplement device, and as one mode, as shown in fig. 8, a camera 221 is disposed toward the front of the mobile terminal and is disposed in an upper region of the sliding part 222. The camera 221 can be carried by the slider 222 so as to be hidden in the housing or to protrude from the housing.
Referring to fig. 9 and 10, a block diagram of another mobile terminal is provided. The main difference with the mobile terminal provided in fig. 7 and 8 is that the functional device module 220 does not protrude from the inside of the housing.
Specifically, as an embodiment, a recess is provided at the top of the rear surface of the terminal body 210 of the mobile terminal, and the functional device module 220 is disposed in the recess and can be extended or retracted in the recess. The functional device module 220 includes a slider 222 and functional devices, wherein the functional devices include but are not limited to a receiver, a structured light module, a camera 221, and a light supplement device. The slider includes first face and second face, and first face and second face are the opposite face, and camera 221 sets up on the first face of slider 222, and when the slider was located the recess, the second face was as the partly of the back of terminal body, and the first face is sheltered from by the front of terminal body, and camera 221 is sheltered from by the front of terminal body promptly, and does not show out by the front of terminal body. As shown in fig. 10, the sliding member 222 can extend from the back surface of the terminal body, and the camera 221 is exposed from the front surface of the terminal body, i.e. not shielded by the front surface of the terminal body, and can be used as a front camera.
At present, the mobile terminal that activity such as above-mentioned camera is rotatable or flexible set up, when mobile terminal is in the lock screen state, the camera is in initial position, for example, be located the inside of mobile terminal or the intracavity that holds at the back, after the user lights the screen, the camera rises automatically or rotates, thereby the camera appears by mobile terminal's front, the direction of shooting of camera is perpendicular with the surface of screen promptly, convenience of customers just gathers facial image to the camera, thereby carry out face identification's screen unblock.
However, when the mobile terminal is unlocked, the camera needs to be called to unlock the mobile terminal in a face recognition mode, if the mobile terminal is frequently locked and unlocked, the camera frequently goes up and down, especially when the user uses the mobile terminal, the mobile terminal is turned off and locked due to the fact that the screen of the mobile terminal is not touched for a long time, the camera is prone to damage, and user experience is reduced.
Therefore, in order to solve the above technical problem and set the screen locking time of the mobile terminal more reasonably, referring to fig. 11, an embodiment of the present application provides a mobile terminal control method, including: s1101 to S1103.
S1101: and responding to the unlocking request in the screen locking state to unlock the mobile terminal.
Under the condition that the mobile terminal is in a screen locking state, whether an unlocking request input by a user is acquired or not is detected, wherein the unlocking request can be input by the user clicking a screen locking key of the mobile terminal, and can also be voice or biological characteristic information input when the mobile terminal is in the screen locking state, wherein the biological characteristic information can be fingerprint information, iris information or a face image and the like.
An unlocking password, which may be voice, biometric information or numbers, text, etc. entered by the user within the unlocking interface, is included in the unlocking request. And the mobile terminal responds to the unlocking request, judges whether the unlocking password is correct or not, and unlocks the mobile terminal if the unlocking password is correct.
As an embodiment, the mobile terminal is the mobile terminal described in fig. 1 to 7, that is, the mobile terminal includes a terminal main body and a camera, and the camera can be moved out and retracted relative to the terminal main body, and then responds to an unlocking request in a screen-locked state, and a specific embodiment of unlocking the mobile terminal is as follows: responding to an unlocking request, controlling the camera to extend out of the terminal main body, collecting a face image, carrying out face recognition, unlocking the mobile terminal after the face image is successfully recognized, and recovering the camera to the terminal main body.
The mobile terminal obtains an unlocking request input by a user in a screen locking state, and controls the camera to extend out of the terminal body, specifically, the camera can be controlled to move to a preset position. Specifically, the mobile terminal responds to the unlocking request and sends a driving instruction to the driving circuit, and the driving instruction is used for instructing the driving circuit to move the camera to the preset position. After the driving circuit acquires the driving instruction, the driving circuit can control the camera to move to the predetermined position according to the driving signal, specifically, adjust a driving parameter, such as a driving level or a magnitude or a phase of a driving current, according to the driving instruction, send the driving signal to the driving assembly, and the driving assembly outputs a corresponding pulling force or a pushing force according to the driving signal, so as to drive the camera to move to the predetermined position.
The preset position of the camera is a position which is set by a user according to the requirement and is convenient for shooting the face of the user, and specifically, the preset position is correspondingly different according to different connection modes of the camera and the terminal body. For example, as shown in fig. 1 to 4, when the camera is turned from the back side to the front side of the mobile terminal, the predetermined position is that the shooting direction of the camera is perpendicular to the light emitting surface of the screen, or an included angle between the shooting direction of the camera and the light emitting surface of the screen is an acute angle, for example, an angle between 89 ° and 60 °, and specifically may be 60 °. For another example, in the mobile terminal shown in fig. 5 to 9, the camera may extend from the inside of the terminal body of the mobile terminal or from the back of the terminal body, and the predetermined position may be a position where the camera is just exposed from the front of the screen, or may be a maximum moving position along the extending direction of the camera.
In addition, the mobile terminal can detect whether the camera is moved to a predetermined position, and specifically, by providing a device such as an angle sensor or a displacement sensor capable of detecting a movement distance of the camera on the camera, a positional relationship between the camera and the mobile terminal body, that is, a position where the camera is located can be acquired, and thus, whether the camera is moved to the predetermined position can be detected.
Specifically, the detection modes are different for the mobile terminals with different hardware forms.
In some embodiments, the detecting whether the camera is moved to the predetermined position may be: and acquiring rotation information of the camera, wherein the rotation information comprises a rotation direction and a rotation angle.
Specifically, for the mobile terminal shown in fig. 1 to 4, the embodiment of detecting the rotation direction and the rotation angle of the camera may be that a sensor for detecting the rotation direction and the rotation angle is disposed on the rotating assembly, for example, an angle sensor or a hall sensor is disposed on the rotating shaft of the rotating assembly for detecting the rotation direction and the rotation angle of the rotating shaft.
And after the rotation information is acquired, comparing the rotation information of the camera with preset rotation information, and determining whether the camera is moved to a preset position according to a comparison result.
In other embodiments, regarding the mobile terminal shown in fig. 5 to 9, the manner of detecting whether the camera is moved to the predetermined position is to obtain a pulling distance of the camera, and determine whether the camera is moved to the predetermined position according to the pulling distance. Specifically, a distance sensor is arranged at the camera, when the camera is in the mobile terminal body, the distance sensor at the camera is shielded by the mobile terminal body, the distance value is kept at a lower value, and when the camera is stretched to the body, the distance value acquired by the distance sensor at the camera is increased, so that whether the distance value acquired by the distance sensor is greater than a preset value or not can be judged, if so, the camera is determined to be moved to a preset position, and if not, the camera is determined not to be moved to the preset position. The preset value is a numerical value set by a user and used for indicating that the camera is not shielded by the camera body when the camera is stretched.
As an embodiment, the camera can be moved along a third direction and a fourth direction, taking the mobile terminal as a vertical screen state and being placed vertically as an example, that is, with a view angle shown in fig. 5, the third direction refers to the camera moving in an upward direction, and in the third direction, the camera can protrude from the inside of the mobile terminal body, and the fourth direction is an opposite direction of the third direction, and with a view angle shown in fig. 5, the fourth direction refers to the camera moving in a downward direction. It should be noted that the position of the camera includes an initial position and a maximum position, where the initial position is a critical position of the camera in the mobile terminal body, that is, the camera cannot move any more in the fourth direction and can move in the third direction at the initial position, and the maximum position is that the camera cannot move any more in the third direction and can move in the fourth direction.
The distance of the camera pulled can be obtained and measured through a distance sensor, specifically, a plurality of distance sensors can be arranged in a sliding channel in the mobile terminal body, wherein the sliding channel is a sliding area of the camera in the mobile terminal body, the camera is arranged on the sliding part, when the sliding part does not shield the distance sensor, the value acquired by the distance sensor is a larger value, for example, the width of the sliding channel, and when the sliding part moves to the distance sensor and shields the distance sensor, the distance value acquired by the distance sensor is the distance value between the sliding part and the distance sensor, so that which distance sensor the camera reaches can be determined, and the moving distance of the camera can be determined according to the distance between the installation positions of each distance sensor which is acquired in advance.
After the camera is determined to be moved to the preset position, the camera is started, and the camera is controlled to acquire images of objects in the field of view of the camera, so that the images acquired by the camera are obtained.
And judging whether the face image is matched with a preset face image, if so, judging successful unlocking, and if not, judging unsuccessful unlocking.
The preset face image may be a face image preset by a user, may be stored in a mobile terminal, or may be stored in a certain server or a certain memory, and the mobile terminal may obtain the face image to be preset from the server or the certain memory. Specifically, the preset feature information of the face image may be preset, if the face image is a two-dimensional image, the preset feature information is facial feature point information of the face image previously input by the user, and if the face image is a three-dimensional image, the preset feature information is facial three-dimensional information of the face image previously input by the user. And judging whether the face image meets the preset condition or not by acquiring feature point information of the face image, comparing the acquired feature information of the face image with preset feature information input by a user in advance, if so, judging that the face image meets the preset condition, determining that the face image has the authority to unlock the screen of the mobile terminal, and if not, judging that the face image does not meet the preset condition, and if not, unlocking the screen.
And after the face image is determined to meet the preset condition, namely the face image is successfully identified, unlocking the mobile terminal. And after the unlocking is successful and the mobile terminal is switched from the screen locking state to the unlocking state, controlling the camera to be hidden in the terminal body.
S1102: and after the mobile terminal is unlocked, detecting whether the mobile terminal is in a motion state.
Specifically, a detection circuit for detecting a motion state is provided in the mobile terminal, and the detection circuit may be an acceleration sensor, a gyroscope, or the like, and motion data of the mobile terminal, including a magnitude and a direction of an acceleration, a magnitude and a direction of an angular velocity, a magnitude and a direction of a velocity, an angle with a reference plane, or the like, can be detected by the detection circuit. The reference plane is a reference plane preset in the mobile terminal, for example, the detection circuit is a six-axis sensor having a three-dimensional coordinate system, i.e., XYZ, including three planes XOY, XOZ and YOZ. The reference plane may be any one or more of these three planes.
For example, according to the fixed axis property of the gyroscope and the known preset attitude of the mobile terminal relative to the rotating shaft direction of the gyroscope, when the attitude of the mobile terminal is different from the preset attitude, and the movement in a certain direction of pitching, yawing or rolling is generated, because the rotating shaft of the gyroscope in the direction keeps the direction unchanged, the change of the angular relationship of the mobile terminal relative to the rotating shaft and the angular relationship of the preset attitude relative to the rotating shaft are detected, so that the attitude change of the mobile terminal can be determined, and the current attitude and the movement track of the mobile terminal can be determined.
When the mobile terminal is in a motion state, the mobile terminal may generate motion data of a certain size, such as acceleration, velocity, angular velocity, or angle, and the like, and after the mobile terminal is unlocked, the motion data of the mobile terminal is obtained, whether the motion data is greater than preset data is determined, if so, it is determined that the mobile terminal is in the motion state, and if not, it is determined that the mobile terminal is not in the motion state. The preset data is set according to the user's needs or experience, and may be, for example, an angle of 10 ° and an angular velocity of 6 rad/s. The preset data is used to distinguish whether the mobile terminal is in a motion state or only slightly vibrated.
S1103: and controlling the mobile terminal to keep an unlocked state in the motion time period of the mobile terminal in the motion state.
According to the operation of the S1102, it can be detected that the mobile terminal is in a motion state, and the unlock state is maintained within a motion time period in which the mobile terminal is in the motion state, that is, the mobile terminal is not locked, in some embodiments, when the user does not operate the mobile terminal for a long time, the mobile terminal is turned off, but the screen is not locked, and when the user operates the mobile terminal again, the mobile terminal does not need to be unlocked, so that the unlock operation of the user on the mobile terminal can be reduced, and the user experience is improved.
For the mobile terminal shown in fig. 1 to 10, when the mobile terminal is unlocked, the camera needs to be lifted to collect a face, and the mobile terminal is unlocked through face recognition, so that the camera can be prevented from frequently lifting by controlling the mobile terminal to keep an unlocked state within a motion time period when the mobile terminal is in the motion state.
In addition, in a time period when the mobile terminal is not in the motion state, the user may lock the screen of the mobile terminal by inputting a screen locking request, or of course, the user may lock the screen of the mobile terminal based on an operation state of the mobile terminal, where the operation state includes a time when the touch operation is not detected or other events that can be used to indicate screen locking.
And in the motion time period when the mobile terminal is in the motion state, if a screen locking request is received, judging whether the screen locking request meets a preset screen locking condition, specifically, acquiring an operation behavior corresponding to the screen locking request, and if the operation behavior belongs to a preset operation, judging that the screen locking request meets the preset screen locking condition, and locking the screen of the mobile terminal. The preset operation includes pressing a screen locking key or an operation on a screen locking key in an auxiliary function control (for example, an auxiliary touch of an ios system), that is, the preset operation is an operation on a virtual or physical screen locking key. Therefore, the user can lock the screen through the physical or virtual screen locking key in the motion time period when the mobile terminal is in the motion state, and the mobile terminal does not respond to the operation and continues to keep the unlocking state due to the automatic screen locking operation after the screen is turned off caused by long-time non-touch or other operations of the user.
In addition, considering that the user controls the motion of the mobile terminal when operating the mobile terminal or when taking the mobile terminal from a pocket to the front of the eye, even the user can make the mobile terminal in a motion state when carrying the mobile terminal with him, if the mobile terminal is kept in an unlocked state all the time, some misoperation behaviors may be caused, and therefore, specific motions of the mobile terminal in the motion state can be screened by keeping the unlocked state, so that the user experience is improved.
Specifically, referring to fig. 12, a method for controlling a mobile terminal according to another embodiment of the present application is shown, where the method includes: s1201 to S1205.
S1201: and responding to the unlocking request in the screen locking state to unlock the mobile terminal.
S1202: and after the mobile terminal is unlocked, detecting whether the mobile terminal is in a motion state.
S1203: and under the condition that the mobile terminal is in a motion state, detecting whether the mobile terminal is in a preset motion state.
And when the mobile terminal is detected to be in the motion state, determining whether the motion state is a preset motion state. The preset motion state may be a motion state added with a certain condition, for example, a motion state at a certain position or a motion state in a certain time period, or a motion state in which a motion parameter satisfies a certain condition.
Specifically, if the preset motion state is a motion state added with a certain condition, as an implementation manner, the preset motion state is a motion state of a motion range within a preset position range, and the implementation manner of determining whether the mobile terminal is in the preset motion state is as follows: under the condition that the mobile terminal is detected to be in the motion state, the position information of the mobile terminal is obtained, whether the position information is located in a preset position range or not is judged, and if yes, the mobile terminal is judged to be in the preset motion state. The preset position range is a preset position range, for example, a certain area with longitude and latitude within a certain range, or a certain street, city, and the like.
The method for acquiring the location information of the mobile terminal may be acquiring a positioning module, such as a GPS module, installed in the mobile terminal, the acquired location information, or acquiring a network address of a current access network of the mobile terminal; and acquiring the position information of the mobile terminal according to the network address.
Specifically, when the mobile terminal accesses the network, or obtains a network address, for example, an IP address, of the user accessing the network, the network address of the current access network of the mobile terminal can be obtained through some instructions or codes. For example, if the network to which the mobile terminal currently accesses is a mobile communication network, e.g., a 4G network, the network address of the currently accessed network of the mobile terminal is acquired through getlocaldpadaddress (). If the network currently accessed by the mobile terminal is a wireless local area network, such as Wi-Fi, the network address of the currently accessed network of the mobile terminal is acquired through intoip (ipAddress).
After the network address is obtained, the location information of the mobile terminal corresponding to the network address can be obtained according to the preset corresponding relationship between the network address and the location information. For example, if 103.21.176.0 is the IP address of china, the corresponding location information is china, and if 195.090.053.000 is the IP address of the united states, the corresponding location information of the mobile terminal is the united states.
As another embodiment, if the preset motion state is a motion state within a preset time period, the embodiment of determining whether the mobile terminal is in the preset motion state is as follows: under the condition that the mobile terminal is detected to be in the motion state, a current time point is obtained, the current time point can be the current system time of the mobile terminal, whether the time point is within a preset time range or not is judged, and if yes, the mobile terminal is judged to be in the preset motion state. Wherein the preset time range may be a time period in which the mobile terminal is frequently used, for example, 8 am to 23 pm.
Furthermore, it may also be determined whether the motion state of the mobile terminal is in the preset motion state according to the motion parameter of the mobile terminal, specifically, detecting whether the mobile terminal is in the preset motion state under the condition that the mobile terminal is in the motion state may include: under the condition that the mobile terminal is in a motion state, obtaining motion parameters of the mobile terminal, and judging whether the motion parameters are matched with preset motion parameters; if so, judging that the mobile terminal is in a preset motion state; and if not, judging that the mobile terminal is not in a preset motion state.
Specifically, the motion parameter may include the motion data, and the preset motion state is a motion state in which the corresponding motion data is the preset motion parameter, for example, a motion state in which the pitch angle is greater than a preset angle value, and for example, a motion state in which the acceleration is greater than a preset acceleration value.
In addition, the motion parameter may also be a motion trajectory of the mobile terminal, and the motion trajectory may be obtained according to motion data of the mobile terminal at each time point in the motion state. For example, the angle, the angular acceleration, the speed direction, the angular speed, and the like of each time point are obtained, for example, if the acceleration is regular, the acceleration is represented as the mobile terminal is accelerating, and if the angular acceleration is negative, the acceleration is represented as the mobile terminal is decelerating, and the motion trajectory of the mobile terminal can be simulated according to the angle change and the speed change rule of the mobile terminal within a certain time. The preset motion parameter is a preset motion trajectory, the preset motion trajectory may be set by means of a specific application scenario, as shown in fig. 13, the mobile terminal is worn on an arm of the user, the user runs with the mobile terminal, the mobile terminal swings with the swinging of the arm, since the arm moves with an axis at a joint connecting the arm and the shoulder, the motion trajectory of the mobile terminal should also be a reciprocating motion process, and the motion route is an arc. The preset movement trace may be set to an arc-shaped reciprocating motion at this time.
The manner of acquiring the motion trajectory is described in conjunction with the application scenario shown in fig. 13. As shown in fig. 14, which shows the motion trajectory of the mobile terminal, t1, t2, t3 and t4 in fig. 14 represent 4 consecutive time points, where the current time is t3, the mobile terminal corresponding to the time in fig. 14 is represented by a solid line, t1 and t2 correspond to the time before t3, the corresponding mobile terminal is represented by a dotted line, and when t4 is after t3, the position in fig. 14 is estimated. The arrow direction corresponding to each time is the speed direction of the point, and the angle at each time can be obtained, for example, by a six-axis gyroscope or the like. The coordinate system in fig. 14 is a world coordinate system corresponding to the motion trajectory, and includes an X axis, a Y axis, and a Z axis (not shown), wherein the Z axis is perpendicular to the XOY plane. The angle of the mobile terminal at each time may be an angle between the speed direction of the location and the X axis, where the angle reflects a relationship between the mobile terminal and a world coordinate system, so that the change of the angle and the change of the angular velocity can simulate the change of the angle and the change of the speed of the mobile terminal at different times in fig. 14, and can simulate the motion trajectory of the mobile terminal, for example, if the accelerations of t1 and t2 are both positive, the change of the angle and the change of the speed represent that the mobile terminal at the time t1 moves toward the location of the mobile terminal at the time t2, and if the angular velocities and the angles of enough time points are sampled at the times t1 and t2, the location coordinates of the mobile terminal at each time can be fitted on an XOY plane, so that the motion trajectory of the mobile terminal can be obtained.
After the motion trail of the mobile terminal is obtained, whether the motion trail is matched with a preset motion trail is judged, if yes, the mobile terminal is judged to be in a preset motion state, and if not, the mobile terminal is judged not to be in the preset motion state.
In addition, the motion parameter may also be bound to the identity information of the user, for example, when different users wear the mobile terminal on their arms to run, the motion trajectories generated by the amplitude of arm swing are different, and the preset motion state may be the motion trajectory of the mobile terminal corresponding to the specified user in the usage scenario. Wherein the designated user may be a legitimate user of the mobile terminal.
S1204: and controlling the mobile terminal to keep an unlocked state.
And keeping the mobile terminal in an unlocking state within the time period when the mobile terminal is in the preset motion state. As shown in fig. 13, after the user unlocks the mobile terminal, the mobile terminal is not locked and worn on an arm, and then in the running process, the mobile terminal is consistently in an unlocked state and cannot be locked after the screen is turned off due to long-time non-touch, so that the situation that the mobile terminal needs to be unlocked when the user uses the mobile terminal and even needs to lift the camera of the mobile terminal to acquire a face image after the mobile terminal is locked can be avoided, and moreover, at the position of the arm, the possibility that the user operates the mobile terminal is very low, and even if the mobile terminal is not locked, the mobile terminal cannot be affected too much.
S1205: and when a screen locking request is acquired, locking the screen of the mobile terminal based on the screen locking request.
When the mobile terminal is not in a preset motion state and a screen locking request is obtained, the screen of the mobile terminal is locked based on the screen locking request.
The state that the mobile terminal is not in the preset motion state may be a state that the mobile terminal is not in motion, or may be a state that the mobile terminal is in motion but is not in the preset motion state.
And if the mobile terminal is in the motion state but not in the preset motion state, detecting whether a screen locking request is acquired, and if so, locking the screen of the mobile terminal. Therefore, the situation that the mobile terminal is in the motion state but not in the preset motion state, the mobile terminal is directly locked to influence the use of a user, and the situation that the mobile terminal is in the motion state but not in the preset motion state, the mobile terminal is consistently kept in the unlocking state and cannot be locked to the screen can be avoided.
It should be noted that, the above steps are parts of detailed description, and reference may be made to the foregoing embodiments, which are not repeated herein, and the steps of the foregoing embodiments may also be applied to this embodiment.
In addition, when the mobile terminal is not in the preset motion state, if the mobile terminal is used by another person and the mobile terminal is not locked, the privacy of the user may be revealed, and in order to overcome this problem, the embodiment of the present application provides another control method for the mobile terminal, as shown in fig. 15, the method includes: s1501 to S1511.
S1501: and responding to the unlocking request, and controlling the camera to extend out of the terminal main body.
S1502: and collecting a face image and carrying out face recognition.
S1503: and unlocking the mobile terminal after successful identification, and withdrawing the camera to the terminal main body.
S1504: detecting whether the mobile terminal is in a motion state.
If the mobile terminal is in a motion state, S1505 is performed, otherwise, S1507 is performed.
S1505: and under the condition that the mobile terminal is in a motion state, detecting whether the mobile terminal is in a preset motion state.
If the mobile terminal is in the preset motion state, S1506 is performed, otherwise, S1507 is performed
S1506: and controlling the mobile terminal to keep an unlocking state in the time period when the mobile terminal is in the preset motion state.
S1507: detecting whether the mobile terminal is in a held state.
Specifically, when the mobile terminal is not in a moving state, or is in a moving state but not in a preset moving state, an operation of detecting whether the mobile terminal is in a held state needs to be performed.
As an implementation manner, the preset motion state corresponds to the identity information of the legal user, that is, the preset motion state is the motion state of the mobile terminal when the legal user carries the mobile terminal to move. Therefore, when the mobile terminal is in the preset motion state, it indicates that the mobile terminal is used by a legal user, and when the mobile terminal is in the motion state but not in the preset motion state, it indicates that the mobile terminal may be used by an illegal user, for example, after being stolen by a thief, when the thief moves with the mobile terminal, the motion state of the mobile terminal is indicated.
Therefore, it is detected whether the mobile terminal is in a held state while the mobile terminal is in a motion state but not in a preset motion state.
The mobile terminal is provided with a detection device, and the detection device is used for detecting whether the mobile terminal is in a held state. As shown in fig. 16, when a user holds the mobile terminal, the held portion is generally concentrated at the positions near the bottom or top of the bottom frame 152, the top frame 151 and the back of the mobile terminal, and therefore, a detection device may be disposed at the positions of the top frame 151 and the bottom frame 152, so as to detect whether the user holds the mobile terminal, that is, the mobile terminal can detect whether the mobile terminal is in a held state.
Therefore, whether the mobile terminal is held or not can be detected by one or a combination of the following modes: detecting whether the mobile terminal is in a held state or not through a pressure sensor; detecting whether the mobile terminal is in a held state or not through a temperature sensor; and detecting whether the mobile terminal is in a held state or not through a touch sensor. The detection device may be at least one of a pressure sensor, a temperature sensor, or a touch sensor.
Whether the mobile terminal is held or not is detected through the pressure sensor, and judgment can be carried out through detecting whether the outer surface of the mobile terminal body 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 mobile terminal is in the held state, and if the pressure sensor acquires a continuous pressure value, the mobile terminal is in the held state, otherwise, the mobile terminal is not in the held state.
Whether the mobile terminal 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 mobile terminal can be detected in real time through the temperature sensor arranged on the terminal body or the screen. When a user holds the mobile terminal, the temperature of the held part of the mobile terminal is different from the temperature of other parts, so that whether the mobile terminal is continuously held can be judged by detecting the temperature value and the change of the temperature.
Whether the mobile terminal is held or not is detected through the touch sensor, and judgment can be carried out through detecting whether the outer surface of the mobile terminal body 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 mobile terminal 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 mobile terminal is in a held state. In other embodiments, the touch area may be detected to be matched with a preset holding area.
It is understood that other methods, such as infrared detection, may also be used to detect whether the mobile terminal is continuously held, and the present invention is not limited thereto.
S1508: and acquiring held parameters.
The held parameter may be a held area, a held position, and the like, and specifically, after it is detected that the mobile terminal is held, the held area can be detected by the above-mentioned detection device, for example, taking a pressure sensor as an example, a plurality of pressure sensors are arranged on a rear cover, a sidewall edge, or a screen of the mobile terminal, and a position corresponding to each pressure sensor is stored in advance, while the identifiers of the different pressure sensors are different, so that after determining which pressure sensor is pressed, the pressed position can be determined, and the positions where the different pressure sensors are distributed and the distances of the pressure sensors on the surface of the terminal can be measured and known in advance, thereby determining information such as the held area and the position.
The holding parameter may also be a holding pressure or a holding temperature, and specifically, when the detection device is a pressure sensor or a tactile sensor, the holding parameter may be the holding pressure, and when the detection device is a temperature sensor, the holding parameter may be the holding temperature.
S1509: and judging whether the held parameters meet preset standards.
Due to different use habits of different users, when the different users hold the mobile terminal, the holding pressure, temperature, position and area are different, the preset holding parameters of the preset users holding the mobile terminal under various postures are obtained in advance, all the obtained preset holding parameters are used as a holding parameter set, the holding parameter set comprises a plurality of preset holding parameters, if the detected held parameters are located in the holding parameter set, namely the preset holding parameters matched with the detected held parameters can be found in the holding parameter set, the held parameters are judged to meet the preset standard. The preset user may be the above legal user.
S1510: and when a screen locking request is acquired, locking the screen of the mobile terminal based on the screen locking request.
And if the held parameters meet the preset standard, detecting whether a screen locking request is acquired, and if so, responding to the screen locking request and locking the screen of the mobile terminal.
S1511: and directly locking the screen of the mobile terminal.
If the held parameter does not meet the preset standard, the mobile terminal is directly locked no matter whether the screen locking request is acquired, namely, the screen locking operation of the mobile terminal is the highest priority and higher than any other operation in the mobile terminal. Therefore, the privacy of the user can be prevented from being leaked due to the fact that other people use the mobile terminal.
In addition, the mobile terminal can be directly locked and alarm information can be sent out. The alarm information may be an audible and visual alarm, that is, when the mobile terminal determines that the held parameter does not meet the preset standard, the mobile terminal is locked and an audible and visual alarm is issued, for example, at least one of an alarm voice is issued or a flash lamp is turned on to flash.
Moreover, the alarm information can be sent to the electronic device bound with the mobile terminal, and the electronic device can be a smart watch, other mobile terminals and the like. At this time, the alarm information may be text information such as a short message or a mail.
Therefore, the mobile terminal can be kept in the unlocking state when the user operates the mobile terminal according to the preset motion state, the unlocking caused after the screen is locked frequently is avoided, and the situation that the user uses the mobile terminal without locking the screen of the mobile terminal when the user operates the mobile terminal according to the preset motion state is shown. And when the mobile terminal is not in the preset motion state, whether the user holding the mobile terminal is a legal user using the mobile terminal is judged by detecting held parameters when the mobile terminal is in the held state, if not, the screen is directly locked, so that the mobile terminal can be prevented from being used by other people, and particularly, when the mobile terminal is in the motion state but is not in the preset motion state, the mobile terminal can be stolen by a thief and is in the motion state, and the mobile terminal is still in the unlocked state, the information of the user can be stolen, so that even if the mobile terminal even sends alarm information, the privacy of the user and the mobile terminal can be well protected.
It should be noted that, the above steps are parts of detailed description, and reference may be made to the foregoing embodiments, which are not repeated herein, and the steps of the foregoing embodiments may also be applied to this embodiment.
Referring to fig. 17, a mobile terminal control apparatus 1700 according to an embodiment of the present application is shown, including: an unlocking unit 1701, a detection unit 1702, and a control unit 1703.
An unlocking unit 1701 is configured to respond to an unlocking request in a screen-locked state to unlock the mobile terminal.
A detecting unit 1702, configured to detect whether the mobile terminal is in a motion state after the mobile terminal is unlocked.
A control unit 1703, configured to control the mobile terminal to maintain an unlocked state in a motion period in which the mobile terminal is in the motion state.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 18, a mobile terminal 100 provided in the embodiment of the present application is shown, including: a memory 104 and a processor 102, the memory 104 coupled with the processor 102; the memory 104 stores instructions that, when executed by the processor 102, cause the processor 102 to perform the above-described method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring again to fig. 1-10, based on the above method and apparatus, the present application further provides an electronic device, which may be any one of various types of computer system devices (various aspects are shown in fig. 1-10 for illustrative purposes only) that is mobile or portable and performs wireless communication. In particular, the electronic apparatus may be a mobile phone or a smart phone (e.g., iPhone (TM) -based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), Gameboy Advance (TM), iPhone (TM)), a laptop, a PDA, a Portable internet appliance, a music player and a data storage device, other handheld devices and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, etc., and other wearable devices (e.g., electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving picture experts group (MPEG-1 or MPEG-2) audio layer 3(MP3) players, portable medical devices, and digital cameras and combinations thereof.
In some cases, the electronic device may perform a variety of functions (e.g., playing music, displaying video, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus may be a portable device such as a cellular telephone, media player, other handheld device, wristwatch device, pendant device, earpiece device, or other compact portable device.
The electronic device may be the mobile terminal 100 or 200, and specifically, the electronic device includes an electronic body 10, which corresponds to a terminal body, where the electronic body 10 includes a housing 12 and a main display 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the main display 120 generally includes a display panel 111, and may also include a circuit or the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
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. 19, the terminal device 100 includes one or more processors 102 (only one is shown), a memory 104, a communication module 106, an audio circuit 110, 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 Mobile Communication (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, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-11 Wireless Access (wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The camera 220 is used to capture images and pass them to the process 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 110, 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 110 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 110 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, motion sensors, pressure sensors, infrared heat sensors, distance sensors, attitude sensors, acceleration 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.
In particular, the light sensor may comprise a light line sensor. The light sensor can adjust the brightness of the screen according to the light of the environment where the mobile terminal is located. For example, in a well-lit area, the screen may be bright, whereas in a dark area, the screen may be dark (depending on the brightness setting of the screen), which both protects the eyes and saves power.
Among them, the pressure sensor may detect a pressure generated by pressing on the mobile terminal 100. That is, the pressure sensor detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Accordingly, the pressure sensor may be used to determine whether contact or pressing has occurred between the user and the mobile terminal 100, and the magnitude of the pressure.
Referring to fig. 1 to 10 again, in the embodiment shown in fig. 1 to 10, the light sensor and the pressure sensor are disposed adjacent to the display panel 111. The light sensor may turn off the display output by the processor 102 when an object is near the main display 120, for example, when the electronic body portion 10 is moved to the ear.
As one of the motion sensors, the acceleration sensor 114F can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the mobile terminal 100. In addition, the electronic body 10 may further be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein again.
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.
To sum up, the mobile terminal control method, the mobile terminal control device, the mobile terminal and the computer readable medium provided in the embodiments of the present application detect whether the mobile terminal is in a motion state after the mobile terminal is unlocked, and if so, indicate that the mobile terminal is being used after the mobile terminal is unlocked, control the mobile terminal to maintain the unlocked state within a motion time period in which the mobile terminal is in the motion state, so as to prevent a user from using the mobile terminal and locking a screen of the mobile terminal, so that the user frequently unlocks the mobile terminal, and thus, the user experience is improved.
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 mobile terminal control method is characterized in that the mobile terminal comprises a terminal body and a camera, the camera can move out 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;
after the identification is successful, unlocking the mobile terminal, and withdrawing the camera to the terminal main body;
after the mobile terminal is unlocked, detecting whether the mobile terminal is in a motion state;
under the condition that the mobile terminal is in a motion state, obtaining a motion track of the mobile terminal;
judging whether the motion track is matched with a preset motion track, wherein the preset motion track is bound with identity information of an appointed user, and the appointed user is a legal user of the mobile terminal;
if so, judging that the mobile terminal is in a preset motion state;
and in the time period when the mobile terminal is in the preset motion state, controlling the mobile terminal to keep an unlocking state and controlling the camera to be hidden in the terminal body.
2. The method of claim 1, further comprising:
and in a time period when the mobile terminal is not in the preset motion state, when a screen locking request is acquired, locking the screen of the mobile terminal based on the screen locking request.
3. The method according to claim 2, wherein the locking the screen of the mobile terminal based on the screen locking request when the screen locking request is acquired in a time period in which the mobile terminal is not in the preset motion state includes:
detecting whether the mobile terminal is in a held state or not in a time period when the mobile terminal is not in the preset motion state;
if the holding state is in the holding state, acquiring a held parameter;
judging whether the held parameters meet preset standards;
if so, locking the screen of the mobile terminal based on the screen locking request when the screen locking request is obtained;
and if not, directly locking the screen of the mobile terminal.
4. The method according to claim 3, wherein directly locking the mobile terminal if not satisfied comprises:
if not, the mobile terminal is directly locked and alarm information is sent out.
5. A mobile terminal control device, characterized in that, the mobile terminal includes a terminal body and a camera, the camera can move out and withdraw relative to the terminal body, the device includes:
the unlocking unit is used for responding to an unlocking request in a screen locking state, controlling the camera to extend out of the terminal main body, collecting a face image, carrying out face recognition, unlocking the mobile terminal after the face image is successfully recognized, and recovering the camera to the terminal main body;
the mobile terminal comprises a detection unit, a judgment unit and a processing unit, wherein the detection unit is used for detecting whether the mobile terminal is in a motion state or not after the mobile terminal is unlocked, acquiring a motion track of the mobile terminal under the condition that the mobile terminal is in the motion state, judging whether the motion track is matched with a preset motion track or not, the preset motion track is bound with identity information of an appointed user, the appointed user is a legal user of the mobile terminal, and if the preset motion track is matched with the preset motion track, judging that the mobile terminal is in the preset motion state;
and the control unit is used for controlling the mobile terminal to keep an unlocking state and controlling the camera to be hidden in the terminal body in a time period when the mobile terminal is in the preset motion state.
6. A mobile terminal comprising a memory and a processor, the memory coupled to the processor; the memory stores instructions that, when executed by the processor, perform the method of any of claims 1-4.
7. A computer-readable storage medium having program code stored therein, the program code being invoked by a processor to perform the method of any of claims 1-4.
CN201810813991.3A 2018-07-23 2018-07-23 Mobile terminal control method and device, mobile terminal and computer readable medium Expired - Fee Related CN109116983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810813991.3A CN109116983B (en) 2018-07-23 2018-07-23 Mobile terminal control method and device, mobile terminal and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810813991.3A CN109116983B (en) 2018-07-23 2018-07-23 Mobile terminal control method and device, mobile terminal and computer readable medium

Publications (2)

Publication Number Publication Date
CN109116983A CN109116983A (en) 2019-01-01
CN109116983B true CN109116983B (en) 2021-10-22

Family

ID=64862427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810813991.3A Expired - Fee Related CN109116983B (en) 2018-07-23 2018-07-23 Mobile terminal control method and device, mobile terminal and computer readable medium

Country Status (1)

Country Link
CN (1) CN109116983B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244894A (en) * 2019-06-19 2019-09-17 清华大学 A kind of control method of screen locking, device, handheld terminal and storage medium
CN113190103A (en) * 2020-01-14 2021-07-30 北京小米移动软件有限公司 Terminal device, motion detection method and device of image acquisition module and storage medium
CN111459367B (en) * 2020-04-03 2022-04-22 维沃移动通信有限公司 Display method and electronic equipment
CN111913637B (en) * 2020-08-28 2024-01-02 平安国际智慧城市科技股份有限公司 Component operation control method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135850A (en) * 2010-12-06 2011-07-27 华为终端有限公司 Handheld terminal equipment and automatic unlocking method thereof
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal
CN103513757A (en) * 2012-06-27 2014-01-15 中国移动通信集团公司 Method, device and terminal for detecting handholding state of user
CN107872561A (en) * 2016-09-27 2018-04-03 中兴通讯股份有限公司 A kind of terminal screen management method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9419971B2 (en) * 2014-07-08 2016-08-16 International Business Machines Corporation Securely unlocking a device using a combination of hold placement and gesture
US20160050308A1 (en) * 2014-08-13 2016-02-18 Chang Liu Movement-based, user identity authenticated unlocking and locking triggers for smartphones and wearable mobile devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135850A (en) * 2010-12-06 2011-07-27 华为终端有限公司 Handheld terminal equipment and automatic unlocking method thereof
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal
CN103513757A (en) * 2012-06-27 2014-01-15 中国移动通信集团公司 Method, device and terminal for detecting handholding state of user
CN107872561A (en) * 2016-09-27 2018-04-03 中兴通讯股份有限公司 A kind of terminal screen management method and device

Also Published As

Publication number Publication date
CN109116983A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN106850938B (en) Mobile terminal and control method thereof
US9285989B2 (en) Mobile terminal and method of controlling the same
EP3101882B1 (en) Display device and controlling method thereof
EP3100133B1 (en) Buttonless display activation
US8935637B2 (en) Mobile terminal and method for operating the mobile terminal
EP3637225B1 (en) Display processing method and apparatus
US9575589B2 (en) Mobile terminal and control method thereof
CN109116983B (en) Mobile terminal control method and device, mobile terminal and computer readable medium
US8761590B2 (en) Mobile terminal capable of providing multiplayer game and operating method thereof
KR102351500B1 (en) Mobile terminal and method for controlling the same
CN108388414B (en) Screen-off control method and device for terminal, computer-readable storage medium and terminal
EP2385700A2 (en) Mobile terminal and operating method thereof
CN103389863B (en) A kind of display control method and device
CN108495045B (en) Image capturing method, image capturing apparatus, electronic apparatus, and storage medium
CN108920922B (en) Unlocking method, device, mobile terminal and computer readable medium
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
KR20160073861A (en) Portable apparatus and method for controlling a location information
EP3247170B1 (en) Mobile terminal
CN108391058B (en) Image capturing method, image capturing apparatus, electronic apparatus, and storage medium
WO2019000287A1 (en) Icon display method and device
CN106406530B (en) Screen display method and mobile terminal thereof
CN104238900B (en) A kind of page positioning method and device
CN109101119B (en) Terminal control method and device and mobile terminal
KR20180005521A (en) Mobile terminal and method for controlling the same
TW201606566A (en) A terminal and a method of controlling the same

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: 20211022

CF01 Termination of patent right due to non-payment of annual fee