Summary of the invention
The purpose of this invention is to provide a kind of portable terminal and color of shell control method thereof, realize the automatic conversion of mobile terminal case color according to the power of surrounding environment light, solve the problem of existing color of shell simplification, have better flexibility and effect attractive in appearance.
For achieving the above object, first aspect present invention provides a kind of portable terminal, and described portable terminal comprises: optical inductor, reception inductor, processor and illuminator;
Described optical inductor is used for the light signal around the induction portable terminal, and with described optical signal transmission to described reception inductor;
Described reception inductor is connected with described optical inductor, is used for converting the light signal of described optical inductor transmission to electric signal, and described electric signal is transferred to described processor;
Described processor is connected with described reception inductor, and the described illuminator of drive that produces corresponding different colours according to described electric signal sends the light of different colours, presents different colors with the shell of control portable terminal.
In one embodiment of the invention, described processor is quantified as pulse value with described electric signal, matches corresponding color according to described pulse value, and generation is luminous at the described illuminator of drive of the color of described correspondence.
In one embodiment of the invention, described optical inductor comprises light projector and light-receiving device, described light projector is used for the light around the induction portable terminal, and the lens that transfer to described light-receiving device after the lens focusing of described light by light projector are formed described light signal.
In one embodiment of the invention, described optical inductor is positioned at portable terminal front or the back side, and the shell of described optical inductor position correspondence is transparent outer cover, with the light around the induction.
In one embodiment of the invention, described processor comprises A/D change-over circuit, match circuit and driving circuit;
Described A/D change-over circuit is connected with described reception inductor, is used for the electric signal of described reception inductor transmission is carried out analog to digital conversion, quantizes to obtain the pulse value of described electric signal;
Described match circuit is connected with described A/D change-over circuit, for the described pulse value that obtains according to described A/D change-over circuit, matches corresponding color code from default scheme of colour;
Described driving circuit is connected with described match circuit, and for generation of the driving signal of the color code corresponding color of described match circuit coupling, it is luminous to drive described illuminator.
In one embodiment of the invention, described illuminator comprises the LED lamp of a plurality of different colours; Perhaps, described illuminator is multi-colored led lamp, and described portable terminal comprises the shell that printing opacity or semi transparent material are made, and presents corresponding color when illuminator is luminous.
In one embodiment of the invention, described illuminator is positioned at the mobile terminal screen periphery, and the zone corresponding with described shell.
In one embodiment of the invention, described portable terminal also comprises:
The colour temperature inductor is connected with described processor, is used for the color temperature value of induction portable terminal ambient light, and described color temperature value is transferred to described processor;
Described processor also is used for adjusting the color that described pulse value matches according to described color temperature value, and the described illuminator of drive that produces the color after adjusting is luminous.
Second aspect present invention also provides a kind of color of shell control method, and described method comprises:
Utilize optical inductor induction portable terminal light signal on every side;
Convert described light signal to electric signal, the drive illuminator that produces corresponding different colours according to described electric signal sends the light of different colours, presents different colors with the shell of control portable terminal.
In one embodiment of the invention, according to described electric signal and produce the light of the luminous different colours of drive illuminator of described color, comprising:
Described electric signal is quantified as pulse value;
According to the pulse value of described electric signal, match the color corresponding with described light signal, and generation is luminous at the described illuminator of drive of the color of described correspondence.
In one embodiment of the invention, described light signal comprises the brightness value of reflection ambient light power;
Describedly convert light signal to electric signal, specifically comprise: the size according to the brightness value of described light signal converts the pulse height electric signal relevant with described brightness value size to;
Described described electric signal is quantified as pulse value, specifically comprises: described electric signal is carried out analog to digital conversion, quantize to obtain the pulse value of described electric signal;
Described pulse value according to described electric signal matches the color corresponding with described light signal, comprising: according to the pulse value of described electric signal, match corresponding color code from default scheme of colour.
In one embodiment of the invention, described method also comprises: the color temperature value that utilizes colour temperature inductor induction portable terminal ambient light;
At described pulse value according to described electric signal, match after the color corresponding with described light signal, also comprise:
Adjust the color that described pulse value matches according to described color temperature value, the described illuminator of drive that produces the color after adjusting is luminous.
Portable terminal provided by the invention and color of shell control method thereof; utilize the light signal of optical inductor induction surrounding environment; realize the automatic conversion of the color of shell of portable terminal such as mobile phone according to the power of surrounding environment light; solve the problem of existing color of shell simplification; have better flexibility and effect attractive in appearance, protection user's eyesight.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The portable terminal that the embodiment of the invention provides and color of shell control method thereof, be applicable to the electronic installation to the coloured color demand of shell, described portable terminal includes but not limited to mobile phone and personal computer assistant PDA, panel computer PAD, electronic installations such as audio player MP3, video player MP4.
Embodiment one
Fig. 1 is the structural representation of the portable terminal that provides of present embodiment, and as shown in Figure 1, this portable terminal comprises: optical inductor 10, receive inductor 20, processor 30 and illuminator 40.
Optical inductor 10 is used for the light signal around the induction portable terminal, and with described optical signal transmission to receiving inductor 20.
Optical inductor 10 comprises light projector and light-receiving device, and light projector is used for the light around the induction portable terminal, and the lens that transfer to light-receiving device after the lens focusing of described light by light projector are formed described light signal.
Optical inductor 10 is positioned at portable terminal front or the back side, and the shell of optical inductor 10 position correspondences is transparent outer cover, with the light around the induction.As shown in Figure 2, this optical inductor 10 is positioned at the top of mobile phone screen, and is similar with the position of the preposition camera 50 of mobile phone.
Receive inductor 20 and be connected with optical inductor 10, be used for converting the light signal of optical inductor 10 transmission to electric signal, and described electric signal is transferred to processor 30.
Processor 30 with receive inductor 20 and be connected, the drive illuminator 40 that produces corresponding different colours according to described electric signal sends the light of different colours, presents different colors with the shell of control portable terminal.Preferably, processor 30 quantizes to receive the electric signal of inductor 20 transmission, obtains the pulse value of electric signal, and matches corresponding color according to pulse value, the drive illuminator 40 of color that produces described correspondence is luminous, in order to control the color of shell of portable terminal; Preferably, 30 pairs of electric signal of processor quantize, and match corresponding color according to the pulse value of electric signal, and the drive illuminator 40 that produces corresponding color is luminous.
Particularly, processor 30 comprises A/D change-over circuit 301, match circuit 302 and driving circuit 303.A/D change-over circuit 301 is connected with reception inductor 20, and the electric signal that 301 pairs of A/D change-over circuits receive inductor 20 transmission carries out analog to digital conversion, quantizes to obtain the pulse value of electric signal.Match circuit 302 is connected with A/D change-over circuit 301, and the pulse value that match circuit 302 obtains according to A/D change-over circuit 301 matches corresponding color code from default scheme of colour.Driving circuit 303 is connected with match circuit 302, and driving circuit 303 produces the driving signal of the color code corresponding color of match circuit coupling, and it is luminous to drive illuminator 40.Default scheme of colour includes but not limited to store by the mode of CLUT, for example, when pulse value is in first scope interval, adopts redness, and the corresponding color code is 1; When pulse value is in second scope interval, adopt blueness, the corresponding color code is 2, the rest may be inferred, determines the corresponding relation of pulse value and color code by CLUT.
The shell that portable terminal can adopt printing opacity or semi transparent material to make presents corresponding color when illuminator 40 is luminous, illuminator 40 comprises the LED lamp of a plurality of different colours or is multi-colored led lamp.Illuminator 40 is positioned at the mobile terminal screen periphery, and the zone corresponding with shell, and as shown in Figure 2, when the LED of different colours lamp or multi-colored led lamp were luminous, the shell of printing opacity or semi transparent material presented corresponding different colors.
In addition, under the condition that illuminators such as LED allow, can also increase each change in color grade, according to the intensity refinement selection corresponding color in various degree of light, light intensity is more low, and the color of shell is more shallow, as light yellow; Light intensity is more high, and the color of phone housing is more dark, as mazarine, etc.
The portable terminal that the embodiment of the invention provides can arrange the change color of portable terminal according to the variation of ambient light intensity, and is luminous by the LED lamp of control corresponding color, makes shell can present different colors.
Embodiment two
Fig. 3 is the structural representation of the portable terminal that provides of present embodiment, as shown in Figure 3, similar among this portable terminal and the embodiment one, difference is, also comprises: the colour temperature inductor 60 that is connected with processor 30.
Colour temperature inductor 60 is used for the color temperature value of induction portable terminal ambient light, and color temperature value is transferred to processor 30.Processor 30 also is used for adjusting the color that pulse value matches according to the color temperature value of colour temperature inductor 60 inductions, and the drive illuminator 40 that produces the color after adjusting is luminous.That is to say that processor 30 matches corresponding color according to the color temperature value of colour temperature inductor 60 inductions and the pulse value combination after the quantification, it is luminous to produce corresponding drive illuminator 40, in order to control the color of shell of portable terminal.
Colour temperature inductor 60 is specially color sensitive sensor, adopts silicon binode type colour sensitive element to measure colour temperature.
The portable terminal that the embodiment of the invention provides can change the color of portable terminal according to ambient light intensity and colour temperature, makes shell can present different colors, strengthens user attractive in appearance and experiences.
Embodiment three
Fig. 4 is the process flow diagram of the color of shell control method that provides of present embodiment, and as shown in Figure 4, this method comprises:
S101, utilize the light signal around the optical inductor 10 induction portable terminals.
Optical inductor comprises light projector and light-receiving device, and light projector is used for the light around the induction portable terminal, and the lens that transfer to light-receiving device after the lens focusing of described light by light projector are formed described light signal.
S102, convert described light signal to electric signal.
Light signal comprises the brightness value of reflection ambient light power, and the size according to the brightness value of described light signal converts pulse height and the big or small relevant electric signal of described brightness value to.
S103, the drive illuminator 40 that produces corresponding different colours according to described electric signal send the light of different colours.
Particularly, S103 can comprise:
S1031, described electric signal is quantified as pulse value.
Described electric signal is carried out analog to digital conversion, quantize to obtain the pulse value of described electric signal.
S1032, according to the pulse value of described electric signal, match the color corresponding with described light signal.
According to the pulse value of described electric signal, from default scheme of colour, match corresponding color code.Default scheme of colour can but be not limited to store by the mode of CLUT, for example, when pulse value is in first scope when interval, adopt redly, the corresponding color code is 1; When pulse value is in second scope interval, adopt blueness, the corresponding color code is 2, the rest may be inferred, determines the corresponding relation of pulse value and color code by CLUT.
The drive illuminator 40 of the color of S1032, the described correspondence of generation sends the light of different colours, with the color of shell of control portable terminal.
The shell that portable terminal adopts printing opacity or semi transparent material to make presents corresponding color when illuminator is luminous.
Illuminator 40 comprises the LED lamp of a plurality of different colours or is multi-colored led lamp, is positioned at the portable terminal inner screen periphery zone corresponding with described shell.The shell of printing opacity or semi transparent material presents corresponding different colors when the LED of different colours lamp or multi-colored led lamp are luminous.
By color of shell control method of the present invention, the change color of portable terminal can be set according to the variation of ambient light intensity, luminous by the LED lamp of control corresponding color, make shell can present different colors.
Optionally, described method also comprises: the color temperature value that utilizes colour temperature inductor 60 induction portable terminal ambient lights.
Then after S1032, also comprise: adjust the color that described pulse value matches according to described color temperature value, it is luminous that S1033 then produces the drive illuminator 40 of the color after the adjustment.
Utilize ambient light intensity and colour temperature to change the color of portable terminal, make shell can present different colors, strengthen user attractive in appearance and experience.
Portable terminal provided by the invention and color of shell control method thereof; can realize the automatic conversion of mobile terminal case color according to the power of ambient light; solve the problem of existing color of shell simplification; have better flexibility and effect attractive in appearance; improve user's visual fatigue, protection user's eyesight.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.