Mobile terminal standby method, device thereof, and medium
AssigneeXiaomi Inc.
InventorXinqiu Xia
Life of this patent
Estimating the term…
Abstract
A method for enabling a mobile terminal to be on standby includes determining that a movement speed of the mobile terminal is greater than a preset speed, judging whether the mobile terminal is within a driver's area in an automobile, and enabling the mobile terminal to enter into a standby state if the mobile terminal is within the driver's area.
Claims9
A method for enabling a mobile terminal to be on standby, comprising:
- determining whether the mobile terminal is in an operation state, wherein determining whether the mobile terminal is in the operation state includes determining at least one of:
- the mobile terminal being operated by a user, a call request being accessed, and a short message being generated;
- determining that a movement speed of the mobile terminal is greater than a preset speed;
- judging whether the mobile terminal is within a driver's area in an automobile, wherein the judging includes:
- generating a picture by one of a front camera or a back camera, comparing the generated picture with a pre-stored picture of a corresponding position, and judging that a location of the mobile terminal is within the driver's area, if a picture similarity between the generated picture and the pre-stored picture of the corresponding position is greater than a preset threshold;
- and
- enabling the mobile terminal to enter into a standby state, if the mobile terminal is within the driver's area,
- wherein the comparing of the generated picture with the pre-stored picture includes:
- searching for a similar-shape object in the generated picture, the similar-shape object having a shape similarity with respect to a key reference object in the pre-stored picture that is greater than a first threshold;
- determining a location similarity of the similar-shape object with respect to the key reference object;
- and
- determining the picture similarity according to the shape similarity and the location similarity, and
- wherein the pre-stored picture is taken and stored in advance and includes at least one of a left-front view when looking forward from a left-driver position of a left-hand drive automobile, a right-front view when looking forward from a right-driver position in a right-hand drive automobile, a left-rear view when looking backward from the left-driver position, and a right-rear view when looking backward from the right-driver position, and
- the comparing of the generated picture with the pre-stored picture includes:
- determining, according to a type of a current network to which the mobile terminal is connected, a region in which the mobile terminal is located to be one of a left-hand drive region or a right-hand drive region;
- comparing a first camera photo taken by the front camera with the left-front view and comparing a second camera photo taken by the rear camera with the left-rear view, if the region is the left-hand drive region;
- and
- comparing the first camera photo with the right-front view and comparing the second camera photo with the right-rear view, if the region is the right-hand drive region.
A device for enabling a mobile terminal to be on standby, comprising:
- a processor;
- and
- a non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the processor to:
- determine whether the mobile terminal is in an operation state, wherein determining whether the mobile terminal is in the operation state includes determining at least one of:
- the mobile terminal being operated by a user, a call request being accessed, and a short message being generated;
- determine that a movement speed of the mobile terminal is greater than a preset speed;
- judge whether the mobile terminal is within a driver's area in an automobile by:
- generating a picture by one of a front camera or a back camera, comparing the generated picture with a pre-stored picture of a corresponding position, and judging that a location of the mobile terminal is within the driver's area, if a picture similarity between the generated picture and the pre-stored picture of the corresponding position is greater than a preset threshold;
- and
- enable the mobile terminal to enter into a standby state, if the mobile terminal is within the driver's area,
- wherein, in comparing the generated picture with the pre-stored picture, the instructions further cause the processor to:
- search for a similar-shape object in the generated picture, the similar-shape object having a shape similarity with respect to a key reference object in the pre-stored picture that is greater than a first threshold;
- determine a location similarity of the similar-shape object with respect to the key reference object;
- and
- determine the picture similarity according to the shape similarity and the location similarity, and
- wherein the pre-stored picture is taken and stored in advance and includes at least one of a left-front view when looking forward from a left-driver position of a left-hand drive automobile, a right-front view when looking forward from a right-driver position in a right-hand drive automobile, a left-rear view when looking backward from the left-driver position, and a right-rear view when looking backward from the right-driver position, and
- in comparing the generated picture with the pre-stored picture, the instructions further cause the processor to:
- determine, according to a type of a current network to which the mobile terminal is connected, a region in which the mobile terminal is located to be one of a left-hand drive region or a right-hand drive region;
- compare a first camera photo taken by the front camera with the left-front view and comparing a second camera photo taken by the rear camera with the left-rear view, if the region is the left-hand drive region;
- and
- compare the first camera photo with the right-front view and comparing the second camera photo with the right-rear view, if the region is the right-hand drive region.
A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors in a terminal, cause the one or more processors to:
- determine whether the mobile terminal is in an operation state, wherein determining whether the mobile terminal is in the operation state includes determining at least one of:
- the mobile terminal being operated by a user, a call request being accessed, and a short message being generated;
- determine that a movement speed of the mobile terminal is greater than a preset speed;
- judge whether the mobile terminal is within a driver's area in an automobile by:
- generating a picture by a front camera and/or a back camera, comparing the generated picture with a pre-stored picture of a corresponding position, and judging that the location of the mobile terminal is within the driver's area, if a picture similarity between the generated picture and the pre-stored picture of the corresponding position is greater than a preset threshold;
- and
- enable the mobile terminal to enter into a standby state, if the mobile terminal is within the driver's area,
- wherein, in comparing the generated picture with the pre-stored picture, the instructions further cause the processor to:
- search for a similar-shape object in the camera photo, the similar-shape object having a shape similarity with respect to a key reference object in the pre-stored picture that is greater than a first threshold;
- determine a location similarity of the similar-shape object with respect to the key reference object;
- and
- determine the picture similarity according to the shape similarity and the location similarity, and
- wherein the pre-stored picture is taken and stored in advance and includes at least one of a left-front view when looking forward from a left-driver position of a left-hand drive automobile, a right-front view when looking forward from a right-driver position in a right-hand drive automobile, a left-rear view when looking backward from the left-driver position, and a right-rear view when looking backward from the right-driver position, and
- in comparing the generated picture with the pre-stored picture, the instructions further cause the processor to:
- determine, according to a type of a current network to which the mobile terminal is connected, a region in which the mobile terminal is located to be one of a left-hand drive region or a right-hand drive region;
- compare a first camera photo taken by the front camera with the left-front view and comparing a second camera photo taken by the rear camera with the left-rear view, if the region is the left-hand drive region;
- and
- compare the first camera photo with the right-front view and comparing the second camera photo with the right-rear view, if the region is the right-hand drive region.
Dependencies are inferred from the claim text.