CN107133603A - Method, mobile terminal and the computer-readable recording medium for preventing fingerprint from leaking - Google Patents

Method, mobile terminal and the computer-readable recording medium for preventing fingerprint from leaking Download PDF

Info

Publication number
CN107133603A
CN107133603A CN201710376316.4A CN201710376316A CN107133603A CN 107133603 A CN107133603 A CN 107133603A CN 201710376316 A CN201710376316 A CN 201710376316A CN 107133603 A CN107133603 A CN 107133603A
Authority
CN
China
Prior art keywords
fingerprint
finger print
print information
information
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710376316.4A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710376316.4A priority Critical patent/CN107133603A/en
Publication of CN107133603A publication Critical patent/CN107133603A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • G06V40/1376Matching features related to ridge properties or fingerprint texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/751Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1347Preprocessing; Feature extraction
    • G06V40/1359Extracting features related to ridge properties; Determining the fingerprint type, e.g. whorl or loop

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a kind of method for preventing fingerprint from leaking, it includes:Judge in pending picture with the presence or absence of the finger print information with preset fingerprint information matches;When there is the finger print information of the presupposed information matching in the pending picture, the pixel value of the finger print information is obtained;When the pixel value of the finger print information is more than preset security value, anti-leak processing is carried out to the finger print information.The invention also discloses a kind of mobile terminal and computer-readable recording medium.The present invention realizes the screening to pending picture; it is determined that required processing includes the picture of protected finger print information; and then pair picture determined carries out anti-leak and handled to realize the protection to user fingerprints information, reaches the purpose for preventing that user fingerprints information from being leaked by social networks.Also, the screening by preset fingerprint information and pixel value to pending picture, reduces the quantity to pending picture processing, and then improve the efficiency of fingerprint anti-leak processing.

Description

Method, mobile terminal and the computer-readable recording medium for preventing fingerprint from leaking
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of method for preventing fingerprint from leaking, mobile terminal and Computer-readable recording medium.
Background technology
With the popularization of network, the life of modern people and network contact more and more closer.Various social networks it is fluffy The exhibition of breaking out, also causes people to get used to sharing the photo of oneself on various social networks.And in this huge network world, Still potential many criminals, criminal activity is carried out by stealing other people personal information.For example, can during user's auto heterodyne Various gestures can be attached, the finger print information of user may clearly be photographed by the shooting of mobile phone camera;When user's selection exists When being shared on the social networks such as wechat, microblogging, the finger print information of user is possible by social networks leakage.
At present, fingerprint identification technology is widely used, and can be used to collect by fingerprint identification technologies such as picture recognitions The finger print information of user.As long as criminal obtains the personal information of user by recognizing the finger print information of user in picture, The fingerprint of user is imitated, implementing the criminal activity such as steal to userspersonal information and personal property just becomes very easy.One Open to be published out and include the photo of personal finger print information, allowing many intentions to be stolen by obtaining finger print information, other people are personal to believe The criminal of breath has opportunity.Therefore, when user includes the photo of personal finger print information in issue, it may give User brings the potential risk that finger print information is leaked.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide a kind of method for preventing fingerprint from leaking, mobile terminal and computer-readable deposit Storage media, it is intended to solve the technical problem for causing finger print information to leak by the photo when user issues photo.
To achieve the above object, the present invention provides a kind of method for preventing fingerprint from leaking, the side for preventing fingerprint from leaking Method comprises the following steps:
Judge in pending picture with the presence or absence of the finger print information with preset fingerprint information matches;
When there is the finger print information of the presupposed information matching in the pending picture, the finger print information is obtained Pixel value;
When the pixel value of the finger print information is more than preset security value, anti-leak processing is carried out to the finger print information.
In one embodiment, the step of progress anti-leak processing to the finger print information includes:
Based on the pending picture, the pixel number of each fingerprint texture in the finger print information is obtained;
Based on the pixel number, the maximum fingerprint texture of pixel number in the fingerprint texture is obtained;
Adjust the flexibility of the maximum fingerprint texture of pixel number.
In one embodiment, the flexibility step of the fingerprint texture maximum to the adjustment pixel number Including:
Obtain the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number;
According to the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number, adjustment pixel number is most The flexibility of the big fingerprint texture.
In one embodiment, the starting point coordinate to the fingerprint texture maximum according to pixel number and The step of terminal point coordinate, flexibility of the maximum fingerprint texture of adjustment pixel number, includes:
Obtain the starting point coordinate and the corresponding transverse cutting of terminal point coordinate away from vertical intercept;
Target slopes are calculated with default line segment angle of bend away from, vertical intercept according to the transverse cutting;
The flexibility of the maximum fingerprint texture of pixel number is adjusted according to the target slopes.
In one embodiment, the step of progress anti-leak processing to the finger print information includes:
Based on each corresponding first pixel of the finger print information in the pending picture, each first picture is obtained The second adjacent pixel of vegetarian refreshments correspondence;
Obtain the first RGB yield values of second pixel;
2nd RGB gains are calculated based on the first RGB yield values and the corresponding weighted value of the first RGB yield values Value;
The RGB yield values of each first pixel are adjusted based on the 2nd RGB yield values.
In one embodiment, it is described to judge to whether there is and preset fingerprint information matches in pending picture to described It is described to prevent fingerprint from leaking method and also including before finger print information step:
Judge photo by mode of operation;
When judge photo by mode of operation for state to be released or state to be sent when, determine the photo to be pending Picture.
In one embodiment, it is described to judge to whether there is and preset fingerprint information matches in pending picture to described The step of finger print information, includes:
Obtain the matching degree of finger print information described in pending picture and the preset fingerprint information;
Determine whether the matching degree is more than preset matching degree, wherein, when the matching degree is spent more than preset matching, really There is the finger print information with preset fingerprint information matches in the fixed pending picture.
In one embodiment, the finger to whether there is in the pending picture that breaks with preset fingerprint information matches Before line information Step, the method for preventing that fingerprint from leaking also includes:
When detecting finger print information, the detection number of times of the finger print information detected is updated;
When the detection number of times is more than preset times, the preset fingerprint information is updated based on the finger print information.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:Memory, Processor and the program for preventing fingerprint from leaking that is stored on the memory and can run on the processor, it is described to prevent Fingerprint leakage program by the computing device when realize described in any of the above-described prevent fingerprint leak method the step of.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable The income calculation that is stored with storage medium program, the income calculation program is realized described in any of the above-described when being executed by processor Income calculation method the step of.
The present invention is then existed by judging in pending picture with the presence or absence of the finger print information with preset fingerprint information matches When there is the finger print information of the presupposed information matching in the pending picture, the pixel value of the finger print information is obtained, most Afterwards when the pixel value of the finger print information is more than preset security value, anti-leak processing is carried out to the finger print information, realized Screening to pending picture, it is determined that required processing includes the picture of protected finger print information, and then pair picture determined is carried out Anti-leak processing reaches the mesh for preventing that user fingerprints information from being leaked by social networks to realize the protection to user fingerprints information 's.Also, the screening by preset fingerprint information and pixel value to pending picture, is reduced to pending picture processing Quantity, and then improve the efficiency of fingerprint anti-leak processing.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 prevents the schematic flow sheet of the method first embodiment of fingerprint leakage for the present invention;
The schematic diagram of pending picture in the embodiment of method one that Fig. 4 prevents fingerprint from leaking for the present invention;
Anti-leak processing is carried out to the finger print information in the method second embodiment that Fig. 5 prevents fingerprint from leaking for the present invention The refinement schematic flow sheet of step;
Refer to the adjustment adjustment pixel to described in the method 3rd embodiment that Fig. 6 prevents fingerprint from leaking for the present invention The refinement schematic flow sheet of the flexibility step of the maximum fingerprint texture of number;
To the institute maximum according to pixel number in the method fourth embodiment that Fig. 7 prevents fingerprint from leaking for the present invention The step of stating the starting point coordinate and terminal point coordinate of fingerprint texture, the flexibility of the maximum fingerprint texture of adjustment pixel number Refinement schematic flow sheet;
With the finger print information of preset fingerprint information matches in the embodiment of method one that Fig. 8 prevents fingerprint from leaking for the present invention Schematic diagram;
Fig. 9 is that the finger print information in Fig. 8 takes a schematic diagram;
The finger print information is carried out at anti-leak in the embodiment of method the 5th that Figure 10 prevents fingerprint from leaking for the present invention Manage the refinement schematic flow sheet of step;
Figure 11 prevents the schematic flow sheet of the method sixth embodiment of fingerprint leakage for the present invention;
In the embodiment of method the 7th that Figure 12 prevents fingerprint from leaking for the present invention to it is described judge in pending picture whether The refinement schematic flow sheet of the step of in the presence of finger print information with preset fingerprint information matches;
Figure 13 prevents the schematic flow sheet of the embodiment of method the 8th of fingerprint leakage for the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera) Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound The noise produced during frequency signal or interference.
Mobile terminal 1 00 also 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 transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped 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) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy The property lost memory, for example, at least one 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 whole mobile terminal of connection Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 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, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial RadioAccess Network, evolved UMTS lands Ground wireless access network) 202, EPC (EvolvedPacket Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving GateWay, Gateway) 2034, PGW (PDN GateWay, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and EPC203 between There is provided carrying and connection management for the control node of signaling.HSS2032 is used to provide some registers to manage such as homing position The function of register (not shown) etc, and some are preserved about the special letter of the users such as service features, data rate Breath.All customer data can be transmitted by SGW2034, PGW2035 can provide UE 201 IP address distribute with And other functions, PCRF2036 is the strategy and charging control policy decision point of business data flow and IP bearing resources, and it is plan Available strategy and charging control decision-making are slightly selected and provided with charge execution function unit (not shown).
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the present invention is proposed.
The present invention provides a kind of method for preventing fingerprint from leaking, and reference picture 3, Fig. 3 prevents the side that fingerprint is leaked for the present invention The schematic flow sheet of method first embodiment.
In the present embodiment, this prevents the method that fingerprint is leaked from including:
Step S1000, judges in pending picture with the presence or absence of the finger print information with preset fingerprint information matches;
In the present embodiment, when user selects to issue or sent to a certain photo, then the photo is pending picture;And After judge in pending picture whether to include finger print information, such as pending picture includes finger print information, then extracts pending figure Finger print information in piece, and judge whether the finger print information reaches certain matching degree with preset fingerprint information.Wherein, preset Finger print information can be by personal set, or detected number of times reaches the finger print information of default frequency threshold value;When waiting to locate When the finger print information that reason picture includes and the matching degree of preset fingerprint information are more than default matching degree, then it represents that success Match somebody with somebody, i.e., there is the finger print information with preset fingerprint information matches in pending picture.
For example, a certain user have taken a personal photo, when the user selects issue or sends the photo, it is determined that The photo is pending picture.If include some finger of the user in this photo, and the fingerprint letter on the finger Breath can be detected clearly.Now, corresponding is done to the preset fingerprint information in user mobile phone to the finger print information in the photo Matching degree detection, when detection matching degree be more than default matching degree when, it is necessary to be prevented the finger print information in the photo Leakage is handled, to prevent the finger print information from leaking.
Before step S1000, user can also the typing finger print information to be protected in used equipment in advance. For example, if user does not shift to an earlier date typing finger print information to be protected on its handset, mobile phone can be a certain by detecting The number of times that finger print information accordingly occurs;When the number of times that mobile phone detects a certain finger print information appearance is more than the number of times threshold set before this During value, this finger print information can be updated to protected object, that is, be updated to preset fingerprint information.Specifically, as user exists When carrying out unlocked by fingerprint or fingerprint payment with certain finger print for the first time, equipment used in user just can record lower this and refer to Line;When user second is using the unlocked by fingerprint, then update the access times of the fingerprint, when then there is the finger print information according to It is secondary to update the number of times that the finger print information is detected.The fingerprint the number of times being detected more than default frequency threshold value When, the finger print information is updated for preset fingerprint information.
In the present embodiment, by carrying out matching degree detection to finger print information in pending picture and preset fingerprint information, The picture for meeting the condition that can carry out anti-leak processing can be filtered out, to reduce the workload to pending picture processing.
Step S2000, when there is the finger print information of the presupposed information matching in the pending picture, obtains described The pixel value of finger print information;
The finger print information of many different fingers, wherein one or more fingerprints may generally be included in pending picture Information is the finger print information matched with default finger print information;Or, the finger print information included by pending picture is not It is complete, has only included the finger print information of a certain finger part, the finger print information of the part is and preset fingerprint information matches Finger print information.Therefore, for a pending picture for including finger print information, it is necessary to the fingerprint in this pending picture Information is judged.There is the finger print information with preset fingerprint information matches in pending picture, refer in pending picture The matching degree of finger print information and default finger print information reaches default matching threshold.
In the present embodiment, by contrasting the finger print information in pending picture and preset fingerprint information, by pending figure Finger print information in piece is matched one by one with preset fingerprint information.When the finger print information in pending picture and default fingerprint When information reaches default matching threshold, then it represents that the match is successful, i.e., exist and preset fingerprint information matches in pending picture Finger print information.
For example, a certain user in mobile phone photographs one photo, in the presence of two fingers of the user in the photo Finger print information.Finger print information for two fingers, it is necessary to carry out one by one with default finger print information in the user mobile phone Match somebody with somebody.Preset fingerprint information in such as user mobile phone has two, respectively preset fingerprint information one and preset fingerprint information two, and The corresponding preset matching threshold value of the two preset fingerprint information is 60 percent.Finger print information in pending picture with After the two preset fingerprint information are contrasted one by one, the finger print information of one of finger and default finger in the photo are measured The matching degree of line information one is 80 percent, and the matching degree with preset fingerprint information two is zero, then the finger print information of the finger The match is successful with preset fingerprint information one.And the finger print information of another finger is believed with preset fingerprint information one and preset fingerprint The matching degree of breath two is zero, then it represents that it fails to match.It is follow-up the finger print information for the finger that wherein the match is successful only to be carried out Processing.
In the present embodiment, after the match is successful, the pixel value of finger print information in pending picture is obtained.Wherein, as Plain value, which is expressed as the finger print information, includes the quantity of pixel.By obtaining the pixel value of finger print information, the pixel value is carried out Judge, judge the pixel value whether more than presetted pixel safety value.
Step S3000, when the pixel value of the finger print information is more than preset security value, is prevented the finger print information Leakage is handled.
In the present embodiment, preset security value is picture pixels safety value, and the picture pixels safety value can be carried out rationally Setting, or be configured according to demand by user.
In fact, not all picture leakage part that there is finger print information is dangerous, fingerprint can be only extracted Picture leakage may can just be damaged to user.Believe when existing in pending picture with the fingerprints of preset fingerprint information matches Breath, and the pending picture pixels value is more than preset security value so that the finger print information of individual subscriber can be clearly from this When extracting in picture, just need to carry out anti-leak processing to the finger print information in pending picture.
In the present embodiment, processing or finger print information Fuzzy Processing can be changed by finger print information local feature to fingerprint Information carries out anti-leak processing.
Specifically, finger print information local feature change processing refers to, by changing shielded fingerprint in pending picture The local feature of information protects the finger print information of user.Wherein, shielded finger print information is with presetting in pending picture The matching degree of finger print information reach default matching threshold, and finger of the pixel value more than preset security value of the finger print information Line information;Local feature can be one or more snippets continuous any fingerprint texture in the finger print information, and the quantity of fingerprint texture can Obtained in proportion according to fingerprint information pixels point quantity in pending picture.It is then acquired by can be calculated Slope between any two points of a certain section of continuous fingerprint texture, the curved of this section of fingerprint texture can be changed according to the slope drawn Curvature, can similarly change the flexibility of fingerprint texture acquired in residue successively.Realize to shielded fingerprint in pending picture The change of the local feature of information, so as to protect shielded finger print information.
Finger print information Fuzzy Processing refers to, causes shielded finger print information by fuzzy overall shielded finger print information Entirety loses feature, so that reaching prevents the purpose of shielded finger print information leakage.Specifically, by counting shielded finger The pixel of line information, and the RGB yield values of the neighbor pixel corresponding to each pixel are obtained, it can be calculated each pixel The target RGB yield values of point.The yield value of each pixel is adjusted to target RGB yield values, so that overall protected The RGB yield values of the finger print information pixel of shield change, and visually see, the shielded finger print information can become mould Paste, it is difficult to recognize.
Reference picture 4, wherein, Fig. 4 includes the finger print information of two fingers of user.To the two finger print informations respectively with Preset fingerprint information carries out matching degree detection, show that fingerprint picture 2 reaches absolutely with preset fingerprint information matches degree, and refers to Line picture 1 and preset fingerprint information matches degree are zero, then only need to carry out pixel statistical disposition to fingerprint picture 2.Obtain fingerprint The pixel value of picture 2, draws the pixel value of the fingerprint picture on presetted pixel value, it is determined that to be prevented the fingerprint picture Leakage is handled.When carrying out anti-leak processing, user can choose at random progress fingerprint local feature and change processing or finger print information Fuzzy Processing.
The present embodiment is explained with reference to module related in Fig. 1, is extracted by picture processor and waits to locate in memory The finger print information in picture is managed, carrying out matching degree to the finger print information and default finger print information in picture processor is compared; When there is the finger print information of the presupposed information matching in pending picture, the pixel of the finger print information is obtained by processor Value.Then, the pixel value of the finger print information is compared with preset security value within a processor, it is big in the pixel value of the finger print information When preset security value, anti-leak processing is carried out to the finger print information within a processor.Finally, figure anti-leak processing completed Piece is returned in memory.
What the present embodiment was proposed prevents the method that fingerprint is leaked, and is referred to by judging to whether there is in pending picture with default The finger print information of line information matches, when then there is the finger print information of the presupposed information matching in the pending picture, The pixel value of the finger print information is obtained, then when the pixel value of the finger print information is more than preset security value, is referred to described Line information carries out anti-leak processing, the screening to pending picture is realized by the pixel value of finger print information, it is determined that required processing Include the picture of protected finger print information, and then pair picture determined carries out anti-leak processing to realize to user fingerprints information Protection, reaches the purpose for preventing that individual subscriber finger print information from being leaked by social networks.Also, by preset fingerprint information and Screening of the pixel value to pending picture, reduces the quantity to pending picture processing, and then improve at fingerprint anti-leak The efficiency of reason.
Based on first embodiment, the proposition second embodiment of the invention for preventing finger print information from leaking method, reference picture 5, In the present embodiment, step S3000 includes:
Step S3100, based on the pending picture, obtains the pixel of each fingerprint texture in the finger print information Number;
In the present embodiment, the finger print information in pending picture be with a plurality of different fingerprint textures, it is and different Fingerprint texture included pixel number in picture is also different.Therefore, by obtaining finger print information in pending picture The pixel number of each corresponding fingerprint texture, then contrasts each fingerprint texture pixel number, it may be determined that wherein pixel The maximum fingerprint texture of point number.Step S3200, based on the pixel number, obtains pixel in the fingerprint texture The maximum fingerprint texture of number;
In the present embodiment, by the pixel number corresponding to each fingerprint texture of acquisition, to each fingerprint texture Corresponding pixel number is compared, so that it is determined that the maximum fingerprint texture of pixel number in each fingerprint texture.
Step S3300, the flexibility of the maximum fingerprint texture of adjustment pixel number.
In the present embodiment, according to the maximum fingerprint texture of the pixel number obtained, the curved of the fingerprint texture is adjusted Curvature;Change the local feature of former finger print information in this way so that original fingerprint loses identification with this to protect The finger print information of user.Wherein, the flexibility of the maximum fingerprint texture of adjustment pixel number can be especially by acquisition picture Any two points coordinate on the maximum fingerprint texture of vegetarian refreshments number, target slopes, root can be calculated by two point coordinates The flexibility of the maximum fingerprint texture of pixel number is adjusted according to the target slopes;Or, obtaining any two points coordinate Afterwards, the fingerprint texture of the point-to-point transmission is adjusted to straight line, equally changes the local feature of former finger print information so that original fingerprint Lose identification and protected with this finger print information of user.
What the present embodiment was proposed prevents the method that fingerprint is leaked, by based on the pending picture, obtaining the fingerprint The pixel number of each fingerprint texture in information, is next based on the pixel number, obtains picture in the fingerprint texture The maximum fingerprint texture of vegetarian refreshments number, then adjusts the flexibility of the maximum fingerprint texture of pixel number, realizes pair The acquisition of the maximum fingerprint texture of pixel number in finger print information, determines the object that protected finger print information local feature changes For the fingerprint texture that pixel number is maximum;By changing the flexibility of the maximum fingerprint texture of pixel number, realize Change to protected finger print information local feature, and then anti-leak processing accurately can be carried out to finger print information, to prevent Protected finger print information is let out by social networks.
Based on second embodiment, the proposition 3rd embodiment of the invention for preventing finger print information from leaking method, reference picture 6, In the present embodiment, step S3300 includes:
Step S3310, obtains the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number;
In the present embodiment, starting point coordinate and terminal that the maximum fingerprint texture of pixel number is the fingerprint texture are obtained The corresponding coordinate of starting point and the corresponding coordinate of terminal of the maximum fingerprint texture of coordinate, i.e. pixel number, wherein rising Point is expressed as A, and terminal is expressed as B.By the starting point A and terminal B of the fingerprint texture, A, B can be obtained and distinguish corresponding x-axis With y-axis position.
Step S3320, according to the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number, adjusts picture The flexibility of the maximum fingerprint texture of vegetarian refreshments number.
In the present embodiment, according to starting point coordinate A and terminal point coordinate B, the corresponding x-axis of 2 points of difference of A, B and y can be obtained The data of axle.Pass through calculation formula, thus it is possible to vary the flexibility of the fingerprint texture between 2 points of A, B.
Specifically, target slopes can be calculated by starting point coordinate and terminal point coordinate, then adjusts pixel according to target slopes The flexibility of the maximum fingerprint texture of point number.The calculation formula of target slopes is as follows:
Wherein,For target slopes, | AB | for transverse cutting away from, | KA-KB| for longitudinal intercept.
What the present embodiment was proposed prevents the method that fingerprint is leaked, the fingerprint texture maximum by obtaining pixel number Starting point coordinate and terminal point coordinate, then sat according to the starting point coordinate and terminal of the maximum fingerprint texture of pixel number Mark, the flexibility of the maximum fingerprint texture of adjustment pixel number, can be accurate according to starting point coordinate and terminal point coordinate The flexibility of the maximum fingerprint texture of pixel number is adjusted, and then accurately finger print information can be carried out at anti-leak Reason, to prevent protected finger print information from being let out by social networks.
Based on 3rd embodiment, the proposition fourth embodiment of the invention for preventing finger print information from leaking method, reference picture 7, In the present embodiment, step S3320 includes:
Step S3321, obtain the starting point coordinate and the corresponding transverse cutting of terminal point coordinate away from vertical intercept;
In the present embodiment, according to 2 points of A, B obtained coordinate, can obtain respectively the corresponding x-axis data of A points and Y-axis data and the corresponding x-axis data of B points and y-axis data.The x-axis data and y-axis data obtained by 2 points of A, B, can divide Do not calculate 2 points of the transverse cutting away from longitudinal intercept.Transverse cutting is away from being represented by | AB |, represent that A point abscissas are horizontal with B points The absolute value of the difference of coordinate, longitudinal intercept is represented by | KA-KB|, represent the absolute value of the difference of A point ordinates and B point ordinates.
Step S3322, target slopes are calculated according to the transverse cutting away from, vertical intercept with default line segment angle of bend;
In the present embodiment, user can preset or self-defined 2 points of A, B of change between fingerprint texture it is any Angle value, the angle value is expressed as α0
It can be calculated according to above-mentioned formula and obtain target slopes size;Wherein, | AB | for transverse cutting away from, | KA-KB| cut for longitudinal direction Away from α0For random angle angle value, calculating gained flexibility is
Step S3323, the flexibility of the maximum fingerprint texture of pixel number is adjusted according to the target slopes.
Specifically, the target slopes size that can be obtained according to calculating, it is that target is oblique to cross starting point A or terminal B to make a slope The straight line of rate.Using any point in the maximum fingerprint texture of pixel number as center of circle O, crossed by radius of OA A points or with OB crosses B points for radius and makees to justify.Justify maximum with angle adjustment pixel number corresponding to the camber line of straight-line intersection according to gained The flexibility of the fingerprint texture.By adjusting the flexibility of the maximum fingerprint texture of pixel number, change and wait to locate The local feature of finger print information in picture is managed, the finger print information of protection needed for individual subscriber is protected.
As shown in Figure 8 and Figure 9, in fig. 8, the maximum pixel fingerprint texture of the finger print information is texture A, is taken on texture A Any two points A, B, obtain the point coordinates of A, B two, make difference and calculate transverse cutting between 2 points of A, B away from | AB | and longitudinal intercept |KA-KB|;It is any that the angle value α changed is set0, slope is calculated according to above-mentioned formulaTexture A flexibility is adjusted, As shown in Figure 9.
What the present embodiment was proposed prevents the method that fingerprint is leaked, corresponding by obtaining the starting point coordinate and terminal point coordinate Transverse cutting away from vertical intercept, away from, vertical intercept and default line segment angle of bend calculate target then according to the transverse cutting oblique Rate, then adjusts the flexibility of the maximum fingerprint texture of pixel number according to the target slopes, can be according to target Slope accurately adjusts the flexibility of the maximum fingerprint texture of pixel number, to change the office of protected finger print information Portion's feature, and then anti-leak processing accurately can be carried out to finger print information, to prevent protected finger print information from passing through social network Network lets out.
Based on first embodiment, proposition the 5th embodiment of the invention for preventing finger print information from leaking method, reference picture 10, In the present embodiment, step S3000 includes:
Step S3400, based on each corresponding first pixel of finger print information described in the pending picture, obtains each The second adjacent pixel of the individual first pixel correspondence;
In the present embodiment, Fuzzy Processing is carried out to the finger print information in pending picture.Fuzzy Processing is calculated using Gauss Method, the algorithm takes the average value of peripheral image vegetarian refreshments by each pixel D to the finger print information in pending picture, makes D loses its feature, so as to reach blur effect.Specifically, in pending picture, including finger print information respectively correspond to difference Pixel.Corresponding pixel is represented by the first pixel in the finger print information, and each first pixel is adjacent Pixel is represented by the second pixel.In pending picture, each pixel of finger print information passes through R/G/B (Red/ Green/Blue, red green blue) three Essential colour passages represent.Wherein, the yield value of each pixel is N (such as N=8) The number range of the R/G/B yield values of bit quantization, i.e. each pixel is 0~28-1.By determining the first pixel And second pixel can obtain its corresponding RGB yield value respectively.
Step S3500, obtains the first RGB yield values of second pixel;
In the present embodiment, each pixel has it to distinguish corresponding RGB yield values, by obtaining the first pixel phase Adjacent pixel is the RGB yield values of the second pixel, can calculate the target RGB yield values of the first pixel.
Step S3600, is calculated based on the first RGB yield values and the corresponding weighted value of the first RGB yield values 2nd RGB yield values.In the present embodiment, according to resulting each corresponding the first RGB yield value of the second pixel, with Each corresponding weighted value of one RGB yield values is multiplied.Wherein, each weighted value corresponding to each the first RGB yield value can root Calculated according to Gaussian function.By the results added after each the first RGB yield value multiplication of gained, the value being finally added out is It is expressed as the 2nd RGB yield values of the first pixel.Especially, when each weighted value corresponding to each the first RGB yield value When identical, the 2nd RGB yield values as obtained by calculating are average value.
Step S3700, the RGB yield values of each first pixel are adjusted based on the 2nd RGB yield values.
In the present embodiment, the RGB yield values for the first pixel that adjustment is obtained before this are corresponding 2nd RGB gains Value, specifically, by the RGB yield values of the pixel adjacent with the first pixel, calculate obtained RGB yield values for this first The corresponding 2nd RGB yield values of pixel.It can be caused in pending picture by the RGB yield values for adjusting the first pixel Finger print information is integrally obscured, and finger print information is integrally lost feature, and reaching prevents the purpose of shielded finger print information leakage.
What the present embodiment was proposed prevents the method that fingerprint is leaked, by based on the finger print information pair in the pending picture Each first pixel answered, obtains the second adjacent pixel of each described first pixel correspondence, then obtains described the First RGB yield values of two pixels, then the 2nd RGB yield values are calculated based on the first RGB yield values, then based on described 2nd RGB yield values adjust the RGB yield values of each first pixel, realize to protected fingerprint in pending picture The Fuzzy Processing of information so that protected finger print information integrally loses feature, will be unable to be identified, after treatment user Finger print information, which will not pass through user and be issued in social networks, to be included the photo of finger print information and lets out, and then can be accurate True carries out anti-leak processing to finger print information, to prevent protected finger print information from being let out by social networks.
Based on above-described embodiment, propose that the present invention prevents fingerprint from leaking the sixth embodiment of method, reference picture 11, at this In embodiment, before step S1000, this prevents the method that fingerprint is leaked from also including:
Step S4000, judge photo by mode of operation;
In the present embodiment, photo is referred to operation behavior of the user to photo by mode of operation.Send and select in user Issue or send instruction after, judge in photo with the presence or absence of with before the finger print information step of preset fingerprint information matches, it is right The mode of operation of user is judged.If the photo of user is not used to issue on network, without being carried out to the photo Processing.
Step S5000, when judge photo by mode of operation for state to be released or state to be sent when, determine the photograph Piece is pending picture.
In the present embodiment, the finger print information that whether there is in pending picture is judged with preset fingerprint information matches is walked Before rapid, mode of operation of the user to photo is judged.When user selects to issue or sent to a certain photo, then the photo can table It is shown as pending picture.Wherein, operation when state to be released or state representation user to be sent send issue or send instruction State;What mode of operation when user sends issue picture instruction represented photo is state to be released, user by mode of operation What mode of operation when sending transmission picture instruction represented photo is state to be sent by mode of operation.
The present embodiment propose prevent fingerprint leak method, by judge photo by mode of operation, then work as judgement Photo by mode of operation be state to be released or state to be sent when, it is pending picture to determine the photo, is realized pair The screening of photo under user's different operating states, only when the mode of operation of user is issues or send photo, the photo is It is defined as pending picture, reduces the scope that anti-leak processing is carried out to photo, anti-leak processing figure is carried out needed for reducing The quantity of piece, so as to improve the efficiency of fingerprint anti-leak processing.
Based on above-described embodiment, propose that the present invention prevents fingerprint from leaking the 7th embodiment of method, reference picture 12, at this In embodiment, step S1000 includes:
Step S1100, obtains finger print information described in pending picture and the matching degree of the preset fingerprint information;
In the present embodiment, the finger print information that whether there is in pending picture is judged with preset fingerprint information matches is walked Before rapid, after it is determined that photo is pending picture, the finger print information in pending picture is obtained.As in a certain user's selection A photo is passed, and there is the finger print information of the user in the photo, then needs to detect the finger print information in the photo, And contrasted with default finger print information in the user mobile phone.By judging the finger print information in pending picture and default finger The matching degree of line information, it is determined whether whether the finger print information that treat in reason picture everywhere needs anti-leak to handle.
Step S1200, determines whether the matching degree is more than preset matching degree, wherein, it is more than in the matching degree default During matching degree, the finger print information for having with preset fingerprint information matches in the pending picture is determined.
In the present embodiment, the finger print information that matching degree is expressed as in pending picture is similar to preset fingerprint information Degree.After the finger print information in pending picture and preset fingerprint information are contrasted, the matching degree of the two is in default matching degree threshold When being worth the above, then it represents that there is the finger print information with preset fingerprint information matches in pending picture, then tackle the pending figure Finger print information in piece carries out anti-leak processing.
What the present embodiment was proposed prevents the method that fingerprint is leaked, by obtaining finger print information described in pending picture and institute The matching degree of preset fingerprint information is stated, then determines whether the matching degree is more than preset matching degree, wherein, in the matching degree When being spent more than preset matching, the finger print information for having with preset fingerprint information matches in the pending picture is determined, is realized Judgement to finger print information in pending picture, the picture of next step need not be carried out for the pending picture for being not up to matching threshold Plain safety value contrast operation, further reduces the model that anti-leak processing is carried out to the finger print information in pending picture Enclose, carrying out anti-leak needed for reducing handles the quantity of picture, so as to improve the efficiency of fingerprint anti-leak processing.
Based on above-described embodiment, propose that the present invention prevents fingerprint from leaking the 8th embodiment of method, reference picture 13, at this In embodiment, before step S1000, this prevents the method that fingerprint is leaked from also including:
Step S6000, when detecting finger print information, updates the detection number of times of the finger print information detected;
In the present embodiment, the equipment that user uses is receiving picture or user's progress fingerprint including finger print information During the behaviors such as unblock, fingerprint payment, the occurrence number of received finger print information is updated.If detected finger print information is herein The preceding equipment detection being used by a user is out-of-date, then the finger print information number of times is updated;If detected fingerprint letter Breath did not have detection in equipment used in user before this, then newly saved as finger print information, during the subsequent finger print information it is same according to It is secondary to update the number of times that the finger print information is detected.In addition, in the equipment as used in user, the equipment institute is detected There is finger print information in the picture of storage, equally record the finger print information;When detecting the finger print information again, update this and refer to The number of times that line information occurs, also updates the number of times that the finger print information is detected successively when then there is the finger print information.
Step S7000, when the detection number of times is more than preset times, the default finger is updated based on the finger print information Line information.
In the present embodiment, if currently having detected certain finger print information, and the detected number of times of the finger print information has surpassed Default frequency threshold value is crossed, then the finger print information is represented by preset fingerprint information.By default finger print information, work as detection When including finger print information to pending picture, the finger print information in pending picture can be matched with preset fingerprint information Degree judges, thus determines in pending picture with the presence or absence of finger print information with preset fingerprint information matches.
What the present embodiment was proposed prevents the method that fingerprint is leaked, and refers to by the way that when receiving finger print information, renewal is received The detected number of times of line information, then when the detected number of times is more than preset times, institute is updated based on the finger print information Preset fingerprint information is stated, the detection to preset fingerprint information is realized, in addition to user can be by self-defined preset fingerprint information, Equipment used in user can by fingerprint number of times used in automatic detection user, when the fingerprint number of times detected reach it is default During frequency threshold value, the finger print information can be still updated to preset fingerprint information, expand finger print information in pending picture with The scope that preset fingerprint information is matched, more fully protects the finger print information of user.
In addition, the embodiment of the present invention also proposes a kind of mobile terminal, mobile terminal includes:Memory, processor and storage On the memory and can run on the processor prevent fingerprint leak program, it is described prevent fingerprint leak journey Sequence is realized following operation during the computing device:
Judge in pending picture with the presence or absence of the finger print information with preset fingerprint information matches;
When there is the finger print information of the presupposed information matching in the pending picture, the finger print information is obtained Pixel value;
When the pixel value of the finger print information is more than preset security value, anti-leak processing is carried out to the finger print information.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Based on the pending picture, the pixel number of each fingerprint texture in the finger print information is obtained;
Based on the pixel number, the maximum fingerprint texture of pixel number in the fingerprint texture is obtained;
Adjust the flexibility of the maximum fingerprint texture of pixel number.
Further, following operation is also realized when preventing the program that fingerprint is leaked to be executed by processor:
Obtain the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number;
According to the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number, adjustment pixel number is most The flexibility of the big fingerprint texture.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Obtain the starting point coordinate and the corresponding transverse cutting of terminal point coordinate away from vertical intercept;
Target slopes are calculated with default line segment angle of bend away from, vertical intercept according to the transverse cutting;
The flexibility of the maximum fingerprint texture of pixel number is adjusted according to the target slopes.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Based on each corresponding first pixel of the finger print information in the pending picture, each first picture is obtained The second adjacent pixel of vegetarian refreshments correspondence;
Obtain the first RGB yield values of second pixel;
2nd RGB gains are calculated based on the first RGB yield values and the corresponding weighted value of the first RGB yield values Value;
The RGB yield values of each first pixel are adjusted based on the 2nd RGB yield values.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Judge photo by mode of operation;
When judge photo by mode of operation for state to be released or state to be sent when, determine the photo to be pending Picture.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Obtain the matching degree of finger print information described in pending picture and the preset fingerprint information;
Determine whether the matching degree is more than preset matching degree, wherein, when the matching degree is spent more than preset matching, really There is the finger print information with preset fingerprint information matches in the fixed pending picture.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
When detecting finger print information, the detection number of times of the finger print information detected is updated;
When the detection number of times is more than preset times, the preset fingerprint information is updated based on the finger print information.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with the program for preventing that fingerprint from leaking, the program for preventing fingerprint from leaking realizes following operation when being executed by processor:
Judge in pending picture with the presence or absence of the finger print information with preset fingerprint information matches;
When there is the finger print information of the presupposed information matching in the pending picture, the finger print information is obtained Pixel value;
When the pixel value of the finger print information is more than preset security value, anti-leak processing is carried out to the finger print information.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Based on the pending picture, the pixel number of each corresponding fingerprint texture in the finger print information is obtained;
Based on the pixel number, the maximum fingerprint texture of pixel number in the fingerprint texture is obtained;
Adjust the flexibility of the maximum fingerprint texture of pixel number.
Further, following operation is also realized when preventing the program that fingerprint is leaked to be executed by processor:
Obtain the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number;
According to the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number, adjustment pixel number is most The flexibility of the big fingerprint texture.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Obtain the starting point coordinate and the corresponding transverse cutting of terminal point coordinate away from vertical intercept;
Target slopes are calculated with default line segment angle of bend away from, vertical intercept according to the transverse cutting;
The flexibility of the maximum fingerprint texture of pixel number is adjusted according to the target slopes.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Based on each corresponding first pixel of the finger print information in the pending picture, each first picture is obtained The second adjacent pixel of vegetarian refreshments correspondence;
Obtain the first RGB yield values of second pixel;
2nd RGB gains are calculated based on the first RGB yield values and the corresponding weighted value of the first RGB yield values Value;
The RGB yield values of each first pixel are adjusted based on the 2nd RGB yield values.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Judge photo by mode of operation;
When judge photo by mode of operation for state to be released or state to be sent when, determine the photo to be pending Picture.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
Obtain the matching degree of finger print information described in pending picture and the preset fingerprint information;
Determine whether the matching degree is more than preset matching degree, wherein, when the matching degree is spent more than preset matching, really There is the finger print information with preset fingerprint information matches in the fixed pending picture.
Further, following operation is also realized when the program for preventing that fingerprint from leaking is executed by processor:
When detecting finger print information, the detection number of times of the finger print information detected is updated;
When the detection number of times is more than preset times, the preset fingerprint information is updated based on the finger print information.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of method for preventing fingerprint from leaking, it is characterised in that the method for preventing that fingerprint from leaking includes:
Judge in pending picture with the presence or absence of the finger print information with preset fingerprint information matches;
When there is the finger print information of the presupposed information matching in the pending picture, the pixel of the finger print information is obtained Value;
When the pixel value of the finger print information is more than preset security value, anti-leak processing is carried out to the finger print information.
2. the method as claimed in claim 1 for preventing fingerprint from leaking, it is characterised in that the finger print information includes multiple fingerprints The step of texture, progress anti-leak processing to the finger print information, includes:
Based on the pending picture, the pixel number of each fingerprint texture in the finger print information is obtained;
Based on the pixel number, the maximum fingerprint texture of pixel number in the fingerprint texture is obtained;
Adjust the flexibility of the maximum fingerprint texture of pixel number.
3. the method as claimed in claim 2 for preventing fingerprint from leaking, it is characterised in that the adjustment pixel number maximum The flexibility step of the fingerprint texture includes:
Obtain the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number;
According to the starting point coordinate and terminal point coordinate of the maximum fingerprint texture of pixel number, adjustment pixel number maximum The flexibility of the fingerprint texture.
4. the as claimed in claim 3 method for preventing fingerprint from leaking, it is characterised in that described maximum according to pixel number The starting point coordinate and terminal point coordinate of the fingerprint texture, the step of the flexibility of the maximum fingerprint texture of adjustment pixel number Suddenly include:
Obtain the starting point coordinate and the corresponding transverse cutting of terminal point coordinate away from vertical intercept;
Target slopes are calculated with default line segment angle of bend away from, vertical intercept according to the transverse cutting;
The flexibility of the maximum fingerprint texture of pixel number is adjusted according to the target slopes.
5. the method as claimed in claim 1 for preventing fingerprint from leaking, it is characterised in that described to be prevented the finger print information The step of leakage processing, includes:
Based on each corresponding first pixel of the finger print information in the pending picture, each first pixel is obtained The second adjacent pixel of correspondence;
Obtain the first RGB yield values of second pixel;
2nd RGB yield values are calculated based on the first RGB yield values and the corresponding weighted value of the first RGB yield values;
The RGB yield values of each first pixel are adjusted based on the 2nd RGB yield values.
6. the as claimed in claim 1 method for preventing fingerprint from leaking, it is characterised in that it is described judge in pending picture whether It is described to prevent fingerprint from leaking method and also including before the finger print information step with preset fingerprint information matches:
Judge photo by mode of operation;
When judge photo by mode of operation for state to be released or state to be sent when, determine the photo be pending figure Piece.
7. the as claimed in claim 1 method for preventing fingerprint from leaking, it is characterised in that it is described judge in pending picture whether The step of in the presence of finger print information with preset fingerprint information matches, includes:
Obtain the matching degree of finger print information described in pending picture and the preset fingerprint information;
Determine whether the matching degree is more than preset matching degree, wherein, when the matching degree is spent more than preset matching, determine institute State the finger print information existed in pending picture with preset fingerprint information matches.
8. the method that fingerprint is leaked of preventing as any one of claim 1 to 7, it is characterised in that described disconnected pending In picture whether there is with before the finger print information step of preset fingerprint information matches, it is described prevent fingerprint leak method also wrap Include:
When detecting finger print information, the detection number of times of the finger print information detected is updated;
When the detection number of times is more than preset times, the preset fingerprint information is updated based on the finger print information.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and can run on the processor prevent fingerprint leak program, it is described prevent fingerprint leak program by the place Reason device perform when realize as any one of claim 1 to 8 prevent fingerprint leakage method the step of.
10. a kind of computer-readable recording medium, it is characterised in that being stored with the computer-readable recording medium prevents from referring to The program of line leakage, the program for preventing that fingerprint from leaking is realized such as any one of claim 1 to 8 institute when being executed by processor The step of that states prevents the method that fingerprint is leaked.
CN201710376316.4A 2017-05-24 2017-05-24 Method, mobile terminal and the computer-readable recording medium for preventing fingerprint from leaking Pending CN107133603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710376316.4A CN107133603A (en) 2017-05-24 2017-05-24 Method, mobile terminal and the computer-readable recording medium for preventing fingerprint from leaking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710376316.4A CN107133603A (en) 2017-05-24 2017-05-24 Method, mobile terminal and the computer-readable recording medium for preventing fingerprint from leaking

Publications (1)

Publication Number Publication Date
CN107133603A true CN107133603A (en) 2017-09-05

Family

ID=59732642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710376316.4A Pending CN107133603A (en) 2017-05-24 2017-05-24 Method, mobile terminal and the computer-readable recording medium for preventing fingerprint from leaking

Country Status (1)

Country Link
CN (1) CN107133603A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472848A (en) * 2018-10-29 2019-03-15 广东小天才科技有限公司 A kind of image processing method and terminal device for preventing finger print information from revealing
JP2019074938A (en) * 2017-10-17 2019-05-16 Necプラットフォームズ株式会社 Device, system, method and program for communication relay
CN111782107A (en) * 2020-06-30 2020-10-16 联想(北京)有限公司 Information processing method, device, computer system and readable storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100097546A (en) * 2009-02-26 2010-09-03 (주)알에스넷 Fingerprint recognition device
CN102004872A (en) * 2010-10-27 2011-04-06 杨莹 Fingerprint encryption-based identity authentication system and implementation method thereof
CN104574452A (en) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 Generating method and device for window background
CN104765994A (en) * 2015-04-17 2015-07-08 努比亚技术有限公司 User identity recognition method and device
CN104778417A (en) * 2015-03-20 2015-07-15 惠州Tcl移动通信有限公司 Method and mobile terminal for preventing personal fingerprint information from leaking through photo
CN105426724A (en) * 2015-11-24 2016-03-23 上海斐讯数据通信技术有限公司 Electronic image encryption method and device, electronic image decryption method and device, and equipment
WO2016145624A1 (en) * 2015-03-18 2016-09-22 华为技术有限公司 Information processing method and mobile terminal
CN106127067A (en) * 2016-06-15 2016-11-16 广东欧珀移动通信有限公司 A kind of method of fileinfo anti-leak and mobile terminal
CN106250777A (en) * 2016-07-26 2016-12-21 合肥赛猊腾龙信息技术有限公司 In the leakage-preventing system of data, a kind of document fingerprint extracts and matching process
CN106295286A (en) * 2015-06-04 2017-01-04 联想移动通信软件(武汉)有限公司 A kind of encrypting fingerprint processing method, device and terminal
WO2017000829A1 (en) * 2015-07-02 2017-01-05 阿里巴巴集团控股有限公司 Method for checking security based on biological features, client and server
WO2017024667A1 (en) * 2015-08-11 2017-02-16 宇龙计算机通信科技(深圳)有限公司 Fingerprint verification method and apparatus
CN106529307A (en) * 2015-09-10 2017-03-22 青岛海信移动通信技术股份有限公司 Photo encryption method and device
CN106547591A (en) * 2016-10-28 2017-03-29 珠海市魅族科技有限公司 The processing method of finger print information, processing meanss and terminal
CN106650381A (en) * 2016-12-29 2017-05-10 武汉轻工大学 Information encryption method and apparatus

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100097546A (en) * 2009-02-26 2010-09-03 (주)알에스넷 Fingerprint recognition device
CN102004872A (en) * 2010-10-27 2011-04-06 杨莹 Fingerprint encryption-based identity authentication system and implementation method thereof
CN104574452A (en) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 Generating method and device for window background
WO2016145624A1 (en) * 2015-03-18 2016-09-22 华为技术有限公司 Information processing method and mobile terminal
CN104778417A (en) * 2015-03-20 2015-07-15 惠州Tcl移动通信有限公司 Method and mobile terminal for preventing personal fingerprint information from leaking through photo
CN104765994A (en) * 2015-04-17 2015-07-08 努比亚技术有限公司 User identity recognition method and device
CN106295286A (en) * 2015-06-04 2017-01-04 联想移动通信软件(武汉)有限公司 A kind of encrypting fingerprint processing method, device and terminal
WO2017000829A1 (en) * 2015-07-02 2017-01-05 阿里巴巴集团控股有限公司 Method for checking security based on biological features, client and server
WO2017024667A1 (en) * 2015-08-11 2017-02-16 宇龙计算机通信科技(深圳)有限公司 Fingerprint verification method and apparatus
CN106529307A (en) * 2015-09-10 2017-03-22 青岛海信移动通信技术股份有限公司 Photo encryption method and device
CN105426724A (en) * 2015-11-24 2016-03-23 上海斐讯数据通信技术有限公司 Electronic image encryption method and device, electronic image decryption method and device, and equipment
CN106127067A (en) * 2016-06-15 2016-11-16 广东欧珀移动通信有限公司 A kind of method of fileinfo anti-leak and mobile terminal
CN106250777A (en) * 2016-07-26 2016-12-21 合肥赛猊腾龙信息技术有限公司 In the leakage-preventing system of data, a kind of document fingerprint extracts and matching process
CN106547591A (en) * 2016-10-28 2017-03-29 珠海市魅族科技有限公司 The processing method of finger print information, processing meanss and terminal
CN106650381A (en) * 2016-12-29 2017-05-10 武汉轻工大学 Information encryption method and apparatus

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
JIN QI等: "A novel fingerprint matching method using a curvature-based minutia specifier", 《2008 15TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING》 *
MOHAMMED S. KHALIL等: "Fingerprint verification using fingerprint texture", 《2009 IEEE INTERNATIONAL SYMPOSIUM ON SIGNAL PROCESSING AND INFORMATION TECHNOLOGY (ISSPIT)》 *
史骏鹏: "面向版权保护和身份认证的指纹水印算法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
张孝龙: "小儿指纹采集与图像处理研究", 《中国优秀硕士学位论文全文数据库 医药卫生科技辑》 *
朱道明等编著: "《建筑安防技术》", 31 January 2013, 上海:东华大学出版社 *
贺康: "隐私保护型指纹认证中的对齐和认证方法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
陈小春: "基于指纹和冗余布线的版图数字水印方法研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019074938A (en) * 2017-10-17 2019-05-16 Necプラットフォームズ株式会社 Device, system, method and program for communication relay
CN109472848A (en) * 2018-10-29 2019-03-15 广东小天才科技有限公司 A kind of image processing method and terminal device for preventing finger print information from revealing
CN111782107A (en) * 2020-06-30 2020-10-16 联想(北京)有限公司 Information processing method, device, computer system and readable storage medium

Similar Documents

Publication Publication Date Title
CN109800602B (en) Privacy protection method, mobile terminal and computer readable storage medium
CN106961706A (en) Method, mobile terminal and the computer-readable recording medium of communication pattern switching
CN107729298A (en) Screen occlusion area processing method, mobile terminal and computer-readable recording medium
CN107507007A (en) One kind pays 2 D code verification method, terminal and computer-readable recording medium
CN107256530A (en) Adding method, mobile terminal and the readable storage medium storing program for executing of picture watermark
CN108089791A (en) Screen resolution method of adjustment, mobile terminal and computer readable storage medium
CN107395850A (en) A kind of social communication information guard method, device and computer-readable recording medium
CN107272906A (en) Using many account display control methods and mobile terminal
CN106953989A (en) Incoming call reminding method and device, terminal, computer-readable recording medium
CN107896287A (en) Phone number risk monitoring method and mobile terminal
CN107181865A (en) Processing method, terminal and the computer-readable recording medium of unread short messages
CN107295270A (en) Determination method, device, terminal and the computer-readable recording medium of a kind of image brightness values
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN107239205A (en) A kind of photographic method, mobile terminal and storage medium
CN107682630A (en) Dual camera anti-fluttering method, mobile terminal and computer-readable recording medium
CN107506163A (en) Adjust method, terminal and the computer-readable recording medium of screen display
CN110189368A (en) Method for registering images, mobile terminal and computer readable storage medium
CN107329683A (en) One kind grips exchange method, equipment and computer-readable recording medium
CN107172282A (en) Screen locking wallpaper displaying method, mobile terminal and computer-readable recording medium
CN107230065A (en) A kind of two-dimensional code display method, equipment and computer-readable recording medium
CN107133603A (en) Method, mobile terminal and the computer-readable recording medium for preventing fingerprint from leaking
CN108376239A (en) A kind of face identification method, mobile terminal and storage medium
CN107562343A (en) A kind of interactive regulation and control method, equipment and computer-readable recording medium
CN107423065A (en) Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else
CN107613206A (en) A kind of image processing method, mobile terminal and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170905