CN109918882A - A kind of image encryption method and mobile terminal - Google Patents
A kind of image encryption method and mobile terminal Download PDFInfo
- Publication number
- CN109918882A CN109918882A CN201910105725.XA CN201910105725A CN109918882A CN 109918882 A CN109918882 A CN 109918882A CN 201910105725 A CN201910105725 A CN 201910105725A CN 109918882 A CN109918882 A CN 109918882A
- Authority
- CN
- China
- Prior art keywords
- image
- pressing
- target image
- input
- display screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000003825 pressing Methods 0.000 claims abstract description 89
- 230000004044 response Effects 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 10
- 239000000463 material Substances 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 7
- 230000006854 communication Effects 0.000 abstract description 6
- 238000004891 communication Methods 0.000 abstract description 5
- 238000012876 topography Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 210000003811 finger Anatomy 0.000 description 6
- 238000009877 rendering Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000006837 decompression Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000036544 posture Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a kind of image encryption method and mobile terminals, are related to field of communication technology, to solve the problems, such as to cannot achieve the local cypher of image.Wherein, described image encryption method includes: that the pressing input of user is received in the case where the display screen of mobile terminal shows image;It is inputted in response to the pressing, obtains the target area of the pressing input on a display screen;Identify the target image that the target area is shown;In the case where the target image is in unencrypted state, the target image is encrypted.Image encryption method in the embodiment of the present invention is applied in mobile terminal.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of image encryption methods and mobile terminal.
Background technique
In existing mobile terminal, in order to reach better shooting effect, structure light, flight time (Time are used
Of Flight, abbreviation ToF) camera for depth shooting such as technology, common, depth camera application is in three-dimensional reconstruction, people
Machine interaction, augmented reality (Augmented Reality, abbreviation AR)/virtual reality (Virtual Reality, abbreviation VR) etc.
Multiple fields.
As shooting effect gradually optimizes, the image of shooting is more and more clear, fine and smooth, more three-dimensional sense.Based on above-mentioned existing
As, on the one hand, high-definition image can embody subtleer shooting details;And on the other hand, high-definition image can also embody use
Family is not desired to disclosed discreet portions.
User discloses in order to avoid privacy, and common method is encrypted image as a file.But this
The cipher mode of sample cannot achieve the local cypher of image.
Summary of the invention
The embodiment of the present invention provides a kind of image encryption method, to solve the problems, such as to cannot achieve the local cypher of image.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of image encryption methods, comprising: in the display of the mobile terminal
In the case where screen display diagram picture, the pressing input of user is received;It is inputted in response to the pressing, obtains the pressing input aobvious
Target area in display screen;Identify the target image that the target area is shown;Unencrypted state is in the target image
In the case where, the target image is encrypted.
Second aspect, the embodiment of the invention also provides a kind of mobile terminals, comprising: in the display screen of the mobile terminal
In the case where showing image, pressing input receiving module, the pressing for receiving user is inputted;Pressing input respond module, is used
It is inputted in response to the pressing, obtains the target area of the pressing input on a display screen;Target image identification module is used
In the target image that the target area is shown;Target image encrypting module, for being in unencryption shape in the target image
In the case where state, the target image is encrypted.
The third aspect, the embodiment of the invention also provides a kind of mobile terminal, including processor, memory is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
The step of realizing described image encryption method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
It is stored with computer program on storage media, the step of described image encryption method is realized when the computer program is executed by processor
Suddenly.
In embodiments of the present invention, when user encrypts image, image is shown on a display screen, and user selects image
In topography, in topography press input, thus mobile terminal receive user pressing input, obtain user pressing
Target area on a display screen, and the target image that identification object region is shown, if target image is in unencrypted state, until
Target image is encrypted, after user terminates pressing input, target image is encrypted state.Compared with the prior art, user
Any topography can be selected to be encrypted on the image, it is easy to operate, realize the local cypher of image.
Detailed description of the invention
Fig. 1 is one of flow chart of image encryption method of the embodiment of the present invention
Fig. 2 is the two of the flow chart of the image encryption method of the embodiment of the present invention;
Fig. 3 is the three of the flow chart of the image encryption method of the embodiment of the present invention;
Fig. 4 is one of image display schematic diagram of the embodiment of the present invention;
Fig. 5 is the two of the image display schematic diagram of the embodiment of the present invention;
Fig. 6 is the four of the flow chart of the image encryption method of the embodiment of the present invention;
Fig. 7 is the five of the flow chart of the image encryption method of the embodiment of the present invention;
Fig. 8 is the six of the flow chart of the image encryption method of the embodiment of the present invention;
Fig. 9 is one of block diagram of mobile terminal of the embodiment of the present invention;
Figure 10 is the two of the block diagram of the mobile terminal of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 shows the flow chart of the image encryption method of one embodiment of the invention, is applied to mobile terminal, comprising:
Step S1: in the case where the display screen of mobile terminal shows image, the pressing input of user is received.
When user encrypts image, can an optional image open browsing, make its display on a display screen.
In this step, user presses display screen, so that mobile terminal receives the pressing input of user.
Step S2: inputting in response to pressing, obtains the target area of pressing input on a display screen.
Wherein, display screen includes display area, and user can press input in display area, and user presses covered area
Domain is target area.Display area includes target area.
Step S3: the target image that identification object region is shown.
The target image shown in identification object region.
Step S4: in the case where target image is in unencrypted state, target image is encrypted.
In embodiments of the present invention, when user encrypts image, image is shown on a display screen, and user selects image
In topography, in topography press input, thus mobile terminal receive user pressing input, obtain user pressing
Target area on a display screen, and the target image that identification object region is shown, if target image is in unencrypted state, until
Target image is encrypted, after user terminates pressing input, target image is encrypted state.Compared with the prior art, user
Any topography can be selected to be encrypted on the image, it is easy to operate, realize the local cypher of image.
Preferably, user can carry out local cypher to static map.And for Dynamic Graph, it can regard Dynamic Graph as multiframe quiet
State figure, so that user can carry out local cypher to every frame static map.
On the basis of embodiment shown in Fig. 1, Fig. 2 shows the flow chart of another embodiment of the present invention, step S2 packets
It includes:
Step S21: inputting in response to pressing, the finger print information of identification pressing input on a display screen.
Fingerprint identification technology is utilized in the present embodiment.The other application scene of fingerprint identification technology such as pays scene, solution
Lock scene.
Step S22: in the case that pressing inputs finger print information and preset fingerprint information matches on a display screen, acquisition is pressed
The target area of pressure input on a display screen.
Preferably, in the application scenarios to image encryption, user can shift to an earlier date typing preset fingerprint information, preset fingerprint letter
Breath includes the finger print information of multiple fingers.To which user is when encrypting image, one can be found based on different postures
Comfortable mode completes pressing input.
For example, left hand can be used to complete pressing input for user;The right hand can be used to complete pressing input for user;User can be used
Index finger completes pressing input;Thumb can be used to complete pressing input for user.
For another example, user can be used multiple fingers while carry out pressing input.
As long as input presses finger print information and any preset fingerprint information matches on a display screen, so that it may it is defeated to obtain pressing
Enter target area on a display screen.
Preferably, the embodiment of the present invention is applied to the mobile terminal shielded comprehensively, and the mobile terminal shielded comprehensively has full frame screen
Lower fingerprint function, the i.e. display area of display screen are fingerprint identification region, so that image is shown on a display screen, it is entire to show
Screen can all obtain pressing and input corresponding finger print information, then carry out fingerprint recognition in next step, and then owning of show of display screen
Picture material can all be encrypted.
In the present embodiment, fingerprint identification technology is applied in the scene of image encryption, user need to only press display screen
Achieve that the local cypher of image, it is easy to operate, and mode of operation adapts to the habit of user, to promote the use body of user
It tests.
Further, it in order to avoid the generation of maloperation, presses in input, the duration that user presses display screen reaches
Certain threshold value, and finger print information and preset fingerprint information matches just start to obtain the target area of pressing input on a display screen.
On the basis of embodiment shown in Fig. 1, Fig. 3 shows the process of the image encryption method of one embodiment of the invention
Figure, step S4 include:
Step S41: in the case where target image is in unencrypted state, fingerprint image is superimposed on target image.
In this step, the pressing input carried out based on user in encryption obtains the fingerprint letter of pressing on a display screen
The area of breath, so that an equal amount of fingerprint image is superimposed upon on target image, and then makes mesh according to the area of finger print information
Logo image is placed in bottom, and fingerprint image brings to Front.
The mode that a kind of pair of target image is encrypted is present embodiments provided, the pressing carried out based on user in encryption
The corresponding fingerprint image of finger print information of user's pressing on a display screen can be directly superimposed upon on target image by input, thus
Target image position is shown as fingerprint image on a display screen, and target image is protected.
Preferably, it is superimposed fingerprint image on target image and is also possible to fingerprint model image, be not necessarily user's pressing
The corresponding fingerprint image of finger print information on a display screen.
In the present embodiment, if having fingerprint image in the image that display screen is shown, illustrate to be encrypted protection herein.
Wherein, user is in same image, repeatedly pressing input, so that mobile terminal is defeated respectively responsive to repeatedly pressing
Enter, identify multiple target images, if generating lap between these target images, can will generate the target figure of lap
It is encrypted as merging into a target image.
Further, all embodiments of the present invention are suitable for 2D image and 3D rendering, therefore, accordingly, target figure
As also including two kinds of situations of 2D image and 3D rendering.
In the case where target image is 2D image, when cipher round results are fingerprint image, fingerprint image is shown in 2D image
In one plane at place.
In the case where target image is 3D rendering, when cipher round results are fingerprint image, fingerprint image is shown in 3D rendering
In multiple planes at place, the cipher round results that user sees are not necessarily complete fingerprint image.For example, in fig. 4 it is shown that going out
The image of one cube, fingerprint image 1 are shown in the vertex of cube.When user converts cube display view angle, such as
The display view angle of Fig. 5, encrypted location only show a part of fingerprint image 1.It is contemplated that the 3 D stereo based on 3D rendering is special
Sign, fingerprint image 1 are shown in three planes.
On the basis of embodiment shown in Fig. 3, Fig. 6 shows the process of the image encryption method of one embodiment of the invention
Scheme, after step S3, further includes:
Step S5: in the case where target image is in encrypted state, target image is decrypted.
Wherein, the encryption and decryption of same target image respectively corresponds the primary pressing input of same finger print information.
Identical as encryption method, user can be decrypted the image encrypted by pressing input.
Preferably, if user encrypts target image using the first finger print information, correspondingly, user can be used
Target image is decrypted in one finger print information.Secret grade can be improved in this way.
The target image for generating lap is merged into a target image added preferably for mentioned above
Close situation, if the multiple target images for generating lap are to complete to encrypt based on same finger print information, user Ke Tong
Primary pressing input is crossed the target image after merging is decrypted;If the multiple target images for generating lap are based on not
Same finger print information completes encryption, then corresponding finger print information can be used in user, after repeatedly pressing input to merging
Target image is decrypted, and decompresses every time just for property to portion.
Mesh need to be only pressed in decryption preferably for a target image for completing encryption by once pressing input
Any position of logo image, so that it may complete the decompression of entire target image.
For example, the local cypher on the cube being previously mentioned, user can change the display view angle of cube, and in fingerprint
In any plane where image 1, fingerprint image 1 is pressed, so that it may solve to the corresponding target image of entire fingerprint image 1
Pressure.
Preferably, it when the fingerprint image being superimposed upon on target image is that pressing inputs corresponding finger print information image, then uses
Family can go out the finger print information needed for decompressing according to the fingerprint image on target image, rapid identification in decompression.When being superimposed upon mesh
It when fingerprint image in logo image is Fingerprint Model image, and can avoid the finger print information leakage of user, further protect user
Privacy.
On the basis of embodiment shown in Fig. 6, Fig. 7 shows the process of the image encryption method of one embodiment of the invention
Scheme, after step S3, further includes:
Step S5 includes:
Step S51: in the case where target image is in encrypted state, the fingerprint image being superimposed upon on target image is hidden
Picture.
In one case, user oneself checks image, hides the method for the fingerprint image being superimposed upon on target image are as follows:
By fingerprint image bottom set, target image top set;After exiting this figure browsing, fingerprint image top set is recovered immediately, target image is set
Bottom, target image restore encrypted state.
In another case, user's transmission or shared image, hide the side for the fingerprint image being superimposed upon on target image
Method are as follows: the fingerprint image on target image can be removed, then send or be shared as non-encrypted images.Wherein, if user does not decrypt,
Then send or be shared as encrypted image.
In the present embodiment, based on different situations, different hidden methods can be used, on the one hand facilitate user or he
People checks encrypted image, on the other hand, it then follows the wish of user, the privacy of Reasonable Protection user.
On the basis of embodiment shown in Fig. 1, Fig. 8 shows the process of the image encryption method of one embodiment of the invention
Scheme, before step S1, further includes:
Step S6: the adjustment input of user is received.
Step S7: inputting in response to adjustment, the picture material that adjustment display screen is shown.
Wherein, adjustment input user is adjusted the content that display screen is shown, including amplification, diminution, movement, in rotation
Any adjustment input.
The content that display screen is shown be image when, user image can be amplified, be reduced, moved, rotate in times
A kind of adjustment input.To input in response to adjustment, the picture material that image is shown in display screen is adjusted.
For example, user thinks where image needs to encrypt, and finger pressing area is smaller, can not cover the figure for needing to encrypt
Picture, then user can make image down by adjusting input.
For another example, user thinks where image needs to encrypt, and needs that the image that encrypts is too small to be shown, finger presses not
It arrives, then user can be such that image amplifies by adjusting input.
Wherein, embodiment as shown in connection with fig. 3, the fingerprint image size being superimposed on a target image are in image size
Now certain proportional relationship:
Such as: in the case where display screen is displayed in full screen original image, the area of the fingerprint image based on pressing input display is
56 square millimeters, artwork area is the area of the display area of display screen, and the area of the display area of display screen is 11200 squares
Millimeter, then it is 56/11200=0.5% that fingerprint image, which accounts for the ratio of original image,.
Further, original image is put to be twice and be shown by user by adjusting input, former in the half that display screen is shown
In the case where figure, the area of the fingerprint image based on pressing input display is 56 square millimeters, then fingerprint image accounts for the ratio of original image
Example is 56/11200)/2=0.25%.
Similarly, user shows original image diminution for one times by adjusting input, in the case, aobvious based on pressing input
The area of the fingerprint image shown is 56 square millimeters, then can improve the ratio that fingerprint image accounts for original image.
Further, zooming in or out with image, fingerprint image also can be zoomed in or out accordingly.
The present embodiment provides a kind of method of adjustment, enable a user to determine in display screen in the image for needing to encrypt
Hold, further realizes the local cypher of image.
In another embodiment, in the case where display screen show image list, display screen shows multiple figures
The thumbnail of picture inputs so that user can press any thumbnail, to complete the encryption of whole image.Compared to existing
There is technology, the encryption method of whole image provided in this embodiment is easy to operate.
Fig. 9 shows the block diagram of the mobile terminal of another embodiment of the present invention, comprising:
Pressing input receiving module 10, for receiving and using in the case where the display screen of the mobile terminal shows image
The pressing at family inputs;
Pressing input respond module 20 obtains the target area of pressing input on a display screen for inputting in response to pressing
Domain;
Target image identification module 30, the target image shown for target area;
Target image encrypting module 40, in the case where target image is in unencrypted state, to target image into
Row encryption.
In embodiments of the present invention, when user encrypts image, image is shown on a display screen, and user selects image
In topography, in topography press input, thus mobile terminal receive user pressing input, obtain user pressing
Target area on a display screen, and the target image that identification object region is shown, if target image is in unencrypted state, until
Target image is encrypted, after user terminates pressing input, target image is encrypted state.Compared with the prior art, user
Any topography can be selected to be encrypted on the image, it is easy to operate, realize the local cypher of image.
Preferably, pressing input respond module 20 includes:
Fingerprint identification unit, for being inputted in response to pressing, the finger print information of identification pressing input on a display screen;
Area acquisition unit exists in the case where finger print information and preset fingerprint information matches, obtaining pressing input
Target area on display screen.
Preferably, target image encrypting module 40 includes:
Fingerprint image superpositing unit, for being folded on target image in the case where target image is in unencrypted state
Adding fingerprint image.
Preferably, further includes:
Target image deciphering module, for being solved to target image in the case where target image is in encrypted state
It is close;
Wherein, the encryption and decryption of same target image respectively corresponds the primary pressing input of same finger print information.
Preferably, target image deciphering module includes:
Fingerprint image hidden unit, for hiding and being superimposed upon target figure in the case where target image is in encrypted state
As upper fingerprint image.
Preferably, further includes:
Adjustment input receiving module, the adjustment for receiving user input;
Adjustment input respond module, the picture material for being shown in response to adjustment input, adjustment display screen.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 8 and realize
Each process, to avoid repeating, which is not described herein again.
A kind of hardware structural diagram of Figure 10 mobile terminal of each embodiment to realize the present invention, the mobile terminal
100 include but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor
105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111 etc.
Component.It will be understood by those skilled in the art that mobile terminal structure shown in Figure 10 does not constitute the restriction to mobile terminal,
Mobile terminal may include perhaps combining certain components or different component layouts than illustrating more or fewer components.?
In the embodiment of the present invention, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted end
End, wearable device and pedometer etc..
Wherein, user input unit 107, the pressing for receiving user input;
Processor 110 obtains the target area of the pressing input on a display screen for inputting in response to the pressing
Domain;Identify the target image that the target area is shown;In the case where the target image is in unencrypted state, to described
Target image is encrypted.
In embodiments of the present invention, when user encrypts image, image is shown on a display screen, and user selects image
In topography, in topography press input, thus mobile terminal receive user pressing input, obtain user pressing
Target area on a display screen, and the target image that identification object region is shown, if target image is in unencrypted state, until
Target image is encrypted, after user terminates pressing input, target image is encrypted state.Compared with the prior art, user
Any topography can be selected to be encrypted on the image, it is easy to operate, realize the local cypher of image.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 100 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the still image or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike
Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and
Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area
It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments
1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it
On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching
The type for touching event provides corresponding visual output on display panel 1061.Although in Figure 10, touch panel 1071 and aobvious
Show that panel 1061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with mobile terminal 100.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 100 or can be used in 100 He of mobile terminal
Data are transmitted between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 110, and memory 109 is stored in
On memory 109 and the computer program that can run on the processor 110, the computer program are executed by processor 110
Each process of the above-mentioned image encryption method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned image encryption method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (12)
1. a kind of image encryption method is applied to mobile terminal characterized by comprising
In the case where the display screen of the mobile terminal shows image, the pressing input of user is received;
It is inputted in response to the pressing, obtains the target area of the pressing input on a display screen;
Identify the target image that the target area is shown;
In the case where the target image is in unencrypted state, the target image is encrypted.
2. obtaining the pressing the method according to claim 1, wherein described input in response to the pressing
The target area of input on a display screen, comprising:
It is inputted in response to the pressing, identifies the finger print information of the pressing input on a display screen;
In the case that the pressing inputs finger print information and preset fingerprint information matches on a display screen, it is defeated to obtain the pressing
Enter target area on a display screen.
3. the method according to claim 1, wherein the feelings for being in unencrypted state in the target image
Under condition, the target image is encrypted, comprising:
In the case where the target image is in unencrypted state, fingerprint image is superimposed on the target image.
4. according to the method described in claim 3, it is characterized in that, described the case where the target image is in encrypted state
Under, the target image is decrypted, comprising:
In the case where the target image is in encrypted state, the fingerprint image being superimposed upon on the target image is hidden.
5. the method according to claim 1, wherein before the pressing input for receiving user, further includes:
Receive the adjustment input of user;
It is inputted in response to the adjustment, the picture material that adjustment display screen is shown.
6. a kind of mobile terminal characterized by comprising
Pressing input receiving module, for receiving pressing for user in the case where the display screen of the mobile terminal shows image
Pressure input;
Pressing input respond module obtains the target of the pressing input on a display screen for inputting in response to the pressing
Region;
Target image identification module, the target image shown for the target area;
Target image encrypting module is used in the case where the target image is in unencrypted state, to the target image
It is encrypted.
7. mobile terminal according to claim 6, which is characterized in that the pressing inputs respond module and includes:
Fingerprint identification unit identifies the finger print information of the pressing input on a display screen for inputting in response to the pressing;
Area acquisition unit inputs the case where finger print information on a display screen is with preset fingerprint information matches for the pressing
Under, obtain the target area of the pressing input on a display screen.
8. mobile terminal according to claim 6, which is characterized in that the target image encrypting module includes:
Fingerprint image superpositing unit is used in the case where the target image is in unencrypted state, in the target image
Upper superposition fingerprint image.
9. mobile terminal according to claim 8, which is characterized in that the target image deciphering module includes:
Fingerprint image hidden unit, for hiding and being superimposed upon the mesh in the case where the target image is in encrypted state
Fingerprint image in logo image.
10. mobile terminal according to claim 6, which is characterized in that further include:
Adjustment input receiving module, the adjustment for receiving user input;
Adjustment input respond module adjusts the picture material that display screen is shown for inputting in response to the adjustment.
11. a kind of mobile terminal, which is characterized in that including processor, memory is stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 6
The step of described in any item image encryption methods.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes such as image encryption method described in any one of claims 1 to 6 when the computer program is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910105725.XA CN109918882B (en) | 2019-02-01 | 2019-02-01 | Image encryption method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910105725.XA CN109918882B (en) | 2019-02-01 | 2019-02-01 | Image encryption method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109918882A true CN109918882A (en) | 2019-06-21 |
CN109918882B CN109918882B (en) | 2023-11-21 |
Family
ID=66961384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910105725.XA Active CN109918882B (en) | 2019-02-01 | 2019-02-01 | Image encryption method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109918882B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114679518A (en) * | 2022-03-31 | 2022-06-28 | 维沃移动通信有限公司 | Image display method and device and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016202292A1 (en) * | 2015-06-18 | 2016-12-22 | 广东欧珀移动通信有限公司 | Video encryption method and video decryption method, and mobile terminal |
CN106971114A (en) * | 2017-03-31 | 2017-07-21 | 联想(北京)有限公司 | A kind of method and device of image security |
CN107770443A (en) * | 2017-10-26 | 2018-03-06 | 努比亚技术有限公司 | A kind of image processing method, mobile terminal and computer-readable recording medium |
WO2018040878A1 (en) * | 2016-08-31 | 2018-03-08 | 福建联迪商用设备有限公司 | Method and device for encrypting fingerprint image data |
CN107784232A (en) * | 2017-10-18 | 2018-03-09 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108537724A (en) * | 2018-04-09 | 2018-09-14 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108681664A (en) * | 2018-05-28 | 2018-10-19 | 维沃移动通信有限公司 | A kind of encryption method and device |
CN108763905A (en) * | 2018-05-30 | 2018-11-06 | 维沃移动通信有限公司 | A kind of object processing method and terminal device |
-
2019
- 2019-02-01 CN CN201910105725.XA patent/CN109918882B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016202292A1 (en) * | 2015-06-18 | 2016-12-22 | 广东欧珀移动通信有限公司 | Video encryption method and video decryption method, and mobile terminal |
WO2018040878A1 (en) * | 2016-08-31 | 2018-03-08 | 福建联迪商用设备有限公司 | Method and device for encrypting fingerprint image data |
CN106971114A (en) * | 2017-03-31 | 2017-07-21 | 联想(北京)有限公司 | A kind of method and device of image security |
CN107784232A (en) * | 2017-10-18 | 2018-03-09 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN107770443A (en) * | 2017-10-26 | 2018-03-06 | 努比亚技术有限公司 | A kind of image processing method, mobile terminal and computer-readable recording medium |
CN108537724A (en) * | 2018-04-09 | 2018-09-14 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108681664A (en) * | 2018-05-28 | 2018-10-19 | 维沃移动通信有限公司 | A kind of encryption method and device |
CN108763905A (en) * | 2018-05-30 | 2018-11-06 | 维沃移动通信有限公司 | A kind of object processing method and terminal device |
Non-Patent Citations (3)
Title |
---|
SEUNGWOO HONG等: ""Analyzing the Secure and Energy Efficient Transmissions of Compressed Fingerprint Images using Encryption and Watermarking"", 《2008 INTERNATIONAL CONFERENCE ON INFORMATION SECURITY AND ASSURANCE (ISA 2008)》, pages 1 - 4 * |
刘超: ""抗合谋数字指纹嵌入及叛逆者追踪技术研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 1283 * |
赵立龙;方志良;顾泽苍;: "一种新的基于魔方变换的数字图像置乱加密算法", 光电子.激光, no. 01, pages 131 - 134 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114679518A (en) * | 2022-03-31 | 2022-06-28 | 维沃移动通信有限公司 | Image display method and device and electronic equipment |
WO2023186011A1 (en) * | 2022-03-31 | 2023-10-05 | 维沃移动通信有限公司 | Image display method and apparatus, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN109918882B (en) | 2023-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109886000B (en) | Image encryption method and mobile terminal | |
CN107784232B (en) | Picture processing method and mobile terminal | |
CN108629171B (en) | Unread message processing method and terminal | |
CN109246360A (en) | A kind of reminding method and mobile terminal | |
CN108681664B (en) | Encryption method and device | |
CN108459788B (en) | Picture display method and terminal | |
CN110188524B (en) | Information encryption method, information decryption method and terminal | |
CN109542306A (en) | A kind of screenshotss method and terminal device | |
CN109409244A (en) | A kind of object puts the output method and mobile terminal of scheme | |
CN110990849A (en) | Encryption and decryption method for private data and terminal | |
CN107843993A (en) | A kind of control method and mobile terminal of display screen visible angle | |
CN109032406A (en) | A kind of control method and mobile terminal | |
CN109120800A (en) | A kind of application icon method of adjustment and mobile terminal | |
CN109976629A (en) | Image display method, terminal and mobile terminal | |
CN110457879A (en) | Object displaying method and terminal device | |
CN109446794B (en) | Password input method and mobile terminal thereof | |
CN110290263A (en) | A kind of image display method and mobile terminal | |
CN110213438A (en) | A kind of processing method and terminal device of application program | |
CN109740312A (en) | A kind of application control method and terminal device | |
CN109828668A (en) | A kind of display control method and electronic equipment | |
CN108898548A (en) | A kind of display methods and mobile terminal of panorama sketch | |
CN108305342A (en) | A kind of Work attendance method and mobile terminal | |
CN109918882A (en) | A kind of image encryption method and mobile terminal | |
CN109062483B (en) | Image processing method and terminal equipment | |
CN109753776A (en) | A kind of method, apparatus and mobile terminal of information processing |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |