WO2023092437A1 - Intelligent calculation method and intelligent interactive tablet - Google Patents

Intelligent calculation method and intelligent interactive tablet Download PDF

Info

Publication number
WO2023092437A1
WO2023092437A1 PCT/CN2021/133382 CN2021133382W WO2023092437A1 WO 2023092437 A1 WO2023092437 A1 WO 2023092437A1 CN 2021133382 W CN2021133382 W CN 2021133382W WO 2023092437 A1 WO2023092437 A1 WO 2023092437A1
Authority
WO
WIPO (PCT)
Prior art keywords
formula
displayed
standard
display screen
recognized
Prior art date
Application number
PCT/CN2021/133382
Other languages
French (fr)
Chinese (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 PCT/CN2021/133382 priority Critical patent/WO2023092437A1/en
Priority to CN202180003610.5A priority patent/CN116507994A/en
Publication of WO2023092437A1 publication Critical patent/WO2023092437A1/en

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
    • 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]

Definitions

  • the present disclosure relates to the technical field of intelligent software, in particular to an intelligent computing method and an intelligent interactive panel.
  • Smart conference is an office product that integrates multiple devices such as electronic whiteboard, computer and remote conference terminal, and has multiple functions such as interactive smart whiteboard.
  • devices such as electronic whiteboard, computer and remote conference terminal
  • multiple functions such as interactive smart whiteboard.
  • large-size (generally more than 50 inches) intelligent interactive display devices with touch handwriting functions have emerged as the times require.
  • the writing software configured on large-scale intelligent interactive display devices on the market can only support basic functions related to writing, such as trajectory writing, handwriting switching, etc., and cannot meet more needs of users.
  • the present disclosure provides an intelligent computing method and an intelligent interactive tablet, which are used to automatically recognize and calculate calculation formulas input by users, and display calculation results, so as to improve meeting efficiency and interactive experience of users.
  • an intelligent computing method provided by an embodiment of the present disclosure is applied to an intelligent interactive tablet, including:
  • the calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
  • the method further includes:
  • the standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
  • the method after the calculation result of the conversion formula is determined, the method also includes:
  • the calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
  • the displaying the standard calculation formula on the display screen includes:
  • a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
  • the determining the standard formula corresponding to the formula to be recognized includes:
  • the receiving the to-be-recognized formula input by the user, and determining the standard formula corresponding to the to-be-recognized formula includes:
  • N is a positive integer
  • An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
  • the character in the standard formula is converted according to the predefined character type to obtain the conversion formula, including:
  • the conversion formula is calculated to obtain a calculation result.
  • the character in the standard formula is converted according to the predefined character type to obtain the conversion formula, including:
  • the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
  • the displaying the calculation result on a display screen includes:
  • the calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
  • the displaying the calculation result on a display screen includes:
  • the calculation result is displayed on the display screen.
  • the method further includes:
  • the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
  • the method further includes:
  • auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
  • an intelligent interactive tablet provided by an embodiment of the present disclosure includes a display screen and a control circuit, wherein:
  • the display screen is used to display content
  • the control circuit is configured to perform the following steps:
  • the calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
  • control circuit is further configured to execute:
  • the standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
  • control circuit is further configured to execute:
  • the calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
  • control circuit is specifically configured to execute:
  • a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
  • control circuit is specifically configured to execute:
  • control circuit is specifically configured to execute:
  • control circuit after receiving the to-be-recognized formula input by the user's handwriting, the control circuit is specifically further configured to execute:
  • N is a positive integer
  • An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
  • control circuit is specifically configured to execute:
  • the calculation result of the determined conversion formula includes:
  • the conversion formula is calculated to obtain a calculation result.
  • control circuit is specifically configured to execute:
  • the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
  • control circuit is specifically configured to execute:
  • the calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
  • control circuit is specifically configured to execute:
  • the calculation result is displayed on the display screen.
  • control circuit is further configured to execute:
  • the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
  • control circuit is further configured to execute:
  • auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
  • an intelligent computing device provided by an embodiment of the present disclosure includes:
  • the obtaining formula unit is used to receive the formula to be recognized input by the user, and determine the standard formula corresponding to the formula to be recognized;
  • a formula conversion unit configured to convert characters in the standard formula according to a predefined character type to obtain a conversion formula
  • the result display unit is used to determine the calculation result of the conversion formula and display the calculation result on the display screen.
  • a display unit is further included for:
  • the standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
  • the display unit is further configured to:
  • the calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
  • the display unit is specifically used for:
  • a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
  • the acquisition formula unit is specifically used for:
  • the acquisition formula unit is specifically used for:
  • a display auxiliary line unit specifically for:
  • N is a positive integer
  • An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
  • the arithmetic conversion unit is specifically used for:
  • the conversion formula is calculated to obtain a calculation result.
  • the arithmetic conversion unit is specifically used for:
  • the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
  • the result display unit is specifically used for:
  • the calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
  • the result display unit is specifically used for:
  • the calculation result is displayed on the display screen.
  • the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
  • a deletion unit is further included:
  • auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
  • an embodiment of the present disclosure further provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in the above-mentioned first aspect are implemented.
  • FIG. 1 is an implementation flowchart of an intelligent computing method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a calling relationship of a WebView provided by an embodiment of the present disclosure
  • FIG. 3A is a schematic diagram of an automatically calculated and displayed interface provided by an embodiment of the present disclosure.
  • FIG. 3B is a schematic diagram of automatic calculation and display provided by an embodiment of the present disclosure.
  • FIG. 4 is an implementation flowchart of an intelligent computing provided by an embodiment of the present disclosure
  • FIG. 5 is a flow chart of displaying an auxiliary line provided by an embodiment of the present disclosure.
  • FIG. 6 is an implementation flowchart of a display formula prompting a user provided by an embodiment of the present disclosure
  • FIG. 7 is a flowchart for implementing a data conversion function provided by an embodiment of the present disclosure.
  • FIG. 8 is a flow chart of a verification logic implementation provided by an embodiment of the present disclosure.
  • FIG. 9 is a logical flowchart of data formatting provided by an embodiment of the present disclosure.
  • FIG. 10 is a flow chart for displaying calculation results after a calculation formula input by a user provided by an embodiment of the present disclosure
  • FIG. 11 is a schematic diagram of an intelligent interactive tablet provided by an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of an intelligent computing device provided by an embodiment of the present disclosure.
  • Embodiment 1 A smart conference is an office product that integrates multiple devices such as an electronic whiteboard, a computer, and a remote conference terminal, and has multiple functions such as an interactive smart whiteboard.
  • an electronic whiteboard a computer
  • a remote conference terminal a remote conference terminal
  • multiple functions such as an interactive smart whiteboard.
  • large-size (generally more than 50 inches) intelligent interactive display devices with touch handwriting functions have emerged as the times require.
  • the writing software for large-scale intelligent interactive display devices on the market can only support basic functions related to writing, such as trajectory writing, handwriting switching, etc., and cannot meet more needs of users.
  • the core idea of the intelligent calculation method provided in this embodiment is to identify the unrecognized formula input by the user, perform data conversion on the recognized standard formula, and calculate the converted conversion formula to obtain the calculation result, thereby realizing automatic
  • the solution for displaying the calculation results does not require the user to perform calculations during the intelligent meeting, but can automatically display the calculated results, thereby improving meeting efficiency and user experience.
  • the intelligent computing method in this embodiment can be applied to terminal systems, mainly including Android system devices, such as large-scale intelligent interactive display devices, large-scale intelligent interactive tablets, electronic whiteboards, mobile terminals and other smart devices.
  • the terminal system is mainly used to receive user touch instructions, stylus instructions, voice instructions, etc., and display content.
  • This embodiment can automatically calculate the to-be-recognized formula input by the user based on the processing capability of the Android system device itself, with higher response efficiency and lower cost.
  • the electronic whiteboard in this embodiment is not a traditional electronic whiteboard for writing with a marker pen or chalk, but a large-size (generally more than 50 inches) intelligent interactive display device with a touch handwriting function;
  • the intelligent interactive display device is equipped with writing programs such as an electronic whiteboard, and users can use fingers, active pens or passive pens to write on the display device.
  • the intelligent interactive display device may include a liquid crystal display (Liquid Crystal Display, LCD) , organic light-emitting semiconductor (Organic Electroluminescence Display, OLED), electronic ink and other display modules, which can display handwriting in real time.
  • Step 100 receiving the to-be-recognized formula input by the user, and determining the standard formula corresponding to the to-be-recognized formula;
  • the standard formula in this embodiment includes characters such as numbers, operation symbols, and letters.
  • the standard formula in this embodiment is obtained by identifying the formula to be recognized based on the user input, and the process of identifying the formula to be recognized can be performed by the server. , and may also be executed by the display device (such as an intelligent interactive tablet) itself.
  • the to-be-recognized formula input by the user in this embodiment includes but not limited to the to-be-recognized formula input by the user's handwriting, such as the trajectory data formed by the user's touch instruction on the display screen, and the to-be-recognized formula input by the user's voice. , such as voice data input by the user through the voice collector of the electronic whiteboard.
  • the terminal system receives and analyzes the user's touch instruction, uploads the touch instruction to the whiteboard software, and the whiteboard software receives the touch instruction, forms trajectory data, and displays the user's handwritten trajectory data on the display screen.
  • this embodiment provides any one or more ways of determining the standard formula corresponding to the formula to be recognized as follows:
  • Mode 1 sending the to-be-recognized formula input by the user to the server, and receiving the standard formula obtained by identifying the to-be-recognized formula sent by the server;
  • the server after receiving the unrecognized formula input by the user, the server will identify the unrecognized formula, and send the recognized standard formula to an intelligent interactive tablet such as an electronic whiteboard.
  • the way to identify the formula to be identified is different based on the type of data input by the user. In specific implementation, it is as follows:
  • the algorithm for trajectory recognition in this embodiment includes but is not limited to automatic At least one of lattice algorithm and online handwriting recognition algorithm (Bi-LSTM).
  • the automatic grid division algorithm is used to split the formula into small grids arranged regularly according to the coordinates of the track points, and the online handwriting recognition algorithm is used to recognize the track data in each small grid.
  • voice recognition is performed on the voice data, so as to convert the voice data into a corresponding formula.
  • the intelligent interactive tablet will recognize the unrecognized formula input by the user, so as to use its own recognition ability to determine the standard formula corresponding to the unrecognized formula.
  • the way to identify the formula to be identified is different based on the type of data input by the user. In specific implementation, it is as follows:
  • the trajectory recognition is performed on the trajectory data, and the standard formula corresponding to the trajectory data is determined;
  • the formula to be recognized input by the user is voice data
  • perform voice recognition on the voice data so as to convert the voice data into a corresponding standard formula.
  • a writing auxiliary line can also be provided to assist the user to write at the position corresponding to the auxiliary line, thereby improving the accuracy of trajectory recognition, and can also control the typesetting of writing to improve User experience.
  • the algorithm needs to divide the recognition formula written by the user into regular patterns according to the coordinates of the trajectory points If there is no auxiliary line to remind the user of the writing position of the next character in the arranged small grid, then due to the large-sized intelligent interactive tablet, the user cannot guarantee that the written formulas to be recognized are basically on the same horizontal line during the writing process, resulting in a lot of confusion for the user.
  • the trajectory information belonging to the same character in the formula to be recognized cannot be accurately divided into grids, and the content in each grid cannot be accurately recognized, resulting in the inability to accurately identify the user in the end.
  • the formula to be recognized by handwriting input is recognized.
  • This embodiment can provide auxiliary lines during the handwriting process of the user, so as to maintain the calculation formula input by the user on the same horizontal line and improve the accuracy of recognition.
  • the specific implementation of the auxiliary line provided in this embodiment is as follows:
  • the initial coordinates are determined, wherein N is a positive integer; an auxiliary line is drawn according to the initial coordinates, and in the described The auxiliary line is displayed on the display screen to prompt the user to write on the corresponding position of the auxiliary line.
  • the auxiliary line in this embodiment is at least one of a straight line, a ray, a line segment, and a straight line with an arrow.
  • the line type, thickness, and length of the auxiliary line are not limited too much.
  • the length of the auxiliary line in this embodiment can be determined according to at least one of the width and length of the display screen.
  • the direction of the auxiliary line in this embodiment includes but is not limited to the X-axis direction and the Y-axis direction, where the X-axis direction represents the horizontal direction, and the Y-axis direction represents the vertical direction.
  • this embodiment determines the starting coordinates according to the character position of the Nth character on the display screen in the following manner:
  • the character position in this embodiment specifically refers to the coordinates of all track points contained in the Nth character; in implementation, the center point coordinates of the track points included in the character position are determined as the starting coordinates; Or, take the maximum value of the X-axis among the track points contained in the character position as the X coordinate of the starting coordinate, and use the minimum value of the Y-axis among the track points contained in the character position as the Y coordinate of the starting coordinate; or, use the character position containing The minimum value of the X-axis in the track point of the character position is used as the X-coordinate of the starting coordinate, and the minimum value of the Y-axis in the track point included in the character position is used as the Y-coordinate of the starting coordinate; the maximum value of the X-axis in the track point included in the character position is The value is the X coordinate of the starting coordinate, and the maximum value of the Y axis among the track points contained in the character position is used as the Y coordinate of the starting coordinate.
  • the starting coordinates can be determined according to the maximum value of the X-axis and the maximum value of the Y-axis among all the track points of the first character input by the user, and the auxiliary drawing can be drawn along the positive direction of the X-axis with the starting coordinates as the starting point Wire. It is also possible to determine the starting coordinates according to the minimum value of the X-axis and the minimum value of the Y-axis among all the track points of the first character input by the user, and draw an auxiliary line along the positive direction of the X-axis with the starting coordinates as the starting point.
  • the starting coordinate can be determined according to the maximum value of the X-axis and the maximum value of the Y-axis among all the trajectory points of the first character input by the user, and the starting coordinate can be used as a point on the auxiliary line, along the X-axis Draw auxiliary lines in positive and negative directions.
  • the starting coordinate can also be determined according to the minimum value of the X-axis and the minimum value of the Y-axis among all the track points of the first character input by the user, and the starting coordinate is a point on the auxiliary line.
  • Direction and negative direction to draw auxiliary lines are examples of the first character input by the user.
  • trajectory data written by the user is tilted or across lines, it is easy to generate errors in the division of the trajectory data when the automatic grid division algorithm is performed, resulting in the subsequent Bi-LSTM algorithm recognition error or failure to recognize. Therefore, in this embodiment, after the user writes the first character, an auxiliary line will be displayed, thereby prompting the user to write at the corresponding position of the auxiliary line, thereby improving the accuracy of trajectory recognition.
  • this embodiment may periodically identify the unrecognized formula input by the user, wherein the timing for identifying the unrecognized formula input by the user is when no new touch instruction (trajectory) is received within a preset period of time. data), then identify the formula to be recognized, or send the formula to be recognized to the server, so that the server can identify it and send it back to the intelligent interactive panel. For example, if no new touch command is received within 1s, the trajectory data from the beginning to the end of receiving in this period will be uploaded to the cloud server for trajectory recognition. After the trajectory recognition is completed, the recognition result will be sent back to the smart Interactive tablet.
  • Step 101 Convert the characters in the standard formula according to the predefined character type to obtain the conversion formula
  • the recognized formula is converted into a conversion formula recognizable by the WebView kernel, for example, the recognition result is Converts to "1+2/100+Math.sqrt(16/4)", in this example % is replaced by /100, Replaced by Math.sqrt() and ⁇ by /.
  • this embodiment specifically calculates through the following steps:
  • the characters in the standard formula are converted to obtain a conversion formula; based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
  • WebView is a built-in high-performance and embedded browser in Android. It is a special View on the Android platform and can be used to display web pages. It is a control for displaying web pages.
  • the WebView class can be used to Only one online webpage is displayed in the app, and it can also be used to develop a browser.
  • the internal implementation of WebView uses a rendering engine (WebKit engine) to display the content of the view, and provides functions such as web page forward and backward, web page zoom in, zoom out, and search.
  • WebView is a control based on the WebKit engine that displays Web pages.
  • Android's WebView uses different WebKit kernel versions in low and high versions.
  • the current WebView kernel is mainly used to deal with page display issues, and the present disclosure uses the processing capability of the WebView kernel itself to realize the calculator function, thereby improving response efficiency and reducing implementation costs.
  • this embodiment provides a schematic diagram of a calling relationship of WebView, and the implementation process of the specific calling is as follows:
  • Step 200 receiving the unrecognized formula input by the user on the display interface, and determining the standard formula corresponding to the unrecognized formula;
  • Step 201 convert the characters in the standard formula to obtain the conversion formula
  • Step 202 passing the conversion formula to WebView, and registering a callback interface with WebView;
  • Step 203 after the WebView obtains the conversion formula, it triggers the automatic calculation of the conversion formula using the WebView kernel;
  • Step 204 the WebView kernel returns the calculation result obtained by the automatic calculation to the display interface for display.
  • the character types in this embodiment include but not limited to String type, "*", " ⁇ ", “Math.sqrt()” and so on.
  • the characters in the verified standard formula are converted to obtain the converted formula.
  • this embodiment also provides a formatting method, which is specifically implemented as follows: after the calculation result of the converted conversion formula is determined and before the calculation result is displayed on the display screen, the Data formatting is performed on the calculation result to obtain the calculation result after the data formatting, so that the calculation result after the data formatting is displayed on the display screen.
  • the data formatting in this embodiment includes, but is not limited to: scientific notation, and retaining preset digits after the decimal point.
  • Step 102 determine the calculation result of the conversion formula, and display the calculation result on the display screen.
  • the characters in the standard formula are converted according to a predefined character type, and the converted conversion formula is calculated. , to determine the calculation result.
  • the standard formula contains an equal sign, it means that the standard formula is a complete formula and needs to be calculated, so the characters in the standard formula can be converted according to the predefined character types; Calculate the conversion formula obtained after the conversion, and finally determine the calculation result.
  • the calculation result is displayed at a second display position corresponding to the formula to be recognized input by the user, wherein the second display position is displayed on the display screen according to the equal sign contained in the formula to be recognized The location is determined.
  • the specific display position of the calculation result in this embodiment may be determined according to the position of the formula to be recognized input by the user; in specific implementation: according to the equal sign included in the formula to be recognized input by the user In the position of the display screen, the display position of the calculation result is determined; and the calculation result is displayed in the display position.
  • the calculation result may be displayed at a fixed distance behind the equal sign.
  • the coordinate (x1, y1) of the equal sign may be determined, the coordinate (x1+c, y1) is used as the display position, and the calculation result is displayed at the coordinate (x1+c, y1).
  • c is a fixed value, and the coordinates in this embodiment all refer to the coordinates on the display screen.
  • this embodiment can first divide the standard formula that contains multiple equal signs to obtain multiple sub-calculations, so that each sub-calculation can be calculated using the method in this embodiment. Both determine the calculation results and display them.
  • the specific implementation steps are as follows:
  • the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
  • calculation result is determined and displayed in the following ways:
  • this embodiment in order to ensure that the font of the calculation result is consistent with the formula to be recognized handwritten by the user, this embodiment also provides a custom handwritten font.
  • This embodiment can use the custom handwritten font to convert the Calculation results are displayed on the display. That is, the calculation result is displayed behind the user's handwritten calculation on the display screen in the form of a user-defined handwritten font.
  • this embodiment can automatically calculate the calculation result of the to-be-recognized formula input by the user through the above steps, and display the calculation result behind the to-be-recognized formula input by the user.
  • Figure 3A this embodiment provides a schematic diagram of an automatically calculated and displayed interface, wherein the numbers behind the equal sign in the figure are calculation results obtained by automatic calculation, and are displayed in the form of custom handwritten fonts , taking the user's handwriting trajectory as an example, an auxiliary line may also be drawn and displayed below the first character "7" handwritten by the user, so as to assist the user to standardize writing.
  • the recognized standard formula can also be displayed on the display screen, wherein the first position displayed by the standard formula is the same as the value input by the user on the display screen.
  • the second positions displayed by the equations to be recognized do not overlap.
  • the positions displayed by the standard formulas include but are not limited to: specified positions, such as the upper left corner, upper right corner, lower left corner, lower right corner, etc. of the display screen; or, dynamic positions, which are determined according to the position of the formula to be recognized input by the user Location.
  • the second position may be located in any area above, below, left, or right of the first position.
  • the calculation formula can also be displayed on the display screen in a preset standard character format.
  • standard font format such as Times New Roman
  • standard size such as Times New Roman
  • standard operator format such as Times New Roman
  • standard letter format such as Times New Roman
  • the standard character format can be preset according to user requirements, which is not limited in this embodiment.
  • the calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen .
  • this embodiment can also display the calculation result after the standard formula is displayed.
  • this embodiment also provides any one or more deletion methods as follows, specifically as follows:
  • the standard formula and the calculation result can be deleted after the calculation result is obtained.
  • the auxiliary line can be deleted at this time.
  • the calculable range of the conversion formula in this embodiment includes but is not limited to: at least one of addition, subtraction, multiplication, division, square root, square, cube, exponential, trigonometric functions, and log calculations . This embodiment does not make too many limitations on this.
  • this embodiment provides an implementation process of intelligent computing, which is applied to an electronic whiteboard.
  • the specific implementation process is as follows:
  • Step 400 perform trajectory recognition on the unrecognized formula input by the user, and determine the standard formula corresponding to the unrecognized formula;
  • Step 401 Determine the starting coordinates according to the character position on the display screen of the first character in the formula to be recognized input by the user, draw and display the auxiliary character along the preset direction with the starting coordinates as the starting point Wire.
  • Step 402 according to the first position of the to-be-recognized formula input by the user displayed on the display screen, determine that it is above the first position, and display the standard formula on the display screen according to the preset standard character format .
  • Step 403 if it is determined that the standard formula contains an equal sign, then convert the characters in the standard formula according to the predefined character type; check the legality of the converted conversion formula to obtain the verified conversion formula; The verified conversion formula is calculated to determine the calculation result.
  • Step 404 performing data formatting on the calculation result to obtain the calculation result after data formatting
  • Step 405 Determine the display position of the calculation result according to the position of the equal sign contained in the calculation formula to be recognized on the display screen, and display the calculation result after data formatting at the display position.
  • this embodiment also provides a flow chart for displaying auxiliary lines, and the specific implementation process for displaying auxiliary lines in this embodiment is as follows:
  • Step 500 receiving a user's touch instruction, and generating trajectory data
  • Step 501 recording the maximum value Xmax1 and minimum value Xmin1 of the X axis in the current trajectory data, and the maximum value Ymax1 of the Y axis;
  • the purpose of recording the minimum value Xmin1 of the X-axis in the current trajectory data is to determine the X-axis coordinate of the starting point of the auxiliary line, and the X-axis coordinate corresponding to the position of the first character written by the user is the starting X-axis coordinate.
  • Step 502 receive a new touch instruction, generate new trajectory data, and determine the coordinates of the new trajectory data as (Xmax2, Ymax2);
  • Step 503 judging whether Xmax2 is greater than Xmax1+preset offset, if so, execute step 504, otherwise return to execute step 501;
  • Xmax2>Xmax1+preset offset it means that the user is writing the new trajectory data and the previous trajectory data do not belong to the same character at this time, so it can be based on the minimum value of the X axis and the Y axis in the previous trajectory data The maximum value of determines the starting point of the auxiliary line.
  • Step 504 Determine the larger value from Ymax1 and Ymax2 as the Y-axis coordinate of the starting point of the auxiliary line, use Xmin1 as the X-axis coordinate of the starting point of the auxiliary line, draw and display the auxiliary line along the X-axis direction.
  • the origin of the coordinate axes in this embodiment is located at the upper left corner of the display screen, therefore, the auxiliary line determined in this embodiment is located below the trajectory data.
  • the embodiment of the present disclosure provides an implementation flowchart for displaying standard formulas and prompting users.
  • the specific implementation of the process is as follows:
  • Step 600 receiving a user's touch instruction, and generating trajectory data
  • Step 601 record the smallest X-axis coordinate x and the smallest Y-axis coordinate y in the trajectory data corresponding to the first press-move-lift event;
  • the display screen has a touch function, which can detect the user's pressing, moving and lifting according to the change of the current, and can record the first pressing-moving-lifting event and the corresponding trajectory data.
  • the track data includes a plurality of track point coordinates.
  • Step 602 determining that no new touch instruction has been received within 1s
  • Step 603 performing trajectory recognition on the trajectory data, and determining a standard formula corresponding to the trajectory data;
  • Step 604 draw and display the standard calculation formula at the coordinates (x, y).
  • the coordinates (x, y) are taken as the starting point and displayed in the direction of the X axis.
  • Step 605 judging whether the standard formula contains an equal sign, if so, execute step 606, otherwise execute step 607;
  • Step 606 Convert the characters in the standard formula according to the predefined character type, and determine the calculation result of the converted conversion formula; display the calculation result on the display screen.
  • Step 607 receive a new touch command, generate new trajectory data, and continue to execute step 602 .
  • Step 700 Receive the unrecognized formula input by the user, and determine the standard formula corresponding to the unrecognized formula
  • Step 701 loop through the characters in the standard formula, and record the number of the currently traversed character as i;
  • Step 702 judging whether it is a square root number, if so, execute step 703, otherwise execute step 709;
  • Step 703 obtain the next character, and record that the coordinate at this time is k;
  • Step 704 judging whether it is a number, if so, execute step 705, otherwise execute step 706;
  • Step 705 starting from k+1, traversing backward until it is not a number and not " ⁇ ", record the number of the last number traversed as g, and execute step 708;
  • Step 706 judging whether it is a single bracket, if so, execute step 707, otherwise determine that it is an illegal formula.
  • Step 707 starting from k+1, traversing backwards until matching ")" paired with "(", and recording the number of ")” as g;
  • Step 708 obtain the character string between numbers i ⁇ g and record it as st, and replace it with "Math.sqrt("+st+”)", and continue to execute step 701;
  • Step 709 judging whether it is equal to "x", if so, execute step 710, otherwise execute step 711;
  • Step 710 replace " ⁇ " with “*”, and continue to execute step 701;
  • Step 711 judging whether it is equal to " ⁇ ", if so, execute step 712, otherwise execute step 713;
  • Step 712 replace " ⁇ " with “/”, and continue to execute step 701;
  • Step 713 judging whether it is equal to "%", if so, execute step 714, otherwise execute step 720;
  • Step 714 start the sub-loop, and traverse in reverse order with the current character number i;
  • Step 715 judging whether it is a number, if so continue to execute step 714, otherwise execute step 716;
  • Step 716 judging whether it is ".”, if so continue to execute step 714, otherwise execute step 717;
  • Step 717 judge whether the serial number of current character is greater than or equal to 0, if continue to execute step 714, otherwise execute step 718;
  • Step 718 assigning the number j of the current character to j+1, and recording the value between the assigned number j-i as num;
  • Step 719 replace the numbers between j ⁇ i with "("+num+”/100)", and continue to execute step 701;
  • Step 722 determine that the character is one of a number, a plus sign, and a minus sign, and continue to execute step 701 .
  • this embodiment also provides a flowchart for implementing the verification logic, and the specific implementation steps are as follows:
  • Step 800 convert the characters in the standard formula to obtain the converted formula.
  • the characters include: numbers, operation symbols, etc.
  • Step 801 determine whether the number is legal, if so, execute step 802, otherwise execute step 809;
  • the number "012" is illegal.
  • Step 802 judging whether there is a continuous operator, if so, execute step 809, otherwise execute step 803;
  • the conversion expression "1++2" is an illegal expression.
  • Step 803 judging whether the operator is at the beginning/end of the formula, if so, execute step 809, otherwise execute step 804;
  • Step 804 judging whether "%" is legal, if so, execute step 805, otherwise execute step 809;
  • Step 805 determine whether the brackets are legal, if so, execute step 806, otherwise execute step 809;
  • brackets do not appear in pairs, or if the brackets are empty, that is, there is no content in the brackets, the brackets are determined to be illegal, and the conversion formula is an illegal formula.
  • Step 806 judging whether it contains a non-operator, if so, execute step 809, otherwise execute step 807;
  • Step 807 judging whether there are numbers before and after the decimal point, if so, execute step 808, otherwise execute step 809;
  • Step 808 determine that the conversion formula is a legal formula.
  • Step 809 determine that the conversion formula is an illegal formula.
  • this embodiment also provides a logic flow chart of data formatting, and the specific implementation steps are as follows:
  • Step 900 based on the Web View kernel, determine the calculation result of the conversion formula
  • Step 901 retaining N characters after the decimal point in the calculation result
  • Step 902 judge whether the N characters are all 0, if so, execute step 903, otherwise execute step 904;
  • Step 903 using the scientific notation method to process the calculation result to obtain the processed calculation result
  • Step 904 end the data formatting, determine the calculation result and display it on the display screen.
  • this embodiment also provides a process for displaying the calculation results after the calculation formula input by the user.
  • the calculation result will be displayed in the corresponding position of the area according to the area of the formula entered by the user.
  • Step 1000 receiving the trajectory data input by the user on the display screen
  • Step 1001 record the maximum value Xmax of the X axis, the minimum value Xmin of the X axis, the maximum value Ymax of the Y axis, and the minimum value Ymin of the Y axis in the track data.
  • Step 1002 performing trajectory identification on the trajectory data, and determining a standard formula corresponding to the trajectory data
  • Step 1003 judging whether the current standard formula contains an equal sign, if so, execute step 1004, otherwise execute step 1001;
  • Step 1004 Determine the X-axis coordinate value of the second display position according to the recorded Xmax, and determine the Y-axis coordinate value of the display position according to the recorded Ymax and Ymin.
  • the Y-axis coordinate value of the second display position (Ymax+Ymin)/2.
  • the size of the calculation result can also be determined according to the recorded maximum value, minimum value and the number of characters in the standard calculation formula.
  • the size of the calculation result can be determined according to Xmax, Xmin, Ymax, Ymin and the number of current characters. In some examples, the displayed size of the calculation result may also be fixed.
  • Step 1005 displaying the calculation results at the positions of the X-axis coordinate value and the Y-axis coordinate value of the display screen.
  • Embodiment 2 based on the same inventive concept, the embodiment of the present disclosure also provides an intelligent interactive panel, because the intelligent interactive panel is the intelligent interactive panel in the method of the embodiment of the present disclosure, and the principle of solving the problem of the intelligent interactive panel is the same as The method is similar, so the implementation of the intelligent interactive panel can refer to the implementation of the method, and the repetition will not be repeated.
  • the intelligent interactive panel includes: a display screen 1100, a control circuit 1101, wherein:
  • the display screen 1100 is used to display content
  • the control circuit 1101 is configured to perform the following steps:
  • the calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
  • control circuit 1101 is further configured to execute:
  • the standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
  • control circuit 1101 is further configured to execute:
  • the calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
  • control circuit 1101 is specifically configured to execute:
  • a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
  • control circuit 1101 is specifically configured to execute:
  • control circuit 1101 is specifically configured to execute:
  • control circuit 1101 after receiving the to-be-recognized formula input by the user's handwriting, the control circuit 1101 is specifically further configured to execute:
  • N is a positive integer
  • An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
  • control circuit 1101 is specifically configured to execute:
  • the calculation result of the determined conversion formula includes:
  • the conversion formula is calculated to obtain a calculation result.
  • control circuit 1101 is specifically configured to execute:
  • the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
  • control circuit 1101 is specifically configured to execute:
  • the calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
  • control circuit 1101 is specifically configured to execute:
  • the calculation result is displayed on the display screen.
  • control circuit 1101 is further configured to execute:
  • the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
  • control circuit 1101 is further configured to execute:
  • auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
  • Embodiment 3 Based on the same inventive concept, the embodiment of the present disclosure also provides an intelligent computing device, because the device is the device in the method in the embodiment of the present disclosure, and the principle of solving the problem of the device is the same as that of the method Similar, so the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
  • the device includes a processor 1200 and a memory 1201, the memory 1201 is used to store a program executable by the processor 1200, and the processor 1200 is used to read the program in the memory 1201 and Perform the following steps:
  • the calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
  • the processor 1200 is specifically further configured to execute:
  • the standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
  • the processor 1200 is specifically further configured to execute:
  • the calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
  • a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
  • the processor 1200 is specifically configured to execute:
  • the processor 1200 is specifically configured to execute:
  • the processor 1200 is specifically further configured to execute:
  • N is a positive integer
  • An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
  • processor 1200 is further configured to execute:
  • the calculation result of the determined conversion formula includes:
  • the conversion formula is calculated to obtain a calculation result.
  • processor 1200 is further configured to execute:
  • the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
  • processor 1200 is further configured to execute:
  • the calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
  • processor 1200 is further configured to execute:
  • the calculation result is displayed on the display screen.
  • the processor 1200 is specifically further configured to execute:
  • the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
  • the processor 1200 is specifically further configured to execute:
  • auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
  • Embodiment 4 Based on the same inventive concept, the embodiment of the present disclosure also provides an intelligent computing device, since the device is the device in the method in the embodiment of the present disclosure, and the principle of solving the problem of the device is the same as that of the method Similar, therefore, the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
  • the device includes:
  • Acquiring formula unit 1300 configured to receive the formula to be recognized input by the user, and determine a standard formula corresponding to the formula to be recognized;
  • a formula conversion unit 1301, configured to convert characters in the standard formula according to a predefined character type to obtain a conversion formula
  • the result display unit 1302 is configured to determine the calculation result of the conversion formula and display the calculation result on the display screen.
  • a display unit is further included for:
  • the standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
  • the display unit is further configured to:
  • the calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
  • the display unit is specifically used for:
  • a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
  • the acquisition calculation unit 1300 is specifically configured to:
  • the acquisition calculation unit 1300 is specifically configured to:
  • a display auxiliary line unit specifically for:
  • N is a positive integer
  • An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
  • the arithmetic conversion unit 1301 is specifically configured to:
  • the conversion formula is calculated to obtain a calculation result.
  • the arithmetic conversion unit 1301 is specifically configured to:
  • the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
  • the result display unit 1302 is specifically configured to:
  • the calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign included in the to-be-recognized formula on the display screen.
  • the result display unit 1302 is specifically configured to:
  • the calculation result is displayed on the display screen.
  • the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
  • a deletion unit is further included:
  • auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
  • an embodiment of the present disclosure also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
  • the calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
  • the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

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

Provided in the present disclosure are an intelligent calculation method and an intelligent interactive tablet, which are used for automatically identifying and calculating an equation input by a user, and displaying a calculation result, thereby improving conference efficiency and interaction experience of the user. The method comprises: receiving an equation to be identified, which is input by a user, and determining a standard equation corresponding to said equation; converting characters in the standard equation according to a predefined character type, so as to obtain a converted equation; and determining a calculation result of the converted equation, and displaying the calculation result on a display screen.

Description

一种智能计算的方法及智能交互平板A method of intelligent computing and an intelligent interactive tablet 技术领域technical field
本公开涉及智能软件技术领域,特别涉及一种智能计算的方法及智能交互平板。The present disclosure relates to the technical field of intelligent software, in particular to an intelligent computing method and an intelligent interactive panel.
背景技术Background technique
智能会议是集成了电子白板、电脑和远程会议终端等多种设备的办公产品,具备交互式智能白板等多种功能。目前,随着智能会议的普及,具有触控手写功能的大尺寸(一般为50寸以上)智能交互显示设备也应运而生。目前市场上的大尺寸智能交互显示设备配置的书写软件,都只能支持与书写相关的基本功能,例如轨迹书写、笔迹切换等,无法满足用户的更多需求。Smart conference is an office product that integrates multiple devices such as electronic whiteboard, computer and remote conference terminal, and has multiple functions such as interactive smart whiteboard. At present, with the popularization of intelligent conferences, large-size (generally more than 50 inches) intelligent interactive display devices with touch handwriting functions have emerged as the times require. At present, the writing software configured on large-scale intelligent interactive display devices on the market can only support basic functions related to writing, such as trajectory writing, handwriting switching, etc., and cannot meet more needs of users.
发明内容Contents of the invention
本公开提供一种智能计算的方法及智能交互平板,用于自动识别并计算用户输入的算式,将计算结果进行显示,提高用户的会议效率和交互体验。The present disclosure provides an intelligent computing method and an intelligent interactive tablet, which are used to automatically recognize and calculate calculation formulas input by users, and display calculation results, so as to improve meeting efficiency and interactive experience of users.
第一方面,本公开实施例提供的一种智能计算的方法,应用于智能交互平板,包括:In the first aspect, an intelligent computing method provided by an embodiment of the present disclosure is applied to an intelligent interactive tablet, including:
接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Receiving the to-be-recognized formula input by the user, and determining a standard formula corresponding to the to-be-recognized formula;
根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;converting the characters in the standard formula according to the predefined character type to obtain the conversion formula;
确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。The calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,该方法还包括:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, the method further includes:
在所述显示屏上显示所述标准算式,其中所述待识别算式在所述显示屏上显示的第一位置,与所述标准算式在所述显示屏上显示的第二位置不重叠。The standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
作为一种可选的实施方式,所述确定转换算式的计算结果之后,该方法 还包括:As an optional implementation manner, after the calculation result of the conversion formula is determined, the method also includes:
在所述标准算式对应的第一显示位置显示所述计算结果,其中所述第一显示位置是根据所述标准算式的最后一个字符在所述显示屏上的位置确定的。The calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
作为一种可选的实施方式,所述在所述显示屏上显示所述标准算式,包括:As an optional implementation manner, the displaying the standard calculation formula on the display screen includes:
在所述显示屏的指定位置显示所述标准算式;或,displaying the standard calculation formula at a designated position on the display screen; or,
根据所述待识别算式在所述显示屏上显示的第一位置,确定与所述第一位置具有预设位置关系的第二位置,在所述第二位置显示所述标准算式。According to the first position displayed on the display screen of the formula to be recognized, a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式,包括:As an optional implementation manner, the determining the standard formula corresponding to the formula to be recognized includes:
将所述待识别算式发送给服务器,接收所述服务器发送的对所述待识别算式进行识别得到的标准算式;或,Sending the formula to be identified to a server, and receiving a standard formula sent by the server and obtained by identifying the formula to be identified; or,
对所述待识别算式进行识别得到对应的标准算式。Recognize the formula to be recognized to obtain a corresponding standard formula.
作为一种可选的实施方式,所述接收用户输入的待识别算式,确定所述待识别算式对应的标准算式,包括:As an optional implementation manner, the receiving the to-be-recognized formula input by the user, and determining the standard formula corresponding to the to-be-recognized formula includes:
接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式;或,receiving a user's handwritten input of the formula to be recognized, and performing trajectory recognition on the formula to be recognized to obtain a corresponding standard formula; or,
接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。Receive the unrecognized formula input by the user's voice, perform voice recognition on the unrecognized formula, and obtain the corresponding standard formula.
作为一种可选的实施方式,所述接收用户手写输入的待识别算式之后,还包括:As an optional implementation manner, after receiving the to-be-recognized formula input by the user's handwriting, it further includes:
根据用户手写输入的所述待识别算式的第N个字符在所述显示屏上的字符位置,确定起始坐标,其中N为正整数;Determine the starting coordinates according to the character position of the Nth character of the to-be-recognized formula input by the user on the display screen, wherein N is a positive integer;
根据所述起始坐标绘制辅助线,并在所述显示屏上显示所述辅助线,以提示用户在所述辅助线的对应位置上书写。An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
作为一种可选的实施方式,所述根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式,包括:As an optional implementation manner, the character in the standard formula is converted according to the predefined character type to obtain the conversion formula, including:
根据显示网页的控件WebView内核支持的字符类型,对所述标准算式中的字符进行转换,得到转换算式;According to the character type supported by the control WebView kernel of the displayed web page, the characters in the standard formula are converted to obtain the conversion formula;
所述确定转换算式的计算结果,包括:The calculation result of the determined conversion formula includes:
基于所述WebView内核,对所述转换算式进行计算,得到计算结果。Based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
作为一种可选的实施方式,所述根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式,包括:As an optional implementation manner, the character in the standard formula is converted according to the predefined character type to obtain the conversion formula, including:
若确定所述标准算式包含等号,则根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式。If it is determined that the standard formula contains an equal sign, the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
作为一种可选的实施方式,所述将所述计算结果在显示屏上进行显示,包括:As an optional implementation manner, the displaying the calculation result on a display screen includes:
在所述用户输入的待识别算式对应的第二显示位置显示所述计算结果,其中所述第二显示位置是根据所述待识别算式包含的等号在所述显示屏的位置确定的。The calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
作为一种可选的实施方式,所述将所述计算结果在显示屏上进行显示,包括:As an optional implementation manner, the displaying the calculation result on a display screen includes:
按照自定义的手写字体,将所述计算结果在显示屏上进行显示。According to the custom handwritten font, the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,该方法还包括:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, the method further includes:
若确定所述标准算式包含M个等号,则以所述等号为边界,将所述标准算式划分为M个子算式,确定并显示每个子算式的计算结果;其中M为大于1的整数。If it is determined that the standard formula contains M equal signs, the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
作为一种可选的实施方式,所述将所述计算结果在显示屏上进行显示之后,该方法还包括:As an optional implementation manner, after the calculation result is displayed on the display screen, the method further includes:
若在所述显示屏上显示所述标准算式,则删除显示的所述标准算式;或,If the standard formula is displayed on the display screen, then delete the displayed standard formula; or,
若在所述标准算式对应的第一显示位置显示所述计算结果,则删除显示的所述计算结果;或,If the calculation result is displayed at the first display position corresponding to the standard formula, then delete the displayed calculation result; or,
若在所述显示屏上显示所述辅助线,则删除显示的所述辅助线。If the auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
第二方面,本公开实施例提供的一种智能交互平板,包括显示屏、控制电路,其中:In the second aspect, an intelligent interactive tablet provided by an embodiment of the present disclosure includes a display screen and a control circuit, wherein:
所述显示屏用于进行内容的显示;The display screen is used to display content;
所述控制电路被配置为执行如下步骤:The control circuit is configured to perform the following steps:
接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Receiving the to-be-recognized formula input by the user, and determining a standard formula corresponding to the to-be-recognized formula;
根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;converting the characters in the standard formula according to the predefined character type to obtain the conversion formula;
确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。The calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,所述控制电路具体还被配置为执行:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, the control circuit is further configured to execute:
在所述显示屏上显示所述标准算式,其中所述待识别算式在所述显示屏上显示的第一位置,与所述标准算式在所述显示屏上显示的第二位置不重叠。The standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
作为一种可选的实施方式,所述确定转换算式的计算结果之后,所述控制电路具体还被配置为执行:As an optional implementation manner, after the calculation result of the conversion formula is determined, the control circuit is further configured to execute:
在所述标准算式对应的第一显示位置显示所述计算结果,其中所述第一显示位置是根据所述标准算式的最后一个字符在所述显示屏上的位置确定的。The calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
作为一种可选的实施方式,所述控制电路具体被配置为执行:As an optional implementation manner, the control circuit is specifically configured to execute:
在所述显示屏的指定位置显示所述标准算式;或,displaying the standard calculation formula at a designated position on the display screen; or,
根据所述待识别算式在所述显示屏上显示的第一位置,确定与所述第一位置具有预设位置关系的第二位置,在所述第二位置显示所述标准算式。According to the first position displayed on the display screen of the formula to be recognized, a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
作为一种可选的实施方式,所述控制电路具体被配置为执行:As an optional implementation manner, the control circuit is specifically configured to execute:
将所述待识别算式发送给服务器,接收所述服务器发送的对所述待识别算式进行识别得到的标准算式;或,Sending the formula to be identified to a server, and receiving a standard formula sent by the server and obtained by identifying the formula to be identified; or,
对所述待识别算式进行识别得到对应的标准算式。Recognize the formula to be recognized to obtain a corresponding standard formula.
作为一种可选的实施方式,所述控制电路具体被配置为执行:As an optional implementation manner, the control circuit is specifically configured to execute:
接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式;或,receiving a user's handwritten input of the formula to be recognized, and performing trajectory recognition on the formula to be recognized to obtain a corresponding standard formula; or,
接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。Receive the unrecognized formula input by the user's voice, perform voice recognition on the unrecognized formula, and obtain the corresponding standard formula.
作为一种可选的实施方式,所述接收用户手写输入的待识别算式之后,所述控制电路具体还被配置为执行:As an optional implementation manner, after receiving the to-be-recognized formula input by the user's handwriting, the control circuit is specifically further configured to execute:
根据用户手写输入的所述待识别算式的第N个字符在所述显示屏上的字符位置,确定起始坐标,其中N为正整数;Determine the starting coordinates according to the character position of the Nth character of the to-be-recognized formula input by the user on the display screen, wherein N is a positive integer;
根据所述起始坐标绘制辅助线,并在所述显示屏上显示所述辅助线,以提示用户在所述辅助线的对应位置上书写。An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
作为一种可选的实施方式,所述控制电路具体还被配置为执行:As an optional implementation manner, the control circuit is specifically configured to execute:
根据显示网页的控件WebView内核支持的字符类型,对所述标准算式中的字符进行转换,得到转换算式;According to the character type supported by the control WebView kernel of the displayed web page, the characters in the standard formula are converted to obtain the conversion formula;
所述确定转换算式的计算结果,包括:The calculation result of the determined conversion formula includes:
基于所述WebView内核,对所述转换算式进行计算,得到计算结果。Based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
作为一种可选的实施方式,所述控制电路具体还被配置为执行:As an optional implementation manner, the control circuit is specifically configured to execute:
若确定所述标准算式包含等号,则根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式。If it is determined that the standard formula contains an equal sign, the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
作为一种可选的实施方式,所述控制电路具体还被配置为执行:As an optional implementation manner, the control circuit is specifically configured to execute:
在所述用户输入的待识别算式对应的第二显示位置显示所述计算结果,其中所述第二显示位置是根据所述待识别算式包含的等号在所述显示屏的位置确定的。The calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
作为一种可选的实施方式,所述控制电路具体还被配置为执行:As an optional implementation manner, the control circuit is specifically configured to execute:
按照自定义的手写字体,将所述计算结果在显示屏上进行显示。According to the custom handwritten font, the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,所述控制电路具体还被配置为执行:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, the control circuit is further configured to execute:
若确定所述标准算式包含M个等号,则以所述等号为边界,将所述标准算式划分为M个子算式,确定并显示每个子算式的计算结果;其中M为大于1的整数。If it is determined that the standard formula contains M equal signs, the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
作为一种可选的实施方式,所述将所述计算结果在显示屏上进行显示之后,所述控制电路具体还被配置为执行:As an optional implementation manner, after the calculation result is displayed on the display screen, the control circuit is further configured to execute:
若在所述显示屏上显示所述标准算式,则删除显示的所述标准算式;或,If the standard formula is displayed on the display screen, then delete the displayed standard formula; or,
若在所述标准算式对应的第一显示位置显示所述计算结果,则删除显示的所述计算结果;或,If the calculation result is displayed at the first display position corresponding to the standard formula, then delete the displayed calculation result; or,
若在所述显示屏上显示所述辅助线,则删除显示的所述辅助线。If the auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
第三方面,本公开实施例提供的一种智能计算的装置,包括:In a third aspect, an intelligent computing device provided by an embodiment of the present disclosure includes:
获取算式单元,用于接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;The obtaining formula unit is used to receive the formula to be recognized input by the user, and determine the standard formula corresponding to the formula to be recognized;
算式转换单元,用于根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;A formula conversion unit, configured to convert characters in the standard formula according to a predefined character type to obtain a conversion formula;
结果显示单元,用于确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。The result display unit is used to determine the calculation result of the conversion formula and display the calculation result on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,还包括显示单元用于:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, a display unit is further included for:
在所述显示屏上显示所述标准算式,其中所述待识别算式在所述显示屏上显示的第一位置,与所述标准算式在所述显示屏上显示的第二位置不重叠。The standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
作为一种可选的实施方式,所述确定转换算式的计算结果之后,所述显示单元还用于:As an optional implementation manner, after the calculation result of the conversion formula is determined, the display unit is further configured to:
在所述标准算式对应的第一显示位置显示所述计算结果,其中所述第一显示位置是根据所述标准算式的最后一个字符在所述显示屏上的位置确定的。The calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
作为一种可选的实施方式,所述显示单元具体用于:As an optional implementation manner, the display unit is specifically used for:
在所述显示屏的指定位置显示所述标准算式;或,displaying the standard calculation formula at a designated position on the display screen; or,
根据所述待识别算式在所述显示屏上显示的第一位置,确定与所述第一位置具有预设位置关系的第二位置,在所述第二位置显示所述标准算式。According to the first position displayed on the display screen of the formula to be recognized, a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
作为一种可选的实施方式,所述获取算式单元具体用于:As an optional implementation manner, the acquisition formula unit is specifically used for:
将所述待识别算式发送给服务器,接收所述服务器发送的对所述待识别 算式进行识别得到的标准算式;或,Send the formula to be identified to a server, and receive the standard formula sent by the server to identify the formula to be identified; or,
对所述待识别算式进行识别得到对应的标准算式。Recognize the formula to be recognized to obtain a corresponding standard formula.
作为一种可选的实施方式,所述获取算式单元具体用于:As an optional implementation manner, the acquisition formula unit is specifically used for:
接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式;或,receiving a user's handwritten input of the formula to be recognized, and performing trajectory recognition on the formula to be recognized to obtain a corresponding standard formula; or,
接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。Receive the unrecognized formula input by the user's voice, perform voice recognition on the unrecognized formula, and obtain the corresponding standard formula.
作为一种可选的实施方式,所述接收用户手写输入的待识别算式之后,还包括显示辅助线单元具体用于:As an optional implementation manner, after receiving the to-be-recognized formula input by the user's handwriting, it also includes a display auxiliary line unit specifically for:
根据用户手写输入的所述待识别算式的第N个字符在所述显示屏上的字符位置,确定起始坐标,其中N为正整数;Determine the starting coordinates according to the character position of the Nth character of the to-be-recognized formula input by the user on the display screen, wherein N is a positive integer;
根据所述起始坐标绘制辅助线,并在所述显示屏上显示所述辅助线,以提示用户在所述辅助线的对应位置上书写。An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
作为一种可选的实施方式,所述算式转换单元具体用于:As an optional implementation manner, the arithmetic conversion unit is specifically used for:
根据显示网页的控件WebView内核支持的字符类型,对所述标准算式中的字符进行转换,得到转换算式;According to the character type supported by the control WebView kernel of the displayed web page, the characters in the standard formula are converted to obtain the conversion formula;
基于所述WebView内核,对所述转换算式进行计算,得到计算结果。Based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
作为一种可选的实施方式,所述算式转换单元具体用于:As an optional implementation manner, the arithmetic conversion unit is specifically used for:
若确定所述标准算式包含等号,则根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式。If it is determined that the standard formula contains an equal sign, the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
作为一种可选的实施方式,所述结果显示单元具体用于:As an optional implementation manner, the result display unit is specifically used for:
在所述用户输入的待识别算式对应的第二显示位置显示所述计算结果,其中所述第二显示位置是根据所述待识别算式包含的等号在所述显示屏的位置确定的。The calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
作为一种可选的实施方式,所述结果显示单元具体用于:As an optional implementation manner, the result display unit is specifically used for:
按照自定义的手写字体,将所述计算结果在显示屏上进行显示。According to the custom handwritten font, the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之 后,还包括划分算式单元用于:As an optional implementation manner, after determining the standard formula corresponding to the formula to be identified, it also includes dividing the formula unit for:
若确定所述标准算式包含M个等号,则以所述等号为边界,将所述标准算式划分为M个子算式,确定并显示每个子算式的计算结果;其中M为大于1的整数。If it is determined that the standard formula contains M equal signs, the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
作为一种可选的实施方式,所述将所述计算结果在显示屏上进行显示之后,还包括删除单元具体用于:As an optional implementation manner, after the calculation result is displayed on the display screen, a deletion unit is further included:
若在所述显示屏上显示所述标准算式,则删除显示的所述标准算式;或,If the standard formula is displayed on the display screen, then delete the displayed standard formula; or,
若在所述标准算式对应的第一显示位置显示所述计算结果,则删除显示的所述计算结果;或,If the calculation result is displayed at the first display position corresponding to the standard formula, then delete the displayed calculation result; or,
若在所述显示屏上显示所述辅助线,则删除显示的所述辅助线。If the auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
第四方面,本公开实施例还提供计算机存储介质,其上存储有计算机程序,该程序被处理器执行时用于实现上述第一方面所述方法的步骤。In a fourth aspect, an embodiment of the present disclosure further provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in the above-mentioned first aspect are implemented.
本公开的这些方面或其他方面在以下的实施例的描述中会更加简明易懂。These or other aspects of the present disclosure will be more concise and understandable in the description of the following embodiments.
附图说明Description of drawings
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本公开实施例提供的一种智能计算方法的实施流程图;FIG. 1 is an implementation flowchart of an intelligent computing method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种WebView的调用关系示意图;FIG. 2 is a schematic diagram of a calling relationship of a WebView provided by an embodiment of the present disclosure;
图3A为本公开实施例提供的一种自动计算并显示的界面示意图;FIG. 3A is a schematic diagram of an automatically calculated and displayed interface provided by an embodiment of the present disclosure;
图3B为本公开实施例提供的一种自动计算并显示的示意图;FIG. 3B is a schematic diagram of automatic calculation and display provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种智能计算的实施流程图;FIG. 4 is an implementation flowchart of an intelligent computing provided by an embodiment of the present disclosure;
图5为本公开实施例提供的一种辅助线的显示流程图;FIG. 5 is a flow chart of displaying an auxiliary line provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种显示算式提示用户的实施流程图;FIG. 6 is an implementation flowchart of a display formula prompting a user provided by an embodiment of the present disclosure;
图7为本公开实施例提供的一种数据转换功能实施流程图;FIG. 7 is a flowchart for implementing a data conversion function provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种校验逻辑实施流程图;FIG. 8 is a flow chart of a verification logic implementation provided by an embodiment of the present disclosure;
图9为本公开实施例提供的一种数据格式化的逻辑流程图;FIG. 9 is a logical flowchart of data formatting provided by an embodiment of the present disclosure;
图10为本公开实施例提供的一种在用户输入的算式后显示计算结果的流程图;FIG. 10 is a flow chart for displaying calculation results after a calculation formula input by a user provided by an embodiment of the present disclosure;
图11为本公开实施例提供的一种智能交互平板示意图;FIG. 11 is a schematic diagram of an intelligent interactive tablet provided by an embodiment of the present disclosure;
图12为本公开实施例提供的一种智能计算的设备示意图;FIG. 12 is a schematic diagram of an intelligent computing device provided by an embodiment of the present disclosure;
图13为本公开实施例提供的一种智能计算的装置示意图。FIG. 13 is a schematic diagram of an intelligent computing device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开作进一步地详细描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.
本公开实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The term "and/or" in the embodiments of the present disclosure describes the association relationship of associated objects, indicating that there may be three relationships, for example, A and/or B, which may mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The character "/" generally indicates that the contextual objects are an "or" relationship.
本公开实施例描述的应用场景是为了更加清楚的说明本公开实施例的技术方案,并不构成对于本公开实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本公开实施例提供的技术方案对于类似的技术问题,同样适用。其中,在本公开的描述中,除非另有说明,“多个”的含义是两个或两个以上。The application scenarios described in the embodiments of the present disclosure are to illustrate the technical solutions of the embodiments of the present disclosure more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present disclosure. It appears that the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems. Wherein, in the description of the present disclosure, unless otherwise specified, "plurality" means two or more.
实施例1、智能会议是集成了电子白板、电脑和远程会议终端等多种设备的办公产品,具备交互式智能白板等多种功能。目前,随着智能会议的普及,具有触控手写功能的大尺寸(一般为50寸以上)智能交互显示设备也应运而生。目前市场上的大尺寸智能交互显示设备配置的书写软件,都只能支持与书写相关的基本功能,例如轨迹书写、笔迹切换等,无法满足用户的更多需 求。Embodiment 1. A smart conference is an office product that integrates multiple devices such as an electronic whiteboard, a computer, and a remote conference terminal, and has multiple functions such as an interactive smart whiteboard. At present, with the popularization of intelligent conferences, large-size (generally more than 50 inches) intelligent interactive display devices with touch handwriting functions have emerged as the times require. Currently, the writing software for large-scale intelligent interactive display devices on the market can only support basic functions related to writing, such as trajectory writing, handwriting switching, etc., and cannot meet more needs of users.
本实施例中提供的智能计算的方法,设计的核心思想是识别用户输入的待识别算式,对识别得到的标准算式进行数据转换,并对转换后的转换算式进行计算得到计算结果,从而实现自动显示该计算结果的方案,在智能会议的过程中,不需要用户进行计算,能够自动将计算得到的结果进行显示,提高会议效率,提高用户的使用体验。The core idea of the intelligent calculation method provided in this embodiment is to identify the unrecognized formula input by the user, perform data conversion on the recognized standard formula, and calculate the converted conversion formula to obtain the calculation result, thereby realizing automatic The solution for displaying the calculation results does not require the user to perform calculations during the intelligent meeting, but can automatically display the calculated results, thereby improving meeting efficiency and user experience.
需要说明的是,本实施例中的智能计算的方法可以应用于终端***,主要包括Android***设备,例如大尺寸智能交互显示设备,大尺寸智能交互平板、电子白板,移动终端等智能设备。该终端***主要用于接收用户触摸指令、触控笔指令、语音指令等,并进行内容的显示。本实施例能够基于Android***设备自身的处理能力,对用户输入的待识别算式进行自动计算,响应效率更高,成本更低。It should be noted that the intelligent computing method in this embodiment can be applied to terminal systems, mainly including Android system devices, such as large-scale intelligent interactive display devices, large-scale intelligent interactive tablets, electronic whiteboards, mobile terminals and other smart devices. The terminal system is mainly used to receive user touch instructions, stylus instructions, voice instructions, etc., and display content. This embodiment can automatically calculate the to-be-recognized formula input by the user based on the processing capability of the Android system device itself, with higher response efficiency and lower cost.
需要说明的是,本实施例中的电子白板并非是传统的利用记号笔或者粉笔书写的电子白板,而是指具有触控手写功能的大尺寸(一般为50寸以上)智能交互显示设备;在该智能交互显示设备上,安装有电子白板等书写程序,用户可以利用手指、主动笔或被动笔等在该显示设备上进行书写,该智能交互显示设备可以包含液晶显示器(Liquid Crystal Display,LCD)、有机发光半导体(Organic Electroluminescence Display,OLED)、电子墨水等显示模组,可以实时显示书写笔迹。It should be noted that the electronic whiteboard in this embodiment is not a traditional electronic whiteboard for writing with a marker pen or chalk, but a large-size (generally more than 50 inches) intelligent interactive display device with a touch handwriting function; The intelligent interactive display device is equipped with writing programs such as an electronic whiteboard, and users can use fingers, active pens or passive pens to write on the display device. The intelligent interactive display device may include a liquid crystal display (Liquid Crystal Display, LCD) , organic light-emitting semiconductor (Organic Electroluminescence Display, OLED), electronic ink and other display modules, which can display handwriting in real time.
如图1所示,本实施例提供的一种智能计算方法的实施流程如下所示:As shown in Figure 1, the implementation process of an intelligent computing method provided in this embodiment is as follows:
步骤100、接收用户输入的待识别算式,确定所述待识别算式对应的标准算式; Step 100, receiving the to-be-recognized formula input by the user, and determining the standard formula corresponding to the to-be-recognized formula;
本实施例中的标准算式包括数字、运算符号、字母等字符,本实施例中的标准算式是基于用户输入的待识别算式进行识别得到的,其中识别待识别算式的过程可以是通过服务器执行的,也可以是通过显示设备(如智能交互平板)自身执行的。The standard formula in this embodiment includes characters such as numbers, operation symbols, and letters. The standard formula in this embodiment is obtained by identifying the formula to be recognized based on the user input, and the process of identifying the formula to be recognized can be performed by the server. , and may also be executed by the display device (such as an intelligent interactive tablet) itself.
在一些实施例中,本实施例中用户输入的待识别算式包括但不限于用户 手写输入的待识别算式,如用户作用于显示屏上的触摸指令形成的轨迹数据,用户语音输入的待识别算式,如用户通过电子白板的语音采集器输入的语音数据。In some embodiments, the to-be-recognized formula input by the user in this embodiment includes but not limited to the to-be-recognized formula input by the user's handwriting, such as the trajectory data formed by the user's touch instruction on the display screen, and the to-be-recognized formula input by the user's voice. , such as voice data input by the user through the voice collector of the electronic whiteboard.
在一些实施例中,终端***接收并解析用户的触摸指令,将触摸指令上传到白板软件中,白板软件接收触摸指令,形成轨迹数据,在显示屏上显示用户手写的轨迹数据。In some embodiments, the terminal system receives and analyzes the user's touch instruction, uploads the touch instruction to the whiteboard software, and the whiteboard software receives the touch instruction, forms trajectory data, and displays the user's handwritten trajectory data on the display screen.
在一些实施例中,本实施例提供如下任一或任多种确定所述待识别算式对应的标准算式的方式:In some embodiments, this embodiment provides any one or more ways of determining the standard formula corresponding to the formula to be recognized as follows:
方式1)将用户输入的待识别算式发送给服务器,接收所述服务器发送的对所述待识别算式进行识别得到的标准算式;Mode 1) sending the to-be-recognized formula input by the user to the server, and receiving the standard formula obtained by identifying the to-be-recognized formula sent by the server;
实施中,服务器接收到用户输入的待识别算式后,会对所述待识别算式进行识别,将识别得到的标准算式发送给智能交互平板如电子白板。In implementation, after receiving the unrecognized formula input by the user, the server will identify the unrecognized formula, and send the recognized standard formula to an intelligent interactive tablet such as an electronic whiteboard.
在一些实施例中,对待识别算式进行识别的方式基于用户输入的数据类型的不同而不同,具体实施中,如下所示:In some embodiments, the way to identify the formula to be identified is different based on the type of data input by the user. In specific implementation, it is as follows:
1a)接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式。1a) Receive the unrecognized formula input by the user's handwriting, perform trajectory recognition on the unrecognized formula, and obtain the corresponding standard formula.
如果用户手写输入的待识别算式是触摸指令形成的轨迹数据,则对轨迹数据进行轨迹识别,确定轨迹数据对应的标准算式,可选的,本实施例中的轨迹识别的算法包括但不限于自动分格算法、联机手写识别算法(Bi-LSTM)中的至少一种。其中,自动分格算法用于按照轨迹点的坐标,将算式拆分成一个一个规律排列的小格子,联机手写识别算法用于将每个小格子里面的轨迹数据进行识别。If the formula to be recognized by the user's handwriting input is the trajectory data formed by the touch command, then perform trajectory recognition on the trajectory data to determine the standard formula corresponding to the trajectory data. Optionally, the algorithm for trajectory recognition in this embodiment includes but is not limited to automatic At least one of lattice algorithm and online handwriting recognition algorithm (Bi-LSTM). Among them, the automatic grid division algorithm is used to split the formula into small grids arranged regularly according to the coordinates of the track points, and the online handwriting recognition algorithm is used to recognize the track data in each small grid.
1b)接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。1b) Receiving the unrecognized formula input by the user's voice, performing speech recognition on the unrecognized formula, and obtaining the corresponding standard formula.
如果用户语音输入的待识别算式是语音数据,则对语音数据进行语音识别,从而将语音数据转换为对应的算式。If the to-be-recognized formula input by the user's voice is voice data, voice recognition is performed on the voice data, so as to convert the voice data into a corresponding formula.
方式2)对用户输入的待识别算式进行识别,得到对应的标准算式。Mode 2) Recognize the unrecognized formula input by the user to obtain the corresponding standard formula.
该方式下,智能交互平板接收到用户输入的待识别算式后,会对用户输入的待识别算式进行识别,从而利用自身的识别能力确定该待识别算式对应的标准算式。In this way, after receiving the unrecognized formula input by the user, the intelligent interactive tablet will recognize the unrecognized formula input by the user, so as to use its own recognition ability to determine the standard formula corresponding to the unrecognized formula.
在一些实施例中,对待识别算式进行识别的方式基于用户输入的数据类型的不同而不同,具体实施中,如下所示:In some embodiments, the way to identify the formula to be identified is different based on the type of data input by the user. In specific implementation, it is as follows:
2a)接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式。2a) Receive the unrecognized formula input by the user's handwriting, perform track recognition on the unrecognized formula, and obtain the corresponding standard formula.
如果用户手写输入的待识别算式是触摸指令形成的轨迹数据,则对轨迹数据进行轨迹识别,确定轨迹数据对应的标准算式;If the formula to be recognized input by the user is the trajectory data formed by the touch command, the trajectory recognition is performed on the trajectory data, and the standard formula corresponding to the trajectory data is determined;
2b)接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。2b) Receiving the to-be-recognized formula input by the user's voice, performing speech recognition on the to-be-recognized formula, and obtaining the corresponding standard formula.
如果用户输入的待识别算式是语音数据,则对语音数据进行语音识别,从而将语音数据转换为对应的标准算式。If the formula to be recognized input by the user is voice data, perform voice recognition on the voice data, so as to convert the voice data into a corresponding standard formula.
在一些实施例中,如果用户手写输入待识别算式,则还可以提供书写辅助线,从而辅助用户在该辅助线对应的位置书写,从而提高轨迹识别的准确率,还可以控制书写的排版,提高用户的使用体验。需要说明的是,由于目前对用户书写的轨迹信息进行识别时,通常都是通过自动分格算法、联机手写识别算法等,该算法需要按照轨迹点的坐标将用户书写的待识别算式划分成规律排列的小格子,如果没有辅助线用于提示用户下一个字符的书写位置,那么由于大尺寸的智能交互平板,用户在书写过程中不能保证书写的待识别算式都基本处于同一水平线,导致对用户手写输入的待识别算式进行识别时,对待识别算式中属于同一个字符的轨迹信息无法准确地进行分格,进而无法准确地识别出每个分格中的内容,导致最终无法准确地识别出用户手写输入的待识别算式。In some embodiments, if the user enters the formula to be recognized by handwriting, a writing auxiliary line can also be provided to assist the user to write at the position corresponding to the auxiliary line, thereby improving the accuracy of trajectory recognition, and can also control the typesetting of writing to improve User experience. It should be noted that since the current recognition of the trajectory information written by the user is usually through an automatic grid division algorithm, an online handwriting recognition algorithm, etc., the algorithm needs to divide the recognition formula written by the user into regular patterns according to the coordinates of the trajectory points If there is no auxiliary line to remind the user of the writing position of the next character in the arranged small grid, then due to the large-sized intelligent interactive tablet, the user cannot guarantee that the written formulas to be recognized are basically on the same horizontal line during the writing process, resulting in a lot of confusion for the user. When the handwritten input formula to be recognized is recognized, the trajectory information belonging to the same character in the formula to be recognized cannot be accurately divided into grids, and the content in each grid cannot be accurately recognized, resulting in the inability to accurately identify the user in the end. The formula to be recognized by handwriting input.
本实施例可以在用户手写过程中,提供辅助线,以辅助用户输入的算式保持在同一水平线上,提高识别的准确度,本实施例提供辅助线的具体实施方式如下:This embodiment can provide auxiliary lines during the handwriting process of the user, so as to maintain the calculation formula input by the user on the same horizontal line and improve the accuracy of recognition. The specific implementation of the auxiliary line provided in this embodiment is as follows:
根据用户手写输入的所述待识别算式的第N个字符在所述显示屏上的字符位置,确定起始坐标,其中N为正整数;根据所述起始坐标绘制辅助线,并在所述显示屏上显示所述辅助线,以提示用户在所述辅助线的对应位置上书写。According to the character position of the Nth character of the formula to be recognized entered by the user's handwriting on the display screen, the initial coordinates are determined, wherein N is a positive integer; an auxiliary line is drawn according to the initial coordinates, and in the described The auxiliary line is displayed on the display screen to prompt the user to write on the corresponding position of the auxiliary line.
其中,本实施例中的辅助线是直线、射线、线段、带箭头的直线中的至少一种。本实施例对辅助线的线条类型、粗细、长度不作过多限定。本实施例中辅助线的长度可以根据显示屏的宽度、长度中的至少一种确定,本实施例中的辅助线的方向包括但不限于X轴方向、Y轴方向,其中X轴方向表示水平方向,Y轴方向表示竖直方向。Wherein, the auxiliary line in this embodiment is at least one of a straight line, a ray, a line segment, and a straight line with an arrow. In this embodiment, the line type, thickness, and length of the auxiliary line are not limited too much. The length of the auxiliary line in this embodiment can be determined according to at least one of the width and length of the display screen. The direction of the auxiliary line in this embodiment includes but is not limited to the X-axis direction and the Y-axis direction, where the X-axis direction represents the horizontal direction, and the Y-axis direction represents the vertical direction.
在一些实施例中,本实施例通过如下方式根据第N个字符在显示屏上的字符位置确定起始坐标:In some embodiments, this embodiment determines the starting coordinates according to the character position of the Nth character on the display screen in the following manner:
需要说明的是,本实施例中的字符位置具体是指第N个字符中包含的所有轨迹点的坐标;实施中,将字符位置包含的轨迹点的中心点坐标确定为所述起始坐标;或,将字符位置包含的轨迹点中X轴的最大值作为起始坐标的X坐标,将字符位置包含的轨迹点中Y轴的最小值作为起始坐标的Y坐标;或,将字符位置包含的轨迹点中X轴的最小值作为起始坐标的X坐标,将字符位置包含的轨迹点中Y轴的最小值作为起始坐标的Y坐标;将字符位置包含的轨迹点中X轴的最大值作为起始坐标的X坐标,将字符位置包含的轨迹点中Y轴的最大值作为起始坐标的Y坐标。It should be noted that the character position in this embodiment specifically refers to the coordinates of all track points contained in the Nth character; in implementation, the center point coordinates of the track points included in the character position are determined as the starting coordinates; Or, take the maximum value of the X-axis among the track points contained in the character position as the X coordinate of the starting coordinate, and use the minimum value of the Y-axis among the track points contained in the character position as the Y coordinate of the starting coordinate; or, use the character position containing The minimum value of the X-axis in the track point of the character position is used as the X-coordinate of the starting coordinate, and the minimum value of the Y-axis in the track point included in the character position is used as the Y-coordinate of the starting coordinate; the maximum value of the X-axis in the track point included in the character position is The value is the X coordinate of the starting coordinate, and the maximum value of the Y axis among the track points contained in the character position is used as the Y coordinate of the starting coordinate.
在一些实施例中后,根据所述起始坐标绘制辅助线的具体实施方法如下所示任意一种:In some embodiments, the specific implementation method of drawing the auxiliary line according to the starting coordinates is as follows:
(1)将所述起始坐标作为起点,沿预设方向绘制辅助线;(1) Using the starting coordinates as a starting point, draw an auxiliary line along a preset direction;
实施中,可以根据用户输入的第1个字符的所有轨迹点中X轴的最大值,以及Y轴的最大值,确定起始坐标,以该起始坐标为起点沿X轴的正方向绘制辅助线。还可以根据用户输入的第1个字符的所有轨迹点中X轴的最小值,以及Y轴的最小值,确定起始坐标,以该起始坐标为起点沿X轴的正方向绘制辅助线。In the implementation, the starting coordinates can be determined according to the maximum value of the X-axis and the maximum value of the Y-axis among all the track points of the first character input by the user, and the auxiliary drawing can be drawn along the positive direction of the X-axis with the starting coordinates as the starting point Wire. It is also possible to determine the starting coordinates according to the minimum value of the X-axis and the minimum value of the Y-axis among all the track points of the first character input by the user, and draw an auxiliary line along the positive direction of the X-axis with the starting coordinates as the starting point.
(2)将所述起始坐标作为所述辅助线上的任意一点,沿预设方向绘制辅助线。(2) Using the starting coordinates as any point on the auxiliary line, draw an auxiliary line along a preset direction.
实施中,可以根据用户输入的第1个字符的所有轨迹点中X轴的最大值,以及Y轴的最大值,确定起始坐标,以该起始坐标为辅助线上的一点,沿X轴的正方向和负方向绘制辅助线。还可以根据用户输入的第1个字符的所有轨迹点中X轴的最小值,以及Y轴的最小值,确定起始坐标,以该起始坐标为辅助线上的一点,沿X轴的正方向和负方向绘制辅助线。In the implementation, the starting coordinate can be determined according to the maximum value of the X-axis and the maximum value of the Y-axis among all the trajectory points of the first character input by the user, and the starting coordinate can be used as a point on the auxiliary line, along the X-axis Draw auxiliary lines in positive and negative directions. The starting coordinate can also be determined according to the minimum value of the X-axis and the minimum value of the Y-axis among all the track points of the first character input by the user, and the starting coordinate is a point on the auxiliary line. Direction and negative direction to draw auxiliary lines.
如果用户书写的轨迹数据倾斜或者跨行,在进行自动分格算法时,容易对轨迹数据的分格产生误差,导致后续的Bi-LSTM算法识别错误,或者不能识别。因此,本实施例中在用户书写第1个字后会显示辅助线,从而提示用户在该辅助线的对应位置进行书写,从而提高轨迹识别的准确率。If the trajectory data written by the user is tilted or across lines, it is easy to generate errors in the division of the trajectory data when the automatic grid division algorithm is performed, resulting in the subsequent Bi-LSTM algorithm recognition error or failure to recognize. Therefore, in this embodiment, after the user writes the first character, an auxiliary line will be displayed, thereby prompting the user to write at the corresponding position of the auxiliary line, thereby improving the accuracy of trajectory recognition.
在一些实施例中,本实施例可以周期对用户输入的待识别算式进行识别,其中,对用户输入的待识别算式进行识别的时机是,在预设时段内未接收到新的触摸指令(轨迹数据),则对待识别算式进行识别,或者将待识别算式发送给服务器,以使服务器进行识别后回传给智能交互平板。例如,如果在1s内未接收到新的触摸指令,则将本周期内开始接收-到结束接收的轨迹数据,上传到云端服务器,进行轨迹识别,轨迹识别完成后,将识别结果回传给智能交互平板。In some embodiments, this embodiment may periodically identify the unrecognized formula input by the user, wherein the timing for identifying the unrecognized formula input by the user is when no new touch instruction (trajectory) is received within a preset period of time. data), then identify the formula to be recognized, or send the formula to be recognized to the server, so that the server can identify it and send it back to the intelligent interactive panel. For example, if no new touch command is received within 1s, the trajectory data from the beginning to the end of receiving in this period will be uploaded to the cloud server for trajectory recognition. After the trajectory recognition is completed, the recognition result will be sent back to the smart Interactive tablet.
步骤101、根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式; Step 101. Convert the characters in the standard formula according to the predefined character type to obtain the conversion formula;
在一些实施例中,本实施例提供基于Android平台的电子白板,并利用WebView内核(WebView内核包括多种类型,通常为WebKit引擎)进行智能计算,通过此设计可以实现用户手写数学算式,自动计算出数学算式的结果,保留用户的原始轨迹,并在显示面板显示计算结果。其中,WebView是Android***的原生控件,主要作用是能够与前端界面(网页)响应交互,相当于一个简易的浏览器。由于使用WebView内核进行算式计算,响应效率高,方案实现成本低。In some embodiments, the present embodiment provides an electronic whiteboard based on the Android platform, and uses the WebView kernel (the WebView kernel includes multiple types, usually a WebKit engine) to perform intelligent calculations. Through this design, users can handwrite mathematical formulas and automatically calculate The results of mathematical calculations are obtained, the original track of the user is retained, and the calculation results are displayed on the display panel. Among them, WebView is a native control of the Android system, and its main function is to be able to respond and interact with the front-end interface (web page), which is equivalent to a simple browser. Since the WebView kernel is used for calculation, the response efficiency is high and the cost of solution implementation is low.
在一些实施例中,将识别得到的算式转换为WebView内核可识别的转换算式,例如识别结果为
Figure PCTCN2021133382-appb-000001
转换为“1+2/100+Math.sqrt(16/4)”,在本示例中,%替换为/100,
Figure PCTCN2021133382-appb-000002
替换为Math.sqrt(),÷替换为/。
In some embodiments, the recognized formula is converted into a conversion formula recognizable by the WebView kernel, for example, the recognition result is
Figure PCTCN2021133382-appb-000001
Converts to "1+2/100+Math.sqrt(16/4)", in this example % is replaced by /100,
Figure PCTCN2021133382-appb-000002
Replaced by Math.sqrt() and ÷ by /.
在一些实施例中,本实施例具体通过如下步骤进行计算:In some embodiments, this embodiment specifically calculates through the following steps:
根据显示网页的控件WebView(网页视图)内核支持的字符类型,对所述标准算式中的字符进行转换,得到转换算式;基于所述WebView内核,对所述转换算式进行计算,得到计算结果。According to the character type supported by the webpage control WebView (web view) kernel, the characters in the standard formula are converted to obtain a conversion formula; based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
需要说明的是,WebView是安卓内置的高性能、嵌入式的浏览器,在Android平台上是一个特殊的View,可以用来显示网页,是一个用于显示网页的控件,WebView类可以被用来在app中仅显示一张在线的网页,还可以用来开发浏览器。WebView内部实现是采用渲染引擎(WebKit引擎)来展示view的内容,提供网页前进后退、网页放大、缩小、搜索等功能。WebView是一个基于WebKit引擎、展现Web页面的控件,Android的WebView在低版本和高版本采用了不同的WebKit内核版本。目前的WebView内核主要用于处理页面的显示问题,而本公开利用WebView内核自身的处理能力来实现计算器功能,从而提高响应效率,降低实现成本。It should be noted that WebView is a built-in high-performance and embedded browser in Android. It is a special View on the Android platform and can be used to display web pages. It is a control for displaying web pages. The WebView class can be used to Only one online webpage is displayed in the app, and it can also be used to develop a browser. The internal implementation of WebView uses a rendering engine (WebKit engine) to display the content of the view, and provides functions such as web page forward and backward, web page zoom in, zoom out, and search. WebView is a control based on the WebKit engine that displays Web pages. Android's WebView uses different WebKit kernel versions in low and high versions. The current WebView kernel is mainly used to deal with page display issues, and the present disclosure uses the processing capability of the WebView kernel itself to realize the calculator function, thereby improving response efficiency and reducing implementation costs.
如图2所示,本实施例提供了一种WebView的调用关系示意图,具体调用的实施流程如下所示:As shown in FIG. 2 , this embodiment provides a schematic diagram of a calling relationship of WebView, and the implementation process of the specific calling is as follows:
步骤200、在显示界面接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Step 200, receiving the unrecognized formula input by the user on the display interface, and determining the standard formula corresponding to the unrecognized formula;
步骤201、根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;Step 201, according to the predefined character type, convert the characters in the standard formula to obtain the conversion formula;
步骤202、将转换算式传递给WebView,并且向WebView注册回调接口;Step 202, passing the conversion formula to WebView, and registering a callback interface with WebView;
步骤203、WebView得到转换算式后,触发利用WebView内核进行转换算式的自动计算;Step 203, after the WebView obtains the conversion formula, it triggers the automatic calculation of the conversion formula using the WebView kernel;
步骤204、WebView内核将自动计算得到的计算结果返回给显示界面进行显示。Step 204, the WebView kernel returns the calculation result obtained by the automatic calculation to the display interface for display.
本实施例中的字符类型包括但不限于String类型、“*”、“÷”、“Math.sqrt()”等。The character types in this embodiment include but not limited to String type, "*", "÷", "Math.sqrt()" and so on.
需要说明的是,传统的Android计算是基于寄存器的,只能够支持类型为int,double这样的整数,浮点型数据,并不支持String类型的数据。而Web View内核是能够直接支持String类型的计算,但是WebView只能够支持“+-”数据公式符号,不能够支持类似于“×”、“÷”这样的公式符号,因此,必须将“×”转换为“*”、将“÷”转换为“/”才能够识别。It should be noted that traditional Android calculations are based on registers, and can only support integers and floating-point data of types such as int and double, and do not support data of String type. The Web View kernel can directly support calculations of the String type, but WebView can only support "+-" data formula symbols, and cannot support formula symbols like "×" and "÷". Therefore, "×" must be Convert to "*" and "÷" to "/" to be recognized.
在一些实施例中,本实施例还提供一种算式校验,用于校验算式的合法性,校验的内容包括但不限于:数字是否合法、是否存在连续运算符、运算符不能置于公式首尾、%是否合法、括号是否合法,非空括号,是否成对出现、小数点前后为数字等。其中,本实施例中的校验可以在对标准算式进行转换之前执行,也可以在对标准算式进行转换之后执行,本实施例对此不作过多限定。具体实施如下所示:In some embodiments, this embodiment also provides a calculation formula check, which is used to check the legality of the calculation formula. The content of the check includes but is not limited to: whether the number is legal, whether there is a continuous operator, the operator cannot be placed The beginning and end of the formula, whether the % is legal, whether the brackets are legal, whether the brackets are not empty, whether they appear in pairs, whether there are numbers before and after the decimal point, etc. Wherein, the verification in this embodiment may be performed before converting the standard formula, or after converting the standard formula, which is not limited in this embodiment. The specific implementation is as follows:
在对所述标准算式中的字符进行转换之后,对所述转换后的转换算式的合法性进行校验,得到校验后的转换算式;或,After converting the characters in the standard formula, verifying the legality of the converted conversion formula to obtain the verified conversion formula; or,
先对标准算式的合法性进行校验后,对所述校验后的标准算式中的字符进行转换,得到转换算式。After verifying the legality of the standard formula, the characters in the verified standard formula are converted to obtain the converted formula.
在一些实施例中,本实施例还提供一种格式化方法,具体实施为:在所述确定转换后的转换算式的计算结果之后,且将所述计算结果在显示屏上进行显示之前,对所述计算结果进行数据格式化,得到数据格式化后的计算结果,从而在显示屏上显示数据格式化后的计算结果。In some embodiments, this embodiment also provides a formatting method, which is specifically implemented as follows: after the calculation result of the converted conversion formula is determined and before the calculation result is displayed on the display screen, the Data formatting is performed on the calculation result to obtain the calculation result after the data formatting, so that the calculation result after the data formatting is displayed on the display screen.
可选的,本实施例中的数据格式化包括但不限于:科学计数法、小数点后保留预设位数。Optionally, the data formatting in this embodiment includes, but is not limited to: scientific notation, and retaining preset digits after the decimal point.
步骤102、确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。 Step 102, determine the calculation result of the conversion formula, and display the calculation result on the display screen.
在一些实施例中,在获取标准算式之后,若确定该标准算式包含等号,则根据预定义的字符类型,对所述标准算式中的字符进行转换,对所述转换 后的转换算式进行计算,确定所述计算结果。实施中,如果标准算式中包含等号,则代表着本次的标准算式是一个完整的算式,需要开始进行计算,那么可以根据预定义的字符类型,对所述标准算式中的字符进行转换;对转换后得到的转换算式进行计算,最终确定计算结果。In some embodiments, after the standard formula is obtained, if it is determined that the standard formula contains an equal sign, the characters in the standard formula are converted according to a predefined character type, and the converted conversion formula is calculated. , to determine the calculation result. During implementation, if the standard formula contains an equal sign, it means that the standard formula is a complete formula and needs to be calculated, so the characters in the standard formula can be converted according to the predefined character types; Calculate the conversion formula obtained after the conversion, and finally determine the calculation result.
在一些实施例中,在所述用户输入的待识别算式对应的第二显示位置显示所述计算结果,其中所述第二显示位置是根据所述待识别算式包含的等号在所述显示屏的位置确定的。In some embodiments, the calculation result is displayed at a second display position corresponding to the formula to be recognized input by the user, wherein the second display position is displayed on the display screen according to the equal sign contained in the formula to be recognized The location is determined.
在一些实施例中,本实施例中计算结果具体的显示位置,可以是根据所述用户输入的待识别算式的位置确定的;具体实施中:根据所述用户输入的待识别算式包含的等号在所述显示屏的位置,确定所述计算结果的显示位置;在所述显示位置显示所述计算结果。In some embodiments, the specific display position of the calculation result in this embodiment may be determined according to the position of the formula to be recognized input by the user; in specific implementation: according to the equal sign included in the formula to be recognized input by the user In the position of the display screen, the display position of the calculation result is determined; and the calculation result is displayed in the display position.
在一些实施例中,本实施例中计算结果显示的大小,可以根据输入的数据的平均大小确定,也可以预先设置固定大小值,本实施例对此不作过多限定。In some embodiments, the size displayed by the calculation result in this embodiment may be determined according to the average size of the input data, or a fixed size value may be preset, which is not limited too much in this embodiment.
实施中,当对用户输入的待识别算式进行识别后,如果确定用户输入的待识别算式中包含等号“=”,则可以将该计算结果显示在等号后面固定距离处。例如,可以确定该等号的坐标(x1,y1),将坐标(x1+c,y1)作为显示位置,在该坐标(x1+c,y1)处显示计算结果。其中c为固定值,本实施例中的坐标都是指显示屏上的坐标。In practice, after the recognition of the formula to be recognized input by the user is performed, if it is determined that the formula to be recognized entered by the user contains an equal sign "=", the calculation result may be displayed at a fixed distance behind the equal sign. For example, the coordinate (x1, y1) of the equal sign may be determined, the coordinate (x1+c, y1) is used as the display position, and the calculation result is displayed at the coordinate (x1+c, y1). Wherein c is a fixed value, and the coordinates in this embodiment all refer to the coordinates on the display screen.
在一些实施例中,如果对用户在同一行中输入的待识别算式进行识别后,得到的标准算式中包含了2个或2个以上的等号,说明用户在同一行中书写了多个待识别算式,为了准确计算每一个待识别算式的计算结果,本实施例可以先对包含多个等号的标准算式进行划分,得到多个子算式,从而利用本实施例中的方法对每一个子算式都确定计算结果并显示。具体实施步骤如下:In some embodiments, if the obtained standard formula contains 2 or more equal signs after identifying the formula to be recognized input by the user in the same line, it means that the user has written multiple waiting formulas in the same line. To identify the formula, in order to accurately calculate the calculation result of each formula to be recognized, this embodiment can first divide the standard formula that contains multiple equal signs to obtain multiple sub-calculations, so that each sub-calculation can be calculated using the method in this embodiment. Both determine the calculation results and display them. The specific implementation steps are as follows:
若确定所述标准算式包含M个等号,则以所述等号为边界,将所述标准算式划分为M个子算式,确定并显示每个子算式的计算结果;其中M为大于1的整数。If it is determined that the standard formula contains M equal signs, the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
针对任意一个子算式,通过如下方式确定计算结果并显示:For any sub-calculation, the calculation result is determined and displayed in the following ways:
根据预定义的字符类型,对所述子算式中的字符进行转换,确定转换后的子算式的计算结果;将所述计算结果在显示屏上进行显示。Convert the characters in the sub-expression according to the predefined character type, and determine the calculation result of the converted sub-expression; display the calculation result on the display screen.
需要说明的是,本实施例对标准算式的实施流程同样也适用于对子算式的实施,此处不再赘述。It should be noted that, the implementation process of the standard formula in this embodiment is also applicable to the implementation of the sub-calculation, which will not be repeated here.
在一些实施例中,为了保证计算结果的字体与用户手写的待识别算式的一致性,本实施例还提供一种自定义的手写字体,本实施例可以按照自定义的手写字体,将所述计算结果在显示屏上进行显示。即计算结果以自定义的手写字体的形式显示在显示屏上用户手写算式的后面。In some embodiments, in order to ensure that the font of the calculation result is consistent with the formula to be recognized handwritten by the user, this embodiment also provides a custom handwritten font. This embodiment can use the custom handwritten font to convert the Calculation results are displayed on the display. That is, the calculation result is displayed behind the user's handwritten calculation on the display screen in the form of a user-defined handwritten font.
其中,本实施例中的自定义的手写字体的获取过程是,预先采集样本用户手写输入的手写字体,例如采集手写输入的手写数字0、1、2、3、4、5、6、7、8、9,并将该样本用户的任意一个手写数字对应的轨迹点存储在于该手写数字对应的本地文件中,当确定出计算结果后,确定与该计算结果对应的本地文件,从对应的本地文件中读取出存储的轨迹点后,经过缩放后显示手写字体的计算结果。Wherein, the acquisition process of the custom handwritten font in this embodiment is to collect the handwritten font input by the sample user in advance, for example, collect the handwritten digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, and store the track point corresponding to any handwritten number of the sample user in the local file corresponding to the handwritten number. After the calculation result is determined, the local file corresponding to the calculation result is determined, and from the corresponding local After the stored track points are read out from the file, the calculated results of the handwritten font will be displayed after scaling.
在一些实施例中,本实施例通过上述步骤,能够自动计算出用户输入的待识别算式的计算结果,并将计算结果在用户输入的待识别算式后面进行显示。如图3A所示,本实施例提供的一种自动计算并显示的界面示意图,其中,图中等号后面的数字都是自动计算得到的计算结果,并通过自定义的手写字体的形式进行显示的,以用户手写轨迹为例,还可以在用户手写的第一个字符“7”的下方位置绘制并显示辅助线,从而辅助用户规范书写。In some embodiments, this embodiment can automatically calculate the calculation result of the to-be-recognized formula input by the user through the above steps, and display the calculation result behind the to-be-recognized formula input by the user. As shown in Figure 3A, this embodiment provides a schematic diagram of an automatically calculated and displayed interface, wherein the numbers behind the equal sign in the figure are calculation results obtained by automatic calculation, and are displayed in the form of custom handwritten fonts , taking the user's handwriting trajectory as an example, an auxiliary line may also be drawn and displayed below the first character "7" handwritten by the user, so as to assist the user to standardize writing.
在一些实施例中,本实施例中的显示的辅助线,在将所述计算结果在显示屏上进行显示之后,便会自动删除。例如,用户书写完“7-2=”之后,会在识别出等号后,自动进行计算,并在将结果5显示在等号后面的同时,删除辅助线。In some embodiments, the displayed auxiliary lines in this embodiment are automatically deleted after the calculation result is displayed on the display screen. For example, after the user finishes writing "7-2=", the calculation will be performed automatically after the equal sign is recognized, and the auxiliary line will be deleted while the result 5 is displayed behind the equal sign.
在一些实施例中,本实施例在确定标准算式之后,还可以将识别得到的标准算式也显示在显示屏上,其中所述标准算式显示的第一位置与所述用户 在显示屏上输入的待识别算式显示的第二位置不重叠。In some embodiments, after the standard formula is determined in this embodiment, the recognized standard formula can also be displayed on the display screen, wherein the first position displayed by the standard formula is the same as the value input by the user on the display screen. The second positions displayed by the equations to be recognized do not overlap.
所述标准算式显示的位置包括但不限于:指定位置,例如显示屏的左上角,右上角,左下角,右下角等;或,动态位置,即根据用户输入的待识别算式的位置而确定的位置。The positions displayed by the standard formulas include but are not limited to: specified positions, such as the upper left corner, upper right corner, lower left corner, lower right corner, etc. of the display screen; or, dynamic positions, which are determined according to the position of the formula to be recognized input by the user Location.
在一些实施例中,本实施例提供如下任一种显示标准算式的方式:In some embodiments, this embodiment provides any of the following ways of displaying standard calculations:
1)在所述显示屏的指定位置显示所述标准算式;1) displaying the standard formula at a specified position on the display screen;
2)根据所述待识别算式在所述显示屏上显示的第一位置,确定与所述第一位置具有预设位置关系的第二位置,在所述第二位置显示所述标准算式。2) According to the first position displayed on the display screen of the formula to be recognized, determine a second position having a preset position relationship with the first position, and display the standard formula at the second position.
其中,第二位置可以位于第一位置的上方、下方、左侧、右侧中的任一区域。Wherein, the second position may be located in any area above, below, left, or right of the first position.
在一些实施例中,还可以按预设标准字符格式,在所述显示屏上显示所述算式。例如标准字体格式(如宋体)、标准大小、标准运算符格式、标准字母格式等,其中标准字符格式可以根据用户需求预先设定,本实施例对此不作过多限定。In some embodiments, the calculation formula can also be displayed on the display screen in a preset standard character format. For example, standard font format (such as Times New Roman), standard size, standard operator format, standard letter format, etc., wherein the standard character format can be preset according to user requirements, which is not limited in this embodiment.
在一些实施例中,在所述标准算式对应的第一显示位置显示所述计算结果,其中所述第一显示位置是根据所述标准算式的最后一个字符在所述显示屏上的位置确定的。In some embodiments, the calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen .
在一些实施例中,本实施例还可以在显示标准算式之后,将计算结果也显示在该标准算式之后,实施中,根据所述标准算式的最后一个字符在所述显示屏上的位置以及预设间隔,确定对应的第一显示位置,并在所述第一显示位置显示所述计算结果。例如,确定算式的最后一个字符“=”在显示屏上显示的位置坐标为(x2,y2),则将(x2+d,y2)作为提示位置的坐标,在(x2+d,y2)处显示计算结果。In some embodiments, this embodiment can also display the calculation result after the standard formula is displayed. In implementation, according to the position of the last character of the standard formula on the display screen and the preset An interval is set, a corresponding first display position is determined, and the calculation result is displayed at the first display position. For example, if the coordinates of the last character "=" in the formula displayed on the display screen are (x2, y2), then (x2+d, y2) will be used as the coordinates of the prompt position, and at (x2+d, y2) Display the calculation result.
可选的,按预设标准字符格式,在所述显示屏上显示所述标准算式;以及在所述第一显示位置按预设标准字符格式显示所述计算结果。Optionally, displaying the standard calculation formula on the display screen in a preset standard character format; and displaying the calculation result in a preset standard character format at the first display position.
如图3B所示,本实施例提供的一种自动计算并显示的示意图,图中在当前书写公式“7-2=5”的上方位置,按标准字符格式显示识别的算式“7-2=5”, 以提示用户判断当前识别的算式是否正确。As shown in Figure 3B, a schematic diagram of automatic calculation and display provided by this embodiment, in the figure above the current written formula "7-2=5", the recognized formula "7-2=5" is displayed in a standard character format 5” to prompt the user to judge whether the currently recognized formula is correct.
在一些实施例中,将所述计算结果在显示屏上进行显示之后,本实施例还提供如下任一或任多种删除的方式,具体如下所示:In some embodiments, after the calculation result is displayed on the display screen, this embodiment also provides any one or more deletion methods as follows, specifically as follows:
(1)若在所述显示屏上显示所述标准算式,则将所述计算结果在显示屏上进行显示之后删除显示的所述标准算式;(1) If the standard formula is displayed on the display screen, then delete the displayed standard formula after displaying the calculation result on the display screen;
需要说明的是,显示的标准算式和用户输入的待识别算式是不同的,用户输入的待识别算式是根据用户的触摸指令生成的轨迹数据,显示的形式是基于用户的轨迹数据确定的,而标准算式是对用户输入的数据进行识别得到的,如果识别正确,那么标准算式便是用户输入的手写待识别算式的标准化形式,如果识别错误,那么标准算式是用户输入的手写待识别算式的错误显示。标准算式显示的形式可以由用户自行定义。It should be noted that the displayed standard formula is different from the unrecognized formula input by the user. The unrecognized formula input by the user is the trajectory data generated according to the user's touch command, and the displayed form is determined based on the user's trajectory data. The standard formula is obtained by identifying the data input by the user. If the recognition is correct, the standard formula is the standardized form of the handwritten formula to be recognized entered by the user. If the recognition is wrong, the standard formula is the error of the handwritten formula to be recognized entered by the user. show. The display form of the standard calculation formula can be defined by the user.
如果在用户书写的过程中,会将用户书写的数据识别后显示在该数据的上方,在得到计算结果后,由于此时不需要再提示用户识别的标准算式是否正确,因此可以删除标准算式。If the data written by the user is recognized and displayed above the data during the writing process of the user, after the calculation result is obtained, there is no need to prompt the user whether the recognized standard formula is correct, so the standard formula can be deleted.
(2)若在标准算式对应的第一显示位置显示所述计算结果,则将所述计算结果在显示屏上进行显示之后删除显示的所述计算结果;(2) If the calculation result is displayed at the first display position corresponding to the standard formula, then delete the displayed calculation result after displaying the calculation result on the display screen;
如果在用户书写的过程中,不仅将识别得到的标准算式进行显示,而且在显示的标准算式的后面还显示计算结果,那么在得到计算结果后,可以删除该标准算式以及计算结果。If the user not only displays the recognized standard formula but also displays the calculation result after the displayed standard formula while the user is writing, then the standard formula and the calculation result can be deleted after the calculation result is obtained.
(3)若在所述显示屏上显示所述辅助线,则将所述计算结果在显示屏上进行显示之后删除显示的所述辅助线。(3) If the auxiliary line is displayed on the display screen, the calculation result is displayed on the display screen and then the displayed auxiliary line is deleted.
如果在用户书写的过程中,已经得到并显示计算结果,不需要用户继续书写,此时可以删除辅助线。If the calculation result has been obtained and displayed during the writing process of the user, and the user does not need to continue writing, the auxiliary line can be deleted at this time.
在一些实施例中,本实施例中的转换算式可计算的范围包括但不限于:加、减、乘、除、开根号、平方、立方、指数、三角函数、log计算中的至少一种。本实施例对此不作过多限定。In some embodiments, the calculable range of the conversion formula in this embodiment includes but is not limited to: at least one of addition, subtraction, multiplication, division, square root, square, cube, exponential, trigonometric functions, and log calculations . This embodiment does not make too many limitations on this.
如图4所示,本实施例提供一种智能计算的实施流程,应用于电子白板,具体实施流程如下所示:As shown in FIG. 4, this embodiment provides an implementation process of intelligent computing, which is applied to an electronic whiteboard. The specific implementation process is as follows:
步骤400、对用户输入的待识别算式进行轨迹识别,确定所述待识别算式对应的标准算式; Step 400, perform trajectory recognition on the unrecognized formula input by the user, and determine the standard formula corresponding to the unrecognized formula;
步骤401、根据所述用户输入的待识别算式中的第1个字符在所述显示屏上的字符位置,确定起始坐标,以所述起始坐标为起点,沿预设方向绘制并显示辅助线。Step 401: Determine the starting coordinates according to the character position on the display screen of the first character in the formula to be recognized input by the user, draw and display the auxiliary character along the preset direction with the starting coordinates as the starting point Wire.
步骤402、根据所述用户输入的待识别算式在所述显示屏上显示的第一位置,确定在所述第一位置的上方,按预设标准字符格式,在所述显示屏上显示标准算式。 Step 402, according to the first position of the to-be-recognized formula input by the user displayed on the display screen, determine that it is above the first position, and display the standard formula on the display screen according to the preset standard character format .
步骤403、若确定标准算式包含等号,则根据预定义的字符类型,对标准算式中的字符进行转换;对转换后的转换算式的合法性进行校验,得到校验后的转换算式;对校验后的转换算式进行计算,确定计算结果。 Step 403, if it is determined that the standard formula contains an equal sign, then convert the characters in the standard formula according to the predefined character type; check the legality of the converted conversion formula to obtain the verified conversion formula; The verified conversion formula is calculated to determine the calculation result.
步骤404、对所述计算结果进行数据格式化,得到数据格式化后的计算结果; Step 404, performing data formatting on the calculation result to obtain the calculation result after data formatting;
步骤405、根据待识别算式包含的等号在显示屏的位置,确定计算结果的显示位置,并在显示位置显示数据格式化后的计算结果。Step 405 : Determine the display position of the calculation result according to the position of the equal sign contained in the calculation formula to be recognized on the display screen, and display the calculation result after data formatting at the display position.
如图5所示,本实施例还提供一种辅助线的显示流程图,本实施例中辅助线显示的具体实施流程如下所示:As shown in Figure 5, this embodiment also provides a flow chart for displaying auxiliary lines, and the specific implementation process for displaying auxiliary lines in this embodiment is as follows:
步骤500、接收用户的触摸指令,生成轨迹数据; Step 500, receiving a user's touch instruction, and generating trajectory data;
步骤501、记录当前轨迹数据中X轴的最大值Xmax1和最小值Xmin1,Y轴的最大值Ymax1; Step 501, recording the maximum value Xmax1 and minimum value Xmin1 of the X axis in the current trajectory data, and the maximum value Ymax1 of the Y axis;
记录当前轨迹数据中的X轴的最小值Xmin1的目的,是为了确定辅助线起点的X轴的坐标,以用户书写的首个字符的位置对应的X轴坐标为起点的X轴坐标。The purpose of recording the minimum value Xmin1 of the X-axis in the current trajectory data is to determine the X-axis coordinate of the starting point of the auxiliary line, and the X-axis coordinate corresponding to the position of the first character written by the user is the starting X-axis coordinate.
步骤502、接收新的触摸指令,生成新轨迹数据,确定新轨迹数据的坐标 为(Xmax2,Ymax2); Step 502, receive a new touch instruction, generate new trajectory data, and determine the coordinates of the new trajectory data as (Xmax2, Ymax2);
步骤503、判断Xmax2是否大于Xmax1+预设偏移量,若是执行步骤504,否则返回执行步骤501; Step 503, judging whether Xmax2 is greater than Xmax1+preset offset, if so, execute step 504, otherwise return to execute step 501;
实施中,如果Xmax2>Xmax1+预设偏移量,说明此时用户书写的是新轨迹数据和之前的轨迹数据不属于同一个字符,因此可以依据之前的轨迹数据中X轴的最小值和Y轴的最大值确定辅助线的起点。In the implementation, if Xmax2>Xmax1+preset offset, it means that the user is writing the new trajectory data and the previous trajectory data do not belong to the same character at this time, so it can be based on the minimum value of the X axis and the Y axis in the previous trajectory data The maximum value of determines the starting point of the auxiliary line.
步骤504、从Ymax1和Ymax2中确定较大值作为辅助线起点的Y轴坐标,将Xmin1作为辅助线起点的X轴坐标,沿X轴方向绘制并显示辅助线。Step 504: Determine the larger value from Ymax1 and Ymax2 as the Y-axis coordinate of the starting point of the auxiliary line, use Xmin1 as the X-axis coordinate of the starting point of the auxiliary line, draw and display the auxiliary line along the X-axis direction.
需要说明的是,本实施例中的坐标轴的原点位于显示屏的左上角,因此,本实施例中确定的辅助线位于轨迹数据的下方。It should be noted that the origin of the coordinate axes in this embodiment is located at the upper left corner of the display screen, therefore, the auxiliary line determined in this embodiment is located below the trajectory data.
如图6所示,本公开实施例提供一种显示标准算式提示用户的实施流程图,该流程具体实施如下:As shown in Figure 6, the embodiment of the present disclosure provides an implementation flowchart for displaying standard formulas and prompting users. The specific implementation of the process is as follows:
步骤600、接收用户的触摸指令,生成轨迹数据; Step 600, receiving a user's touch instruction, and generating trajectory data;
步骤601、记录第一次按下-移动-抬起事件对应的轨迹数据中最小的X轴坐标x,和最小的Y轴坐标y; Step 601, record the smallest X-axis coordinate x and the smallest Y-axis coordinate y in the trajectory data corresponding to the first press-move-lift event;
需要说明的是,显示屏具备触控功能,可以根据电流的变化检测到用户按下、移动以及抬起,并能够记录第一次按下-移动-抬起事件,以及对应的轨迹数据。其中轨迹数据包括多个轨迹点坐标。It should be noted that the display screen has a touch function, which can detect the user's pressing, moving and lifting according to the change of the current, and can record the first pressing-moving-lifting event and the corresponding trajectory data. The track data includes a plurality of track point coordinates.
步骤602、确定1s内未接收到新的触摸指令; Step 602, determining that no new touch instruction has been received within 1s;
步骤603、对轨迹数据进行轨迹识别,确定轨迹数据对应的标准算式; Step 603, performing trajectory recognition on the trajectory data, and determining a standard formula corresponding to the trajectory data;
步骤604、在坐标(x,y)处绘制并显示标准算式。 Step 604, draw and display the standard calculation formula at the coordinates (x, y).
可选的,显示标准算式时,以坐标(x,y)为起点,在X轴方向进行显示。Optionally, when displaying the standard calculation formula, the coordinates (x, y) are taken as the starting point and displayed in the direction of the X axis.
步骤605、判断标准算式是否包含等号,若是执行步骤606,否则执行步骤607; Step 605, judging whether the standard formula contains an equal sign, if so, execute step 606, otherwise execute step 607;
步骤606、根据预定义的字符类型,对标准算式中的字符进行转换,确定转换后的转换算式的计算结果;将所述计算结果在显示屏上进行显示。Step 606: Convert the characters in the standard formula according to the predefined character type, and determine the calculation result of the converted conversion formula; display the calculation result on the display screen.
步骤607、接收新的触摸指令,生成新轨迹数据,继续执行步骤602。 Step 607 , receive a new touch command, generate new trajectory data, and continue to execute step 602 .
如图7所示,本实施例提供的一种数据转换功能实施流程图,该数据转换的具体实施流程如下所示:As shown in FIG. 7, a flow chart of implementing a data conversion function provided by this embodiment, the specific implementation process of the data conversion is as follows:
步骤700、接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Step 700: Receive the unrecognized formula input by the user, and determine the standard formula corresponding to the unrecognized formula;
步骤701、循环遍历标准算式中的字符,记录当前遍历的字符的编号为i; Step 701, loop through the characters in the standard formula, and record the number of the currently traversed character as i;
步骤702、判断是否为开根号,若是执行步骤703,否则执行步骤709; Step 702, judging whether it is a square root number, if so, execute step 703, otherwise execute step 709;
例如,判断是否等于
Figure PCTCN2021133382-appb-000003
For example, to determine whether it is equal to
Figure PCTCN2021133382-appb-000003
步骤703、获取下一个字符,并记录此时坐标为k; Step 703, obtain the next character, and record that the coordinate at this time is k;
步骤704、判断是否为数字,若是执行步骤705,否则执行步骤706; Step 704, judging whether it is a number, if so, execute step 705, otherwise execute step 706;
步骤705、以k+1为起点,向后遍历,直到非数字且非“∵”为止,记录遍历的最后一个数字的编号为g,执行步骤708;Step 705, starting from k+1, traversing backward until it is not a number and not "∵", record the number of the last number traversed as g, and execute step 708;
步骤706、判断是否为单括号,若是执行步骤707,否则确定为非法算式。 Step 706, judging whether it is a single bracket, if so, execute step 707, otherwise determine that it is an illegal formula.
可选的,例如,判断是否为“(”,则提示用户当前算式为非法算式。Optionally, for example, if it is judged whether it is "(", the user is prompted that the current calculation formula is an illegal calculation formula.
步骤707、以k+1为起点,向后遍历,直到匹配与“(”成对的“)”,并记录“)”的编号为g; Step 707, starting from k+1, traversing backwards until matching ")" paired with "(", and recording the number of ")" as g;
步骤708、获取编号i~g之间的字符串记录为st,并替换为“Math.sqrt(″+st+″)”,继续执行步骤701; Step 708, obtain the character string between numbers i~g and record it as st, and replace it with "Math.sqrt("+st+")", and continue to execute step 701;
步骤709、判断是否等于“×”,若是执行步骤710,否则执行步骤711; Step 709, judging whether it is equal to "x", if so, execute step 710, otherwise execute step 711;
例如,判断是否等于“×”。For example, it is judged whether it is equal to "x".
步骤710、将“×”替换为“*”,继续执行步骤701; Step 710, replace "×" with "*", and continue to execute step 701;
步骤711、判断是否等于“÷”,若是执行步骤712,否则执行步骤713;Step 711, judging whether it is equal to "÷", if so, execute step 712, otherwise execute step 713;
步骤712、将“÷”替换为“/”,继续执行步骤701; Step 712, replace "÷" with "/", and continue to execute step 701;
步骤713、判断是否等于“%”,若是执行步骤714,否则执行步骤720; Step 713, judging whether it is equal to "%", if so, execute step 714, otherwise execute step 720;
步骤714、开启子循环,以当前字符编号i进行倒序遍历;Step 714, start the sub-loop, and traverse in reverse order with the current character number i;
步骤715、判断是否为数字,若是继续执行步骤714,否则执行步骤716; Step 715, judging whether it is a number, if so continue to execute step 714, otherwise execute step 716;
步骤716、判断是否为“.”,若是继续执行步骤714,否则执行步骤717; Step 716, judging whether it is ".", if so continue to execute step 714, otherwise execute step 717;
步骤717、判断当前字符的编号是否大于等于0,若是继续执行步骤714,否则执行步骤718; Step 717, judge whether the serial number of current character is greater than or equal to 0, if continue to execute step 714, otherwise execute step 718;
步骤718、将当前字符的编号j赋值为j+1,并记录赋值后的编号j-i之间的值为num; Step 718, assigning the number j of the current character to j+1, and recording the value between the assigned number j-i as num;
步骤719、将j~i之间数字替换为“(″+num+″/100)”,继续执行步骤701; Step 719, replace the numbers between j~i with "("+num+"/100)", and continue to execute step 701;
步骤720、判断是否为“=”,若是执行步骤721,否则执行步骤722; Step 720, judging whether it is "=", if so, execute step 721, otherwise execute step 722;
步骤721、删除“=”; Step 721, delete "=";
步骤722、确定字符为数字、加号、减号中的一种,继续执行步骤701。 Step 722 , determine that the character is one of a number, a plus sign, and a minus sign, and continue to execute step 701 .
如图8所示,本实施例还提供一种校验逻辑实施流程图,具体实施步骤如下所示:As shown in FIG. 8 , this embodiment also provides a flowchart for implementing the verification logic, and the specific implementation steps are as follows:
步骤800、对标准算式中的字符进行转换,得到转换算式。 Step 800, convert the characters in the standard formula to obtain the converted formula.
其中字符包括:数字、运算符号等。The characters include: numbers, operation symbols, etc.
步骤801、判断数字是否合法,若是执行步骤802,否则执行步骤809; Step 801, determine whether the number is legal, if so, execute step 802, otherwise execute step 809;
例如,数字“012”为非法数字。For example, the number "012" is illegal.
步骤802、判断是否存在连续运算符,若是执行步骤809,否则执行步骤803; Step 802, judging whether there is a continuous operator, if so, execute step 809, otherwise execute step 803;
例如,转换算式“1++2”为非法算式。For example, the conversion expression "1++2" is an illegal expression.
步骤803、判断运算符是否位于算式首/尾,若是执行步骤809,否则执行步骤804; Step 803, judging whether the operator is at the beginning/end of the formula, if so, execute step 809, otherwise execute step 804;
例如,转换算式“+1+=”为非法算式。For example, the conversion formula "+1+=" is an illegal formula.
步骤804、判断“%”是否合法,若是执行步骤805,否则执行步骤809; Step 804, judging whether "%" is legal, if so, execute step 805, otherwise execute step 809;
例如,算式“1%2”为非法算式。For example, the formula "1%2" is an illegal formula.
步骤805、判断括号是否合法,若是执行步骤806,否则执行步骤809; Step 805, determine whether the brackets are legal, if so, execute step 806, otherwise execute step 809;
例如,若括号没有成对出现,或者是空括号即括号里面没有内容,都确定括号不合法,转换算式为非法算式。For example, if the brackets do not appear in pairs, or if the brackets are empty, that is, there is no content in the brackets, the brackets are determined to be illegal, and the conversion formula is an illegal formula.
步骤806、判断是否包含非运算符,若是执行步骤809,否则执行步骤807; Step 806, judging whether it contains a non-operator, if so, execute step 809, otherwise execute step 807;
例如,若转换算式中存在“(+”、“+)”、“)+”、“+(”等类似的连续不同运算符时,确认转换算式包含非运算符,转换算式为非法算式。For example, if there are consecutive different operators such as "(+", "+)", ")+" and "+(" in the conversion formula, it is confirmed that the conversion formula contains a negation operator, and the conversion formula is an illegal formula.
步骤807、判断小数点前后是否为数字,若是执行步骤808,否则执行步骤809; Step 807, judging whether there are numbers before and after the decimal point, if so, execute step 808, otherwise execute step 809;
例如,“%.”小数点前为百分号,则确定转换算式为非法算式。For example, if "%." is a percent sign before the decimal point, it is determined that the conversion formula is an illegal formula.
步骤808、确定转换算式是合法算式。 Step 808, determine that the conversion formula is a legal formula.
步骤809、确定转换算式是非法算式。 Step 809, determine that the conversion formula is an illegal formula.
如图9所示,本实施例还提供一种数据格式化的逻辑流程图,具体实施步骤如下所示:As shown in FIG. 9, this embodiment also provides a logic flow chart of data formatting, and the specific implementation steps are as follows:
步骤900、基于所述Web View内核,确定转换算式的计算结果; Step 900, based on the Web View kernel, determine the calculation result of the conversion formula;
步骤901、保留计算结果中小数点后的N个字符; Step 901, retaining N characters after the decimal point in the calculation result;
步骤902、判断N个字符是否都是0,若是执行步骤903,否则执行步骤904; Step 902, judge whether the N characters are all 0, if so, execute step 903, otherwise execute step 904;
步骤903、利用科学计数法对计算结果进行处理,得到处理后的计算结果; Step 903, using the scientific notation method to process the calculation result to obtain the processed calculation result;
步骤904、结束数据格式化,确定计算结果并在显示屏上显示。 Step 904, end the data formatting, determine the calculation result and display it on the display screen.
如图10所示,本实施例还提供一种在用户输入的算式后显示计算结果的流程,根据实时获取用户轨迹数据中X轴的最大值和最小值,Y轴的最大值和最小值,在识别出算式中存在等号之后,根据用户输入的算式所在的区域,将计算结果显示在该区域对应的位置上,具体实施步骤如下所示:As shown in Figure 10, this embodiment also provides a process for displaying the calculation results after the calculation formula input by the user. According to the real-time acquisition of the maximum and minimum values of the X-axis and the maximum and minimum values of the Y-axis in the user trajectory data, After identifying the presence of an equal sign in the formula, the calculation result will be displayed in the corresponding position of the area according to the area of the formula entered by the user. The specific implementation steps are as follows:
步骤1000、接收用户在显示屏上输入的轨迹数据; Step 1000, receiving the trajectory data input by the user on the display screen;
步骤1001、记录轨迹数据中X轴的最大值Xmax,X轴的最小值Xmin,Y轴的最大值Ymax,Y轴的最小值Ymin。 Step 1001 , record the maximum value Xmax of the X axis, the minimum value Xmin of the X axis, the maximum value Ymax of the Y axis, and the minimum value Ymin of the Y axis in the track data.
步骤1002、对轨迹数据进行轨迹识别,确定轨迹数据对应的标准算式; Step 1002, performing trajectory identification on the trajectory data, and determining a standard formula corresponding to the trajectory data;
步骤1003、判断当前标准算式是否包含等号,若是执行步骤1004,否则 执行步骤1001; Step 1003, judging whether the current standard formula contains an equal sign, if so, execute step 1004, otherwise execute step 1001;
步骤1004、根据记录的Xmax确定第二显示位置的X轴坐标值,根据记录的Ymax和Ymin,确定显示位置的Y轴坐标值。Step 1004: Determine the X-axis coordinate value of the second display position according to the recorded Xmax, and determine the Y-axis coordinate value of the display position according to the recorded Ymax and Ymin.
在一些示例中,可以设定固定值C,第二显示位置的X轴坐标值=Xmax+C;In some examples, a fixed value C can be set, and the X-axis coordinate value of the second display position=Xmax+C;
第二显示位置的Y轴坐标值=(Ymax+Ymin)/2。The Y-axis coordinate value of the second display position=(Ymax+Ymin)/2.
在一些示例中,还可以根据记录的最大值、最小值以及标准算式中字符的个数确定计算结果的大小。In some examples, the size of the calculation result can also be determined according to the recorded maximum value, minimum value and the number of characters in the standard calculation formula.
在一些示例中,可以根据Xmax、Xmin、Ymax、Ymin以及当前字符的个数,确定计算结果的大小。在一些示例中,计算结果显示的大小也可以是固定的。In some examples, the size of the calculation result can be determined according to Xmax, Xmin, Ymax, Ymin and the number of current characters. In some examples, the displayed size of the calculation result may also be fixed.
例如,计算结果的宽度=(Xmax-Xmin)/(算式中字符的个数),计算结果的高度=Ymax-Ymin,从而根据宽度、高度确定计算结果的大小。For example, the width of the calculation result=(Xmax-Xmin)/(the number of characters in the formula), the height of the calculation result=Ymax-Ymin, so the size of the calculation result is determined according to the width and height.
步骤1005、在显示屏的X轴坐标值、Y轴坐标值的位置上显示计算结果。 Step 1005, displaying the calculation results at the positions of the X-axis coordinate value and the Y-axis coordinate value of the display screen.
实施例2、基于相同的发明构思,本公开实施例还提供了一种智能交互平板,由于该智能交互平板为本公开实施例方法中的智能交互平板,并且该智能交互平板解决问题的原理与该方法相似,因此该智能交互平板的实施可以参见方法的实施,重复之处不再赘述。Embodiment 2, based on the same inventive concept, the embodiment of the present disclosure also provides an intelligent interactive panel, because the intelligent interactive panel is the intelligent interactive panel in the method of the embodiment of the present disclosure, and the principle of solving the problem of the intelligent interactive panel is the same as The method is similar, so the implementation of the intelligent interactive panel can refer to the implementation of the method, and the repetition will not be repeated.
如图11所示,该智能交互平板包括:显示屏1100、控制电路1101,其中:As shown in Figure 11, the intelligent interactive panel includes: a display screen 1100, a control circuit 1101, wherein:
所述显示屏1100用于进行内容的显示;The display screen 1100 is used to display content;
所述控制电路1101被配置为执行如下步骤:The control circuit 1101 is configured to perform the following steps:
接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Receiving the to-be-recognized formula input by the user, and determining a standard formula corresponding to the to-be-recognized formula;
根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;converting the characters in the standard formula according to the predefined character type to obtain the conversion formula;
确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。The calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,所述控制电路1101具体还被配置为执行:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, the control circuit 1101 is further configured to execute:
在所述显示屏上显示所述标准算式,其中所述待识别算式在所述显示屏上显示的第一位置,与所述标准算式在所述显示屏上显示的第二位置不重叠。The standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
作为一种可选的实施方式,所述确定转换算式的计算结果之后,所述控制电路1101具体还被配置为执行:As an optional implementation manner, after the calculation result of the conversion formula is determined, the control circuit 1101 is further configured to execute:
在所述标准算式对应的第一显示位置显示所述计算结果,其中所述第一显示位置是根据所述标准算式的最后一个字符在所述显示屏上的位置确定的。The calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
作为一种可选的实施方式,所述控制电路1101具体被配置为执行:As an optional implementation manner, the control circuit 1101 is specifically configured to execute:
在所述显示屏的指定位置显示所述标准算式;或,displaying the standard calculation formula at a designated position on the display screen; or,
根据所述待识别算式在所述显示屏上显示的第一位置,确定与所述第一位置具有预设位置关系的第二位置,在所述第二位置显示所述标准算式。According to the first position displayed on the display screen of the formula to be recognized, a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
作为一种可选的实施方式,所述控制电路1101具体被配置为执行:As an optional implementation manner, the control circuit 1101 is specifically configured to execute:
将所述待识别算式发送给服务器,接收所述服务器发送的对所述待识别算式进行识别得到的标准算式;或,Sending the formula to be identified to a server, and receiving a standard formula sent by the server and obtained by identifying the formula to be identified; or,
对所述待识别算式进行识别得到对应的标准算式。Recognize the formula to be recognized to obtain a corresponding standard formula.
作为一种可选的实施方式,所述控制电路1101具体被配置为执行:As an optional implementation manner, the control circuit 1101 is specifically configured to execute:
接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式;或,receiving a user's handwritten input of the formula to be recognized, and performing trajectory recognition on the formula to be recognized to obtain a corresponding standard formula; or,
接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。Receive the unrecognized formula input by the user's voice, perform speech recognition on the unrecognized formula, and obtain the corresponding standard formula.
作为一种可选的实施方式,所述接收用户手写输入的待识别算式之后,所述控制电路1101具体还被配置为执行:As an optional implementation manner, after receiving the to-be-recognized formula input by the user's handwriting, the control circuit 1101 is specifically further configured to execute:
根据用户手写输入的所述待识别算式的第N个字符在所述显示屏上的字符位置,确定起始坐标,其中N为正整数;Determine the starting coordinates according to the character position of the Nth character of the to-be-recognized formula input by the user on the display screen, wherein N is a positive integer;
根据所述起始坐标绘制辅助线,并在所述显示屏上显示所述辅助线,以提示用户在所述辅助线的对应位置上书写。An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
作为一种可选的实施方式,所述控制电路1101具体还被配置为执行:As an optional implementation manner, the control circuit 1101 is specifically configured to execute:
根据显示网页的控件WebView内核支持的字符类型,对所述标准算式中 的字符进行转换,得到转换算式;According to the character type supported by the control WebView kernel of the displayed web page, the characters in the standard formula are converted to obtain the conversion formula;
所述确定转换算式的计算结果,包括:The calculation result of the determined conversion formula includes:
基于所述WebView内核,对所述转换算式进行计算,得到计算结果。Based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
作为一种可选的实施方式,所述控制电路1101具体还被配置为执行:As an optional implementation manner, the control circuit 1101 is specifically configured to execute:
若确定所述标准算式包含等号,则根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式。If it is determined that the standard formula contains an equal sign, the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
作为一种可选的实施方式,所述控制电路1101具体还被配置为执行:As an optional implementation manner, the control circuit 1101 is specifically configured to execute:
在所述用户输入的待识别算式对应的第二显示位置显示所述计算结果,其中所述第二显示位置是根据所述待识别算式包含的等号在所述显示屏的位置确定的。The calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
作为一种可选的实施方式,所述控制电路1101具体还被配置为执行:As an optional implementation manner, the control circuit 1101 is specifically configured to execute:
按照自定义的手写字体,将所述计算结果在显示屏上进行显示。According to the custom handwritten font, the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,所述控制电路1101具体还被配置为执行:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, the control circuit 1101 is further configured to execute:
若确定所述标准算式包含M个等号,则以所述等号为边界,将所述标准算式划分为M个子算式,确定并显示每个子算式的计算结果;其中M为大于1的整数。If it is determined that the standard formula contains M equal signs, the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
作为一种可选的实施方式,所述将所述计算结果在显示屏上进行显示之后,所述控制电路1101具体还被配置为执行:As an optional implementation manner, after the calculation result is displayed on the display screen, the control circuit 1101 is further configured to execute:
若在所述显示屏上显示所述标准算式,则删除显示的所述标准算式;或,If the standard formula is displayed on the display screen, then delete the displayed standard formula; or,
若在所述标准算式对应的第一显示位置显示所述计算结果,则删除显示的所述计算结果;或,If the calculation result is displayed at the first display position corresponding to the standard formula, then delete the displayed calculation result; or,
若在所述显示屏上显示所述辅助线,则删除显示的所述辅助线。If the auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
实施例3、基于相同的发明构思,本公开实施例还提供了一种智能计算的设备,由于该设备即是本公开实施例中的方法中的设备,并且该设备解决问题的原理与该方法相似,因此该设备的实施可以参见方法的实施,重复之处 不再赘述。Embodiment 3. Based on the same inventive concept, the embodiment of the present disclosure also provides an intelligent computing device, because the device is the device in the method in the embodiment of the present disclosure, and the principle of solving the problem of the device is the same as that of the method Similar, so the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
如图12所示,该设备包括处理器1200和存储器1201,所述存储器1201用于存储所述处理器1200可执行的程序,所述处理器1200用于读取所述存储器1201中的程序并执行如下步骤:As shown in FIG. 12 , the device includes a processor 1200 and a memory 1201, the memory 1201 is used to store a program executable by the processor 1200, and the processor 1200 is used to read the program in the memory 1201 and Perform the following steps:
接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Receiving the to-be-recognized formula input by the user, and determining a standard formula corresponding to the to-be-recognized formula;
根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;converting the characters in the standard formula according to the predefined character type to obtain the conversion formula;
确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。The calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,所述处理器1200具体还被配置为执行:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, the processor 1200 is specifically further configured to execute:
在所述显示屏上显示所述标准算式,其中所述待识别算式在所述显示屏上显示的第一位置,与所述标准算式在所述显示屏上显示的第二位置不重叠。The standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
作为一种可选的实施方式,所述确定转换算式的计算结果之后,所述处理器1200具体还被配置为执行:As an optional implementation manner, after the calculation result of the conversion formula is determined, the processor 1200 is specifically further configured to execute:
在所述标准算式对应的第一显示位置显示所述计算结果,其中所述第一显示位置是根据所述标准算式的最后一个字符在所述显示屏上的位置确定的。The calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
作为一种可选的实施方式,所述处理器1200具体被配置为执行:As an optional implementation manner, the processor 1200 is specifically configured to execute:
在所述显示屏的指定位置显示所述标准算式;或,displaying the standard calculation formula at a designated position on the display screen; or,
根据所述待识别算式在所述显示屏上显示的第一位置,确定与所述第一位置具有预设位置关系的第二位置,在所述第二位置显示所述标准算式。According to the first position displayed on the display screen of the formula to be recognized, a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
作为一种可选的实施方式,所述处理器1200具体被配置为执行:As an optional implementation manner, the processor 1200 is specifically configured to execute:
将所述待识别算式发送给服务器,接收所述服务器发送的对所述待识别算式进行识别得到的标准算式;或,Sending the formula to be identified to a server, and receiving a standard formula sent by the server and obtained by identifying the formula to be identified; or,
对所述待识别算式进行识别得到对应的标准算式。Recognize the formula to be recognized to obtain a corresponding standard formula.
作为一种可选的实施方式,所述处理器1200具体被配置为执行:As an optional implementation manner, the processor 1200 is specifically configured to execute:
接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式;或,receiving a user's handwritten input of the formula to be recognized, and performing trajectory recognition on the formula to be recognized to obtain a corresponding standard formula; or,
接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。Receive the unrecognizable formula input by the user's voice, perform voice recognition on the unrecognizable formula, and obtain the corresponding standard formula.
作为一种可选的实施方式,所述接收用户手写输入的待识别算式之后,所述处理器1200具体还被配置为执行:As an optional implementation manner, after receiving the to-be-recognized formula input by the user's handwriting, the processor 1200 is specifically further configured to execute:
根据用户手写输入的所述待识别算式的第N个字符在所述显示屏上的字符位置,确定起始坐标,其中N为正整数;Determine the starting coordinates according to the character position of the Nth character of the to-be-recognized formula input by the user on the display screen, wherein N is a positive integer;
根据所述起始坐标绘制辅助线,并在所述显示屏上显示所述辅助线,以提示用户在所述辅助线的对应位置上书写。An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
作为一种可选的实施方式,所述处理器1200具体还被配置为执行:As an optional implementation manner, the processor 1200 is further configured to execute:
根据显示网页的控件WebView内核支持的字符类型,对所述标准算式中的字符进行转换,得到转换算式;According to the character type supported by the control WebView kernel of the displayed web page, the characters in the standard formula are converted to obtain the conversion formula;
所述确定转换算式的计算结果,包括:The calculation result of the determined conversion formula includes:
基于所述WebView内核,对所述转换算式进行计算,得到计算结果。Based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
作为一种可选的实施方式,所述处理器1200具体还被配置为执行:As an optional implementation manner, the processor 1200 is further configured to execute:
若确定所述标准算式包含等号,则根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式。If it is determined that the standard formula contains an equal sign, the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
作为一种可选的实施方式,所述处理器1200具体还被配置为执行:As an optional implementation manner, the processor 1200 is further configured to execute:
在所述用户输入的待识别算式对应的第二显示位置显示所述计算结果,其中所述第二显示位置是根据所述待识别算式包含的等号在所述显示屏的位置确定的。The calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
作为一种可选的实施方式,所述处理器1200具体还被配置为执行:As an optional implementation manner, the processor 1200 is further configured to execute:
按照自定义的手写字体,将所述计算结果在显示屏上进行显示。According to the custom handwritten font, the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,所述处理器1200具体还被配置为执行:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, the processor 1200 is specifically further configured to execute:
若确定所述标准算式包含M个等号,则以所述等号为边界,将所述标准算式划分为M个子算式,确定并显示每个子算式的计算结果;其中M为大于1的整数。If it is determined that the standard formula contains M equal signs, the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
作为一种可选的实施方式,所述将所述计算结果在显示屏上进行显示之后,所述处理器1200具体还被配置为执行:As an optional implementation manner, after the calculation result is displayed on the display screen, the processor 1200 is specifically further configured to execute:
若在所述显示屏上显示所述标准算式,则删除显示的所述标准算式;或,If the standard formula is displayed on the display screen, then delete the displayed standard formula; or,
若在所述标准算式对应的第一显示位置显示所述计算结果,则删除显示的所述计算结果;或,If the calculation result is displayed at the first display position corresponding to the standard formula, then delete the displayed calculation result; or,
若在所述显示屏上显示所述辅助线,则删除显示的所述辅助线。If the auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
实施例4、基于相同的发明构思,本公开实施例还提供了一种智能计算的装置,由于该装置即是本公开实施例中的方法中的装置,并且该装置解决问题的原理与该方法相似,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Embodiment 4. Based on the same inventive concept, the embodiment of the present disclosure also provides an intelligent computing device, since the device is the device in the method in the embodiment of the present disclosure, and the principle of solving the problem of the device is the same as that of the method Similar, therefore, the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
如图13所示,该装置包括:As shown in Figure 13, the device includes:
获取算式单元1300,用于接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Acquiring formula unit 1300, configured to receive the formula to be recognized input by the user, and determine a standard formula corresponding to the formula to be recognized;
算式转换单元1301,用于根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;A formula conversion unit 1301, configured to convert characters in the standard formula according to a predefined character type to obtain a conversion formula;
结果显示单元1302,用于确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。The result display unit 1302 is configured to determine the calculation result of the conversion formula and display the calculation result on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,还包括显示单元用于:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, a display unit is further included for:
在所述显示屏上显示所述标准算式,其中所述待识别算式在所述显示屏上显示的第一位置,与所述标准算式在所述显示屏上显示的第二位置不重叠。The standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
作为一种可选的实施方式,所述确定转换算式的计算结果之后,所述显示单元还用于:As an optional implementation manner, after the calculation result of the conversion formula is determined, the display unit is further configured to:
在所述标准算式对应的第一显示位置显示所述计算结果,其中所述第一显示位置是根据所述标准算式的最后一个字符在所述显示屏上的位置确定的。The calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
作为一种可选的实施方式,所述显示单元具体用于:As an optional implementation manner, the display unit is specifically used for:
在所述显示屏的指定位置显示所述标准算式;或,displaying the standard calculation formula at a designated position on the display screen; or,
根据所述待识别算式在所述显示屏上显示的第一位置,确定与所述第一位置具有预设位置关系的第二位置,在所述第二位置显示所述标准算式。According to the first position displayed on the display screen of the formula to be recognized, a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
作为一种可选的实施方式,所述获取算式单元1300具体用于:As an optional implementation manner, the acquisition calculation unit 1300 is specifically configured to:
将所述待识别算式发送给服务器,接收所述服务器发送的对所述待识别算式进行识别得到的标准算式;或,Sending the formula to be identified to a server, and receiving a standard formula sent by the server and obtained by identifying the formula to be identified; or,
对所述待识别算式进行识别得到对应的标准算式。Recognize the formula to be recognized to obtain a corresponding standard formula.
作为一种可选的实施方式,所述获取算式单元1300具体用于:As an optional implementation manner, the acquisition calculation unit 1300 is specifically configured to:
接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式;或,receiving a user's handwritten input of the formula to be recognized, and performing trajectory recognition on the formula to be recognized to obtain a corresponding standard formula; or,
接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。Receive the unrecognized formula input by the user's voice, perform speech recognition on the unrecognized formula, and obtain the corresponding standard formula.
作为一种可选的实施方式,所述接收用户手写输入的待识别算式之后,还包括显示辅助线单元具体用于:As an optional implementation manner, after receiving the to-be-recognized formula input by the user's handwriting, it also includes a display auxiliary line unit specifically for:
根据用户手写输入的所述待识别算式的第N个字符在所述显示屏上的字符位置,确定起始坐标,其中N为正整数;Determine the starting coordinates according to the character position of the Nth character of the to-be-recognized formula input by the user on the display screen, wherein N is a positive integer;
根据所述起始坐标绘制辅助线,并在所述显示屏上显示所述辅助线,以提示用户在所述辅助线的对应位置上书写。An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
作为一种可选的实施方式,所述算式转换单元1301具体用于:As an optional implementation manner, the arithmetic conversion unit 1301 is specifically configured to:
根据显示网页的控件WebView内核支持的字符类型,对所述标准算式中的字符进行转换,得到转换算式;According to the character type supported by the control WebView kernel of the displayed web page, the characters in the standard formula are converted to obtain the conversion formula;
基于所述WebView内核,对所述转换算式进行计算,得到计算结果。Based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
作为一种可选的实施方式,所述算式转换单元1301具体用于:As an optional implementation manner, the arithmetic conversion unit 1301 is specifically configured to:
若确定所述标准算式包含等号,则根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式。If it is determined that the standard formula contains an equal sign, the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
作为一种可选的实施方式,所述结果显示单元1302具体用于:As an optional implementation manner, the result display unit 1302 is specifically configured to:
在所述用户输入的待识别算式对应的第二显示位置显示所述计算结果, 其中所述第二显示位置是根据所述待识别算式包含的等号在所述显示屏的位置确定的。The calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign included in the to-be-recognized formula on the display screen.
作为一种可选的实施方式,所述结果显示单元1302具体用于:As an optional implementation manner, the result display unit 1302 is specifically configured to:
按照自定义的手写字体,将所述计算结果在显示屏上进行显示。According to the custom handwritten font, the calculation result is displayed on the display screen.
作为一种可选的实施方式,所述确定所述待识别算式对应的标准算式之后,还包括划分算式单元用于:As an optional implementation manner, after determining the standard formula corresponding to the formula to be recognized, it also includes dividing the formula unit for:
若确定所述标准算式包含M个等号,则以所述等号为边界,将所述标准算式划分为M个子算式,确定并显示每个子算式的计算结果;其中M为大于1的整数。If it is determined that the standard formula contains M equal signs, the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
作为一种可选的实施方式,所述将所述计算结果在显示屏上进行显示之后,还包括删除单元具体用于:As an optional implementation manner, after the calculation result is displayed on the display screen, a deletion unit is further included:
若在所述显示屏上显示所述标准算式,则删除显示的所述标准算式;或,If the standard formula is displayed on the display screen, then delete the displayed standard formula; or,
若在所述标准算式对应的第一显示位置显示所述计算结果,则删除显示的所述计算结果;或,If the calculation result is displayed at the first display position corresponding to the standard formula, then delete the displayed calculation result; or,
若在所述显示屏上显示所述辅助线,则删除显示的所述辅助线。If the auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
基于相同的发明构思,本公开实施例还提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如下步骤:Based on the same inventive concept, an embodiment of the present disclosure also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Receiving the to-be-recognized formula input by the user, and determining a standard formula corresponding to the to-be-recognized formula;
根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;converting the characters in the standard formula according to the predefined character type to obtain the conversion formula;
确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。The calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow diagram procedure or procedures and/or block diagram procedures or blocks.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. In this way, if the modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (15)

  1. 一种智能计算的方法,其中,应用于智能交互平板,该方法包括:A method for intelligent computing, wherein, applied to an intelligent interactive tablet, the method includes:
    接收用户输入的待识别算式,确定所述待识别算式对应的标准算式;Receiving the to-be-recognized formula input by the user, and determining a standard formula corresponding to the to-be-recognized formula;
    根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式;converting the characters in the standard formula according to the predefined character type to obtain the conversion formula;
    确定转换算式的计算结果,将所述计算结果在显示屏上进行显示。The calculation result of the conversion formula is determined, and the calculation result is displayed on the display screen.
  2. 根据权利要求1所述的方法,其中,所述确定所述待识别算式对应的标准算式之后,该方法还包括:The method according to claim 1, wherein, after determining the standard formula corresponding to the formula to be recognized, the method further comprises:
    在所述显示屏上显示所述标准算式,其中所述待识别算式在所述显示屏上显示的第一位置,与所述标准算式在所述显示屏上显示的第二位置不重叠。The standard formula is displayed on the display screen, wherein the first position displayed on the display screen of the formula to be recognized does not overlap with the second position displayed on the display screen of the standard formula.
  3. 根据权利要求1~2任一所述的方法,其中,所述确定转换算式的计算结果之后,该方法还包括:The method according to any one of claims 1-2, wherein, after determining the calculation result of the conversion formula, the method further comprises:
    在所述标准算式对应的第一显示位置显示所述计算结果,其中所述第一显示位置是根据所述标准算式的最后一个字符在所述显示屏上的位置确定的。The calculation result is displayed at a first display position corresponding to the standard formula, wherein the first display position is determined according to the position of the last character of the standard formula on the display screen.
  4. 根据权利要求2所述的方法,其中,所述在所述显示屏上显示所述标准算式,包括:The method according to claim 2, wherein said displaying said standard formula on said display screen comprises:
    在所述显示屏的指定位置显示所述标准算式;或,displaying the standard calculation formula at a designated position on the display screen; or,
    根据所述待识别算式在所述显示屏上显示的第一位置,确定与所述第一位置具有预设位置关系的第二位置,在所述第二位置显示所述标准算式。According to the first position displayed on the display screen of the formula to be recognized, a second position having a preset position relationship with the first position is determined, and the standard formula is displayed at the second position.
  5. 根据权利要求1所述的方法,其中,所述确定所述待识别算式对应的标准算式,包括:The method according to claim 1, wherein said determining the standard formula corresponding to the formula to be identified comprises:
    将所述待识别算式发送给服务器,接收所述服务器发送的对所述待识别算式进行识别得到的标准算式;或,Sending the formula to be identified to a server, and receiving a standard formula sent by the server and obtained by identifying the formula to be identified; or,
    对所述待识别算式进行识别得到对应的标准算式。Recognize the formula to be recognized to obtain a corresponding standard formula.
  6. 根据权利要求1所述的方法,其中,所述接收用户输入的待识别算式,确定所述待识别算式对应的标准算式,包括:The method according to claim 1, wherein said receiving a user-input to-be-recognized formula and determining a standard formula corresponding to said to-be-recognized formula comprises:
    接收用户手写输入的待识别算式,对所述待识别算式进行轨迹识别,得到对应的标准算式;或,receiving a user's handwritten input of the formula to be recognized, and performing trajectory recognition on the formula to be recognized to obtain a corresponding standard formula; or,
    接收用户语音输入的待识别算式,对所述待识别算式进行语音识别,得到对应的标准算式。Receive the unrecognized formula input by the user's voice, perform voice recognition on the unrecognized formula, and obtain the corresponding standard formula.
  7. 根据权利要求6所述的方法,其中,所述接收用户手写输入的待识别算式之后,还包括:The method according to claim 6, wherein, after receiving the to-be-recognized formula input by the user's handwriting, further comprising:
    根据用户手写输入的所述待识别算式的第N个字符在所述显示屏上的字符位置,确定起始坐标,其中N为正整数;Determine the starting coordinates according to the character position of the Nth character of the to-be-recognized formula input by the user on the display screen, wherein N is a positive integer;
    根据所述起始坐标绘制辅助线,并在所述显示屏上显示所述辅助线,以提示用户在所述辅助线的对应位置上书写。An auxiliary line is drawn according to the starting coordinates, and the auxiliary line is displayed on the display screen, so as to prompt the user to write on the corresponding position of the auxiliary line.
  8. 根据权利要求1~2、4~7任一所述的方法,其中,所述根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式,包括:The method according to any one of claims 1-2, 4-7, wherein, according to the predefined character type, converting the characters in the standard formula to obtain the conversion formula includes:
    根据显示网页的控件WebView内核支持的字符类型,对所述标准算式中的字符进行转换,得到转换算式;According to the character type supported by the control WebView kernel of the displayed web page, the characters in the standard formula are converted to obtain the conversion formula;
    所述确定转换算式的计算结果,包括:The calculation result of the determined conversion formula includes:
    基于所述WebView内核,对所述转换算式进行计算,得到计算结果。Based on the WebView kernel, the conversion formula is calculated to obtain a calculation result.
  9. 根据权利要求1所述的方法,其中,所述根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式,包括:The method according to claim 1, wherein, according to the predefined character type, the character in the standard formula is converted to obtain the conversion formula, comprising:
    若确定所述标准算式包含等号,则根据预定义的字符类型,对所述标准算式中的字符进行转换,得到转换算式。If it is determined that the standard formula contains an equal sign, the characters in the standard formula are converted according to a predefined character type to obtain a conversion formula.
  10. 根据权利要求1所述的方法,其中,所述将所述计算结果在显示屏上进行显示,包括:The method according to claim 1, wherein said displaying said calculation result on a display screen comprises:
    在所述用户输入的待识别算式对应的第二显示位置显示所述计算结果,其中所述第二显示位置是根据所述待识别算式包含的等号在所述显示屏的位置确定的。The calculation result is displayed at a second display position corresponding to the to-be-recognized formula input by the user, wherein the second display position is determined according to a position of an equal sign contained in the to-be-recognized formula on the display screen.
  11. 根据权利要求1所述的方法,其中,所述将所述计算结果在显示屏上进行显示,包括:The method according to claim 1, wherein said displaying said calculation result on a display screen comprises:
    按照自定义的手写字体,将所述计算结果在显示屏上进行显示。According to the custom handwritten font, the calculation result is displayed on the display screen.
  12. 根据权利要求1所述的方法,其中,所述确定所述待识别算式对应的标准算式之后,该方法还包括:The method according to claim 1, wherein, after determining the standard formula corresponding to the formula to be recognized, the method further comprises:
    若确定所述标准算式包含M个等号,则以所述等号为边界,将所述标准算式划分为M个子算式,确定并显示每个子算式的计算结果;其中M为大于1的整数。If it is determined that the standard formula contains M equal signs, the standard formula is divided into M sub-calculations with the equal signs as the boundary, and the calculation result of each sub-calculation is determined and displayed; wherein M is an integer greater than 1.
  13. 根据权利要求2、4~7任一所述的方法,其中,所述将所述计算结果在显示屏上进行显示之后,该方法还包括:The method according to any one of claims 2, 4-7, wherein, after displaying the calculation result on the display screen, the method further comprises:
    若在所述显示屏上显示所述标准算式,则删除显示的所述标准算式;或,If the standard formula is displayed on the display screen, then delete the displayed standard formula; or,
    若在所述标准算式对应的第一显示位置显示所述计算结果,则删除显示的所述计算结果;或,If the calculation result is displayed at the first display position corresponding to the standard formula, then delete the displayed calculation result; or,
    若在所述显示屏上显示所述辅助线,则删除显示的所述辅助线。If the auxiliary line is displayed on the display screen, the displayed auxiliary line is deleted.
  14. 一种智能交互平板,其中,包括:显示屏、控制电路,其中:An intelligent interactive flat panel, including: a display screen, a control circuit, wherein:
    所述显示屏用于进行内容的显示;The display screen is used to display content;
    所述控制电路被配置为执行如权利要求1~13任一所述方法的步骤。The control circuit is configured to execute the steps of the method according to any one of claims 1-13.
  15. 一种计算机存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1~13任一所述方法的步骤。A computer storage medium, on which a computer program is stored, wherein, when the program is executed by a processor, the steps of the method according to any one of claims 1-13 are realized.
PCT/CN2021/133382 2021-11-26 2021-11-26 Intelligent calculation method and intelligent interactive tablet WO2023092437A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/133382 WO2023092437A1 (en) 2021-11-26 2021-11-26 Intelligent calculation method and intelligent interactive tablet
CN202180003610.5A CN116507994A (en) 2021-11-26 2021-11-26 Intelligent computing method and intelligent interaction panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/133382 WO2023092437A1 (en) 2021-11-26 2021-11-26 Intelligent calculation method and intelligent interactive tablet

Publications (1)

Publication Number Publication Date
WO2023092437A1 true WO2023092437A1 (en) 2023-06-01

Family

ID=86538598

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/133382 WO2023092437A1 (en) 2021-11-26 2021-11-26 Intelligent calculation method and intelligent interactive tablet

Country Status (2)

Country Link
CN (1) CN116507994A (en)
WO (1) WO2023092437A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008114948A1 (en) * 2007-03-16 2008-09-25 Easy System Inc. Method and apparatus for providing digitizer functions by using digital paper and pen
CN102096716A (en) * 2011-02-11 2011-06-15 百度在线网络技术(北京)有限公司 Search engine-based calculator realizing method and device
CN102789362A (en) * 2012-06-29 2012-11-21 鸿富锦精密工业(深圳)有限公司 Electronic equipment and intelligent calculation control method thereof
CN104536935A (en) * 2014-12-27 2015-04-22 小米科技有限责任公司 Calculation displaying method, calculation editing method and device
CN105992066A (en) * 2015-02-13 2016-10-05 Tcl集团股份有限公司 Character input method and character input device applied to intelligent device
CN111352892A (en) * 2020-03-03 2020-06-30 维沃移动通信有限公司 Operation processing method and electronic equipment
CN113378836A (en) * 2021-06-28 2021-09-10 北京百度网讯科技有限公司 Image recognition method, apparatus, device, medium, and program product
CN113467777A (en) * 2020-03-30 2021-10-01 阿里巴巴集团控股有限公司 Path identification method, device and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008114948A1 (en) * 2007-03-16 2008-09-25 Easy System Inc. Method and apparatus for providing digitizer functions by using digital paper and pen
CN102096716A (en) * 2011-02-11 2011-06-15 百度在线网络技术(北京)有限公司 Search engine-based calculator realizing method and device
CN102789362A (en) * 2012-06-29 2012-11-21 鸿富锦精密工业(深圳)有限公司 Electronic equipment and intelligent calculation control method thereof
CN104536935A (en) * 2014-12-27 2015-04-22 小米科技有限责任公司 Calculation displaying method, calculation editing method and device
CN105992066A (en) * 2015-02-13 2016-10-05 Tcl集团股份有限公司 Character input method and character input device applied to intelligent device
CN111352892A (en) * 2020-03-03 2020-06-30 维沃移动通信有限公司 Operation processing method and electronic equipment
CN113467777A (en) * 2020-03-30 2021-10-01 阿里巴巴集团控股有限公司 Path identification method, device and system
CN113378836A (en) * 2021-06-28 2021-09-10 北京百度网讯科技有限公司 Image recognition method, apparatus, device, medium, and program product

Also Published As

Publication number Publication date
CN116507994A (en) 2023-07-28

Similar Documents

Publication Publication Date Title
TW201232424A (en) Method and device for implementing original calligraphy of handwriting
JP6430197B2 (en) Electronic apparatus and method
CN101196794A (en) Scrolling method and apparatus
US20170277403A1 (en) Screen Capturing Method and Apparatus
US9030500B2 (en) Object sharing system and non-transitory computer readable medium storing object input assistance program
CN112711362B (en) Method and device for generating hand-drawn flow chart icon in standardized manner
CN112905102A (en) Method and device for realizing writing tip, electronic equipment and readable storage medium
CN106598928B (en) A kind of method and its system annotated on a display screen
US8948514B2 (en) Electronic device and method for processing handwritten document
WO2015087379A1 (en) Electronic device and method for processing handwritten document information
US20150067593A1 (en) Methods and Systems for Interacting with a Digital Marking Surface
US9927971B2 (en) Electronic apparatus, method and storage medium for generating chart object
WO2023092437A1 (en) Intelligent calculation method and intelligent interactive tablet
EP2618237A1 (en) Gesture-based human-computer interaction method and system, and computer storage media
JP2018067298A (en) Handwritten content editing device and handwritten content editing method
CN107679219B (en) Matching method and device, interactive intelligent panel and storage medium
US20180350121A1 (en) Global annotations across contents
US20230343125A1 (en) Handwriting Recognition Method and Apparatus, Handwriting Recognition System and Interactive Display
US8494276B2 (en) Tactile input recognition using best fit match
US8694509B2 (en) Method and apparatus for managing for handwritten memo data
CN113849118A (en) Image identification method applied to electronic whiteboard and related device
JP6373664B2 (en) Electronic device, method and program
US20220197587A1 (en) Surface presentations
WO2020093329A1 (en) Data input method for terminal device, terminal device, and storage medium
WO2024065345A1 (en) Air gesture editing method and apparatus, display system, and medium

Legal Events

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

Ref document number: 202180003610.5

Country of ref document: CN

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

Ref document number: 21965172

Country of ref document: EP

Kind code of ref document: A1