Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, 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, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
The present embodiment provides a kind of input method of terminal, and it is applicable to can based on the terminal of air-flow input.Particularly, this terminal screen has sensor or sensor film, to obtain air flow information, and generate corresponding input command according to air flow information.It is pointed out that this terminal is not limited to air-flow input, touch input pattern of the prior art or key-press input pattern can also be adopted, specifically can be switched between various input pattern by software switch or hardware switch.
As shown in Figure 1, be the schematic flow sheet of the input method of the terminal according to the present embodiment.Particularly, the input method of this terminal comprises:
Step 101, obtains the air flow information on terminal screen.
Air flow information can comprise a variety of, such as, in the atmospheric pressure value of inputted air-flow, the duration of air-flow, air-flow input position, air-flow input direction one or more, certainly can also comprise other air flow information, not repeat them here.Concrete obtain manner can be:
Obtain stream pressure value, gas flow duration, air-flow input position and/or the air-flow input direction on the terminal screen of pressure transducer detection; Or
Obtain stream pressure value, gas flow duration, air-flow input position and/or the air-flow input direction on the terminal screen of sensor film detection; Or
Obtain gas flow duration, air-flow input position and/or the air-flow input direction on the terminal screen of humidity sensor detection.
Step 102, mates air flow information with default air flow information, and generates input instruction according to comparative result.
After getting air flow information, air flow information is mated with default air flow information, then generate according to matching result and input instruction accordingly.Particularly, when the air flow information obtained comprises multiple, each air flow information is mated with respective default air flow information respectively, and input instruction accordingly according to matching result generation.
Particularly, this step comprises:
Stream pressure value is mated with the air flow value threshold value in predetermined threshold value, when the match is successful, generates the one in power-on command, shutdown command, select command, switching command, screen locking order, volume adjustment command; And/or
Gas flow duration is mated with the air-flow duration threshold in predetermined threshold value, when the match is successful, generates the one in power-on command, shutdown command, select command, switching command, screen locking order, volume adjustment command.
Certainly can also mate according to the input direction of the input position of air-flow and air-flow, specifically repeat no more.
According to the input method of the terminal of the present embodiment, terminal operation is carried out by air-flow input pattern, because this air-flow can be send from the mouth of terminal user, like this, terminal user just can be made to break away from the constraint of both hands, realize, to the input of terminal, greatly facilitating terminal user by blowing.
Embodiment two
The present embodiment is the instantiation of the input method of the terminal of embodiment one.
As shown in Figure 2, be the schematic flow sheet of the input method of the terminal according to the present embodiment.
Step 201, starts the air-flow input pattern of terminal.
Starting mode is specifically as follows the hardware button or software push buttons that adopt and terminal is arranged to start air-flow input pattern.Like this, only just generate input instruction for air flow information when air-flow input pattern starts, the situation of erroneous input can be prevented.
Step 202, has judged whether that air-flow inputs, and when having judged that air-flow inputs, performs the operation of the air flow information obtained on terminal screen.
Judge whether that the mode that air-flow inputs has a variety of.Such as, by whether pressure transducer sense terminals screen has the pressure suffered by certain to locate different from other.When the test results is yes, directly can judge that terminal screen certain has air-flow to input.Alternatively, the duration that this air-flow inputs can also be judged further, when the duration of air-flow input arrives the time threshold preset, judge that this place of screen has air-flow to input, maloperation can be avoided further like this.
Whether certainly can also be detected by the humidity sensor on sensor film that terminal screen adheres to or terminal screen has air-flow to input.This sensor film can be the trickle medium of water white transparency, can experience trickle air-flow.Particularly, air-flow input can drive the trickle medium immediate movement of this water white transparency, the trickle medium of this water white transparency can playback fast, like this, by the movement of the trickle medium of this water white transparency, stream pressure value, gas flow duration, air-flow input position and/or air-flow input direction can be known.The trickle medium of this water white transparency is specifically as follows metal film (i.e. hotting mask), and material can be platinum or nickel, and the thickness of this metal film is only 5 ~ 10 nanometers.The principle of work of this metal film is, when terminal screen there being air-flow input, the change of stream condition can cause the heat trnasfer between this metal film and moving gaseouse medium to change, thus the voltage at metal film two ends is changed, the value of the speed of inputted air-flow, temperature or density can be recorded thus.In addition, can arrange heated filament with induction air flow around terminal screen, its principle of work is similar to metal film, material can be platinum or tungsten, or the platinum-rhodium alloy of rhodium-containing, and the latter is the Wollaston silk of contracted payment, the diameter of this heated filament is only 1 ~ 5 micron, and length is only 0.5 ~ 1 millimeter.
Step 203, obtains the air flow information on terminal screen.
When judging terminal screen has air-flow input, obtain the air flow information of terminal screen, this air flow information can the mode described by embodiment one obtain, and does not repeat them here.
Step 204, mates air flow information with default air flow information, and generates input instruction according to matching result.
Such as, when there being incoming call, default air flow information is for receiving calls when on terminal screen, en has air-flow to input, and is that refusal is answered when under terminal screen, en has air-flow to input, now can according to the matching result of the air flow information and the presupposed information that obtain, execution operates accordingly.Can also be, for receiving calls when presetting air flow information for inputting air-flow more than 3 seconds to terminal screen, be that refusal receives calls when being less than 1 second to terminal screen input air-flow, now can judge that terminal user receives calls or refuses to answer according to the gas flow duration in the air flow information obtained.
Again such as, in gaming, air-flow can be utilized to input needing the object controlled to select.Such as, object shown on terminal screen has multiple, when default air flow information can be greater than other position for the stream pressure value received when the terminal screen place at certain object place, judges that this place's object is selected.Now, can mate with default air flow information according to the stream pressure value of reality input, and generate corresponding control command according to matching result, perform corresponding operation with control terminal.
According to the input method of the terminal of the present embodiment, carry out terminal operation by air-flow input pattern, terminal user can be made to break away from the constraint of both hands, be very easy to terminal user.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Embodiment three
The present embodiment provides a kind of input media of terminal, for performing the method for the terminal input of above-described embodiment.The present embodiment is described in the terminal so that the input media of this terminal is integrated.
As shown in Figure 3, be the input device structure schematic diagram of the terminal according to the present embodiment.The input media 300 of this terminal comprises acquiring unit 301 and generation unit 302.
Wherein, acquiring unit 301 is for obtaining the air flow information on terminal screen; Generation unit 302 is connected with acquiring unit 301, for being mated with default air flow information by air flow information, and generates input instruction according to matching result.
More specifically, acquiring unit 301 specifically for:
Obtain stream pressure value, gas flow duration, air-flow input position and/or the air-flow input direction on the terminal screen of pressure transducer detection; Or
Obtain stream pressure value, gas flow duration, air-flow input position and/or the air-flow input direction on the terminal screen of sensor film detection; Or
Obtain gas flow duration, air-flow input position and/or the air-flow input direction on the terminal screen of humidity sensor detection.
Generation unit 302 specifically for
Stream pressure value is mated with the air flow value threshold value in predetermined threshold value, when the match is successful, generates the one in power-on command, shutdown command, select command, switching command, screen locking order, volume adjustment command; And/or
Gas flow duration is mated with the air-flow duration threshold in predetermined threshold value, when the match is successful, generates the one in power-on command, shutdown command, select command, switching command, screen locking order, volume adjustment command.
Alternatively, the input media 300 of the terminal of the present embodiment also comprises judging unit 303, and this judging unit 303 is connected with acquiring unit 301, for having judged whether that air-flow inputs, when having judged that air-flow inputs, triggers acquiring unit 301.
Can imagine, the input media 300 of this terminal also comprises switch element 304, and this switch element 304 for opening air-flow input pattern, and triggers the operation of judging unit 303.
The concrete operations of the input media 300 of the terminal of the present embodiment are consistent with above-described embodiment, do not repeat them here.
According to the input media 300 of the terminal of the present embodiment, terminal operation is carried out by air-flow input pattern, because this air-flow can be send from the mouth of terminal user, like this, terminal user just can be made to break away from the constraint of both hands, realize, to the input of terminal, greatly facilitating terminal user by blowing.
The present invention also provides a kind of terminal, and this terminal comprises the input media of processor and the terminal described by embodiment three, and this processor specifically can be used for the input instruction of the input media of processing terminal.Such as, when terminal input instruction according to the matching result of air flow information and default air flow information generate receive calls instruction time, processor triggers the execution of the operation that receives calls.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.