CN103455174A - Electronic equipment control method and device and electronic equipment - Google Patents
Electronic equipment control method and device and electronic equipment Download PDFInfo
- Publication number
- CN103455174A CN103455174A CN2012101842421A CN201210184242A CN103455174A CN 103455174 A CN103455174 A CN 103455174A CN 2012101842421 A CN2012101842421 A CN 2012101842421A CN 201210184242 A CN201210184242 A CN 201210184242A CN 103455174 A CN103455174 A CN 103455174A
- Authority
- CN
- China
- Prior art keywords
- track
- input
- preset
- state
- interface
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000012545 processing Methods 0.000 claims description 26
- 238000001514 detection method Methods 0.000 claims description 10
- 230000001960 triggered effect Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses an electronic equipment control method and device and electronic equipment. The control method suitable for the electronic equipment with a touch sensing unit includes: by the touch sensing unit, acquiring a trajectory set input by an operator when the electronic device is in a first state; judging whether the trajectory set satisfies a first preset condition and acquiring a first judging result; if so, switching the electronic equipment from the first state to a second state. Only when the trajectory set satisfies first preset condition, the electronic equipment can be switched from the first state to the second state, and accordingly trajectory password leakage caused by input touch trajectories can be avoided by setting the first preset condition, and data security of the electronic equipment is increased.
Description
Technical Field
The present invention relates to the field of electronic devices, and in particular, to an electronic device control method and apparatus, and an electronic device.
Background
With the rapid development of science and technology, various electronic products are continuously enriched and facilitate the public life. Because the electronic product has the advantages of convenience, rapidness, resource saving and the like when used for processing information, the electronic product becomes an indispensable part in life or work of people.
Among them, the electronic device with a touch sensing unit, for example: touch screen cell-phones, panel computer etc. are ready to be favored by people. Generally, an electronic device with a touch sensing unit has an oversized screen, and can bring excellent visual enjoyment to a user from the aspects of characters and images; meanwhile, the keyboard can be perfectly replaced by the keyboard through finger operation, and better input experience is brought to a user.
However, when the electronic device having the touch sensing unit is provided with the track password, a touch trace or oil stain left when the track password is input on the screen by a finger to perform an unlocking operation may possibly leak the track password. For example: under the condition that touch screen cell-phone was provided with the orbit password, when using the mode of "a stroke", draw the figure with the finger, through the mode of the various light of camera collocation this moment, alright obviously confirm the starting point, turn and the terminal point of orbit password in order to pass through the greasy dirt trace of finger, and then cause revealing of orbit password.
Therefore, the trace password is easy to leak due to the touch trace of the input body, and the data security of the electronic equipment is reduced.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide an electronic device control method, an electronic device control apparatus, and an electronic device, so as to improve data security of the electronic device, and the technical scheme is as follows:
an electronic device control method is applicable to an electronic device, the electronic device is provided with a touch sensing unit, and the method comprises the following steps:
when the electronic equipment is in a first state, acquiring a track set input by an operation body through the touch sensing unit;
judging whether the track set meets a first preset condition or not, and obtaining a first judgment result;
when the first judgment result shows that the track set meets the first preset condition, the electronic equipment is switched from the first state to a second state;
the electronic device is provided with an instruction set, the electronic device can respond to instructions of a first instruction set in the first state, and can respond to instructions of a second instruction set in the second state, wherein the number of the instructions in the first instruction set is smaller than that in the second instruction set.
The determining whether the track set meets a first predetermined condition specifically includes:
judging whether a first input track in the track set meets a second preset condition or not, and obtaining a second judgment result;
when the second judgment result shows that the first input track meets the second preset condition, switching the electronic equipment to a third state; wherein, in the third state, the instructions of a third instruction set in the instruction set can be responded, and the number of the instructions in the third instruction set is smaller than that in the second instruction set;
and further judging whether a second input track in the track set meets a third preset condition, wherein the third preset condition is that the second input track forms interference input of the first input track.
The track set comprises continuous tracks formed by the processes that an operation body enters the detection range of the touch sensing unit, moves in the detection range and finally leaves the detection range of the touch sensing unit;
a first portion of the continuous trajectory is the first input trajectory and a second portion of the continuous trajectory is the second input trajectory, wherein an acquisition time of the first portion is earlier than an acquisition time of the second portion.
Wherein a first input trajectory of the trajectory set is an input trajectory acquired when the electronic device is in a first state; and the second input track of the track set is the input track acquired after the electronic equipment is switched to the third state when the first input track meets the second preset condition.
The second input track is a continuous input track or a plurality of input tracks within a preset time interval.
Wherein the second input trajectory forms an interference input of the first input trajectory, specifically:
the coverage rate of the second input track to a preset area arranged in the touch sensing unit is not lower than a first threshold value;
or,
the area corresponding to the second input track comprises the area corresponding to the first input track;
or,
the second input track corresponding area comprises the first input track corresponding area, and the proportion of the first input track corresponding area in the second input track corresponding area is lower than a second threshold value;
or the number of intersection points of the second input track and the first input track is greater than a third threshold;
or,
the second input trajectory is a predetermined trajectory.
Before the touch sensing unit collects a track set input by an operation body, the method further comprises:
adjusting a first interface corresponding to the stored preset track password in a preset adjusting mode to form a second interface and displaying the second interface on the display unit;
the determining whether the track set meets a first predetermined condition specifically includes:
determining a track set to be matched corresponding to the track set in the forward direction of the display unit according to a preset adjusting mode;
and judging whether the track set to be matched is matched with a preset track password or not.
The method comprises the following steps of adjusting a first interface corresponding to a stored preset track password in a preset adjusting mode to form a second interface, and specifically comprises the following steps:
rotating the first interface corresponding to the stored preset track password by a preset angle to form a second interface;
correspondingly, according to a preset adjustment mode, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit, specifically:
and taking the corresponding track set after the track set rotates reversely by a preset angle as the corresponding track set to be matched in the forward direction of the display unit.
The method comprises the following steps of adjusting a first interface corresponding to a stored preset track password in a preset adjusting mode to form a second interface, and specifically comprises the following steps:
zooming the first interface corresponding to the stored preset track password according to a preset zoom multiple to form a second interface;
correspondingly, according to a preset adjustment mode, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit, specifically:
and taking the corresponding track set after the track set is subjected to scaling processing according to the reciprocal of the preset scaling multiple as a track set to be matched corresponding to the display unit in the forward direction.
The method comprises the following steps of adjusting a first interface corresponding to a stored preset track password in a preset adjusting mode to form a second interface, and specifically comprises the following steps:
rotating a first interface corresponding to the stored preset track password by a preset angle and zooming according to a preset zoom multiple to form a second interface;
correspondingly, according to a preset adjustment mode, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit, specifically:
and reversely rotating the track set by a preset angle and carrying out zooming processing according to the reciprocal of a preset zooming multiple to obtain a corresponding track set as a track set to be matched in the forward direction of the display unit.
An embodiment of the present invention further provides an electronic device control apparatus, which is suitable for an electronic device, where the electronic device has a touch sensing unit, and the apparatus includes:
the track set acquisition module is used for acquiring a track set input by an operation body through the touch sensing unit when the electronic equipment is in a first state;
the judgment processing module is used for judging whether the track set meets a first preset condition or not, and if so, the state switching module is triggered;
and the state switching module is used for switching the electronic equipment from the first state to the second state.
Wherein, judge processing module includes:
the first track judging unit is used for judging whether a first input track in the track set meets a second preset condition or not, and if so, the intermediate state switching unit is triggered;
the intermediate state switching unit is used for switching the electronic equipment to a third state;
and the second track judging unit is used for judging whether a second input track in the track set meets a third preset condition after the electronic equipment is switched to a third state, and if so, triggering the state switching module.
Wherein, its electronic equipment who is suitable for still includes the display element, the device still includes:
the interface processing module is used for adjusting a first interface corresponding to the stored preset track password in a preset adjusting mode to form a second interface and displaying the second interface on the display unit;
correspondingly, the judgment processing module includes:
the track set to be matched is determined according to a preset adjusting mode;
and the track password judging unit is used for judging whether the track set to be matched is matched with a preset track password or not, and if so, triggering the state switching module.
An embodiment of the present invention further provides an electronic device, which has a touch sensing unit, and the electronic device further includes: an electronic device control apparatus;
the electronic device control apparatus includes:
the track set acquisition module is used for acquiring a track set input by an operation body through the touch sensing unit when the electronic equipment is in a first state;
the judgment processing module is used for judging whether the track set meets a first preset condition or not, and if so, the state switching module is triggered;
and the state switching module is used for switching the electronic equipment from the first state to the second state.
The technical scheme provided by the embodiment of the invention is suitable for the electronic equipment, and the electronic equipment is provided with a touch sensing unit; when the electronic equipment is in a first state, acquiring a track set input by an operation body through the touch sensing unit; judging whether the track set meets a first preset condition or not, and obtaining a first judgment result; and when the first judgment result shows that the track set meets the first preset condition, switching the electronic equipment from the first state to a second state. In the scheme, the electronic equipment is switched from the first state to the second state only after the collected track set meets the first preset condition, so that track password leakage caused by input body touch traces can be avoided by setting the first preset condition, and the data security of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart of an electronic device control method according to an embodiment of the present invention;
fig. 2 is a second flowchart of an electronic device control method according to an embodiment of the present invention;
fig. 3 is a third flowchart of an electronic device control method according to an embodiment of the present invention;
fig. 4 is a fourth flowchart of an electronic device control method according to an embodiment of the present invention;
fig. 5 is a fifth flowchart of an electronic device control method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, the track password of the electronic equipment is easy to leak due to the touch trace of the input body, so that the data security of the electronic equipment is reduced. In order to solve the technical problem, embodiments of the present invention provide an electronic device control method and apparatus, and an electronic device.
First, a method for controlling an electronic device according to an embodiment of the present invention is described below.
It should be noted that the electronic device to which the electronic device control method provided by the embodiment of the present invention is applied has a touch sensing unit. It is to be understood that the electronic device may be: touch screen cell phones, tablet computers, and the like.
The electronic equipment is provided with an instruction set, and the electronic equipment can respond to instructions of a first instruction set in the instruction set in a first state and can respond to instructions of a second instruction set in the instruction set in a second state, wherein the number of the instructions in the first instruction set is smaller than that in the second instruction set. It should be noted that the first state includes a state in which the electronic device executes instructions in the first instruction set, for example: a screen lock state; the second state includes a state in which the electronic device executes instructions in a second instruction set, such as: screen unlocked/unlocked state. Wherein the instructions in the first instruction set may include: communication prompt instructions such as an incoming call, a short message and the like, timing prompt instructions such as an alarm clock, a memo and the like, unlocking authentication, an unlocking instruction and the like, wherein the unlocking instruction is used for switching the electronic equipment from a screen locking state to a non-locking state by executing the unlocking instruction when the screen is in a locking state; the instructions in the second set of instructions may include: instructions for almost all functions of the electronic device, such as calling, accessing local data, accessing local networks, communication prompts, timed reminders, etc.
As shown in fig. 1, an electronic device control method may include:
s101, when the electronic equipment is in a first state, acquiring a track set input by an operation body through the touch sensing unit;
it is reasonable that the track set may include one input track, or at least two input tracks. S102, judging whether the track set meets a first preset condition, if so, executing a step S103; otherwise, prompting an input error;
the first preset condition is that at least one part of input tracks in a track set input by an input body can be interfered, so that track password leakage caused by touch traces of the input body is avoided.
S103, switching the electronic equipment from the first state to a second state.
The technical scheme provided by the embodiment of the invention is suitable for the electronic equipment, and the electronic equipment is provided with a touch sensing unit; when the electronic equipment is in a first state, acquiring a track set input by an operation body through the touch sensing unit; judging whether the track set meets a first preset condition or not, and obtaining a first judgment result; and when the first judgment result shows that the track set meets the first preset condition, switching the electronic equipment from the first state to a second state. In the scheme, the electronic equipment is switched from the first state to the second state only after the collected track set meets the first preset condition, so that track password leakage caused by input body touch traces can be avoided by setting the first preset condition, and the data security of the electronic equipment is improved.
The following describes an electronic device control method provided by the present invention with reference to specific application examples.
It should be noted that the electronic device to which the electronic device control method provided by the embodiment of the present invention is applied has a touch sensing unit. Wherein, the electronic device can be: touch screen cell phones, tablet computers, and the like. The electronic equipment is provided with an instruction set, and the electronic equipment can respond to instructions of a first instruction set in the instruction set in a first state and can respond to instructions of a second instruction set in the instruction set in a second state, wherein the number of the instructions in the first instruction set is smaller than that in the second instruction set.
As shown in fig. 2, an electronic device control method may include:
s201, when the electronic equipment is in a first state, acquiring a track set input by an operation body through the touch sensing unit;
it should be noted that the first state may be a screen lock state, and is not limited to the screen lock state.
S202, judging whether the first input track in the track set meets a second preset condition, if so, executing the step S203; otherwise, prompting error information;
the second preset condition is that the first input track is matched with a preset track password required for switching from the first state to the second state.
S203, switching the electronic equipment from the first state to a third state;
the system comprises a first state and a second state, wherein the first state can respond to instructions of a first instruction set in the instruction set, and the number of the instructions in the first instruction set is smaller than that of the instructions in the second instruction set; the third state is an intermediate state that is switched from the first state to the second state.
S204, judging whether the second input track in the track set meets a third preset condition, if so, executing the step S205; otherwise, prompting error information;
wherein the third predetermined condition is that the second input trajectory forms a disturbing input of the first input trajectory.
The second input trajectory forms an interference input of the first input trajectory, and may specifically be:
the coverage rate of the second input track to a preset area arranged in the touch sensing unit is not lower than a first threshold value; for example: the coverage rate of the second input track in the preset area exceeds 50 percent, so that the interference of the first input track is formed, and the touch trace caused by the first input track is cleared and/or covered;
or,
the area corresponding to the second input track comprises the area corresponding to the first input track, so that touch traces caused by the first input track are eliminated and/or covered;
or,
the area corresponding to the second input track comprises an area corresponding to the first input track, and the proportion of the area corresponding to the first input track in the area corresponding to the second input track is lower than a second threshold value, so that the area corresponding to the second input track is different from the area corresponding to the first input track, and the purpose of clearing and/or covering the first input track is achieved;
or,
the number of intersection points of the second input track and the first input track is greater than a third threshold value;
or,
the second input trajectory is a predetermined trajectory such as: the second input track is a 'field' word, an '8' word and the like.
It is understood that the first threshold, the second threshold and the third threshold may be set according to actual situations, as long as it is ensured that the second input track forms an interference input to the first input track.
It should be noted that the track set may include a continuous track formed by a process of entering the detection range of the touch sensing unit, moving within the detection range, and finally leaving the detection range of the touch sensing unit by the operating body; the first part of the continuous track is the first input track, and the second part of the continuous track is the second input track, wherein the acquisition time of the first part is earlier than the acquisition time of the second part. That is, the input body continuously moves in the detection range of the touch sensing unit, and the input track is divided into a first input track and a second input track in time period; the touch sensing unit collects continuous tracks input by the operation body, judges whether the collected first input tracks meet a first preset condition in real time, and directly judges whether the second input tracks meet a third preset condition under the condition of meeting the first preset condition.
Or,
a first input track of the track set is an input track acquired when the electronic equipment is in a first state; the second input trajectory of the trajectory set is the input trajectory acquired after the electronic device is switched to the third state when the first input trajectory meets a second predetermined condition. That is, the touch sensing unit firstly collects a first input track, and then collects a second input track input by the input body under the condition that the first input track meets a first preset condition, so as to judge whether the second input track meets a third preset condition. It will be appreciated that the second input trace may be a single continuous input trace, or a plurality of input traces within a predetermined time interval. The predetermined time interval is: the specific time interval between the nth departure and the (N + 1) th entry may be set according to actual conditions, for example, set to 1 s.
S205, the electronic device is switched from the first state to a second state.
It is understood that the second state may be an unlocked state corresponding to the first state being a screen locked state, but is not limited to the unlocked state.
In this embodiment, first, whether a first input trajectory in the acquired trajectory set meets a second predetermined condition is determined, and the electronic device is switched to a third state when the second predetermined condition is met, and then the electronic device is switched from the first state to the second state when the second input trajectory in the acquired trajectory set forms an interference of the first input trajectory, so that a touch trace caused by the interference of the first input trajectory is realized, and the purpose of improving data security of the electronic device is further achieved.
The electronic device control method provided by the embodiment of the invention is described below by taking a screen lock state as a first state, an unlock state as a second state, and an interference input state as a third state as examples.
It should be noted that the electronic device to which the electronic device control method provided by the embodiment of the present invention is applied has a touch sensing unit. Wherein, the electronic device can be: touch screen cell phones, tablet computers, and the like.
As shown in fig. 3, an electronic device control method may include:
s301, when the electronic equipment is in a screen locking state, acquiring a first input track input by an operation body through the touch sensing unit;
s302, judging whether the first input track is matched with a preset track password required for switching from a screen locking state to an unlocking state, if so, executing the step S303; otherwise, prompting error information;
s303, switching the electronic equipment from a screen locking state to an interference input state;
s304, acquiring a second input track input by the operation body through the touch sensing unit;
s305, judging whether the coverage rate of the second input track to a preset area set in the touch sensing unit is not lower than 50%, if so, executing a step S306; otherwise, prompting error information;
s306, the electronic equipment is switched from the screen locking state to the unlocking state.
In this embodiment, under the condition that the first input track is the same as the track password, the electronic device is switched from the screen locking state to the interference input state, and then when the coverage rate of the acquired second input track on the predetermined area set in the touch sensing unit is not lower than 50%, that is, the second input track forms the interference input on the first input track, the electronic device is switched to the unlocking state, so that the track password leakage caused by the touch track corresponding to the first input track is eliminated, and the data security of the electronic device is further improved.
The following describes an electronic device control method according to another embodiment of the present invention.
It should be noted that the electronic device to which the electronic device control method provided by the embodiment of the invention is applied has a touch sensing unit and a display unit. Wherein, the electronic device can be: touch screen cell phones, tablet computers, and the like. The electronic equipment is provided with an instruction set, and the electronic equipment can respond to instructions of a first instruction set in the instruction set in a first state and can respond to instructions of a second instruction set in the instruction set in a second state, wherein the number of the instructions in the first instruction set is smaller than that in the second instruction set.
As will be appreciated by those skilled in the art, the integration of the display unit and the touch sensing unit may include at least two ways: one is that the two are independent devices, arranged in an overlapping manner, such as the touch devices of the prior art; another is a hybrid arrangement, such as providing a sense layer on both sides of the display layer to thin the design, for example: an in-cell touch screen.
As shown in fig. 4, an electronic device control method may include:
s401, when the electronic equipment is in a first state, a first interface corresponding to a stored preset track password is adjusted through a preset adjusting mode to form a second interface and the second interface is displayed on the display unit;
the first state may be a screen lock state, but is not limited to the screen lock state.
It should be noted that, when the track password is set, the track password corresponds to the first interface, and then the first interface is displayed on the display unit, and when the track set input by the input body matches the preset track password, the electronic device is switched from the first state to the second state. Wherein the set of trajectories may include: one input trace, or at least two input traces.
The second interface is formed after the first interface corresponding to the stored preset track password is adjusted through a preset adjustment mode, and the method specifically includes:
rotating the first interface corresponding to the stored preset track password by a preset angle to form a second interface;
or,
zooming the first interface corresponding to the stored preset track password according to a preset zoom multiple to form a second interface;
or,
and rotating the first interface corresponding to the stored preset track password by a preset angle and zooming according to a preset zoom multiple to form a second interface.
Of course, the method of forming the second interface by adjusting the first interface corresponding to the stored preset track password through the preset adjustment method is not limited to the above method, and the first interface may be adjusted through other methods to form the second interface.
S402, acquiring a track set input by an operation body through the touch sensing unit;
wherein the set of trajectories may include: one input trace, or at least two input traces.
S403, determining a track set to be matched corresponding to the track set in the forward direction of the display unit according to a preset adjusting mode;
it can be understood that, since the second interface is formed by adjusting the first interface according to the preset adjustment manner, the trajectory set input on the second interface needs to be converted into the trajectory set corresponding to the first interface, that is, the trajectory set to be matched corresponding to the forward direction of the display unit is determined, and then the subsequent trajectory passwords are matched.
When the second interface is formed by rotating the first interface by a preset angle, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit according to a preset adjustment mode, which may specifically be:
and taking the corresponding track set after the track set rotates reversely by a preset angle as the corresponding track set to be matched in the forward direction of the display unit.
When the second interface is formed by zooming the first interface according to a preset zoom factor, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit according to a preset adjustment mode, which may specifically be:
and taking the corresponding track set after the track set is subjected to scaling processing according to the reciprocal of the preset scaling multiple as a track set to be matched corresponding to the display unit in the forward direction.
When the second interface is formed by rotating the first interface by a preset angle and performing scaling processing according to a preset scaling multiple, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit according to a preset adjustment mode, which may specifically be:
and reversely rotating the track set by a preset angle and carrying out zooming processing according to the reciprocal of a preset zooming multiple to obtain a corresponding track set as a track set to be matched in the forward direction of the display unit.
It is understood that the preset angle and the preset zoom factor may be set according to actual situations, and are not limited herein.
It can be understood that, when the determination criterion of the track password is the number of inflection points of the track, if the first interface is adjusted in the predetermined adjustment manner, it may be directly determined whether the number of inflection points of the acquired track set is the same as the number of inflection points of the track password without performing reverse adjustment on the acquired track set, and under the same condition, the electronic device is switched from the first state to the second state.
S404, judging whether the track set to be matched is matched with a preset track password, if so, executing the step S405; otherwise, prompting error information;
s405, the electronic equipment is switched from the first state to a second state.
And when the track set to be matched is matched with a preset track password, the electronic equipment is switched from the first state to the second state.
It is understood that the second state may be an unlocked state corresponding to the first state being a screen locked state, but is not limited to the unlocked state.
In this embodiment, when the electronic device is in the first state, the first interface corresponding to the track password is adjusted in a preset adjustment mode to form a second interface, the track set input by the input body on the second interface is adjusted according to the preset adjustment mode to form a track to be matched, and then when the track to be matched is matched with the track password, the electronic device is switched to the second state. Therefore, the second interface aimed at by the input body is adjusted by the first interface according to the preset adjustment mode, so that the track set input by the input body is not determined, the touch trace is uncertain, the leakage of the track password caused by the touch trace is avoided, and the purpose of improving the data security of the electronic equipment is achieved.
It should be noted that, in this embodiment, when it is determined that the set of tracks to be matched matches the preset track password, the first state may be switched to the third state instead of being directly switched to the second state, and the electronic device is switched from the third state to the second state when the acquired interference track can interfere with the set of tracks, so as to achieve the purpose of further improving data security of the electronic device.
The electronic device control method provided by the embodiment of the invention is described below by taking the screen lock state as the first state and the unlock state as the second state as an example.
It should be noted that the electronic device to which the electronic device control method provided by the embodiment of the invention is applied has a touch sensing unit and a display unit. Wherein, the electronic device can be: touch screen cell phones, tablet computers, and the like.
As shown in fig. 5, an electronic device control method may include:
s501, when the electronic equipment is in a screen locking state, rotating a first interface corresponding to a stored preset track password clockwise by 90 degrees to form a second interface and displaying the second interface on the display unit;
s502, acquiring a track set input by an operation body through the touch sensing unit;
s503, taking the corresponding track set after the track set rotates 90 degrees anticlockwise as the corresponding track set to be matched on the display unit in the forward direction;
s504, judging whether the track set to be matched is matched with a preset track password, if so, executing the step S505; otherwise, an error message is prompted.
And S505, switching the electronic equipment from the screen locking state to the unlocking state.
In this embodiment, the first interface corresponding to the track password is rotated by 90 degrees clockwise, and after the track set is collected, whether the track set rotated by 90 degrees counterclockwise is matched with the track password is determined, and under the condition of matching, the electronic device is switched from the screen locking state to the screen locking state. Therefore, the second interface corresponding to the input body is obtained by clockwise rotating the first interface by 90 degrees, so that the track set input by the input body is uncertain, the touch trace is uncertain, the leakage of the track password caused by the touch trace is avoided, and the purpose of improving the data security of the electronic equipment is achieved.
Through the above description of the method embodiments, those skilled in the art can clearly understand that the present invention can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and so on.
Corresponding to the above method embodiment, an embodiment of the present invention further provides an electronic device control apparatus, which is suitable for an electronic device, where the electronic device has a touch sensing unit, and as shown in fig. 6, the apparatus may include:
a track set acquiring module 110, configured to acquire, when the electronic device is in a first state, a track set input by an operation body through the touch sensing unit;
a judgment processing module 120, configured to judge whether the trajectory set meets a first predetermined condition, and if so, trigger a state switching module;
a state switching module 130, configured to switch the electronic device from the first state to a second state.
The electronic equipment control device provided by the embodiment of the invention is suitable for electronic equipment, and the electronic equipment is provided with a touch sensing unit; when the electronic equipment is in a first state, acquiring a track set input by an operation body through the touch sensing unit; judging whether the track set meets a first preset condition or not, and obtaining a first judgment result; and when the first judgment result shows that the track set meets the first preset condition, switching the electronic equipment from the first state to a second state. In the scheme, the electronic equipment is switched from the first state to the second state only after the collected track set meets the first preset condition, so that track password leakage caused by input body touch traces can be avoided by setting the first preset condition, and the data security of the electronic equipment is improved.
The determining module 120 may include:
the first track judging unit is used for judging whether a first input track in the track set meets a second preset condition or not, and if so, the intermediate state switching unit is triggered;
the intermediate state switching unit is used for switching the electronic equipment to a third state;
and the second track judging unit is used for judging whether a second input track in the track set meets a third preset condition after the electronic equipment is switched to a third state, and if so, triggering the state switching module.
Further, the second trajectory determination unit is specifically configured to:
judging whether the coverage rate of the second input track to a preset area arranged in the touch sensing unit is not lower than a first threshold value;
or,
judging whether the area corresponding to the second input track comprises the area corresponding to the first input track;
or,
judging whether the area corresponding to the second input track comprises the area corresponding to the first input track, and whether the proportion of the area corresponding to the first input track in the area corresponding to the second input track is lower than a second threshold value;
or,
judging whether the number of intersection points of the second input track and the first input track is greater than a third threshold value;
or,
whether the second input trajectory is a predetermined trajectory.
The electronic device control apparatus further includes a display unit, and the electronic device control apparatus further includes:
the interface processing module is used for adjusting a first interface corresponding to the stored preset track password in a preset adjusting mode to form a second interface and displaying the second interface on the display unit;
accordingly, the determining module 120 may include:
the track set to be matched is determined according to a preset adjusting mode;
and the track password judging unit is used for judging whether the track set to be matched is matched with a preset track password or not, and if so, triggering the state switching module.
Further, the interface processing module may include:
the first interface processing unit is used for rotating the first interface corresponding to the stored preset track password by a preset angle to form a second interface;
correspondingly, the track determining unit to be matched may include:
and the first to-be-matched track determining subunit is used for taking the track set corresponding to the track set after the track set rotates reversely by a preset angle as the corresponding to-be-matched track set in the forward direction of the display unit.
Further, the interface processing module may include:
the second interface processing unit is used for zooming the first interface corresponding to the stored preset track password according to a preset zoom multiple to form a second interface;
correspondingly, the track determining unit to be matched may include:
and the second trajectory determining subunit is configured to use the trajectory set corresponding to the trajectory set after the trajectory set is scaled according to the inverse of the preset scaling factor as the trajectory set to be matched corresponding to the display unit in the forward direction.
Further, the interface processing module may include:
rotating a first interface corresponding to the stored preset track password by a preset angle and zooming according to a preset zoom multiple to form a second interface;
correspondingly, the track determining unit to be matched may include:
and the third trajectory determining subunit is used for rotating the trajectory set reversely by a preset angle and performing zooming processing according to the reciprocal of a preset zooming multiple to obtain a corresponding trajectory set as the trajectory set to be matched corresponding to the display unit in the forward direction.
An embodiment of the present invention further provides an electronic device, which has a touch sensing unit, and the electronic device further includes: an electronic device control apparatus;
the electronic device control apparatus may include:
the track set acquisition module is used for acquiring a track set input by an operation body through the touch sensing unit when the electronic equipment is in a first state;
the judgment processing module is used for judging whether the track set meets a first preset condition or not, and if so, the state switching module is triggered;
and the state switching module is used for switching the electronic equipment from the first state to the second state.
For device or system embodiments, as they correspond substantially to method embodiments, reference may be made to the method embodiments for some of their descriptions. The above-described embodiments of the apparatus or system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways without departing from the spirit and scope of the present application. The present embodiment is an exemplary example only, and should not be taken as limiting, and the specific disclosure should not be taken as limiting the purpose of the application. For example, the division of the unit or the sub-unit is only one logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or a plurality of sub-units are combined together. In addition, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
Additionally, the systems, apparatus, and methods described, as well as the illustrations of various embodiments, may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present application. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.
Claims (14)
1. An electronic device control method is applied to an electronic device, wherein the electronic device is provided with a touch sensing unit, and the method comprises the following steps:
when the electronic equipment is in a first state, acquiring a track set input by an operation body through the touch sensing unit;
judging whether the track set meets a first preset condition or not, and obtaining a first judgment result;
when the first judgment result shows that the track set meets the first preset condition, the electronic equipment is switched from the first state to a second state;
the electronic device is provided with an instruction set, the electronic device can respond to instructions of a first instruction set in the first state, and can respond to instructions of a second instruction set in the second state, wherein the number of the instructions in the first instruction set is smaller than that in the second instruction set.
2. The method according to claim 1, wherein the determining whether the trajectory set satisfies a first predetermined condition is specifically:
judging whether a first input track in the track set meets a second preset condition or not, and obtaining a second judgment result;
when the second judgment result shows that the first input track meets the second preset condition, switching the electronic equipment to a third state; wherein, in the third state, the instructions of a third instruction set in the instruction set can be responded, and the number of the instructions in the third instruction set is smaller than that in the second instruction set;
and further judging whether a second input track in the track set meets a third preset condition, wherein the third preset condition is that the second input track forms interference input of the first input track.
3. The method according to claim 2, wherein the track set comprises continuous tracks formed by the process of an operator entering the detection range of the touch sensing unit, moving in the detection range and finally leaving the detection range of the touch sensing unit;
a first portion of the continuous trajectory is the first input trajectory and a second portion of the continuous trajectory is the second input trajectory, wherein an acquisition time of the first portion is earlier than an acquisition time of the second portion.
4. The method of claim 2, wherein a first input trajectory of the set of trajectories is an input trajectory acquired while the electronic device is in a first state; and the second input track of the track set is the input track acquired after the electronic equipment is switched to the third state when the first input track meets the second preset condition.
5. The method of claim 4, wherein the second input trace is a continuous input trace or a plurality of input traces within a predetermined time interval.
6. The method according to claim 2, wherein the second input trajectory forms a disturbing input to the first input trajectory, in particular:
the coverage rate of the second input track to a preset area arranged in the touch sensing unit is not lower than a first threshold value;
or,
the area corresponding to the second input track comprises the area corresponding to the first input track;
or,
the second input track corresponding area comprises the first input track corresponding area, and the proportion of the first input track corresponding area in the second input track corresponding area is lower than a second threshold value;
or the number of intersection points of the second input track and the first input track is greater than a third threshold;
or,
the second input trajectory is a predetermined trajectory.
7. The method of claim 1, wherein the electronic device further comprises a display unit, and before the collection of the trajectory set of the operator input is collected by the touch sensing unit, the method further comprises:
adjusting a first interface corresponding to the stored preset track password in a preset adjusting mode to form a second interface and displaying the second interface on the display unit;
the determining whether the track set meets a first predetermined condition specifically includes:
determining a track set to be matched corresponding to the track set in the forward direction of the display unit according to a preset adjusting mode;
and judging whether the track set to be matched is matched with a preset track password or not.
8. The method according to claim 7, wherein the second interface is formed after the first interface corresponding to the stored preset track password is adjusted by a preset adjustment mode, specifically:
rotating the first interface corresponding to the stored preset track password by a preset angle to form a second interface;
correspondingly, according to a preset adjustment mode, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit, specifically:
and taking the corresponding track set after the track set rotates reversely by a preset angle as the corresponding track set to be matched in the forward direction of the display unit.
9. The method according to claim 7, wherein the second interface is formed after the first interface corresponding to the stored preset track password is adjusted by a preset adjustment mode, specifically:
zooming the first interface corresponding to the stored preset track password according to a preset zoom multiple to form a second interface;
correspondingly, according to a preset adjustment mode, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit, specifically:
and taking the corresponding track set after the track set is subjected to scaling processing according to the reciprocal of the preset scaling multiple as a track set to be matched corresponding to the display unit in the forward direction.
10. The method according to claim 7, wherein the second interface is formed after the first interface corresponding to the stored preset track password is adjusted by a preset adjustment mode, specifically:
rotating a first interface corresponding to the stored preset track password by a preset angle and zooming according to a preset zoom multiple to form a second interface;
correspondingly, according to a preset adjustment mode, determining a to-be-matched track set corresponding to the track set in the forward direction of the display unit, specifically:
and reversely rotating the track set by a preset angle and carrying out zooming processing according to the reciprocal of a preset zooming multiple to obtain a corresponding track set as a track set to be matched in the forward direction of the display unit.
11. An electronic device control apparatus adapted to an electronic device having a touch sensing unit, the apparatus comprising:
the track set acquisition module is used for acquiring a track set input by an operation body through the touch sensing unit when the electronic equipment is in a first state;
the judgment processing module is used for judging whether the track set meets a first preset condition or not, and if so, the state switching module is triggered;
and the state switching module is used for switching the electronic equipment from the first state to the second state.
12. The apparatus of claim 11, wherein the means for determining comprises:
the first track judging unit is used for judging whether a first input track in the track set meets a second preset condition or not, and if so, the intermediate state switching unit is triggered;
the intermediate state switching unit is used for switching the electronic equipment to a third state;
and the second track judging unit is used for judging whether a second input track in the track set meets a third preset condition after the electronic equipment is switched to a third state, and if so, triggering the state switching module.
13. The apparatus according to claim 11, wherein the electronic device to which it is applied further comprises a display unit, the apparatus further comprising:
the interface processing module is used for adjusting a first interface corresponding to the stored preset track password in a preset adjusting mode to form a second interface and displaying the second interface on the display unit;
correspondingly, the judgment processing module includes:
the track set to be matched is determined according to a preset adjusting mode;
and the track password judging unit is used for judging whether the track set to be matched is matched with a preset track password or not, and if so, triggering the state switching module.
14. An electronic device having a touch sensing unit, the electronic device further comprising: an electronic device control apparatus;
the electronic device control apparatus includes:
the track set acquisition module is used for acquiring a track set input by an operation body through the touch sensing unit when the electronic equipment is in a first state;
the judgment processing module is used for judging whether the track set meets a first preset condition or not, and if so, the state switching module is triggered;
and the state switching module is used for switching the electronic equipment from the first state to the second state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210184242.1A CN103455174B (en) | 2012-06-05 | 2012-06-05 | Control method of electronic device, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210184242.1A CN103455174B (en) | 2012-06-05 | 2012-06-05 | Control method of electronic device, device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103455174A true CN103455174A (en) | 2013-12-18 |
CN103455174B CN103455174B (en) | 2016-08-17 |
Family
ID=49737626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210184242.1A Active CN103455174B (en) | 2012-06-05 | 2012-06-05 | Control method of electronic device, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103455174B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104460999A (en) * | 2014-11-28 | 2015-03-25 | 广东欧珀移动通信有限公司 | Method and device for recognizing gesture with inflection point |
CN104866072A (en) * | 2014-02-20 | 2015-08-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104956308A (en) * | 2012-10-04 | 2015-09-30 | 英特尔公司 | Method, apparatus and system of managing a user login interface |
CN105095730A (en) * | 2015-06-25 | 2015-11-25 | 中兴通讯股份有限公司 | Method and device for controlling electronic device/unlocking hand-held terminal and electronic device |
CN105094632A (en) * | 2014-05-12 | 2015-11-25 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105487741A (en) * | 2014-09-16 | 2016-04-13 | 联想(北京)有限公司 | Display control method and electronic equipment |
WO2016184137A1 (en) * | 2015-10-23 | 2016-11-24 | 中兴通讯股份有限公司 | Processing method and apparatus for terminal unlocking |
CN106815500A (en) * | 2017-01-20 | 2017-06-09 | 联想(北京)有限公司 | Information processing method, information processor and electronic equipment |
CN112765581A (en) * | 2021-01-13 | 2021-05-07 | 惠州Tcl移动通信有限公司 | Mobile terminal touch screen track unlocking processing method, device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101634925A (en) * | 2008-07-22 | 2010-01-27 | 联想移动通信科技有限公司 | Method for unlocking keypad through gestures |
CN101819505A (en) * | 2010-04-26 | 2010-09-01 | 威盛电子股份有限公司 | Electronic system with touch control screen and operation method thereof |
CN201859426U (en) * | 2010-08-10 | 2011-06-08 | 联想移动通信科技有限公司 | Terminal |
-
2012
- 2012-06-05 CN CN201210184242.1A patent/CN103455174B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101634925A (en) * | 2008-07-22 | 2010-01-27 | 联想移动通信科技有限公司 | Method for unlocking keypad through gestures |
CN101819505A (en) * | 2010-04-26 | 2010-09-01 | 威盛电子股份有限公司 | Electronic system with touch control screen and operation method thereof |
CN201859426U (en) * | 2010-08-10 | 2011-06-08 | 联想移动通信科技有限公司 | Terminal |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104956308A (en) * | 2012-10-04 | 2015-09-30 | 英特尔公司 | Method, apparatus and system of managing a user login interface |
CN104866072A (en) * | 2014-02-20 | 2015-08-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105094632A (en) * | 2014-05-12 | 2015-11-25 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105487741A (en) * | 2014-09-16 | 2016-04-13 | 联想(北京)有限公司 | Display control method and electronic equipment |
CN105487741B (en) * | 2014-09-16 | 2020-04-24 | 联想(北京)有限公司 | Display control method and electronic equipment |
CN104460999B (en) * | 2014-11-28 | 2017-07-28 | 广东欧珀移动通信有限公司 | A kind of gesture identification method and device with flex point |
CN104460999A (en) * | 2014-11-28 | 2015-03-25 | 广东欧珀移动通信有限公司 | Method and device for recognizing gesture with inflection point |
CN105095730A (en) * | 2015-06-25 | 2015-11-25 | 中兴通讯股份有限公司 | Method and device for controlling electronic device/unlocking hand-held terminal and electronic device |
WO2016206398A1 (en) * | 2015-06-25 | 2016-12-29 | 中兴通讯股份有限公司 | Method and apparatus for controlling electronic device, and method and apparatus for unlocking hand-held terminal |
WO2016184137A1 (en) * | 2015-10-23 | 2016-11-24 | 中兴通讯股份有限公司 | Processing method and apparatus for terminal unlocking |
CN106611140A (en) * | 2015-10-23 | 2017-05-03 | 中兴通讯股份有限公司 | Terminal unlocking processing method and apparatus |
CN106815500A (en) * | 2017-01-20 | 2017-06-09 | 联想(北京)有限公司 | Information processing method, information processor and electronic equipment |
CN112765581A (en) * | 2021-01-13 | 2021-05-07 | 惠州Tcl移动通信有限公司 | Mobile terminal touch screen track unlocking processing method, device, equipment and medium |
CN112765581B (en) * | 2021-01-13 | 2023-12-26 | 惠州Tcl移动通信有限公司 | Mobile terminal touch screen track unlocking processing method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN103455174B (en) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103455174B (en) | Control method of electronic device, device and electronic equipment | |
CN106778141B (en) | Unlocking method and device based on gesture recognition and mobile terminal | |
EP2682891B1 (en) | Electronic device and method for releasing lock using element combining color and symbol | |
CN105204763B (en) | A kind of terminal unlock method and terminal | |
US20150324113A1 (en) | Unlocking electronic devices using touchscreen input gestures | |
CN105446636B (en) | Dynamic unlocking method and electronic device | |
CN112269508B (en) | Display method and device and electronic equipment | |
CN111966439A (en) | Riding code display method and device and electronic equipment | |
CN105678147B (en) | Touch operation method and device | |
CN105320871A (en) | Screen unlocking method and screen unlocking apparatus | |
CN104516645A (en) | Electronic device unlocking method | |
CN103019579A (en) | Method for unlocking screen and electronic device applying same | |
CN105607894A (en) | Terminal application control method and device, and terminal | |
EP2827268A1 (en) | Information terminal and execution control method | |
CN105095730A (en) | Method and device for controlling electronic device/unlocking hand-held terminal and electronic device | |
CN108664286B (en) | Application program preloading method and device, storage medium and mobile terminal | |
CN107037972A (en) | Application icon hidden method and device | |
CN106407761B (en) | Unlocking method and unlocking device | |
CN105184141A (en) | Unlocking method and apparatus, and mobile terminal | |
CN103019553B (en) | Method and device for unlocking screen | |
CN109829279B (en) | Unlocking event processing method and related equipment | |
CN112764611A (en) | Application program control method and device and electronic equipment | |
CN111857997A (en) | Application program body-separating identification display method, device, equipment and medium | |
CN114546217B (en) | Control method and device for application identifier | |
CN106445382A (en) | Method and system of utilizing gestures to achieve child lock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |