CN110300224A - Terminal device control method and terminal device - Google Patents
Terminal device control method and terminal device Download PDFInfo
- Publication number
- CN110300224A CN110300224A CN201910569657.2A CN201910569657A CN110300224A CN 110300224 A CN110300224 A CN 110300224A CN 201910569657 A CN201910569657 A CN 201910569657A CN 110300224 A CN110300224 A CN 110300224A
- Authority
- CN
- China
- Prior art keywords
- folding
- screen
- default characteristic
- characteristic body
- folding angles
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000005484 gravity Effects 0.000 claims description 15
- 238000009434 installation Methods 0.000 claims 1
- 230000005055 memory storage Effects 0.000 claims 1
- 238000012795 verification Methods 0.000 abstract description 11
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000003703 image analysis method Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1641—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- 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/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Environmental & Geological Engineering (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a control method of terminal equipment and the terminal equipment, wherein the terminal equipment can determine whether a password passes verification or not by combining password information and a folding angle, and the folding angle judging method has lower technical requirements, namely the folding angle can be determined without complex operation, so that the influence of technical limitation on the folding angle judging method is smaller. And the folding screen has multiple folding angle, and when terminal equipment's folding screen was in similar fold condition, the folding angle also probably was inequality to compare in the difficult password information of password such as digital password, pattern password among the prior art and reveal. Therefore, compared with the prior art in which the password verification mode can be determined only by verifying the password information, the method has higher security, can solve the technical problem of how to improve the security of the folding screen mobile phone password verification mode in the prior art, and achieves the technical effect of improving the security of the folding screen mobile phone password verification mode.
Description
Technical field
The present invention relates to the control methods and terminal of electronic equipment control technology field more particularly to a kind of terminal device to set
It is standby.
Background technique
Current mobile phone generallys use the modes such as numerical ciphers, pattern password, recognition of face, fingerprint recognition and is unlocked,
There is safety problem in various forms of passwords.For example, the biological informations recognition code verification mode such as recognition of face, fingerprint recognition
By technical restriction there are certain error recognition rate, cause the people (the similar people of appearance) except mobile phone owner that can also unlock
The mobile phone.And numerical ciphers, pattern password are easy to reveal, other people by repeatedly attempt always obtain correct numerical ciphers or
Pattern password, and unlock the mobile phone.
And the folding screen mobile phone occurred with the development of technology still adopts above-mentioned password authentification mode, thus Folding screen
Mobile phone is revealed there are password or by the risk of accidental unlocking, to how to improve the safety of Folding screen cell phone password verification mode
It is a technical problem to be solved urgently.
Summary of the invention
The embodiment of the present invention is by providing the control method and terminal device of a kind of terminal device, for solving the prior art
In the safety for how improving Folding screen cell phone password verification mode the technical issues of.
In a first aspect, one embodiment of the invention provides a kind of control method of terminal device, the terminal device includes
Folding screen, which comprises
The encrypted message of user's input and the folding angles of the Folding screen are obtained, the encrypted message includes encrypted message
And/or identification information;
Judge whether password is verified according to the encrypted message and the folding angles;
Wherein, it is matched in the encrypted message with the encrypted message prestored, and, the folding angles and prestore folding angles
When matching, judge that password authentification passes through.
In control method in the present embodiment, terminal device can determine password with combining cipher information and folding angles
Whether it is verified, and judges that the method for folding angles is lower to technical requirements, that is to say, that does not need through complicated operation
Just folding angles be can determine that, so that influence of the technical restriction to the method for judging folding angles is smaller.And Folding screen is with a variety of
Folding angles, when the Folding screen of terminal device is in similar folded state, folding angles may not also be identical, to compare
It is not easy to reveal in encrypted messages such as numerical ciphers in the prior art, pattern passwords.Therefore, present embodiment is compared to existing skill
Only verifying encrypted message just can determine that password authentification has higher safety by way of in art, be able to solve the prior art
In the safety for how improving Folding screen cell phone password verification mode the technical issues of.
Optionally, the Folding screen includes two sub-screens, the folding angles for obtaining the Folding screen, comprising:
Obtain the location information of the respective center of gravity of described two sub-screens;
According to the location information of the respective center of gravity of described two sub-screens and the dimension information of the Folding screen, described in calculating
Angle between two sub-screens, the angle are the folding angles.
In present embodiment, the location information and Folding screen of the center of gravity for two sub-screens that Folding screen includes can use
Dimension information calculates the angle between sub-screen, and calculation is simple.
Optionally, the Folding screen includes two sub-screens, the folding angles for obtaining the Folding screen, further includes:
The distance between the first default characteristic body and the second default characteristic body are obtained, the first default characteristic body is located at institute
It states in a sub-screen of two sub-screens, the second default characteristic body is located at another sub-screen of described two sub-screens
In;
Corresponding relationship and the distance according to preset distance with angle, determine the folding angles.
It is stored with the corresponding relationship of preset distance and angle in present embodiment, in terminal device, is being determined first
After default the distance between characteristic body and the second default characteristic body, according to the corresponding relationship, Folding screen can be quickly obtained
Folding angles, to improve the execution speed of this control method.
Optionally, acquisition the distance between the first default characteristic body and the second default characteristic body, comprising:
The first default characteristic body is camera, obtains the image of the second default characteristic body, analyzes described image,
Obtain the distance between the camera and the described second default characteristic body;Or,
The first default characteristic body is range sensor, obtains the range sensor and the second default characteristic body
The distance between;Or,
The first default characteristic body and the second default characteristic body are electronic compass, according to two electronic compass it
Between magnetic field strength, obtain the distance between described two electronic compass.
Present embodiment, which gives the first default characteristic body, specifically can be camera, range sensor or electronic compass,
For the first different default characteristic bodies, the mode of the distance between the first default feature and second default characteristic body is obtained also not
Together, so as to be arranged the first default characteristic body according to demand, the flexibility of this method is improved.
Optionally, before the folding angles for obtaining the Folding screen, the method also includes:
When detecting that the user adjusts the folding angles, is adjusted the angle according to unit and adjust the folding angles, with
It assists the user to adjust the folding angles and prestores folding angles to described;And/or
The current folding angles of Folding screen described in real-time display, so that the user checks.
In present embodiment, when user adjusts folding angles, terminal device can be helped according to unit adjustment angle
User adjusts folding angles, the folding angles that terminal device can be current with real-time display, so that user can intuitively see
Current folding angles voluntarily adjust folding angles convenient for user, therefore present embodiment can reduce user for angle folding
Degree is adjusted to difficulty, the raising user experience for prestoring folding angles.
Second aspect, one embodiment of the invention provide a kind of terminal device, and the terminal device includes Folding screen, described
Terminal device further include:
Module is obtained, for obtaining the encrypted message of user's input and the folding angles of the Folding screen, the message in cipher
Breath includes encrypted message and/or identification information;
Judgment module, for judging whether password is verified according to the encrypted message and the folding angles;
Wherein, it is matched in the encrypted message with the encrypted message prestored, and, the folding angles and prestore folding angles
When matching, judge that password authentification passes through.
Optionally, the Folding screen includes two sub-screens, and the acquisition module is used for:
Obtain the location information of the respective center of gravity of described two sub-screens;
According to the location information of the respective center of gravity of described two sub-screens and the dimension information of the Folding screen, described in calculating
Angle between two sub-screens, the angle are the folding angles.
Optionally, the Folding screen includes two sub-screens, and the acquisition module is also used to:
The distance between the first default characteristic body and the second default characteristic body are obtained, the first default characteristic body is located at institute
It states in a sub-screen of two sub-screens, the second default characteristic body is located at another sub-screen of described two sub-screens
In;
Corresponding relationship and the distance according to preset distance with angle, determine the folding angles.
Optionally, the acquisition module is specifically used for:
The first default characteristic body is camera, obtains the image of the second default characteristic body, analyzes described image,
Obtain the distance between the camera and the described second default characteristic body;Or,
The first default characteristic body is range sensor, obtains the range sensor and the second default characteristic body
The distance between;Or,
The first default characteristic body and the second default characteristic body are electronic compass, according to two electronic compass it
Between magnetic field strength, obtain the distance between described two electronic compass.
Optionally, the terminal device further includes angle adjustment module, is used for:
When detecting that the user adjusts the folding angles, is adjusted the angle according to unit and adjust the folding angles, with
It assists the user to adjust the folding angles and prestores folding angles to described;And/or
The current folding angles of Folding screen described in real-time display, so that the user checks.
The third aspect, one embodiment of the invention provide a kind of terminal device, comprising:
At least one processor, and the memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one
The instruction that device is stored by executing the memory is managed, the method as described in above-mentioned first aspect is executed.
Fourth aspect, one embodiment of the invention provide a kind of computer readable storage medium, comprising:
It is stored with computer instruction on the computer readable storage medium, when the computer instruction is by the computer
When at least one processor of device executes, the method as described in above-mentioned first aspect is realized.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
In control method in the present embodiment, terminal device can determine password with combining cipher information and folding angles
Whether it is verified, and judges that the method for folding angles is lower to technical requirements, that is to say, that does not need through complicated operation
Just folding angles be can determine that, so that influence of the technical restriction to the method for judging folding angles is smaller.And Folding screen is with a variety of
Folding angles, when the Folding screen of terminal device is in similar folded state, folding angles may not also be identical, to compare
It is not easy to reveal in encrypted messages such as numerical ciphers in the prior art, pattern passwords.Therefore, present embodiment is compared to existing skill
Only verifying encrypted message just can determine that password authentification has higher safety by way of in art, be able to solve the prior art
In the safety for how improving Folding screen cell phone password verification mode the technical issues of, reach improve Folding screen cell phone password test
The technical effect of the safety of card mode.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the control method of terminal device provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of the Folding screen of terminal device provided in an embodiment of the present invention;
Two schematic diagrames when Fig. 3 a and Fig. 3 b are the folding angles provided in an embodiment of the present invention for calculating Folding screen;
Fig. 4 a~Fig. 4 c is three schematic diagrames of the corresponding relationship of preset distance provided in an embodiment of the present invention and angle;
Fig. 5 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 6 is a kind of physical structure schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In order to solve the above-mentioned technical problem, the general thought of the technical solution in the embodiment of the present invention is as follows:
The control method and terminal device of a kind of terminal device are provided, which includes:
The encrypted message of user's input and the folding angles of the Folding screen are obtained, the encrypted message includes encrypted message
And/or identification information;
Judge whether password is verified according to the encrypted message and the folding angles;
Wherein, it is matched in the encrypted message with the encrypted message prestored, and, the folding angles and prestore folding angles
When matching, judge that password authentification passes through.
In control method in the present embodiment, terminal device can determine password with combining cipher information and folding angles
Whether it is verified, and judges that the method for folding angles is lower to technical requirements, that is to say, that does not need through complicated operation
Just folding angles be can determine that, so that influence of the technical restriction to the method for judging folding angles is smaller.And Folding screen is with a variety of
Folding angles, when the Folding screen of terminal device is in similar folded state, folding angles may not also be identical, to compare
It is not easy to reveal in encrypted messages such as numerical ciphers in the prior art, pattern passwords.Therefore, present embodiment is compared to existing skill
Only verifying encrypted message just can determine that password authentification has higher safety by way of in art, be able to solve the prior art
In the safety for how improving Folding screen cell phone password verification mode the technical issues of.
It should be noted that the "at least one" in the embodiment of the present invention refers to one or more, " multiple " refer to two
It is a or more than two."and/or", describes the incidence relation of affiliated partner, indicates may exist three kinds of relationships, for example, A and/or
The case where B can be indicated: individualism A, exist simultaneously A and B, individualism B, wherein A, B can be odd number or plural number.
Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".At least one of " following (a) " or its similar expression is
Any combination in these of finger, any combination including individual event (a) or complex item (a).For example, in a, b or c extremely
One item missing (a), can indicate: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b, c can be individually, can also be with
It is multiple.
And unless indicated to the contrary, the embodiment of the present invention refers to that the ordinal numbers such as " first ", " second " are for more
A object distinguishes, and is not used in sequence, timing, priority or the significance level for limiting multiple objects.
In the embodiment of the present invention, terminal device can be mobile phone, tablet computer, laptop etc. with Folding screen
Electronic equipment.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
It states technical solution to be described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the present invention
The detailed description of technical solution, rather than the restriction to technical solution of the present invention, in the absence of conflict, the present invention are implemented
Technical characteristic in example and embodiment can be combined with each other.
The embodiment of the present invention one provides a kind of control method of terminal device, is the flow chart of this method referring to Fig. 1,
During introduction below, this method is executed by terminal device, this method comprises:
S101 obtains the encrypted message of user's input and the folding angles of the Folding screen, and the encrypted message includes close
Code information and/or identification information.
S102 judges whether password is verified according to the encrypted message and the folding angles;
Wherein, it is matched in the encrypted message with the encrypted message prestored, and, the folding angles and prestore folding angles
When matching, judge that password authentification passes through.
Step S101 is first carried out in terminal device.
It should be noted that terminal device can be in the state of blank screen or in the state of screen locking and bright screen, pass through
The trigger action of user, which determines, executes step S101, which can be the input operation that user inputs encrypted message,
It can be the operation that user lights screen by solving locking key, be also possible to other operations, this is not restricted.
Specifically, the form of password includes that numerical ciphers, password symbol, letter code, numbers and symbols and letter combine
Password or pattern password, the form of the password in the embodiment of the present invention can be using any one in above-mentioned form, herein
It is not construed as limiting.Identification information includes that the users such as finger print information, facial image information, iris information, palm print information are exclusive
Biological information.Encrypted message in the embodiment of the present invention can only include encrypted message, only include identification information or
Person had both included encrypted message or including identification information.For example, user only selects input pattern password, then terminal device can only
Get the pattern encrypted message.For another example, user has input numerical ciphers, and user also has input finger print information, then terminal device
The encrypted message got just includes numerical ciphers and finger print information.For encrypted message, terminal device provides input circle
Face, so that terminal device can get corresponding encrypted message after user inputs password by the input interface.For identity
Identification information, installing terminal equipment have detection device, such as finger print detection device, palmmprint detection device, camera, iris scan dress
It sets, to utilize different detection devices, so that it may obtain corresponding identification information.
In the embodiment of the present invention, Folding screen includes two sub-screens, it is to be understood that Folding screen includes but is not limited to two
A sub-screen, since the folding mode of Folding screen includes being folded inward and being foldable outwardly, whether which kind of folding mode, such as inside
For folding, as shown in Fig. 2, Folding screen 20 is in the deployed state the form that a plate 21 is presented, it is in a folded configuration
Appear similar to the form of books 22, that is, terminal device side there are a part of curved sub-screen 221, and terminal
The positive sub-screen 222 of equipment and the sub-screen 223 at the back side are all plane configurations.Two son screens in the embodiment of the present invention
Curtain just refer in folding process always in plane configuration will not curved two sub-screens, such as 222 He of sub-screen in Fig. 2
Sub-screen 223.
The folding angles of Folding screen can be measured with the angle between two sub-screens, as a kind of possible implementation
Mode, the location information of the respective center of gravity of available two sub-screens, then according to the position of two respective centers of gravity of sub-screen
The dimension information of confidence breath and Folding screen, calculates the angle between two sub-screens, this angle is exactly the angle folding of Folding screen
Degree.
Specifically, being in folded state, including sub-screen 31 referring to the Folding screen 30 in Fig. 3 a and Fig. 3 b, Fig. 3 a and Fig. 3 b
With sub-screen 32, the angle 33 between sub-screen 31 and sub-screen 32 is folding angles.Using cartesian coordinate system (including X-axis,
Y-axis and Z axis) it indicates, the location information of the center of gravity G1 of sub-screen 31 is G1 (x1, y1, z1), the position of the center of gravity G2 of sub-screen 32
Confidence breath is G2 (x2, y2, z2), and the length of sub-screen 31 is equal to L1, and the length of sub-screen 32 is equal to L2, due to Folding screen 30
Be bent the size of the size much smaller than sub-screen 31 and sub-screen 32 in region, Folding screen thickness much smaller than Folding screen length and
Width calculates, the structure that the structure in Fig. 3 a can be equivalent in Fig. 3 b to simplify.To according to the goniometer of triangle
Formula is calculated, available:
Wherein, α is angle 33, that is, folding angles.
As alternatively possible embodiment, the corresponding relationship of preset distance with angle is stored in terminal device,
Here distance refers to the distance between the first default characteristic body and the second default characteristic body, wherein the first default characteristic body
In a sub-screen in two screens, the second default characteristic body is located in another sub-screen in two screens, needs
It is to be understood that the default characteristic body in the present embodiment can be the electronic device of entity or be as the virtual of label
Object, but at least one in the first and second default characteristic bodies preset characteristic body be the electronic device for having entity.This implementation
In mode, the distance between available first default characteristic body and the second default characteristic body, thus according to the corresponding relationship and
The distance, so that it may determine folding angles.
The schematic diagram of the corresponding relationship of preset distance and angle is given in Fig. 4 a- Fig. 4 c, in order to make it easy to understand, figure
What is provided in 4a- Fig. 4 c is the side view of Folding screen, it can be seen that different distances corresponds to different angles, pre- in Fig. 4 a
If distance be L1, corresponding angle is α 1, the preset distance in Fig. 4 b is L2, and corresponding angle is α 2, in Fig. 4 c
Preset distance be L3, corresponding angle is α 3, for example, the first default characteristic body and the second default characteristic body that get
The distance between be L1, then according to the corresponding relationship in Fig. 4 a, angle corresponding with distance L1 is α 1, so that it is determined that Folding screen
Folding angles are α 1.It should be noted that angle value here is [0 °, 180 °], and when angle value is 0 degree, two son screens
Curtain is parallel to each other, and when angle value is 180 degree, two sub-screens are in unfolded state, correspondingly, being 180 degree in angle value
When corresponding preset distance it is maximum.
The present embodiment gives the possibility reality for obtaining the distance between the first default characteristic body and second default characteristic body
Apply mode, comprising:
Mode 1, the first default characteristic body are camera, obtain the image of the second default characteristic body, analyze institute
Image is stated, the distance between the camera and the described second default characteristic body are obtained;
Mode 2, the first default characteristic body are range sensor, obtain the range sensor and described second and preset
The distance between characteristic body;
Mode 3, the first default characteristic body and the second default characteristic body are electronic compass, according to two electronics
Magnetic field strength between compass obtains the distance between described two electronic compass.
For aforesaid way 1, the first default characteristic body is camera, so as to obtain the second default spy using camera
The image of object is levied, that is, obtains the image of the sub-screen in two sub-screens including second feature object, second in the method
Default characteristic body can be volume button, be also possible to a virtual object, such as any one pixel in selected sub-screen
Point is used as the second default characteristic body.Then image analysis is utilized, the distance between camera and the second default characteristic body are obtained.Tool
The image analysis method of body is not limited thereto, and may refer to image analysis method in the prior art.
For aforesaid way 2, the first default characteristic body is range sensor, which can be optical distance biography
Sensor, infrared distance sensor, ultrasonic distance sensor etc., according to the difference of the type of range sensor, the second default spy
It is also different to levy object.For example, the second default characteristic body is also infrared distance when the first default characteristic body is infrared distance sensor
Sensor a, wherein infrared distance sensor is as infrared emission tube, another infrared distance sensor is as infrared ray
Reception pipe, to determine the distance between the first default characteristic body and the second default characteristic body according to the transmitting-receiving of infrared ray.And
For optical distance sensor and ultrasonic distance sensor, due to its working principle is that receiving reflected light wave or ultrasound
Wave, so the second default characteristic body can be virtual object, the position for corresponding to the second default characteristic body according to sub-screen is anti-
It is emitted back towards the light wave come or ultrasonic wave can determine the distance between the first default characteristic body and the second default characteristic body.
For aforesaid way 3, two default characteristic bodies can all be electronic compass, source of the electronic compass as magnetic field
Magnetic field is generated, another electronic compass can sense magnetic field strength, to can calculate two electronics according to magnetic field strength
The distance between compass, that is, the distance between the first default characteristic body and the second default characteristic body.
In a kind of possible embodiment, in unlocking process, user may need to adjust folding angles, then can be with
The folding angles that may be incorporated for adjustment Folding screen in preset duration after terminal device detects trigger action, example are set
Such as, trigger action is the input operation that user inputs encrypted message, then is detecting in the preset duration after input operation,
For to user adjust Folding screen folding angles, when be more than the preset duration after, then according to the folding angles at current time into
The judgement whether row unlocks.
When adjusting the folding angles of Folding screen due to user, user may be not sensitive enough to the variation of angle, that is, uses
Family naked eyes possibly can not recognition differential away from lesser angle, and folding angles and pre- bankbook that the embodiment of the present invention needs user to adjust
It could be unlocked when folded angle automatching, therefore, in order to reduce the operation difficulty of user, when terminal device detects user's adjustment
It when the folding angles, is adjusted the angle according to unit and adjusts the folding angles, to assist the user to adjust the angle folding
Degree prestores folding angles to described;And/or the folding angles that Folding screen described in real-time display is current, so that the user checks.
Specifically, terminal device can in screen the current folding angles of real-time display, so that user can check
To the numerical value of current folding angles, user is helped to adjust the folding angles.Terminal device can also be rolled in detection user
When the adjustment of folded angle, the folding angles are adjusted according to unit adjustment angle, wherein it is 3 degree, 5 that unit, which adjusts the angle,
Degree, the lesser angles of values such as 10 degree, then terminal device can adjust the angle automatically according to unit and be gradually increased or be gradually reduced folding
Folded angle.Such as current folding angles are 30 degree, increase by 5 degree every 3 seconds, then the 0th second folding angles are 30 degree, the 3rd
Second folding angles be 35 degree, the 6th second folding angles are 40 degree, until user selects to stop adjustment.In every adjustment unit tune
After whole angle, terminal device can by display current angular, issue prompt tone, make apparent pause user is prompted to work as
Before carried out the adjustment of angle.User can select to open or close terminal device auxiliary adjustment folding angles according to demand
Function, and one of optional then above-mentioned auxiliary adjustment function mode or two ways, are not limited thereto.
After executing the step S101, S102 is thened follow the steps, that is, according to the encrypted message and the folding angles
Judge whether password is verified.It is, whether verifying encrypted message matches with the encrypted message prestored, and verifying folds
Whether angle matches with the folding angles prestored.
The encrypted message prestored in the present embodiment is the unlock message of the preparatory typing of user, and input method can be found in existing skill
Art, it is not limited here.And verify folding angles and whether matched with the folding angles prestored, since user wants folding angles
Adjust to identical with the folding angles prestored that there are certain difficulties, so error range of the folding angles in the folding angles prestored
It is interior i.e. it is believed that matching, which by user setting or can be the default value of terminal device, for example, the folding prestored
Folded angle is 47 degree, and error range is ± 5 degree, then folding angles are adjusted to any angle in 42 degree of -52 degree and all may be used by user
To be verified.
It should be noted that obtaining encrypted message and obtaining folding angles includes three kinds of possible sequences in step S101:
Sequentially 1, the encrypted message of user's input is first obtained, then obtain the folding angles of Folding screen;
Sequentially 2, the folding angles of Folding screen are first obtained, then obtain the encrypted message of user's input;
Sequentially 3, the folding angles of Folding screen are obtained while obtaining the encrypted message of user's input.
The sequence for obtaining encrypted message and folding angles is not limited in the embodiment of the present application.
Due to obtaining the difference of the sequence of encrypted message and acquisition folding angles, judged according to encrypted message and folding angles
Whether password is verified including following manner:
Mode a first verifies whether encrypted message matches with the encrypted message prestored, rear to verify folding angles and prestore folding
Whether angle matches;
Mode b, first verify folding angles with prestore whether folding angles match, rear verifying encrypted message whether with prestore
Encrypted message matching.
In conjunction with the sequence of above-mentioned acquisition encrypted message and folding angles, and, aforesaid way a and mode b, the present invention are implemented
Example includes situation shown in table 1 when being executed.
Table 1
What is provided in table 1 is the time sequencing executed, is respectively different to execute sequence from 1 to 5.It should be noted that
For being passed through in table 1 by password authentification to execute unlock operation, for example, there are two " 1 " in situation 1 and situation 3, indicate this two
A step is performed simultaneously, that is, obtains folding angles while obtaining encrypted message.In another example situation 2 be first obtain it is close
Code information, verifying encrypted message match and then obtain the folding angles of Folding screen with preset encrypted message, verify angle folding
It spends after being matched with the folding angles prestored, executes unlock operation.
It should be noted that verifying encrypted message or the verifying unmatched situation of folding angles are not provided in table 1, if testing
Card encrypted message or verifying folding angles mismatch do not execute subsequent step then.For example, for situation 4, if executing the 2nd
After a step determines that folding angles are mismatched with the folding angles prestored, then it can not have to execute other steps down, i.e., not
The 3rd~5 step is executed, so as to save resource used in processing data.
When encrypted message is matched with the encrypted message prestored and folding angles are matched with the folding angles prestored, terminal
Equipment determines that password authentification passes through, and password authentification here is in addition to including unlock operation, as terminal device can wake up Folding screen
And enter terminal device main interface, further include user enter secret setting when password authentification, multi-user when password authentification
Deng needing to carry out password authentification as user enters before secret photograph album.
In control method in the present embodiment, terminal device can determine password with combining cipher information and folding angles
Whether it is verified, and judges that the method for folding angles is lower to technical requirements, that is to say, that does not need through complicated operation
Just folding angles be can determine that, so that influence of the technical restriction to the method for judging folding angles is smaller.And Folding screen is with a variety of
Folding angles, when the Folding screen of terminal device is in similar folded state, folding angles may not also be identical, to compare
It is not easy to reveal in encrypted messages such as numerical ciphers in the prior art, pattern passwords.Therefore, present embodiment is compared to existing skill
Only verifying encrypted message just can determine that password authentification has higher safety by way of in art, be able to solve the prior art
In the safety for how improving Folding screen cell phone password verification mode the technical issues of.
Referring to Fig. 5, second embodiment of the present invention provides a kind of terminal device 50, the terminal device 50 includes Folding screen,
The terminal device 50 further include:
Module 51 is obtained, for obtaining the encrypted message of user's input and the folding angles of the Folding screen, the password
Information includes encrypted message and/or identification information;
Judgment module 52, for judging whether password is verified according to the encrypted message and the folding angles;
Wherein, it is matched in the encrypted message with the encrypted message prestored, and, the folding angles and prestore folding angles
When matching, judge that password authentification passes through.
Optionally, the Folding screen includes two sub-screens, and the acquisition module is used for:
Obtain the location information of the respective center of gravity of described two sub-screens;
According to the location information of the respective center of gravity of described two sub-screens and the dimension information of the Folding screen, described in calculating
Angle between two sub-screens, the angle are the folding angles.
Optionally, the Folding screen includes two sub-screens, and the acquisition module is also used to:
The distance between the first default characteristic body and the second default characteristic body are obtained, the first default characteristic body is located at institute
It states in a sub-screen of two sub-screens, the second default characteristic body is located at another sub-screen of described two sub-screens
In;
Corresponding relationship and the distance according to preset distance with angle, determine the folding angles.
Optionally, the acquisition module is specifically used for:
The first default characteristic body is camera, obtains the image of the second default characteristic body, analyzes described image,
Obtain the distance between the camera and the described second default characteristic body;Or,
The first default characteristic body is range sensor, obtains the range sensor and the second default characteristic body
The distance between;Or,
The first default characteristic body and the second default characteristic body are electronic compass, according to two electronic compass it
Between magnetic field strength, obtain the distance between described two electronic compass.
Optionally, the terminal device further includes angle adjustment module, is used for:
When detecting that the user adjusts the folding angles, is adjusted the angle according to unit and adjust the folding angles, with
It assists the user to adjust the folding angles and prestores folding angles to described;And/or
The current folding angles of Folding screen described in real-time display, so that the user checks.
Referring to Fig. 6, based on the same inventive concept, the embodiment of the present invention three provides a kind of terminal device 60, comprising:
At least one processor 61, and the memory 62 being connect at least one described processor 61;
The memory 62 is stored with the instruction that can be executed by least one described processor 61, at least one described processing
The step of instruction that device 61 is stored by executing the memory 62, execution method as described in above method embodiment.
Optionally, processor 61 can specifically include central processing unit (central processing unit, CPU), spy
Determine application integrated circuit (application specific integrated circuit, ASIC), can be one or more
For controlling the integrated circuit of program execution, use site programmable gate array (field programmable gate can be
Array, FPGA) exploitation hardware circuit, can be baseband processor.
Optionally, processor 61 may include at least one processing core.
Optionally, which further includes memory 62, and memory 62 may include read-only memory (read only
Memory, ROM), random access memory (random access memory, RAM) and magnetic disk storage.Memory 62 is used for
The data required when running of storage processor 61.
The embodiment of the present invention four provides a kind of computer readable storage medium, comprising:
It is stored with computer instruction on the computer readable storage medium, when the computer instruction is by the computer
When at least one processor of device executes, the method as described in above method embodiment is realized.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (12)
1. a kind of control method of terminal device, which is characterized in that the terminal device includes Folding screen, which comprises
Obtain user input encrypted message and the Folding screen folding angles, the encrypted message include encrypted message and/
Or identification information;
Judge whether password is verified according to the encrypted message and the folding angles;
Wherein, it is matched in the encrypted message with the encrypted message prestored, and, the folding angles are matched with folding angles are prestored
When, judge that password authentification passes through.
2. the method as described in claim 1, which is characterized in that the Folding screen includes two sub-screens, described in the acquisition
The folding angles of Folding screen, comprising:
Obtain the location information of the respective center of gravity of described two sub-screens;
According to the location information of the respective center of gravity of described two sub-screens and the dimension information of the Folding screen, calculate described two
Angle between sub-screen, the angle are the folding angles.
3. the method as described in claim 1, which is characterized in that the Folding screen includes two sub-screens, described in the acquisition
The folding angles of Folding screen, further includes:
The distance between the first default characteristic body and the second default characteristic body are obtained, the first default characteristic body is located at described two
In one sub-screen of a sub-screen, the second default characteristic body is located in another sub-screen of described two sub-screens;
Corresponding relationship and the distance according to preset distance with angle, determine the folding angles.
4. method as claimed in claim 3, which is characterized in that the first default characteristic body of the acquisition and the second default characteristic body
The distance between, comprising:
The first default characteristic body is camera, obtains the image of the second default characteristic body, analyzes described image, is obtained
The distance between the camera and the described second default characteristic body;Or,
The first default characteristic body is range sensor, is obtained between the range sensor and the second default characteristic body
Distance;Or,
The first default characteristic body and the second default characteristic body are electronic compass, according between two electronic compass
Magnetic field strength obtains the distance between described two electronic compass.
5. such as method of any of claims 1-4, which is characterized in that the folding angles for obtaining the Folding screen it
Before, the method also includes:
It when detecting that the user adjusts the folding angles, is adjusted the angle according to unit and adjusts the folding angles, to assist
The user adjusts the folding angles and prestores folding angles to described;And/or
The current folding angles of Folding screen described in real-time display, so that the user checks.
6. a kind of terminal device, which is characterized in that the terminal device includes Folding screen, and the terminal device includes:
Module is obtained, for obtaining the encrypted message of user's input and the folding angles of the Folding screen, the encrypted message packet
Include encrypted message and/or identification information;
Judgment module, for judging whether password is verified according to the encrypted message and the folding angles;
Wherein, it is matched in the encrypted message with the encrypted message prestored, and, the folding angles are matched with folding angles are prestored
When, judge that password authentification passes through.
7. terminal device as claimed in claim 6, which is characterized in that the Folding screen includes two sub-screens, the acquisition
Module is used for:
Obtain the location information of the respective center of gravity of described two sub-screens;
According to the location information of the respective center of gravity of described two sub-screens and the dimension information of the Folding screen, calculate described two
Angle between sub-screen, the angle are the folding angles.
8. terminal device as claimed in claim 6, which is characterized in that the Folding screen includes two sub-screens, the acquisition
Module is also used to:
The distance between the first default characteristic body and the second default characteristic body are obtained, the first default characteristic body is located at described two
In one sub-screen of a sub-screen, the second default characteristic body is located in another sub-screen of described two sub-screens;
Corresponding relationship and the distance according to preset distance with angle, determine the folding angles.
9. terminal device as claimed in claim 8, which is characterized in that the acquisition module is specifically used for:
The first default characteristic body is camera, obtains the image of the second default characteristic body, analyzes described image, is obtained
The distance between the camera and the described second default characteristic body;Or,
The first default characteristic body is range sensor, is obtained between the range sensor and the second default characteristic body
Distance;Or,
The first default characteristic body and the second default characteristic body are electronic compass, according between two electronic compass
Magnetic field strength obtains the distance between described two electronic compass.
10. the terminal device as described in any one of claim 6-9, which is characterized in that the terminal device further includes angle
Module is adjusted, is used for:
It when detecting that the user adjusts the folding angles, is adjusted the angle according to unit and adjusts the folding angles, to assist
The user adjusts the folding angles and prestores folding angles to described;And/or
The current folding angles of Folding screen described in real-time display, so that the user checks.
11. a kind of terminal device characterized by comprising
At least one processor, and the memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, at least one described processor
By executing the instruction of the memory storage, method according to any one of claims 1 to 5 is executed.
12. a kind of computer readable storage medium characterized by comprising
It is stored with computer instruction on the computer readable storage medium, when the computer instruction is by the computer installation
At least one processor execute when, realize method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569657.2A CN110300224A (en) | 2019-06-27 | 2019-06-27 | Terminal device control method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569657.2A CN110300224A (en) | 2019-06-27 | 2019-06-27 | Terminal device control method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110300224A true CN110300224A (en) | 2019-10-01 |
Family
ID=68029234
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910569657.2A Pending CN110300224A (en) | 2019-06-27 | 2019-06-27 | Terminal device control method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110300224A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110879896A (en) * | 2019-11-13 | 2020-03-13 | 维沃移动通信有限公司 | Encryption and decryption method for folding screen terminal and electronic equipment |
CN111142760A (en) * | 2019-12-27 | 2020-05-12 | 维沃移动通信有限公司 | Password determination method and electronic equipment |
CN113704714A (en) * | 2020-05-20 | 2021-11-26 | Oppo广东移动通信有限公司 | Password verification method, device, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107025089A (en) * | 2017-04-13 | 2017-08-08 | 维沃移动通信有限公司 | A kind of screen awakening method and Foldable display device |
CN107368150A (en) * | 2017-06-30 | 2017-11-21 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107908350A (en) * | 2017-12-28 | 2018-04-13 | 努比亚技术有限公司 | A kind of unlocking method, terminal and computer-readable recording medium |
CN108197441A (en) * | 2017-11-29 | 2018-06-22 | 努比亚技术有限公司 | Flexible screen terminal and its solution lock control method, computer readable storage medium |
CN108881594A (en) * | 2018-04-27 | 2018-11-23 | 努比亚技术有限公司 | Safety identification control method, flexible screen terminal and computer readable storage medium |
-
2019
- 2019-06-27 CN CN201910569657.2A patent/CN110300224A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107025089A (en) * | 2017-04-13 | 2017-08-08 | 维沃移动通信有限公司 | A kind of screen awakening method and Foldable display device |
CN107368150A (en) * | 2017-06-30 | 2017-11-21 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN108197441A (en) * | 2017-11-29 | 2018-06-22 | 努比亚技术有限公司 | Flexible screen terminal and its solution lock control method, computer readable storage medium |
CN107908350A (en) * | 2017-12-28 | 2018-04-13 | 努比亚技术有限公司 | A kind of unlocking method, terminal and computer-readable recording medium |
CN108881594A (en) * | 2018-04-27 | 2018-11-23 | 努比亚技术有限公司 | Safety identification control method, flexible screen terminal and computer readable storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110879896A (en) * | 2019-11-13 | 2020-03-13 | 维沃移动通信有限公司 | Encryption and decryption method for folding screen terminal and electronic equipment |
CN110879896B (en) * | 2019-11-13 | 2022-06-03 | 维沃移动通信有限公司 | Encryption and decryption method for folding screen terminal and electronic equipment |
CN111142760A (en) * | 2019-12-27 | 2020-05-12 | 维沃移动通信有限公司 | Password determination method and electronic equipment |
CN113704714A (en) * | 2020-05-20 | 2021-11-26 | Oppo广东移动通信有限公司 | Password verification method, device, terminal and storage medium |
CN113704714B (en) * | 2020-05-20 | 2024-06-11 | Oppo广东移动通信有限公司 | Password verification method, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11330012B2 (en) | System, method, and device of authenticating a user based on selfie image or selfie video | |
US10395018B2 (en) | System, method, and device of detecting identity of a user and authenticating a user | |
EP3308325B1 (en) | Liveness detection method and device, and identity authentication method and device | |
CN106326867B (en) | A kind of method and mobile terminal of recognition of face | |
EP3988402A1 (en) | Control method and device | |
CN110300224A (en) | Terminal device control method and terminal device | |
EP3559847B1 (en) | Electronic device for biometric authentication of a user | |
Sun et al. | Touchin: Sightless two-factor authentication on multi-touch mobile devices | |
CN105320251B (en) | Eye-controlled password input device, method and computer readable recording medium thereof | |
Chen et al. | Your song your way: Rhythm-based two-factor authentication for multi-touch mobile devices | |
US10063541B2 (en) | User authentication method and electronic device performing user authentication | |
US20130065517A1 (en) | Controlling pairing of entities responsive to motion challenges and responses | |
US20130067566A1 (en) | Device to perform authentication according to surrounding information and method for performing authentication | |
US10521574B2 (en) | Portable electronic device | |
WO2009155254A2 (en) | Method and apparatus for user recognition employing motion passwords | |
US20150120553A1 (en) | Method and system for making mobile payments based on user gesture detection | |
WO2021220423A1 (en) | Authentication device, authentication system, authentication method, and authentication program | |
US11119638B2 (en) | Using face detection to update user interface orientation | |
WO2015062256A1 (en) | Method and system for making mobile payments based on user gesture detection | |
CN109948586A (en) | Method, apparatus, equipment and the storage medium of face verification | |
CN107851190A (en) | Slave unit is electrically connected to the communicator of main equipment | |
KR101219957B1 (en) | Authentication method, device and system using biometrics and recording medium for the same | |
CN110574031B (en) | Registration scheme for electronic devices | |
CN106778172A (en) | A kind of identity identifying method | |
WO2018018787A1 (en) | Password authentication method and device, mobile terminal, and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191001 |