CN103425419B - Method of controlling operation thereof and electronic equipment - Google Patents
Method of controlling operation thereof and electronic equipment Download PDFInfo
- Publication number
- CN103425419B CN103425419B CN201210162908.3A CN201210162908A CN103425419B CN 103425419 B CN103425419 B CN 103425419B CN 201210162908 A CN201210162908 A CN 201210162908A CN 103425419 B CN103425419 B CN 103425419B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- state
- movement locus
- operating body
- input operation
- 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
Links
Abstract
This application discloses a kind of method of controlling operation thereof and electronic equipment, gather operating body when the electronic equipment is in the first state and movement locus caused by input operation is carried out to the electronic equipment, when the path of the movement locus meets predetermined condition, the electronic equipment is controlled to switch to the second state from first state;Said process does not limit the shape of the specific track of the movement locus, in other words, operating body inputs movement locus of different shapes to electronic equipment, as long as the path of these movement locus of different shapes meets the predetermined condition, the electronic equipment can control to switch to the second state from first state, so as to improve the operation flexibility ratio of the state of electronic equipment switching.
Description
Technical field
The application is related to touch induction technical field, more particularly to method of controlling operation thereof and electronic equipment.
Background technology
With the development of touch sensible technology, the daily life of people is progressed into using the electronic equipment of touch sensible technology
It is living, such as, touch sensible mobile phone, tablet personal computer, MP3 player, MP4 players, wireless networking sheet, portable computer etc..It is anti-
Only touch sensible equipment is surprisingly opened, or during holding state, screen is also at illuminating state and consumes electric energy, can be for a long time
Do not operate or touch sensible equipment is in locking working condition using specific function key.Locking work is in when needing to open
During touch sensible equipment under state, user needs to make touch sensible equipment be switched to by locking working condition by unlocking operation
Normal operating conditions.
However, existing unblock operation includes following several classes substantially:When:User is needed according to predetermined track or position
Mobile unlocking function key, for example, user need according to it is being shown on electronic equipment screen it has been specified that path slide release bar or
Person slide solution closing piece, when release bar or solution closing piece shown on electronic equipment screen it has been specified that path on reached pre-
Complete unblock in fixed position.Second,:User needs to release the locking working condition of touch sensible equipment by image information,
For example, user preset a figure be " Z " character, under screen lock state the input of user only meet that this presets
" Z " shape when can unlock.Therefore there is the problem of malfunction, convenience difference in existing above-mentioned unblock operation.
The content of the invention
In order to solve the above technical problems, the embodiment of the present application provides a kind of method of controlling operation thereof and electronic equipment, to solve
Malfunction existing for the unblock operation of existing touch sensible, the problem of convenience difference, technical scheme is as follows:
The application provides a kind of method of controlling operation thereof, and applied on an electronic equipment, the electronic equipment has the first shape
State and second state different from the first state, the electronic equipment has an instruction set, at the electronic equipment
When the first state, the electronic equipment is able to carry out the first subset of instructions in the instruction set, when the electronics
When equipment is in second state, the electronic equipment is able to carry out the second subset of instructions in the instruction set, wherein,
The number of first subset of instructions is less than the number of second subset of instructions, and the electronic equipment has a sensing unit,
Methods described includes:
When the electronic equipment is in the first state, operating body is obtained to the electronics by the sensing unit
Equipment carries out caused movement locus during input operation;
Judge whether the path of the movement locus meets predetermined condition, produce one and judge information;
When the judgement information shows that the path of the movement locus meets the predetermined condition, the electronics is controlled to set
It is standby to be switched to second state from the first state;
Wherein,
Produced by the operating body that the sensing unit is obtained carries out the first input operation to the electronic equipment
The first movement locus corresponding to path when meeting the predetermined condition, control the electronic equipment to switch from the first state
To second state;
Produced by the operating body that the sensing unit is obtained carries out the second input operation to the electronic equipment
The second movement locus corresponding to path when meeting the predetermined condition, control the electronic equipment to switch from the first state
To second state;First input operation is different from the second input operation.
Preferably, the path of the movement locus is that the input operation that the operating body is carried out to the electronic equipment produces
Movement locus total distance.
Preferably, the predetermined condition is not less than the first distance preset value for the total distance of the movement locus.
Preferably, before whether the path for judging the movement locus meets predetermined condition, in addition to:Obtain the behaviour
Make to operate duration corresponding to the input operation that body carries out the electronic equipment;
The path of the movement locus is to be moved caused by the input operation that the operating body is carried out to the electronic equipment
Difference between the total distance of track and the preset value associated with the operation duration of the operating body.
Preferably, the predetermined condition is the total distance of the movement locus and related to the operation duration of the operating body
Difference between the preset value of connection is not less than the second distance preset value.
Preferably, the first state of the electronic equipment is lock-out state, and second state is non-locking state.
The application also provides a kind of electronic equipment, and the electronic equipment has first state and the second state, the electronics
Equipment has an instruction set, and when the electronic equipment is in the first state, the electronic equipment is able to carry out described
The first subset of instructions in instruction set, when the electronic equipment is in second state, the electronic equipment can be held
The second subset of instructions in the row instruction set, wherein, the number of first subset of instructions is less than the described second instruction
The number of collection, the electronic equipment also include:
Sensing unit, caused movement locus during input operation is carried out to the electronic equipment for acquisition operations body.
Metrics calculation unit, distance corresponding to the movement locus collected for calculating the sensing unit.
Whether judging unit, the path for judging the movement locus meet predetermined condition, produce one and judge information;
Execution unit, the path for showing the movement locus for receiving the judging unit transmission meet described pre-
During the judgement information of fixed condition, the electronic equipment is controlled to switch to second state from the first state;
Wherein,
When the operating body that the sensing unit obtains is carried out caused by the first input operation to the electronic equipment
When distance corresponding to first movement locus meets the predetermined condition, the execution unit controls the electronic equipment from described the
One state switches to second state;
When the operating body that the sensing unit obtains is carried out caused by the second input operation to the electronic equipment
When distance corresponding to second movement locus meets the predetermined condition, the execution unit controls the electronic equipment from described the
One state switches to second state.
Preferably, the metrics calculation unit is specifically used for, calculate the operating body electronic equipment is carried out it is defeated
Enter the total distance of movement locus caused by operation.
Preferably, the preparatory condition is not less than the first distance preset value for the total distance of the movement locus.
Preferably, in addition to:Timing unit, the input operation carried out for recording the operating body to the electronic equipment
Corresponding operation duration;
The metrics calculation unit is specifically used for, and calculates the input operation production that the operating body is carried out to the electronic equipment
Difference between the total distance of raw movement locus and the preset value associated with the operation duration of the operating body.
Preferably, the predetermined condition is the total distance of the movement locus and related to the operation duration of the operating body
Difference between the preset value of connection is not less than the second distance preset value.
Preferably, the first state is lock-out state, and second state is non-locking state.
The technical scheme provided from above the embodiment of the present application, the method for controlling operation thereof and electronic equipment, collection
Operating body carries out movement locus caused by input operation on the electronic equipment, as long as the path of the movement locus meets
During predetermined condition, control the electronic equipment to switch to the second state from first state, do not limit the tool of the movement locus
The track form and the direction of motion of body, i.e. operating body input movement locus of different shapes to electronic equipment, as long as these are different
The path of the movement locus of shape meets that predetermined condition can control the electronic equipment to switch to the second state from first state,
So as to improve the operation flexibility ratio that electronic equipment switches to the second state from first state, and the convenience of operation.Example
Such as, user can input any track, as long as disclosure satisfy that the path energy for the input trajectory that electronic equipment is sensed during input
Enough meet predetermined condition.In addition, the security of electronic equipment is improved, because the track inputted every time can be different, this
Sample be unfavorable for other users peep or other users are guessed according to the marking formed on the touchscreen.And it is more conducive to
One hand is unlocked, and user can be hold by one hand electronic equipment, under the grip state utilize most useful for input thumb and
It is easiest to carry out reciprocal input by induction region that the sensing units sense obtains in the thumb to unlock.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in application, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method of controlling operation thereof of the embodiment of the present application;
Fig. 2 a are the schematic flow sheet of the embodiment of the present application another kind method of controlling operation thereof;
Fig. 2 b are a kind of specific example figure of movement locus described in the embodiment of the present application;
Fig. 2 c are another specific example figure of movement locus described in the embodiment of the present application;
Fig. 3 is the schematic flow sheet of the embodiment of the present application another kind method of controlling operation thereof;
Fig. 4 is the structural representation of the embodiment of the present application a kind of electronic equipment;
Fig. 5 is the structural representation of the embodiment of the present application another kind electronic equipment;
Fig. 6 is the structural representation of the embodiment of the present application another kind electronic equipment.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.It is common based on the embodiment in the application, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, it should all belong to the application protection
Scope.
Fig. 1 is referred to, shows a kind of schematic flow sheet of method of controlling operation thereof, this method is applied on electronic equipment,
The electronic equipment has first state and the second state, and the electronic equipment has an instruction set, when the electronics is set
For when being in the first state, the electronic equipment is able to carry out the first subset of instructions in the instruction set;When described
When electronic equipment is in second state, the electronic equipment is able to carry out the second subset of instructions in the instruction set,
Wherein, the number of first subset of instructions is less than the number of second subset of instructions, and the electronic equipment also has a sense
Answer unit.
The method of controlling operation thereof comprises the following steps:
S101, when the electronic equipment is in the first state, operating body is obtained to institute by the sensing unit
State electronic equipment and carry out movement locus caused by input operation.
The step when it is implemented, the input operation that is carried out on the sensing unit of the electronic equipment of operating body so as to producing
Raw movement locus;
Specifically, the first state of the electronic equipment can be lock-out state;The sensing unit can be to touch sense
Answer unit;The operating body can be operation instrument used in user or user.
S102, judges whether the path of the movement locus meets predetermined condition, if it is, performing step S103;It is no
Then, this flow is terminated.
When it is implemented, whether the path for the movement locus that judgment step S101 is obtained meets predetermined condition, it is described pre-
If condition, which can be the distance of the movement locus, is not less than the first distance preset value, that is, the distance of the movement locus obtained is not
During less than the first distance preset value, then step S103 is continued executing with.
S103, the electronic equipment is controlled to switch to second state from the first state.
The first state can be lock-out state, and second state can be non-locking state, then the step is specific
Can unlock the electronic equipment, into normal operating conditions.
It should be noted that the distance of the movement locus in the step and the concrete form of the movement locus without
Close, it is only relevant with the distance that the movement locus is passed through, in other words, different movement locus, as long as these movement locus
Distance is not less than the first distance preset value, then performs step S103.
The method of controlling operation thereof applied to electronic equipment that the present embodiment provides, the electronic equipment is gathered in described the
Operating body carries out movement locus caused by input operation to the electronic equipment during one state, when the distance of the movement locus
When meeting predetermined condition, the electronic equipment is controlled to switch to the second state from first state;Said process does not limit described
The shape of the specific track of movement locus, in other words, operating body input movement locus of different shapes to electronic equipment, as long as this
The distance of a little movement locus of different shapes meets the predetermined condition, you can controls the electronic equipment to switch from first state
To the second state, so as to improve the operation flexibility ratio of the state of electronic equipment switching.
Fig. 2 a are referred to, show the schematic flow sheet of another method of controlling operation thereof, this method is applied to electronic equipment,
The electronic equipment has lock-out state and non-locking state, is also equipped with a sensing unit.
The method of controlling operation thereof specifically includes following steps:
S201, when the electronic equipment is in locking shape body, operating body is obtained to the electricity by the sensing unit
Sub- equipment carries out movement locus caused by input operation.
When it is implemented, the sensing unit can be touch sensing unit, when operating body touching in the electronic equipment
When touching progress input operation on sensing unit, the touch sensing unit can be obtained and transported caused by the input operation of the operating body
Dynamic rail mark.
S202, judges whether the total distance of the movement locus is not less than the first distance preset value, if it is, performing step
Rapid S203;Otherwise, this flow is terminated.
When it is implemented, only need the total distance of the movement locus of judgment step S201 acquisitions whether pre- not less than the first distance
If value, unrelated with the concrete shape of the movement locus;Such as the arbitrary shape such as irregular camber line, straight line, triangle, circle
Shape, in other words, movement locus of different shapes, as long as the total distance of movement locus is not less than the first distance preset value, then
Perform step S203.
The first distance preset value can be set according to reality using needs.
Specifically, referring to Fig. 2 b- Fig. 2 c, Fig. 2 b- Fig. 2 c, respectively illustrate operating body and carry out caused by input operation
The schematic diagram of movement locus of different shapes.
Although the shape of the movement locus shown in Fig. 2 b and Fig. 2 c is different, moreover, the direction of motion of operating body is also different,
As long as the distance of two curves shown in Fig. 2 b and Fig. 2 c is not less than the first distance preset value, then step S203 is performed.
Specifically, when operator can grip the electronic equipment with a hand, using the thumb of the hand in the electricity
In the region that can be touched on the sensing unit of sub- equipment repeatedly/reciprocatingly slide, a movement locus is obtained, as long as the motion rail
When the distance of mark is not less than the first distance preset value, you can perform step S203.
It should be noted that the total distance of the movement locus obtained in step S201, i.e. operating body from start input operation
The distance passed through when input operation stops, such as, the operating body moves to from any and moves rail caused by another point
Mark is a camber line, then the total distance of the movement locus is the geometrical length of the camber line;If the operating body is at certain 2 points
Between moved repeatedly with camber line, then the total distance of corresponding movement locus is the total distance that moves repeatedly of the operating body.
S203, the electronic equipment is controlled to switch to non-locking state from lock-out state.
What this implementation provided is applied to method of controlling operation thereof, when the electronic equipment is in the lock state, collection in real time
Operating body carries out movement locus caused by input operation to the electronic equipment, when the total distance of the movement locus is not less than
During the first distance preset value, the electronic equipment is controlled to switch to non-locking state, i.e. normal operating conditions from lock-out state.Institute
It is unrelated with the concrete shape and the direction of motion of the movement locus to state the total distance of movement locus, operating body inputs to electronic equipment
Movement locus of different shapes, as long as the distance of these movement locus of different shapes is not less than the first distance preset value, you can
The electronic equipment is controlled to switch to non-locking state from lock-out state, so as to improve the flexibility ratio of electronic equipment unblock operation.
Moreover, compared with existing electronic equipment unlocks operation, the operating method that is provided due to the application not designated movement track
Concrete form, so, a hand can be used to grip electronic equipment, and use the thumb of the hand in the sensing unit of electronic equipment
Slided repeatedly in the upper region that can be touched, as long as the distance of movement locus meets preset value caused by sliding, you can complete
Unblock operation to electronic equipment, therefore, the method for controlling operation thereof that the embodiment of the present application provides is more suitable for operator and carries out list
Hand operates.
Fig. 3 is referred to, shows the schematic flow sheet of another method of controlling operation thereof, this method is applied to electronic equipment,
The electronic equipment has lock-out state and non-locking state, is also equipped with a sensing unit.
S301, when the electronic equipment is in the lock state, operating body is obtained by sensing unit the electronics is set
It is standby to carry out movement locus caused by input operation.
S302, obtain the operating body and carry out corresponding operation duration during input operation.
Terminate when it is implemented, the operating body can be recorded by timing unit from input operation to input operation is started
When corresponding operation duration.
It should be noted that the present embodiment is only a specific embodiment, for step S301's and step S302
Execution sequence, do not limit herein, step S301 and step S302 can be performed simultaneously, can also first carry out S302, then perform
Step S301.
S303, judge the difference between the total distance of the movement locus and the preset value associated with the operation duration
Value, if not less than the second distance preset value, if it is, performing step S304;Otherwise, this flow is terminated.
When it is implemented, in order to avoid user misoperation, embodiments of the invention introduce time parameter.Work as user effort
The path for the motion track that progress input operation and electronic equipment are sensed is very long on an electronic device for quite a long time, and this is logical
It is not often the unlocking motion of user, but a kind of maloperation behavior.First, total distance X corresponding to the movement locus is obtained, so
Afterwards, a preset value, i.e. n*t is calculated in the operation duration t obtained according to step S302, and predetermined coefficient n, then, then counts
The difference that the total distance of the movement locus is calculated between the preset value that is calculated, i.e. X-n*t, finally, judge difference X-
Whether n*t is not less than the second distance preset value Y, if it is, performing step S304;Otherwise, this flow is terminated.According to addition
The value meeting very little that formula X-t*n after time parameter are calculated, is even less than unsatisfactory for the unlocking condition more than Y equal to 0..Institute
It can be good at shielding the maloperation behavior with embodiments herein.
It should be noted that the predetermined coefficient n, which is no less than 0, is less than infinitely great coefficient, second distance is preset
Value Y is more than 0, and less than infinitely great constant, wherein n and Y numerical value can be adjusted according to practical application.
S304, the electronic equipment is controlled to switch to non-locking state from lock-out state.
The method of controlling operation thereof applied to electronic equipment that the present embodiment provides, when the electronic equipment is in the lock state
When, real-time acquisition operations body carries out movement locus caused by input operation, and operation duration to the electronic equipment.When sentencing
The difference between the total distance of the movement locus and the preset value associated with the operation duration of breaking is not less than the second tunnel
During journey preset value, the electronic equipment is controlled to switch to non-locking state from lock-out state;First, total road of the movement locus
Journey and the difference between the associated preset value of the operation duration, be with the concrete shape of movement locus and the direction of motion without
The parameter of pass, operating body input movement locus of different shapes to electronic equipment, as long as these movement locus of different shapes
Difference between distance and the preset value associated with operation duration is not less than the second distance preset value, you can described in control
Electronic equipment switches to non-locking state from lock-out state, improves the operation flexibility ratio of the unblock of electronic equipment.It is moreover, described
Difference between the total distance of movement locus and the preset value associated with the operation duration, the behaviour with operating body input operation
It is associated as duration, so as to prevent false touch to operate, such as, operating body is to false touch caused by the sensing unit of the electronic equipment
Operation, therefore, increase time conditions, electronic equipment malfunction caused by false touch operation of the operating body to electronic equipment can be avoided
Make.
Corresponding to above-mentioned method of controlling operation thereof embodiment, the application also provides corresponding electronic equipment.
Fig. 4 is referred to, shows the structural representation of a kind of electronic equipment.
The electronic equipment has first state and the second state, and the electronic equipment has an instruction set, when described
When electronic equipment is in the first state, the electronic equipment is able to carry out the first subset of instructions in the instruction set,
When the electronic equipment is in second state, the electronic equipment is able to carry out the second instruction in the instruction set
Subset, wherein, the number of first subset of instructions is less than the number of second subset of instructions.
The electronic equipment includes:Sensing unit 401, metrics calculation unit 402, judging unit 403, execution unit 404,
Wherein:
The sensing unit 401, caused fortune during input operation is carried out to the electronic equipment for acquisition operations body
Dynamic rail mark.
Specifically, the sensing unit is specifically as follows touch sensing unit or touch-screen, when operating body is in the electronics
When the sensing unit of equipment carries out input operation, when the touch sensing unit can collect the operating body progress input operation
Caused movement locus.
The metrics calculation unit 402, road corresponding to the movement locus collected for calculating the sensing unit
Journey.
The judging unit 403, whether the path for the movement locus being calculated for judging the metrics calculation unit
Meet predetermined condition, produce one and judge information;
Specifically, the judging unit is used to judge whether the distance of the movement locus is not less than distance setting value, and
Caused judgement information is supplied to the execution unit 404.
The execution unit 404, show that the path of the movement locus meets sentencing for the predetermined condition for receiving
During disconnected information, the electronic equipment is controlled to switch to second state from the first state;
Specifically, when the operating body that the sensing unit obtains carries out the first input operation institute to the electronic equipment
When distance corresponding to caused first movement locus meets the predetermined condition, the execution unit control the electronic equipment from
The first state switches to second state;
When the operating body that the sensing unit obtains is carried out caused by the second input operation to the electronic equipment
When distance corresponding to second movement locus meets the predetermined condition, the execution unit controls the electronic equipment from described the
One state switches to second state.
In other words, the concrete shape of the distance of the movement locus and the movement locus and the direction of motion of operator without
Close, i.e., do not specify the specific trajectory shape and the direction of motion of the movement locus, such as, the preparatory condition is movement locus
Distance when being not less than the first distance preset value, operating body carries out different input operations, produces different movement locus, as long as
The distance of these movement locus is not less than the first distance preset value, then execution unit controls the electronic equipment to be cut from first state
Shift to the second state.
Specifically, the first state can be lock-out state, second state can be non-locking state, i.e., normal
Working condition.
The electronic equipment that the present embodiment provides, is inputted by sensing unit acquisition operations body on the electronic equipment
Movement locus caused by operation, as long as the path of the movement locus meets predetermined condition, then control the electronic equipment
The second state is switched to from first state, specific the track form and the direction of motion of the movement locus is not limited, that is, grasps
Make body and movement locus of different shapes is inputted to electronic equipment, as long as the distance of these movement locus of different shapes meets to make a reservation for
Condition can control the electronic equipment to switch to the second state from first state, so as to improve electronic equipment from the first shape
State switches to the operation flexibility ratio of the second state, and operation Value Operations are more convenient.
Fig. 5 is referred to, shows the structural representation of another electronic equipment, the electronic equipment has lock-out state and non-
Lock-out state.
The electronic equipment includes:Sensing unit 501, metrics calculation unit 502, judging unit 503, execution unit 504,
Wherein:
The sensing unit 501, caused fortune during input operation is carried out to the electronic equipment for acquisition operations body
Dynamic rail mark.
The metrics calculation unit 502, the total distance of the movement locus collected for calculating the sensing unit.
The total distance of the movement locus, i.e. operating body are passed through from beginning input operation when input operation stops
Distance, such as, it is a camber line that the operating body moves to movement locus caused by another point from a bit, then the movement locus
Total distance be the camber line geometrical length;If the operating body is moved repeatedly between certain 2 points with camber line, corresponding
The total distance of movement locus is the total distance that the operating body moves repeatedly.
The judging unit 503, for judging whether the total distance of the movement locus is not less than the first distance preset value,
One is produced to judge information and be supplied to the execution unit.
The execution unit 504, show that the distance of the movement locus is not less than the first distance preset value for receiving
Judgement information when, control the electronic equipment to switch to non-locking state from the lock-out state.
The electronic equipment that the present embodiment provides, is inputted by the real-time acquisition operations body of sensing unit to the electronic equipment
Movement locus caused by operation, when the total distance of the movement locus is not less than the first distance preset value, control the electricity
Sub- equipment switches to non-locking state, i.e. normal operating conditions from lock-out state.The total distance of the movement locus and the fortune
The concrete shape and the direction of motion of dynamic rail mark are unrelated, and operating body inputs movement locus of different shapes to electronic equipment, as long as this
The distance of a little movement locus of different shapes is not less than the first distance preset value, you can controls the electronic equipment from lock-out state
Non-locking state is switched to, so as to improve the flexibility ratio of electronic equipment unblock operation.
Fig. 6 is referred to, shows the structural representation of another electronic equipment, the electronic equipment has lock-out state and non-
Lock-out state.
The electronic equipment includes:Sensing unit 601, timing unit 602, metrics calculation unit 603, judging unit 604, hold
Row unit 605, wherein:
The sensing unit 601, caused fortune during input operation is carried out to the electronic equipment for acquisition operations body
Dynamic rail mark.
The timing unit 602, corresponding to the input operation carried out for recording the operating body to the electronic equipment
Operate duration.
Specifically, the timing unit record the operating body from start input operation to input operation at the end of corresponding to
Duration is operated, t can be designated as.
The metrics calculation unit 603, the input operation production carried out for calculating the operating body to the electronic equipment
Difference between the total distance of raw movement locus and the preset value associated with the operation duration of the operating body.
When it is implemented, the total distance of the movement locus is calculated in the metrics calculation unit first, X is designated as;Then,
The operation duration t obtained according to timing unit, and predetermined coefficient n, described associated with operation duration preset is calculated
It is worth for n*t, the difference that the total distance of the movement locus is finally calculated between the preset value that is calculated, i.e. X-n*t,
Wherein, the predetermined coefficient n is no less than 0 coefficient for being less than infinity, can be adjusted according to practical application.
The judging unit 604, for judging whether the difference is not less than the second distance preset value, produce one and judge letter
Breath, and it is supplied to the execution unit 605.
Specifically, the difference X-n*t for judging the total distance of the movement locus between the preset value that is calculated whether
Not less than the second distance preset value Y, wherein, the second distance preset value Y be more than 0, can be with and less than infinitely great constant
It is adjusted according to practical application.
The execution unit 605, for receiving the judgement information for showing that the difference is not less than the second distance preset value
When, control electronics switch to non-locking state from lock-out state.
The electronic equipment of embodiments of the invention is in first state(Lock-out state)Under the electronic equipment sensing list
Member senses that operating body starts(For example, touch sensing unit has detected operating body contact)Do not left to the operating body(Example
Such as, touch sensing unit has detected that operating body lifts)If any moment during detects the input of the operating body
The path of track meets predetermined condition(Unlocking condition), then the electronic equipment is controlled from the first state(Lock-out state)Cut
Change to the second state(Non-locking state), that is, complete unblock.Electronic equipment is switched to the second shape in the execution first state
During state, determine that this input operation terminates, even if user now also is continuing to slide(Operating body does not leave touch-screen), due to this
Electronic equipment has been switched to the second state, so follow-up sliding can be because the electronic equipment in second state comes
To determine a new order, the new order belongs to the second subset of instructions for response.Certainly it is in the electronics of second state
Equipment can not also do any response.In addition, the electronic equipment of the embodiment of the present invention is in first state(Lock-out state)Lower institute
The sensing units sense for stating electronic equipment starts to operating body(For example, touch sensing unit has detected operating body contact)To institute
Operating body is stated not leave(For example, touch sensing unit has detected that operating body lifts)Detection of any moment during if
The path of the input trajectory of the operating body is all unsatisfactory for predetermined condition, then is not left in the operating body(For example, touch sensible
Unit has detected that operating body lifts)When determine that this input operation terminates.
The electronic equipment that the present embodiment provides, obtain operating body and fortune caused by input operation is carried out to the electronic equipment
Dynamic rail mark, and operation duration, and then be calculated the movement locus total distance and with it is described operation duration it is associated
Difference between preset value, when judging that the difference is not less than the second distance preset value, the electronic equipment is controlled from lock
Determine state and switch to non-locking state;The difference parameter unrelated with the concrete shape and the direction of motion of movement locus, operation
Body inputs movement locus of different shapes to electronic equipment, as long as the distance of these movement locus of different shapes and during with operation
Difference between long associated preset value is not less than the second distance preset value, you can controls the electronic equipment from locking
State switches to non-locking state, improves the operation flexibility ratio of the unblock of electronic equipment.Moreover, total road of the movement locus
Difference between journey and the preset value associated with the operation duration, it is associated with the operation duration of operating body input operation,
So as to prevent false touch to operate, such as, operating body operates to false touch caused by the sensing unit of the electronic equipment, therefore, increases
Add time conditions, electronic equipment malfunction caused by false touch operation of the operating body to electronic equipment can be avoided.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element also be present in process, method, article or equipment including the key element.
Described above is only the embodiment of the application, it is noted that for the ordinary skill people of the art
For member, on the premise of the application principle is not departed from, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as the protection domain of the application.
Claims (6)
1. a kind of method of controlling operation thereof, applied on an electronic equipment, the electronic equipment has first state and with described
The second different state of one state, the electronic equipment have an instruction set, when the electronic equipment is in first shape
During state, the electronic equipment is able to carry out the first subset of instructions in the instruction set, when the electronic equipment is in described
During the second state, the electronic equipment is able to carry out the second subset of instructions in the instruction set, wherein, first instruction
The number of subset is less than the number of second subset of instructions, and the electronic equipment has a sensing unit, it is characterised in that institute
The method of stating includes:
When the electronic equipment is in the first state, operating body is obtained to the electronic equipment by the sensing unit
Carry out caused movement locus during input operation;
Judge whether the path of the movement locus meets predetermined condition, produce one and judge information;
When it is described judgement information show that the path of the movement locus meets the predetermined condition when, control the electronic equipment from
The first state is switched to second state;
Before whether the path for judging the movement locus meets predetermined condition, in addition to:The operating body is obtained to described
Operation duration corresponding to the input operation that electronic equipment is carried out;
Movement locus caused by the input operation that the path of the movement locus is carried out for the operating body to the electronic equipment
Total distance and the difference between the associated preset value of operation duration of the operating body, and the distance of the movement locus
It is unrelated with the concrete form of the movement locus;
Wherein,
When the operating body that the sensing unit is obtained is carried out the caused by the first input operation to the electronic equipment
When path corresponding to one movement locus meets the predetermined condition, the electronic equipment is controlled to be switched to institute from the first state
State the second state;
When the operating body that the sensing unit is obtained is carried out the caused by the second input operation to the electronic equipment
When path corresponding to two movement locus meets the predetermined condition, the electronic equipment is controlled to be switched to institute from the first state
State the second state;First input operation is different from the second input operation.
2. according to the method for claim 1, it is characterised in that the predetermined condition for the movement locus total distance and
Difference between the preset value associated with the operation duration of the operating body is not less than the second distance preset value.
3. method according to claim 1 or 2, it is characterised in that the first state of the electronic equipment is locking
State, second state are non-locking state.
4. a kind of electronic equipment, the electronic equipment has first state and the second state, and the electronic equipment has an instruction
Set, when the electronic equipment is in the first state, the electronic equipment is able to carry out the in the instruction set
One subset of instructions, when the electronic equipment is in second state, the electronic equipment is able to carry out the instruction set
In the second subset of instructions, wherein, the number of first subset of instructions is less than the number of second subset of instructions, its feature
It is, the electronic equipment also includes:
Sensing unit, caused movement locus during input operation is carried out to the electronic equipment for acquisition operations body;
Metrics calculation unit, path corresponding to the movement locus collected for calculating the sensing unit;
Whether judging unit, the path for judging the movement locus meet predetermined condition, produce one and judge information;
Execution unit, show that the path of the movement locus meets the predetermined bar for receive that the judging unit sends
During the judgement information of part, the electronic equipment is controlled to switch to second state from the first state;
Timing unit, duration is operated corresponding to the input operation carried out for recording the operating body to the electronic equipment;
The metrics calculation unit is specifically used for, and calculates caused by the input operation that the operating body is carried out to the electronic equipment
Difference between the total distance of movement locus and the preset value associated with the operation duration of the operating body, the difference is institute
Path corresponding to movement locus is stated, and the distance of the movement locus is unrelated with the concrete form of the movement locus;
Wherein,
When the operating body that the sensing unit obtains is carried out first caused by the first input operation to the electronic equipment
When distance meets the predetermined condition corresponding to movement locus, the execution unit controls the electronic equipment from first shape
State switches to second state;
When the operating body that the sensing unit obtains is carried out second caused by the second input operation to the electronic equipment
When distance meets the predetermined condition corresponding to movement locus, the execution unit controls the electronic equipment from first shape
State switches to second state.
5. electronic equipment according to claim 4, it is characterised in that the predetermined condition is total road of the movement locus
Difference between journey and the preset value associated with the operation duration of the operating body is not less than the second distance preset value.
6. the electronic equipment according to claim 4 or 5, it is characterised in that the first state is lock-out state, described
Two-state is non-locking state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210162908.3A CN103425419B (en) | 2012-05-23 | 2012-05-23 | Method of controlling operation thereof and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210162908.3A CN103425419B (en) | 2012-05-23 | 2012-05-23 | Method of controlling operation thereof and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103425419A CN103425419A (en) | 2013-12-04 |
CN103425419B true CN103425419B (en) | 2018-01-16 |
Family
ID=49650242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210162908.3A Active CN103425419B (en) | 2012-05-23 | 2012-05-23 | Method of controlling operation thereof and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103425419B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094632A (en) * | 2014-05-12 | 2015-11-25 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105446604B (en) * | 2014-06-16 | 2018-11-09 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104580718A (en) * | 2014-12-29 | 2015-04-29 | 北京奇虎科技有限公司 | Phone state switching method and device |
JP6293372B2 (en) * | 2015-05-20 | 2018-03-14 | 三菱電機株式会社 | Information processing apparatus and interlock control method |
CN106022083B (en) * | 2016-04-29 | 2019-05-24 | 努比亚技术有限公司 | A kind of method and terminal for realizing unlock |
CN106874723A (en) * | 2016-12-30 | 2017-06-20 | 努比亚技术有限公司 | A kind of method and terminal for realizing unblock |
CN111221415B (en) * | 2019-12-31 | 2022-05-31 | 联想(北京)有限公司 | Control method and device and electronic equipment |
CN111782066B (en) * | 2020-06-30 | 2021-11-16 | 联想(北京)有限公司 | Electronic equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI361613B (en) * | 2008-04-16 | 2012-04-01 | Htc Corp | Mobile electronic device, method for entering screen lock state and recording medium thereof |
CN101430597A (en) * | 2008-11-11 | 2009-05-13 | 宇龙计算机通信科技(深圳)有限公司 | Touch screen energy-saving method and system, and touch screen terminal |
CN101866259A (en) * | 2010-01-28 | 2010-10-20 | 宇龙计算机通信科技(深圳)有限公司 | Touch screen unlocking method, system and touch screen device |
US8854318B2 (en) * | 2010-09-01 | 2014-10-07 | Nokia Corporation | Mode switching |
CN102141880A (en) * | 2010-11-29 | 2011-08-03 | 华为终端有限公司 | Mobile terminal and unlocking method of mobile terminal |
-
2012
- 2012-05-23 CN CN201210162908.3A patent/CN103425419B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103425419A (en) | 2013-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103425419B (en) | Method of controlling operation thereof and electronic equipment | |
CN102662594B (en) | A kind of unlocking method, device and electric terminal | |
CN103513804B (en) | Method of controlling operation thereof and electronic equipment | |
CN103257816B (en) | A kind of touch screen unlocking method and device | |
CN104035698B (en) | Terminal device and its state switching method | |
CN103019444B (en) | Touch operation method of touch screen and touch screen device | |
CN106843739A (en) | The display control method and mobile terminal of a kind of mobile terminal | |
CN104932825B (en) | A kind of automatic sensing right-hand man operating handset and the method for determining thumb activity hot-zone | |
TW201248491A (en) | Method of identifying palm area of a touch panel and a updating method thereof | |
CN103455174B (en) | Control method of electronic device, device and electronic equipment | |
CN106485124A (en) | A kind of method of controlling operation thereof of mobile terminal and mobile terminal | |
CN104461327B (en) | A kind of information processing method and electronic equipment | |
CN101192257A (en) | Electronic device and method for opening same | |
CN107194235A (en) | A kind of application program launching method and mobile terminal | |
CN106295420B (en) | A kind of information processing method and device | |
CN107256126A (en) | Fingerprint inducing method, device, mobile terminal and storage medium | |
CN106648398A (en) | Display control method and device | |
CN104346073B (en) | A kind of information processing method and electronic equipment | |
CN106815504A (en) | The method and terminal of a kind of unlock terminal | |
CN104142742B (en) | The touch control manner switching method of touch-controlled electronic devices and touch-controlled electronic devices | |
CN104808810B (en) | Carry out the method and mobile terminal of mouse input | |
CN103677616B (en) | A kind of operating method of electronic installation | |
CN103677604B (en) | A kind of method and device of information processing | |
CN104063172B (en) | A kind of mobile terminal and its method for unblock | |
CN105260647B (en) | A kind of unlocking screen method and system of mobile terminal |
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 |