Summary of the invention
The invention provides a kind of method that simulate slides, device and a kind of mobile terminal, similar to touch-screen every empty sliding effect to realize.
A kind of method that first aspect present invention provides simulate to slide, comprising:
The dot matrix that N × N number of infrared sensor is formed is mapped to the touch-screen of M × M pixel, described N and M is the natural number being greater than 1, and described N is not more than described M;
Be captured in the gesture on the screen of described dot matrix infrared sensor formation;
Calculate the described gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of described M × M pixel on the screen that described dot matrix infrared sensor is formed;
Respond the distance d ' slided on the touch-screen of described M × M pixel.
In conjunction with first aspect, in the first possible implementation of first aspect, if described N is much smaller than M, then, before the dot matrix that N × N number of infrared sensor is formed being mapped to the touch-screen of M × M pixel, described method also comprises:
Carry out interpolation processing in the pixel of M × M on touch-screen by mapped N × N number of pixel, make N × N number of pixel become N
1× N
2individual pixel, described N
1=N × x, described N
2=N × y, described x and y is respectively interpolation multiple.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described in be captured in described dot matrix infrared sensor form screen on gesture after, described method also comprises:
By backoff algorithm, process is identification maneuver by mistake.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, described by backoff algorithm, process by mistake identification maneuver comprises:
Judge glide direction when described gesture slides into target location from reference position on the screen that described dot matrix infrared sensor is formed;
If in Preset Time, described gesture is back to described reference position from described target location along the direction contrary with described glide direction, then filter described gesture and be back to the event that described reference position produces from described target location along the direction contrary with described glide direction.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, the described gesture of the described calculating distance d ' that during sliding distance d, correspondence is slided on the touch-screen of described M × M pixel on the screen that described dot matrix infrared sensor is formed, comprising:
The distance of straight line formed according to a row infrared sensor any in any point between reference position to target location to N × N number of infrared sensor and described any point respectively with the distance of described N number of infrared sensor, calculate the distance d that screen that described gesture forms at described dot matrix infrared sensor slides, described target location is the terminal of gesture on the screen that described dot matrix infrared sensor is formed during sliding distance d;
According to formula d '=M × d/D, calculate the distance d ' slided on the touch-screen of described M × M pixel, described D is coverage when any row dot matrix transmits in the dot matrix of N × N number of infrared sensor formation.
The device that second aspect present invention provides a kind of simulate to slide, comprising:
Mapping block, for the dot matrix that N × N number of infrared sensor is formed being mapped to the touch-screen of M × M pixel, described N and M is the natural number being greater than 1, and described N is not more than described M;
Gesture trapping module, the gesture on the screen being captured in described dot matrix infrared sensor formation;
Distance calculation module, for calculating the described gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of described M × M pixel on the screen that described dot matrix infrared sensor is formed;
Respond module, for responding the distance d ' slided on the touch-screen of described M × M pixel.
In conjunction with second aspect, in the first possible implementation of second aspect, described device also comprises:
Interpolating module, if during for described N much smaller than M, mapping block carries out interpolation processing in the pixel of M × M on touch-screen by mapped N × N number of pixel, makes N × N number of pixel become N before the dot matrix that N × N number of infrared sensor is formed is mapped to the touch-screen of M × M pixel
1× N
2individual pixel, described N
1=N × x, described N
2=N × y, described x and y is respectively interpolation multiple.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described device also comprises:
Recognition processing module by mistake, after the gesture on the screen that gesture trapping module is captured in described dot matrix infrared sensor formation, by backoff algorithm, process is identification maneuver by mistake.
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described recognition processing module by mistake comprises:
Glide direction judging unit, for judging glide direction when described gesture slides into target location from reference position on the screen that described dot matrix infrared sensor is formed;
Filter element, if in Preset Time, described gesture is back to described reference position from described target location along the direction contrary with described glide direction, then filter described gesture and be back to the event that described reference position produces from described target location along the direction contrary with described glide direction.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, described distance calculation module comprises:
First computing unit, for the distance of straight line that forms according to a row infrared sensor any in any point between reference position to target location to N × N number of infrared sensor and described any point respectively with the distance of described N number of infrared sensor, calculate the distance d that screen that described gesture forms at described dot matrix infrared sensor slides, described target location is the terminal of gesture on the screen that described dot matrix infrared sensor is formed during sliding distance d;
Second computing unit, for according to formula d '=M × d/D, calculates the distance d ' slided on the touch-screen of described M × M pixel, and described D is coverage when any row dot matrix transmits in the dot matrix of N × N number of infrared sensor formation.
Third aspect present invention provides a kind of mobile terminal, and described mobile terminal comprises the device that above-mentioned simulate is slided.
From the invention described above technical scheme, owing to the dot matrix that N × N number of infrared sensor is formed can be mapped to the touch-screen of M × M pixel, after gesture on the screen being captured in dot matrix infrared sensor formation, calculate the gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of M × M pixel on the screen that dot matrix infrared sensor is formed.Therefore, the screen that technical scheme provided by the invention is formed at dot matrix infrared sensor slides finger, can simulate the toughness message of similar touch-screen, realize being similar to touch-screen every empty sliding function.
Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, 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 only the present invention's part embodiment, and not all 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.
A kind of method that the embodiment of the present invention provides simulate to slide, described method comprises: the touch-screen dot matrix that N × N number of infrared sensor is formed being mapped to M × M pixel, and described N and M is the natural number being greater than 1, and described N is not more than described M; Be captured in the gesture on the screen of described dot matrix infrared sensor formation; Calculate the described gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of described M × M pixel on the screen that described dot matrix infrared sensor is formed; Respond the distance d ' slided on the touch-screen of described M × M pixel.The device that the embodiment of the present invention also provides corresponding simulate to slide and a kind of mobile terminal.Below be described in detail respectively.
Refer to accompanying drawing 1, be the realization flow of the method for the simulate slip that the embodiment of the present invention one provides, its executive agent can be the mobile terminal such as smart mobile phone, panel computer.The method that the simulate of accompanying drawing 1 example is slided mainly comprises the following steps S101 to step S104:
S101, maps to the touch-screen of M × M pixel by the dot matrix that N × N number of infrared sensor is formed.
In embodiments of the present invention, N and M is the natural number being greater than 1, and N is not more than M.The dot matrix that N × N number of infrared sensor is formed is mapped to the touch-screen of M × M pixel, every M pixel is equivalent to be divided into N equal portions, every part of M/N pixel, then, in the dot matrix that N × N number of infrared sensor is formed, M/N pixel of respective column or corresponding line in corresponding M × M the pixel of first infrared sensor of each row or every a line dot matrix, 2M/N pixel of respective column or corresponding line in second corresponding M × M pixel of infrared sensor, M pixel of respective column or corresponding line in corresponding M × M the pixel of N number of infrared sensor.Such as, for the dot matrix that 50 × 50 infrared sensors are formed, the touch-screen of 300 × 300 pixels to be mapped to, be then divided into 50 equal portions by 300, at interval of 6 pixels namely by an infrared sensor correspondence in the dot matrix of 50 × 50 infrared sensors formations.Particularly, 6th pixel of respective column or corresponding line in the 1st infrared sensor correspondence 300 × 300 pixels of each row in the dot matrix of 50 × 50 infrared sensor formations or often a line dot matrix, 12nd pixel of respective column or corresponding line in 2nd infrared sensor correspondence, 300 × 300 pixels,, the 300th pixel of respective column or corresponding line in the 50th infrared sensor correspondence 300 × 300 pixels.It should be noted that, when M/N is not integer, depending on situation M/N is rounded downwards or round up.Once the dot matrix that N × N number of infrared sensor is formed maps to the touch-screen of M × M pixel, continuous print sensor (Sensor) data transformations that then gesture motion can be produced is continuous print motion event (MotionEvent) data, the data that the touch-screen being equivalent to M × M resolution produces.
When N is much smaller than M, after directly the dot matrix that N × N number of infrared sensor is formed being mapped to the touch-screen of M × M pixel, mapped pixel very little, so, final simulation sliding effect is out not smooth, feels it is a card to user, experiences bad.Therefore, in embodiments of the present invention, interpolation processing can be carried out in the pixel of M × M on touch-screen by mapped N × N number of pixel, make N × N number of pixel become N
1× N
2individual pixel, wherein, N
1=N × x, N
2=N × y, x and y is respectively interpolation multiple.
Such as, dot matrix for 50 × 50 infrared sensors formations maps to the touch-screen of 3000 × 3000 pixels, because 50 and 3000 are separated by 60 times, 50 can be considered as much smaller than 3000, so, after directly the dot matrix that 50 × 50 infrared sensors are formed being mapped to the touch-screen of 3000 × 3000 pixels, mapped pixel (only has 50 very little, relative to 3000 very little), so, final simulation sliding effect is out not smooth, feels it is a card to user, experiences bad.In embodiments of the present invention, dot matrix as formed by 50 × 50 infrared sensors maps to the touch-screen of 3000 × 3000 pixels, then be divided into 50 equal portions by 3000, an infrared sensor correspondence in the dot matrix formed by 50 × 50 infrared sensors at interval of 60 pixels, namely, 60th pixel of respective column or corresponding line in the 1st infrared sensor correspondence 3000 × 3000 pixels of each row in the dot matrix of 50 × 50 infrared sensor formations or often a line dot matrix, 120th pixel of respective column or corresponding line in 2nd infrared sensor correspondence, 3000 × 3000 pixels, 3000th pixel of respective column or corresponding line in 50th infrared sensor correspondence, 3000 × 3000 pixels.If carry out interpolation processing in 3000 × 3000 pixels on touch-screen by mapped 50 × 50 pixels, such as, doubly interpolation is carried out according to interpolation multiple 10, then be equivalent in 3000 pixels of each row or every a line, to the 60th pixel, a pixel is inserted at interval of 6 pixels at the 1st pixel, namely to the 60th pixel, 10 pixels are altogether inserted at the 1st pixel, to the 120th pixel, a pixel is inserted at interval of 6 pixels at the 61st pixel, namely to the 60th pixel, 10 pixels are altogether inserted at the 61st pixel, to the 3000th pixel, a pixel is inserted at interval of 6 pixels at the 2941st pixel, namely to the 300th pixel, 10 pixels are altogether inserted at the 2941st pixel, so, altogether insert 500 pixels, add 50 mapped pixels, in 3000 × 3000 pixels, every a line or each row are 550 pixels altogether, relative to 50 pixels before not having interpolation, simulate gesture in the mapped again to slide, greatly can improve fluency, reduce the sensation of a card.
S102, is captured in the gesture on the screen of N × N dot matrix infrared sensor formation.
In embodiments of the present invention, when finger slides on the screen that dot matrix infrared sensor is formed, each infrared sensor in some array sensor can catch sensing data; Along with slip and the catching of each infrared sensor of finger, the gesture on screen that N × N dot matrix infrared sensor (dot matrix that N × N number of sensor is formed) forms can be captured in.
Because certain user is when sliding into another place by finger from a place, reference position may be got back at once.Being ready according to user, the short time gets back to reference position and should not be identified.If identify, be then exactly identify by mistake.In order to prevent the generation of this situation, in embodiments of the present invention, after being captured in the gesture on the screen of dot matrix infrared sensor formation, described method also comprises: by backoff algorithm, and process is identification maneuver by mistake.Particularly, first can judge glide direction when gesture slides into target location from reference position on the screen that the dot matrix infrared sensor of N × N is formed, then, if in Preset Time, such as, in 800ms, described gesture is back to reference position from target location along the direction contrary with glide direction, then filter described gesture and be back to the event that described reference position produces from described target location along the direction contrary with described glide direction.Once this kind of event is filtered, then follow-up system does not have the response of opponent's gesture, thus there will not be sliding effect.
S103, calculates the gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of M × M pixel on the screen that N × N dot matrix infrared sensor is formed.
Particularly, as one embodiment of the invention, calculate the gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of M × M pixel on the screen that N × N dot matrix infrared sensor is formed and can comprise the steps S1031 and step S1032:
S1031, the distance of straight line formed according to a row infrared sensor any in any point between reference position to target location to N × N number of infrared sensor and described any point respectively with the distance of described N number of dot matrix, calculate the distance d that screen that described gesture forms at N × N dot matrix infrared sensor slides, wherein, target location is the terminal of gesture on the screen that N × N dot matrix infrared sensor is formed during sliding distance d.
S1032, according to formula d '=M × d/D, calculates the distance d ' slided on the touch-screen of M × M pixel, and wherein, D is coverage when any row dot matrix transmits in the dot matrix of N × N number of infrared sensor formation.
For the dot matrix that 4 × 4 infrared sensors are formed, as shown in accompanying drawing 2-a.As shown in accompanying drawing 2-b, suppose that in 4 × 4 infrared sensors, any row infrared sensor dot matrix i.e. 4 infrared sensors are (in figure shown in 4 stains, numbering is respectively 1, 2, 3 and 4, below be called infrared sensor 1, infrared sensor 2, infrared sensor 3 and infrared sensor 4) detect gesture and slide into target location (in figure shown in circle) from reference position (figure blacking triangle shown in), reference position uses d to represent to the distance of target location, coverage when 4 infrared sensors transmit uses D to represent in the drawings, between reference position to target location, in the infrared sensor of any point to 4 × 4, the distance of the straight line that any row infrared sensor (4 infrared sensors) is formed uses Lmin to represent in the drawings, between reference position to target location, any point (in figure shown in a square stain) uses L1 with the distance of 4 infrared sensors respectively, L2, L3 and L4 represents.
Suppose to only have infrared sensor 1 target location to be detected in reference position, reference position is L11 to the distance of infrared sensor 1, and as shown in accompanying drawing 2-c, so reference position can obtain according to trigonometric function formula to the position d1 of a period of time inspection center's point
in kind calculate the d2 in upper figure, distance d=d1+d2 like this.If infrared sensor 1 can't detect target location, just with infrared sensor 2 for coordinate points calculate lengthwise position, and suppose that the sensing range of infrared sensor 1 is symmetrical i.e. d=2 × d1+d3 up and down, supposes the fore-and-aft distance calculated for coordinate points with infrared sensor 2 herein.
After the distance d that the screen that gesture is formed at N × N dot matrix infrared sensor slides calculates, according to formula d '=M × d/D, easily calculate the distance d ' slided on the touch-screen of M × M pixel.
S104, responds the distance d ' slided on the touch-screen of M × M pixel.
From the method that the simulate of above-mentioned accompanying drawing 1 example is slided, owing to the dot matrix that N × N number of infrared sensor is formed can be mapped to the touch-screen of M × M pixel, after gesture on the screen being captured in dot matrix infrared sensor formation, calculate the gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of M × M pixel on the screen that dot matrix infrared sensor is formed.Therefore, the screen that technical scheme provided by the invention is formed at dot matrix infrared sensor slides finger, can simulate the toughness message of similar touch-screen, realize being similar to touch-screen every empty sliding function.
Referring to accompanying drawing 3, is the structural representation of the device of the simulate slip that the embodiment of the present invention two provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The device of the simulate slip of accompanying drawing 3 example can be the executive agent of the method for the simulate slip that previous embodiment provides, and it can be intelligent terminal or one of them functional module.The device that the simulate of accompanying drawing 3 example is slided mainly comprises mapping block 301, gesture trapping module 302, distance calculation module 303 and respond module 304, and each functional module is described in detail as follows:
Mapping block 301, for mapping to the touch-screen of M × M pixel by the dot matrix that N × N number of infrared sensor is formed.
In embodiments of the present invention, N and M is the natural number being greater than 1, and N is not more than M.The dot matrix that N × N number of infrared sensor is formed is mapped to the touch-screen of M × M pixel by mapping block 301, every M pixel is equivalent to be divided into N equal portions, every part of M/N pixel, then, in the dot matrix that N × N number of infrared sensor is formed, M/N pixel of respective column or corresponding line in corresponding M × M the pixel of first infrared sensor of each row or every a line dot matrix, 2M/N pixel of respective column or corresponding line in second corresponding M × M pixel of infrared sensor, M pixel of respective column or corresponding line in corresponding M × M the pixel of N number of infrared sensor.Such as, for the dot matrix that 50 × 50 infrared sensors are formed, mapping block 301 will be mapped to the touch-screen of 300 × 300 pixels, be then divided into 50 equal portions by 300, at interval of 6 pixels namely by an infrared sensor correspondence in the dot matrix of 50 × 50 infrared sensors formations.Particularly, 6th pixel of respective column or corresponding line in the 1st infrared sensor correspondence 300 × 300 pixels of each row in the dot matrix of 50 × 50 infrared sensor formations or often a line dot matrix, 12nd pixel of respective column or corresponding line in 2nd infrared sensor correspondence, 300 × 300 pixels,, the 300th pixel of respective column or corresponding line in the 50th infrared sensor correspondence 300 × 300 pixels.It should be noted that, when M/N is not integer, depending on situation M/N is rounded downwards or round up.Once the dot matrix that N × N number of infrared sensor is formed maps to the touch-screen of M × M pixel, continuous print sensor (Sensor) data transformations that then gesture motion can be produced is continuous print motion event (MotionEvent) data, the data that the touch-screen being equivalent to M × M resolution produces.
Gesture trapping module 302, the gesture on the screen being captured in N × N dot matrix infrared sensor formation.
In embodiments of the present invention, when finger slides on the screen that dot matrix infrared sensor is formed, each infrared sensor in some array sensor can catch sensing data; Along with slip and the catching of each infrared sensor of finger, gesture trapping module 302 can be captured in the gesture on screen that N × N dot matrix infrared sensor (dot matrix that N × N number of sensor is formed) forms.
Distance calculation module 303, for calculating the gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of M × M pixel on the screen that N × N dot matrix infrared sensor is formed;
Respond module 304, for responding the distance d ' slided on the touch-screen of M × M pixel.
It should be noted that, in the embodiment of the device of the simulate slip of above accompanying drawing 3 example, the division of each functional module only illustrates, can be as required in practical application, the facility of the such as configuration requirement of corresponding hardware or the realization of software is considered, and above-mentioned functions is distributed completed by different functional modules, the inner structure of the device slided by described simulate is divided into different functional modules, to complete all or part of function described above.And, in practical application, corresponding functional module in the present embodiment can be by corresponding hardware implementing, also can perform corresponding software by corresponding hardware to complete, such as, aforesaid mapping block can be have to perform the aforementioned hardware dot matrix that N × N number of infrared sensor is formed being mapped to the touch-screen of M × M pixel, such as mapper also can be general processor or other hardware devices that can perform corresponding computer program thus complete aforementioned function; For another example aforesaid gesture trapping module, can be the hardware of the gesture performed on the screen being captured in described dot matrix infrared sensor formation, such as gesture grabber also can be general processor or other hardware devices (each embodiment that this instructions provides all can apply foregoing description principle) that can perform corresponding computer program thus complete aforementioned function.
From the device that the simulate of above-mentioned accompanying drawing 3 example is slided, because the dot matrix that N × N number of infrared sensor is formed can be mapped to the touch-screen of M × M pixel by mapping block, be captured in the gesture on the screen of dot matrix infrared sensor formation at gesture trapping module after, distance calculation module calculates the gesture distance d ' that during sliding distance d, correspondence is slided on the touch-screen of M × M pixel on the screen that dot matrix infrared sensor is formed.Therefore, the screen that technical scheme provided by the invention is formed at dot matrix infrared sensor slides finger, can simulate the toughness message of similar touch-screen, realize being similar to touch-screen every empty sliding function.
The device that the simulate of accompanying drawing 3 example is slided can also comprise interpolating module 401, the device that the simulate that the embodiment of the present invention three provides as shown in Figure 4 is slided.If interpolating module 401 for N much smaller than M time, before the dot matrix that N × N number of infrared sensor is formed is mapped to the touch-screen of M × M pixel by mapping block 301, carry out interpolation processing in the pixel of M × M on touch-screen by mapped N × N number of pixel, make N × N number of pixel become N
1× N
2individual pixel, wherein, N
1=N × x, N
2=N × y, x and y is respectively interpolation multiple.
When N is much smaller than M, after the dot matrix that N × N number of infrared sensor is formed directly is mapped to the touch-screen of M × M pixel by mapping block 301, mapped pixel very little, so, final simulation sliding effect is out not smooth, feels it is a card to user, experiences bad.Therefore, in embodiments of the present invention, interpolating module 401 can carry out interpolation processing in the pixel of M × M on touch-screen by mapped N × N number of pixel, makes N × N number of pixel become N
1× N
2individual pixel, wherein, N
1=N × x, N
2=N × y, x and y is respectively interpolation multiple.
Such as, dot matrix for 50 × 50 infrared sensors formations maps to the touch-screen of 3000 × 3000 pixels, because 50 and 3000 are separated by 60 times, 50 can be considered as much smaller than 3000, so, after the dot matrix that 50 × 50 infrared sensors are formed directly is mapped to the touch-screen of 3000 × 3000 pixels by mapping block 301, mapped pixel (only has 50 very little, relative to 3000 very little), so, final simulation sliding effect is out not smooth, feels it is a card to user, experiences bad.In embodiments of the present invention, as the dot matrix that 50 × 50 infrared sensors are formed to be mapped to the touch-screen of 3000 × 3000 pixels by mapping block 301, then be divided into 50 equal portions by 3000, an infrared sensor correspondence in the dot matrix formed by 50 × 50 infrared sensors at interval of 60 pixels, namely, 60th pixel of respective column or corresponding line in the 1st infrared sensor correspondence 3000 × 3000 pixels of each row in the dot matrix of 50 × 50 infrared sensor formations or often a line dot matrix, 120th pixel of respective column or corresponding line in 2nd infrared sensor correspondence, 3000 × 3000 pixels, 3000th pixel of respective column or corresponding line in 50th infrared sensor correspondence, 3000 × 3000 pixels.If interpolating module 401 pairs of touch-screens carry out interpolation processing by mapped 50 × 50 pixels in 3000 × 3000 pixels, such as, doubly interpolation is carried out according to interpolation multiple 10, then be equivalent in 3000 pixels of each row or every a line, to the 60th pixel, a pixel is inserted at interval of 6 pixels at the 1st pixel, namely to the 60th pixel, 10 pixels are altogether inserted at the 1st pixel, to the 120th pixel, a pixel is inserted at interval of 6 pixels at the 61st pixel, namely to the 60th pixel, 10 pixels are altogether inserted at the 61st pixel, to the 3000th pixel, a pixel is inserted at interval of 6 pixels at the 2941st pixel, namely to the 300th pixel, 10 pixels are altogether inserted at the 2941st pixel, so, altogether insert 500 pixels, add 50 mapped pixels, in 3000 × 3000 pixels, every a line or each row are 550 pixels altogether, relative to 50 pixels before not having interpolation, simulate gesture in the mapped again to slide, greatly can improve fluency, reduce the sensation of a card.
The device that the simulate of accompanying drawing 3 example is slided can also comprise recognition processing module 501 by mistake, the device that the simulate that the embodiment of the present invention four provides as shown in Figure 5 is slided.By mistake after the gesture of recognition processing module 501 on the screen that gesture trapping module 302 is captured in N × N dot matrix infrared sensor formation, by backoff algorithm, process is identification maneuver by mistake.Because certain user is when sliding into another place by finger from a place, reference position may be got back at once.Being ready according to user, the short time gets back to reference position and should not be identified.If identify, be then exactly identify by mistake.In order to prevent the generation of this situation, in embodiments of the present invention, after gesture trapping module 302 is captured in the gesture on the screen of dot matrix infrared sensor formation, recognition processing module 501 is by backoff algorithm by mistake, and process is identification maneuver by mistake.
The mistake recognition processing module 501 of accompanying drawing 5 example can comprise glide direction judging unit 601 and filter element 602, the device that the simulate that the embodiment of the present invention five provides as shown in Figure 6 is slided, wherein:
Glide direction judging unit 601, for judging glide direction when gesture slides into target location from reference position on the screen that N × N dot matrix infrared sensor is formed;
Filter element 602, if in Preset Time, gesture is back to reference position from target location along the direction contrary with glide direction, then filtration gesture is back to the event that described reference position produces from described target location along the direction contrary with described glide direction.
The distance calculation module 303 of accompanying drawing 3 example can comprise the first computing unit 701 and the second computing unit 702, the device that the simulate that the embodiment of the present invention six provides as shown in Figure 7 is slided, wherein:
First computing unit 701, for the distance of straight line that forms according to a row infrared sensor any in any point between reference position to target location to N × N number of infrared sensor and described any point respectively with the distance of N number of infrared sensor, calculate the distance d that screen that gesture forms at N × N dot matrix infrared sensor slides, wherein, target location is the terminal of gesture on the screen that N × N dot matrix infrared sensor is formed during sliding distance d;
Second computing unit 702, for according to formula d '=M × d/D, calculates the distance d ' slided on the touch-screen of M × M pixel, and described D is coverage when any row dot matrix transmits in the dot matrix of N × N number of infrared sensor formation.
The circular of the first computing unit 701 and the second computing unit 702, can consult the explanatory note of aforementioned figures 2-a to accompanying drawing 2-c and correspondence thereof, not repeat herein.
The embodiment of the present invention also provides a kind of mobile terminal, the device that the simulate that this mobile terminal comprises the arbitrary example of accompanying drawing 3 to accompanying drawing 7 to be provided is slided.
It should be noted that, the content such as information interaction, implementation between each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect brought is identical with the inventive method embodiment, particular content see describing in the inventive method embodiment, can repeat no more herein.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.