CN105809049A - Encryption method and device, decryption method and device, and mobile terminal - Google Patents

Encryption method and device, decryption method and device, and mobile terminal Download PDF

Info

Publication number
CN105809049A
CN105809049A CN201410853748.6A CN201410853748A CN105809049A CN 105809049 A CN105809049 A CN 105809049A CN 201410853748 A CN201410853748 A CN 201410853748A CN 105809049 A CN105809049 A CN 105809049A
Authority
CN
China
Prior art keywords
information
characteristic
point
photo
photographic head
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410853748.6A
Other languages
Chinese (zh)
Other versions
CN105809049B (en
Inventor
姜伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410853748.6A priority Critical patent/CN105809049B/en
Priority to PCT/CN2015/076495 priority patent/WO2016107010A1/en
Publication of CN105809049A publication Critical patent/CN105809049A/en
Application granted granted Critical
Publication of CN105809049B publication Critical patent/CN105809049B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an encryption method, which comprises the following steps: obtaining a plurality of pictures of the same shot object through a camera on a mobile terminal; selecting the same characteristic point on each picture of the plurality of pictures, and obtaining the first position information and the characteristic information of the same characteristic point on each picture; on the basis of the first position information of the same characteristic point on each picture, obtaining the second position information of the same characteristic point in a space; and according to the characteristic information of the same characteristic point and the obtained second position information, carrying out encryption. The invention also discloses a decryption method, an encryption device, a decryption device and the mobile terminal. Therefore, the user of the mobile terminal can realize the encryption or the decryption of the mobile terminal directly through scenery numerical value information obtained by two or a plurality of cameras so as to experience more interesting new capabilities of the mobile terminal, the advantages of the two or the plurality of cameras of the mobile terminal are further opened, and user experience is improved.

Description

The method of encryption and decryption, device and mobile terminal
Technical field
The present invention relates to mobile terminal camera application, particularly relate to a kind of method of encryption, the method for deciphering, the device of encryption, the device of deciphering and mobile terminal.
Background technology
As the bionics simulation for people's eyes, the dual camera correlation technique of a plane is extensively studied.And popular being widely popularized of dual camera location, dual camera range finding, it will cause this technology to develop rapidly substantial amounts of practical application example in the people, thus quickly propelling the intelligent evolution of correlation function.
The application on mobile terminals of existing dual camera, owing to only resting on shooting of taking pictures at present, 3D take pictures shooting and improve take pictures precision research on, exploitation for dual camera location are also little, in user uses, also simply can obtain higher quality of taking pictures from isoplanar Dual-camera handset at present, and 3D takes pictures shooting, intuitively 3D multimedia experiences, the functionality advantage of dual camera need further exploitation.
Summary of the invention
The embodiment of the present invention provides a kind of encryption, the method for deciphering, encryption, the device of deciphering and mobile terminal, and main purpose is in that the technical problem of encryption and the deciphering solving how to utilize the functional realiey mobile terminal of the dual camera of mobile terminal.
For achieving the above object, the method for a kind of encryption that the embodiment of the present invention provides, described method includes:
Multiple photos of same reference object are obtained by the photographic head on mobile terminal;
It is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;
Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;
Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted.
Preferably, described in be chosen at the same characteristic features point on each photo of the plurality of photo, and obtain described same characteristic features point primary importance information on each photo and characteristic information includes:
Obtain at least two same characteristic features points on each photo of the plurality of photo;
And the primary importance information on each photo of at least two the same characteristic features points described in obtaining and characteristic information.
Preferably, the described described primary importance information based on the same characteristic features point on each photo, the second position information in space obtaining described same characteristic features point includes:
The second position information in space of same characteristic features point according to described primary importance information, the focus information of described photographic head and positional information calculation;
Wherein, described second position information at least includes the space length between at least two characteristic points and/or space angle.
Preferably, the described second position information in space of same characteristic features point according to described primary importance information, the focus information of described photographic head and positional information calculation, including:
Set up the X-Y-Z 3-D walls and floor being Z-direction for X and Y-direction, other direction with the direction of photographic plane;
Principle according to each characteristic point X-coordinate value on the plurality of photo, Y-coordinate value and similar triangles, calculates the Z coordinate value of each characteristic point described, obtains the coordinate figure of the X-Y-Z three-dimensional coordinate of each characteristic point described;
The coordinate figure of the X-Y-Z three-dimensional coordinate according to each characteristic point described calculate described in space length between at least two characteristic points and/or space angle.
For achieving the above object, the method for a kind of deciphering that the embodiment of the present invention provides, described method includes:
Add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal;
Obtain described characteristic point the 3rd positional information in space;
When the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, it is decrypted.
Preferably, after the described characteristic point of described acquisition the 3rd positional information in space, also include:
Exceed, with adding the difference of the second position information of storage in confidential information, the scope pre-set at the 3rd positional information determining described characteristic point, then return and perform to add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal.
For achieving the above object, the embodiment of the present invention provides the device of a kind of encryption, and the device of described encryption includes:
First acquiring unit, for obtaining multiple photos of same reference object by the photographic head on mobile terminal;
Second acquisition unit, the same characteristic features point on each photo being chosen at the plurality of photo, and obtain the primary importance information on each photo and the characteristic information of described same characteristic features point;
3rd acquiring unit, for the described primary importance information based on the same characteristic features point on each photo, obtains the second position information in space of described same characteristic features point;
Ciphering unit, the described second position information for the described characteristic information according to same characteristic features point and acquisition is encrypted.
Preferably, described second acquisition unit, it is used for:
Obtain at least two same characteristic features points on each photo of the plurality of photo;
And the primary importance information on each photo of at least two the same characteristic features points described in obtaining and characteristic information.
Preferably, described 3rd acquiring unit also includes:
Computing unit, for the positional information calculation second position information according to described primary importance information, the focus information of described photographic head prestored and described photographic head;
Wherein, described second position information at least includes the space length between at least two characteristic points and/or space angle.
For achieving the above object, the embodiment of the present invention provides the device of a kind of deciphering, and described device includes:
Capture unit, for adding confidential information based on what prestore, catches the characteristic point mated on reference object with the characteristic information added in confidential information by the photographic head on mobile terminal;
Acquiring unit, for obtaining described characteristic point the 3rd positional information in space;
Decryption unit, for when the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, being decrypted.
Preferably, described device also includes:
Return unit, for exceeding, with adding the difference of the second position information of storage in confidential information, the scope pre-set at the 3rd positional information determining described characteristic point, then return and perform to add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal.
For achieving the above object, the embodiment of the present invention provides a kind of mobile terminal, and including photographic head and processor, described photographic head is for obtaining multiple photos of same reference object;Described processor is for obtaining the same characteristic features point on each photo of the plurality of photo, and obtains the primary importance information on each photo and the characteristic information of described same characteristic features point;Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted.
For achieving the above object, the embodiment of the present invention provides a kind of mobile terminal, and including photographic head and processor, based on the confidential information that adds prestored, described photographic head is for catching the characteristic point mated on reference object with the characteristic information adding in confidential information;Described processor is for obtaining described characteristic point the 3rd positional information in space;When the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, it is decrypted.
The embodiment of the present invention obtains multiple photos of same reference object by the photographic head on mobile terminal;It is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted, it is thus possible to make the scenery numerical information that the user of mobile terminal obtains either directly through two or more photographic head realize the encryption to mobile terminal or deciphering, experience the new ability of more interesting mobile terminal, the advantage of two or more photographic head of open mobile terminal, improves the experience of user further.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the embodiment of the method that the present invention encrypts;
Fig. 2 is the method schematic diagram of a kind of the second information calculating characteristic point provided by the invention;
Fig. 3 is the schematic flow sheet of the embodiment of the method that the present invention deciphers;
Fig. 4 is the high-level schematic functional block diagram of the device embodiment that the present invention encrypts;
Fig. 5 is the high-level schematic functional block diagram of the device embodiment that the present invention deciphers;
Fig. 6 is the high-level schematic functional block diagram of mobile terminal first embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of mobile terminal the second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides a kind of method of encryption.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are the embodiment of the method that the present invention encrypts.
In the first embodiment, the method for this encryption includes:
Step 101, obtains multiple photos of same reference object by the photographic head on mobile terminal;
Above-mentioned multiple photographic head can be two or more, further illustrates for two below.
Concrete, need two photographic head of support on hardware on mobile terminals, and storage has the detailed focal range of the two photographic head and the information of relative position T.
When user is by mobile phone menu, when entrance encryption arranges function, handset starting above-mentioned two photographic head, capture the scenery captured by current phone, mobile phone shows current real-time photography header.
Step 102, is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;
Preferably, described in be chosen at the same characteristic features point on each photo of the plurality of photo, and obtain described same characteristic features point primary importance information on each photo and characteristic information includes:
Obtain at least two same characteristic features points on each photo of the plurality of photo;
And the primary importance information on each photo of at least two the same characteristic features points described in obtaining and characteristic information.
Concrete, user selects characteristic point on the touchscreen, selects 3 characteristic point A, B, C to be that example is described in detail with user below.The first information at least includes each characteristic point positional information etc. on different pictures.
Such as, A position coordinates on the first captured picture one of shooting is (A1, A2, A3);
A position coordinates on the picture two captured by photographic head two is (A1 ', A2 ', A3 ');
B position coordinates on the first captured picture one of shooting is (B1, B2, B3);
B position coordinates on the picture two captured by photographic head two is (B1 ', B2 ', B3 ');
C position coordinates on the first captured picture one of shooting is (C1, C2, C3);
C position coordinates on the picture two captured by photographic head two is (C1 ', C2 ', C3 ').
Meanwhile, always according to the photographic intelligence of multiple photos of described same scenery and the photographic intelligence prestored and the first information corresponding relation of fisrt feature point, characteristic point is pushed to user;
Preferably, the first information corresponding relation of the photographic intelligence of described multiple photos according to described same scenery and the photographic intelligence prestored and fisrt feature point, push characteristic point to user, including:
If described photographic intelligence is a point different from described large area color lump color in large area color lump and large area color lump, then push, to user, the point that described color is different, and/or;
If described photographic intelligence is large area color lump, then push an end points on color lump border in described large area color lump to user, and/or;
If described photographic intelligence is the plane with special marking, then push the central point of described labelling to user, and/or;
If described photographic intelligence is two lines section and the cross point of described two lines section, then push described cross point to user, and/or;
If described photographic intelligence is small-sized color lump, then push the central point of described small-sized color lump to user.
Concrete, therefore when user's selected characteristic point on screen.To the characteristic point that user recommends, preferential use has some points of following feature:
The point of other independent colors in large area color lump, an obvious stain on such as white handkerchief;
One end points on color lump border, a such as Blue Squares, the lower extreme point that right edge is corresponding, or upper extreme point.
In one plane, the central point of special marking, the such as center of certain mobile phone labelling, take the central point of this labelling when calculating.
The cross point of two lines section, such as two books stack the cross point on the border of formation.
The central point of small-sized color lump, the such as central point of computer monitor power supply indicator.
Step 103, based on the described primary importance information of the same characteristic features point on each photo, obtains the second position information in space of described same characteristic features point;
Meanwhile, described primary importance information is sent to user;
If receiving the information confirming described primary importance information that user triggers, then the positional information calculation second position information according to described primary importance information, the focus information of the plurality of photographic head prestored and the plurality of photographic head.
Concrete, that user interface selects according to user characteristic point position, specifies the more specific location information of specific features point and issues user, it is desirable to user confirms.
After user confirms characteristic point, the first information of camera collection current signature point, and the parameter information of photographic head itself, described parameter information includes the focus information of the plurality of photographic head and the positional information of the plurality of photographic head, and the described first information and parameter information are sent to " CPU ".
Preferably, the described described primary importance information based on the same characteristic features point on each photo, the second position information in space obtaining described same characteristic features point includes:
The second position information in space of same characteristic features point according to described primary importance information, the focus information of described photographic head and positional information calculation;
Wherein, described second position information at least includes the space length between at least two characteristic points and/or space angle.
Preferably, the described second position information in space of same characteristic features point according to described primary importance information, the focus information of described photographic head and positional information calculation, including:
Set up the X-Y-Z 3-D walls and floor being Z-direction for X and Y-direction, other direction with the direction of photographic plane;
Principle according to each characteristic point X-coordinate value on the plurality of photo, Y-coordinate value and similar triangles, calculates the Z coordinate value of each characteristic point described, obtains the coordinate figure of the X-Y-Z three-dimensional coordinate of each characteristic point described;
The coordinate figure of the X-Y-Z three-dimensional coordinate according to each characteristic point described calculate described in space length between at least two characteristic points and/or space angle.
Concrete, the first information that the CPU of mobile phone is passed over by photographic head, and the positional information of the focus information of the plurality of photographic head prestored and the plurality of photographic head, calculate the relative position of tri-points of A, B, C, record AB, distance between AC, records the angle information of ∠ BAC simultaneously.Dual camera is found range, it is simply that utilizes the parallax of each independent imaging between relative distance and the characteristic point of two photographic head and the focus information at that time of photographic head, determines the characteristic point relative position relative to two photographic head in space.
With reference to the method schematic diagram that Fig. 2, Fig. 2 are a kind of the second information calculating characteristic point provided by the invention.
Two photographic head of below figure are in same level.Scenery P is taken pictures simultaneously.
Shooting two photos on obtain and, these 2 have a plane coordinates relative to optical center, respectively X-Y direction, the direction of photographic plane, the direction of photographic head focal length is Z-direction, as Fig. 2 utilizes similar triangle theory, by two photographic head relative position on mobile terminals it is known that and the relative position of 2, f is the focal length of photographic head.The vector direction of sum with and completely corresponding.To sum up information can be easy to the position that calculates P point relative to two photographic head.
Step 104, is encrypted according to the described second position information of the described characteristic information of same characteristic features point and acquisition.
Concrete, that the CPU of mobile phone will the obtain first information of characteristic point, AB, the distance between AC, space length and/or space angle between three characteristic points such as the angle of ∠ BAC are stored in mobile terminal.
After user completes encryption, lock mobile phone, it is desirable to using mobile phone, mobile phone can eject decryption interface, the scene information that namely photographic head transmission comes.User operation mobile phone is directed at the scene information that the transmission of described photographic head comes.
Ejecting from decryption interface, CPU has just read out the first information of characteristic point in " storage processing unit ", and the information AB of each characteristic point relative position, distance between AC, second information such as the angle of ∠ BAC, CPU, from the information that camera collection gets off, goes to search characteristic point.
After success achieves 3 characteristic points on a two field picture, starting the relative position information calculating between characteristic point, the characteristic point position information obtained time then with existing encryption compares, if matching error is within ± 5%, it is determined that the match is successful.
Some numerical value are had to change, 2 photographic head, it is possible to be changed to 3 photographic head, 3 characteristic points, it is possible to be changed to 2 or 4 features above points, it is also possible to be Eigenvector.
The embodiment of the present invention by obtaining multiple photos of same reference object by the photographic head on mobile terminal;It is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted, it is thus possible to make the scenery numerical information that the user of mobile terminal obtains either directly through two or more photographic head realize the encryption to mobile terminal or deciphering, experience the new ability of more interesting mobile terminal, the advantage of two or more photographic head of open mobile terminal, improves the experience of user further.
The present invention provides a kind of method of deciphering.
With reference to the schematic flow sheet that Fig. 3, Fig. 3 are the embodiment of the method that the present invention deciphers.
In the first embodiment, the method for this deciphering includes:
Step 301, adds confidential information based on what prestore, is caught the characteristic point mated on reference object with the characteristic information added in confidential information by the photographic head on mobile terminal;
Concrete, after user completes encryption, lock mobile phone, it is desirable to using mobile phone, mobile phone can eject decryption interface, the scene information that namely photographic head transmission comes.User operation mobile phone is directed at the scene information that the transmission of described photographic head comes.
Ejecting from decryption interface, CPU has just read out the information of characteristic point in " storage processing unit ", and the information AB of each characteristic point relative position, distance between AC, space length between each characteristic points such as the angle of ∠ BAC, space angle, CPU, from the information that camera collection gets off, goes to search characteristic point.
Step 302, obtains described characteristic point the 3rd positional information in space;
Concrete, after success achieves 3 characteristic points on a two field picture, start the relative position information calculating between characteristic point.
Step 303, when the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, is decrypted.
Concrete, the characteristic point position information obtained during with existing encryption compares, if matching error is within ± 5%, it is determined that the match is successful.Mobile phone successful decryption, user can enter other menus of mobile phone and use mobile phone application.Wherein, the difference of the second information of characteristic point here is not limited to ± 5% in the scope pre-set.
Preferably, after the described characteristic point of described acquisition the 3rd positional information in space, also include:
Exceed, with adding the difference of the second position information of storage in confidential information, the scope pre-set at the 3rd positional information determining described characteristic point, then return and perform to add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal.
The embodiment of the present invention by obtaining multiple photos of same reference object by the photographic head on mobile terminal;It is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted, it is thus possible to make the scenery numerical information that the user of mobile terminal obtains either directly through two or more photographic head realize the encryption to mobile terminal or deciphering, experience the new ability of more interesting mobile terminal, the advantage of two or more photographic head of open mobile terminal, improves the experience of user further.
The present invention provides the device of a kind of encryption.
With reference to the high-level schematic functional block diagram that Fig. 4, Fig. 4 are the device embodiment that the present invention encrypts.
In the first embodiment, the device of described encryption includes:
First acquiring unit 401, for obtaining multiple photos of same reference object by the photographic head on mobile terminal;
Above-mentioned multiple photographic head can be two or more, further illustrates for two below.
Concrete, need two photographic head of support on hardware on mobile terminals, and storage has the detailed focal range of the two photographic head and the information of relative position T.
When user is by mobile phone menu, when entrance encryption arranges function, handset starting above-mentioned two photographic head, capture the scenery captured by current phone, mobile phone shows current real-time photography header.
Second acquisition unit 402, the same characteristic features point on each photo being chosen at the plurality of photo, and obtain the primary importance information on each photo and the characteristic information of described same characteristic features point;
Preferably, described second acquisition unit 402, it is used for:
Obtain at least two same characteristic features points on each photo of the plurality of photo;
And the primary importance information on each photo of at least two the same characteristic features points described in obtaining and characteristic information.
Concrete, user selects characteristic point on the touchscreen, selects 3 characteristic point A, B, C to be that example is described in detail with user below.The first information at least includes each characteristic point positional information etc. on different pictures.
Such as, A position coordinates on the first captured picture one of shooting is (A1, A2, A3);
A position coordinates on the picture two captured by photographic head two is (A1 ', A2 ', A3 ');
B position coordinates on the first captured picture one of shooting is (B1, B2, B3);
B position coordinates on the picture two captured by photographic head two is (B1 ', B2 ', B3 ');
C position coordinates on the first captured picture one of shooting is (C1, C2, C3);
C position coordinates on the picture two captured by photographic head two is (C1 ', C2 ', C3 ').
Meanwhile, always according to the photographic intelligence of multiple photos of described same scenery and the photographic intelligence prestored and the first information corresponding relation of fisrt feature point, characteristic point is pushed to user;
Preferably, the first information corresponding relation of the photographic intelligence of described multiple photos according to described same scenery and the photographic intelligence prestored and fisrt feature point, push characteristic point to user, including:
If described photographic intelligence is a point different from described large area color lump color in large area color lump and large area color lump, then push, to user, the point that described color is different, and/or;
If described photographic intelligence is large area color lump, then push an end points on color lump border in described large area color lump to user, and/or;
If described photographic intelligence is the plane with special marking, then push the central point of described labelling to user, and/or;
If described photographic intelligence is two lines section and the cross point of described two lines section, then push described cross point to user, and/or;
If described photographic intelligence is small-sized color lump, then push the central point of described small-sized color lump to user.
Concrete, therefore when user's selected characteristic point on screen.To the characteristic point that user recommends, preferential use has some points of following feature:
The point of other independent colors in large area color lump, an obvious stain on such as white handkerchief;
One end points on color lump border, a such as Blue Squares, the lower extreme point that right edge is corresponding, or upper extreme point.
In one plane, the central point of special marking, the such as center of certain mobile phone labelling, take the central point of this labelling when calculating.
The cross point of two lines section, such as two books stack the cross point on the border of formation.
The central point of small-sized color lump, the such as central point of computer monitor power supply indicator.
3rd acquiring unit 403, for the described primary importance information based on the same characteristic features point on each photo, obtains the second position information in space of described same characteristic features point;
Concrete, that user interface selects according to user characteristic point position, specifies the more specific location information of specific features point and issues user, it is desirable to user confirms.
After user confirms characteristic point, the first information of camera collection current signature point, and the parameter information of photographic head itself, described parameter information includes the focus information of the plurality of photographic head and the positional information of the plurality of photographic head, and the described first information and parameter information are sent to " CPU ".
Preferably, described 3rd acquiring unit 403 also includes:
Computing unit, for the positional information calculation second position information according to described primary importance information, the focus information of described photographic head prestored and described photographic head;
Wherein, described second position information at least includes the space length between at least two characteristic points and/or space angle.
Preferably, the described second position information in space of same characteristic features point according to described primary importance information, the focus information of described photographic head and positional information calculation, including:
Set up the X-Y-Z 3-D walls and floor being Z-direction for X and Y-direction, other direction with the direction of photographic plane;
Principle according to each characteristic point X-coordinate value on the plurality of photo, Y-coordinate value and similar triangles, calculates the Z coordinate value of each characteristic point described, obtains the coordinate figure of the X-Y-Z three-dimensional coordinate of each characteristic point described;
The coordinate figure of the X-Y-Z three-dimensional coordinate according to each characteristic point described calculate described in space length between at least two characteristic points and/or space angle.
Concrete, the first information that the CPU of mobile phone is passed over by photographic head, and the positional information of the focus information of the plurality of photographic head prestored and the plurality of photographic head, calculate the relative position of tri-points of A, B, C, record AB, distance between AC, records the angle information of ∠ BAC simultaneously.Dual camera is found range, it is simply that utilizes the parallax of each independent imaging between relative distance and the characteristic point of two photographic head and the focus information at that time of photographic head, determines the characteristic point relative position relative to two photographic head in space.
With reference to the method schematic diagram that Fig. 2, Fig. 2 are a kind of the second information calculating characteristic point provided by the invention.
Two photographic head of below figure are in same level.Scenery P is taken pictures simultaneously.
Shooting two photos on obtain and, these 2 have a plane coordinates relative to optical center, respectively X-Y direction, the direction of photographic plane, the direction of photographic head focal length is Z-direction, as Fig. 2 utilizes similar triangle theory, by two photographic head relative position on mobile terminals it is known that and the relative position of 2, f is the focal length of photographic head.The vector direction of sum with and completely corresponding.To sum up information can be easy to the position that calculates P point relative to two photographic head.
Ciphering unit 404, the described second position information for the described characteristic information according to same characteristic features point and acquisition is encrypted.
Concrete, that the CPU of mobile phone will the obtain first information of characteristic point, AB, the distance between AC, space length and/or space angle between three characteristic points such as the angle of ∠ BAC are stored in mobile terminal.
After user completes encryption, lock mobile phone, it is desirable to using mobile phone, mobile phone can eject decryption interface, the scene information that namely photographic head transmission comes.User operation mobile phone is directed at the scene information that the transmission of described photographic head comes.
Ejecting from decryption interface, CPU has just read out the first information of characteristic point in " storage processing unit ", and the information AB of each characteristic point relative position, distance between AC, second information such as the angle of ∠ BAC, CPU, from the information that camera collection gets off, goes to search characteristic point.
After success achieves 3 characteristic points on a two field picture, starting the relative position information calculating between characteristic point, the characteristic point position information obtained time then with existing encryption compares, if matching error is within ± 5%, it is determined that the match is successful.
Some numerical value are had to change, 2 photographic head, it is possible to be changed to 3 photographic head, 3 characteristic points, it is possible to be changed to 2 or 4 features above points, it is also possible to be Eigenvector.
The embodiment of the present invention by obtaining multiple photos of same reference object by the photographic head on mobile terminal;It is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted, it is thus possible to make the scenery numerical information that the user of mobile terminal obtains either directly through two or more photographic head realize the encryption to mobile terminal or deciphering, experience the new ability of more interesting mobile terminal, the advantage of two or more photographic head of open mobile terminal, improves the experience of user further.
The present invention provides the device of a kind of deciphering.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are the device embodiment that the present invention deciphers.
In the first embodiment, the device of described deciphering includes:
Capture unit 501, for adding confidential information based on what prestore, catches the characteristic point mated on reference object with the characteristic information added in confidential information by the photographic head on mobile terminal;
Concrete, after user completes encryption, lock mobile phone, it is desirable to using mobile phone, mobile phone can eject decryption interface, the scene information that namely photographic head transmission comes.User operation mobile phone is directed at the scene information that the transmission of described photographic head comes.
Ejecting from decryption interface, CPU has just read out the information of characteristic point in " storage processing unit ", and the information AB of each characteristic point relative position, distance between AC, space length between each characteristic points such as the angle of ∠ BAC, space angle, CPU, from the information that camera collection gets off, goes to search characteristic point.
Concrete, if 3 characteristic points successfully cannot be found on same image, after 10s clock, exit search, point out user, " not finding deciphering target ", decipher unsuccessfully.
If have found a lot of and storage Feature Points Matching point, it is impossible to determine which is the characteristic point needing locking, when still cannot confirm after 10s clock, exiting search, pointing out user, " not finding deciphering target ", decipher unsuccessfully.
Acquiring unit 502, for obtaining described characteristic point the 3rd positional information in space;
Concrete, after success achieves 3 characteristic points on a two field picture, start the relative position information calculating between characteristic point.
Decryption unit 503, for when the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, being decrypted.
Concrete, the characteristic point position information obtained during with existing encryption compares, if matching error is within ± 5%, it is determined that the match is successful.Mobile phone successful decryption, user can enter other menus of mobile phone and use mobile phone application.Wherein, the difference of the second information of characteristic point here is not limited to ± 5% in the scope pre-set.
Preferably, described device also includes:
Return unit, for exceeding, with adding the difference of the second position information of storage in confidential information, the scope pre-set at the 3rd positional information determining described characteristic point, then return and perform to add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal.
If being successfully found 3 characteristic points, through calculating, relatively big beyond ± 5% with the eigenvalue gap of storage, just reattempt search location once.
Concrete, if still gap is relatively big, continue to attempt, it is judged that return whether search exceedes the number of times pre-set, if so, then until 10s clock time-out, prompting user " does not find deciphering target ", deciphers unsuccessfully.
In prior art, current button gate inhibition, fingerprint recognition gate inhibition are different, decipher consuming time more, very difficult.
Below dual camera encrypting and decrypting is applied in photographic head gate control system and is further described.
Encrypting stage:
1, gate control system utilizes the dual camera of self, opens the password setting stage;
2, user takes out a dish chess, puts what a chess game 1;
3, user is at operation interface, it is determined that chessboard corner location, it is determined that feature chess piece, it is possible to be all chess pieces in picture, and like this, software can demonstrate all of chess piece automatically, confirms for user;
4, dual camera gathers data, center processor calculate, the position relative to chessboard of feature chess piece.The information that this picture calculates is stored in " storage processing unit " by center processor;
5, user is by some or certain the several chess pieces in current chess game, after making certain displacement, forms new chess game 2;
6, user is at user interface, it is determined that feature chess piece in new picture;
7, dual camera gathers data, center processor calculate, the position relative to chessboard of second time feature chess piece.The information that this picture calculates is also stored in " storage processing unit " by center processor;
8, so far define and add confidential information;
Decryption phase:
9, the decrypting process of user's actively opening gate;
10, user gets out the chessboard, and shows default chess game 1;
11, photographic head continues to monitor and broadcasts data to central processing unit, once find chess game coupling, namely sends prompting, and prompting user's chess game 1 is already by verification;
12, user moves chess piece on chessboard, shows chess game 2;
13, photographic head continues for monitoring and broadcasts data to central processing unit, once find that chess game 2 is mated, i.e. and successful decryption.
The embodiment of the present invention by obtaining multiple photos of same reference object by the photographic head on mobile terminal;It is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted, it is thus possible to make the scenery numerical information that the user of mobile terminal obtains either directly through two or more photographic head realize the encryption to mobile terminal or deciphering, experience the new ability of more interesting mobile terminal, the advantage of two or more photographic head of open mobile terminal, improves the experience of user further.
The present invention provides a kind of mobile terminal.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are mobile terminal first embodiment of the present invention.
Described mobile terminal includes photographic head 601 and processor 602, and described photographic head is for obtaining multiple photos of same reference object;Described processor is for obtaining the same characteristic features point on each photo of the plurality of photo, and obtains the primary importance information on each photo and the characteristic information of described same characteristic features point;Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted.
With reference to the high-level schematic functional block diagram that Fig. 7, Fig. 7 are mobile terminal the second embodiment of the present invention.
Described mobile terminal includes photographic head 701 and processor 702, and based on the confidential information that adds prestored, described photographic head is for catching the characteristic point mated on reference object with the characteristic information adding in confidential information;Described processor is for obtaining described characteristic point the 3rd positional information in space;When the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, it is decrypted.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method can be by the hardware that program carrys out instruction relevant and completes, described program can be stored in a computer read/write memory medium, this program upon execution, comprises the steps:
Multiple photos of same reference object are obtained by the photographic head on mobile terminal;
It is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;
Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;
Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted, described storage medium, as: ROM/RAM, magnetic disc, CD etc..
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method can be by the hardware that program carrys out instruction relevant and completes, described program can be stored in a computer read/write memory medium, this program upon execution, comprises the steps:
Add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal;
Obtain described characteristic point the 3rd positional information in space;
When the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, it is decrypted, described storage medium, as: ROM/RAM, magnetic disc, CD etc..
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (13)

1. the method for an encryption, it is characterised in that described method includes:
Multiple photos of same reference object are obtained by the photographic head on mobile terminal;
It is chosen at the same characteristic features point on each photo of the plurality of photo, and obtains described same characteristic features point primary importance information on each photo and characteristic information;
Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;
Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted.
2. method according to claim 1, it is characterised in that described in be chosen at the same characteristic features point on each photo of the plurality of photo, and obtain described same characteristic features point primary importance information on each photo and characteristic information includes:
Obtain at least two same characteristic features points on each photo of the plurality of photo;
And the primary importance information on each photo of at least two the same characteristic features points described in obtaining and characteristic information.
3. method according to claim 2, it is characterised in that the described described primary importance information based on the same characteristic features point on each photo, the second position information in space obtaining described same characteristic features point includes:
The second position information in space of same characteristic features point according to described primary importance information, the focus information of described photographic head and positional information calculation;
Wherein, described second position information at least includes the space length between at least two characteristic points and/or space angle.
4. method according to claim 3, it is characterised in that the described second position information in space of same characteristic features point according to described primary importance information, the focus information of described photographic head and positional information calculation, including:
Set up the X-Y-Z 3-D walls and floor being Z-direction for X and Y-direction, other direction with the direction of photographic plane;
Principle according to each characteristic point X-coordinate value on the plurality of photo, Y-coordinate value and similar triangles, calculates the Z coordinate value of each characteristic point described, obtains the coordinate figure of the X-Y-Z three-dimensional coordinate of each characteristic point described;
The coordinate figure of the X-Y-Z three-dimensional coordinate according to each characteristic point described calculate described in space length between at least two characteristic points and/or space angle.
5. the method for a deciphering, it is characterised in that described method includes:
Add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal;
Obtain described characteristic point the 3rd positional information in space;
When the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, it is decrypted.
6. the method according to right 5, it is characterised in that after the described characteristic point of described acquisition the 3rd positional information in space, also include:
Exceed, with adding the difference of the second position information of storage in confidential information, the scope pre-set at the 3rd positional information determining described characteristic point, then return and perform to add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal.
7. the device of an encryption, it is characterised in that the device of described encryption includes:
First acquiring unit, for obtaining multiple photos of same reference object by the photographic head on mobile terminal;
Second acquisition unit, the same characteristic features point on each photo being chosen at the plurality of photo, and obtain the primary importance information on each photo and the characteristic information of described same characteristic features point;
3rd acquiring unit, for the described primary importance information based on the same characteristic features point on each photo, obtains the second position information in space of described same characteristic features point;
Ciphering unit, the described second position information for the described characteristic information according to same characteristic features point and acquisition is encrypted.
8. the device of encryption according to claim 7, it is characterised in that described second acquisition unit, is used for:
Obtain at least two same characteristic features points on each photo of the plurality of photo;
And the primary importance information on each photo of at least two the same characteristic features points described in obtaining and characteristic information.
9. the device of encryption according to claim 8, it is characterised in that described 3rd acquiring unit also includes:
Computing unit, for the positional information calculation second position information according to described primary importance information, the focus information of described photographic head prestored and described photographic head;
Wherein, described second position information at least includes the space length between at least two characteristic points and/or space angle.
10. the device of a deciphering, it is characterised in that described device includes:
Capture unit, for adding confidential information based on what prestore, catches the characteristic point mated on reference object with the characteristic information added in confidential information by the photographic head on mobile terminal;
Acquiring unit, for obtaining described characteristic point the 3rd positional information in space;
Decryption unit, for when the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, being decrypted.
11. device according to claim 10, it is characterised in that described device also includes:
Return unit, for exceeding, with adding the difference of the second position information of storage in confidential information, the scope pre-set at the 3rd positional information determining described characteristic point, then return and perform to add confidential information based on what prestore, caught the characteristic point mated with the characteristic information added in confidential information on reference object by the photographic head on mobile terminal.
12. a mobile terminal, it is characterised in that include photographic head and processor, described photographic head is for obtaining multiple photos of same reference object;Described processor is for obtaining the same characteristic features point on each photo of the plurality of photo, and obtains the primary importance information on each photo and the characteristic information of described same characteristic features point;Based on the described primary importance information of the same characteristic features point on each photo, obtain the second position information in space of described same characteristic features point;Described characteristic information and the described second position information of acquisition according to same characteristic features point are encrypted.
13. a mobile terminal, it is characterised in that include photographic head and processor, based on the confidential information that adds prestored, described photographic head is for catching the characteristic point mated on reference object with the characteristic information adding in confidential information;Described processor is for obtaining described characteristic point the 3rd positional information in space;When the second position information matches determining the 3rd positional information of described characteristic point and add storage in confidential information, it is decrypted.
CN201410853748.6A 2014-12-30 2014-12-30 The method, device and mobile terminal of encryption and decryption Expired - Fee Related CN105809049B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410853748.6A CN105809049B (en) 2014-12-30 2014-12-30 The method, device and mobile terminal of encryption and decryption
PCT/CN2015/076495 WO2016107010A1 (en) 2014-12-30 2015-04-13 Encryption/decryption method and apparatus, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410853748.6A CN105809049B (en) 2014-12-30 2014-12-30 The method, device and mobile terminal of encryption and decryption

Publications (2)

Publication Number Publication Date
CN105809049A true CN105809049A (en) 2016-07-27
CN105809049B CN105809049B (en) 2019-11-05

Family

ID=56284067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410853748.6A Expired - Fee Related CN105809049B (en) 2014-12-30 2014-12-30 The method, device and mobile terminal of encryption and decryption

Country Status (2)

Country Link
CN (1) CN105809049B (en)
WO (1) WO2016107010A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1703440A2 (en) * 2005-03-15 2006-09-20 Omron Corporation Face authentication apparatus, contrl method and program, electronic device having the same, and program recording medium
CN101154264A (en) * 2006-09-27 2008-04-02 中国科学院自动化研究所 Large field-depth iris image capturing system and method based on multiple cameras with fixed focus
CN101379528A (en) * 2006-03-01 2009-03-04 日本电气株式会社 Face authentication device, face authentication method, and program
CN102062596A (en) * 2010-11-12 2011-05-18 中兴通讯股份有限公司 Method and device for measuring distance by utilizing double cameras
JP2011243080A (en) * 2010-05-20 2011-12-01 Nec Engineering Ltd User authentication system
JP2012008802A (en) * 2010-06-24 2012-01-12 Toshiba Corp Monitoring system and person specification method
CN103019561A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Unlocking method and device based on double cameras
US9697415B2 (en) * 2013-04-26 2017-07-04 Fujitsu Limited Recording medium, image processing method, and information terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200910138A (en) * 2007-08-24 2009-03-01 Inventec Corp Data management method and data management system using the same
CN103269481A (en) * 2013-05-13 2013-08-28 广东欧珀移动通信有限公司 Method and system for encrypting and protecting procedure or file of portable electronic equipment
CN103324879B (en) * 2013-07-05 2016-08-10 公安部第三研究所 Mobile device is based on recognition of face and the authentication system of smart card and method
CN104091158B (en) * 2014-07-10 2018-07-06 上海方付通商务服务有限公司 A kind of Verification System of attack protection palmprint authentication method and its application

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1703440A2 (en) * 2005-03-15 2006-09-20 Omron Corporation Face authentication apparatus, contrl method and program, electronic device having the same, and program recording medium
CN101379528A (en) * 2006-03-01 2009-03-04 日本电气株式会社 Face authentication device, face authentication method, and program
CN101154264A (en) * 2006-09-27 2008-04-02 中国科学院自动化研究所 Large field-depth iris image capturing system and method based on multiple cameras with fixed focus
JP2011243080A (en) * 2010-05-20 2011-12-01 Nec Engineering Ltd User authentication system
JP2012008802A (en) * 2010-06-24 2012-01-12 Toshiba Corp Monitoring system and person specification method
CN102062596A (en) * 2010-11-12 2011-05-18 中兴通讯股份有限公司 Method and device for measuring distance by utilizing double cameras
CN103019561A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Unlocking method and device based on double cameras
US9697415B2 (en) * 2013-04-26 2017-07-04 Fujitsu Limited Recording medium, image processing method, and information terminal

Also Published As

Publication number Publication date
WO2016107010A1 (en) 2016-07-07
CN105809049B (en) 2019-11-05

Similar Documents

Publication Publication Date Title
US10410089B2 (en) Training assistance using synthetic images
CN110087123A (en) Video file production method, device, equipment and readable storage medium storing program for executing
CN104243800B (en) Control device and storage medium
CN103685946B (en) A kind of photographic method and control device
CN105338238B (en) A kind of photographic method and electronic equipment
KR102149463B1 (en) Electronic device and method for processing image
WO2019237745A1 (en) Facial image processing method and apparatus, electronic device and computer readable storage medium
KR20180040451A (en) Mobile terminal and operating method thereof
US20150138309A1 (en) Photographing device and stitching method of captured image
US9716820B2 (en) Remote-camera control method, remote photography system, and server
CN103051916A (en) Apparatus and method of creating 3 dimension panorama image
CN109726614A (en) 3D stereoscopic imaging method and device, readable storage medium storing program for executing, electronic equipment
US11694349B2 (en) Apparatus and a method for obtaining a registration error map representing a level of sharpness of an image
JP2018022395A (en) Counting method and counting device
KR20120046802A (en) Apparatus and method of creating 3 dimension panorama image by using a camera
US10089510B2 (en) Display control methods and apparatuses
CN109034150A (en) Image processing method and device
KR20240016271A (en) Systems and methods for management of non-fungible tokens and corresponding digital assets
Su et al. Video stitching for handheld inputs via combined video stabilization
CN103139479A (en) Method and device for finishing panorama preview scanning
CN106289161A (en) Height measurement method and device
KR20170041098A (en) Mobile device and method for operating the same
KR102552108B1 (en) Mobile terminal
WO2021035674A1 (en) Image generating method and apparatus, movable platform, and storage medium
CN105809049A (en) Encryption method and device, decryption method and device, and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191105

Termination date: 20201230

CF01 Termination of patent right due to non-payment of annual fee