CN104636037B - A kind of method and apparatus for adjusting the screen locking time in a mobile device - Google Patents

A kind of method and apparatus for adjusting the screen locking time in a mobile device Download PDF

Info

Publication number
CN104636037B
CN104636037B CN201510031374.4A CN201510031374A CN104636037B CN 104636037 B CN104636037 B CN 104636037B CN 201510031374 A CN201510031374 A CN 201510031374A CN 104636037 B CN104636037 B CN 104636037B
Authority
CN
China
Prior art keywords
screen locking
mobile device
distance
information
user
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.)
Active
Application number
CN201510031374.4A
Other languages
Chinese (zh)
Other versions
CN104636037A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510031374.4A priority Critical patent/CN104636037B/en
Publication of CN104636037A publication Critical patent/CN104636037A/en
Application granted granted Critical
Publication of CN104636037B publication Critical patent/CN104636037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present invention provides a kind of methods for adjusting the screen locking time in a mobile device, wherein this method comprises: obtaining the distance between the mobile device and user information when the mobile device is in the unlocked state;According to the range information, the screen locking time is adjusted, wherein the screen locking time instruction executes screen locking operation, described user for triggering the mobile device automatically and continues the time span for not operating the mobile device.According to the method for the present invention, can be according to the distance between mobile device and user information, dynamically to adjust the screen locking time, and support portable equipment entrained by manual operation user simultaneously so that mobile device adjusts the screen locking time or is immediately performed screen locking operation.

Description

A kind of method and apparatus for adjusting the screen locking time in a mobile device
Technical field
The present invention relates to field of computer technology more particularly to a kind of for adjusting the side of screen locking time in a mobile device Method and device.
Background technique
In the prior art, the screen locking time of mobile device is usually to default.If user wishes to change the screen locking time, use Family is only capable of being selected in multiple predetermined screen locking times (such as 2 minutes, 5 minutes, 10 minutes, 15 minutes) provided by mobile device It selects, the selected predetermined screen locking time is set as to the screen locking time of mobile device.
Summary of the invention
The object of the present invention is to provide a kind of method and apparatus for adjusting the screen locking time in a mobile device.
According to an aspect of the present invention, a kind of method for adjusting the screen locking time in a mobile device is provided, wherein This method comprises:
When the mobile device is in the unlocked state, the distance between the mobile device and user information are obtained;
According to the range information, the screen locking time is adjusted, wherein the screen locking time instruction is set for triggering the movement Standby automatic execution screen locking operation, described user continues the time span for not operating the mobile device.
According to another aspect of the present invention, it additionally provides a kind of for adjusting the dress of screen locking time in a mobile device It sets, wherein the device includes:
For obtaining the distance between the mobile device and user information when the mobile device is in the unlocked state Device;
For adjusting the device of screen locking time according to the range information, wherein the screen locking time instruction is for triggering The mobile device executes screen locking operation, described user automatically and continues the time span for not operating the mobile device.
Compared with prior art, the invention has the following advantages that 1) mobile device can based on the mobile device and user it Between range information, without being manually arranged, be also not necessarily limited in mobile device dynamically to adjust the screen locking time Provided multiple predetermined screen locking times select;2) when mobile device apart from user is closer or opposite user by as far as When closely being moved, the number that mobile device executes screen locking and unlock operation can be reduced by extending the screen locking time, to save The about operation of user and time;3) when mobile device apart from user farther out or relative to user by closely to far move when, can Screen locking operation is executed in time by shortening the screen locking time, to preferably guarantee that mobile device is in security context;4) energy Enough based on the connection entrained by user between portable equipment and mobile device, more accurately to determine mobile device and user The distance between information;5) screen locking time or immediately can be adjusted based on the screen locking relevant instruction information from portable equipment Execute screen locking operation, thus support dynamic adjustment the screen locking time while, also support by manual operation portable equipment come So that mobile device adjusts the screen locking time or is immediately performed screen locking operation.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the process signal of the method for adjusting the screen locking time in a mobile device of one embodiment of the invention Figure;
Fig. 2 is a preferred embodiment of embodiment illustrated in fig. 1 for adjusting screen locking time or immediately in a mobile device Execute the flow diagram of the method for screen locking operation;
Fig. 3 is the structural representation of the device for adjusting the screen locking time in a mobile device of one embodiment of the invention Figure;
Fig. 4 is a preferred embodiment of embodiment illustrated in fig. 3 for adjusting screen locking time or immediately in a mobile device Execute the structural schematic diagram of the device of screen locking operation.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
Present invention is further described in detail with reference to the accompanying drawing.
Fig. 1 is the process signal of the method for adjusting the screen locking time in a mobile device of one embodiment of the invention Figure.
Wherein, the method for the present embodiment is mainly realized by mobile device;Wherein, the mobile device includes but unlimited In tablet computer, smart phone, PDA etc..
It should be noted that the mobile device is only for example, other mobile devices that are existing or being likely to occur from now on It is such as applicable to the present invention, should also be included within the scope of protection of the present invention, and is incorporated herein by reference.
Method according to the present embodiment includes step S1 and step S2.
In step sl, mobile device obtains the distance between the mobile device and user information.Preferably, mobile device When in the unlocked state, step S1 is executed.
Wherein, the range information includes any and the distance between mobile device and user relevant information;Preferably, institute Stating range information includes but is not limited to:
1) the distance between mobile device and user length information.
Wherein, the distance length information includes any letter for being used to indicate the distance between mobile device and user length Breath.Preferably, the distance length information can have multiform expression;For example, the distance length information is one specific Distance angle value (such as 10cm, 20cm);In another example the distance length information is that a distance level scale is (such as remote, close, suitable It is medium).
2) the distance between mobile device and user variation tendency information.
Wherein, the distance change tendency information includes that any the distance between mobile device and user of being used to indicate changes The information of trend.Preferably, the distance change tendency information be used to indicate mobile device with respect to user mobile trend (such as by As far as it is close, by closely to remote etc.).
It should be noted that above-mentioned range information is only for example, rather than limitation of the present invention, those skilled in the art answer It can understand, any information for being used to indicate the distance between mobile device and user should be included in the range of the range information It is interior.
Specifically, mobile device obtains the implementation of the distance between the mobile device and user information and includes but unlimited In:
1) mobile device is detected based on thermoinduction, obtains the distance between mobile device and user information.
For example, mobile device carries out thermoinduction detection by thermal infrared sensor, to obtain between mobile device and user Range information.
2) information exchange between the portable equipment that mobile device is carried according to user, obtain the mobile device with The distance between user information, the range information of the acquisition may include the distance between mobile device and user length information and/ Or the distance between mobile device and user variation tendency information.
Wherein, the portable equipment include it is any can be by the portable equipment of user.Preferably, described carry sets Standby including but not limited to wearable device, such as smartwatch, Intelligent bracelet.
Wherein, a variety of connection types can be used between mobile device and the portable equipment, such as bluetooth, WI-FI, red Outside, NFC (Near Field Communication, near-field communication) etc..
Specifically, the information exchange between portable equipment that mobile device is carried according to user, obtains the movement The implementation of the distance between equipment and user information includes but is not limited to:
A) mobile device is directly extracted from from the information of portable equipment based on the connection between portable equipment The range information.
For example, portable equipment has the function of the distance between determining and mobile device information.Mobile device be based on Bluetooth connection between portable equipment, receive the information from portable equipment, and from the information extract mobile device with The distance between user information.
B) signal that mobile device is emitted by detecting portable equipment, determines the range information.
For example, mobile device and portable equipment use infrared connection mode.Mobile device is sent out by portable equipment The intensity for the infrared signal penetrated, to determine the distance between mobile device and user information.
In another example mobile device and portable equipment use WI-FI connection type.Mobile device passes through portable equipment institute The radio wave signal of transmitting, to determine the distance between mobile device and user information.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any implementation for obtaining the distance between the mobile device and user information, It should within the scope of the present invention.
As a kind of preferred embodiment of step S1, the range information includes distance length information and distance change trend letter Breath, the step S1 further comprises step S11 and step S12.
In step s 11, mobile device obtains the distance between the mobile device and user length information.Wherein, it moves Dynamic equipment can be used various ways and obtain the distance between the mobile device and user length information.
Specifically, mobile device obtains the implementation of the distance between the mobile device and user length information with before State mobile device obtain the distance between the mobile device and user information implementation it is same or similar, it is no longer superfluous herein It states.
For example, mobile device is detected based on thermoinduction, the distance between mobile device and user length information are obtained.
In another example the information exchange between the portable equipment that mobile device is carried according to user, obtains the movement The distance between equipment and user length information.Such as, mobile device is based on the connection between portable equipment, directly from coming from The distance length information is extracted in the information of portable equipment;For another example, mobile device is emitted by detecting portable equipment Wireless signal, determine the distance length information.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any realization for obtaining the distance between the mobile device and user length information Mode should be included in the scope of the present invention.
In step s 12, mobile device determines between the mobile device and user according to the distance length information Distance change tendency information.
Preferably, mobile device can be based on multiple acquired distance length information recently, to determine mobile device and use The distance between family variation tendency information.
For example, the acquired twice recently distance length information of mobile device is in chronological order successively are as follows: 6cm, 10cm.Then In step s 12, mobile device determines the distance between the mobile device and user variation tendency information, and this it is determined away from From variation tendency information instruction mobile device relative to user by closely to far moving.
In another example the acquired twice recently distance length information of mobile device is in chronological order successively are as follows: moderate, close. Then in step s 12, mobile device determines the distance between the mobile device and user variation tendency information, this it is determined away from It is moved from far near from variation tendency information instruction mobile device relative to user.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to the distance length information, it determines between the mobile device and user Distance change tendency information implementation, should be included in the scope of the present invention.
It should be noted that above-mentioned steps S12 is the optional step of the preferred embodiment, mobile device can only execute above-mentioned step Rapid S11 obtains the distance length information, as the distance between mobile device and user information.
In step s 2, mobile device adjusts the screen locking time according to the distance between mobile device and user information.
Wherein, the screen locking time instruction executes screen locking operation, described user for triggering the mobile device automatically Continue the time span for not operating the mobile device.For example, the screen locking time is 5 minutes, if then user continues not operate for 5 minutes Mobile device, mobile device execute screen locking operation automatically.It should be noted that in general, being provided with default screen locking in mobile device Time.
Specifically, mobile device adjusts the realization side of screen locking time according to the distance between mobile device and user information Formula includes but is not limited to:
1) range information includes the distance between mobile device and user length information, distance length information instruction Distance it is longer, the screen locking time is shorter, and the distance of distance length information instruction is shorter, and the screen locking time is longer.
Specifically, in this implementation, mobile device can be used various ways according between mobile device and user away from From length information, the screen locking time is adjusted.
As an example, the distance that the distance length information indicates is compared by mobile device with preset distance, When the distance is greater than the preset distance, the screen locking time of default is shortened into predetermined time length;When the distance is less than When the preset distance, the screen locking time of default is extended into predetermined time length.
For example, the screen locking time of default is 5 minutes, predetermined time length is 2 minutes.If distance length information instruction away from From for 15cm, preset distance 10cm, mobile device determines that the distance of distance length information instruction is greater than preset distance, then moves The screen locking time of default is shortened 2 minutes by equipment, is also adjusted to the screen locking time 3 minutes from 5 minutes.
In another example the screen locking time of default is 5 minutes, predetermined time length is 2 minutes.If the instruction of distance length information Distance is distance level scale " close ", and preset distance is distance level scale " moderate ", then mobile device determines the instruction of distance length information Distance is less than preset distance, then mobile device will default screen locking time extension 2 minutes, also adjusts the screen locking time from 5 minutes It is 7 minutes.
As another example, screen locking time of the mobile device according to the distance length information and default, adjustment lock Shield the time.
For example, the distance of distance length information instruction is a specific distance angle value, mobile device is based on following public affairs Formula determines the screen locking time adjusted according to the screen locking time of distance length information and default, and executes adjustment operation:
T=T0+(L-10)/2
Wherein, T0For the screen locking time of default, T is the screen locking time adjusted, L be indicated by distance length information away from From.
As a kind of preferred embodiment of this implementation, the invention also includes following steps: when according to the distance length When information determines the distance between the mobile device and the user beyond predetermined maximal distance, it is immediately performed screen locking operation.
For example, predetermined maximal distance is 2m.When determining the distance between mobile device and user according to distance length information When more than 2m, mobile device is immediately performed screen locking operation.
Preferably, if in step sl, mobile device obtains movement according to the information exchange between portable equipment The distance between equipment and user length information, then the predetermined maximal distance be preferably mobile device and portable equipment it Between the maximum distance supported of connection type (when the distance between mobile device and the user are beyond the predetermined maximal distance When, can be considered and be not connected between mobile device and portable equipment).
2) range information includes the distance between mobile device and user variation tendency information, when the distance change When tendency information indicates that the mobile device moves from far near relative to user, extend the screen locking time of mobile device;When The distance change tendency information indicates the mobile device relative to user by closely to when far moving, shortening mobile device The screen locking time.
For example, being moved when distance change tendency information indicates that the mobile device moves from far near relative to user The screen locking time of default is extended predetermined time length by dynamic equipment;When distance change tendency information indicates that the mobile device is opposite User is by closely to when far moving, the screen locking time of default is shortened predetermined time length by mobile device.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to the range information, the implementation of screen locking time is adjusted, should all be wrapped Containing within the scope of the invention.
As a kind of preferred embodiment of the present embodiment, the method for the present embodiment further includes step S3 and step S4, such as Fig. 2 institute Show.
In step s3, mobile device receives the screen locking relevant instruction information from portable equipment.
Wherein, the screen locking relevant instruction information includes that any screen locking to mobile device operates relevant command information. Preferably, the screen locking relevant instruction information includes but is not limited to the information for being used to indicate the screen locking time, is used to indicate and locks immediately The command information of screen is used to indicate the command information for keeping the command information of unlock, being used to indicate extension or shortening screen locking time Deng.
Specifically, mobile device receives the screen locking from the portable equipment based on the connection between portable equipment Relevant instruction information.
In step s 4, mobile device adjusts the screen locking time or is immediately performed screen locking behaviour according to screen locking relevant instruction information Make.
Wherein, the operation for adjusting the screen locking time or being immediately performed screen locking operation includes at least one of the following:
1) when screen locking relevant instruction information indicates screen locking immediately, it is immediately performed screen locking operation.
2) when screen locking relevant instruction information indicates to keep unlock, the screen locking time is adjusted to keep unlocked state.
For example, the screen locking time is adjusted to infinitely great by mobile device when the instruction of screen locking relevant instruction information keeps unlock, with Keep unlocked state.
3) when screen locking relevant instruction information indicates to extend or shorten the screen locking time, when correspondingly extending or shortening screen locking Between.
For example, presetting delay length in mobile device is 2 minutes, and the current screen locking time of mobile device is 5 points Clock, then when screen locking relevant instruction information, which is used to indicate, extends the screen locking time, the screen locking time is extended for 7 minutes by mobile device.
In another example the current screen locking time of mobile device is 5 minutes, when screen locking relevant instruction information indicates to extend screen locking Between, and delay length be 3 minutes when, the screen locking time is extended for 8 minutes by mobile device.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System adjusts screen locking time or immediately it should be appreciated by those skilled in the art that any according to the screen locking relevant instruction information The implementation for executing screen locking operation, should be included in the scope of the present invention.
Currently, user usually carries out screen locking on their mobile devices and unlocks relevant setting, to protect the individual of user Privacy.
In the prior art, the screen locking time of mobile device is manually arranged by user;Also, user is only capable of in movement It is selected in multiple predetermined screen locking times (such as 2 minutes, 5 minutes, 10 minutes, 15 minutes) provided by equipment, it will be selected The predetermined screen locking time selected is set as the screen locking time of mobile device.
Therefore, because above situation, there are such a inertial thinkings by those skilled in the art: if user wishes change lock Shield the time, then user must be manually arranged in a mobile device, to adjust the screen locking time;If wanting to reduce in mobile device Screen locking and unlock the time it takes, then mobile device is needed using the unlocking manner that can more rapidly unlock.
In addition, in the prior art, there are a variety of unlocking manners, such as unlocked by fingerprint, nine grids to unlock, regardless of which kind of is Unlocking manner is required to take some time.However, the probability used in daily life with mobile device is increasingly Greatly, mobile device needs to be performed a plurality of times daily screen locking and unlock operation, and user is required a great deal of time daily to execute Operation (such as finger scan, input password) is to unlock mobile device.
The present invention has broken the above-mentioned inertial thinking of those skilled in the art.And following ask exists in the prior art Topic: under certain scene, user is not intended to mobile device to execute screen locking operation, for example, when user uses mobile device exhibition When showing content, user wishes that mobile device can keep unlocked state whithin a period of time.
According to the solution of the present invention, mobile device can be based on the distance between the mobile device and user information, carry out dynamic The adjustment screen locking time is also not necessarily limited to multiple pre- locks provided by mobile device without being manually arranged The screen time select;It, can also, when mobile device is closer or when moving from far near relative to user apart from user By extend the screen locking time come reduce mobile device execute screen locking and unlock operation number, thus save user operation and when Between;When mobile device apart from user farther out or relative to user by closely to far move when, can by shorten the screen locking time come Screen locking operation is executed in time, to preferably guarantee that mobile device is in security context.
In addition, the scheme of the present embodiment can be based on the portable equipment entrained by user and the company between mobile device It connects, more accurately to determine the distance between mobile device and user information.Also, the scheme of the present embodiment can be based on coming from The screen locking relevant instruction information of portable equipment operates to adjust the screen locking time or be immediately performed screen locking, thus supporting dynamic to adjust While the whole screen locking time, also support through manual operation portable equipment come so that mobile device adjusts screen locking time or immediately Execute screen locking operation.
Fig. 3 is the structural representation of the device for adjusting the screen locking time in a mobile device of one embodiment of the invention Figure.It includes for obtaining that this, which is used to adjust the device (hereinafter referred to as " screen locking adjustment device ") of screen locking time in a mobile device, The device (hereinafter referred to as " acquisition device 1 ") of the distance between the mobile device and user information and for according to institute Range information is stated, the device (hereinafter referred to as " the first adjustment device 2 ") of screen locking time is adjusted.
Acquisition device 1 obtains the distance between mobile device and user information.Preferably, acquisition device 1 is in mobile device When in the unlocked state, the distance between the mobile device and user information are obtained.
Wherein, the range information includes any and the distance between mobile device and user relevant information;Preferably, institute Stating range information includes but is not limited to:
1) the distance between mobile device and user length information.
Wherein, the distance length information includes any letter for being used to indicate the distance between mobile device and user length Breath.Preferably, the distance length information can have multiform expression;For example, the distance length information is one specific Distance angle value (such as 10cm, 20cm);In another example the distance length information is that a distance level scale is (such as remote, close, suitable It is medium).
2) the distance between mobile device and user variation tendency information.
Wherein, the distance change tendency information includes that any the distance between mobile device and user of being used to indicate changes The information of trend.Preferably, the distance change tendency information be used to indicate mobile device with respect to user mobile trend (such as by As far as it is close, by closely to remote etc.).
It should be noted that above-mentioned range information is only for example, rather than limitation of the present invention, those skilled in the art answer It can understand, any information for being used to indicate the distance between mobile device and user should be included in the range of the range information It is interior.
Specifically, acquisition device 1 obtains the implementation of the distance between the mobile device and user information and includes but not It is limited to:
1) acquisition device 1 is detected based on thermoinduction, obtains the distance between mobile device and user information.
For example, acquisition device 1 carries out thermoinduction detection by thermal infrared sensor, to obtain between mobile device and user Range information.
2) acquisition device 1 includes for according to the information exchange between the portable equipment that carries of user, described in acquisition The device (hereinafter referred to as " the second sub- acquisition device ", not shown) of the distance between mobile device and user information.Second son Range information acquired in acquisition device may include the distance between mobile device and user length information and/or mobile device with The distance between user variation tendency information.
Wherein, the portable equipment include it is any can be by the portable equipment of user.Preferably, described carry sets Standby including but not limited to wearable device, such as smartwatch, Intelligent bracelet.
Wherein, a variety of connection types can be used between mobile device and the portable equipment, such as bluetooth, WI-FI, red Outside, NFC (Near Field Communication, near-field communication) etc..
Specifically, the information exchange between portable equipment that the second sub- acquisition device is carried according to user, obtains institute The implementation for stating the distance between mobile device and user information includes but is not limited to:
A) the second sub- acquisition device is based on the connection between portable equipment, directly from the information from portable equipment It is middle to extract the range information.
For example, portable equipment has the function of the distance between determining and mobile device information.Second sub- acquisition device Based on the bluetooth connection between portable equipment, the information from portable equipment is received, and extracts movement from the information The distance between equipment and user information.
B) signal that the second sub- acquisition device is emitted by detecting portable equipment, determines the range information.
For example, mobile device and portable equipment use infrared connection mode.Second sub- acquisition device is set by that can carry The intensity of the standby infrared signal emitted, to determine the distance between mobile device and user information.
In another example mobile device and portable equipment use WI-FI connection type.Second sub- acquisition device is by that can carry The radio wave signal that equipment is emitted, to determine the distance between mobile device and user information.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any implementation for obtaining the distance between the mobile device and user information, It should within the scope of the present invention.
As a kind of preferred embodiment of acquisition device 1, the range information includes that distance length information and distance change become Gesture information, the acquisition device 1 further comprise for obtaining the distance between the mobile device and user length information Device (hereinafter referred to as " the first sub- acquisition device ", not shown) and for described according to the distance length information, determining The device (hereinafter referred to as " determining device ", not shown) of the distance between mobile device and user variation tendency information.
First sub- acquisition device obtains the distance between mobile device and user length information.Wherein, the first son obtains dress It sets and various ways acquisition the distance between mobile device and user length information can be used.
Specifically, the first sub- acquisition device obtain the distance between mobile device and user length information implementation and The implementation that aforementioned acquisition device 1 obtains the distance between the mobile device and user information is same or similar, herein not It repeats again.
For example, the first sub- acquisition device is detected based on thermoinduction, the distance between mobile device and user length letter are obtained Breath.
In another example the information between the portable equipment that the first sub- acquisition device is carried according to mobile device and user is handed over Mutually, the distance between mobile device and user length information are obtained.Such as, the first sub- acquisition device is based on mobile device and can carry The distance length information is directly extracted in connection between equipment from from the information of portable equipment;For another example, the first son obtains The wireless signal for taking device to be emitted by detecting portable equipment, determines the distance length information.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any realization for obtaining the distance between the mobile device and user length information Mode should be included in the scope of the present invention.
Determining device determines the distance between the mobile device and user variation tendency according to the distance length information Information.
Preferably, determining device can be come true based on the nearest multiple acquired distance length information of the first sub- acquisition device Determine the distance between mobile device and user variation tendency information.
For example, the acquired twice recently distance length information of the first sub- acquisition device is in chronological order successively are as follows: 6cm, 10cm.Then determining device determines the distance between the mobile device and user variation tendency information, and the determined distance becomes Change tendency information instruction mobile device relative to user by closely to far moving.
In another example the acquired twice recently distance length information of the first sub- acquisition device is in chronological order successively are as follows: suitable In, it is close.Then determining device determines the distance between the mobile device and user variation tendency information, the determined distance change Tendency information instruction mobile device moves from far near relative to user.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to the distance length information, it determines between the mobile device and user Distance change tendency information implementation, should be included in the scope of the present invention.
It should be noted that the operation that above-mentioned determining device executes be the preferred embodiment can selection operation, can only above-mentioned the One sub- acquisition device executes operation to obtain the distance length information, as the distance between mobile device and user information.
The first adjustment device 2 adjusts the screen locking time according to the distance between mobile device and user information.
Wherein, the screen locking time instruction executes screen locking operation, described user for triggering the mobile device automatically Continue the time span for not operating the mobile device.For example, the screen locking time is 5 minutes, if then user continues not operate for 5 minutes Mobile device, mobile device execute screen locking operation automatically.It should be noted that in general, being provided with default screen locking in mobile device Time.
Specifically, the first adjustment device 2 adjusts the reality of screen locking time according to the distance between mobile device and user information Existing mode includes but is not limited to:
1) range information includes the distance between mobile device and user length information, distance length information instruction Distance it is longer, the screen locking time is shorter, and the distance of distance length information instruction is shorter, and the screen locking time is longer.
Specifically, in this implementation, various ways are can be used according between mobile device and user in the first adjustment device 2 Distance length information, adjust the screen locking time.
As an example, the distance and preset distance that the first adjustment device 2 indicates the distance length information carry out Compare, when the distance is greater than the preset distance, the screen locking time of default is shortened into predetermined time length;When the distance When less than the preset distance, the screen locking time of default is extended into predetermined time length.
For example, the screen locking time of default is 5 minutes, predetermined time length is 2 minutes.If distance length information instruction away from It is greater than preset distance from the distance for 15cm, preset distance 10cm, the determining distance length information instruction of the first adjustment device 2, Then the screen locking time of default is shortened 2 minutes by the first adjustment device 2, is also adjusted to the screen locking time 3 minutes from 5 minutes.
In another example the screen locking time of default is 5 minutes, predetermined time length is 2 minutes.If the instruction of distance length information Distance is distance level scale " close ", and preset distance is distance level scale " moderate ", then the first adjustment device 2 determines that distance length information refers to The distance shown is less than preset distance, then the first adjustment device 2 will default the screen locking time and extend 2 minutes, also i.e. by the screen locking time from 5 Minute is adjusted to 7 minutes.
As another example, the first adjustment device 2 is adjusted according to the screen locking time of the distance length information and default The whole screen locking time.
For example, distance length information instruction distance be a specific distance angle value, the first adjustment device 2 based on Lower formula determines the screen locking time adjusted according to the screen locking time of distance length information and default, and executes adjustment operation:
T=T0+(L-10)/2
Wherein, T0For the screen locking time of default, T is the screen locking time adjusted, L be indicated by distance length information away from From.
As a kind of preferred embodiment of this implementation, the screen locking adjustment device of the present embodiment further includes for when according to institute When stating distance length information and determining the distance between the mobile device and the user beyond predetermined maximal distance, it is immediately performed The device (hereinafter referred to as " screen locking device ", not shown) of screen locking operation.
For example, predetermined maximal distance is 2m.When determining the distance between mobile device and user according to distance length information When more than 2m, screen locking device is standby to be immediately performed screen locking operation.
Preferably, if acquisition device 1 obtains mobile device and user according to the information exchange between portable equipment The distance between length information, then the predetermined maximal distance is preferably the connection side between mobile device and portable equipment The maximum distance that formula is supported (when the distance between mobile device and the user exceed the predetermined maximal distance, can be considered It is not connected between mobile device and portable equipment).
2) range information includes the distance between mobile device and user variation tendency information, the first adjustment device 2 Including for extending when the distance change tendency information indicates that the mobile device moves from far near relative to user The device (hereinafter referred to as " extending device ", not shown) of the screen locking time of mobile device is used to work as the distance change trend Information indicates the mobile device relative to user by closely to when far moving, shortening the device of the screen locking time of mobile device (hereinafter referred to as " shortening device ", not shown).
For example, prolonging when distance change tendency information indicates that the mobile device moves from far near relative to user The screen locking time of default is extended predetermined time length by growth device;When distance change tendency information indicates that the mobile device is opposite User is by closely to when far moving, the screen locking time of default is shortened predetermined time length by shortening device.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to the range information, the implementation of screen locking time is adjusted, should all be wrapped Containing within the scope of the invention.
As a kind of preferred embodiment of the present embodiment, the screen locking adjustment device of the present embodiment further includes for receiving from institute State the device (hereinafter referred to as " reception device 3 ") of the screen locking relevant instruction information of portable equipment, for according to the screen locking Relevant instruction information adjusts the screen locking time or is immediately performed device (hereinafter referred to as " the second adjustment device of screen locking operation 4 "), as shown in Figure 4.
Reception device 3 receives the screen locking relevant instruction information from portable equipment.
Wherein, the screen locking relevant instruction information includes that any screen locking to mobile device operates relevant command information. Preferably, the screen locking relevant instruction information includes but is not limited to the information for being used to indicate the screen locking time, is used to indicate and locks immediately The command information of screen is used to indicate the command information for keeping the command information of unlock, being used to indicate extension or shortening screen locking time Deng.
Specifically, reception device 3 can be carried from this and be set based on the connection between mobile device and portable equipment, reception Standby screen locking relevant instruction information.
Second adjustment device 4 adjusts the screen locking time or is immediately performed screen locking operation according to screen locking relevant instruction information.
Wherein, the operation for adjusting the screen locking time or being immediately performed screen locking operation includes at least one of the following:
1) when screen locking relevant instruction information indicates screen locking immediately, it is immediately performed screen locking operation.
2) when screen locking relevant instruction information indicates to keep unlock, the screen locking time is adjusted to keep unlocked state.
For example, the screen locking time is adjusted to unlimited by second adjustment device 4 when the instruction of screen locking relevant instruction information keeps unlock Greatly, to keep unlocked state.
3) when screen locking relevant instruction information indicates to extend or shorten the screen locking time, when correspondingly extending or shortening screen locking Between.
For example, presetting delay length in mobile device is 2 minutes, and the current screen locking time of mobile device is 5 points Clock, then when screen locking relevant instruction information, which is used to indicate, extends the screen locking time, the screen locking time is extended for 7 by second adjustment device 4 Minute.
In another example the current screen locking time of mobile device is 5 minutes, when screen locking relevant instruction information indicates to extend screen locking Between, and delay length be 3 minutes when, the screen locking time is extended for 8 minutes by second adjustment device 4.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System adjusts screen locking time or immediately it should be appreciated by those skilled in the art that any according to the screen locking relevant instruction information The implementation for executing screen locking operation, should be included in the scope of the present invention.
Currently, user usually carries out screen locking on their mobile devices and unlocks relevant setting, to protect the individual of user Privacy.
In the prior art, the screen locking time of mobile device is manually arranged by user;Also, user is only capable of in movement It is selected in multiple predetermined screen locking times (such as 2 minutes, 5 minutes, 10 minutes, 15 minutes) provided by equipment, it will be selected The predetermined screen locking time selected is set as the screen locking time of mobile device.
Therefore, because above situation, there are such a inertial thinkings by those skilled in the art: if user wishes change lock Shield the time, then user must be manually arranged in a mobile device, to adjust the screen locking time;If wanting to reduce in mobile device Screen locking and unlock the time it takes, then mobile device is needed using the unlocking manner that can more rapidly unlock.
In addition, in the prior art, there are a variety of unlocking manners, such as unlocked by fingerprint, nine grids to unlock, regardless of which kind of is Unlocking manner is required to take some time.However, the probability used in daily life with mobile device is increasingly Greatly, mobile device needs to be performed a plurality of times daily screen locking and unlock operation, and user is required a great deal of time daily to execute Operation (such as finger scan, input password) is to unlock mobile device.
The present invention has broken the above-mentioned inertial thinking of those skilled in the art.And following ask exists in the prior art Topic: under certain scene, user is not intended to mobile device to execute screen locking operation, for example, when user uses mobile device exhibition When showing content, user wishes that mobile device can keep unlocked state whithin a period of time.
According to the solution of the present invention, mobile device can be based on the distance between the mobile device and user information, carry out dynamic The adjustment screen locking time is also not necessarily limited to multiple pre- locks provided by mobile device without being manually arranged The screen time select;It, can also, when mobile device is closer or when moving from far near relative to user apart from user By extend the screen locking time come reduce mobile device execute screen locking and unlock operation number, thus save user operation and when Between;When mobile device apart from user farther out or relative to user by closely to far move when, can by shorten the screen locking time come Screen locking operation is executed in time, to preferably guarantee that mobile device is in security context.
In addition, the scheme of the present embodiment can be based on the portable equipment entrained by user and the company between mobile device It connects, more accurately to determine the distance between mobile device and user information.Also, the scheme of the present embodiment can be based on coming from The screen locking relevant instruction information of portable equipment operates to adjust the screen locking time or be immediately performed screen locking, thus supporting dynamic to adjust While the whole screen locking time, also support through manual operation portable equipment come so that mobile device adjusts screen locking time or immediately Execute screen locking operation.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, this hair Specific integrated circuit (ASIC) can be used in bright each device or any other is realized similar to hardware device.In one embodiment In, software program of the invention can be executed to implement the above steps or functions by processor.Similarly, of the invention Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, some of the steps or functions of the present invention may be implemented in hardware, example Such as, as the circuit cooperated with processor thereby executing each step or function.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in system claims is multiple Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table Show title, and does not indicate any particular order.

Claims (18)

1. a kind of method for adjusting the screen locking time in a mobile device, wherein this method comprises:
Obtain the distance between the mobile device and user information;
According to the range information, the screen locking time is adjusted, wherein the screen locking time instruction is for triggering the mobile device certainly Dynamic execution screen locking operation, described user continues the time span for not operating the mobile device;
Wherein, the range information includes the distance between the mobile device and user variation tendency information, according to it is described away from From information, the step of adjusting the screen locking time, includes:
When the distance change tendency information indicates that the mobile device moves from far near relative to user, extend movement The screen locking time of equipment;
When the distance change tendency information indicates the mobile device relative to user by closely to when far moving, shortening movement The screen locking time of equipment.
2. according to the method described in claim 1, wherein, the range information further include:
The distance between the mobile device and user length information.
3. according to the method described in claim 2, wherein, the range information includes the distance length information, and it is described away from Longer with a distance from length information instruction, the screen locking time is shorter, and the distance of the distance length information instruction is shorter, described The screen locking time is longer.
4. according to the method in claim 2 or 3, wherein this method further include:
When according to the distance length information determine the distance between the mobile device and the user beyond it is predetermined maximum away from From when, be immediately performed screen locking operation.
5. according to the method in any one of claims 1 to 3, wherein obtain between the mobile device and user away from Include: from the step of information
Obtain the distance between the mobile device and user length information;
According to the distance length information, the distance between the mobile device and user variation tendency information are determined.
6. according to the method in any one of claims 1 to 3, wherein obtain between the mobile device and user away from Include: from the step of information
The information exchange between portable equipment carried according to user, obtains the distance between the mobile device and user Information.
7. according to the method described in claim 6, wherein, this method further include:
Receive the screen locking relevant instruction information from the portable equipment;
According to the screen locking relevant instruction information, adjusts the screen locking time or be immediately performed screen locking operation.
8. according to the method described in claim 7, wherein, adjusting the screen locking time or being immediately performed the operation packet of screen locking operation It includes at least one of following:
When the screen locking relevant instruction information indicates screen locking immediately, it is immediately performed screen locking operation;
When the screen locking relevant instruction information indicates to keep unlock, the screen locking time is adjusted to keep unlocked state;
When the screen locking relevant instruction information indicates to extend or shorten the screen locking time, correspondingly extends or shorten the screen locking time.
9. according to the method described in claim 6, wherein, the portable equipment includes wearable device.
10. a kind of for adjusting the device of screen locking time in a mobile device, wherein the device includes:
For obtaining the device of the distance between the mobile device and user information;
For adjusting the device of screen locking time according to the range information, wherein the screen locking time instruction is described for triggering Mobile device executes screen locking operation, described user automatically and continues the time span for not operating the mobile device;
Wherein, the range information includes the distance between the mobile device and user variation tendency information, for according to institute Range information is stated, the device of adjustment screen locking time includes:
For extending when the distance change tendency information indicates that the mobile device moves from far near relative to user The device of the screen locking time of mobile device;
For when the distance change tendency information indicate the mobile device with respect to user by closely to when far moving, shortening The device of the screen locking time of mobile device.
11. device according to claim 10, wherein the range information further include:
The distance between the mobile device and user length information.
12. device according to claim 11, wherein the range information includes the distance length information, and described The distance of distance length information instruction is longer, and the screen locking time is shorter, and the distance of the distance length information instruction is shorter, institute It is longer to state the screen locking time.
13. device according to claim 11 or 12, wherein the device further include:
Make a reservation for most for that ought determine that the distance between the mobile device and the user exceed according to the distance length information Greatly apart from when, be immediately performed screen locking operation device.
14. device according to any one of claims 10 to 12, wherein for obtain the mobile device and user it Between the device of range information include:
For obtaining the device of the distance between the mobile device and user length information;
For determining the dress of the distance between the mobile device and user variation tendency information according to the distance length information It sets.
15. device according to any one of claims 10 to 12, wherein for obtain the mobile device and user it Between the device of range information include:
For obtaining between the mobile device and user according to the information exchange between the portable equipment carried with user The device of range information.
16. device according to claim 15, wherein the device further include:
For receiving the device of the screen locking relevant instruction information from the portable equipment;
For according to the screen locking relevant instruction information, adjusting the screen locking time or being immediately performed the device of screen locking operation.
17. device according to claim 16, wherein adjust the screen locking time or be immediately performed the operation of screen locking operation It includes at least one of the following:
When the screen locking relevant instruction information indicates screen locking immediately, to be immediately performed screen locking operation;
When the screen locking relevant instruction information indicates to keep unlock, the screen locking time is adjusted to keep unlocked state;
When the screen locking relevant instruction information indicates to extend or shorten the screen locking time, correspondingly extends or shorten the screen locking time.
18. device according to claim 15, wherein the portable equipment includes wearable device.
CN201510031374.4A 2015-01-21 2015-01-21 A kind of method and apparatus for adjusting the screen locking time in a mobile device Active CN104636037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510031374.4A CN104636037B (en) 2015-01-21 2015-01-21 A kind of method and apparatus for adjusting the screen locking time in a mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510031374.4A CN104636037B (en) 2015-01-21 2015-01-21 A kind of method and apparatus for adjusting the screen locking time in a mobile device

Publications (2)

Publication Number Publication Date
CN104636037A CN104636037A (en) 2015-05-20
CN104636037B true CN104636037B (en) 2019-04-12

Family

ID=53214856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510031374.4A Active CN104636037B (en) 2015-01-21 2015-01-21 A kind of method and apparatus for adjusting the screen locking time in a mobile device

Country Status (1)

Country Link
CN (1) CN104636037B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549857B (en) * 2015-10-31 2018-12-25 东莞酷派软件技术有限公司 A kind of control method and electric terminal of electric terminal
CN105608396B (en) * 2015-11-16 2019-04-12 小米科技有限责任公司 The configuration method and device of screen-lock password
CN107305421A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 Standby controlling method and device
CN107193379B (en) * 2017-05-23 2021-01-26 努比亚技术有限公司 Application program starting method, terminal and computer readable storage medium
CN109005287B (en) * 2018-07-23 2021-02-09 Oppo广东移动通信有限公司 Terminal control method, device, mobile terminal and storage medium
CN111752455A (en) * 2020-06-24 2020-10-09 北京小米移动软件有限公司 Screen locking method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609661A (en) * 2012-02-17 2012-07-25 深圳市金立通信设备有限公司 Screen locking control system and method of intelligent equipment
CN102662816A (en) * 2012-03-21 2012-09-12 中兴通讯股份有限公司 Method and device for adjusting screen locking time as well as electronic terminal
CN102778950A (en) * 2012-06-14 2012-11-14 惠州Tcl移动通信有限公司 Screen unlocking method, screen unlocking system and mobile terminal
CN103164117A (en) * 2011-12-09 2013-06-19 富泰华工业(深圳)有限公司 External operating device, electronic device and delayed screen locking method thereof
CN103873641A (en) * 2012-12-10 2014-06-18 柳松 Method using distance sensor to make cellphone needless of touchscreen locking

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130045549A (en) * 2011-10-26 2013-05-06 삼성전자주식회사 Computing device and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164117A (en) * 2011-12-09 2013-06-19 富泰华工业(深圳)有限公司 External operating device, electronic device and delayed screen locking method thereof
CN102609661A (en) * 2012-02-17 2012-07-25 深圳市金立通信设备有限公司 Screen locking control system and method of intelligent equipment
CN102662816A (en) * 2012-03-21 2012-09-12 中兴通讯股份有限公司 Method and device for adjusting screen locking time as well as electronic terminal
CN102778950A (en) * 2012-06-14 2012-11-14 惠州Tcl移动通信有限公司 Screen unlocking method, screen unlocking system and mobile terminal
CN103873641A (en) * 2012-12-10 2014-06-18 柳松 Method using distance sensor to make cellphone needless of touchscreen locking

Also Published As

Publication number Publication date
CN104636037A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104636037B (en) A kind of method and apparatus for adjusting the screen locking time in a mobile device
CN112333332B (en) Prompt message display method and device and electronic equipment
EP2952856B1 (en) Method and apparatus for providing location information
US10645168B2 (en) Electronic device and controlling method thereof
KR102325737B1 (en) Device for Performing Communication and Method Thereof
US20170142589A1 (en) Method for adjusting usage policy and electronic device for supporting the same
US11032137B2 (en) Wearable electronic device, main electronic device, system and control method thereof
CN104123161B (en) The method that a kind of unlocking screen of utilization human eye fixation point and application start
EP2911377B1 (en) Method of providing preview image regarding display setting for device
CN104281793A (en) Password by touch-less gesture
US9794441B2 (en) Electronic device using composition information of picture and shooting method using the same
US20150257104A1 (en) Method for controlling beacon signal of electronic device and electronic device thereof
KR102380322B1 (en) Electronic device and method for performing wireless communication of the same
CN108293229A (en) The method for selecting external electronic device based on data traffic rate
CN105830085A (en) Portable terminal device
KR102190436B1 (en) Electronic device and method for transceiving data
US9646434B2 (en) Method and system for controlling access to a restricted location
KR20150138632A (en) Method and apparatus for providing the security function
DE102016105750A1 (en) Use a radio frequency identification tag to assess the battery level of a peripheral device
EP3287924B1 (en) Electronic device and method for measuring heart rate based on infrared rays sensor using the same
US20160105854A1 (en) Electronic device and method for controlling radiation power
KR20170066117A (en) ELECTRONIC DEVICE AND METHOD OF PROVIDING INFORMATION ABOUT THE AP((access point)
EP3082326A1 (en) Utilizing a radio frequency identification tag to control one or more operational states of a peripheral device
KR102305245B1 (en) User authorization method using smart band
CN107257408B (en) Main screen page display method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant