WO2020093329A1 - 一种终端设备的数据输入方法、终端设备及存储介质 - Google Patents

一种终端设备的数据输入方法、终端设备及存储介质 Download PDF

Info

Publication number
WO2020093329A1
WO2020093329A1 PCT/CN2018/114631 CN2018114631W WO2020093329A1 WO 2020093329 A1 WO2020093329 A1 WO 2020093329A1 CN 2018114631 W CN2018114631 W CN 2018114631W WO 2020093329 A1 WO2020093329 A1 WO 2020093329A1
Authority
WO
WIPO (PCT)
Prior art keywords
handwriting
terminal device
trajectory
characters
input
Prior art date
Application number
PCT/CN2018/114631
Other languages
English (en)
French (fr)
Inventor
黄千洋
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/114631 priority Critical patent/WO2020093329A1/zh
Priority to CN201880097847.2A priority patent/CN112740151A/zh
Publication of WO2020093329A1 publication Critical patent/WO2020093329A1/zh

Links

Images

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/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

Definitions

  • the present application belongs to the technical field of input methods, and particularly relates to a data input method of a terminal device, a terminal device, and a computer-readable storage medium.
  • the traditional calculator function has been widely used in various terminal devices, and users only need to use the terminal device to enjoy the function of the calculator. Due to the adoption of the touch screen, the calculator function on the terminal device also mainly realizes the input of mathematical symbols through the virtual buttons displayed on the touch screen.
  • the interface of the calculator on the terminal device mainly includes two areas: an input area and a display area, the input area provides characters (Arabic numerals and mathematical symbols) for the user to click to select, and the display area is used to display the character or operation selected by the user by clicking Results etc.
  • the present application provides a data input method for a terminal device, a terminal device, and a computer-readable storage medium to improve the efficiency of character input in current calculator applications.
  • the first aspect of the present application provides a data input method for a terminal device, including:
  • a handwriting trajectory is generated according to the handwriting information input by the handwriting input operation
  • the handwriting trajectory is recognized to obtain a recognition result, and the recognition result includes one or more characters, and the characters include: Arabic numerals and mathematical symbols.
  • the second aspect of the present application provides a terminal device, including:
  • a handwriting information monitoring unit used to monitor the handwriting input operation in the handwriting input interface of the calculator application after the calculator application in the terminal device is started;
  • a handwriting trajectory generating unit configured to generate a handwriting trajectory according to the handwriting information input by the handwriting input operation if a handwriting input operation in the handwriting input interface of the calculator application is detected;
  • the character recognition unit is used for recognizing the handwriting trajectory to obtain a recognition result after detecting the end of the handwriting input operation.
  • the recognition result includes one or more characters, and the characters include: Arabic numerals and mathematical symbols.
  • a third aspect of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor implements the computer program when executing the computer program. Apply the steps of the method provided in the first aspect of the embodiment.
  • a fourth aspect of the present application provides a computer-readable storage medium that stores a computer program that is executed by one or more processors to implement the first aspect of the embodiments of the present application The steps of the method.
  • a fifth aspect of the present application provides a computer program product.
  • the computer program product includes a computer program, which when executed by one or more processors implements the steps of the method provided by the first aspect of the present application.
  • FIG. 1 is a schematic diagram of an implementation process of a data input method of a terminal device provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of the effect of a display interface of a calculator application provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of the effect of a handwriting input process of a calculator application provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of an implementation process of another data input method of a terminal device provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a handwriting input direction in a landscape state provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a handwriting input direction in a portrait-oriented state provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an effect of dividing an area where a handwriting trajectory is located into multiple sub-areas provided by an embodiment of the present application;
  • FIG. 8 is a schematic diagram of an implementation process of another data input method of a terminal device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an effect of a process of dividing a region where a handwriting trajectory is located into multiple sub-regions through a sliding window provided by an embodiment of the present application;
  • FIG. 10 is a schematic block diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 11 is a schematic block diagram of another terminal device provided by an embodiment of the present application.
  • the term “if” may be interpreted as “when” or “once” or “in response to determination” or “in response to detection” depending on the context .
  • the phrase “if determined” or “if [described condition or event] is detected” can be interpreted in the context to mean “once determined” or “in response to a determination” or “once detected [described condition or event ] “Or” In response to detection of [the described condition or event] ".
  • FIG. 1 is a schematic flowchart of an implementation method of a data input method for a terminal device according to an embodiment of the present application. As shown in the figure, the method may include the following steps:
  • Step S101 After the calculator application in the terminal device is started, monitor the handwriting input operation in the handwriting input interface of the calculator application.
  • a calculator application may be installed in the terminal device, and after starting the computer application, a handwriting input interface will be displayed on the display interface of the terminal device.
  • a preset button on the display interface of the terminal device after the calculator application is started, and the user can switch between the handwriting input interface and the button input interface (handwriting is not supported) through the preset button.
  • use one of the interfaces as the default interface and display the default interface directly after the calculator application is started.
  • the handwriting input interface provides an area for users to perform handwriting input operations.
  • the handwriting input operation may be a touch operation. For example, a user performs a touch operation with a finger or a stylus pen on a handwriting input interface to input handwritten information.
  • Step S102 if the handwriting input operation in the handwriting input interface of the calculator application is monitored, a handwriting trajectory is generated according to the handwriting information input by the handwriting input operation.
  • the handwriting input operation in the handwriting input interface of the calculator application it means that the touch operation in the handwriting input interface is detected.
  • a sensor is provided on the display screen of the terminal device, and if there is a sensor that senses the user's touch, it means that the handwriting input operation in the handwriting input interface of the calculator application is detected, and the area where the handwriting input interface is located is sensed
  • the position (coordinates) of the sensor touched by the user is recorded as handwriting information.
  • the positions (coordinates) of all sensors in the handwriting input interface that feel the user's touch are combined to generate a handwriting trajectory.
  • the method further includes:
  • the handwriting trajectory is displayed according to the position of the handwriting information in the handwriting input interface.
  • the handwriting trajectory may be displayed in the handwriting input interface, and when displayed, according to the position (coordinates) of the handwriting information on the handwriting input interface ) To display.
  • the position (sensor position or coordinates) touched by the user is displayed in a color different from the background color of the handwriting input interface.
  • FIG. 2 is a schematic diagram of the effect of a display interface of a calculator application provided by an embodiment of the present application. As shown in FIG. 2, after a user enters “1024” in a handwriting input interface, it is displayed in a color different from the background color of the handwriting input interface Handwriting track "1024".
  • step S103 after detecting that the handwriting input operation is completed, the handwriting trajectory is recognized to obtain a recognition result, and the recognition result includes one or more characters, and the characters include: Arabic numerals and mathematical symbols.
  • the display interface of the terminal device further includes: a virtual button; as shown in FIG. 2, the display interface includes a handwriting input interface and a virtual button.
  • the user can input characters by handwriting on the handwriting input interface, or the user can input characters by clicking a virtual button.
  • Arabic numerals (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
  • recognizing the handwriting trajectory to obtain a recognition result includes:
  • the handwriting input operation can be a touch operation.
  • the calculator application provided in the embodiment of the present application can recognize multiple characters input by the user at one time. Therefore, one handwriting input operation may include one touch operation, for example, Arabic numeral 1 can be completed by one touch operation; it may also include multiple intermittent touch operations, for example, Arabic numeral 10 requires two intermittent touch operations. Since the user is allowed to enter multiple characters by hand, it is necessary to determine whether the user needs the calculator application to recognize characters after writing 1, or the calculator application to recognize characters after writing 10, or whether to continue to enter other characters after writing 10 Only need the calculator application to recognize characters.
  • the method of judgment may be that if a touch operation is performed in the handwriting input interface, and the user does not perform a new touch operation in the handwriting input interface within a preset time after lifting the finger, the handwriting input operation is determined to end; or, the user After the touch operation is performed in the handwriting input interface, the operation of clicking the virtual button is detected, and it is determined that the handwriting input operation is ended.
  • the schematic diagram of the effect of the handwriting input process shown in FIG. 3 when the user clicks the virtual button "+” after handwriting input "1024" on the handwriting input interface, it means that the current handwriting input is over, and the user can write "" 1024 "to identify and obtain the recognition result, the recognition result is 1024.
  • the user After the user inputs "+” through the virtual button, he can continue to input multiple mathematical symbols "168".
  • the user may also pause for a time longer than a preset time, as long as no new touch operation is detected within the preset time after the touch operation disappears in the handwriting input interface, the current The handwriting input ends.
  • the user can handwrite multiple characters at a time on the handwriting input interface, and then the calculator application can recognize the multiple characters. It avoids the problem of a long process of finding multiple virtual buttons when the characters to be input are all input through virtual buttons; it also avoids the problem of a long process of recognizing one character at a time when only one character is input during handwriting input; Therefore, the efficiency of inputting characters in the calculator application can be improved.
  • the recognizing the handwriting trajectories in each sub-region separately, and obtaining the characters corresponding to the handwriting trajectories in each sub-region include:
  • a template of characters that can be recognized by the calculator application is pre-stored.
  • the character template can be saved as Arabic in a preset database Digital template.
  • the set calculator application has the function of recognizing Arabic numerals and decimal points
  • the template of Arabic numerals and decimal points can be saved in the preset database.
  • the set calculator application also has the function of recognizing mathematical operation symbols, it can be stored in the preset database Save the mathematical operation symbol template. After dividing multiple sub-regions, each sub-region is a character's handwriting trajectory, you can identify the handwriting trajectories in each sub-region.
  • the recognition process can separate the handwriting trajectories in each sub-region from the preset Match each character template to obtain the characters corresponding to the handwriting trajectories in each sub-region.
  • the character corresponding to the character template with the highest matching degree may be used as the character corresponding to the handwriting trajectory in the current sub-region.
  • the method before matching the handwriting trajectories in each sub-region with the preset multiple character templates, the method further includes:
  • a handwriting trajectory is generated based on the handwriting information input through the template input interface, and the current handwriting trajectory is used as the character template corresponding to the character of the template to be set.
  • the user can input the corresponding characters by handwriting, and store the characters input by the user as a template .
  • the characters (such as 6) of the template to be set and the template input interface can be displayed on the display interface of the terminal device, and the user can input 6 in the template input interface, and then the handwriting information in the template input interface can be used to generate a handwriting trajectory.
  • the handwriting track 6 serves as a character template corresponding to the character 6. In this way, the efficiency and accuracy of matching can be improved.
  • FIG. 4 is a schematic flowchart of another handwriting input method provided by an embodiment of the present application.
  • FIG. 4 describes, on the basis of the embodiment shown in FIG. 1, how to recognize the handwriting trajectory to obtain a recognition result, as shown in the figure , Which can include the following steps:
  • Step S401 Identify the handwriting trajectory to obtain one or more characters corresponding to the handwriting trajectory.
  • the handwriting input direction can be obtained, and based on the handwriting input direction, the area where the handwriting trajectory is located is divided into one or more sub-regions; the handwriting trajectories in each sub-region are separately identified to obtain The character corresponding to the handwriting trajectory in each sub-region.
  • the handwriting input direction may be a sequence from left to right on the display interface from the perspective of the user when the user faces the display interface of the calculator application. That is, the handwriting input direction is the direction in which the user inputs characters.
  • the acquiring the handwriting input direction includes:
  • the handheld direction of the terminal device can be obtained.
  • sensors such as a gravity sensor
  • the handheld device terminal direction can be The hand-held direction corresponding to the horizontal screen state or the hand-held direction corresponding to the vertical screen state.
  • the handwriting input direction is from left to right in the display interface of the terminal device in the horizontal screen state
  • the direction of the user (the user's perspective), as shown in Figure 5, the direction marked in the figure is the direction of handwriting input in the horizontal screen state; similarly, when the handheld direction of the terminal device is the corresponding handheld direction in the vertical screen state, the handwriting input direction is The direction from left to right in the display interface of the terminal device in the portrait-oriented state (the user's perspective), as shown in FIG. 6, the direction marked in the figure is the direction of handwriting input in the portrait-oriented state.
  • the acquiring the direction of the handwriting input includes:
  • a curve is generated according to the starting point of multiple touch operations, and the baseline direction of the curve is used as the handwriting input direction.
  • the user's handwriting input operation may have multiple intermittent touch operations, for example, writing 168 three characters at a time in the handwriting input interface, there may be three touch operations, each touch operation is from Detecting the touch in the handwriting input interface until the touch disappears is regarded as one touch operation. If 168 is to be written, there may be three touch operations.
  • the starting point of the three-touch operation can be used to generate a curve, and the baseline direction of the curve can be used as the handwriting input direction.
  • the following method for determining the direction of handwriting input may also be selected when the aspect ratio of the area (rectangular area) where the handwriting trajectory is located is greater than a preset value: generating a curve according to the starting point position of multiple touch operations , Take the baseline direction of the curve as the handwriting input direction.
  • the area where the handwriting trajectory is located can be divided into one or more sub-regions based on the handwriting input direction; the handwriting trajectories in each sub-region are separately identified to obtain Character corresponding to the handwriting trajectory.
  • the arrangement direction of the multiple sub-regions is the handwriting input direction.
  • the area where the handwriting trajectory 168 is located is divided into three sub-areas along the handwriting input direction.
  • the characters corresponding to the handwriting trajectory in each sub-region can be obtained by identifying the handwriting trajectory in each sub-region.
  • the recognition result of the handwriting trajectory in the first sub-region is character 1
  • the recognition result of the handwriting trajectory in the second sub-region is character 6
  • the recognition result of the handwriting trajectory in the third sub-region The recognition result is character 8.
  • step S402 if a character is obtained, the obtained character is used as a recognition result.
  • step S403 if multiple characters are obtained, the multiple characters are sorted based on the positions of the handwriting trajectories corresponding to the characters respectively, and the sorted multiple characters are used as the recognition result.
  • the obtained character is the recognition result.
  • multiple characters may be recognized.
  • the user has a sequence of multiple characters input by handwriting. Therefore, the recognized multiple characters need to be sorted according to the sub-region in the direction of handwriting input.
  • the characters corresponding to the handwriting trajectories in each sub-area are sequentially sorted, that is, the plurality of characters are sorted based on the positions of the sub-areas corresponding to the characters respectively.
  • the characters corresponding to the handwriting trajectory in each sub-area may also be sorted according to the time of the touch operation corresponding to the detected handwriting trajectory in each sub-area.
  • FIG. 8 is a schematic flowchart of another handwriting input method provided by an embodiment of the present application.
  • FIG. 8 describes, based on the embodiment shown in FIG. 4, how to convert the area where the handwriting trajectory is based on the handwriting input direction Divided into one or more sub-regions, as shown in the figure, can include the following steps:
  • Step S801 Control a sliding window of a preset width to slide along the direction of the handwriting input in an area where the handwriting trajectory is located to obtain the position of the sliding window when the first preset condition is satisfied.
  • the area where the handwriting trajectory is located may be the area where the smallest circumscribed rectangle of the handwriting trajectory is located.
  • the outermost white frame of the handwriting trajectory 168 is the smallest circumscribed rectangle of the handwriting trajectory 168.
  • the window at the position W0 is a sliding window, the width of the sliding window can be set in advance, and the sliding window is controlled to slide along the sliding direction in the smallest circumscribed rectangular area of the handwriting trajectory.
  • the sliding direction may be a handwriting input direction, the width of the sliding window is preset, and the length of the sliding window is greater than or equal to the width of the minimum circumscribed rectangle in the direction perpendicular to the sliding direction. In the sliding process of the sliding window, there will be multiple positions, such as the position where W1 is located and the position where W2 is located.
  • the position of the sliding window when the first preset condition is met when the position of the sliding window when the first preset condition is met is obtained, it may be set as:
  • the position where the number of pixels in the area intersecting the handwriting trajectory is less than a preset number is used as the position of the sliding window when the first preset condition is satisfied.
  • different preset areas or different preset numbers can be set according to sliding windows of different widths.
  • the preset area and the preset number can also be set to 0.
  • the position of W1 is the position of the sliding window when the first preset condition is met.
  • the position of W2 is not the position of the sliding window when the first preset condition is met.
  • W1 and W2 shown in FIG. 9 are only used as examples and are not intended to limit the present invention.
  • Step S802 Based on the position of the sliding window when the first preset condition is satisfied, determine a center line of the sliding window when the first preset condition is met, and record the center line as a boundary line, where the center The line is perpendicular to the direction of the handwriting input.
  • the position of the sliding window when the first preset condition is met can be used as a boundary between two sub-regions. Since the sliding window itself has a certain width, the centerline of the sliding window can be set The position of is used as the position of the dividing line between the two sub-regions. Of course, the selected center line is the center line perpendicular to the sliding direction. In practical applications, the position of other lines parallel to the center line in the area defined by the sliding window may also be selected as the position of the boundary line.
  • Step S803 Determine the distance between any two adjacent boundary lines, merge two adjacent boundary lines smaller than the first preset distance, and merge two adjacent boundary lines smaller than the first predetermined distance
  • the center line of the defined area serves as the combined dividing line.
  • Step S804 between two adjacent dividing lines greater than the second preset distance, a new dividing line is generated at a position that satisfies the second preset condition.
  • a new boundary line generated at a position satisfying the second preset condition is:
  • the center line of the area defined by two adjacent dividing lines greater than the second preset distance is taken as the newly generated dividing line.
  • the width, preset area, or preset number of the sliding window may be unreasonable, or, when the user writes in the handwriting input interface, the characters are too close, resulting in The subregion divided by the dividing line of is unreasonable. For example, there are multiple dividing lines between the first character and the second character, or there is no dividing line between the two characters. Therefore, it is necessary to process the obtained boundary lines, merge adjacent boundary lines that are too small in distance (no characters exist between adjacent boundary lines that are too small in distance), and merge adjacent boundary lines that are too far in distance.
  • a line with the same distance between two adjacent dividing lines and the two dividing lines can be selected as the new dividing line, and the original two dividing lines are cancelled.
  • a line with the same distance between two adjacent dividing lines as the two dividing lines can be selected as the newly added dividing line, and the original two dividing lines remain.
  • the second preset distance is greater than the first preset distance.
  • the width of the smallest circumscribed rectangle of the handwriting trajectory in the direction perpendicular to the handwriting input direction represents the height of one character
  • the first preset distance can be set to be less than half of the character height, that is, the first Let the distance be less than or equal to half the width of the smallest circumscribed rectangle of the handwriting trajectory in the direction perpendicular to the handwriting input direction.
  • Step S805 Based on the boundary line, divide the area where the handwriting trajectory is located into one or more sub-areas.
  • the area where the handwriting trajectory is located can be divided into one or more sub-regions according to the boundary line.
  • the determined boundary line is 0, it means The area where the handwriting trajectory is located is a sub-area, and when the determined dividing line is at least one, it means that the area where the handwriting trajectory is located is divided into at least two sub-areas. For example, as shown in FIG. 7, the area where the handwriting trajectory is located is divided into three sub-areas.
  • FIG. 10 is a schematic block diagram of a terminal device provided by an embodiment of the present application. For convenience of description, only parts related to the embodiment of the present application are shown.
  • the terminal device 10 may be a software unit, a hardware unit, or a combination of software and hardware built in terminal devices such as mobile phones, tablet computers, and notebooks, or may be integrated as an independent pendant into the terminal devices such as mobile phones, tablet computers, and notebooks in.
  • the terminal device 10 includes:
  • the handwriting information monitoring unit 101 is configured to monitor the handwriting input operation in the handwriting input interface of the calculator application after the calculator application in the terminal device is started;
  • the handwriting trajectory generating unit 102 is configured to generate a handwriting trajectory according to the handwriting information input by the handwriting input operation if the handwriting input operation in the handwriting input interface of the calculator application is detected;
  • the character recognition unit 103 is configured to recognize the handwriting trajectory to obtain a recognition result after detecting the end of the handwriting input operation, and the recognition result includes one or more characters, and the characters include: Arabic numerals and mathematical symbols .
  • the terminal device 10 further includes:
  • the display unit 104 is configured to display the handwriting trajectory according to the position of the handwriting information in the handwriting input interface after generating the handwriting trajectory according to the handwriting information input by the handwriting input operation.
  • the character recognition unit 103 is further used to:
  • the display interface of the terminal device further includes: a virtual button; correspondingly, the character recognition unit 103 is further used to:
  • the character recognition unit 103 includes:
  • the character recognition module 1031 is configured to recognize the handwriting trajectory and obtain one or more characters corresponding to the handwriting trajectory;
  • the recognition result obtaining module 1032 is used to obtain the character as the recognition result if a character is obtained;
  • the recognition result obtaining module 1032 is further configured to, if multiple characters are obtained, sort the multiple characters based on the positions of the handwriting trajectories corresponding to the characters, and use the sorted multiple characters as the recognition result .
  • the character recognition module 1031 includes:
  • the area division submodule 10311 is used to obtain a handwriting input direction, and based on the handwriting input direction, divide the area where the handwriting trajectory is located into one or more sub-areas;
  • the character recognition sub-module 10312 is used to separately recognize the handwriting trajectories in each sub-region to obtain the characters corresponding to the handwriting trajectories in each sub-region;
  • the recognition result obtaining module 1032 is also used to:
  • the area division submodule 10311 is further used to:
  • the area division submodule 10311 is further used to:
  • a curve is generated according to the starting point of multiple touch operations, and the direction of the baseline of the curve is used as the direction of handwriting input.
  • the area division submodule 10311 is further used to:
  • the area where the handwriting trajectory is located is divided into one or more sub-areas.
  • the area division submodule 10311 is further used to:
  • the position where the number of pixels in the area intersecting the handwriting trajectory is less than a preset number is used as the position of the sliding window when the first preset condition is satisfied.
  • the area division submodule 10311 is further used to:
  • the two adjacent dividing lines smaller than the first preset distance are combined, and the center line of the area defined by the two adjacent dividing lines smaller than the first preset distance is used as the combined dividing line.
  • the area division submodule 10311 is further used to:
  • a position satisfying the second preset condition Create a new dividing line.
  • the area division submodule 10311 is further used to:
  • the center line of the area defined by two adjacent dividing lines greater than the second preset distance is taken as the newly generated dividing line.
  • the area where the handwriting trajectory is located is the area where the smallest circumscribed rectangle of the handwriting trajectory is located.
  • the first preset distance is less than or equal to half the width of the smallest circumscribed rectangle of the handwriting trajectory in a direction perpendicular to the handwriting input direction, and the second preset distance is greater than The first preset distance.
  • the character recognition sub-module 10312 is further used to:
  • the terminal device 10 further includes:
  • the character template monitoring unit is used to display the characters of the template to be set and the template input interface, and monitor the handwritten information input through the template input interface;
  • the character template setting unit is used to generate a handwriting trajectory based on the handwriting information input through the template input interface after detecting the handwriting information input through the template input interface, and use the current handwriting trajectory as the character corresponding to the template to be set Character template.
  • each functional unit and module is used as an example for illustration.
  • the above-mentioned functions may be allocated by different functional units,
  • the module is completed, that is, the internal structure of the terminal device is divided into different functional units or modules to complete all or part of the functions described above.
  • the functional units and modules in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may use hardware It can also be implemented in the form of software functional units.
  • the specific names of each functional unit and module are only for the purpose of distinguishing each other, and are not used to limit the protection scope of the present application.
  • For the specific working processes of the units and modules in the foregoing terminal device reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
  • the terminal device 11 of this embodiment includes one or more processors 110, a memory 111, and a computer program 112 stored in the memory 111 and executable on the processor 110.
  • the processor 110 executes the computer program 112
  • the steps in the above method embodiments are implemented, for example, steps S101 to S103 shown in FIG. 1.
  • the processor 110 executes the computer program 112
  • the functions of each module / unit in the foregoing embodiment of the terminal device are realized, for example, the functions of the modules 101 to 103 shown in FIG.
  • the computer program 112 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 111 and executed by the processor 110 to complete This application.
  • the one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 112 in the terminal device 11.
  • the computer program 112 may be divided into a handwriting information monitoring unit, a handwriting trajectory generating unit, and a character recognition unit. Exemplary:
  • the handwriting information monitoring unit is used to monitor the handwriting input operation in the handwriting input interface of the calculator application after the calculator application in the terminal device is started;
  • the handwriting trajectory generating unit is configured to generate a handwriting trajectory according to the handwriting information input by the handwriting input operation if a handwriting input operation in the handwriting input interface of the calculator application is detected;
  • the character recognition unit is configured to recognize the handwriting trajectory to obtain a recognition result after detecting the end of the handwriting input operation, and the recognition result includes one or more characters, and the characters include: Arabic numerals and mathematics symbol.
  • the terminal device includes but is not limited to the processor 110 and the memory 111.
  • FIG. 11 is only an example of the terminal device 11 and does not constitute a limitation on the terminal device 11, and may include more or less components than the illustration, or a combination of certain components, or different Components, for example, the terminal device may further include an input device, an output device, a network access device, a bus, a touch screen, and so on.
  • the processor 110 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 111 may be an internal storage unit of the terminal device 11, such as a hard disk or a memory of the terminal device 11.
  • the memory 111 may also be an external storage device of the terminal device 11, such as a plug-in hard disk equipped on the terminal device 11, a smart memory card (Smart, Media, Card, SMC), and a secure digital (SD) Cards, flash cards, etc. Further, the memory 111 may also include both an internal storage unit of the terminal device 11 and an external storage device.
  • the memory 111 is used to store the computer program and other programs and data required by the terminal device.
  • the memory 111 may also be used to temporarily store data that has been output or will be output.
  • the disclosed terminal device and method may be implemented in other ways.
  • the terminal device embodiments described above are only schematic.
  • the division of the modules or units is only a division of logical functions.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit.
  • the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by a computer program instructing relevant hardware.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments may be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate form.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals and software distribution media, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunications signals and software distribution media, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种终端设备的数据输入方法、终端设备及计算机可读存储介质,所述方法包括:在终端设备中的计算器应用启动后,监测所述计算器应用的手写输入界面中的手写输入操作,若监测到所述计算器应用的手写输入界面中的手写输入操作,则根据所述手写输入操作输入的手写信息生成手写轨迹,在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果,所述识别结果包括一个或多个字符,所述字符包括:阿拉伯数字和数学符号,通过本申请可以提高目前计算器应用中字符输入的效率。

Description

一种终端设备的数据输入方法、终端设备及存储介质 技术领域
本申请属于输入法技术领域,尤其涉及一种终端设备的数据输入方法、终端设备及计算机可读存储介质。
背景技术
随着终端设备技术的发展,传统的计算器功能已广泛应用于各种终端设备中,用户只需使用终端设备就可以享受计算器的功能。由于触控屏的采用,终端设备上的计算器功能也主要通过触控屏上显示的虚拟按钮实现数学符号的输入。
目前,终端设备上的计算器的界面主要包括两个区域:输入区域和显示区域,输入区域提供字符(阿拉伯数字和数学符号)供用户点击选择,显示区域用于显示用户点击选择的字符或者运算结果等。
发明内容
本申请提供一种终端设备的数据输入方法、终端设备及计算机可读存储介质,以提高目前计算器应用中字符输入的效率。
本申请的第一方面提供了一种终端设备的数据输入方法,包括:
在终端设备中的计算器应用启动后,监测所述计算器应用的手写输入界面中的手写输入操作;
若监测到所述计算器应用的手写输入界面中的手写输入操作,则根据所述手写输入操作输入的手写信息生成手写轨迹;
在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果,所述识别结果包括一个或多个字符,所述字符包括:阿拉伯数字和数学符号。
本申请的第二方面提供了一种终端设备,包括:
手写信息监测单元,用于在终端设备中的计算器应用启动后,监测所述计算器应用的手写输入界面中的手写输入操作;
手写轨迹生成单元,用于若监测到所述计算器应用的手写输入界面中的手写输入操作,则根据所述手写输入操作输入的手写信息生成手写轨迹;
字符识别单元,用于在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果,所述识别结果包括一个或多个字符,所述字符包括:阿拉伯数字和数学符号。
本申请的第三方面提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现本申请实施例第一方面提供的所述方法的步骤。
本申请的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有 计算机程序,所述计算机程序被一个或多个处理器执行时实现本申请实施例第一方面提供的所述方法的步骤。
本申请的第五方面提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序被一个或多个处理器执行时实现本申请第一方面提供的所述方法的步骤。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种终端设备的数据输入方法的实现流程示意图;
图2是本申请实施例提供的一种计算器应用的显示界面的效果示意图;
图3是本申请实施例提供的一种计算器应用的手写输入过程的效果示意图;
图4是本申请实施例提供的另一种终端设备的数据输入方法的实现流程示意图;
图5是本申请实施例提供的一种横屏状态下的手写输入方向的示意图;
图6是本申请实施例提供的一种竖屏状态下的手写输入方向的示意图;
图7是本申请实施例提供的一种将手写轨迹所在的区域划分为多个子区域的效果示意图;
图8是本申请实施例提供的另一种终端设备的数据输入方法的实现流程示意图;
图9是本申请实施例提供的一种通过滑动窗口将手写轨迹所在的区域划分为多个子区域的过程的效果示意图;
图10是本申请实施例提供的一种终端设备的示意框图;
图11是本申请实施例提供的另一种终端设备的示意框图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文 清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。
图1是本申请实施例提供的一种终端设备的数据输入方法的实现流程示意图,如图所示,该方法可以包括以下步骤:
步骤S101,在终端设备中的计算器应用启动后,监测所述计算器应用的手写输入界面中的手写输入操作。
在本申请实施例中,终端设备中可以安装计算器应用,在启动计算机应用后,终端设备的显示界面上会显示手写输入界面。当然,也可以在计算器应用启动后,在终端设备的显示界面上设置预设按钮,用户可以通过预设按钮实现手写输入界面和按钮输入界面(不支持手写)的切换。或者将其中一种界面作为默认界面,在计算器应用开启后,直接显示默认界面。手写输入界面向用户提供区域进行手写输入操作。所述手写输入操作可以是触摸操作。例如,用户在手写输入界面用手指或者触控笔进行触摸操作,从而输入手写信息。
步骤S102,若监测到所述计算器应用的手写输入界面中的手写输入操作,则根据所述手写输入操作输入的手写信息生成手写轨迹。
在本申请实施例中,若监测到所述计算器应用的手写输入界面中的手写输入操作表示监测到所述手写输入界面中的触摸操作。例如,终端设备的显示屏中设置了传感器,若存在感应到用户的触摸的传感器则表示监测到所述计算器应用的手写输入界面中的手写输入操作,将手写输入界面所在的区域内感应到用户的触摸的传感器的位置(坐标)记录作为手写信息。在一次手写输入操作中,所述手写输入界面中所有感受到用户的触摸的传感器的位置(坐标)组合在一起生成手写轨迹。
作为本申请另一实施例,在根据所述手写输入操作输入的手写信息生成手写轨迹之后,还包括:
根据所述手写信息在所述手写输入界面中的位置,显示所述手写轨迹。
在本申请实施例中,为了更方便用户查看已经写过的字符,可以将手写轨迹在所述手写输入界面中进行显示,显示时,根据所述手写信息在所述手写输入界面的位置(坐标) 进行显示。作为举例,用户触摸过的位置(传感器位置或者坐标)显示为不同于所述手写输入界面底色的颜色。
图2是本申请实施例提供的一种计算器应用的显示界面的效果示意图,如图2所示,手写输入界面中用户手写输入“1024”后,通过不同与手写输入界面底色的颜色显示手写轨迹“1024”。
步骤S103,在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果,所述识别结果包括一个或多个字符,所述字符包括:阿拉伯数字和数学符号。
在本申请实施例中,所述终端设备的显示界面中还包括:虚拟按钮;如图2所示,所述显示界面包括手写输入界面和虚拟按钮。用户可以在手写输入界面手写输入字符,用户也可以通过点击选择虚拟按钮输入字符。图2中的手写输入界面和虚拟按钮之间也可以是其它的排布方式,手写输入界面和虚拟按钮之间也可以不存在清晰的界限用于将手写输入界面和虚拟按钮划分开。
本申请实施例中的字符可以包括:阿拉伯数字(0、1、2、3、4、5、6、7、8、9)、数学符号(.、+、-、×、÷、=等)。当然,实际应用中,还可以根据需要设置其它与计算器相关的字符。
需要说明,当设置的虚拟按钮中包括.、+、-、×、÷、=时,手写输入界面中输入的阿拉伯数字后,该方法具有识别阿拉伯数字的功能。当设置的虚拟按钮不包括小数点时,该方法具有识别小数点的功能。当设置的虚拟按钮不包括+、-、×、÷、=时,该方法具有识别+、-、×、÷、=的功能。原则上,该方法对手写输入界面输入的手写轨迹能够识别的字符和虚拟按钮中的字符能够实现计算器的功能。
作为本申请又一实施例,所述在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果包括:
若所述手写输入界面中的触摸操作消失后的预设时间之内,未监测到新的触摸操作,则确定手写输入操作结束,并对所述手写轨迹进行识别获得识别结果。
或者,
若监测到点击所述虚拟按钮的操作,则确定手写输入操作结束,并对所述手写轨迹进行识别获得识别结果。
本申请实施例中,可以提供至少两种方式判断当前手写输入操作是否结束,所述手写输入操作可以是触摸操作,本申请实施例提供的计算器应用中可以识别用户一次输入的多个字符,因此,在一次手写输入操作中可能包括一次触摸操作,例如,阿拉伯数字1一次触摸操作就可完成;也可能包括多次间断的触摸操作,例如,阿拉伯数字10需要两次间断的触摸操作。由于允许用户手写输入多个字符,因此需要判断用户到底是写完1就需要计 算器应用识别字符,还是写完10才需要计算器应用识别字符,还是在写完10之后还会继续输入其它字符才会需要计算器应用识别字符。判断的方式就可以是若在手写输入界面中进行触摸操作后,用户抬起手指后的预设时间内未在手写输入界面中进行新的触摸操作,那么确定手写输入操作结束;或者,用户在手写输入界面中进行触摸操作后,又检测到点击所述虚拟按钮的操作,则确定手写输入操作结束。
例如,图3所示的手写输入过程的效果示意图,用户在手写输入界面手写输入“1024”后点击了虚拟按钮“+”,则表示当前手写输入结束,就可以对用户在手写区域手写的“1024”进行识别,获得识别结果,识别结果就为1024。在用户通过虚拟按钮输入“+”之后,还可以继续输入多个数学符号“168”。当然,用户在手写输入界面输入1024后,还可以停顿大于预设时间的时间,只要所述手写输入界面中触摸操作消失后的预设时间之内,未监测到新的触摸操作,则确定当前手写输入结束。
从图2和图3可以看出,用户可以在手写输入界面一次手写多个字符,然后计算器应用可以识别出多个字符。避免了将待输入的字符全部通过虚拟按钮输入时,用户找多个虚拟按钮的过程较长的问题;也避免了手写输入时每次只能输入一个字符识别一个字符的过程较长的问题;因此,能够提高了计算器应用中输入字符的效率。
作为本申请又一实施例,所述分别对每个子区域内的手写轨迹进行识别,获得每个子区域内的手写轨迹对应的字符包括:
将每个子区域内的手写轨迹分别与预设的多个字符模板进行匹配,获得每个子区域内的手写轨迹分别对应的字符。
在本申请实施例中,预存了计算器应用能够识别的字符的模板,例如,若设置的计算器应用对于手写轨迹具有识别阿拉伯数字的功能时,可以在预设的数据库中保存字符模板为阿拉伯数字的模板。若设置的计算器应用具有识别阿拉伯数字和小数点的功能,可以在预设的数据库中保存阿拉伯数字和小数点模板,若设置的计算器应用还具有识别数学运算符号的功能,可以在预设的数据库中保存数学运算符号模板。在划分了多个子区域后,每个子区域内为一个字符的手写轨迹,就可以针对每个子区域内的手写轨迹进行识别,识别的过程可以将每个子区域内的手写轨迹分别与预设的多个字符模板进行匹配,获得每个子区域内的手写轨迹分别对应的字符。在具体匹配的过程中,可以将匹配度最高的字符模板对应的字符作为当前子区域内的手写轨迹对应的字符。
作为本申请又一实施例,在将每个子区域内的手写轨迹分别与预设的多个字符模板进行匹配之前,还包括:
显示待设置模板的字符和模板输入界面,并监测通过所述模板输入界面输入的手写信息;
若监测到通过所述模板输入界面输入的手写信息后,则基于通过所述模板输入界面输入的手写信息生成手写轨迹,并将当前手写轨迹作为待设置模板的字符对应的字符模板。
在本申请实施例中,由于不同用户对同一个字符的手写方式不完全一样,因此,为了加快匹配效率和匹配正确率,可以由用户手写输入相应的字符,将用户手写输入的字符作为模板存储。可以在终端设备的显示界面上显示待设置模板的字符(例如6),以及模板输入界面,用户在模板输入界面手写输入6,然后将模板输入界面中的手写信息生成手写轨迹,将用户手写的手写轨迹6作为字符6对应的字符模板。按照这种方式,能够提高匹配的效率和正确率。
图4是本申请实施例提供的另一种手写输入方法的流程示意图,图4在图1所示实施例的基础上,描述了如何对所述手写轨迹进行识别获得识别结果,如图所示,可以包括以下步骤:
步骤S401,对所述手写轨迹进行识别,获得所述手写轨迹对应的一个或多个字符。
在本申请实施例中,可以获取手写输入方向,并基于所述手写输入方向,将所述手写轨迹所在的区域划分为一个或多个子区域;分别对每个子区域内的手写轨迹进行识别,获得每个子区域内的手写轨迹对应的字符。
所述手写输入方向可以是当用户面对所述计算器应用的显示界面时,从用户的视角,在所述显示界面上从左到右的顺序。即手写输入方向为用户输入字符的方向。
作为本申请又一实施例,所述获取手写输入方向包括:
获取所述终端设备的手持方向,并根据所述终端设备的手持方向确定手写输入方向。
在本申请实施例中,当终端设备为手机、平板电脑等便携式终端设备时可以获取终端设备的手持方向,通常终端设备中会存在多个传感器(例如重力传感器),终端设备的手持方向可以是横屏状态对应的手持方向或者是竖屏状态对应的手持方向,若终端设备的手持方向为横屏状态对应的手持方向,则手写输入方向为终端设备横屏状态下显示界面中从左到右的方向(用户的视角),如图5所示,图中标识的方向为横屏状态下的手写输入方向;同样,终端设备的手持方向为竖屏状态对应的手持方向时,手写输入方向为终端设备竖屏状态下显示界面中从左到右的方向(用户的视角),如图6所示,图中标识的方向为竖屏状态下的手写输入方向。
作为本申请又一实施例,当所述手写输入操作为多次间断的触摸操作时,所述获取手写输入方向包括:
根据多次触摸操作的起点位置生成曲线,将所述曲线的基线方向作为手写输入方向。
在本申请实施例中,由于用户的一次手写输入操作可能存在多次间断的触摸操作,例如在手写输入界面中一次写入168三个字符,可能会存在三次触摸操作,每一次触摸操作 为从检测导手写输入界面中的触摸一直到该触摸消失,算是一次触摸操作,若要写入168,则可能存在三次触摸操作。可以将三次触摸操作的起点位置生成曲线,将所述曲线的基线方向作为手写输入方向。
实际应用中,还可以在所述手写轨迹所在的区域(矩形区域)的长宽比大于预设值的情况下才会选择以下确定手写输入方向的方式:根据多次触摸操作的起点位置生成曲线,将所述曲线的基线方向作为手写输入方向。
在确定了手写输入方向后,就可以基于所述手写输入方向,将所述手写轨迹所在的区域划分为一个或多个子区域;分别对每个子区域内的手写轨迹进行识别,获得每个子区域内的手写轨迹对应的字符。
在本申请实施例中,划分为多个子区域后,多个子区域的排列方向为所述手写输入方向,例如,如图7所示的手写输入界面中用户手写输入操作输入了168三个字符,沿着手写输入方向将手写轨迹168所在的区域划分为了3个子区域。对每个子区域内的手写轨迹进行识别可以获得每个子区域内的手写轨迹对应的字符。如图7中,按照手写输入方向,第一个子区域中的手写轨迹的识别结果为字符1,第二个子区域中的手写轨迹的识别结果为字符6,第三个子区域中的手写轨迹的识别结果为字符8。
步骤S402,若获得一个字符,则将获得的字符作为识别结果。
步骤S403,若获得多个字符,则基于所述字符分别对应的手写轨迹的位置,对所述多个字符进行排序,并将排序后的多个字符作为识别结果。
在本申请实施例中,若划分为一个子区域,即识别到了一个字符,那么获得的字符就为识别结果。如果划分为了多个子区域,就可能识别到多个字符,实际上用户在手写输入的多个字符存在先后顺序,因此,需要将识别的多个字符进行排序,可以按照手写输入方向上子区域的顺序将每个子区域内的手写轨迹对应的字符排序,即基于所述字符分别对应的子区域的位置,对所述多个字符进行排序。当然,也可以根据检测到的每个子区域内的手写轨迹对应的触摸操作的时间对每个子区域内的手写轨迹对应的字符进行排序。
图8是本申请实施例提供的另一种手写输入方法的流程示意图,图8在图4所示实施例的基础上,描述了如何基于所述手写输入方向,将所述手写轨迹所在的区域划分为一个或多个子区域,如图所示,可以包括以下步骤:
步骤S801,控制预设宽度的滑动窗口在所述手写轨迹所在的区域沿着所述手写输入方向进行滑动,获得满足第一预设条件时所述滑动窗口的位置。
在本申请实施例中,所述手写轨迹所在的区域可以为所述手写轨迹的最小外接矩形所在的区域。如图9所示,手写轨迹168最外围的白框为所述手写轨迹168的最小外接矩形。W0的位置的窗口为滑动窗口,滑动窗口的宽度可以预先设置,控制滑动窗口沿着滑动方向 在所述手写轨迹的最小外接矩形区域滑动。滑动方向可以是手写输入方向,滑动窗口的宽度预先设置,滑动窗口的长度大于或等于所述最小外接矩形在于所述滑动方向垂直的方向上的宽度。在滑动窗口滑动的过程中,会存在多个位置,例如W1所在的位置、W2所在的位置。
在控制预设宽度的滑动窗口在所述手写轨迹所在的区域沿着所述手写输入方向进行滑动的过程中,能够获得所述滑动窗口在所述手写输入方向上的每个位置处与所述手写轨迹相交的区域。同时,随着滑动窗口的滑动,滑动窗口和所述手写轨迹相交的区域的面积(或者相交区域的像素点的个数)也在变化,可以生成相交区域的面积(或者像素点个数)随位置变化的曲线。根据所述面积或者像素点的个数找出符合第一预设条件时所述滑动窗口的位置。
作为本申请另一实施例,在获得符合第一预设条件时所述滑动窗口的位置时,可以设置为:
将与所述手写轨迹相交的区域的面积小于预设面积的位置作为满足第一预设条件时所述滑动窗口的位置;
或,将与所述手写轨迹相交的区域内的像素点的个数小于预设数量的位置作为满足第一预设条件时所述滑动窗口的位置。
在本申请实施例中,根据不同宽度的滑动窗口可以设置不同的预设面积或不同的预设数量。当滑动窗口的宽度较小时,还可以将预设面积和预设数量设为0,我们以预设面积或预设数量为0为例,图9中,滑动窗口在W1的位置时,滑动窗口和手写轨迹相交的面积为0,在W2的位置,滑动窗口和手写轨迹相交的面积大于0,因此,W1所在的位置为符合第一预设条件时所述滑动窗口的位置。W2所在的位置不为符合第一预设条件时所述滑动窗口的位置。当然,实际应用中,会存在一个或者多个满足第一预设条件时所述滑动窗口的位置,图9所示的W1和W2仅用于举例,并不用于限制本发明。
步骤S802,基于满足第一预设条件时所述滑动窗口的位置,确定满足第一预设条件时所述滑动窗口的中心线,并将所述中心线记为分界线,其中,所述中心线与所述手写输入方向垂直。
在本申请实施例中,满足第一预设条件时所述滑动窗口的位置可以作为两个子区域之间的分界线,由于滑动窗口本身具有一定宽度,因此,可以将所述滑动窗口的中心线的位置作为两个子区域之间的分界线的位置,当然,选择的中心线为与所述滑动方向垂直的中心线。在实际应用中,还可以选择所述滑动窗口限定的区域内与所述中心线平行的其它线条的位置作为分界线的位置。
步骤S803,确定任意两个相邻的分界线之间的距离,将小于第一预设距离的两个相邻 的分界线合并,并将小于第一预设距离的两个相邻的分界线限定的区域的中心线作为合并后的分界线。
步骤S804,在大于第二预设距离的两个相邻的分界线之间,满足第二预设条件的位置生成新的分界线。
在本申请实施例中,所述在大于第二预设距离的两个相邻的分界线之间,满足第二预设条件的位置生成新的分界线为:
将大于第二预设距离的两个相邻的分界线限定的区域的中心线作为新生成的分界线。
在确定了分界线之后,由于设置的滑动窗口的宽度、预设面积或预设数量可能存在不合理,也或者,用户在手写输入界面中手写输入时,不同字符之间过于紧密,导致通过获得的分界线划分的子区域不合理,例如,第一个字符和第二个字符之间存在多个分界线,或者两个字符之间不存在分界线。因此,还需要对获得的分界线进行处理,将距离过小的相邻的分界线合并(距离过小的相邻的分界线之间不存在字符),将距离过大的相邻的分界线之间增加一条分界线(距离过大的相邻的分界线之间可能存在多个字符),在此,可以设置第一预设距离和第二预设距离,小于第一预设距离的两个相邻的分界线之间的距离过小,大于第二预设距离的两个相邻的分界线之间的距离过大。这样,就需要将小于第一预设距离的两个相邻的分界线合并,将两个相邻的分界线之间的任意一条与分界线平行的线条作为新的分界线,合并前的两个相邻的分界线取消,即两条分界线合并为一条分界线。还需要将大于第二预设距离的两个相邻的分界线之间增加一条分界线,即两条分界线变为三条分界线。
在合并的过程中,可以选取两个相邻的分界线之间与两条分界线的距离相等的线条作为新的分界线,原来的两条分界线取消。在增加新分界线的过程中,可以选取两个相邻的分界线之间与两条分界线的距离相等的线条作为新增加的分界线,原来的两条分界线保留。在增加新分界线的过程,可以选取在两条分界线之间,选取符合其他条件的位置作为新增加的分界线的位置。
通过上述分析可以得出:所述第二预设距离大于所述第一预设距离。另外,所述手写轨迹的最小外接矩形在与所述手写输入方向垂直的方向上的宽度表示一个字符的高度,可以将第一预设距离设为小于字符高度的一半,即所述第一预设距离小于或等于所述手写轨迹的最小外接矩形在与所述手写输入方向垂直的方向上的宽度的一半。
步骤S805,基于所述分界线,将所述手写轨迹所在的区域划分为一个或多个子区域。
在本申请实施例中,在对分界线进行合并处理或者新增处理后,就可以根据分界线将手写轨迹所在的区域划分为一个或多个子区域,当确定的分界线为0条时,表示所述手写轨迹所在的区域就为一个子区域,当确定的分界线为至少1条时,表示将所述手写轨迹所 在的区域划分为至少两个子区域。例如图7所示的,将手写轨迹所在的区域划分为三个子区域。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
图10是本申请一实施例提供的终端设备的示意框图,为了便于说明,仅示出与本申请实施例相关的部分。
该终端设备10可以是内置于手机、平板电脑、笔记本等终端设备内的软件单元、硬件单元或者软硬结合的单元,也可以作为独立的挂件集成到所述手机、平板电脑、笔记本等终端设备中。
所述终端设备10包括:
手写信息监测单元101,用于在终端设备中的计算器应用启动后,监测所述计算器应用的手写输入界面中的手写输入操作;
手写轨迹生成单元102,用于若监测到所述计算器应用的手写输入界面中的手写输入操作,则根据所述手写输入操作输入的手写信息生成手写轨迹;
字符识别单元103,用于在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果,所述识别结果包括一个或多个字符,所述字符包括:阿拉伯数字和数学符号。
作为本申请另一实施例,所述终端设备10还包括:
显示单元104,用于在根据所述手写输入操作输入的手写信息生成手写轨迹之后,根据所述手写信息在所述手写输入界面中的位置,显示所述手写轨迹。
作为本申请另一实施例,所述字符识别单元103还用于:
若所述手写输入界面中的触摸操作消失后的预设时间之内,未监测到新的触摸操作,则确定手写输入操作结束,并对所述手写轨迹进行识别获得识别结果。
作为本申请另一实施例,所述终端设备的显示界面中还包括:虚拟按钮;相应的,所述字符识别单元103还用于:
若监测到点击所述虚拟按钮的操作,则确定手写输入操作结束,并对所述手写轨迹进行识别获得识别结果。
作为本申请另一实施例,所述字符识别单元103包括:
字符识别模块1031,用于对所述手写轨迹进行识别,获得所述手写轨迹对应的一个或多个字符;
识别结果获得模块1032,用于若获得一个字符,则将获得的字符作为识别结果;
所述识别结果获得模块1032,还用于若获得多个字符,则基于所述字符分别对应的手 写轨迹的位置,对所述多个字符进行排序,并将排序后的多个字符作为识别结果。
作为本申请另一实施例,所述字符识别模块1031包括:
区域划分子模块10311,用于获取手写输入方向,并基于所述手写输入方向,将所述手写轨迹所在的区域划分为一个或多个子区域;
字符识别子模块10312,用于分别对每个子区域内的手写轨迹进行识别,获得每个子区域内的手写轨迹对应的字符;
相应的,所述识别结果获得模块1032还用于:
基于所述字符分别对应的子区域的位置,对所述多个字符进行排序。
作为本申请另一实施例,所述区域划分子模块10311还用于:
获取所述终端设备的手持方向,并根据所述终端设备的手持方向确定手写输入方向。
作为本申请另一实施例,当所述手写输入操作为多次间断的触摸操作时,所述区域划分子模块10311还用于:
根据多次触摸操作的起点位置生成曲线,将所述曲线的基线的方向作为手写输入方向。
作为本申请另一实施例,所述区域划分子模块10311还用于:
控制预设宽度的滑动窗口在所述手写轨迹所在的区域沿着所述手写输入方向进行滑动,获得满足第一预设条件时所述滑动窗口的位置;
基于满足第一预设条件时所述滑动窗口的位置,确定满足第一预设条件时所述滑动窗口的中心线,并将所述中心线记为分界线,其中,所述中心线与所述手写输入方向垂直;
基于所述分界线,将所述手写轨迹所在的区域划分为一个或多个子区域。
作为本申请另一实施例,所述区域划分子模块10311还用于:
控制预设宽度的滑动窗口在所述手写轨迹所在的区域沿着所述手写输入方向进行滑动,获得所述滑动窗口在所述手写输入方向上的每个位置处与所述手写轨迹相交的区域。
将与所述手写轨迹相交的区域的面积小于预设面积的位置作为满足第一预设条件时所述滑动窗口的位置;
或,将与所述手写轨迹相交的区域内的像素点的个数小于预设数量的位置作为满足第一预设条件时所述滑动窗口的位置。
作为本申请另一实施例,所述区域划分子模块10311还用于:
在基于所述分界线,将所述手写轨迹所在的区域划分为一个或多个子区域之前,确定任意两个相邻的分界线之间的距离;
将小于第一预设距离的两个相邻的分界线合并,并将小于第一预设距离的两个相邻的分界线限定的区域的中心线作为合并后的分界线。
作为本申请另一实施例,所述区域划分子模块10311还用于:
在基于所述分界线,将所述手写轨迹所在的区域划分为一个或多个子区域之前,在大于第二预设距离的两个相邻的分界线之间,满足第二预设条件的位置生成新的分界线。
作为本申请另一实施例,所述区域划分子模块10311还用于:
将大于第二预设距离的两个相邻的分界线限定的区域的中心线作为新生成的分界线。
作为本申请另一实施例,所述手写轨迹所在的区域为所述手写轨迹的最小外接矩形所在的区域。
作为本申请另一实施例,所述第一预设距离小于或等于所述手写轨迹的最小外接矩形在与所述手写输入方向垂直的方向上的宽度的一半,所述第二预设距离大于所述第一预设距离。
作为本申请另一实施例,所述字符识别子模块10312还用于:
将每个子区域内的手写轨迹分别与预设的多个字符模板进行匹配,获得每个子区域内的手写轨迹分别对应的字符。
作为本申请另一实施例,所述终端设备10还包括:
字符模板监测单元,用于显示待设置模板的字符和模板输入界面,并监测通过所述模板输入界面输入的手写信息;
字符模板设置单元,用于若监测到通过所述模板输入界面输入的手写信息后,则基于通过所述模板输入界面输入的手写信息生成手写轨迹,并将当前手写轨迹作为待设置模板的字符对应的字符模板。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述终端设备的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述终端设备中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
图11是本申请又一实施例提供的终端设备的示意框图。如图11所示,该实施例的终端设备11包括:一个或多个处理器110、存储器111以及存储在所述存储器111中并可在所述处理器110上运行的计算机程序112。所述处理器110执行所述计算机程序112时实现上述各个方法实施例中的步骤,例如图1所示的步骤S101至S103。或者,所述处理器 110执行所述计算机程序112时实现上述终端设备实施例中各模块/单元的功能,例如图10所示模块101至103的功能。
示例性的,所述计算机程序112可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器111中,并由所述处理器110执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序112在所述终端设备11中的执行过程。例如,所述计算机程序112可以被分割成手写信息监测单元、手写轨迹生成单元、字符识别单元,示例性的:
所述手写信息监测单元,用于在终端设备中的计算器应用启动后,监测所述计算器应用的手写输入界面中的手写输入操作;
所述手写轨迹生成单元,用于若监测到所述计算器应用的手写输入界面中的手写输入操作,则根据所述手写输入操作输入的手写信息生成手写轨迹;
所述字符识别单元,用于在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果,所述识别结果包括一个或多个字符,所述字符包括:阿拉伯数字和数学符号。
其它单元或者模块可参照图10所示的实施例中的描述,在此不再赘述。
所述终端设备包括但不仅限于处理器110、存储器111。本领域技术人员可以理解,图11仅仅是终端设备11的一个示例,并不构成对终端设备11的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入设备、输出设备、网络接入设备、总线、触控显示屏等。
所述处理器110可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器111可以是所述终端设备11的内部存储单元,例如终端设备11的硬盘或内存。所述存储器111也可以是所述终端设备11的外部存储设备,例如所述终端设备11上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器111还可以既包括所述终端设备11的内部存储单元也包括外部存储设备。所述存储器111用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器111还可以用于暂时地存储已经输出或者将要输出的数据。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的终端设备和方法,可以通过其它的方式实现。例如,以上所描述的终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括电载波信号和电信信号。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例 对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种终端设备的数据输入方法,其特征在于,包括:
    在终端设备中的计算器应用启动后,监测所述计算器应用的手写输入界面中的手写输入操作;
    若监测到所述计算器应用的手写输入界面中的手写输入操作,则根据所述手写输入操作输入的手写信息生成手写轨迹;
    在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果,所述识别结果包括一个或多个字符,所述字符包括:阿拉伯数字和数学符号。
  2. 如权利要求1所述的终端设备的数据输入方法,其特征在于,在根据所述手写输入操作输入的手写信息生成手写轨迹之后,还包括:
    根据所述手写信息在所述手写输入界面中的位置,显示所述手写轨迹。
  3. 如权利要求1所述的终端设备的数据输入方法,其特征在于,所述在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果包括:
    若所述手写输入界面中的触摸操作消失后的预设时间之内,未监测到新的触摸操作,则确定手写输入操作结束,并对所述手写轨迹进行识别获得识别结果。
  4. 如权利要求1所述的终端设备的数据输入方法,其特征在于,所述终端设备的显示界面中还包括:虚拟按钮;
    相应的,所述在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果包括:
    若监测到点击所述虚拟按钮的操作,则确定手写输入操作结束,并对所述手写轨迹进行识别获得识别结果。
  5. 如权利要求1至4任一项所述的终端设备的数据输入方法,其特征在于,所述对所述手写轨迹进行识别获得识别结果包括:
    对所述手写轨迹进行识别,获得所述手写轨迹对应的一个或多个字符;
    若获得一个字符,则将获得的字符作为识别结果;
    若获得多个字符,则基于所述字符分别对应的手写轨迹的位置,对所述多个字符进行排序,并将排序后的多个字符作为识别结果。
  6. 如权利要求5所述的终端设备的数据输入方法,其特征在于,所述对所述手写轨迹进行识别,获得所述手写轨迹对应的一个或多个字符包括:
    获取手写输入方向,并基于所述手写输入方向,将所述手写轨迹所在的区域划分为一个或多个子区域;
    分别对每个子区域内的手写轨迹进行识别,获得每个子区域内的手写轨迹对应的字符;
    相应的,所述基于所述字符分别对应的手写轨迹的位置,对所述多个字符进行排序包括:
    基于所述字符分别对应的子区域的位置,对所述多个字符进行排序。
  7. 如权利要求6所述的终端设备的数据输入方法,其特征在于,所述获取手写输入方向包括:
    获取所述终端设备的手持方向,并根据所述终端设备的手持方向确定手写输入方向。
  8. 如权利要求6所述的终端设备的数据输入方向,其特征在于,当所述手写输入操作为多次间断的触摸操作时,所述获取手写输入方向包括:
    根据多次触摸操作的起点位置生成曲线,将所述曲线的基线的方向作为手写输入方向。
  9. 如权利要求6所述的终端设备的数据输入方法,其特征在于,所述基于所述手写输入方向,将所述手写轨迹所在的区域划分为一个或多个子区域包括:
    控制预设宽度的滑动窗口在所述手写轨迹所在的区域沿着所述手写输入方向进行滑动,获得满足第一预设条件时所述滑动窗口的位置;
    基于满足第一预设条件时所述滑动窗口的位置,确定满足第一预设条件时所述滑动窗口的中心线,并将所述中心线记为分界线,其中,所述中心线与所述手写输入方向垂直;
    基于所述分界线,将所述手写轨迹所在的区域划分为一个或多个子区域。
  10. 如权利要求9所述的终端设备的数据输入方法,其特征在于,所述控制预设宽度的滑动窗口在所述手写轨迹所在的区域沿着所述手写输入方向进行滑动,获得满足第一预设条件时所述滑动窗口的位置包括:
    控制预设宽度的滑动窗口在所述手写轨迹所在的区域沿着所述手写输入方向进行滑动,获得所述滑动窗口在所述手写输入方向上的每个位置处与所述手写轨迹相交的区域。
    将与所述手写轨迹相交的区域的面积小于预设面积的位置作为满足第一预设条件时所述滑动窗口的位置;
    或,将与所述手写轨迹相交的区域内的像素点的个数小于预设数量的位置作为满足第一预设条件时所述滑动窗口的位置。
  11. 如权利要求9所述的终端设备的数据输入方法,其特征在于,在基于所述分界线,将所述手写轨迹所在的区域划分为一个或多个子区域之前,还包括:
    确定任意两个相邻的分界线之间的距离;
    将小于第一预设距离的两个相邻的分界线合并,并将小于第一预设距离的两个相邻的分界线限定的区域的中心线作为合并后的分界线。
  12. 如权利要求11所述的终端设备的数据输入方法,其特征在于,在基于所述分界线,将所述手写轨迹所在的区域划分为一个或多个子区域之前,还包括:
    在大于第二预设距离的两个相邻的分界线之间,满足第二预设条件的位置生成新的分界线。
  13. 如权利要求12所述的终端设备的数据输入方法,其特征在于,所述在大于第二预设距离的两个相邻的分界线之间,满足第二预设条件的位置生成新的分界线包括:
    将大于第二预设距离的两个相邻的分界线限定的区域的中心线作为新生成的分界线。
  14. 如权利要求6至13任一项所述的终端设备的数据输入方向,其特征在于,所述手写轨迹所在的区域为所述手写轨迹的最小外接矩形所在的区域。
  15. 如权利要求14所述的终端设备的数据输入方法,其特征在于,所述第一预设距离小于或等于所述手写轨迹的最小外接矩形在与所述手写输入方向垂直的方向上的宽度的一半,所述第二预设距离大于所述第一预设距离。
  16. 如权利要求6至13任一项所述的终端设备的数据输入方法,其特征在于,所述分别对每个子区域内的手写轨迹进行识别,获得每个子区域内的手写轨迹对应的字符包括:
    将每个子区域内的手写轨迹分别与预设的多个字符模板进行匹配,获得每个子区域内的手写轨迹分别对应的字符。
  17. 如权利要求16所述的终端设备的数据输入方法,其特征在于,在将每个子区域内的手写轨迹分别与预设的多个字符模板进行匹配之前,还包括:
    显示待设置模板的字符和模板输入界面,并监测通过所述模板输入界面输入的手写信息;
    若监测到通过所述模板输入界面输入的手写信息后,则基于通过所述模板输入界面输入的手写信息生成手写轨迹,并将当前手写轨迹作为待设置模板的字符对应的字符模板。
  18. 一种终端设备,其特征在于,包括:
    手写信息监测单元,用于在终端设备中的计算器应用启动后,监测所述计算器应用的手写输入界面中的手写输入操作;
    手写轨迹生成单元,用于若监测到所述计算器应用的手写输入界面中的手写输入操作,则根据所述手写输入操作输入的手写信息生成手写轨迹;
    字符识别单元,用于在检测到所述手写输入操作结束后,对所述手写轨迹进行识别获得识别结果,所述识别结果包括一个或多个字符,所述字符包括:阿拉伯数字和数学符号。
  19. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至17任一项所述方法的步骤。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被一个或多个处理器执行时实现如权利要求1至17任一项所述方法 的步骤。
PCT/CN2018/114631 2018-11-08 2018-11-08 一种终端设备的数据输入方法、终端设备及存储介质 WO2020093329A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/114631 WO2020093329A1 (zh) 2018-11-08 2018-11-08 一种终端设备的数据输入方法、终端设备及存储介质
CN201880097847.2A CN112740151A (zh) 2018-11-08 2018-11-08 一种终端设备的数据输入方法、终端设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/114631 WO2020093329A1 (zh) 2018-11-08 2018-11-08 一种终端设备的数据输入方法、终端设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020093329A1 true WO2020093329A1 (zh) 2020-05-14

Family

ID=70611196

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/114631 WO2020093329A1 (zh) 2018-11-08 2018-11-08 一种终端设备的数据输入方法、终端设备及存储介质

Country Status (2)

Country Link
CN (1) CN112740151A (zh)
WO (1) WO2020093329A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113255305A (zh) * 2021-05-21 2021-08-13 武汉悦学帮网络技术有限公司 在线批示方法、装置、电子设备以及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261554A (zh) * 2008-04-21 2008-09-10 东莞市步步高教育电子产品有限公司 公式、表达式的手写输入及计算系统和方法
CN101676838A (zh) * 2008-09-16 2010-03-24 夏普株式会社 输入装置
CN101833532A (zh) * 2009-03-12 2010-09-15 卡西欧计算机株式会社 计算器以及计算机可读介质
CN102736830A (zh) * 2011-04-13 2012-10-17 联想移动通信科技有限公司 一种手写输入法和终端设备
US20140334732A1 (en) * 2013-05-07 2014-11-13 Samsung Electronics Co., Ltd. Portable terminal device using touch pen and handwriting input method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2801593B2 (ja) * 1986-12-27 1998-09-21 株式会社東芝 手書き入力式計算機
EP2713251A4 (en) * 2011-07-04 2014-08-06 Huawei Device Co Ltd METHOD AND ELECTRONIC DEVICE FOR VIRTUAL HANDWRITTEN ENTRY
CN104268118A (zh) * 2014-09-23 2015-01-07 赵方 一种包括触摸屏的数学式计算器及数学公式识别的方法
CN108734161B (zh) * 2017-04-13 2022-01-25 深圳怡化电脑股份有限公司 冠字号区域的识别方法、装置、设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261554A (zh) * 2008-04-21 2008-09-10 东莞市步步高教育电子产品有限公司 公式、表达式的手写输入及计算系统和方法
CN101676838A (zh) * 2008-09-16 2010-03-24 夏普株式会社 输入装置
CN101833532A (zh) * 2009-03-12 2010-09-15 卡西欧计算机株式会社 计算器以及计算机可读介质
CN102736830A (zh) * 2011-04-13 2012-10-17 联想移动通信科技有限公司 一种手写输入法和终端设备
US20140334732A1 (en) * 2013-05-07 2014-11-13 Samsung Electronics Co., Ltd. Portable terminal device using touch pen and handwriting input method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113255305A (zh) * 2021-05-21 2021-08-13 武汉悦学帮网络技术有限公司 在线批示方法、装置、电子设备以及存储介质

Also Published As

Publication number Publication date
CN112740151A (zh) 2021-04-30

Similar Documents

Publication Publication Date Title
US8589458B2 (en) Electronic calculator with touch screen
US11402991B2 (en) System and method for note taking with gestures
US20140189482A1 (en) Method for manipulating tables on an interactive input system and interactive input system executing the method
US9329775B2 (en) Figure drawing apparatus, figure drawing method and recording medium on which figure drawing programs are recorded
JP6807840B2 (ja) 幾何学的形状を認識するためのシステムおよび方法
CN105589637A (zh) 基于手势的缩放方法及装置
WO2014147716A1 (ja) 電子機器および手書き文書処理方法
US9025878B2 (en) Electronic apparatus and handwritten document processing method
CN112667105A (zh) 触摸屏控制方法、装置、设备和存储介质
CN108965575B (zh) 一种手势动作识别方法、装置和终端设备
CN105278751A (zh) 一种实现人机交互的方法、装置及保护壳
WO2020093329A1 (zh) 一种终端设备的数据输入方法、终端设备及存储介质
WO2020118491A1 (zh) 基于指纹识别的交互方法、电子设备及相关装置
TWI505173B (zh) 提高手持裝置觸碰鍵盤辨識率的系統和方法
US20140147047A1 (en) Electronic device and method for processing handwritten document
CN115589786A (zh) 手绘图形识别方法、装置和系统,以及计算机可读存储介质
CN112835497A (zh) 一种快速进入电子白板的方法、装置及存储介质
CN113515228A (zh) 一种虚拟标尺显示方法以及相关设备
CN103914174A (zh) 信息处理装置、信息处理方法、以及程序存储介质
CN107679219B (zh) 匹配方法及装置、交互智能平板及存储介质
US20230343125A1 (en) Handwriting Recognition Method and Apparatus, Handwriting Recognition System and Interactive Display
US20180188878A1 (en) Use of groove analysis in a touch screen device to determine occurrence of an elongated touch by a single finger
JP2013077180A (ja) 認識装置およびその制御方法
CN114356203A (zh) 防误触方法、终端设备及存储介质
JP2017534121A (ja) 手書き内容区分方法およびその機器、並びに手書き内容編集機器

Legal Events

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

Ref document number: 18939553

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18939553

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.09.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18939553

Country of ref document: EP

Kind code of ref document: A1