Summary of the invention
The object of the present invention is to provide a kind of Anti-peeking system and method for automatically adjusting display resolution based on human eye and screen distance, to solve present smart mobile phone in use, the risk that exists individual privacy to be spied on by passerby or other people improves the security that user mobile phone uses.
The objective of the invention is to be achieved through the following technical solutions.
A kind of Anti-peeking system of automatically adjusting display resolution based on human eye and screen distance, comprise mobile phone body, be arranged on wiring board and display screen in mobile phone body, described display screen is connected with wiring board, be provided with viameter, microprocessor chip, mobile phone CPU and interface display adjusting module on described wiring board, described viameter is connected with mobile phone CPU by microprocessor chip, and described mobile phone CPU is connected with display screen by the interface display adjusting module.
Preferably, native system also includes a vision sensor, and this vision sensor is connected with mobile phone CPU by microprocessor chip.
Preferably, native system also includes an algorithm memory, and this algorithm memory is connected with microprocessor chip.
In addition, the present invention also provides a kind of peep-proof method of automatically adjusting display resolution based on human eye and screen distance, comprises step:
The position of A, the corresponding perception eyes of user of mobile phone vision sensor, viameter is measured the human eye of this position and the distance between screen, obtains distance values M;
B, micro-chip processor are processed above-mentioned distance values M, and call algorithm routine in algorithm memory, obtain the steering order under this distance values;
C, above-mentioned steering order send to mobile phone CPU by micro-chip processor, and mobile phone CPU controls the resolution that the interface display adjusting module is adjusted display screen, so that human eye can be known the information of seeing on display screen under current distance numerical value M.
Preferably, steps A specifically comprises:
The position of the corresponding perception eyes of user of mobile phone vision sensor, viameter takes multiple measurements within the unit interval the human eye of this position and the distance between screen simultaneously, calculates the mean values M that obtains screen and human eye distance.
Preferably, step B specifically comprises:
Micro-chip processor obtains above-mentioned distance values M, calls simultaneously algorithm routine in algorithm memory, and numerical value M corresponding input respective function and algoritic module are calculated, and obtains the steering order under the numerical value that human eye and screen distance are M.
Preferably, step C specifically comprises:
Mobile phone CPU is according to above-mentioned steering order, and corresponding display font size and the resolution of controlling on interface display adjusting module adjustment display screen is set up human eye and display screen distance and is the interface of watching in the situation of M.
the present invention compared with prior art, beneficial effect is: the peep-proof method of automatically adjusting display resolution based on human eye and screen distance provided by the invention, by the real-time measurement to human eye and display screen distance, and the measurement result correspondence is sent to microprocessor chip, obtain best image font size and resolution sizes under this distance by calculating, and adjust display font size and resolution on display screen according to this apart from controlling the interface display adjusting module, set up this apart from the interface of watching in situation, the font that makes simultaneously the human eye of other distances can't watch display screen, thereby reach the purpose that prevents that individual privacy from not spied on by passerby or other people, improve the security that user mobile phone uses.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
See also shown in Figure 1ly, Fig. 1 is system principle diagram of the present invention.The present invention is to provide a kind of Anti-peeking system of automatically adjusting display resolution based on human eye and screen distance, this system includes mobile phone body, is arranged on wiring board and display screen in mobile phone body, described display screen is connected with wiring board, be provided with viameter, vision sensor, algorithm memory, microprocessor chip, mobile phone CPU and interface display adjusting module on described wiring board, described viameter is connected with mobile phone CPU by microprocessor chip, and described mobile phone CPU is connected with display screen by the interface display adjusting module; Vision sensor is connected with mobile phone CPU by microprocessor chip; Algorithm memory is connected with microprocessor chip.
Vision sensor is mainly for detection of the residing position of human eye; When viameter is used for human eye and is in current location, and the distance between the mobile phone display screen curtain, because the distance between human eye and screen is constantly to change, therefore measured distance is in common 1 second of mean values M(in a period of time herein); Store corresponding algorithmic function in algorithm memory, be used for according to measured M numerical value, calculate by function, obtain corresponding steering order.
Interface display is adjusted mould for font size and the resolution of regulating on display screen, so that it meets watching of human eye, it is by receiving the steering order of mobile phone CPU, display screen is adjusted to the visual angle of watching that meets at the human eye of distance M, can't watch for the human eye at other visual angles.
Because there is a limiting resolution in human eye, if being font " A " human eye over 50 meters of 5 centimetres, length and width can just differentiate, in any case all can't differentiate over 75 meters, be None-identified to the object that surpasses this resolution distance, namely what is called is the dimness of vision.When the people watched object, can be clear see eyes visual angles corresponding to field of view clearly was approximately 35 ° (laterally) X20 ° (vertically), and the while human eye is in intermediate light, and the resolving power of medium-contrast (d) is 0.2mm, and the optimum distance (L) of correspondence is 0.688m.Wherein d and L satisfy tg (θ/2)=d/2L, and θ is resolution angle, and general value is 1.5', is a very little angle.It is rectangular right circular cone that the visual field is modeled as ground approx, wherein the height of cone is h=L=0.688m, θ 1=35 ° (horizontal view angle), θ 2=20 ° (vertical angle of view), take 0.0002m as a point, can learn that the bottom surface rectangle is the resolution of 2169X1213,2169X1213 can the clear resolution of seeing field of view clearly for the people.The present invention is based on above human eye and object distance and resolution of eye formation one cover software algorithm, corresponding stored is in algorithm memory, mobile phone gathers human eye to the distance of mobile phone screen by range sensor, then calculate the resolution of the lower human eye of this distance by the software program algorithm, thereby figure or the font of automatically adjusting mobile phone interface meet this limiting resolution, the user can be seen clearly, surpass the people of this distance because the dimness of vision and the reasons such as aerial perspective or color detection can't be seen mobile phone interface clearly.
Shown in Figure 2, Fig. 2 is principle of work process flow diagram of the present invention.The present invention also provides a kind of peep-proof method of automatically adjusting display resolution based on human eye and screen distance, comprises step:
The position of A, the corresponding perception eyes of user of mobile phone vision sensor, viameter is measured the human eye of this position and the distance between screen, obtains distance values M;
Steps A specifically comprises:
The position of the corresponding perception eyes of user of mobile phone vision sensor, viameter takes multiple measurements within the unit interval the human eye of this position and the distance between screen simultaneously, calculates the mean values M that obtains screen and human eye distance.
B, micro-chip processor are processed above-mentioned distance values M, and call algorithm routine in algorithm memory, obtain the steering order under this distance values;
Step B specifically comprises:
Micro-chip processor obtains above-mentioned distance values M, calls simultaneously algorithm routine in algorithm memory, and numerical value M corresponding input respective function and algoritic module are calculated, and obtains the steering order under the numerical value that human eye and screen distance are M.
C, above-mentioned steering order send to mobile phone CPU by micro-chip processor, and mobile phone CPU controls the resolution that the interface display adjusting module is adjusted display screen, so that human eye can be known the information of seeing on display screen under current distance numerical value M.
Step C specifically comprises:
Mobile phone CPU is according to above-mentioned steering order, and corresponding display font size and the resolution of controlling on interface display adjusting module adjustment display screen is set up human eye and display screen distance and is the interface of watching in the situation of M.
automatically the peep-proof method of adjusting display resolution based on human eye and screen distance provided by the invention, by the real-time measurement to human eye and display screen distance, and the measurement result correspondence is sent to microprocessor chip, obtain best image font size and resolution sizes under this distance by calculating, and adjust display font size and resolution on display screen according to this apart from controlling the interface display adjusting module, set up this apart from the interface of watching in situation, the font that makes simultaneously the human eye of other distances can't watch display screen, thereby reach the purpose that prevents that individual privacy from not spied on by passerby or other people, improve the security that user mobile phone uses.
The above is only preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., within all should being included in protection scope of the present invention.