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 decryption
On 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 history
APP is judged as non-owner's use state, by hand once discovery active user's is mismatched using sequence and history using sequence
Machine-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 determination
The 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, thus
Improve 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 used
Sequence is directly entered lock state in booting next time, to have once discovery active user's is mismatched using sequence and history
Protect 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 using
Cell 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 defeated
Out;
Second detection device is shut down operation for detect mobile phone, and records the available machine time using defeated as the second time
Out, 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 for
When 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 as
Target 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 interface
A 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 history
The 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 arrives
The 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 time
Sequence 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 includes
The privacy of mobile phone owner is protected using cell phone application access times matching system, the cell phone application access times matching system is adopted
Mobile 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 defeated
Out;
Second detection device is shut down operation for detect mobile phone, and records the available machine time using defeated as the second time
Out, 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 for
When 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 as
Target 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 interface
A 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 history
The 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 arrives
The 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 time
Sequence 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 second
Sequence;
Sequence matching unit is connect with the data analysis equipment and SD storage equipment respectively, described for receiving
First 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 request
The 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 described
One processing image, and the ratio of the contrast of the contrast based on the first processing image and the front user images is to institute
It 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 equipment
Ingredient image and the identical image of three sizes of B component image, wherein the H ingredient image is in the second processing image
Each pixel H signal component value composed by image, the S ingredient image be the second processing image in each pixel
Image composed by the S signal component value of point, the B component image are the B component of each pixel in the second processing image
Image composed by being worth;
First statistics equipment, connect with the data separating equipment, for receiving the H ingredient image, calculate the H at
Entropy 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 at
Entropy 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 at
Entropy 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 third
Equipment connection, for receiving first entropy, second entropy and the third entropy, and to first entropy, institute
State the second entropy and the third entropy and carry out size comparison, using ingredient image corresponding to the entropy of wherein greatest measure as
Images 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 recognized
Owner's characteristics of objects of ingredient identifies owner's subject area from the images to be recognized, and big in owner's subject area
When 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 signal
Holding 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 signal
Use 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 the
The 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 chipset
Count 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 big
When 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 operation
Microprocessor, 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 cycle
An interior achievable multiplication and a sub-addition;(2) program and data space is separated, can simultaneously access instruction and data;(3) piece
It 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 expense
The hardware supported for recycling and jumping;(5) quickly interrupt processing and Hardware I/O are supported;(6) more with being operated within the monocycle
A hardware address generator;(7) multiple operations can be executed parallel;(8) it supports pile line operation, makes fetching, decoding and execution
Equal 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 art
The 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 person
Energyization identifies, so that previous simple encryption and decryption mechanism be substituted, improves the difficulty of mobile phone access, effective protection cellphone information
It is not leaked.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit 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 as
With 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 invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.