CN106406632B - A kind of approaches to IM and mobile terminal - Google Patents
A kind of approaches to IM and mobile terminal Download PDFInfo
- Publication number
- CN106406632B CN106406632B CN201611061118.0A CN201611061118A CN106406632B CN 106406632 B CN106406632 B CN 106406632B CN 201611061118 A CN201611061118 A CN 201611061118A CN 106406632 B CN106406632 B CN 106406632B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- touch operation
- preset
- information
- judging
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of approaches to IM and mobile terminal and detects the touch operation of user this method comprises: putting out under screen state;Judge whether the track of the touch operation meets the first desired guiding trajectory;If the track of the touch operation meets first desired guiding trajectory, whether within a preset range the three-dimensional coordinate changing value of the gravity sensor of the mobile terminal is judged;If the three-dimensional coordinate changing value of the gravity sensor hides preset privacy information in the preset range.The privacy information of oneself can be hidden, the available good protection of the privacy information of oneself, the safety of mobile terminal is improved by user in the case where putting out screen state by touch operation and moving in rotation terminal in this way.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of approaches to IM and mobile terminal.
Background technique
With the rapid development of mobile terminal, mobile terminal is that the various aspects of user's daily life are brought greatly just
It is prompt.Such as user can be used mobile terminal and take pictures, recorded video, watch film or record some information etc..
User can sometimes save some privacy informations in the terminal, such as the vital document, some important of company
The information of contact person, oneself some account number ciphers or the relevant information of oneself bank card etc..But sometimes these are believed
Breath can have some potential safety problems, such as when user is together with other people, other people, which are possible to may require that, checks user
Mobile phone, be possible to can be seen by other people for these privacy informations at this time;Or user is when visit the restroom, it may be by hand
Machine stays in the office, and at this moment mobile phone is also possible to be checked by other people.
In conclusion the privacy information of user cannot be protected well, the safety of mobile terminal is poor.
Summary of the invention
The embodiment of the present invention provides a kind of approaches to IM and mobile terminal, cannot get with solving the privacy information of user
Protection well, the poor problem of the safety of mobile terminal.
In a first aspect, the embodiment of the present invention provides a kind of approaches to IM characterized by comprising
It puts out under screen state, detects the touch operation of user;
Judge whether the track of the touch operation meets the first desired guiding trajectory;
If the track of the touch operation meets first desired guiding trajectory, the gravity sensitive of the mobile terminal is judged
Within a preset range whether the three-dimensional coordinate changing value of device;
If the three-dimensional coordinate changing value of the gravity sensor in the preset range, hides preset privacy letter
Breath.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal characterized by comprising
First detection module detects the touch operation of user for putting out under screen state;
First judgment module, for judging whether the track of the touch operation meets the first desired guiding trajectory;
Second judgment module, if judging that the track of the touch operation meets described first for the first judgment module
Whether within a preset range desired guiding trajectory judges the three-dimensional coordinate changing value of the gravity sensor of the mobile terminal;
Hidden module, if judging the three-dimensional coordinate changing value of the gravity sensor in institute for second judgment module
It states in preset range, hides preset privacy information.
In this way, putting out under screen state in the embodiment of the present invention, the touch operation of user is detected;Judge the touch operation
Whether track meets the first desired guiding trajectory;If the track of the touch operation meets first desired guiding trajectory, described in judgement
Within a preset range whether the three-dimensional coordinate changing value of the gravity sensor of mobile terminal;If the three-dimensional of the gravity sensor is sat
Changing value is marked in the preset range, then hides preset privacy information.User can pass through in the case where putting out screen state in this way
The privacy information of oneself is hidden by touch operation and moving in rotation terminal, the available good guarantor of the privacy information of oneself
Shield, the safety of mobile terminal are improved.
Detailed description of the invention
Fig. 1 is a kind of flow chart of approaches to IM provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another approaches to IM provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another approaches to IM provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 10 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
It is a kind of flow chart of approaches to IM provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, as shown in Figure 1, packet
Include following steps:
Step 101 is put out under screen state, and the touch operation of user is detected.
In the embodiment of the present invention, above-mentioned touch operation can be user from left to right primary on mobile terminal screen
It touches, is also possible to primary touch from top to bottom, or be also possible to the primary touch from lower-left toward upper right, any direction
Touch operation be all possible herein.
Step 102 judges whether the track of the touch operation meets the first desired guiding trajectory.
In the embodiment of the present invention, above-mentioned first desired guiding trajectory can be the track for touching generation from left to right, can also be from
Under up touch the estimation of generation, be also possible to some more complicated tracks here certainly, such as the rail of the track of S-shaped, W type
Mark, the track of Z-type or the customized track of any user, for above-mentioned first desired guiding trajectory the shape embodiment of the present invention not
It limits.
If the track of step 103, the touch operation meets first desired guiding trajectory, the mobile terminal is judged
Within a preset range whether the three-dimensional coordinate changing value of gravity sensor.
In the embodiment of the present invention, the above-mentioned popular point of gravity sensor can be understood as one and convert gravitational force to electric signal
Device, then different electric signals can be converted corresponding numerical value.In general it can work as mobile terminal there are three coordinate value
Three coordinate values often can be corresponded in a different placement status, these three coordinate values can be used to indicate mobile terminal
Current placement status, such as be horizontally arranged, be disposed vertically or some angle tilt.
In the embodiment of the present invention, above-mentioned preset range can be the range that user arbitrarily defines, such as mobile terminal
From face user turn left 70 degree of value set to all three coordinate values 110 degree that turn left it can be understood that
For a preset range.Certainly, value range here can be other customized ranges.
In the embodiment of the present invention, when the track of the touch operation meets first desired guiding trajectory, one can be set
A parameter can also be not provided with.When parameter is arranged, for example, by the parameter be set as 100 mean that above-mentioned touch operation accords with
The first desired guiding trajectory is closed, this mode is also possible herein.Certainly it is arbitrarily customized to can be user for parameter here
Parameter is not construed as limiting this embodiment of the present invention.
In the embodiment of the present invention, if the track of above-mentioned touch operation does not meet first desired guiding trajectory, it can continue
To, naturally it is also possible to terminate process, is illustrated in Fig. 1 of the embodiment of the present invention with terminating process.
If the three-dimensional coordinate changing value of step 104, the gravity sensor is hidden preset in the preset range
Privacy information.
In the embodiment of the present invention, above-mentioned privacy information can be some secret papers of company, be also possible to the account of user
Number encrypted message, can be the information of some important relation people, be also possible to user be not desired to be known by other people it is some using journey
Sequence.Such as user is speculated in shares with a stock application program, but user is not intended to others to know that oneself is being speculated in shares, just
This stock application program can be hidden, the stock application program is it can be understood that be the privacy information of user.Example again
As user saves the contact method of certain several Very Important Person inside phone directory, and it is not desired to these contact methods and is obtained by other people
Know, so that it may be hidden these contact methods, these contact methods are it is also assumed that be privacy information.
In the embodiment of the present invention, if the three-dimensional coordinate changing value of above-mentioned gravity sensor not in the preset range, can
To continue waiting for, naturally it is also possible to terminate process, be illustrated in Fig. 1 of the embodiment of the present invention with terminating process.
In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet computer (Tablet Personal
Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital
Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device
(Wearable Device) etc..
A kind of approaches to IM of the embodiment of the present invention, puts out under screen state, detects the touch operation of user;Described in judgement
Whether the track of touch operation meets the first desired guiding trajectory;If the track of the touch operation meets first desired guiding trajectory,
Whether within a preset range then judge the three-dimensional coordinate changing value of the gravity sensor of the mobile terminal;If the gravity sensitive
The three-dimensional coordinate changing value of device then hides preset privacy information in the preset range.In this way in the case where putting out screen state, judgement
After whether the track of touch operation meets the first desired guiding trajectory, judge whether mobile terminal has carried out the rotation of some angle,
User can just hide the privacy information of oneself in the case where realizing that other people not in this way, keep privacy information safer, have
When be also avoided that some embarrassments.Such as when together with good friend, when good friend requires to check the mobile phone of oneself,
User can show slightly awkward if directly refusal, again there is a possibility that the privacy information exposure of oneself, has if not refusing
It is likely to result in some potential safety problems.But when user carries out touch operation to mobile terminal in the case where putting out screen state and carries out certain
When the overturning of a angle, just the privacy information of oneself is hidden, and these movements are all very common movements, will not make friend
Friend feels that oneself is deliberately being hidden, and has both protected the privacy information of user, will not cause the embarrassment between friend, make user
It is more convenient to use.
Second embodiment
Referring to fig. 2, Fig. 2 is the flow chart of another approaches to IM provided in an embodiment of the present invention, as shown in Fig. 2,
The following steps are included:
Step 201 is put out under screen state, and the touch operation of user is detected.
In the embodiment of the present invention, above-mentioned touch operation can be user from left to right primary on mobile terminal screen
It touches, is also possible to primary touch from top to bottom, or be also possible to the primary touch from lower-left toward upper right, any direction
Touch operation be all possible herein.
Step 202 judges whether the track of the touch operation meets the first desired guiding trajectory.
In the embodiment of the present invention, above-mentioned first desired guiding trajectory can be the track for touching generation from left to right, can also be from
Under up touch the estimation of generation, be also possible to some more complicated tracks here certainly, such as the rail of the track of S-shaped, W type
Mark, the track of Z-type or the customized track of any user, for above-mentioned first desired guiding trajectory the shape embodiment of the present invention not
It limits.
If the track of step 203, the touch operation meets first desired guiding trajectory, the mobile terminal it is preposition
Camera is acquired face information.
In the embodiment of the present invention, when the track of the touch operation meets first desired guiding trajectory, one can be set
A parameter can also be not provided with.When parameter is arranged, for example, by the parameter be set as 100 mean that above-mentioned touch operation accords with
The first desired guiding trajectory is closed, this mode is also possible herein.Certainly it is arbitrarily customized to can be user for parameter here
Parameter is not construed as limiting this embodiment of the present invention.
In the embodiment of the present invention, if the track of above-mentioned touch operation does not meet first desired guiding trajectory, it can continue
To, naturally it is also possible to terminate process, is illustrated in Fig. 2 of the embodiment of the present invention with terminating process.
Whether step 204, the face information for judging the front camera acquisition are default face information.
In the embodiment of the present invention, above-mentioned default face information, it can be understood as the face information of the preparatory typing of user.
If the face information of step 205, the front camera acquisition is the default face information, judge described heavy
Within a preset range whether the three-dimensional coordinate changing value of force snesor.
In the embodiment of the present invention, the above-mentioned popular point of gravity sensor can be understood as one and convert gravitational force to electric signal
Device, then different electric signals can be converted corresponding numerical value.In general it can work as mobile terminal there are three coordinate value
Three coordinate values often can be corresponded in a different placement status, these three coordinate values can be used to indicate mobile terminal
Current placement status, such as be horizontally arranged, be disposed vertically or some angle tilt.
In the embodiment of the present invention, above-mentioned preset range can be the range that user arbitrarily defines, such as mobile terminal
From face user turn left 70 degree of value set to all three coordinate values 110 degree that turn left it can be understood that
For a preset range.Certainly, value range here can be other customized ranges.
It, can if the face information of above-mentioned front camera acquisition is not the default face information in the embodiment of the present invention
To continue waiting for, process can also be terminated, be illustrated in Fig. 2 of the embodiment of the present invention with terminating process.
If the three-dimensional coordinate changing value of step 206, the gravity sensor is hidden preset in the preset range
Privacy information.
In the embodiment of the present invention, above-mentioned privacy information can be some secret papers of company, be also possible to the account of user
Number encrypted message, can be the information of some important relation people, be also possible to user be not desired to be known by other people it is some using journey
Sequence.Such as user is speculated in shares with a stock application program, but user is not intended to others to know that oneself is being speculated in shares, just
This stock application program can be hidden, the stock application program is it can be understood that be the privacy information of user.Example again
As user saves the contact method of certain several Very Important Person inside phone directory, and it is not desired to these contact methods and is obtained by other people
Know, so that it may be hidden these contact methods, these contact methods are it is also assumed that be privacy information.
In the embodiment of the present invention, if the three-dimensional coordinate changing value of above-mentioned gravity sensor not in the preset range, can
To continue waiting for, process can also be terminated, be illustrated in Fig. 2 of the embodiment of the present invention with terminating process.
The privacy information of user is hidden by the embodiment of the present invention by a series of operation, believes the privacy of user
Breath is protected, and the safety of mobile terminal is improved.
Optionally, it if the three-dimensional coordinate changing value of the gravity sensor is in the preset range, hides pre-
If privacy information, comprising:
If the three-dimensional coordinate changing value of the gravity sensor is in the preset range, the postposition of the mobile terminal
Camera is acquired face information;
Whether the face information for judging the rear camera acquisition is the default face information;
If the face information of the rear camera acquisition is the default face information, preset privacy letter is hidden
Breath.
It, can if the face information of rear camera acquisition is not the default face information in the embodiment of the present invention
To continue waiting for, process can also be terminated.Face information is acquired in front camera and then people is acquired by rear camera
Face information, to determine that user is strictly to hide privacy information, so that privacy information is hidden, the safety of privacy information
It is protected, the safety of mobile terminal is also improved.
The embodiment of the present invention is put out under screen state, and the touch operation of user is detected;Judge the touch operation track whether
Meet the first desired guiding trajectory;If the track of the touch operation meets first desired guiding trajectory, before the mobile terminal
Camera is set to be acquired face information;Whether the face information for judging the front camera acquisition is default face letter
Breath;If the face information of the front camera acquisition is the default face information, the three of the gravity sensor are judged
Whether within a preset range to tie up changes in coordinates value;If the three-dimensional coordinate changing value of the gravity sensor is in the preset range
It is interior, then hide preset privacy information.In this way in the case where putting out screen state, judge whether the track of touch operation meets the first default rail
After mark, judge whether the face information of front camera acquisition is default face information, then judge whether mobile terminal carries out
The rotation of some angle, such user can just hide the privacy information of oneself in the case where realizing that other people not, make hidden
Personal letter, which ceases, to be protected, and the safety of mobile terminal is improved.
3rd embodiment
It is the flow chart of another approaches to IM provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, as shown in figure 3,
The following steps are included:
Step 301 is put out under screen state, and the touch operation of user is detected.
In the embodiment of the present invention, above-mentioned touch operation can be user from left to right primary on mobile terminal screen
It touches, is also possible to primary touch from top to bottom, or be also possible to the primary touch from lower-left toward upper right, any direction
Touch operation be all possible herein.
Step 302 judges whether the track of the touch operation meets the first desired guiding trajectory.
In the embodiment of the present invention, above-mentioned first desired guiding trajectory can be the track for touching generation from left to right, can also be from
Under up touch the estimation of generation, be also possible to some more complicated tracks here certainly, such as the rail of the track of S-shaped, W type
Mark, the track of Z-type or the customized track of any user, for above-mentioned first desired guiding trajectory the shape embodiment of the present invention not
It limits.
If the track of step 303, the touch operation meets first desired guiding trajectory, the mobile terminal screen is detected
Whether the pressure value that the first predeterminated position of curtain is subject to matches with preset pressure threshold value.
In the embodiment of the present invention, above-mentioned first predeterminated position can be the upper left corner, the lower left corner, the right side of mobile terminal screen
Upper angle or the lower right corner, naturally it is also possible to be any one position on mobile terminal screen, this embodiment of the present invention is not limited
It is fixed.
It is above-mentioned whether to be matched with preset pressure threshold value in the embodiment of the present invention, it may be greater than some pressure value, such as greatly
In 5 Ns of pressure value;Or it is also possible in some range of pressure values, such as between 6 Ns to 10 Ns, such case is also
Can with.
Certainly, the detection of pressure can also be substituted for the detection of other information, such as sound detection or eyeball herein
Identification etc., this implementation is also possible.
In the embodiment of the present invention, if the track of above-mentioned touch operation does not meet first desired guiding trajectory, it can continue
To terminate process, be illustrated in Fig. 3 of the embodiment of the present invention with terminating process.
If the pressure value that step 304, first predeterminated position are subject to is matched with the preset pressure threshold value, institute is judged
Whether within a preset range to state the three-dimensional coordinate changing value of gravity sensor.
In the embodiment of the present invention, the above-mentioned popular point of gravity sensor can be understood as one and convert gravitational force to electric signal
Device, then different electric signals can be converted corresponding numerical value.In general it can work as mobile terminal there are three coordinate value
Three coordinate values often can be corresponded in a different placement status, these three coordinate values can be used to indicate mobile terminal
Current placement status, such as be horizontally arranged, be disposed vertically or some angle tilt.
In the embodiment of the present invention, above-mentioned preset range can be the range that user arbitrarily defines, such as mobile terminal
From face user turn left 70 degree of value set to all three coordinate values 110 degree that turn left it can be understood that
For a preset range.Certainly, value range here can be other customized ranges.
In the embodiment of the present invention, if the pressure value that is subject to of above-mentioned first predeterminated position and the preset pressure threshold value are not
Match, can continue waiting for, process can also be terminated, be illustrated in Fig. 3 of the embodiment of the present invention with terminating process.
If the three-dimensional coordinate changing value of step 305, the gravity sensor is hidden preset in the preset range
Privacy information.
In the embodiment of the present invention, above-mentioned privacy information can be some secret papers of company, be also possible to the account of user
Number encrypted message, can be the information of some important relation people, be also possible to user be not desired to be known by other people it is some using journey
Sequence.Such as user is speculated in shares with a stock application program, but user is not intended to others to know that oneself is being speculated in shares, just
This stock application program can be hidden, the stock application program is it can be understood that be the privacy information of user.Example again
As user saves the contact method of certain several Very Important Person inside phone directory, and it is not desired to these contact methods and is obtained by other people
Know, so that it may be hidden these contact methods, these contact methods are it is also assumed that be privacy information.
In the embodiment of the present invention, if the three-dimensional coordinate changing value of above-mentioned gravity sensor not in the preset range, can
To continue waiting for, process can also be terminated, be illustrated in Fig. 3 of the embodiment of the present invention with terminating process.
The privacy information of user is hidden by the embodiment of the present invention by a series of operation, believes the privacy of user
Breath is protected, and the safety of mobile terminal is improved.
Optionally, it if the three-dimensional coordinate changing value of the gravity sensor is in the preset range, hides pre-
If privacy information, comprising:
If the three-dimensional coordinate changing value of the gravity sensor is in the preset range, the second of the mobile terminal
Predeterminated position is acquired finger print information;
Whether the finger print information for judging the second predeterminated position acquisition is preset fingerprint information;
If the finger print information of the second predeterminated position acquisition is the preset fingerprint information, preset privacy letter is hidden
Breath.
In the embodiment of the present invention, above-mentioned second predeterminated position can the upper left corner of mobile terminal, the lower left corner, the upper right corner or
The person lower right corner.Above-mentioned preset fingerprint information can be any one finger in thumb, index finger, middle finger, the third finger or little finger of toe
Finger print information.The screen predeterminated position for judging mobile terminal pressure and then judge whether mobile terminal is rotated, then
Privacy information, is hidden by the judgement of some column, believes the privacy of user by the finger print information for judging predeterminated position acquisition
Breath is protected well, and the safety of mobile terminal is also improved.
In the embodiment of the present invention, if the finger print information of above-mentioned second predeterminated position acquisition is not the preset fingerprint information,
It can continue waiting for, process can also be terminated.
Optionally, it is described hide preset privacy information after, the method also includes:
Detect the touch operation of user;
Judge whether the track of the touch operation meets the second desired guiding trajectory;
If the track of the touch operation meets second desired guiding trajectory, the privacy information is shown.
In the embodiment of the present invention, above-mentioned second desired guiding trajectory can be the track for touching generation from left to right, can also be from
Under up touch the estimation of generation, be also possible to some more complicated tracks here certainly, such as the rail of the track of S-shaped, W type
Mark, the track of Z-type or the customized track of any user, for above-mentioned second desired guiding trajectory the shape embodiment of the present invention not
It limits.
It should be noted that the second desired guiding trajectory here can be as the first desired guiding trajectory, it can also be pre- with first
If track is different.When the second desired guiding trajectory and different the first desired guiding trajectory, one is used to hide privacy information, and one
A to be used to show hiding information, such user uses also can be very convenient, and can be in order to user area point.And this implementation
Mode is also applied in embodiment one and embodiment two.
The embodiment of the present invention can carry out privacy information when user does not want that privacy information is allowed to be seen by other people
It hides, its display can be made by operation again when needing to use privacy information, brought great convenience for user, and
And the privacy information of user can obtain safety guarantee, the safety of mobile terminal is improved.
The embodiment of the present invention is put out under screen state, and the touch operation of user is detected;Judge the touch operation track whether
Meet the first desired guiding trajectory;If the track of the touch operation meets first desired guiding trajectory, the mobile terminal is detected
Whether the pressure value that the first predeterminated position of screen is subject to matches with preset pressure threshold value;If what first predeterminated position was subject to
Whether pressure value is matched with the preset pressure threshold value, then judge the three-dimensional coordinate changing value of the gravity sensor in default model
In enclosing;If the three-dimensional coordinate changing value of the gravity sensor hides preset privacy information in the preset range.This
Sample after judging whether the track of touch operation meets the first desired guiding trajectory, judges the first predeterminated position in the case where putting out screen state
Pressure value, then judge whether mobile terminal has carried out the rotation of some angle, such user can be in the feelings for realizing that other people not
The privacy information that oneself is just hidden under condition, protects privacy information, and the safety of mobile terminal is improved.
Fourth embodiment
Referring to fig. 4, Fig. 4 is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in figure 4, mobile terminal 400
Including first detection module 401, first judgment module 402, the second judgment module 403 and hidden module 404, in which:
First detection module 401 detects the touch operation of user for putting out under screen state;
First judgment module 402, for judging whether the track of the touch operation meets the first desired guiding trajectory;
Second judgment module 403, if judging that the track of the touch operation meets institute for the first judgment module 402
The first desired guiding trajectory is stated, whether within a preset range to judge the three-dimensional coordinate changing value of the gravity sensor of the mobile terminal;
Hidden module 404, if judging the three-dimensional coordinate variation of the gravity sensor for second judgment module 403
Value hides preset privacy information in the preset range.
Optionally, as shown in figure 5, second judgment module 403, comprising:
First acquisition unit 4031, if judging that the track of the touch operation meets for the first judgment module 402
First desired guiding trajectory, the front camera of the mobile terminal are acquired face information;
First judging unit 4032, for judging whether the face information of the front camera acquisition is default face letter
Breath;
Second judgment unit 4033, if judging the people of the front camera acquisition for first judging unit 4032
Face information is the default face information, whether within a preset range to judge the three-dimensional coordinate changing value of the gravity sensor.
Optionally, as shown in fig. 6, the hidden module 404, comprising:
Second acquisition unit 4041, if judging that the three-dimensional of the gravity sensor is sat for second judgment module 403
Changing value is marked in the preset range, the rear camera of the mobile terminal is acquired face information;
Third judging unit 4042, for judging whether the face information of the rear camera acquisition is the default people
Face information;
First hidden unit 4043, if judging the people of the rear camera acquisition for the third judging unit 4042
Face information is the default face information, hides preset privacy information.
Optionally, as shown in fig. 7, second judgment module 403, comprising:
Detection unit 4034, if for the first judgment module 402 judge the touch operation track meet it is described
First desired guiding trajectory, detect pressure value that the first predeterminated position of the mobile terminal screen is subject to whether with preset pressure threshold value
Matching;
4th judging unit 4035, if detecting the pressure that first predeterminated position is subject to for the detection unit 4034
Value is matched with the preset pressure threshold value, whether within a preset range to judge the three-dimensional coordinate changing value of the gravity sensor.
Optionally, as shown in figure 8, the hidden module 404, comprising:
Third acquisition unit 4044, if judging that the three-dimensional of the gravity sensor is sat for second judgment module 403
Changing value is marked in the preset range, the second predeterminated position of the mobile terminal is acquired finger print information;
5th judging unit 4045, for judging whether the finger print information of the second predeterminated position acquisition is preset fingerprint
Information;
Second hidden unit 4046, if judging the second predeterminated position acquisition for the 5th judging unit 4045
Finger print information is the preset fingerprint information, hides preset privacy information.
Optionally, as shown in figure 9, the mobile terminal 400 further include:
Second detection module 405, for detecting the touch operation of user;
Third judgment module 406, for judging whether the track of the touch operation meets the second desired guiding trajectory;
Display module 407, if judging that the track of the touch operation meets described second for the third judgment module 406
Desired guiding trajectory shows the privacy information.
Mobile terminal 400 can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3, to keep away
Exempt to repeat, which is not described herein again.
The mobile terminal 400 of the embodiment of the present invention, puts out under screen state, detects the touch operation of user;Judge the touch
Whether the track of operation meets the first desired guiding trajectory;If the track of the touch operation meets first desired guiding trajectory, sentence
Break the mobile terminal gravity sensor three-dimensional coordinate changing value whether within a preset range;If the gravity sensor
Three-dimensional coordinate changing value then hides preset privacy information in the preset range.User can put out screen state in this way
Under, the privacy information of oneself is hidden by touch operation and moving in rotation terminal, the privacy information of oneself is available
Protection, the safety of mobile terminal are improved well.
5th embodiment
It is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in Figure 10, mobile terminal referring to Figure 10, Figure 10
1000 include: at least one processor 1001, memory 1002, at least one network interface 1004 and user interface 1003.It moves
Various components in dynamic terminal 1000 are coupled by bus system 1005.It is understood that bus system 1005 for realizing
Connection communication between these components.Bus system 1005 further includes power bus, control bus in addition to including data/address bus
And status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1005 in Figure 10.
Wherein, user interface 1003 may include display, keyboard or pointing device (for example, mouse, trace ball
(track ball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1002 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable P ROM, EPROM), electrically erasable programmable read-only memory (Electrically EP ROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous D RAM, SDRAM), double data speed synchronous dynamic RAM (Double
Data Rate SD RAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SD RAM,
ESDRAM), synchronized links dynamic random access memory (Synch link D RAM, SLDRAM) and direct rambus are random
It accesses memory (Direct Rambus RAM, DRRAM).The memory 1002 of system and method described herein is intended to include
But it is not limited to the memory of these and any other suitable type.
In some embodiments, memory 1002 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 10021 and application program 10022.
Wherein, operating system 10021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 10022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 10022.
In embodiments of the present invention, by the program or instruction of calling memory 1002 to store, specifically, can be application
The program or instruction stored in program 10022, processor 1001 are used for:
It puts out under screen state, detects the touch operation of user;
Judge whether the track of the touch operation meets the first desired guiding trajectory;
If the track of the touch operation meets first desired guiding trajectory, the gravity sensitive of the mobile terminal is judged
Within a preset range whether the three-dimensional coordinate changing value of device;
If the three-dimensional coordinate changing value of the gravity sensor in the preset range, hides preset privacy letter
Breath.
The method that the embodiments of the present invention disclose can be applied in processor 1001, or real by processor 1001
It is existing.Processor 1001 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1001 or software form.Above-mentioned
Processor 1001 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1002, processor 1001 reads the information in memory 1002, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, if the track that processor 1001 executes the touch operation meets first desired guiding trajectory,
Whether within a preset range to judge the three-dimensional coordinate changing value of the gravity sensor of the mobile terminal, comprising:
If the track of the touch operation meets first desired guiding trajectory, the front camera pair of the mobile terminal
Face information is acquired;
Whether the face information for judging the front camera acquisition is default face information;
If the face information of the front camera acquisition is the default face information, the gravity sensor is judged
Three-dimensional coordinate changing value whether within a preset range.
Optionally, if processor 1001 executes the three-dimensional coordinate changing value of the gravity sensor in the default model
In enclosing, then preset privacy information is hidden, comprising:
If the three-dimensional coordinate changing value of the gravity sensor is in the preset range, the postposition of the mobile terminal
Camera is acquired face information;
Whether the face information for judging the rear camera acquisition is the default face information;
If the face information of the rear camera acquisition is the default face information, preset privacy letter is hidden
Breath.
Optionally, if the track that processor 1001 executes the touch operation meets first desired guiding trajectory,
Whether within a preset range to judge the three-dimensional coordinate changing value of the gravity sensor of the mobile terminal, comprising:
If the track of the touch operation meets first desired guiding trajectory, the first of the mobile terminal screen is detected
Whether the pressure value that predeterminated position is subject to matches with preset pressure threshold value;
If the pressure value that first predeterminated position is subject to is matched with the preset pressure threshold value, judge that the gravity passes
Within a preset range whether the three-dimensional coordinate changing value of sensor.
Optionally, if processor 1001 executes the three-dimensional coordinate changing value of the gravity sensor in the default model
In enclosing, then preset privacy information is hidden, comprising:
If the three-dimensional coordinate changing value of the gravity sensor is in the preset range, the second of the mobile terminal
Predeterminated position is acquired finger print information;
Whether the finger print information for judging the second predeterminated position acquisition is preset fingerprint information;
If the finger print information of the second predeterminated position acquisition is the preset fingerprint information, preset privacy letter is hidden
Breath.
Optionally, processor 1001 is also used to:
Detect the touch operation of user;
Judge whether the track of the touch operation meets the second desired guiding trajectory;
If the track of the touch operation meets second desired guiding trajectory, the privacy information is shown.
Mobile terminal 1000 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1000 of the embodiment of the present invention, puts out under screen state, detects the touch operation of user;Judge the touch
Whether the track of operation meets the first desired guiding trajectory;If the track of the touch operation meets first desired guiding trajectory, sentence
Break the mobile terminal gravity sensor three-dimensional coordinate changing value whether within a preset range;If the gravity sensor
Three-dimensional coordinate changing value then hides preset privacy information in the preset range.User can put out screen state in this way
Under, the privacy information of oneself is hidden by touch operation and moving in rotation terminal, the privacy information of oneself is available
Protection, the safety of mobile terminal are improved well.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (8)
1. a kind of approaches to IM is applied to mobile terminal characterized by comprising
It puts out under screen state, detects the touch operation of user;
Judge whether the track of the touch operation meets the first desired guiding trajectory;
If the track of the touch operation meets first desired guiding trajectory, the gravity sensor of the mobile terminal is judged
Within a preset range whether three-dimensional coordinate changing value;
If the three-dimensional coordinate changing value of the gravity sensor hides preset privacy information in the preset range;
If the track of the touch operation meets first desired guiding trajectory, the gravity sensitive of the mobile terminal is judged
Within a preset range whether the three-dimensional coordinate changing value of device, comprising:
If the track of the touch operation meets first desired guiding trajectory, the front camera of the mobile terminal is to face
Information is acquired;
Whether the face information for judging the front camera acquisition is default face information;
If the face information of the front camera acquisition is the default face information, the three of the gravity sensor are judged
Whether within a preset range to tie up changes in coordinates value;
If the three-dimensional coordinate changing value of the gravity sensor in the preset range, hides preset privacy letter
Breath, comprising:
If the three-dimensional coordinate changing value of the gravity sensor, in the preset range, the postposition of the mobile terminal images
Head is acquired face information;
Whether the face information for judging the rear camera acquisition is the default face information;
If the face information of the rear camera acquisition is the default face information, preset privacy information is hidden.
2. if the method according to claim 1, wherein the track of the touch operation meets described first
Whether within a preset range desired guiding trajectory then judges the three-dimensional coordinate changing value of the gravity sensor of the mobile terminal, comprising:
If the track of the touch operation meets first desired guiding trajectory, detect the mobile terminal screen first is default
Whether the pressure value that position is subject to matches with preset pressure threshold value;
If the pressure value that first predeterminated position is subject to is matched with the preset pressure threshold value, the gravity sensor is judged
Three-dimensional coordinate changing value whether within a preset range.
3. if according to the method described in claim 2, the it is characterized in that, three-dimensional coordinate changing value of the gravity sensor
In the preset range, then preset privacy information is hidden, comprising:
If the three-dimensional coordinate changing value of the gravity sensor, in the preset range, the second of the mobile terminal is default
Position is acquired finger print information;
Whether the finger print information for judging the second predeterminated position acquisition is preset fingerprint information;
If the finger print information of the second predeterminated position acquisition is the preset fingerprint information, preset privacy information is hidden.
4. according to claim 1 to method described in any one of 3 claims, which is characterized in that it is described hide it is preset
After privacy information, the method also includes:
Detect the touch operation of user;
Judge whether the track of the touch operation meets the second desired guiding trajectory;
If the track of the touch operation meets second desired guiding trajectory, the privacy information is shown.
5. a kind of mobile terminal characterized by comprising
First detection module detects the touch operation of user for putting out under screen state;
First judgment module, for judging whether the track of the touch operation meets the first desired guiding trajectory;
Second judgment module, if judging that the track of the touch operation meets described first and presets for the first judgment module
Whether within a preset range track judges the three-dimensional coordinate changing value of the gravity sensor of the mobile terminal;
Hidden module, if judging the three-dimensional coordinate changing value of the gravity sensor described pre- for second judgment module
If in range, hiding preset privacy information;
Second judgment module, comprising:
First acquisition unit, if judging that the track of the touch operation meets described first and presets for the first judgment module
The front camera of track, the mobile terminal is acquired face information;
First judging unit, for judging whether the face information of the front camera acquisition is default face information;
Second judgment unit, if judging that the face information of the front camera acquisition is described for first judging unit
Whether within a preset range default face information, judge the three-dimensional coordinate changing value of the gravity sensor;
The hidden module, comprising:
Second acquisition unit, if judging the three-dimensional coordinate changing value of the gravity sensor in institute for second judgment module
It states in preset range, the rear camera of the mobile terminal is acquired face information;
Third judging unit, for judging whether the face information of the rear camera acquisition is the default face information;
First hidden unit, if judging that the face information of the rear camera acquisition is described for the third judging unit
Default face information, hides preset privacy information.
6. mobile terminal according to claim 5, which is characterized in that second judgment module, comprising:
Detection unit, if judging that the track of the touch operation meets the described first default rail for the first judgment module
Mark, detects whether the pressure value that the first predeterminated position of the mobile terminal screen is subject to matches with preset pressure threshold value;
4th judging unit is preset if detecting the pressure value that first predeterminated position is subject to for the detection unit with described
Whether within a preset range pressure threshold matching, judge the three-dimensional coordinate changing value of the gravity sensor.
7. mobile terminal according to claim 6, which is characterized in that the hidden module, comprising:
Third acquisition unit, if judging the three-dimensional coordinate changing value of the gravity sensor in institute for second judgment module
It states in preset range, the second predeterminated position of the mobile terminal is acquired finger print information;
5th judging unit, for judging whether the finger print information of the second predeterminated position acquisition is preset fingerprint information;
Second hidden unit, if judging the finger print information of the second predeterminated position acquisition for institute for the 5th judging unit
Preset fingerprint information is stated, preset privacy information is hidden.
8. according to mobile terminal described in any one of claim 5 to 7 claim, which is characterized in that the mobile terminal
Further include:
Second detection module, for detecting the touch operation of user;
Third judgment module, for judging whether the track of the touch operation meets the second desired guiding trajectory;
Display module, if judging that the track of the touch operation meets second desired guiding trajectory for the third judgment module,
Show the privacy information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611061118.0A CN106406632B (en) | 2016-11-28 | 2016-11-28 | A kind of approaches to IM and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611061118.0A CN106406632B (en) | 2016-11-28 | 2016-11-28 | A kind of approaches to IM and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106406632A CN106406632A (en) | 2017-02-15 |
CN106406632B true CN106406632B (en) | 2019-09-27 |
Family
ID=58081981
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611061118.0A Active CN106406632B (en) | 2016-11-28 | 2016-11-28 | A kind of approaches to IM and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106406632B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107422976A (en) * | 2017-07-28 | 2017-12-01 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and mobile terminal based on blank screen gesture |
CN107797740A (en) * | 2017-10-26 | 2018-03-13 | 珠海市魅族科技有限公司 | Terminal control method and device, computer installation and readable storage medium storing program for executing |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423676A (en) * | 2013-09-10 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105574382A (en) * | 2015-03-30 | 2016-05-11 | 深圳酷派技术有限公司 | Information protection method and terminal |
-
2016
- 2016-11-28 CN CN201611061118.0A patent/CN106406632B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423676A (en) * | 2013-09-10 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105574382A (en) * | 2015-03-30 | 2016-05-11 | 深圳酷派技术有限公司 | Information protection method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106406632A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107844748B (en) | Auth method, device, storage medium and computer equipment | |
JP6878572B2 (en) | Authentication based on face recognition | |
WO2018166399A1 (en) | Display control method and mobile terminal | |
GB2505338B (en) | Obstructing user content based on location | |
CN104778397B (en) | Information processor and its method | |
US9514297B2 (en) | Systems and methods for gesture lock obfuscation | |
KR20170080617A (en) | Fingerprint authentication using touch sensor data | |
JP2013506210A (en) | Improve system biometric security | |
CN104636649A (en) | Electronic equipment and guiding method thereof | |
CN107450778A (en) | A kind of false touch recognition methods and mobile terminal | |
US9189152B2 (en) | Touch device and method for dynamically setting touch inactive area, and non-transitory recording medium | |
CN106778508B (en) | A kind of fingerprint identification method and mobile terminal | |
CN104679387A (en) | Privacy information protection method and terminal | |
CN106462713B (en) | The interface display method and terminal of terminal | |
CN106228054A (en) | Auth method and device | |
CN104809402A (en) | Fuzzy display method for information and terminal | |
CN107533599A (en) | A kind of gesture identification method, device and electronic equipment | |
CN109117704A (en) | Pressure identification device and electronic device including Pressure identification device | |
CN106503506B (en) | A kind of information display method and electronic equipment | |
CN106406632B (en) | A kind of approaches to IM and mobile terminal | |
CN107295016A (en) | Auth method and device | |
Guse | Gesture-based user authentication on mobile devices using accelerometer and gyroscope | |
CN107025024B (en) | A kind of method preventing mobile terminal maloperation and mobile terminal | |
WO2019113943A1 (en) | Chinese character handwriting processing method and related apparatus | |
CN108171182A (en) | Electronic device, face identification method and Related product |
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 |