Summary of the invention
It to solve the above-mentioned problems, can be high-precision the present invention provides a kind of method of cell phone intelligent encryption and decryptionOn the basis of the image recognition of degree, the number of each APP on mobile phone interface is used in history based on owner, determination is each in historyAPP is judged as non-owner's use state, by hand once discovery active user's is mismatched using sequence and history using sequenceMachine-cut changes to encryption mode.
The present invention at least has following multiple important inventive points:
(1) contrast of the image after Edge contrast is compared with the contrast of the image before Edge contrast with determinationThe amplitude that contrast enhancing is executed to the image after Edge contrast, to further improve the clarity of image;
(2) select the maximum color component image of entropy as images to be recognized from each color component image, thusImprove the speed and efficiency of target identification;
(3) it uses the number of each APP on mobile phone interface in history based on owner, it is suitable to determine that APP each in history is usedSequence is directly entered lock state in booting next time, to have once discovery active user's is mismatched using sequence and historyProtect to effect the privacy of owner.
According to an aspect of the present invention, the method for a kind of cell phone intelligent encryption and decryption is provided, this method includes usingCell phone application access times matching system protects the privacy of mobile phone owner, and the cell phone application access times matching system includes:
First detection device, for detect mobile phone by power-on operation, and record the available machine time using as at the first time it is defeatedOut;
Second detection device is shut down operation for detect mobile phone, and records the unused time using defeated as the second timeOut, wherein it is corresponding nearest by power-on operation apart from the first time that second time is corresponding, which to be shut down operation,Once it is shut down operation;
Trace recording equipment is opened, is connect respectively with first detection device and second detection device, is used forWhen mobile phone next time is switched on, the first time and second time are received;
The opening trace recording equipment be used for using the period between the first time and second time asTarget time section counts the opening number of each APP on mobile phone interface in the target time section;
Wherein, the opening trace recording equipment is also used to according to opening number from big to small to each on the mobile phone interfaceA APP is ranked up to obtain the first sequence;
Data analysis equipment is located on cell phone mainboard, and each opening time of mobile phone is closed to corresponding on log historyThe opening number of each APP on mobile phone interface in the period of time is closed, and each opening time based on mobile phone in history arrivesThe opening number of each APP carries out APP each on the mobile phone interface on mobile phone interface in the period of corresponding shut-in timeSequence is to obtain the second sequence.
Specific embodiment
Embodiment of the present invention will be described in detail below.
In order to overcome above-mentioned deficiency, the method that the present invention has built a kind of cell phone intelligent encryption and decryption, this method includesThe privacy of mobile phone owner is protected using cell phone application access times matching system, the cell phone application access times matching system is adoptedMobile phone encryption and decryption is carried out with intelligent mode.
Cell phone application access times matching system shown in embodiment of the present invention includes:
First detection device, for detect mobile phone by power-on operation, and record the available machine time using as at the first time it is defeatedOut;
Second detection device is shut down operation for detect mobile phone, and records the unused time using defeated as the second timeOut, wherein it is corresponding nearest by power-on operation apart from the first time that second time is corresponding, which to be shut down operation,Once it is shut down operation.
Then, continue that the specific structure of cell phone application access times matching system of the invention is further detailed.
In the cell phone application access times matching system, further includes:
Trace recording equipment is opened, is connect respectively with first detection device and second detection device, is used forWhen mobile phone next time is switched on, the first time and second time are received.
In the cell phone application access times matching system:
The opening trace recording equipment be used for using the period between the first time and second time asTarget time section counts the opening number of each APP on mobile phone interface in the target time section;
Wherein, the opening trace recording equipment is also used to according to opening number from big to small to each on the mobile phone interfaceA APP is ranked up to obtain the first sequence.
In the cell phone application access times matching system, further includes:
Data analysis equipment is located on cell phone mainboard, and each opening time of mobile phone is closed to corresponding on log historyThe opening number of each APP on mobile phone interface in the period of time is closed, and each opening time based on mobile phone in history arrivesThe opening number of each APP carries out APP each on the mobile phone interface on mobile phone interface in the period of corresponding shut-in timeSequence is to obtain the second sequence;
SD stores equipment, is located in mobile phone holding tank, connect with the data analysis equipment, suitable for recording described secondSequence;
Sequence matching unit is connect with the data analysis equipment and SD storage equipment respectively, described for receivingFirst sequence and second sequence, and first sequence and second sequence are matched, when matching degree is less than etc.When percentage threshold, user's confirmation request is issued;
Preceding screen acquires equipment, connect with the sequence matching unit, for opening when receiving user's confirmation requestThe dynamic image taking to front user to obtain front user images, and exports the front user images;
First processing equipment executes image sharpening processing to the front user images for receiving front user images,To obtain and export the first processing image;
Second processing equipment is connect with first processing equipment, for receiving the front user images and describedOne processing image, and the ratio of the contrast of the contrast based on the first processing image and the front user images is to instituteIt states the first processing image and executes Adaptive contrast enhancement, to obtain and export second processing image;
The second processing image segmentation is gone out H ingredient image, S for receiving second processing image by data separating equipmentIngredient image and the identical image of three sizes of B component image, wherein the H ingredient image is in the second processing imageEach pixel H signal component value composed by image, the S ingredient image be the second processing image in each pixelImage composed by the S signal component value of point, the B component image are the B component of each pixel in the second processing imageImage composed by being worth;
First statistics equipment, connect with the data separating equipment, for receiving the H ingredient image, calculate the H atEntropy in partial image, and the entropy in the H ingredient image is exported as the first entropy;
Second statistics equipment, connect with the data separating equipment, for receiving the S ingredient image, calculate the S atEntropy in partial image, and the entropy in the S ingredient image is exported as the second entropy;
Third counts equipment, connect with the data separating equipment, for receiving the B component image, calculate the B atEntropy in partial image, and exported the entropy in the B component image as third entropy;
At component selections equipment, counted respectively with the first statistics equipment, the second statistics equipment and the thirdEquipment connection, for receiving first entropy, second entropy and the third entropy, and to first entropy, instituteState the second entropy and the third entropy and carry out size comparison, using ingredient image corresponding to the entropy of wherein greatest measure asImages to be recognized output;
Owner identifies equipment, connect with described at component selections equipment, for being based on the corresponding color of the images to be recognizedOwner's characteristics of objects of ingredient identifies owner's subject area from the images to be recognized, and big in owner's subject areaWhen being equal to preset area limit value, owner's confirmation signal is issued, otherwise, owner is issued and denies signal;
Phone lock equipment identifies that equipment is connect with the owner, for protecting when receiving owner's confirmation signalHolding mobile phone is serviceable condition, is also used to lock mobile phone, mobile phone is converted to can not when receiving the owner and denying signalUse state.
In the cell phone application access times matching system:
The ratio of the contrast and the contrast of the front user images of the first processing image is bigger, to described theThe amplitude that one processing image executes contrast enhancing is smaller.
In the cell phone application access times matching system:
It is handled using DSP and realizes the first statistics equipment, the second statistics equipment and third system in chipsetCount equipment.
In the cell phone application access times matching system:
In the sequence matching unit, first sequence and second sequence are matched, when matching degree is bigWhen the percentage threshold, subscriber identification signal is issued.
In addition, dsp chip, also referred to as digital signal processor, are a kind of particularly suitable for carrying out Digital Signal Processing operationMicroprocessor, main application is to realize various digital signal processing algorithms real-time, quickly.
According to the requirement of Digital Signal Processing, dsp chip generally has following main feature: (1) in an instruction cycleAn interior achievable multiplication and a sub-addition;(2) program and data space is separated, can simultaneously access instruction and data;(3) pieceIt is interior that there is quick RAM, it can usually be accessed simultaneously in two pieces by independent data/address bus;(4) there is low overhead or without expenseThe hardware supported for recycling and jumping;(5) quickly interrupt processing and Hardware I/O are supported;(6) more with being operated within the monocycleA hardware address generator;(7) multiple operations can be executed parallel;(8) it supports pile line operation, makes fetching, decoding and executionEqual operations can be with Overlapped Execution.
Using cell phone application access times matching system of the invention, for mobile phone cipher intelligent control in the prior artThe technical issues of low SI, the cell phone application sequence accustomed to using by detecting owner carry out intelligence to the identity of currently used personEnergyization identifies, so that previous simple encryption and decryption mechanism be substituted, improves the difficulty of mobile phone access, effective protection cellphone informationIt is not leaked.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not toLimit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised asWith the equivalent embodiment of variation.Therefore, anything that does not depart from the technical scheme of the invention are right according to the technical essence of the inventionAny simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protectionIt is interior.