Summary of the invention
The embodiment of the present invention provides a kind of method for controlling backlight thereof and mobile terminal of input equipment, in order to save the electric weight of mobile terminal, improves the efficiency backlight of input equipment.
The embodiment of the present invention provides a kind of method for controlling backlight thereof of input equipment, comprising:
Mobile terminal obtains the first input signal by the first input equipment;
Described mobile terminal detects the state backlight of the second input equipment, and the state backlight of described the second input equipment comprises opening and closed condition, and described the second input equipment is arranged on described mobile terminal with hardware mode;
If it is opening that described mobile terminal detects the state backlight of described the second input equipment, described mobile terminal is closed the backlight of described the second input equipment.
The embodiment of the present invention also provides a kind of mobile terminal, comprising:
Acquisition module, for obtaining the first input signal by the first input equipment;
Detection module, for detection of the state backlight of the second input equipment, the state backlight of described the second input equipment comprises opening and closed condition, described the second input equipment is arranged on described mobile terminal with hardware mode;
Closing module, if the state backlight that described the second input equipment detected for described detection module is opening, close the backlight of described the second input equipment.
As shown from the above technical solution, when embodiment of the present invention mobile terminal obtains the first input signal by the first input equipment, can detect the state backlight of above-mentioned the second input equipment, if it is opening that mobile terminal detects the state backlight of above-mentioned the second input equipment, above-mentioned mobile terminal can be closed the backlight of above-mentioned the second input equipment, thereby saved the electric weight of mobile terminal, improved the efficiency backlight of the second input equipment.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
It should be noted that: in the embodiment of the present invention, related mobile terminal includes but not limited to mobile phone, personal digital assistant (Personal Digital Assistant is called for short PDA), radio hand-held equipment, wireless Internet access basis, portable computer, MP3 player, MP4 player etc.
The schematic flow sheet of the method for controlling backlight thereof of the input equipment that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, the method for controlling backlight thereof of the input equipment of the present embodiment can comprise the following steps:
Step 101, mobile terminal obtain the first input signal by the first input equipment, above-mentioned the first input equipment is arranged on above-mentioned mobile terminal with software mode, perhaps above-mentioned the first input equipment is hardware device, by wired mode or wireless mode, with above-mentioned mobile terminal, is connected;
Step 102, above-mentioned mobile terminal detect the state backlight of the second input equipment, and the state backlight of above-mentioned the second input equipment comprises opening and closed condition, and above-mentioned the second input equipment is arranged on above-mentioned mobile terminal with hardware mode;
If it is opening that the above-mentioned mobile terminal of step 103 detects the state backlight of above-mentioned the second input equipment, above-mentioned mobile terminal is closed the backlight of above-mentioned the second input equipment.
Wherein, above-mentioned the first input equipment in the present embodiment can include but not limited to dummy keyboard, the wired keyboard be connected by wired mode with above-mentioned mobile terminal arranged with software mode on the touch screen of above-mentioned mobile terminal or the Wireless Keyboard be connected by wired mode with above-mentioned mobile terminal; Above-mentioned the second input equipment can include but not limited to the keyboard that the screen periphery of above-mentioned mobile terminal arranges with hardware mode.
Particularly, the mobile terminal in step 102 specifically can detect the state backlight of above-mentioned the second input equipment in the following way:
Mobile terminal specifically can judge that whether this mobile terminal gets the second input signal by above-mentioned the second input equipment in the schedule time before by the first input equipment, obtaining the first input signal, if so, the state backlight that above-mentioned mobile terminal detects above-mentioned the second input equipment is opening; Otherwise the state backlight of above-mentioned the second input equipment that above-mentioned mobile terminal detects is closed condition;
Wherein, the above-mentioned schedule time is less than the stand-by time backlight of above-mentioned the second input equipment set in advance.
It will be understood by those skilled in the art that: mobile terminal can also utilize the state backlight of direct-detection the second input equipment, and the related content that specifically can detect referring to backlight state in prior art repeats no more herein.
In the present embodiment, when mobile terminal obtains the first input signal by the first input equipment, can detect the state backlight of above-mentioned the second input equipment, if it is opening that mobile terminal detects the state backlight of above-mentioned the second input equipment, above-mentioned mobile terminal can be closed the backlight of above-mentioned the second input equipment, thereby saved the electric weight of mobile terminal, improved the efficiency backlight of the second input equipment.
It should be noted that: for aforesaid each embodiment of the method, for simple description, therefore it all is expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part described in detail in certain embodiment, can be referring to the associated description of other embodiment.
The structural representation of the mobile terminal that Fig. 2 provides for the embodiment of the present invention two, as shown in Figure 2, the mobile terminal of the present embodiment can comprise acquisition module 21, detection module 22 and closing module 23.Wherein, acquisition module 21 is for obtaining the first input signal by the first input equipment, above-mentioned the first input equipment is arranged on above-mentioned mobile terminal with software mode, or above-mentioned the first input equipment is hardware device, by wired mode or wireless mode, with above-mentioned mobile terminal, is connected; Detection module 22 is for detection of the state backlight of above-mentioned the second input equipment, and the state backlight of above-mentioned the second input equipment comprises opening and closed condition, and above-mentioned the second input equipment is arranged on above-mentioned mobile terminal with hardware mode; If the state backlight that closing module 23 detects above-mentioned the second input equipment for above-mentioned detection module 22 is opening, close the backlight of above-mentioned the second input equipment.
Wherein, above-mentioned the first input equipment in the present embodiment can include but not limited to dummy keyboard, the wired keyboard be connected by wired mode with above-mentioned mobile terminal arranged with software mode on the touch screen of above-mentioned mobile terminal or the Wireless Keyboard be connected by wired mode with above-mentioned mobile terminal; Above-mentioned the second input equipment can include but not limited to the keyboard that the screen periphery of above-mentioned mobile terminal arranges with hardware mode.
The mobile terminal that in the invention described above embodiment mono-, the function of mobile terminal can be provided by the embodiment of the present invention is realized.
Particularly, the acquisition module in the present embodiment 21 further can also be for obtaining the second input signal by above-mentioned the second input equipment; Correspondingly, whether above-mentioned detection module 22 specifically can get the second input signal by above-mentioned the second input equipment in the schedule time before by the first input equipment, obtaining the first input signal for judging above-mentioned acquisition module 21, if so, the state backlight that above-mentioned detection module 22 detects above-mentioned the second input equipment is opening; Otherwise the state backlight of above-mentioned the second input equipment that above-mentioned detection module 22 detects is closed condition; Wherein, the above-mentioned schedule time is less than the stand-by time backlight of above-mentioned the second input equipment set in advance.
In the present embodiment, when mobile terminal obtains the first input signal by acquisition module by the first input equipment, can be detected by detection module the state backlight of above-mentioned the second input equipment, if it is opening that detection module detects the state backlight of above-mentioned the second input equipment, closing module can be closed the backlight of above-mentioned the second input equipment, thereby saved the electric weight of mobile terminal, improved the efficiency backlight of the second input equipment.
One of ordinary skill in the art will appreciate that: realize that the hardware that all or part of step of said method embodiment can be relevant by programmed instruction completes, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing aforementioned each embodiment is modified, or part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.