WO2011137862A2 - 一种实现虚拟手写输入的方法及电子装置 - Google Patents

一种实现虚拟手写输入的方法及电子装置 Download PDF

Info

Publication number
WO2011137862A2
WO2011137862A2 PCT/CN2011/076832 CN2011076832W WO2011137862A2 WO 2011137862 A2 WO2011137862 A2 WO 2011137862A2 CN 2011076832 W CN2011076832 W CN 2011076832W WO 2011137862 A2 WO2011137862 A2 WO 2011137862A2
Authority
WO
WIPO (PCT)
Prior art keywords
handwriting
virtual
distance measuring
distance
measuring probe
Prior art date
Application number
PCT/CN2011/076832
Other languages
English (en)
French (fr)
Other versions
WO2011137862A3 (zh
Inventor
陈超
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP11777281.4A priority Critical patent/EP2713251A4/en
Priority to KR1020137034143A priority patent/KR101560308B1/ko
Priority to CN2011800016521A priority patent/CN102301322B/zh
Priority to PCT/CN2011/076832 priority patent/WO2011137862A2/zh
Publication of WO2011137862A2 publication Critical patent/WO2011137862A2/zh
Publication of WO2011137862A3 publication Critical patent/WO2011137862A3/zh
Priority to US14/132,455 priority patent/US9335836B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/142Image acquisition using hand-held instruments; Constructional details of the instruments
    • G06V30/1423Image acquisition using hand-held instruments; Constructional details of the instruments the instrument generating sequences of position coordinates corresponding to handwriting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/32Digital ink
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/041012.5D-digitiser, i.e. digitiser detecting the X/Y position of the input means, finger or stylus, also when it does not touch, but is proximate to the digitiser's interaction surface and also measures the distance of the input means within a short range in the Z direction, possibly with a separate measurement setup

Definitions

  • the present invention relates to the field of virtual handwriting input technology, and in particular, to a method and an electronic device for implementing virtual handwriting input. Background technique
  • the existing handwriting input technology is mostly realized by setting a resistive or capacitive touch screen.
  • the implementation process is to detect the user's touch position through the change of the resistor or the capacitor, and then send the touch information to the touch screen controller after receiving, the touch screen control After receiving the touch information, the device converts it into contact coordinates, and then sends it to the CPU, and the CPU performs the corresponding character recognition operation.
  • the resistive touch screen is a four-layer composite glass screen, and the inner surface of the glass screen
  • the interlayer is coated with a layer of ITO, and the outermost layer is a thin layer of bauxite glass protective layer, which makes the existing touch screen have the defects of high cost, complicated process and fear of scratching and being damaged.
  • the position coordinates are determined by detecting changes in resistance or capacitance, there is a problem that the touch screen does not respond. If the sensitivity is not solved, the cost of the touch screen is further increased.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method and an electronic device for realizing virtual handwriting input, which can conveniently implement handwriting input and realize handwriting input at low cost.
  • an embodiment of the present invention provides a method for implementing virtual handwriting input, including:
  • the electronic device monitors the position coordinates of the handwriting device in the virtual handwriting area in real time, and the virtual handwriting area is an area where the distance measuring detector in the electronic device can perform effective distance measurement;
  • an embodiment of the present invention further discloses an electronic device that can implement virtual handwriting input, including:
  • a distance measuring probe for detecting a distance value of the handwriting device from the distance measuring probe;
  • a position coordinate acquiring module configured to obtain, according to the distance value calculation, a position coordinate of the handwriting device in the virtual handwriting area,
  • the virtual handwriting area is an area where the distance measuring probe can perform effective distance measurement;
  • a handwriting trajectory generating module configured to acquire a trajectory formed by the position coordinates obtained by the position coordinate acquiring module, and obtain a handwriting trajectory in the whole handwriting input process when detecting that the current handwriting input ends;
  • An identification module configured to identify a character corresponding to the handwritten track acquired by the handwritten track generating module, and a display module, configured to display the character recognized by the identifying module.
  • FIG. 1 is a schematic structural view of a first embodiment of an electronic device capable of realizing virtual handwriting input of the present invention
  • FIG. 2 is a schematic diagram of one of the positional coordinates of the electronic device of FIG. 1;
  • FIG. 3 is a schematic structural diagram of a second embodiment of an electronic device capable of implementing virtual handwriting input according to the present invention
  • 4 is a schematic diagram of one use effect of the electronic device of FIG. 3 applied to a mobile phone
  • FIG. 5 is a schematic flow chart of a first embodiment of a method for implementing virtual handwriting input according to the present invention
  • FIG. 6 is a virtual handwriting for implementing the present invention.
  • the present invention can be applied to a mobile phone, a palmtop computer or a notebook computer.
  • the present invention first generates a virtual handwriting area on a surface of a desk or the like by a distance measuring probe, and the virtual handwriting area is effectively set by a distance measuring probe.
  • the present invention obtains the position coordinates of the handwriting device in the virtual handwriting area by real-time monitoring, and then obtains a handwritten track, and finally Identify the characters represented by the handwritten trajectory.
  • the electronic device of the embodiment can be used alone, and connected to a mobile phone, a palmtop computer, or a notebook through a wired or wireless connection such as Bluetooth.
  • Devices such as computers can be connected to devices such as mobile phones, PDAs, and notebook computers.
  • the electronic device comprises: a distance measuring probe 1, a position coordinate acquiring module 2, a handwriting track generating module 3, an identifying module 4, and a display module 5.
  • the distance measuring probe 1 is configured to detect a certain range of objects such as a finger, a pen, etc. as a distance value of the handwriting device from the distance measuring probe 1, and the detecting range may be a three-dimensional space region or a two-dimensional planar region. This embodiment is described by taking a two-dimensional plane area as an example, and the two-dimensional plane area is a virtual handwriting area.
  • the distance measuring probe 1 can detect the distance value of the handwriting device from the distance measuring probe 1 in the virtual handwriting area in real time.
  • the distance measuring probe 1 may include a first distance measuring probe and a second distance measuring probe for detecting a distance value of the handwriting device at different positions, so that the position coordinate acquiring module 2 calculates and obtains the handwriting device. The position coordinates in the virtual handwriting area.
  • the first distance measuring probe and the second distance measuring probe in the embodiment are placed on the right side of the mobile phone
  • the virtual handwriting area is: a range area in which the first distance measuring probe and the second distance measuring probe can perform effective distance detection in a two-dimensional plane in which the mobile phone plane is located, as shown in FIG. 2 .
  • the first distance measuring probe and the second distance measuring probe can also be placed at other positions of the mobile phone, but the first distance measuring probe and the second distance measuring probe are required to simultaneously detect the distance of the handwriting device. value.
  • the virtual handwriting area can be displayed to the user by setting the illumination of the lantern to facilitate the user to write.
  • the position coordinate acquisition module 2 is configured to calculate position coordinates of the handwriting device in the virtual handwriting area.
  • the first distance measuring probe detects a distance between the first distance measuring probe and the handwriting device in the virtual graffiti area to obtain a first distance value
  • the second distance measuring probe detects the handwriting device in the virtual handwriting area a distance between the two distances is obtained
  • the position coordinate acquisition module 2 is configured according to the first distance value, the second distance value, and the preset first distance measuring probe and the The second distance measures the distance value between the detectors, and calculates the position coordinates of the handwriting device in the virtual handwriting area.
  • FIG. 2 is a schematic diagram of the positional coordinates of the electronic device in FIG.
  • the line connecting the detectors with two distances is the Y-axis, and one of the distance measuring probes serves as the origin, and the origin is perpendicular to the Y-axis as the X-axis.
  • the handwriting device A is currently located at the coordinate (X, Y) position, and the distance between the first distance measuring probe and the handwriting device in the virtual handwriting area is the first distance value L1.
  • the distance between the first distance measuring probe and the second distance measuring probe is a distance
  • the value L3, the distance value L3 has been determined by the user (or has been determined by the factory) before handwriting input, and is preset in the position coordinate acquisition module 2 in the electronic device.
  • the position coordinate acquisition module 2 can obtain the position coordinates of the handwriting device at various time points in the virtual handwriting area during the writing process by the user using the handwriting device according to L1, L2, L3 and the triangle correlation calculation formula.
  • the two distance measuring probes as the Y-axis, and the two perpendicular measuring probe lines to establish a coordinate system as the X-axis.
  • the embodiment of the present invention does not limit the establishment of the coordinate system.
  • the handwriting trajectory generating module 3 is configured to acquire a trajectory formed by the position coordinates obtained by the position coordinate acquiring module 2, and obtain the entire handwriting input process when detecting the end of the current handwriting input Handwritten trajectory.
  • the handwriting trajectory generating module 3 may connect the continuous position coordinates obtained by the position coordinate acquiring module 2, and generate a trajectory written by the user through the handwriting device in real time, when the position coordinate acquiring module 2 cannot detect
  • the handwritten trajectory generation module 3 records the generated trajectory. And displaying the recorded track by the display module 5; when the position coordinate acquiring module 2 acquires the continuous position coordinates again, the handwritten track generating module 3 repeatedly performs the above steps until the handwriting input ends. After determining that the input is completed, one or more tracks recorded by the handwriting track generation module 3 constitute a handwritten track of the current handwriting input.
  • the manner in which the handwritten trajectory generating module 3 obtains the handwritten trajectory may further be: the handwritten trajectory generating module 3 may set the position coordinate acquiring module within the 0.1 second when a preset time interval, for example, a time interval of 0.1 seconds arrives. 2 The acquired position coordinates are connected to generate a trajectory written by the user through the handwriting device within 0.1 seconds, and the display module 5 can also be notified to synchronously display the trajectory within 0.1 second.
  • the handwritten trajectory generating module 3 continues to generate the handwritten trajectory in a plurality of 0.1 second time intervals according to the position coordinate obtaining block position coordinates, and
  • the display module 5 continuously displays the handwritten trajectory for the user to view until the end of the current handwriting input is detected.
  • the trajectories obtained at the end of the handwriting input and displayed at multiple time intervals constitute the handwritten trajectory of the writing.
  • the manner in which the handwritten trajectory generating module 3 obtains the handwritten trajectory may further be: setting a first time threshold and a second time threshold, wherein the second time threshold is greater than the first time threshold.
  • the handwriting trajectory generating module 3 connects the plurality of position coordinates obtained by the position coordinate acquiring module 2, generates and records a trajectory written by the user through the handwriting device in real time, and the position coordinate acquiring module 2 fails to obtain the position coordinates.
  • the handwritten trajectory generation module 3 continues to generate and record a new trajectory when the position coordinate acquisition module 2 fails to obtain the position coordinates.
  • the handwritten trajectory generating module 3 determines that the handwriting input ends, and the one or more tracks recorded by the handwritten trajectory generating module 3 constitute a handwritten trajectory.
  • the handwriting trajectory generating module 3 detects that there is a plurality of ways to determine whether the writing is ended. For example, it is detected that the position coordinate acquiring module 2 has failed to continue acquiring the position coordinates of the handwriting device in the virtual handwriting area for three seconds; or for example The user has determined that the handwriting input ends by pressing a button or the like.
  • the identification module 4 is configured to identify a character corresponding to the handwritten trajectory acquired by the handwritten trajectory generating module 3.
  • the recognition module 4 can obtain the entire handwritten trajectory by using an existing character recognition algorithm. It is also possible to find a character matching the handwritten trajectory as a character corresponding to the handwritten trajectory by the locally stored character database of the handwritten trajectory.
  • the display module 5 is configured to display characters recognized by the identification module 4.
  • the identification module 4 can accurately identify a character corresponding to the handwritten track as the character written by the user at this time, and directly display the character in the corresponding position such as the body of the short message through the display module 5.
  • the identification module 4 can also identify a plurality of characters associated with the handwriting trajectory by using the association recognition mode, and then display the identified plurality of characters in the character display area through the display module 5 for the user to select from. The required characters are finally displayed by the display module 5 in the corresponding position such as the text of the short message.
  • the characters corresponding to the handwritten trajectory are used to obtain the characters handwritten by the user in the virtual handwriting area, and the handwriting input is conveniently realized; at the same time, the cost measuring instrument is replaced by a special material through a complicated process.
  • the touch screen is used to implement the virtual handwriting area, so that the implementation of the virtual handwriting area is single, which further saves the cost and is low.
  • FIG. 3 it is a schematic structural diagram of a second embodiment of an electronic device capable of implementing virtual handwriting input according to the present invention.
  • the electronic device in this embodiment is built in a mobile phone, and the electronic device includes the electronic device.
  • the distance measuring probe 1, the position coordinate acquiring module 2, the handwriting trajectory generating module 3, the identifying module 4, and the display module 5 in the first embodiment further include a judging module 6.
  • the determining module 6 is configured to determine whether the position coordinate acquisition module 2 does not obtain the time interval of the position coordinates of the handwriting device in the virtual handwriting area, and if yes, confirm that the current handwriting input ends, and notify the
  • the handwriting trajectory generating module 3 obtains the handwriting trajectory in the whole handwriting input process; or, is used to determine whether a button operation representing the end of the handwriting input is received, and if so, confirms that the current handwriting input ends, and notifies the handwritten trajectory generating module to obtain Handwritten trajectory throughout the handwriting input process.
  • the optical sensor 21 in the position coordinate acquiring module 2 cannot acquire the reflected infrared light, so The position coordinate acquisition module 2 is unable to acquire the position coordinates of the writing device in the virtual handwriting area, and when the position coordinate acquiring module 2 does not obtain the time interval of the position coordinates of the handwriting device in the virtual handwriting area, whether the time interval reaches a preset threshold
  • the judging module 6 connected to the position coordinate acquiring module 2 can determine that the user has started writing, and the current handwriting input ends, and the handwritten trajectory generating module 3 connected to the judging module 6 can be notified to obtain Handwritten trajectory throughout the handwriting input process.
  • the electronic device may further include:
  • the lantern 7 is used to emit light, and the effective range of the virtual graffiti is displayed.
  • the function of the lantern is to adjust the color of the illumination according to the needs of the user, so that the virtual handwriting area covered by the infrared light can be presented to the user in the color desired by the user.
  • Figure 4 is a schematic diagram of one of the effects of the electronic device of Figure 3 applied to a mobile phone.
  • the lantern 7 may include a plurality of lights, which are correspondingly located at the same position as the distance measuring probe 1.
  • the position coordinate acquiring module 2, the handwriting track generating module 3, and the identifying module 4 may be internally disposed in a digital processing chip, and the digital processing chip processes each data to implement a corresponding function.
  • the present invention has the following beneficial effects:
  • the characters corresponding to the handwritten trajectory are used to obtain the characters handwritten by the user in the virtual handwriting area, and the handwriting input is conveniently realized; at the same time, the cost measuring instrument is replaced by a special material through a complicated process.
  • the touch screen is used to realize the virtual handwriting area, so that the implementation of the virtual handwriting area is single, which further saves the cost and low cost.
  • the effective virtual handwriting area can be displayed to the user through the color-adjustable colored lights, so that the user is more Good handwriting input, while meeting the individual needs of users.
  • FIG. 5 is a schematic flow chart of a first embodiment of a method for implementing virtual handwriting input according to the present invention. The method specifically includes:
  • S501 The electronic device monitors, in real time, the position coordinates of the handwriting device in the virtual handwriting area, where the virtual handwriting area is an area where the distance measuring detector in the electronic device can perform effective distance measurement area.
  • the distance measuring detector is configured to detect a certain range of objects such as a finger, a pen, etc. as a distance value of the handwriting device from the distance measuring probe, and the detecting range may be a three-dimensional space region or a two-dimensional planar region.
  • This embodiment is described by taking a two-dimensional plane area as an example, and the two-dimensional plane area is a virtual handwriting area.
  • the distance measuring probe can obtain the distance values of the handwriting device from the distance measuring detector in the virtual handwriting area in real time.
  • the distance measuring probe may include two first distance measuring probes and two second distance measuring probes for detecting distance values at different positions, so as to obtain subsequent position coordinates of the handwriting device in the virtual handwriting area. .
  • the first distance measuring detector and the second distance measuring detector may be placed on the right side of the mobile phone, and the virtual handwriting area is: in the two-dimensional plane where the mobile phone plane is located, the first distance measuring detector and the first The range of the distance measurement detector can be used for effective range detection.
  • the first distance measuring probe and the second distance measuring probe can also be placed at other positions of the mobile phone, but the first distance measuring probe and the second distance measuring probe are required to simultaneously detect the distance of the handwriting device. value.
  • the first distance measuring probe detects a distance between the first distance measuring detector and the handwriting device in the virtual graffiti area to obtain a first distance value; and the second distance measuring probe detects between the handwriting device and the handwriting device in the virtual graffiti area a distance, a second distance value is obtained; the S501 is configured according to the first distance value, the second distance value, and the preset first distance measuring probe and the second distance measuring probe.
  • the distance value between the distance and the triangle correlation calculation formula are used to calculate the position coordinates of the handwriting device in the virtual handwriting area.
  • the virtual handwriting area can be displayed to the user by setting the illumination of the lantern to facilitate the user to write.
  • S502 Acquire a trajectory formed by the position coordinates, and obtain a handwriting trajectory in the whole handwriting input process when detecting that the current handwriting input ends.
  • continuous position coordinates obtained by S501 can be connected, and a trajectory written by the user through the handwriting device can be generated in real time.
  • the new position coordinates cannot be detected and the position coordinates are not continuous, for example, the user writes a certain one.
  • the generated trajectory is recorded; when the continuous position coordinates are acquired again, the generated trajectory is recorded again until the end of the handwriting input .
  • one of the records recorded in S502 or A plurality of tracks constitute the handwritten track of the handwriting input.
  • the step of obtaining the handwritten trajectory in the whole handwriting input process may also be: connecting the acquired position coordinates in the 0.1 second at a preset time interval, for example, a time interval of 0.1 seconds, to generate at 0.1
  • the track written by the user through the handwriting device in seconds can synchronously display the track within 0.1 seconds through the display of the device such as a mobile phone.
  • the trajectory in a plurality of 0.1 second time intervals is continuously generated according to the position coordinates obtained in real time, and the tracks can be continuously displayed by the display of the device such as a mobile phone for the user to view until the current one is detected.
  • the handwriting input ends, and the trajectories obtained at the end of the handwriting input and displayed at a plurality of time intervals (for example, 0.1 second) constitute a handwritten trajectory of the writing.
  • the step of obtaining the handwritten trajectory in the whole handwriting input process may further be: presetting the first time threshold and the second time threshold, wherein the second time threshold is greater than the first time threshold. Connecting the obtained plurality of position coordinates to generate and record a trajectory written by the user through the handwriting device in real time, and when the time interval from the failure to obtain the position coordinates to the acquisition of the new position coordinates again does not reach the first time threshold, continue A trajectory is generated and recorded, and when the time interval from the failure to obtain the position coordinates to the acquisition of the new position coordinates reaches the second time threshold, determining that the handwriting input ends, the recorded one or more trajectories constitute a handwritten trajectory.
  • the position coordinate acquisition module 2 has failed to obtain the position coordinates of the handwriting device in the virtual handwriting area for a period of time, such as three seconds, to confirm the end of the writing; or, for example, the user has determined that the handwriting input ends by pressing a button or the like. You can confirm the end of writing.
  • S503 Identify the obtained characters corresponding to the handwritten track, and display the recognized characters. Specifically, after the entire handwritten track is obtained through the S502, the S503 can obtain the entire handwritten track by using an existing character recognition algorithm. It is also possible to find a character matching the handwritten trajectory in the locally stored character database of the handwritten trajectory as a character corresponding to the handwritten trajectory.
  • the S503 can accurately identify a character corresponding to the handwritten track as the character written by the user at this time, and directly display the character in a corresponding position, such as the text of the short message, through the display module.
  • the S503 can also identify a plurality of characters associated with the handwritten trajectory by using an association recognition mode, and then display the recognized multiple characters in the character display area by the display module for the user to select a desired character, and finally The character selected by the user is displayed by the display module in a corresponding position such as the body of the short message.
  • Embodiments of the present invention have the following beneficial effects:
  • the characters corresponding to the handwritten trajectory are used to obtain the characters handwritten by the user in the virtual handwriting area, and the handwriting input is conveniently realized; at the same time, the cost measuring instrument is replaced by a special material through a complicated process.
  • the touch screen is used to implement the virtual handwriting area, so that the implementation of the virtual handwriting area is single, which further saves the cost and is low.
  • FIG. 6 is a schematic flowchart of a second embodiment of a method for implementing virtual handwriting input according to the present invention.
  • the method specifically includes:
  • the electronic device emits light through the lantern to display the effective range of the virtual graffiti.
  • the distance measuring probe of the electronic device is disposed on the right side of the mobile phone, and the colored light is also disposed on the same side of the distance measuring probe to display the effective range of the virtual handwriting area to the user.
  • the virtual handwriting area formed by the distance measuring detector is displayed to the user, so that the user can see the effective range of the virtual handwriting area at a glance.
  • the color of the lantern is adjustable, and the user can adjust the color of the lantern according to the needs to realize a personalized virtual graffiti.
  • S602 Real-time monitoring obtains position coordinates of the handwriting device in the virtual handwriting area, and the virtual handwriting area is an area where the distance measuring detector in the electronic device can perform effective distance measurement.
  • the distance measuring probe in the electronic device includes a first distance measuring probe and a second distance measuring probe, and the S602 may specifically include:
  • the first distance measuring probe detects a distance between the first distance measuring detector and the handwriting device in the virtual graffiti area to obtain a first distance value
  • the second distance measuring probe detects a distance between the detector and the handwriting device in the virtual graffiti area to obtain a second distance value
  • S603 Acquire a trajectory formed by the position coordinates, and obtain a handwriting trajectory during the entire handwriting input when detecting that the current handwriting input ends.
  • the manner of detecting whether the current handwriting input ends may specifically include:
  • S604 Identify the obtained characters corresponding to the handwritten track, and display the recognized characters.
  • the embodiment of the present invention has the following beneficial effects:
  • the characters corresponding to the handwritten trajectory are used to obtain the characters handwritten by the user in the virtual handwriting area, and the handwriting input is conveniently realized; at the same time, the cost measuring instrument is replaced by a special material through a complicated process.
  • the touch screen is used to realize the virtual handwriting area, so that the implementation of the virtual handwriting area is single, which further saves the cost and low cost.
  • the effective virtual handwriting area can be displayed to the user through the color-adjustable colored lights, so that the user is more Good handwriting input, while meeting the individual needs of users.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Description

一种实现虚拟手写输入的方法及电子装置 技术领域
本发明涉及虚拟手写输入技术领域, 尤其涉及一种实现虚拟手写输入的方 法及电子装置。 背景技术
目前, 手机、 掌上电脑等设备的字符输入方式主要有两种, 即手写输入和 键盘输入。
现有的手写输入技术大多是通过设置电阻式、 电容式等触摸屏的方式实现, 其实现过程为, 通过电阻或者电容的变化来检测用户触摸位置, 接受后发送触 摸信息给触摸屏控制器, 触摸屏控制器接收到触摸信息后, 将它转换成触点坐 标, 再送给 CPU, 由 CPU执行相应的文字识别操作。
但是, 由于上述的触摸屏手写输入技术需要通过检测电阻或者电容的变化 来确定位置坐标, 因此触摸屏需要专门的材料制成, 例如: 电阻式触摸屏是一 块四层复合玻璃屏,且玻璃屏的内表面和夹层各涂有一层 ITO,最外层是一薄层 矽土玻璃保护层, 这使得现有的触摸屏存在成本高、 工艺复杂以及怕刮易损等 缺陷。 同时, 通过检测电阻或者电容的变化来确定位置坐标时, 会出现触摸屏 不响应的问题, 若通过提高灵敏度来解决不响应的问题又会进一步的提高触摸 屏的成本。 发明内容
本发明实施例所要解决的技术问题在于, 提供一种实现虚拟手写输入的方 法及电子装置, 可筒单方便地实现手写输入, 低成本地实现手写输入。
为了解决上述技术问题, 本发明实施例提供了一种实现虚拟手写输入的方 法, 包括:
电子装置实时监测获得手写装置在虚拟手写区中的位置坐标, 所述虚拟手 写区为所述电子装置中的距离测量探测器可以进行有效距离测量的区域;
获取所述位置坐标所形成的轨迹, 并在检测到当前的手写输入结束时, 获 得整个手写输入过程中的手写轨迹; 识别获取的所述手写轨迹所对应的字符, 并显示识别出的字符。 相应地, 本发明实施例还公开了一种可实现虚拟手写输入的电子装置, 包 括:
距离测量探测器, 用于探测手写装置距离所述距离测量探测器的距离值; 位置坐标获取模块, 用于根据所述的距离值计算获得所述手写装置在虚拟 手写区中的位置坐标, 所述虚拟手写区为所述距离测量探测器可以进行有效距 离测量的区域;
手写轨迹生成模块, 用于获取所述位置坐标获取模块获得的位置坐标所形 成的轨迹, 并在检测到当前的手写输入结束时, 获得整个手写输入过程中的手 写轨迹;
识别模块, 用于识别所述手写轨迹生成模块获取的手写轨迹所对应的字符; 显示模块, 用于显示所述识别模块识别出的字符。
实施本发明实施例, 具有如下有益效果:
通过距离测量探测器探测获得其与虚拟手写区中的用户手指、 笔等书写装 置之间距离值, 根据所述距离值计算得到所述手写装置在虚拟手写区的位置坐 标并得到手写轨迹, 识别手写轨迹所对应的字符, 得出本次用户在虚拟手写区 手写输入的字符, 筒单方便地实现了手写输入; 同时, 采用成本低廉的距离测 量探测器代替由专门的材料经复杂工艺制成的触摸屏来实现虚拟手写区, 使得 虚拟手写区的实现方式筒单, 进一步的节约了成本低廉。 附图说明 例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1 是本发明的可实现虚拟手写输入的电子装置的第一实施例结构组成示 意图;
图 2是图 1的电子装置得到位置坐标的其中一种示意图;
图 3是本发明的可实现虚拟手写输入的电子装置的第二实施例结构组成示 意图; 图 4是图 3的电子装置应用在手机上的其中的一种使用效果示意图; 图 5是本发明的实现虚拟手写输入的方法的第一实施例流程示意图; 图 6是本发明的实现虚拟手写输入的方法的第二实施例流程示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明可应用于手机、 掌上电脑或者笔记本电脑等设备中, 本发明首先通 过距离测量探测器在桌子等表面产生一虚拟手写区, 所述虚拟手写区是一个可 由设置的距离测量探测器进行有效距离测量的区域, 若用户将手指、 笔等作为 手写装置在该虚拟手写区中书写移动时, 本发明便通过实时监测得到这些手写 装置在虚拟手写区中的位置坐标, 然后得到手写轨迹, 最后识别出手写轨迹所 代表的字符。
请参见图 1 ,是本发明实施例的可实现虚拟手写输入的电子装置的结构组成 示意图, 本实施例的电子装置可单独使用, 通过有线或者如蓝牙等无线连接方 式与手机、 掌上电脑、 笔记本电脑等设备相连接, 也可以内置于手机、 掌上电 脑、 笔记本电脑等设备中。 该电子装置包括: 距离测量探测器 1 , 位置坐标获取 模块 2、 手写轨迹生成模块 3、 识别模块 4以及显示模块 5。
所述距离测量探测器 1 用于探测一定范围内的物体如手指、 笔等作为手写 装置距离本距离测量探测器 1 的距离值, 该探测范围可以是三维空间区域, 也 可以是二维平面区域, 本实施例以二维平面区域为例进行说明, 该二维平面区 域即为虚拟手写区。
当用户使用手写装置进入该区域并在所述虚拟手写区中移动时, 所述距离 测量探测器 1 能够实时探测得到所述手写装置在虚拟手写区中距离本距离测量 探测器 1的距离值。 所述距离测量探测器 1可包括第一距离测量探测器和第二 距离测量探测器, 用于在不同位置探测手写装置的距离值, 以便于所述位置坐 标获取模块 2计算获得手写装置在所述虚拟手写区中的位置坐标。
本实施例中的所述第一距离测量探测器和第二距离测量探测器置于手机右 侧, 所述虚拟手写区为: 在手机平面所在的二维平面中, 所述第一距离测量探 测器和第二距离测量探测器可以进行有效距离探测的范围区域, 具体如图 2所 示。 当然所述第一距离测量探测器和第二距离测量探测器也可以置于手机其他 位置, 但需要所述第一距离测量探测器和第二距离测量探测器均能同时检测到 手写装置的距离值。
另外, 还可通过设置彩灯照射的方式, 将该虚拟手写区展示给用户, 以方 便用户书写。
所述位置坐标获取模块 2,用于计算获得手写装置在所述虚拟手写区中的位 置坐标。
具体的, 所述第一距离测量探测器探测其与虚拟手写区中的手写装置之间 的距离, 得到第一距离值; 所述第二距离测量探测器探测其与虚拟手写区中的 手写装置之间的距离, 得到第二距离值; 所述位置坐标获取模块 2根据所述第 一距萬值、 所述第二距萬值以及预置的所述第一距萬测量探测器和所述第二距 离测量探测器之间的距离值, 计算得到所述手写装置在所述虚拟手写区中的位 置坐标。
例如, 请参见图 2, 是图 1中的电子装置得到位置坐标的其中一种示意图。 以两个距离测量探测器的连线为 Y轴, 以其中一个距离测量探测器作为原点, 经过该原点垂直于 Y轴作为 X轴。如图所示,设手写装置 A当前位于坐标为(X, Y )位置, 所述第一距离测量探测器得到其与虚拟手写区中的手写装置之间的距 离为第一距离值为 L1 , 所述第二距离测量探测器得到其与虚拟手写区中的手写 装置之间的距离为第二距离值 L2, 所述第一距离测量探测器和第二距离测量探 测器之间的距离为距离值 L3, 距离值 L3在进行手写输入之前已经由用户确定 (或者出厂已经确定), 并预置于所述电子装置中的位置坐标获取模块 2中。 所 述位置坐标获取模块 2根据 Ll、 L2、 L3并结合三角形相关计算公式, 即可得到 用户使用手写装置书写的过程中, 手写装置在虚拟手写区中各个时间点的位置 坐标。
当然也可以以两个距离测量探测器的连线为 Y轴, 两个距离测量探测器连 线的中垂线作为 X轴建立坐标系, 本发明的实施例中不限定坐标系的建立。
手写轨迹生成模块 3,用于获取所述位置坐标获取模块 2获得的位置坐标所 形成的轨迹, 并在检测到当前的手写输入结束时, 获得整个手写输入过程中的 手写轨迹。
具体的, 所述手写轨迹生成模块 3可以将所述位置坐标获取模块 2获得的 连续的位置坐标连接起来, 实时生成用户通过手写装置书写的轨迹, 当所述位 置坐标获取模块 2不能够检测到新的位置坐标而使位置坐标不连续时, 例如用 户写好某一个字的第一笔画后, 提笔将要写该字的下一笔画时, 所述手写轨迹 生成模块 3记录已生成的轨迹, 并通过显示模块 5显示该记录的轨迹; 当所述 位置坐标获取模块 2再次获取到连续的位置坐标时, 所述手写轨迹生成模块 3 重复执行上述步骤, 直至本次手写输入结束。 确定本次输入结束后, 所述手写 轨迹生成模块 3记录的一个或者多个轨迹即构成本次手写输入的手写轨迹。
所述手写轨迹生成模块 3获得手写轨迹的方式还可以为: 所述手写轨迹生 成模块 3可在预设的时间间隔例如 0.1秒的时间间隔到来时, 将这 0.1秒内所述 位置坐标获取模块 2获取的各位置坐标连接起来,生成在这 0.1秒内用户通过手 写装置书写的轨迹, 还可通知显示模块 5同步显示此 0.1秒内的轨迹。 当用户继 续移动手写装置书写时, 所述手写轨迹生成模块 3 则继续根据所述位置坐标获 耳 ^莫块 2获得位置坐标生成在多个 0.1秒时间间隔内的手写轨迹,并可通过所述 显示模块 5 连续显示手写轨迹供用户查看, 直至检测到当前的手写输入结束。 手写输入结束时获得以及显示的多个时间间隔(如 0.1秒 )的轨迹结合起来即构 成此次书写的手写轨迹。
所述手写轨迹生成模块 3获得手写轨迹的方式还可以为: 设置第一时间阈 值和第二时间阈值, 其中, 第二时间阈值大于第一时间阈值。 所述手写轨迹生 成模块 3将由所述位置坐标获取模块 2获得的多个位置坐标连接起来, 实时生 成并记录用户通过手写装置书写的轨迹, 当所述位置坐标获取模块 2从未能获 得位置坐标到再次获取新的位置坐标的时间间隔没有达到所述第一时间阈值 时, 所述手写轨迹生成模块 3 继续生成并记录新的轨迹, 当所述位置坐标获取 模块 2从未能获得位置坐标到再次获取新的位置坐标的时间间隔达到所述第二 时间阈值时, 所述手写轨迹生成模块 3确定手写输入结束, 所述手写轨迹生成 模块 3记录的一个或者多个轨迹构成手写轨迹。
手写轨迹生成模块 3检测判断本次书写是否结束的方式有多种, 例如, 检 测到所述位置坐标获取模块 2 已有三秒的时间未能继续获取手写装置在虚拟手 写区的位置坐标; 或者例如, 用户通过按键等操作已确定本次手写输入结束。 所述识别模块 4,用于识别所述手写轨迹生成模块 3获取的手写轨迹所对应 的字符。
在通过所述手写轨迹生成模块 3得到整个手写轨迹后, 所述识别模块 4可 以通过现有的字符识别算法, 得到该整个手写轨迹。 也可通过该手写轨迹的在 本地存储的字符数据库中查找与该手写轨迹相匹配的字符作为该手写轨迹所对 应的字符。
显示模块 5 , 用于显示所述识别模块 4识别出的字符。
所述识别模块 4可精确识别得到所述手写轨迹所对应的一个字符作为用户 此次书写的字符, 并直接通过所述显示模块 5将该字符显示在相应的位置如短 信的正文中。 当然所述识别模块 4也可通过关联识别方式, 识别出与该手写轨 迹匹配关联的多个字符, 然后通过所述显示模块 5将识别出的多个字符显示在 字符显示区中供用户从中选择需要的字符, 最后由所述显示模块 5将用户选择 的字符显示在相应的位置如短信的正文中。
实施本发明实施例, 具有以下有益效果:
通过距离测量探测器探测获得其与虚拟手写区中的用户手指、 笔等书写装 置之间距离值, 根据所述距离值计算得到所述手写装置在虚拟手写区的位置坐 标并得到手写轨迹, 识别手写轨迹所对应的字符, 得出本次用户在虚拟手写区 手写输入的字符, 筒单方便地实现了手写输入; 同时, 采用成本低廉的距离测 量探测器代替由专门的材料经复杂工艺制成的触摸屏来实现虚拟手写区, 使得 虚拟手写区的实现方式筒单, 进一步的节约了成本低廉。
进一步的, 再请参见图 3 , 是本发明的可实现虚拟手写输入的电子装置的第 二实施例结构组成示意图, 本实施例中的电子装置内置于手机中, 所述电子装 置包括上述电子装置第一实施例中的距离测量探测器 1 , 位置坐标获取模块 2、 手写轨迹生成模块 3、 识别模块 4以及显示模块 5 , 还包括判断模块 6。
所述判断模块 6,用于判断所述位置坐标获取模块 2未获得手写装置在虚拟 手写区中的位置坐标的时间间隔是否达到预设的阈值, 若是, 则确认当前的手 写输入结束, 通知所述手写轨迹生成模块 3获得整个手写输入过程中的手写轨 迹; 或者, 用于判断是否接收到代表手写输入结束的按键操作, 若是, 则确认 当前的手写输入结束, 通知所述手写轨迹生成模块获得整个手写输入过程中的 手写轨迹。 具体的, 当用户停止书写后, 或从所述虚拟手写区中提起笔或者手指等手 写装置, 所述位置坐标获取模块 2中的光学传感器 21并不能够获取到反射回来 的红外光线, 因此所述位置坐标获取模块 2不能够获取到书写装置在虚拟手写 区中的位置坐标, 当所述位置坐标获取模块 2未获得手写装置在虚拟手写区中 的位置坐标的时间间隔是否达到预设的阈值如三秒钟后, 与所述位置坐标获取 模块 2相连的判断模块 6即可确定用户已起笔, 当前的手写输入结束, 即可通 知与所述判断模块 6相连接的手写轨迹生成模块 3获得整个手写输入过程中的 手写轨迹。
进一步的, 如图 3所示, 所述电子装置还可包括:
彩灯 7, 用于发出亮光, 显示所述虚拟手写区的有效范围。 所述彩灯的作用 在于, 能够根据用户的需要调节发光的色彩, 以使所述红外光线覆盖的虚拟手 写区能够以用户所需要的颜色展示给用户。 具体效果请参见图 4, 是图 3的电子 装置应用在手机上的其中的一种使用效果示意图。 彩灯 7可包括多只, 其相应 地可与所述距离测量探测器 1位于同一位置。
另外, 所述位置坐标获取模块 2、 手写轨迹生成模块 3、 识别模块 4可以内 置于一个数字处理芯片中, 由所述数字处理芯片处理各数据实现相应功能。
通过上述实施例的描述可知, 本发明具有以下有益效果:
通过距离测量探测器探测获得其与虚拟手写区中的用户手指、 笔等书写装 置之间距离值, 根据所述距离值计算得到所述手写装置在虚拟手写区的位置坐 标并得到手写轨迹, 识别手写轨迹所对应的字符, 得出本次用户在虚拟手写区 手写输入的字符, 筒单方便地实现了手写输入; 同时, 采用成本低廉的距离测 量探测器代替由专门的材料经复杂工艺制成的触摸屏来实现虚拟手写区, 使得 虚拟手写区的实现方式筒单, 进一步的节约了成本低廉, 另外, 还可通过颜色 可调的彩灯将有效的虚拟手写区展示给用户, 在使用户更好的进行手写输入的 同时, 满足了用户的个性化需求。
下面对本发明的一种实现虚拟手写输入的方法进行详细说明。
请参见图 5 , 是本发明的实现虚拟手写输入的方法的第一实施例流程示意 图, 该方法具体包括:
S501 : 电子装置实时监测获得手写装置在虚拟手写区中的位置坐标, 所述 虚拟手写区为所述电子装置中的距离测量探测器可以进行有效距离测量的区 域。
具体的, 所述距离测量探测器用于探测一定范围内的物体如手指、 笔等作 为手写装置距离本距离测量探测器的距离值, 该探测范围可以是三维空间区域, 也可以是二维平面区域, 本实施例以二维平面区域为例进行说明, 该二维平面 区域即为虚拟手写区。
当用户使用手写装置进入该区域并在所述虚拟手写区中移动时, 所述距离 测量探测器能够实时得到所述手写装置在虚拟手写区中距离所述距离测量探测 器的各距离值。 所述距离测量探测器可包括第一距离测量探测器和第二距离测 量探测器两个, 用于在不同位置探测距离值, 以便于后续计算获得手写装置在 所述虚拟手写区中的位置坐标。
所述第一距离测量探测器和第二距离测量探测器可置于手机右侧, 所述虚 拟手写区即为: 在手机平面所在的二维平面中, 所述第一距离测量探测器和第 二距离测量探测器可以进行有效距离探测的范围区域。 当然所述第一距离测量 探测器和第二距离测量探测器也可以置于手机其他位置, 但需要所述第一距离 测量探测器和第二距离测量探测器均能同时检测到手写装置的距离值。
所述第一距离测量探测器探测其与虚拟手写区中的手写装置之间的距离, 得到第一距离值; 所述第二距离测量探测器探测其与虚拟手写区中的手写装置 之间的距离, 得到第二距离值; 所述 S501便可根据所述第一距离值、 所述第二 距离值以及预置的所述第一距萬测量探测器和所述第二距萬测量探测器之间的 距离值, 结合三角形相关计算公式, 计算得到所述手写装置在所述虚拟手写区 中的位置坐标。
另外, 还可通过设置彩灯照射的方式将该虚拟手写区展示给用户, 以方便 用户书写。
S502: 获取所述位置坐标所形成的轨迹, 并在检测到当前的手写输入结束 时, 获得整个手写输入过程中的手写轨迹。
具体的, S502中可以将 S501获得的连续的位置坐标连接起来, 实时生成 用户通过手写装置书写的轨迹, 当不能够检测到新的位置坐标而使位置坐标不 连续时, 例如用户写好某一个字的第一笔画后, 提笔将要写该字的下一笔画时, 则记录已生成的轨迹; 当再次获取到连续的位置坐标时, 则再次记录已生成的 轨迹, 直至本次手写输入结束。 确定本次输入结束后, S502中记录的一个或者 多个轨迹即构成本次手写输入的手写轨迹。
获得整个手写输入过程中的手写轨迹的步骤还可以为: 可在预设的时间间 隔例如 0.1秒的时间间隔到来时,将这 0.1秒内所述获取的各位置坐标连接起来, 生成在这 0.1秒内用户通过手写装置书写的轨迹,可通过手机等设备的显示器同 步显示此 0.1秒内的轨迹。 当用户继续移动手写装置书写时, 则继续根据实时获 得的位置坐标生成在多个 0.1秒时间间隔内的轨迹,并可通过手机等设备的显示 器连续显示这些轨迹供用户查看, 直至检测到当前的手写输入结束, 手写输入 结束时获得以及显示的多个时间间隔(如 0.1秒)的轨迹结合起来即构成此次书 写的手写轨迹。
获得整个手写输入过程中的手写轨迹的步骤还可以为: 预设置第一时间阈 值和第二时间阈值, 其中, 第二时间阈值大于第一时间阈值。 将获得的多个位 置坐标连接起来, 实时生成并记录用户通过手写装置书写的轨迹, 当从未能获 得位置坐标到再次获取新的位置坐标的时间间隔没有达到所述第一时间阈值 时, 继续生成并记录轨迹, 当所述从未能获得位置坐标到再次获取新的位置坐 标的时间间隔达到所述第二时间阈值时, 确定手写输入结束, 则记录的一个或 者多个轨迹构成手写轨迹。 位置坐标获取模块 2 已有一段时间如三秒的时间未能继续获取手写装置在虚拟 手写区的位置坐标, 即可确认书写结束; 或者例如, 用户通过按键等操作已确 定本次手写输入结束, 即可确认书写结束。
S503: 识别获取的所述手写轨迹所对应的字符, 并显示识别出的字符。 具体的, 在通过所述 S502得到整个手写轨迹后, 所述 S503可以通过现有 的字符识别算法, 得到该整个手写轨迹。 也可通过该手写轨迹的在本地存储的 字符数据库中查找与该手写轨迹相匹配的字符作为该手写轨迹所对应的字符。
所述 S503可精确识别得到所述手写轨迹所对应的一个字符作为用户此次书 写的字符, 并直接通过显示模块将该字符显示在相应的位置如短信的正文中。 当然所述 S503也可通过关联识别方式, 识别出与该手写轨迹匹配关联的多个字 符, 然后通过显示模块将识别出的多个字符显示在字符显示区中供用户从中选 择需要的字符, 最后由显示模块将用户选择的字符显示在相应的位置如短信的 正文中。 实施本发明实施例, 具有以下有益效果:
通过距离测量探测器探测获得其与虚拟手写区中的用户手指、 笔等书写装 置之间距离值, 根据所述距离值计算得到所述手写装置在虚拟手写区的位置坐 标并得到手写轨迹, 识别手写轨迹所对应的字符, 得出本次用户在虚拟手写区 手写输入的字符, 筒单方便地实现了手写输入; 同时, 采用成本低廉的距离测 量探测器代替由专门的材料经复杂工艺制成的触摸屏来实现虚拟手写区, 使得 虚拟手写区的实现方式筒单, 进一步的节约了成本低廉。
再请参见图 6,是本发明的实现虚拟手写输入的方法的第二实施例流程示意 图, 该方法具体包括:
S601 : 电子装置通过彩灯发出亮光, 展示所述虚拟手写区的有效范围。 本实施例中电子装置的距离测量探测器设置在手机的右侧, 所述彩灯也设 置在距离测量探测器的同一侧, 以便向用户展示虚拟手写区的有效范围。
本步骤可将由距离测量探测器覆盖形成的虚拟手写区展示给用户, 使得用 户对虚拟手写区的有效范围一目了然。 彩灯的发光颜色可调, 用户可根据需要 调节彩灯的发光颜色, 实现个性化的虚拟手写区。
S602: 实时监测获得手写装置在虚拟手写区中的位置坐标, 所述虚拟手写 区为所述电子装置中的距离测量探测器可以进行有效距离测量的区域。
所述电子装置中的距离测量探测器包括第一距离测量探测器和第二距离测 量探测器, 所述 S602具体可包括:
所述第一距离测量探测器探测其与虚拟手写区中的手写装置之间的距离, 得到第一距离值;
所述第二距离测量探测器探测其与虚拟手写区中的手写装置之间的距离, 得到第二距离值
根据所述第一距萬值、 所述第二距萬值以及预置的所述第一距萬测量探测 器和所述第二距离测量探测器之间的距离值, 计算得到所述手写装置在所述虚 拟手写区中的位置坐标。
S603: 获取所述位置坐标所形成的轨迹, 并在检测到当前的手写输入结束 时, 获得整个手写输入过程中的手写轨迹。
其中的检测当前的手写输入是否结束的方式具体可包括:
判断未获得手写装置在虚拟手写区中的位置坐标的时间间隔是否达到预设 的阈值, 若是, 则确认当前的手写输入结束, 否则, 继续获取所述位置坐标所 形成的轨迹; 或
判断是否接收到代表手写输入结束的按键操作, 若是, 则确认当前的手写 输入结束, 否则, 继续获取所述位置坐标所形成的轨迹。
S604: 识别获取的所述手写轨迹所对应的字符, 并显示识别出的字符。 示识别出的一个或者多个字符用以提供给用户选择确定本次手写输入的字符 实施本发明实施例, 具有以下有益效果:
通过距离测量探测器探测获得其与虚拟手写区中的用户手指、 笔等书写装 置之间距离值, 根据所述距离值计算得到所述手写装置在虚拟手写区的位置坐 标并得到手写轨迹, 识别手写轨迹所对应的字符, 得出本次用户在虚拟手写区 手写输入的字符, 筒单方便地实现了手写输入; 同时, 采用成本低廉的距离测 量探测器代替由专门的材料经复杂工艺制成的触摸屏来实现虚拟手写区, 使得 虚拟手写区的实现方式筒单, 进一步的节约了成本低廉, 另外, 还可通过颜色 可调的彩灯将有效的虚拟手写区展示给用户, 在使用户更好的进行手写输入的 同时, 满足了用户的个性化需求。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。
以上所揭露的仅为本发明一种较佳实施例而已, 当然不能以此来限定本发 明之权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的 范围。

Claims

权 利 要 求
1、 一种实现虚拟手写输入的方法, 其特征在于, 包括:
电子装置实时监测获得手写装置在虚拟手写区中的位置坐标, 所述虚拟手 写区为所述电子装置中的距离测量探测器可以进行有效距离测量的区域;
获取所述位置坐标所形成的轨迹, 并在检测到当前的手写输入结束时, 获 得整个手写输入过程中的手写轨迹;
识别获取的所述手写轨迹所对应的字符, 并显示识别出的字符。
2、 如权利要求 1所述的方法, 其特征在于, 所述电子装置中的距离测量探 测器包括第一距离测量探测器和第二距离测量探测器, 所述电子装置实时监测 获得手写装置在虚拟手写区中的位置坐标的步骤, 具体包括:
所述第一距离测量探测器探测其与虚拟手写区中的手写装置之间的距离, 得到第一距离值;
所述第二距离测量探测器探测其与虚拟手写区中的手写装置之间的距离, 得到第二距离值;
根据所述第一距离值、 所述第二距离值以及所述第一距离测量探测器和所 述第二距离测量探测器之间的距离值, 计算得到所述手写装置在所述虚拟手写 区中的位置坐标。
3、 如权利要求 2所述的方法, 其特征在于, 所述获取所述位置坐标所形成 的轨迹, 并在检测到当前的手写输入结束时, 获得整个手写输入过程中的手写 轨迹的步骤中, 检测当前的手写输入是否结束的具体步骤包括:
判断未获得手写装置在虚拟手写区中的位置坐标的时间间隔是否达到预设 的阈值, 若是, 则确认当前的手写输入结束; 或
判断是否接收到代表手写输入结束的按键操作, 若是, 则确认当前的手写 输入结束。
4、 如权利要求 1至 3任一项所述的方法, 其特征在于, 所述实时监测手写 装置在虚拟手写区中的位置坐标的步骤之前, 还包括: 通过彩灯发出亮光, 展示所述虚拟手写区的有效范围。
5、 如权利要求 4所述的方法, 其特征在于, 所述识别获取的所述手写轨迹 所对应的字符包括一个或者多个, 显示识别出的一个或者多个字符用以提供给 用户选择确定本次手写输入的字符。
6、 一种可实现虚拟手写输入的电子装置, 其特征在于, 包括:
距离测量探测器, 用于探测手写装置距离所述距离测量探测器的距离值; 位置坐标获取模块, 用于根据所述的距离值计算获得所述手写装置在虚拟 手写区中的位置坐标, 所述虚拟手写区为所述距离测量探测器可以进行有效距 离测量的区域;
手写轨迹生成模块, 用于获取所述位置坐标获取模块获得的位置坐标所形 成的轨迹, 并在检测到当前的手写输入结束时, 获得整个手写输入过程中的手 写轨迹;
识别模块, 用于识别所述手写轨迹生成模块获取的手写轨迹所对应的字符; 显示模块, 用于显示所述识别模块识别出的字符。
7、 如权利要求 6所述的电子装置, 其特征在于, 所述距离测量探测器包括 第一距离测量探测器和第二距离测量探测器;
所述第一距离测量探测器探测其与虚拟手写区中的手写装置之间的距离, 得到第一距离值;
所述第二距离测量探测器探测其与虚拟手写区中的手写装置之间的距离, 得到第二距离值;
所述手写轨迹生成模块是根据所述第一距离值、 所述第二距离值以及预置 的所述第一距离测量探测器和所述第二距离测量探测器之间的距离值, 计算得 到所述手写装置在所述虚拟手写区中的位置坐标。
8、 如权利要求 7所述的电子装置, 其特征在于, 还包括:
判断模块, 用于判断所述位置坐标获取模块未获得手写装置在虚拟手写区 中的位置坐标的时间间隔是否达到预设的阈值, 若是, 则确认当前的手写输入 结束, 通知所述手写轨迹生成模块获得整个手写输入过程中的手写轨迹; 或者, 用于判断是否接收到代表手写输入结束的按键操作, 若是, 则确认当前的 手写输入结束, 通知所述手写轨迹生成模块获得整个手写输入过程中的手写轨 迹。
9、 如权利要求 6至 8任一项所述的电子装置, 其特征在于, 还包括: 彩灯, 用于发出亮光, 展示所述虚拟手写区的有效范围。
10、 如权利要求 9所述的电子装置, 其特征在于,
所述识别模块识别获取的所述手写轨迹所对应的字符包括一个或者多个, 所述显示模块显示识别出的一个或者多个字符用以提供给用户选择确定本次手 写输入的字符。
PCT/CN2011/076832 2011-07-04 2011-07-04 一种实现虚拟手写输入的方法及电子装置 WO2011137862A2 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP11777281.4A EP2713251A4 (en) 2011-07-04 2011-07-04 METHOD AND ELECTRONIC DEVICE FOR VIRTUAL HANDWRITTEN ENTRY
KR1020137034143A KR101560308B1 (ko) 2011-07-04 2011-07-04 가상 필기 입력을 위한 방법 및 전자 장치
CN2011800016521A CN102301322B (zh) 2011-07-04 2011-07-04 一种实现虚拟手写输入的方法及电子装置
PCT/CN2011/076832 WO2011137862A2 (zh) 2011-07-04 2011-07-04 一种实现虚拟手写输入的方法及电子装置
US14/132,455 US9335836B2 (en) 2011-07-04 2013-12-18 Method and electronic apparatus for realizing virtual handwriting input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/076832 WO2011137862A2 (zh) 2011-07-04 2011-07-04 一种实现虚拟手写输入的方法及电子装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/132,455 Continuation US9335836B2 (en) 2011-07-04 2013-12-18 Method and electronic apparatus for realizing virtual handwriting input

Publications (2)

Publication Number Publication Date
WO2011137862A2 true WO2011137862A2 (zh) 2011-11-10
WO2011137862A3 WO2011137862A3 (zh) 2012-05-24

Family

ID=44904146

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076832 WO2011137862A2 (zh) 2011-07-04 2011-07-04 一种实现虚拟手写输入的方法及电子装置

Country Status (5)

Country Link
US (1) US9335836B2 (zh)
EP (1) EP2713251A4 (zh)
KR (1) KR101560308B1 (zh)
CN (1) CN102301322B (zh)
WO (1) WO2011137862A2 (zh)

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2013259642A1 (en) 2012-05-09 2014-12-04 Apple Inc. Device, method, and graphical user interface for moving and dropping a user interface object
AU2013259630B2 (en) 2012-05-09 2016-07-07 Apple Inc. Device, method, and graphical user interface for transitioning between display states in response to gesture
WO2013169843A1 (en) 2012-05-09 2013-11-14 Yknots Industries Llc Device, method, and graphical user interface for manipulating framed graphical objects
EP2847660B1 (en) 2012-05-09 2018-11-14 Apple Inc. Device, method, and graphical user interface for selecting user interface objects
WO2013169849A2 (en) 2012-05-09 2013-11-14 Industries Llc Yknots Device, method, and graphical user interface for displaying user interface objects corresponding to an application
DE112013002412T5 (de) 2012-05-09 2015-02-19 Apple Inc. Vorrichtung, Verfahren und grafische Benutzeroberfläche zum Bereitstellen von Rückmeldung für das Wechseln von Aktivierungszuständen eines Benutzerschnittstellenobjekts
DE112013002409T5 (de) 2012-05-09 2015-02-26 Apple Inc. Vorrichtung, Verfahren und grafische Benutzeroberfläche für die Anzeige zusätzlicher Informationen in Reaktion auf einen Benutzerkontakt
DE112013002387T5 (de) 2012-05-09 2015-02-12 Apple Inc. Vorrichtung, Verfahren und grafische Benutzeroberfläche für die Bereitstellung taktiler Rückkopplung für Operationen in einer Benutzerschnittstelle
WO2013169865A2 (en) 2012-05-09 2013-11-14 Yknots Industries Llc Device, method, and graphical user interface for moving a user interface object based on an intensity of a press input
WO2013169842A2 (en) 2012-05-09 2013-11-14 Yknots Industries Llc Device, method, and graphical user interface for selecting object within a group of objects
KR102091710B1 (ko) 2012-08-28 2020-04-14 삼성전자주식회사 좌표 측정 장치 및 그 제어 방법
KR102001332B1 (ko) 2012-12-29 2019-07-17 애플 인크. 콘텐츠를 스크롤할지 선택할지 결정하기 위한 디바이스, 방법 및 그래픽 사용자 인터페이스
EP2939095B1 (en) 2012-12-29 2018-10-03 Apple Inc. Device, method, and graphical user interface for moving a cursor according to a change in an appearance of a control icon with simulated three-dimensional characteristics
CN105320390A (zh) * 2014-06-20 2016-02-10 鸿合科技有限公司 基于电磁白板的双人手写识别方法、装置及电磁笔
KR102263064B1 (ko) 2014-08-25 2021-06-10 삼성전자주식회사 피사체의 움직임을 인식하는 장치 및 그 동작 방법
CN104331192B (zh) * 2014-10-20 2017-12-08 深圳市天英联合教育股份有限公司 电子白板显示方法
KR102029756B1 (ko) 2014-11-03 2019-10-08 삼성전자주식회사 웨어러블 디바이스 및 그 제어 방법
US9454235B2 (en) * 2014-12-26 2016-09-27 Seungman KIM Electronic apparatus having a sensing unit to input a user command and a method thereof
US10095396B2 (en) 2015-03-08 2018-10-09 Apple Inc. Devices, methods, and graphical user interfaces for interacting with a control object while dragging another object
US9632664B2 (en) 2015-03-08 2017-04-25 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US10048757B2 (en) 2015-03-08 2018-08-14 Apple Inc. Devices and methods for controlling media presentation
US9639184B2 (en) 2015-03-19 2017-05-02 Apple Inc. Touch input cursor manipulation
CN104778004A (zh) * 2015-03-24 2015-07-15 深圳市艾优尼科技有限公司 一种信息内容匹配方法
US20170045981A1 (en) 2015-08-10 2017-02-16 Apple Inc. Devices and Methods for Processing Touch Inputs Based on Their Intensities
KR102312888B1 (ko) * 2015-05-13 2021-10-15 삼성전자주식회사 입력장치, 이를 구비하는 전자기기 및 그 제어방법
US9891811B2 (en) 2015-06-07 2018-02-13 Apple Inc. Devices and methods for navigating between user interfaces
US9830048B2 (en) 2015-06-07 2017-11-28 Apple Inc. Devices and methods for processing touch inputs with instructions in a web page
US9860451B2 (en) 2015-06-07 2018-01-02 Apple Inc. Devices and methods for capturing and interacting with enhanced digital images
US10235035B2 (en) 2015-08-10 2019-03-19 Apple Inc. Devices, methods, and graphical user interfaces for content navigation and manipulation
US9880735B2 (en) 2015-08-10 2018-01-30 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN105700744A (zh) * 2016-01-07 2016-06-22 顾正堂 用于移动终端的触摸屏的输入点定位系统、方法及移动终端
CN106527828B (zh) * 2016-12-16 2018-05-08 上海交通大学 笔记本手写识别方法及其手写输入系统
WO2019084876A1 (zh) * 2017-11-02 2019-05-09 深圳市柔宇科技有限公司 针对写字评分系统的判定方法、系统及装置
CN112740151A (zh) * 2018-11-08 2021-04-30 深圳市欢太科技有限公司 一种终端设备的数据输入方法、终端设备及存储介质
CN110489005B (zh) * 2019-06-28 2022-12-27 浙江工业大学 具有触摸定位功能的二维点显器及其二维触点驱动方法
CN115185443A (zh) * 2022-06-24 2022-10-14 青岛海信移动通信技术股份有限公司 手写输入方法、装置、终端设备及计算机可读存储介质

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4094794B2 (ja) * 1999-09-10 2008-06-04 株式会社リコー 座標検出装置、情報記憶媒体および座標検出方法
WO2002054217A1 (fr) * 2000-12-27 2002-07-11 Ntt Docomo,Inc. Procede et dispositif de saisie de donnees en ecriture manuscrite, et procede et dispositif d'authentification
KR100713407B1 (ko) 2002-11-18 2007-05-04 삼성전자주식회사 펜 컴퓨팅 시스템에서의 펜 입력 방법 및 장치
JP4612853B2 (ja) * 2005-03-29 2011-01-12 キヤノン株式会社 指示位置認識装置及びそれを有する情報入力装置
US20070070045A1 (en) * 2005-09-27 2007-03-29 Shu-Chuan Sung Entering a character into an electronic device
CN101071350B (zh) * 2006-05-11 2011-06-15 华移联科(沈阳)技术有限公司 一种通过识别动态轨迹操作光标、视窗的装置
US7974472B2 (en) * 2007-06-29 2011-07-05 Microsoft Corporation Feature design for HMM based Eastern Asian character recognition
JP4835538B2 (ja) * 2007-08-10 2011-12-14 パナソニック電工株式会社 画像表示装置
US8285049B2 (en) * 2008-06-06 2012-10-09 Microsoft Corporation Corrections for recognizers
CN101430632A (zh) * 2008-12-19 2009-05-13 深圳华为通信技术有限公司 触摸屏输入方法、装置和通信终端
KR101080255B1 (ko) 2009-07-21 2011-11-08 (주)펜앤프리 필기 패턴에 따른 필기 정보 입력 장치 및 필기 정보 입력 방법
KR101654008B1 (ko) * 2009-10-09 2016-09-09 삼성전자주식회사 음향신호 처리를 이용한 모바일 기기 및 상기 모바일 기기에서 수행되는 음향 신호 처리 방법

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
None

Also Published As

Publication number Publication date
EP2713251A2 (en) 2014-04-02
US20140104164A1 (en) 2014-04-17
CN102301322B (zh) 2013-08-28
EP2713251A4 (en) 2014-08-06
KR101560308B1 (ko) 2015-10-14
US9335836B2 (en) 2016-05-10
KR20140016987A (ko) 2014-02-10
WO2011137862A3 (zh) 2012-05-24
CN102301322A (zh) 2011-12-28

Similar Documents

Publication Publication Date Title
WO2011137862A2 (zh) 一种实现虚拟手写输入的方法及电子装置
JP6832372B2 (ja) スタイラスのソフトタッチ検出
US9448645B2 (en) Digitizer using multiple stylus sensing techniques
JP5991041B2 (ja) 仮想タッチスクリーンシステム及び双方向モード自動切換方法
US8593398B2 (en) Apparatus and method for proximity based input
US8743089B2 (en) Information processing apparatus and control method thereof
US20130241832A1 (en) Method and device for controlling the behavior of virtual objects on a display
US20130300696A1 (en) Method for identifying palm input to a digitizer
TWI461962B (zh) 用以執行多手指手勢功能之計算裝置及方法
TW201305884A (zh) 觸控裝置及使用該觸控裝置的滑鼠
KR20100027042A (ko) 멀티 포인트 터치 감지 장치
WO2018018624A1 (zh) 一种可穿戴设备的手势输入方法及可穿戴设备
US20160054831A1 (en) Capacitive touch device and method identifying touch object on the same
TWI488082B (zh) 可攜式電子裝置及觸控感測方法
CN110377214A (zh) 角度侦测方法和角度侦测装置
WO2015081863A1 (zh) 信息输入方法、装置及终端
CN107992232A (zh) 一种基于红外多点框的标签式物体识别系统
CN106796462A (zh) 确定输入对象的位置
KR20160089717A (ko) 펜의 기울기 정보를 이용하여 3d 호버링 인식이 가능한 디지타이저 시스템
US20240004483A1 (en) Input device with optical sensors
JP3244734U (ja) 姿勢の検知手段を有する筆記具または操作機器
US20170139545A1 (en) Information processing apparatus, information processing method, and program
JP2021111074A (ja) 情報処理装置、情報処理方法および情報処理プログラム
WO2023229646A1 (en) Using touch input data to improve fingerprint sensor performance
TWI409668B (zh) 具觸控功能之主機系統及其執行方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001652.1

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11777281

Country of ref document: EP

Kind code of ref document: A2

WWE Wipo information: entry into national phase

Ref document number: 2011777281

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20137034143

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11777281

Country of ref document: EP

Kind code of ref document: A2