Summary of the invention
Embodiments of the invention provide a kind of method, terminal device and hand-written equipment of discerning handwriting input, can carry out handwriting input under the condition of contact screen not, avoid screen is produced cut.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, the embodiment of the invention provides a kind of method of discerning handwriting input, comprising:
Two signal transmitting and receiving ends on the terminal device transmit to hand-written equipment simultaneously;
The signal that the input end that two signal transmitting and receiving terminations on the terminal device are received described hand-written equipment reflects;
Terminal device is determined the position of the input end of described hand-written equipment according to the signal that the input end to the signal of described hand-written equipment emission and the described hand-written equipment that receives reflects;
Terminal device is determined the motion track of the input end of described hand-written equipment according to the change in location of the input end of described hand-written equipment;
Terminal device is discerned the motion track of the input end of described hand-written equipment, determines the input content of described hand-written equipment.
On the other hand, the embodiment of the invention also provides a kind of terminal device, comprising:
First transceiver module and second transceiver module are used for transmitting to hand-written equipment simultaneously, and receive the signal that the input end of described hand-written equipment reflects;
First determination module is used for according to described first transceiver module and second transceiver module determining the position of the input end of described hand-written equipment to the signal that the input end of the signal of described hand-written equipment emission and the described hand-written equipment that receives reflects;
Second determination module is used for the change in location according to the input end of described hand-written equipment, determines the motion track of the input end of described hand-written equipment;
Identification module is used for the motion track of the input end of described hand-written equipment is discerned, and determines the input content of described hand-written equipment.
On the one hand, the embodiment of the invention also provides a kind of hand-written equipment, it is characterized in that again, and described hand-written equipment is provided with input end, and described input end is used to reflect the signal of described terminal device emission.
The method of the identification handwriting input that the embodiment of the invention provides, terminal device and hand-written equipment, the signal that terminal device reflects to the input end of the signal of hand-written equipment emission and the described hand-written equipment that receives according to two signal transmitting and receiving ends, determine the position of hand-written equipment input end, determine the motion track of described hand-written equipment input end according to the change in location of described hand-written equipment input end, determine the input content by the motion track of discerning described hand-written equipment input end.Compared with prior art, the screen that hand-written equipment need not to contact terminal device in the embodiment of the invention can be realized handwriting input, thereby can avoid staying on screen cut.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment one
The embodiment of the invention provides a kind of method of discerning handwriting input, and as shown in Figure 1, described method comprises:
101, two signal transmitting and receiving ends on the terminal device transmit to hand-written equipment simultaneously.
102, the signal that reflects of the input end of receiving described hand-written equipment of two signal transmitting and receiving terminations on the terminal device.
103, terminal device is determined the position of the input end of described hand-written equipment according to the signal that the input end to the signal of described hand-written equipment emission and the described hand-written equipment that receives reflects.
104, terminal device is determined the motion track of the input end of described hand-written equipment according to the change in location of the input end of described hand-written equipment.
105, terminal device is discerned the motion track of the input end of described hand-written equipment, determines the input content of described hand-written equipment.
The method of the identification handwriting input that the embodiment of the invention provides, the signal that terminal device reflects to the input end of the signal of hand-written equipment emission and the described hand-written equipment that receives according to two signal transmitting and receiving ends, determine the position of hand-written equipment input end, determine the motion track of described hand-written equipment input end according to the change in location of described hand-written equipment input end, determine the input content by the motion track of discerning described hand-written equipment input end.Compared with prior art, the screen that hand-written equipment need not to contact terminal device in the embodiment of the invention can be realized handwriting input, thereby can avoid staying on screen cut.
Embodiment two
The embodiment of the invention provides a kind of method of discerning handwriting input, and as shown in Figure 2, described method comprises:
201, two signal transmitting and receiving ends on the terminal device transmit to hand-written equipment simultaneously, and wherein, described hand-written equipment is provided with input end, and described input end is used to reflect the signal of described signal transmitting and receiving end emission.
In order simply clearly to describe implementation procedure of the present invention, as shown in Figure 3, in the embodiment of the invention described two signal transmitting and receiving ends are labeled as A and B, the input end of described hand-written equipment is labeled as C, promptly signal transmitting and receiving end A and signal transmitting and receiving end B send signal to hand-written equipment input end C simultaneously.
202, signal transmitting and receiving end A and signal transmitting and receiving end B receive the signal that described hand-written equipment input end C reflects, and obtain from transmitting a signal to and receive the duration that reflected signal experiences.
In the present embodiment, signal transmitting and receiving end A is received the duration note that reflected signal experiences and makes T from transmitting a signal to1
Signal transmitting and receiving end B is received the duration note that reflected signal experiences and makes T from transmitting a signal to2
203, terminal device according to the transmission speed v of signal and described obtain receive the duration T that reflected signal experiences from transmitting a signal to1, calculate the distance A C=v*T between signal transmitting and receiving end A and the hand-written equipment input end C1/ 2;
Same, described terminal device according to the transmission speed v of signal and described obtain receive the duration T that reflected signal experiences from transmitting a signal to2, calculate between signal transmitting and receiving end B and the hand-written equipment input end C apart from BC=v*T2/ 2.
204, terminal device according between the distance A C between the distance A B between described two signal transmitting and receiving ends, described signal transmitting and receiving end A and the hand-written equipment input end C and described signal transmitting and receiving end B and the hand-written equipment input end C apart from BC, determine the position of the input end C of described hand-written equipment.
As shown in Figure 3, the embodiment of the invention is for the particular location of the input end C that determines described hand-written equipment, is initial point (0,0) with the mid point of signal transmitting and receiving end A and signal transmitting and receiving end B, and then determines the concrete coordinate of described hand-written equipment input end C.
205, move when writing at described hand-written equipment input end, terminal device can be depicted the motion track of described hand-written equipment input end C according to the changes in coordinates of detected described hand-written equipment input end C.
206, when the residence time that terminal device detects described hand-written equipment input end C surpasses the schedule time, judge that hand-written equipment finished input, then the motion track of current definite hand-written equipment input end C is carried out convergent-divergent and show.
207, terminal device is discerned the motion track of described definite hand-written equipment input end C, determines the input content and shows.
The method of the identification handwriting input that the embodiment of the invention provides, two signal transmitting and receiving end A on the terminal device and B transmit to hand-written equipment simultaneously, the signal that reflects to the input end C of the signal of described hand-written equipment emission and the described hand-written equipment that receives according to described two signal transmitting and receiving end A and B, determine the position of hand-written equipment input end C, determine the motion track of described hand-written equipment input end C according to the change in location of described hand-written equipment input end C, determine the input content by the motion track of discerning described hand-written equipment input end C.Compared with prior art, the screen that hand-written equipment need not to contact terminal device in the embodiment of the invention can be realized handwriting input, thereby can avoid staying on screen cut.
Embodiment three
The embodiment of the invention provides a kind of terminal device, and as shown in Figure 4, described terminal device comprises:
First transceiver module 301 andsecond transceiver module 302 are used for transmitting to hand-written equipment simultaneously, and receive the signal that the input end of described hand-written equipment reflects;
First determination module 303 is used for according to described first transceiver module and second transceiver module determining the position of the input end of described hand-written equipment to the signal that the input end of the signal of described hand-written equipment emission and the described hand-written equipment that receives reflects;
Second determination module 304 is used for the change in location according to the input end of described hand-written equipment, determines the motion track of the input end of described hand-written equipment;
Identification module 305 is used for the motion track of the input end of described hand-written equipment is discerned, and determines the input content of described hand-written equipment.
Wherein, as shown in Figure 5, describedfirst determination module 303 comprises:
First determiningunit 3031, be used for according to describedfirst transceiver module 301 andsecond transceiver module 302 to the signal that the input end of the signal of described hand-written equipment emission and the described hand-written equipment that receives reflects, the input end of determining described hand-written equipment respectively and the distance between describedfirst transceiver module 301 andsecond transceiver module 302;
Second determiningunit 3032, be used for determining the position of the input end of described hand-written equipment according to the input end of distance between describedfirst transceiver module 301 and describedsecond transceiver module 302 and described hand-written equipment respectively and the distance between describedfirst transceiver module 301 andsecond transceiver module 302.
Describedsecond determination module 304 comprises:
Detectingunit 3041 is used to detect residence time of the input end of described hand-written equipment;
Display unit 3042 is used for when the residence time that described detecting unit detects the input end of described hand-written equipment surpasses the schedule time, the motion track of the input end of described hand-written equipment is carried out convergent-divergent and shows.
Further, as shown in Figure 5, shown in terminal device also comprise:
Display module 306 is used for after describedidentification module 305 is determined the input content of described hand-written equipment, and the input content of described hand-written equipment is shown.
On the other hand, the embodiment of the invention also provides a kind of hand-written equipment, it is characterized in that, described hand-written equipment is provided with input end, and described input end is used to reflect the signal of described terminal device emission.
Terminal device that the embodiment of the invention provides and hand-written equipment, the signal that described terminal device reflects to the input end of the signal of described hand-written equipment emission and the described hand-written equipment that receives according to two signal transmitting and receiving ends, determine the position of described hand-written equipment input end, determine the motion track of described hand-written equipment input end according to the change in location of described hand-written equipment input end; Determine handwritten content by the motion track of discerning described hand-written equipment input end.Compared with prior art, the screen that hand-written equipment need not to contact terminal device in the embodiment of the invention can be realized handwriting input, thereby can avoid staying on screen cut.
The terminal device that provides in the embodiment of the invention can be mobile phone, palm PC etc., and described hand-written equipment can be writing pencil etc., but is not limited only to this.
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 common hardware, 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.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.