Summary of the invention
The embodiment of the invention discloses a kind of mobile communication terminal and input method thereof of handwriting input, realizing handwriting input, and make the mobile communication terminal user of handwriting input can break away from the area constraints of handwriting pad or touch-screen.
The input method of the mobile communication terminal of the disclosed a kind of handwriting input of the embodiment of the invention comprises:
Movement locus when the wireless communication terminal that records described handwriting input is pressed in the plane;
Described movement locus is mapped as corresponding character.
The mobile communication terminal of the disclosed a kind of handwriting input of the embodiment of the invention comprises body, also comprises pressure transducer, processor, gyroscope and acceleration transducer, wherein,
Described pressure transducer is positioned at the end of described body; Described gyroscope and described acceleration transducer are installed on the described body; Described processor be positioned on the described body or be positioned at separate with described body but with the equipment of described body communication on; Described processor can receive the measurement data of described pressure transducer, gyroscope and acceleration transducer and handle;
Whether described pressure transducer is pressed in one plane for detection of described mobile communication terminal;
Described gyroscope is used for when described pressure transducer is pressed in one plane, coordinate system of initialization, and wherein the xy plane is as writing plane, and coplanar or parallel with the outer surface level that described mobile communication terminal is pressed, the z axle is perpendicular to described writing plane;
The acceleration that described acceleration transducer moves at described writing plane for detection of described mobile communication terminal.
By using mobile communication terminal and the input method thereof of the disclosed handwriting input of the embodiment of the invention, the user can directly use this terminal to carry out handwriting input, it writes the restriction that the space no longer is subjected to handwriting pad or touch-screen or mobile communication terminal size itself, has enriched user's writing experience.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing the specific embodiment of the invention is described in further detail.
Fig. 1 is the structural representation of the disclosed a kind of hand-written mobile communication entry terminal of the embodiment of the invention.
As described in Figure, the mobile communication terminal of described handwriting input comprises body 1, pressure transducer 3, processor 5, gyroscope 7 and acceleration transducer 9.Described body 1 can for one can be for hand-held terminal.Optionally, it also can possess keyboard entry function, perhaps handwriting pad input function, perhaps touch-screen input function.Further, it can be the terminal with display device, is used for showing the character of importing on this terminal.Optionally, it also can be the terminal that does not have display device, but can be by wired or wireless mode, and with a terminal that possesses the entity interaction of Presentation Function, the character of importing by this terminal can be shown by this entity that possesses Presentation Function.Described demonstration can be screen display, and for example LCD shows, also can be Projection Display, and external or built-in projector for example to extraneous Projection Display, perhaps can also be that the mode by electric ink shows, this present embodiment is not done restriction.Described wire communication mode can be optical communication, also can be usb communication, perhaps the bus mode communication of other interface protocols.Described communication can be WIFI communication, perhaps Bluetooth communication, and perhaps infrared communication etc. can certainly be 3G communication.
Described pressure transducer 3 is positioned at the end of described body 1.The outside of the concrete end that can be positioned at described body 1 namely is installed in outside surface, can be that the mode that adheres to is installed.Also can be installed in inside.But if be installed in inside, its installation site should be able to guarantee that this sensor possesses appropriate sensitivity.Those skilled in the art as required with the concrete parameter of sensor, can determine its installation site and mounting means, present embodiment does not limit.
Described gyroscope 7 is installed on the described body 1 with described acceleration transducer 9.In order to guarantee better to import effect, preferred, described gyroscope 7 and described acceleration transducer 9 and described pressure transducer 3 can be as much as possible near installing, so that its value of exporting separately regarding as of can being similar to is at same point measurement.Certainly, if adopt the device integrated technology, described pressure transducer 3, gyroscope 7, acceleration transducer 9 are made into a device also are fine.In addition, if described gyroscope 7 adopts acceleration transducer to realize, then described gyroscope 7 can be merged into a device with described acceleration transducer 9.The embodiment of the invention is not done restriction to this.
Described processor 5 is positioned at described body 1.Described processor 5 electrically connects with described pressure transducer 3, gyroscope 7, acceleration transducer 9.Described processor 5 can be the main process chip on the mobile communication terminal for example, perhaps is specifically designed to the chip of realizing the embodiment of the invention.Described processor 5 also can not be installed in the described body 1, and is mounted on the equipment that communicates to connect with described body 1.Described pressure transducer 3, gyroscope 7, acceleration transducer 9 can be sent to measurement data on this equipment respectively, are handled by the processor 5 on this equipment.Be not mounted on the equipment that communicates to connect with described body 1 if described processor 5 is not mounted in the body 1, then described hand input device can be regarded a system that comprises body 1 and processor 5 as.Described communicating to connect can be wired connection or wireless connections, repeats no more herein.
Whether described pressure transducer 3 has been pressed on the plane for detection of the mobile communication terminal of described handwriting input.Described plane can be a physical plane arbitrarily, and for example desktop, metope etc. perhaps also can be the shell planes of other machines equipment.The described degree that only need reach contact plane and can move freely of pressing, concrete transducer sensitivity can not limit here by described those skilled in the art according to settings such as sensor parameters.If the mobile communication terminal that described pressure transducer 3 detects described handwriting input has been pressed on the plane, then triggers described entry terminal and start hand-write input function.Certainly, switch that also can be by hardware is set on the described entry terminal or the control operation of software decide the startup hand-write input function.If adopt the control operation of software, then the signal that can also send by other equipment that communicate with connection triggers this function.The mobile communication terminal that this moment, described pressure transducer 3 detected described handwriting input has been pressed on the plane, then is to trigger once concrete hand-written operation detection.
Described gyroscope 7 is for detection of the plane of motion of the mobile communication terminal of described handwriting input.Concrete, detect when described pressure transducer 3 described handwriting input mobile communication terminal pressure in one plane after, described processor 5 is with described gyroscope 7 initialization, define a coordinate axis, wherein the plane parallel of x, y axle formation is in outer surface level, the z axle is perpendicular to outer surface level, and the point that pressure transducer contacts with outer surface level is defined as initial point.Further, after the coordinate axis initialization, outer surface level had better not move or overturn.
Described acceleration transducer 9 is for detection of the mobile communication terminal of described handwriting input certain and mobile direction on described plane whether, and generates stroke information by described processor 5.
As previously mentioned, when described
gyroscope 7,
pressure transducer 3 and
acceleration sensor 9 close enoughs, can with these three sensors approximate regard a point as.When the mobile communication terminal of described handwriting input moves, described
acceleration sensor 9 can induce x axle and the axial acceleration ax of y and ay, the mobile communication terminal of described handwriting input moves to t during the moment, and the approximate some coordinate in the plane that described three sensors constitute is
Wherein: t=n * Δ t, a
X0=a
Y0=0, n is the change number of times of the value of acceleration, and for example because the difference of translational speed when writing is once write and may be detected 5 continuous different acceleration, m is the algebraic symbol of summation operation.By this coordinate computation, can obtain the mobile communication terminal movement locus in the plane of described handwriting input, this movement locus also can be regarded as described pressure transducer 3 movement locus in the plane.
The processor 5 of the mobile communication terminal of handwriting input can be identified described movement locus, and it is generated the input of input method as stroke information, thereby finishes the literal input.Concrete process flow diagram is as shown in Figure 3:
Movement locus when the wireless communication terminal of step 301, the described handwriting input of record is pressed in the plane.This track can be that the data of the described acceleration transducer 9 of record produce.Can think that this movement locus is that the wireless communication terminal of described pressure transducer 3, gyroscope 7, acceleration transducer 9 or whole handwriting input is at the movement locus on described plane.This is the problem of a statement, repeats no more again.
Step 302, described movement locus is mapped as corresponding character.Described character can be stroke, perhaps numeral, and perhaps English alphabet etc. also can be user-defined symbol.
Movement locus when pressing in the plane by the wireless communication terminal that records described handwriting input, and described track is mapped as corresponding character, the wireless communication terminal of described handwriting input has just played the function of a pen, thereby finishes handwriting input.
For the method for this handwriting input further is described, Fig. 4 also shows a more detailed embodiment, with as an example.
Step 401, initialization writing plane.Preferably, wherein x, y axial plane are parallel to outer surface level.Preferably, be parallel to outer surface level for making x, y axial plane, the maximum bearing of trend of described mobile communication terminal is vertical with outer surface level when initialization.As previously mentioned, the initialization here can be when detecting the pressure of pressure transducer 3, determines that described mobile communication terminal carries out after the plane by being pressed in, and hereinafter is called writing plane with this plane.Described writing plane and described outer surface level copline.Certainly, also can be that described gyroscope 7 is subjected to activating the back auto-initiation.Described activation can be the activation of software or hardware switch, and is for example behind the described mobile communication terminal when startup or after entering input pattern, namely in running order.And after this, detect described mobile communication terminal by after being pressed in writing plane at pressure transducer 3, determine that this plane is the xy plane of coordinate axis.
Step 402, the described wireless communication terminal of record are at the movement locus of writing
plane.Pressure transducer 3 detects contacting of described wireless communication terminal and writing plane, by
The motion track of the detected described wireless communication terminal of formula real time record acceleration transducer.
If step 403 pressure transducer just touches the plane, not motion after a period of time judges then whether the time of this stop motion surpasses threshold value one.Described threshold value one is a time length, and the process of the expression a certain character of input or stroke finishes.In this way, then execution in step 404, otherwise continue execution in step 402.
Step 404, with in the step 402 record described movement locus be mapped as corresponding character.Described character can be the stroke of Chinese character, perhaps punctuate, perhaps letter word or its part.Mapping result can show by display device, also can not show.Show, can show hand-written track, also can show the standard character after the mapping.
Whether the time of the stop motion described in step 405, the detection step 403 surpasses threshold value two.Described threshold value two is a time length, represents that the input process of whole word finishes.If then execution in step 406, otherwise return step 402, obtain character information thereby continue the record movement locus.At this moment, can be with the coordinate of detected described mobile communication terminal on described writing plane
As the starting point that records movement locus next time.
Step 406, with the set of described character and character library coupling, be mapped as corresponding literal.The set of described character for surpass the stop motion of the duration of threshold value two from the last time, surpasses the stop motion of the duration of threshold value two to this, between the set of the character that obtains.If this stop motion that surpasses the duration of threshold value two is the stop motion that surpasses the duration of threshold value two for the first time, then can be from the set that begins to write to the character that obtains between this stop motion above the duration of threshold value two.Describedly be mapped as corresponding literal, namely according to the associating mode of input method, map out one or more literal.Described literal comprises Chinese character.
Understandable, according to the difference of input method, also can map out corresponding literal according to the character set that has obtained in step 404.For example this moment, what need write was " wood " word, when detecting a horizontal stroke, a perpendicular input, showed that character set be " ten ", mapped out Chinese characters such as " ten ", " wood " simultaneously and supplied user's selection.
The literal of above-mentioned input for example can be numeral, can be as the dialing of telephone number; The literal of above-mentioned input can be used as the literal input of short message etc.The literal of input can be by described mobile communication terminal communication interface, send via mobile communications network.
By using mobile communication terminal and the input method thereof of the disclosed handwriting input of the embodiment of the invention, can use described mobile communication terminal as writing pencil, Free Writing on a bigger plane has broken through the limitation of the size of portable terminal itself.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk as computing machine, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
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: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps 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.