Summary of the invention
The technical problem to be solved in the present invention is, must contact with mobile terminal for prior art above-mentioned could operating mobile terminal, use inconvenient defect, provides a kind of user without contact energy operating mobile terminal just, easy to use infrared lamp gesture and mutual method and the device of mobile terminal of passing through with mobile terminal.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind ofly by the mutual method of infrared lamp gesture and mobile terminal, be provided with the infrared lamps of organizing more in described mobile terminal; Described method comprises the steps:
A) gather the numbering of each infrared lamp and corresponding signal strength data;
B) judge successively whether every group of infrared lamp is blocked, and judge whether the signal intensity of the infrared lamp being blocked meets setting requirement, in this way, execution step C); Otherwise, return to steps A);
C) numbering of the current infrared lamp being blocked, signal intensity and current time are recorded, and started timer and start to enter gesture identification state;
D) judge and in setting-up time, whether have other infrared lamps to be blocked, in this way, find its corresponding gesture and make described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.
Of the present invention by infrared lamp gesture and the mutual method of mobile terminal in, described step D) further comprise:
D1) judge and in setting-up time, whether have other infrared lamps to be blocked, in this way, execution step D2); Otherwise, exit gesture identification;
D2) determine the number of the infrared lamp that described timer is blocked in described setting-up time;
D3) find corresponding gesture and make described mobile terminal carry out corresponding operation.
Of the present invention by infrared lamp gesture and the mutual method of mobile terminal in, described step D2) further comprise:
Whether the number that D21) judges the infrared lamp that described timer is blocked in described setting-up time is one group; In this way, execution step D22); Otherwise, execution step D24);
Whether what D22) judgement was blocked is adjacent infrared lamp, in this way, and execution step D23); Otherwise, exit gesture identification;
D23) described timer restarts timing, and judges before timer expired, whether to also have other one group of infrared lamp to be blocked, in this way, and execution step D25); Otherwise, find its corresponding gesture and make described mobile terminal carry out corresponding operation;
Whether the number that D24) judges the infrared lamp that described timer is blocked in described setting-up time is two groups, in this way, and execution step D25); Otherwise, execution step D26);
D25) judge whether described two groups of infrared lamps are two groups of adjacent infrared lamps, in this way, find its corresponding gesture and make described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification;
Whether the number that D26) judges the infrared lamp that described timer is blocked in described setting-up time is three groups, in this way, finds its corresponding gesture and makes described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.
Of the present invention by infrared lamp gesture and the mutual method of mobile terminal in, at described step C) also comprise afterwards:
D ') whether the signal intensity of the infrared lamp that is blocked changes described in judgement, and in this way, find corresponding gesture according to its change in signal strength rule, and make described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.
In the method mutual by infrared lamp gesture and mobile terminal of the present invention, described each organize that infrared lamp comprises infrared discharge lamps for launching Infrared and for receiving the infrared receiving light of the Infrared that is launched.
The invention still further relates to and a kind ofly realize above-mentionedly by the device of the mutual method of infrared lamp gesture and mobile terminal, in described mobile terminal, be provided with the infrared lamps of organizing more; Described device comprises:
Collecting unit: for gathering numbering and the corresponding signal strength data of each infrared lamp;
Judging unit: for judging successively whether every group of infrared lamp is blocked, and judge whether the signal intensity of the infrared lamp being blocked meets setting requirement;
Record cell: for the numbering of the current infrared lamp being blocked, signal intensity and current time are recorded, and start timer and start to enter gesture identification state;
Shadowing unit: whether have other infrared lamps to be blocked in setting-up time for judging, in this way, find its corresponding gesture and make described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.
Realize in the above-mentioned device by infrared lamp gesture and the mutual method of mobile terminal of the present invention, described shadowing unit further comprises:
Shadowing module: whether have other infrared lamps to be blocked in setting-up time for judging, and exit gesture identification in the time not having other infrared lamps to be blocked;
Block number judge module: the number of the infrared lamp being blocked for definite described timer in described setting-up time;
Execution module: for finding corresponding gesture and making described mobile terminal carry out corresponding operation.
Realize in the above-mentioned device by infrared lamp gesture and the mutual method of mobile terminal of the present invention, described in block number judge module and further comprise:
The first shadowing module: whether be one group for the number that judges the infrared lamp that described timer is blocked in described setting-up time;
The first adjacent shadowing module: for judging whether what be blocked is adjacent infrared lamp, and exit gesture identification when non-conterminous;
Timing shadowing module: for making described timer restart timing, and judge before timer expired, whether to also have other one group of infrared lamp to be blocked, and in the time not having other one group of infrared lamp to be blocked, find its corresponding gesture and make described mobile terminal carry out corresponding operation;
The second shadowing module: whether be two groups for the number that judges the infrared lamp that described timer is blocked in described setting-up time;
The second adjacent shadowing module: for judging whether described two groups of infrared lamps are two groups of adjacent infrared lamps, in this way, find its corresponding gesture and make described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification;
The 3rd shadowing module: whether be three groups for the number that judges the infrared lamp that described timer is blocked in described setting-up time, in this way, find its corresponding gesture and make described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.
Realize in the above-mentioned device by infrared lamp gesture and the mutual method of mobile terminal of the present invention, described device also comprises:
Signal judging unit: whether the signal intensity for the infrared lamp that is blocked described in judging changes, and in this way, finds corresponding gesture according to its change in signal strength rule, and makes described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.
Of the present invention realize above-mentioned by infrared lamp gesture and mobile terminal in the device of mutual method, described each organize that infrared lamp comprises infrared discharge lamps for launching Infrared and for receiving the infrared receiving light of the Infrared that is launched.
Implement of the present invention by infrared lamp gesture and mutual method and the device of mobile terminal, there is following beneficial effect: owing to being blocked when infrared lamp and its signal intensity meets and sets while requiring, the numbering of the current infrared lamp being blocked, signal intensity and current time are recorded, and started timer and start to enter gesture identification state; If there are other infrared lamps to be blocked in setting-up time, find its corresponding gesture and make mobile terminal carry out corresponding operation, so only need just can operate mobile terminal by gesture, and without contacting with mobile terminal, so its user just can operating mobile terminal, easy to use without contacting with mobile terminal.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In the present invention's method mutual by infrared lamp gesture and mobile terminal and device embodiment, its process flow diagram that passes through infrared lamp gesture and the mutual method of mobile terminal as shown in Figure 1.In mobile terminal, be provided with many group infrared lamps, mobile terminal can be smart mobile phone, panel computer etc.In the present embodiment, what mobile terminal was selected is smart mobile phone.In the present embodiment, in mobile terminal front, (with screen vertical direction) arranges four groups of infrared lamps, be placed on respectively the upper left corner, the upper right corner, the lower right corner and the lower left corner of screen, ask for an interview Fig. 6, in Fig. 6,1 is first group of infrared lamp, and 2 is second group of infrared lamp, 3 is the 3rd group of infrared lamp, and 4 is the 5th group of infrared lamp.Control switch and the infrared signal intensity etc. of infrared lamp by special chip.Each group infrared lamp comprises infrared discharge lamps and infrared receiving light, and wherein, infrared discharge lamps is used for launching Infrared, and infrared receiving light is for receiving the Infrared that is launched.Infrared discharge lamps is launched infrared light vertically upward, when running into while blocking object, can reflect, and infrared receiving light just can be received Infrared.In the time blocking infrared lamp with hand successively with a definite sequence, will produce corresponding gesture.Can pre-define the concrete function of various gestures: as page turning, release etc.Fig. 8 to Figure 14 is the wherein eight kinds of gestures in predefined gesture.
In the present embodiment, above-mentionedly comprise the steps: by infrared lamp gesture and the mutual method of mobile terminal
Step S01 gathers numbering and the corresponding signal strength data of each infrared lamp: in this step, the numbering (being infrared lamp ID) and the corresponding signal strength data that gather each infrared lamp, the signal strength data here refers to the intensity data of the infrared light that in each group of infrared lamp, infrared receiving light receives.
Step S02 judges whether every group of infrared lamp is blocked successively, and whether the signal intensity that judges the infrared lamp being blocked meets setting requirement: in this step, according to the original infrared lamp ID data and the signal strength data that gather, judgement is which infrared lamp is blocked, whether its signal intensity meets setting requirement, if the result judging is yes, perform step S03; Otherwise, return to step S01.
Step S03 records the numbering of the current infrared lamp being blocked, signal intensity and current time, and start timer and start to enter gesture identification state: if the judged result of above-mentioned steps S02 is yes, the signal intensity of the infrared lamp being blocked meets setting requirement, carries out this step.In this step, the numbering of the current infrared lamp being blocked (infrared lamp ID), signal intensity and current time are recorded, and started timer and start to enter gesture identification state.
Whether step S04 judges has other infrared lamps to be blocked in setting-up time: in this step, judge and in setting-up time, whether have other infrared lamps to be blocked, namely judge and before timer expired, whether have other infrared lamps to be blocked, if the result judging is yes, to perform step S06; Otherwise, execution step S05.
Step S05 exits gesture identification: if the judged result of above-mentioned steps S04 is no, carry out this step.In this step, exit gesture identification.
Step S06 finds its corresponding gesture and makes mobile terminal carry out corresponding operation: if the judged result of above-mentioned steps S04 is yes, carry out this step.In this step, the rule of blocking according to infrared lamp, finds its corresponding gesture and makes mobile terminal carry out corresponding operation.So only need just can operate mobile terminal by gesture, and without contacting with mobile terminal, so its user just can operating mobile terminal, easy to use without contacting with mobile terminal.
For the present embodiment, also further refinement of above-mentioned steps S04-step S06, the process flow diagram after its refinement is as shown in Figure 2.In Fig. 2, above-mentioned steps S04-step S06 further comprises:
Whether step S41 judges has other infrared lamps to be blocked in setting-up time: in this step, judge and in setting-up time, whether have other infrared lamps to be blocked, namely from timer starts timing, judge and in setting-up time, whether have other infrared lamps to be blocked, if the result judging is yes, perform step S06; Otherwise, execution step S05.
Step S42 determines the number of the infrared lamp that timer is blocked in setting-up time: if the judged result of above-mentioned steps S41 is yes, carry out this step.In this step, determine the number of the infrared lamp that timer is blocked in setting-up time, namely determine that the infrared lamp that timer is blocked in setting-up time has several groups.The group of the infrared lamp being blocked is counted difference, and the order of blocking is different, and its corresponding gesture is also different, can make like this mobile terminal carry out different operations, for example: receive calls, open address list, open music etc.Increase like this convenience using.
For the present embodiment, above-mentioned steps S42 is further refinement also, and the process flow diagram after its refinement as shown in Figure 3.In Fig. 3, above-mentioned steps S42 further comprises:
Step S421 judges whether the number of the infrared lamp that timer is blocked in setting-up time is one group: in this step, judge whether the number of the infrared lamp that timer is blocked in setting-up time is one group, if the result judging is yes, perform step S422; Otherwise, execution step S425.
Step S422 judges whether what be blocked is adjacent infrared lamp: if the judged result of above-mentioned steps S421 is yes, carry out this step.In this step, whether what judgement was blocked is adjacent infrared lamp, if the result judging is yes, performs step S423; Otherwise, execution step S05.
Step S423 timer restarts timing, and judges before timer expired, whether to also have other one group of infrared lamp to be blocked: if the judged result of above-mentioned steps S422 is yes, carry out this step.In this step, timer restarts timing, and judges before timer expired, whether to also have other one group of infrared lamp to be blocked, if the result judging is yes, to perform step S424; If the result judging is no, timer expired does not also have other gesture lamps to be blocked, and starting resolution is which kind of gesture in Fig. 7 and Fig. 8, and can distinguish according to the numbering of infrared lamp is the gesture of Fig. 7 again, or the gesture of Fig. 8, then performs step S06.
Step S424 judges whether above-mentioned two groups of infrared lamps are two groups of adjacent infrared lamps: if the judged result of above-mentioned steps S423 is yes, carry out this step.In this step, judge that whether above-mentioned two groups of infrared lamps are two groups of adjacent infrared lamps, if the result judging is yes, perform step S06; Otherwise, execution step S05.This step for be (not to be simultaneously absolute here time, its time point can not overlap) situation of blocking two groups of adjacent infrared lamps, when block after two groups of adjacent infrared lamps simultaneously, if block again other two groups of adjacent infrared lamps in setting-up time, starting resolution is which kind of gesture in Fig. 9 and Figure 10, then performs step S06.If what block is not two groups of adjacent infrared lamps simultaneously, perform step S05 in setting-up time.
Step S425 judges whether the number of the infrared lamp that timer is blocked in setting-up time is two groups: if the judged result of above-mentioned steps S421 is no, carry out this step.In this step, judge whether the number of the infrared lamp that timer is blocked in setting-up time is two groups, if the result judging is yes, return to step S424; Otherwise, execution step S426.
Step S426 judges whether the number of the infrared lamp that timer is blocked in setting-up time is three groups: if the judged result of above-mentioned steps S425 is no, carry out this step.In this step, judge whether the number of the infrared lamp that timer is blocked in setting-up time is three groups, if the result judging is yes, judgement belongs to which kind of gesture in Figure 11 and Figure 12.If first infrared lamp being blocked be numbered 4, be gesture in Figure 11, otherwise be the gesture in Figure 12, then perform step S06; Otherwise, execution step S05.
Due to the variation along with shelter and infrared lamp distance, also respective change of the signal intensity of infrared lamp, under the certain situation of the present embodiment, can also customize various gestures according to signal intensity, for example: in the time blocking object and infrared lamp distant, the signal of infrared lamp a little less than, black round dot is less as shown in figure 13, in the time blocking the close together of object and infrared lamp, the signal of infrared lamp is stronger, and black round dot is larger as shown in figure 14.In addition, the variation of infrared lamp signal intensity can also be set as to a gesture, this gesture can a corresponding function, for example " open address list ", " receiving calls ", " calling ", the variation of the variation of infrared lamp signal intensity and infrared lamp numbering can certainly be set as to a gesture, the function that this gesture also can be corresponding.For example: if set gesture with the variation of the signal intensity of the infrared lamp being blocked,, after execution of step S03, then carry out following step:
Whether the signal intensity of the infrared lamp that judgement is blocked changes, and in this way, finds corresponding gesture according to its change in signal strength rule, and makes mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.In the present embodiment, the method to set up of its gesture is varied, and its use is comparatively flexible.
The present embodiment also relates to a kind ofly to be realized above-mentionedly by the device of infrared lamp gesture and the mutual method of mobile terminal, and its structural representation as shown in Figure 4.In the present embodiment, be provided with many group infrared lamps in mobile terminal, each group infrared lamp comprises infrared discharge lamps and infrared receiving light, and wherein, infrared discharge lamps is used for launching Infrared, and infrared receiving light is for receiving the Infrared that is launched.In Fig. 4, this device comprises collecting unit 1, judging unit 2, record cell 3 and shadowing unit 4; Wherein, collecting unit 1 is for gathering numbering and the corresponding signal strength data of each infrared lamp; Judging unit 2 is for judging successively whether every group of infrared lamp is blocked, and whether the signal intensity of the infrared lamp that is blocked of judgement meets setting requirement; Record cell 3 is for the numbering of the current infrared lamp being blocked, signal intensity and current time are recorded, and starts timer and start to enter gesture identification state; Whether shadowing unit 4 has other infrared lamps to be blocked for judging in setting-up time, in this way, finds its corresponding gesture and makes described mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.So only need just can operate mobile terminal by gesture, and without contacting with mobile terminal, so its user just can operating mobile terminal, easy to use without contacting with mobile terminal.
In the present embodiment, shadowing unit 4 further comprises shadowing module 41, blocks number judge module 42 and execution module 43; Wherein, whether shadowing module 41 has other infrared lamps to be blocked for judging in setting-up time, and exits gesture identification in the time not having other infrared lamps to be blocked; Block number judge module 42 for determine the number of the infrared lamp that is blocked of timer in setting-up time; Execution module 43 is for finding corresponding gesture and making mobile terminal carry out corresponding operation.
Fig. 5 is the concrete structure schematic diagram that blocks number judge module in the present embodiment.In Fig. 5, block number judge module 42 and further comprise the first shadowing module 421, the first adjacent shadowing module 422, timing shadowing module 423, the second shadowing module 424, the second adjacent shadowing module 425 and the 3rd shadowing module 426; Wherein, whether the first shadowing module 421 is one group for the number of the infrared lamp that judges timer and be blocked in setting-up time; The first adjacent shadowing module 422 is for judging whether what be blocked is adjacent infrared lamp, and when non-conterminous, exits gesture identification; Timing shadowing module 423 is for making timer restart timing, and judge before timer expired, whether to also have other one group of infrared lamp to be blocked, and in the time not having other one group of infrared lamp to be blocked, find its corresponding gesture and make mobile terminal carry out corresponding operation; Whether the second shadowing module 424 is two groups for the number of the infrared lamp that judges timer and be blocked in setting-up time; The second adjacent shadowing module 425, for judging whether two groups of infrared lamps are two groups of adjacent infrared lamps, in this way, finds its corresponding gesture and makes mobile terminal carry out corresponding operation; Otherwise, exit gesture identification; Whether the 3rd shadowing module 426 is three groups for the number of the infrared lamp that judges timer and be blocked in setting-up time, in this way, finds its corresponding gesture and makes mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.
Under the certain situation of the present embodiment, in order to increase the dirigibility of use, can also customize various gestures according to signal intensity, like this, this device also comprises signal judging unit (not shown), and signal judging unit is for judging whether the signal intensity of the infrared lamp being blocked changes, in this way, find corresponding gesture according to its change in signal strength rule, and make mobile terminal carry out corresponding operation; Otherwise, exit gesture identification.
In a word, in the present embodiment, by by four groups of infrared lamp layouts on four angles of mobile terminal, control switch and the infrared signal intensity etc. of infrared lamp by special chip.Then these information are converted to concrete data, and find corresponding gesture according to these data, thereby control the operation of mobile terminal.This contactless mode of operation (being infrared lamp gesture operation) can meet some conventional contactless interaction demands, strengthens user's experience simultaneously.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.