Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
It is exemplary to scheme the embodiment of description, is only used for explaining the present invention, and is not considered as limiting the invention.Conversely, this
Inventive embodiment includes all changes fallen into the range of the spiritual and intension of attached claims, modification and is equal to
Thing.
Fig. 1 is the schematic flow sheet of the terminal cover plate glass colour recognition methods that one embodiment of the invention is proposed.
The terminal cover plate glass colour recognition methods is applied in terminal.
Wherein, terminal can be that smart mobile phone, panel computer, personal digital assistant, e-book etc. have various operation systems
The hardware device of system.
, it is necessary to the color that device cover-plate glass on a display screen is pasted in terminal is entered under the application scenes of terminal
Row identification, the color that this is identified can be as the |input paramete of related application in terminal, and related application can be, for example, to end
The application that the performance at end is tested, or other, this is not restricted.
It is possible to further when terminal occurs predeterminable event, triggering performs the terminal cover plate glass colour identification side
Method, wherein, predeterminable event is the event of triggering identification cover-plate glass color, and this is not restricted.
Referring to Fig. 1, the method includes:
S11:The intensity level of detection terminal middle cover glass sheet institute reflection light.
In an embodiment of the present invention, can be before the intensity level of detection terminal middle cover glass sheet institute reflection light, inspection
Whether survey there is predeterminable event, wherein, the predeterminable event is the event of the triggering identification cover-plate glass color, and institute is occurring
When stating predeterminable event, generation identification instruction detects the strong of terminal middle cover glass sheet institute reflection light by the identification instruction triggers
Angle value, is not restricted to this.
Wherein, identification instruction can be previously generated, and identification instruction performs the terminal cover plate glass for triggering terminal
Glass color identification method.
Specifically, identification instruction can be configured to the correlation function in terminal by user and be generated, or, identification refers to
Order is generated when predeterminable event can also occur by terminal, and this is not restricted.
In an embodiment of the present invention, terminal middle cover can be detected by being arranged on the infrared sensor at the cover-plate glass back side
The intensity level of glass sheet institute reflection light, or, it is also possible to by the photodetector in correlation technique, for example, photomultiplier,
The optical signal of pyroelectric detector or photodiode detection cover-plate glass institute reflection light, by the center treatment in terminal
Device (Central Processing Unit, CPU) is analyzed and processed accordingly to the optical signal, obtains the intensity of the light
Value, is not restricted to this.
The intensity of terminal middle cover glass sheet institute reflection light is detected by the infrared sensor for being arranged on the cover-plate glass back side
Value, realizes that simple and cost is relatively low, effective method for improving scope of application.
S12:Intensity level according to light is identified to the color of cover-plate glass.
It is understood that because the color of cover-plate glass is to carry out color treatments by printing-ink, by cover-plate glass
On the display screen of terminal, when terminal is in starting state, the intensity of the cover-plate glass institute reflection light of different colours
Value is different, therefore, it can recognize cover-plate glass color by detecting the intensity level of terminal middle cover glass sheet institute reflection light,
Simplicity is realized, and identification precision is high.
In the present embodiment, by detecting the intensity level of terminal middle cover glass sheet institute reflection light, and according to the intensity of light
Value is identified to the color of cover-plate glass, can realize carrying out the color of cover-plate glass efficient identification, lifts terminal appearance
Expression effect.
Fig. 2 is the schematic flow sheet of the terminal cover plate glass colour recognition methods that another embodiment of the present invention is proposed.
Referring to Fig. 2, the method includes:
S21:Detect whether predeterminable event, wherein, predeterminable event is the event of triggering identification cover-plate glass color, if
It is to perform S23 and its subsequent step, otherwise, performs S22.
Under the application scenes of terminal, the color that this is identified can be as the input ginseng of related application in terminal
Number, related application can be, for example, the application tested the performance of terminal, or other, this is not restricted.
Predeterminable event can be with for example, start the application tested the performance of terminal in the terminal.
In an embodiment of the present invention, by detecting whether terminal occurs predeterminable event, by detection triggers or not
Triggering terminal recognizes cover-plate glass color, and sensitivity is high and practicality for identification.
S22:Any treatment is not made.
In an embodiment of the present invention, when detecting that terminal does not occur predeterminable event, triggering terminal does not recognize cover-plate glass
Color, i.e. do not make any treatment, can save the memory headroom that terminal operating program is consumed.
S23:Generation identification instruction.
In an embodiment of the present invention, when detecting that terminal occurs predeterminable event, triggering terminal identification cover-plate glass color,
Related application obtains accurate color parameter in ensureing terminal, realizes the functional completeness of terminal.
S24:Terminal middle cover glass sheet institute reflection light is detected by the infrared sensor for being arranged on the cover-plate glass back side
Intensity level.
For example, the cover-plate glass of black with white cover-plate glass institute reflection light intensity level it is different, therefore, it can by
The optical signal of infrared sensor detection terminal middle cover glass sheet institute reflection light, and the optical signal is sent into the CPU into terminal,
The optical signal is analyzed and processed accordingly by CPU, is obtained the intensity level of the light, and then the follow-up intensity level according to light
Color to cover-plate glass is identified.
The intensity of terminal middle cover glass sheet institute reflection light is detected by the infrared sensor for being arranged on the cover-plate glass back side
Value, realizes that simple and cost is relatively low, effective method for improving scope of application.
S25:From pre-set color mapping table, color corresponding with the intensity level of light is determined.
Wherein, pre-set color mapping table can pre-build.
The process of setting up of pre-set color mapping table may refer to subsequent embodiment.
Can preserve the intensity level of multiple light in pre-set color mapping table, and the intensity level of each light is corresponding
Color.
S26:Using corresponding color as the color of cover-plate glass, it is identified with to cover-plate glass color.
Determined according to the pre-set color mapping table prestored in terminal by directly corresponding with the intensity level of light
Color, and using corresponding color as the color of cover-plate glass, cover-plate glass colour recognition efficiency and precision has been effectively ensured.
In the present embodiment, by detecting whether terminal occurs predeterminable event, by detection triggers or non-triggering terminal
Identification cover-plate glass color, sensitivity is high and practicality for identification.When detecting that terminal does not occur predeterminable event, not triggering terminal identification
Cover-plate glass color, i.e. do not make any treatment, can save the memory headroom that terminal operating program is consumed.In detection terminal
During generation predeterminable event, triggering terminal identification cover-plate glass color, related application obtains accurate color parameter in ensureing terminal,
Realize the functional completeness of terminal.Detect that terminal middle cover glass sheet institute is anti-by the infrared sensor for being arranged on the cover-plate glass back side
The intensity level of light is penetrated, realizes that simple and cost is relatively low, effective method for improving scope of application.By directly being prestored according in terminal
Pre-set color mapping table determine color corresponding with the intensity level of light, and using corresponding color as cover-plate glass
Color, cover-plate glass colour recognition efficiency and precision has been effectively ensured.By when identification instruction is received, detecting terminal
The intensity level of middle cover glass sheet institute reflection light, and the color of cover-plate glass is identified according to the intensity level of light, can
Realize carrying out the color of cover-plate glass efficient identification, lift terminal appearance expression effect.
Fig. 3 is the schematic flow sheet of the terminal cover plate glass colour recognition methods that another embodiment of the present invention is proposed.
Referring to Fig. 3, in the embodiment shown in fig. 1 before S11, the method includes:
S31:Obtain multiple color, and the corresponding light of each color intensity level.
S32:Intensity level according to multiple color and corresponding light sets up pre-set color mapping table.
In an embodiment of the present invention, can previously according to multiple color, and the corresponding light of each color intensity level
Between one-to-one relationship set up pre-set color mapping table, and the pre-set color mapping table is stored in terminal
In database, subsequently directly determined according to the pre-set color mapping table prestored in terminal corresponding with the intensity level of light
Color, has been effectively ensured cover-plate glass colour recognition efficiency and precision.
In the present embodiment, by obtaining multiple color, and the corresponding light of each color intensity level, according to multiple color
Pre-set color mapping table is set up with the intensity level of corresponding light, cover-plate glass colour recognition efficiency and essence has been effectively ensured
Accuracy.
Fig. 4 is the structural representation of the terminal cover plate glass colour identifying device that one embodiment of the invention is proposed.
Referring to Fig. 4, the terminal cover plate glass colour identifying device 40 includes:First detection module 401 and identification module
402.Wherein,
First detection module 401, the intensity level for detecting terminal middle cover glass sheet institute reflection light.
Alternatively, in some embodiments, first detection module 401 specifically for:
The intensity of terminal middle cover glass sheet institute reflection light is detected by the infrared sensor for being arranged on the cover-plate glass back side
Value.
Identification module 402, is identified for the intensity level according to light to the color of cover-plate glass.
Alternatively, in some embodiments, referring to Fig. 5, identification module 402, including:
Determination sub-module 4021, it is corresponding with the intensity level of light for from pre-set color mapping table, determining
Color.
Identification submodule 4022, for using corresponding color as the color of cover-plate glass, entering with to cover-plate glass color
Row identification.
Alternatively, in some embodiments, referring to Fig. 5, the terminal cover plate glass colour identifying device 40 also includes:
Second detection module 403, for detecting whether there is predeterminable event, wherein, predeterminable event is triggering identification cover plate
The event of glass colour.
Trigger module 404, for when there is predeterminable event, triggering first detection module 401 to detect terminal cover plate glass
The intensity level of glass institute reflection light.
Acquisition module 405, for obtaining multiple color, and the corresponding light of each color intensity level.
Module 406 is set up, for setting up pre-set color corresponding relation according to the intensity level of multiple color and corresponding light
Table.
It should be noted that to terminal cover plate glass colour recognition methods embodiment in earlier figures 1- Fig. 3 embodiments
Explanation is also applied for the terminal cover plate glass colour identifying device 40 of the embodiment, and its realization principle is similar to, herein not
Repeat again.
In the present embodiment, by detecting the intensity level of terminal middle cover glass sheet institute reflection light, and according to the intensity of light
Value is identified to the color of cover-plate glass, can realize carrying out the color of cover-plate glass efficient identification, lifts terminal appearance
Expression effect.
Fig. 6 is the structural representation of the terminal that one embodiment of the invention is proposed.
The terminal can be mobile phone, panel computer etc..
Referring to Fig. 6, the terminal 60 of the present embodiment includes:Housing 601, processor 602, memory 603, circuit board 604, electricity
Source circuit 605, circuit board 604 is placed in the interior volume that housing 601 is surrounded, and processor 602, memory 603 are arranged on circuit
On plate 604;Power circuit 605, for being that each circuit of terminal 60 or device are powered;Memory 603 is used to store executable journey
Sequence code;Wherein, processor 602 is run and executable journey by reading the executable program code stored in memory 603
The corresponding program of sequence code, for performing:
The intensity level of detection terminal middle cover glass sheet institute reflection light;
Intensity level according to light is identified to the color of cover-plate glass.
It should be noted that to terminal cover plate glass colour recognition methods embodiment in earlier figures 1- Fig. 3 embodiments
Explanation is also applied for the terminal 60 of the embodiment, and its realization principle is similar to, and here is omitted.
In the present embodiment, by detecting the intensity level of terminal middle cover glass sheet institute reflection light, and according to the intensity of light
Value is identified to the color of cover-plate glass, can realize carrying out the color of cover-plate glass efficient identification, lifts terminal appearance
Expression effect.
It should be noted that in the description of the invention, term " first ", " second " etc. are only used for describing purpose, without
It is understood that to indicate or implying relative importance.Additionally, in the description of the invention, unless otherwise indicated, the implication of " multiple "
It is two or more.
Any process described otherwise above or method description in flow chart or herein is construed as, and expression includes
It is one or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussion suitable
Sequence, including function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In implementation method, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
The rapid hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, during each functional unit in each embodiment of the invention can be integrated in a processing module, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as
Fruit is to realize in the form of software function module and as independent production marketing or when using, it is also possible to which storage is in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described
Point is contained at least one embodiment of the invention or example.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any
One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changes, replacing and modification.