CN110765735B - Mathematical expression input method and device and electronic equipment - Google Patents

Mathematical expression input method and device and electronic equipment Download PDF

Info

Publication number
CN110765735B
CN110765735B CN201910910509.2A CN201910910509A CN110765735B CN 110765735 B CN110765735 B CN 110765735B CN 201910910509 A CN201910910509 A CN 201910910509A CN 110765735 B CN110765735 B CN 110765735B
Authority
CN
China
Prior art keywords
input
character
currently selected
operator
selected character
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910910509.2A
Other languages
Chinese (zh)
Other versions
CN110765735A (en
Inventor
张印帅
姜馨
李琦
张柳新
周渝茗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910910509.2A priority Critical patent/CN110765735B/en
Publication of CN110765735A publication Critical patent/CN110765735A/en
Application granted granted Critical
Publication of CN110765735B publication Critical patent/CN110765735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides a mathematical expression input method, a device and electronic equipment, when a user needs to input a mathematical expression, the application can firstly input an operator of the mathematical expression, then respond to character input operation to obtain a currently selected character and azimuth information thereof in a selected state, utilize the azimuth information to determine a target character input position of the currently selected character in the operator, and directly display the currently selected character at the target character input position to complete the input of the digital expression, without inputting a character string for replacing the operator, thereby reducing the learning cost of the user, without displaying all operators for selective input, and frequently switching input modes, reducing the key click times and the page jump times when inputting parameters, and greatly improving the input efficiency of the mathematical expression.

Description

Mathematical expression input method and device and electronic equipment
Technical Field
The present application relates to the field of input method applications, and more particularly, to a mathematical expression input method, apparatus, and electronic device.
Background
With the development of information technology, efficient electronic learning systems, electronic testing systems, and teaching management systems have been widely used and popularized in the field of education, where mathematical disciplines are the disciplines considered to have the most use value in electronic learning, and mathematical expressions are the contents often input in the application of mathematical disciplines.
At present, in the process of inputting a mathematical expression by using an electronic device, the input of the mathematical expression can be converted into the input of a character string, as shown in fig. 1, but a user needs to be skilled in mastering the character string corresponding to each mathematical operator, the learning cost is high, and the touch input device can cause burden on the user to input a lengthy character string.
In contrast, the field also proposes to directly list and display each operator, the user directly selects the required character for inputting, and although the user does not need to memorize and input a lengthy character string, the display of a large number of operators occupies a large area of a display screen, which causes a burden to the vision of the user, and frequent switching between the operators and the respective input modes of the characters is required, thereby reducing the input efficiency of the mathematical expression.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, and an electronic device for inputting mathematical expressions, wherein after an operator of a mathematical expression is input, a user inputs a currently selected character and inputs orientation information of the currently selected character, so that the electronic device can accurately and quickly determine and display an input position of the currently selected character in the operator, thereby obtaining a required mathematical expression.
In order to achieve the above object, the present application provides the following technical solutions:
in one aspect, the present application provides a mathematical expression input method, including:
acquiring an operator of a currently input mathematical expression;
responding to character input operation, obtaining a currently selected character and azimuth information of the currently selected character, wherein the azimuth information is generated when the currently selected character is in a selected state;
determining a target character input position in the operator by using the azimuth information of the currently selected character;
and outputting the currently selected character at the target character input position to obtain the mathematical expression.
In an implementation manner of some embodiments, the obtaining, in response to a character input operation, a currently selected character and orientation information of the currently selected character includes:
in response to a character selection operation, determining a currently selected character;
and acquiring a stroke direction input aiming at the currently selected character when the currently selected character is in a selected state, wherein the stroke direction represents the structural orientation of a character input position of the operator relative to the operator.
In an implementation of some embodiments, the method further comprises:
acquiring a plurality of character input positions corresponding to the operator;
the determining a target character input position in the operator by using the azimuth information of the currently selected character comprises:
selecting a target character input position matching the orientation information of the currently selected character from the plurality of character input positions.
In an implementation of some embodiments, the method further comprises:
storing respective character input positions for a plurality of operators, and structural orientations of the character input positions relative to the respective operators;
constructing the corresponding relation between each character input position in different operators and different stroke directions by using the structural orientation of the character input position relative to the corresponding operator;
the selecting a target character input position matched with the azimuth information of the currently selected character from the character input positions corresponding to the operator comprises:
acquiring the corresponding relation between the input position of each character in the currently input operator and different stroke directions;
and acquiring a target character input position corresponding to the stroking direction of the currently selected character according to the acquired corresponding relation.
In an implementation of some embodiments, the method further comprises:
outputting at least one prediction operator on a current display interface by using the currently selected character and the azimuth information of the currently selected character;
responding to a selection instruction of the at least one prediction operator, and obtaining a target input operator and a target input position of the currently selected character in the target input operator;
said outputting said currently selected character at said target character input location comprising:
and outputting the currently selected character and the target input operator at the target character input position, and outputting the currently selected character at a target input position in the target input operator.
In yet another aspect, the present application further proposes a mathematical expression input apparatus, the apparatus comprising:
the operator obtaining module is used for obtaining an operator of a currently input target mathematical expression;
the character input device comprises a direction information acquisition module, a character input module and a character input module, wherein the direction information acquisition module is used for responding to character input operation to obtain a currently selected character and direction information of the currently selected character, and the direction information is generated when the currently selected character is in a selected state;
and the character input module is used for determining a target character input position in the operator by using the azimuth information of the currently selected character and outputting the currently selected character at the target character input position to obtain the mathematical expression.
In another aspect, the present application further provides an electronic device, including:
an output device;
a memory for storing a program for implementing the mathematical expression input method as described above;
and the processor is used for loading and executing the program stored in the memory so as to realize the mathematical expression input method.
Therefore, compared with the prior art, the application provides a mathematical expression input method, a mathematical expression input device and electronic equipment, when a user needs to input a certain mathematical expression, the application can firstly input an operator of the mathematical expression, then responds to character input operation to obtain a currently selected character and azimuth information thereof in a selected state, and then directly utilizes the azimuth information of the currently selected character to determine a target character input position in the currently input operator, so that the currently selected character is input in the target character input position. Therefore, the method and the device have the advantages that the azimuth information of the character in the operator is input while the character is input, the currently selected character is directly displayed in the target character input position of the input operator, the input of the digital expression is completed, the character string of the alternative operator is not required to be input, the learning cost of a user is reduced, all operators are not required to be displayed for selective input, the input mode is frequently switched, the key clicking times and the page jumping times during parameter input are reduced, and the input efficiency of the mathematical expression is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an implementation process of a mathematical expression input method in the prior art;
FIG. 2 is a block diagram illustrating an alternative example of an electronic device implementing the mathematical expression input method set forth in the present application;
FIG. 3 illustrates a flow chart of an alternative example of a mathematical expression input method as set forth in the present application;
FIG. 4a is a scene application diagram illustrating an implementation manner of the mathematical expression input method in a touch interaction scene;
FIG. 4b is a scene application diagram of another implementation manner of the mathematical expression input method in a touch interaction scene;
FIG. 5 shows a flow diagram of yet another alternative example of a mathematical expression input method as set forth in the present application;
6a, 6b and 6c show scene application process display diagrams of still another implementation manner of the mathematical expression input method provided by the application in a touch interaction scene;
FIGS. 7a and 7b are scene application process display diagrams illustrating an implementation of the mathematical expression input method proposed in the present application in a keyboard interaction scene;
FIG. 8 shows a flow diagram of yet another alternative example of a mathematical expression input method as set forth in the present application;
FIG. 9 is a signaling flow diagram illustrating one implementation of obtaining a stroke direction of a currently selected character in the mathematical expression input method proposed in the present application;
FIG. 10 is a flow chart illustrating yet another alternative example of a mathematical expression input method as set forth in the present application;
fig. 11 is a block diagram showing an alternative example of a mathematical expression input apparatus proposed in the present application;
fig. 12 is a block diagram showing still another alternative example of the mathematical expression input apparatus proposed in the present application;
fig. 13 is a block diagram showing still another alternative example of the mathematical expression input apparatus proposed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be understood that "system", "apparatus", "unit" and/or "module" as used herein is a method for distinguishing different components, elements, parts or assemblies at different levels. However, other words may be substituted by other expressions if they accomplish the same purpose.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements. An element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two. The terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
Additionally, flow charts are used herein to illustrate operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to the processes, or a certain step or several steps of operations may be removed from the processes.
Aiming at the technical scheme described in the background technology part, the application initially provides an input method which is carried by an electronic equipment system to realize the input of special symbols, for example, the input method carried by a windows system comprises a set of mathematical symbols, a user can enter a mathematical symbol input interface of the input method to finish the input of a mathematical expression, although the user does not need to memorize character strings corresponding to various mathematical formulas, the learning cost is reduced, and the burden of the vision of the user can not be caused by displaying all the mathematical symbols in a list manner, however, the mode needs the user to memorize different operation systems, enters special instructions of the corresponding input symbol interface, is troublesome and is not suitable for common users, moreover, the input method carried by the system only meets the requirements of the input symbols, can not realize the input of parameters corresponding to the symbols, and still needs the user to switch from the mathematical symbol input interface to a parameter input interface, this also reduces the efficiency of mathematical expression input.
Through further research and analysis, the application discovers that the problems of the mathematical input methods are mainly that the interaction mode is unnatural; the learning cost is high, and the method is not suitable for common users; input of multidimensional information needs to be completed through one-dimensional input equipment, so that a user needs to frequently switch different input modes, and input efficiency of mathematical expressions is affected. In view of the above, it is desirable to adopt a new interactive mode to minimize the switching of input modes and the burden of thinking when inputting mathematical expressions.
Specifically, after the operator of the mathematical expression is normally input, the direction information capable of determining the character input position of the character in the operator is input while the character (namely the parameters) is input, so that the input character can be directly displayed at the character input position of the operator when the input character is displayed, the user does not need to frequently switch input modes, the input efficiency of the mathematical expression is greatly improved, the user does not need to memorize character strings corresponding to various operators, and information such as special instructions entering a symbol input interface corresponding to different operating systems is reduced, the memory burden and the learning cost of the user are reduced, and the phenomenon that all operators are listed on the display interface is avoided, so that the visual burden is caused to the vision of the user, and the method is suitable for long-term use.
Referring to fig. 2, a block diagram of an alternative example of an electronic device to which the mathematical expression input method or the mathematical expression input apparatus proposed in the present application may be applied is shown, and in practical applications, the electronic device may include, but is not limited to, a smart phone, a tablet computer, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), an e-book reader, a desktop computer, and the like. The electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 2, the electronic device may include a communication interface 11, a memory 12, a processor 13, an input device 14, an output device 15. The number of the communication interface 11, the memory 12, the processor 13, the input device 14, and the output device 15 may be at least one, the memory 12 and the processor 13 may be connected to each other through a communication bus, and the communication interface 11, the input device 14, and the output device 15 may also be connected to the communication bus.
The communication interface 11 may be an interface of a communication module, such as an interface of a GSM module, and may implement data interaction with other devices, and may further include interfaces such as a USB interface and a serial/parallel interface, which are used to implement data interaction between internal components of an electronic device, and may be determined according to a product type of the electronic device, which is not described in detail herein.
In the present embodiment, the memory 12 may include a high speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device. The processor 13 may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices.
In one possible implementation, the memory 12 may include a program storage area and a data storage area, and the program storage area may store an operating system, and application programs required for at least one function (such as a text display function), programs that implement the mathematical expression input method proposed in the present application, and the like; the data storage area can store data generated in the using process of the electronic equipment, such as mathematical expressions input by a user, orientation information of various characters input by the user and the like.
In practical applications of this embodiment, the processor 13 may load and execute a program stored in the memory 12 to implement each step of the mathematical expression input method provided in any optional embodiment of this application, and the specific implementation process may refer to the description of the corresponding part of the corresponding embodiment below.
The input device 14 may include at least one of a touch sensing unit sensing a touch event on the touch display panel, a keyboard, a mouse, a camera, a microphone, and the like, and may be determined according to a product type of the electronic device, a usage habit of a user inputting information using the electronic device, and the like.
The output device 15 may include: at least one of a display, a speaker, a vibration mechanism, a light, and the like, the display may include a display panel, such as a touch display panel, and the like; the vibration mechanism can comprise a motor and an eccentric vibrator, and the motor drives the eccentric vibrator to rotate so as to generate vibration; the brightness and/or color of the lamp can be adjusted, and in a possible implementation manner, different information can be embodied through at least one of the on-off, brightness and color of the lamp, for example, the alarm information is embodied through the red light emitted by the lamp, and the like.
It should be understood that the structure of the electronic device shown in fig. 2 is not limited to the electronic device in the embodiment of the present application, and in practical applications, the electronic device may include more or less components than those shown in fig. 1, or some components in combination, which is not listed here.
Referring to fig. 3, there is shown a flow chart of an alternative example of the mathematical expression input method proposed in the present application, which may be applied to an electronic device, and the present application does not limit the product type and the structural composition of the electronic device, and as shown in fig. 3, the mathematical expression input method may include, but is not limited to, the following steps:
step S11, obtaining the operator of the current input mathematical expression;
in the process of inputting information by using an electronic device, when a mathematical expression needs to be input, this embodiment may specifically input any operator included in the mathematical expression first, and in a general case, may sequentially input operators and parameters constituting the mathematical expression (which may be referred to as characters, such as numbers, symbols, and the like, in this application) according to an input logic of the user when writing the mathematical expression using a paper pen.
For example, in some embodiments, an operator may be input according to a left-to-right sequence of a mathematical expression, after the input of a character associated with the operator is completed, a next operator is input, and so on, the input of the mathematical expression is completed.
In practical application of this embodiment, for an operator in the mathematical expression, the electronic device may generate a corresponding structural orientation and character input positions capable of inputting characters in different structural orientations according to the operator, and may represent the character input positions in a manner of an input box, such as X2The mathematical expression can be output by the electronic equipment after the user inputs the square operator
Figure BDA0002214557850000081
Thereafter, the characters X, 2 may be entered in the two input boxes.
Step S12, responding to the character input operation, obtaining the current selected character and the azimuth information thereof;
in connection with the above analysis of the inventive concept of the present application, after an operator in a mathematical expression is input, characters (such as numbers, letters, and the like) at each character input position of the operator need to be input, so that a user can select, in a character input interface output by an electronic device, a character at any character input position of the operator in the mathematical expression to be in a selected state, which is called a currently selected character, and at the same time, the user needs to input direction information of the currently selected character, so that the electronic device determines the input position of the currently selected character in the currently input operator, that is, the direction information can be used to notify the electronic device of which character input position of the currently selected character in the operator is displayed.
Therefore, the direction information of the currently selected character is generated when the currently selected character is in the selected state, that is, the embodiment can simultaneously complete the input of one character and the direction information thereof in the mathematical expression, effectively reduce the key-click times and the page jump times of the typed character, and is beneficial to improving the input efficiency of the mathematical expression.
For example, the following steps are carried out: if the user needs to input the mathematical expression as
Figure BDA0002214557850000091
According to the mathematical expression input mode provided by the embodiment, the user can input the mathematical expression first
Figure BDA0002214557850000092
In this operator (where a box indicates each character input position corresponding to the operator), then, inputting characters x, 0, etc., taking the input of the character x as an example, a user selects the character x from a character input interface and inputs the stroke direction of the character x, so that the electronic device can obtain the direction information of the currently selected character input by the user and the currently selected character, for example, the character input position located above the currently input position of the currently input operator inputs the character x.
It should be noted that the present application does not limit the specific input method of the orientation information of the currently selected character, and may include, but is not limited to, a user sliding input method, an input using a direction key, and the like, which are described in the detailed embodiments below, and accordingly, since the method of the character input operation in step S12 includes the input operation of the present application of the character and the input operation of the orientation information of the character, the present application also does not limit the specific implementation method of the character input operation in step S12.
Step S13, determining the target character input position of the currently selected character in the operator by using the azimuth information of the currently selected character;
as described above, since the azimuth information of the currently selected character can represent the structural azimuth of the currently selected character relative to the currently input operator, that is, the position where the currently selected character is to be input, and the azimuth in the character input positions corresponding to the operator, such as above, below, above right, below right, and the like, the electronic device can directly and quickly determine the input position of the currently selected character in the currently input operator, that is, the target character input position, by using the azimuth information of the currently selected character.
In step S14, the currently selected character is output at the target character input position to obtain a mathematical expression.
In the above manner, after the electronic device determines the input position of the target character of the currently selected character in the input operator, the currently selected character is directly output at the determined input position of the target character, and so on, thereby completing the input of the whole mathematical expression.
Taking an application scenario in which an electronic device has a touch screen and a user inputs a mathematical expression in a touch manner as an example for schematic illustration, as shown in fig. 4a and 4b, after a user normally inputs an operator, when a corresponding character is input, the character can be slid according to a relative position of the character in the operator, so that the character is changed into a parameter of a corresponding position of the transportation character, an arrow in fig. 4a and 4b represents a finger sliding direction of the user (which can be replaced by a direction key), and sliding in different directions can input a character x to different positions of the operator. As in fig. 4a, sliding the character x upwards may change it to a parameter above the relative position in some operator (e.g. numerator, integral upper bound, etc.); in fig. 4b, sliding the character x diagonally to the right and above may change to the parameter at the upper right of the idempotent operator, etc.
It can be seen that, in the process of inputting a character in a mathematical expression, because the direction information of the character is input at the same time, when the electronic device presents the character input by the user, the character is not directly output at the side-by-side position (such as the cursor display position) of the input operator, and the user is not required to adjust the character input position (such as adjusting the cursor display position) on the input interface and then input the character, but directly output the character at the character input position in the operator in the mathematical expression, for example, when inputting a integral expression and the character thereof, the existing soft keyboard input method based on the template type usually needs to click at least 6 times of keys, and the method proposed in this embodiment can click 3 times of keys to complete the input of the integral expression, thereby greatly reducing the number of times of key clicks and the number of page switching of the user, the input efficiency of the mathematical expression is improved.
In addition, in the embodiment, the input of the characters in the mathematical expression is linked with the positions of the characters in the operator, so that the input of the mathematical expression can be performed in the input sequence naturally written by the user, the input logic is not changed by the constraint of the input method, and the flexibility of the input of the characters and the operator in the mathematical expression is improved.
In addition, in the input process of each operator of the mathematical expression and the corresponding character thereof provided by the embodiment of the application, the user can directly select the character and the operator from the character input interface (which may include numbers, letters, operators and the like) output by the electronic equipment for input, the user does not need to spend a long time on skillfully memorizing the character string corresponding to each operator, the learning cost of the user is greatly reduced, and the input burden of the user caused by the lengthy character string in the touch input process is also avoided.
Several specific alternative implementations will be described below based on the mathematical expression input method described in the above embodiment, that is, the mathematical expression input method described in the above embodiment is refined, but is not limited to the several refined alternative implementations listed in this application.
Referring to fig. 5, there is shown a flow diagram of yet another alternative example of a mathematical expression input method as set forth in the present application, which may include, but is not limited to:
step S21, obtaining an operator of the currently input mathematical expression and a plurality of character input positions corresponding to the operator;
in this embodiment, as to the input mode of the operator in the mathematical expression and the acquisition mode of the plurality of corresponding character input positions, reference may be made to the descriptions of the corresponding parts of the above embodiments.
For convenience of understanding, the present embodiment is only schematically described by taking as an example the input mode in which the user inputs an operator by using a touch mode, as shown in fig. 6a, the user may operate the electronic device to output a character input interface, the character input interface may display various operators, and may also display numbers and/or letters, etc. as needed, and the user may select an operator to be input this time, such as clicking an operator input this time, etc. Then, the electronic device can respond to the operator input operation of the user on the current display interface to obtain the currently input operator, and at the same time, can obtain a plurality of character input positions corresponding to the operator, such as input boxes in the integral operator shown in fig. 6 a.
Step S22, responding to the character selection operation, determining the currently selected character;
step S23, obtaining the stroking direction input aiming at the current selected character when the current selected character is in the selected state;
continuing with the example of the operator shown in fig. 6a, after the user completes the input of the integral operator, the display interface of the electronic device can output the integral operator and two corresponding character input positions, and then the user can continue to input parameters (such as characters like numbers, letters, etc.) in the two character input positions. Normally, after completing the input of an operator, a cursor will be displayed on the side-by-side right side of the operator, such as "|" on the right side of the operator in fig. 6a, in the conventional character input application, the user directly inputs a character, and the character will be displayed at the cursor position, but not a mathematical expression which the user needs to input.
At this time, in combination with the above analysis, the present embodiment inputs the direction information of the character while inputting the character, that is, the user inputs the currently selected character, and completes the input of the direction information of the character when the currently selected character is in the selected state.
Still taking the scenario of inputting the mathematical expression in a touch manner as an example for illustration, after inputting the integral operator, referring to fig. 6b, the user may switch the keyboard differently, click the number "8" (this embodiment is merely illustrated by way of example, and is not limited to the input of the character "8"), and perform the input of sliding to the lower right before leaving the touch screen, so that the electronic device may obtain the "8" input by the user and the direction of the lower right swipe.
It should be understood that, in the case that the input operator corresponds to a plurality of character input positions, the input order of the characters at each character input position is not limited in the present application, referring to fig. 6c, in this embodiment, a number "9" on the upper right of the integral operator may be input first, and similarly, the number "9" may be clicked and slid to the upper right, so that the electronic device obtains the "9" input by the user and the right upper stroke direction thereof.
Therefore, in an application similar to the exemplary scenario, the step S23 may specifically include: and detecting a sliding track input by the current display interface, and obtaining the stroking direction of the currently selected character according to the sliding track.
In some embodiments of the present application, for inputting characters and orientation information thereof in a mathematical expression, without being limited to pointing and sliding by a finger of a user, in a case that an input device of an electronic device includes a keyboard, the present application may further implement inputting of the mathematical expression by using a combined key manner of a direction key and a character key in the keyboard, referring to fig. 7a and 7b, after the electronic device outputs a summation operator already input by the user and three corresponding character input positions thereof, if the summation operator in the mathematical expression has a lower character input position of "1" and an upper character input position of "n", when "1" is input, the user may press a number key "1" while pressing a downward direction key; when "n" is input, the letter key "n" may be pressed while pressing the up direction key, in which case the stroking direction of the currently selected character may be generated based on the user's operation of the direction key.
Therefore, in an application like the scenario shown in fig. 7a and 7b, step S23 may include: the stroking direction of the currently selected character is obtained in response to a direction instruction sent by the input device, and the direction instruction can be generated based on the operation of a direction key of the input device.
It should be noted that, the generation manner of the stroking direction of the currently selected character is not limited to the sliding operation of the touch screen and the operation of the direction key of the keyboard, and in other embodiments, after the user selects the character, the user may also input the sliding direction of the currently selected character in a voice manner, such as "display above operator", etc.; the input device can be matched with a mouse, an intelligent pen and other input devices to realize the input of the sliding direction of the currently selected character and the like, and the input device can be specifically determined according to the structure of the input device of the electronic device, which is not listed in the application.
Therefore, the electronic device can accurately know the character input position of the currently selected character at which structural orientation of the operator the currently selected character should be displayed by using the stroke direction.
Step S24 of selecting a target character input position matching the stroke direction from among the acquired plurality of character input positions;
in step S25, the currently selected character is output at the target character input position to obtain a mathematical expression.
According to the above manner, after the electronic device obtains the currently input operator and the plurality of character input positions corresponding to the currently input operator, and obtains the data of the currently selected character and the stroke direction thereof, the present embodiment does not need to manually adjust the cursor display position to determine the target character input position of the currently selected character, the electronic device will directly respond to the data, select the character input position matched with the stroke direction of the currently selected character from the plurality of character input positions (specifically, the character input position may be the character input position consistent with the stroke direction, but is not limited to the corresponding relationship between the stroke direction of the character and the structure orientation of each character input position in the operator), determine the target character input position as the currently selected character, and output the currently selected character at the target character input position, thereby completing the input of a character corresponding to the operator, by analogy, the input of each operator and the corresponding character in the mathematical expression can be completed quickly, and the mathematical expression required by the user is obtained.
Referring to fig. 6b and 6c above, the upper and lower limit characters are input in the integral operator, respectively, and fig. 7a and 7b, the upper and lower limit characters are input in the sum operator, respectively. As shown in fig. 6b, the user selects "8" and slides to the lower right, the electronic device determines that the target character input position of "8" in the integral operator is the lower right character input position according to the "8" input by the user and the right lower swiping direction, and after the user releases his hand, the electronic device directly outputs "8" at the lower right character input position of the integral operator; similarly, as shown in fig. 7a, when the user presses the number key "1" and the down direction key, and the two keys are released, the electronic device can quickly and accurately know that the user wants to input "1" at the lower character input position of the sum operator, and the electronic device can display "1" directly at the lower character input position of the sum operator in response to the user's operation.
In summary, in the process of inputting a mathematical expression by using an electronic device, the present embodiment inputs an operator in the mathematical expression first, and then inputs characters at each character input position of the operator in the mathematical expression, so that the present embodiment may first obtain a plurality of character input positions corresponding to the currently input operator, and then, when any character corresponding to the operator is input, may input a stroke direction of the character under a selected state of the character, so that the electronic device may determine a character input position matching the stroke direction from the plurality of character input positions corresponding to the operator, thereby directly displaying the currently input character (i.e., the currently selected character) of the user at the determined character input position, without frequently adjusting a cursor, simplifying the input position of the mathematical expression, the input efficiency is greatly improved.
Moreover, as analyzed above, the present embodiment adopts the interaction habit that better conforms to the nature of the user, realizes the input of the operator and the corresponding character in the mathematical expression, and solves the problems of high learning cost of the user and increased cognitive load in linear input.
In addition, in some embodiments listed above, when inputting the stroke direction of the currently selected character, the user can use the finger to slide or press the direction key of the keyboard, and other operation modes to implement the method, and it is obvious that, compared with the above-described several input modes of the existing mathematical expression, the input mode provided by the embodiment not only simplifies the input steps, but also takes into account the interaction mode of the daily input information of the user, so that any user can quickly and accurately complete the input of the mathematical expression, and does not need to memorize professional knowledge about the mathematical expression in advance, thereby greatly reducing the burden of the user.
Moreover, from the perspective of product design, generally, when a user uses a product, the closer the associated content distance is, the better the associated content distance is, so as to improve the usability of the product.
Referring to fig. 8, there is shown a flow chart of yet another alternative example of the mathematical expression input method proposed in the present application, which may still be applied to electronic devices, and in practical applications, as shown in fig. 8, the mathematical expression input method may include, but is not limited to:
step S31, storing respective character input positions of the plurality of operators and a structural orientation of each character input position with respect to the corresponding operator;
the structural orientation of the character input position relative to the corresponding operator may refer to what orientation of the character input position is on the operator, such as above, below, above right, below right, above left, below left, right, and so on, such as a fractional operator, which generally has two character input positions, one character input position is located above the fractional operator, and the other character input position is located below the fractional operator, where the above and below positions are the structural orientations of the corresponding character input position relative to the fractional operator.
It should be noted that, the present application does not limit the specific storage manner of the character input position corresponding to each operator and the structure orientation of each character input position relative to the corresponding operator, and in some embodiments, the character input positions may be stored in a classified manner according to the type of the operator, but is not limited to this storage manner.
Step S32, constructing and storing the corresponding relation between each character input position and different stroke directions in different operators by using the structural orientation of the character input position relative to the corresponding operator;
in combination with the above analysis, in the present embodiment, it is desirable to determine the target character input position of the character in the operator by using the stroke direction of the character in the process of inputting the mathematical expression, so in order to efficiently and accurately achieve the target, the present embodiment may pre-construct the corresponding relationship between each character input position and different stroke directions in different operators, and the specific construction method is not limited.
For example, in the case of the division operator shown in fig. 4a, a correspondence relationship between a character input position above the division operator and an upward stroke direction, and a correspondence relationship between a character input position below the division operator and a downward stroke direction may be previously established; referring to fig. 4b, a correspondence between the power exponent character input position in the power operator and the stroke direction to the upper right, a correspondence between the subscript character input position in the subscript operator and the stroke direction to the lower right, and the like may be constructed in advance, and this application is not further described one by one.
Step S33, obtaining an operator of the currently input mathematical expression and a plurality of character input positions corresponding to the operator;
with regard to the implementation process of step S33, reference may be made to the description of the corresponding part of step S21.
Step S34, outputting a character input interface;
step S35, responding to the selection operation of a character in the character input interface, and determining the currently selected character;
in this embodiment, how to implement input of a mathematical expression in a touch interaction scenario is described as an example, so after a user inputs an operator, if an input interface of the operator does not include a character to be input, the user may switch to a character input interface, select the character to be input in the character input interface in a manner of a finger, a mouse, a smart pen, or the like of the user, and determine the character to be input as a currently selected character, where the finger, the mouse, or the smart pen used by the user to input the character cannot leave the touch screen, so that the currently selected character is in a selected state for subsequent input operation.
It should be understood that if the input interface of the operator is the character input interface, the character input operation can be directly performed, as shown in fig. 6a to 6c, without switching to the character input interface.
Step S36, detecting a sliding track input by the current display interface;
step S37, obtaining the stroking direction of the currently selected character according to the sliding track;
after the currently input character is selected in the above manner, the currently selected character may be slid to the character input position according to the character input position of the character in the operator in the mathematical expression, as shown in fig. 6b and 6c, the electronic device may detect a sliding track input by the user for the currently selected character, so as to determine the stroking direction of the currently selected character accordingly.
Step S38, acquiring the corresponding relation between each character input position and different stroking directions in the currently input operator;
in this embodiment, the processor of the electronic device may query the operator currently input by the user from the pre-stored correspondence between each character input position in different operators and different stroking directions as described in step S32, and then obtain the correspondence between each character input position in the currently input operator and different stroking directions.
In some embodiments, the pre-constructed correspondence between each character input position in different operators and different stroke directions may be stored in a local storage of a server or an electronic device, and when a query is required, the correspondence between each character input position in a currently input operator and different stroke directions may be obtained by accessing the server or the local storage, and a specific implementation manner is not limited.
Step S39, according to the obtained corresponding relation, obtaining the target character input position corresponding to the stroking direction of the currently selected character;
in step S310, the currently selected character is output at the target character input position to obtain a mathematical expression.
In an optional implementation manner of some embodiments, in the embodiment shown in fig. 8, after obtaining the currently input operator and the multiple character input positions corresponding to the currently input operator, the present application may further utilize an input device such as a keyboard and the like to cooperatively implement the input of the currently selected character and the stroke direction thereof, in combination with the application scenarios shown in fig. 7a and fig. 7b, referring to a partial signaling flowchart shown in fig. 9, which mainly describes a process of obtaining the stroke direction of the currently selected character, and regarding other steps of the mathematical expression input method, reference may be made to the description of the corresponding parts of the above embodiments, as shown in fig. 9, the method may include:
step S41, the input device responds to the character selection operation and determines the currently selected character;
step S42, the input device sends the currently selected character to the processor of the electronic device;
step S43, the input device generates a direction instruction based on the operation of the direction key when the currently selected character is in the selected state;
step S44, the input device sends the direction instruction to the processor of the electronic device;
step S45, the processor receives the current selected character and direction instruction sent by the input device;
in step S46, the processor responds to the direction command to obtain the stroking direction of the currently selected character.
It should be noted that, the operation of the direction key of the input device by the user may be completed when the currently selected character is input, or the user may press the corresponding direction key after pressing the key of the currently selected character, and the input device obtains the currently selected character and the direction instruction, and then sends the currently selected character and the direction instruction to the processor of the electronic device, and is not limited to the execution sequence described in this embodiment.
For the execution steps after the processor of the electronic device determines the currently selected character, reference may be made to the description of the embodiment shown in fig. 8, which is not described again.
In summary, in the above embodiments, interaction with the electronic device can be achieved through more natural, simple and convenient user operations such as gestures and combination key combinations, information of multidimensional information can be completed quickly, so as to achieve input of mathematical expressions, reduce user input burden, reduce user operation steps, and greatly improve efficiency, convenience and universality of mathematical expressions without being constrained by an input method of the electronic device.
Referring to fig. 10, there is shown a flow chart of yet another alternative example of the mathematical expression input method proposed in the present application, which may still be applied to an electronic device, and unlike the mathematical expression input method described in the above embodiments, the present embodiment is mainly applied to the input of a mathematical expression in which an operator nest exists, that is, the operator still exists in a parameter of the mathematical expression at least one character input position in which an operator exists, in this scenario, the mathematical expression input method may include, but is not limited to:
step S51, obtaining the operator of the current input mathematical expression;
step S52, responding to the character input operation, obtaining the current selected character and the azimuth information thereof;
regarding the implementation processes of step S51 and step S52, reference may be made to the description of corresponding parts in the foregoing embodiments, which are not repeated herein.
Step S53, outputting at least one prediction operator on the current display interface by using the currently selected character and the azimuth information thereof;
after the above analysis, the mathematical expression to be input in this embodiment has the operator nested usage, then, after the user completes the input of an operator and its corresponding character and character orientation information in the above manner in the process of inputting this part of nested operators, since the orientation information at this time not only represents the structural orientation of the character input position (a character input position of this operator) to be input by this character with respect to this operator, but also represents the structural orientation of the character input position (a character input position of another operator to be input by this character at a certain character input position of this operator) with respect to this other operator.
Therefore, the electronic device can determine at which character input position of the operator the currently selected character is to be displayed according to the azimuth information of the currently selected character, and at the same time, can determine a character input position arrangement structure corresponding to the stroke direction according to the operator, so as to obtain at least one prediction operator of a plurality of character input positions with the arrangement structure, and output the at least one prediction operator at the current display interface.
It should be noted that, the present application does not limit the specific implementation method of step S53, and at least one operator that matches may be stored in advance for different character stroke directions, so that after the stroke direction of the currently selected character is obtained, at least one prediction operator that matches the stroke direction may be directly queried, and more specifically, in an optional implementation manner of some embodiments, an operator structure represented by the stroke direction may be obtained, and then according to an arrangement relationship between multiple character input positions corresponding to the operator represented by the operator structure, at least one prediction operator having the operator structure is obtained and directly displayed on the current display interface for the user to select, but is not limited to several implementation manners listed in the present application.
Step S54, responding to the selection instruction of at least one prediction operator, and obtaining a target input operator and a target input position of the currently selected character in the target input operator;
in step S55, the currently selected character and the target input operator are output at the target character input position, and the currently selected character is output at the target input position among the target input operators.
Aiming at least one prediction operator output by a current display interface of the electronic equipment, a user can directly select a target input operator which needs to be input currently, so that the electronic equipment can obtain the target input operator based on the selection operation of the user on the at least one prediction operator, and simultaneously, a target input position of the currently selected character in the target input operator can be obtained according to the stroking direction of the currently selected character.
It should be understood that, in this embodiment, the input of the currently selected character, the stroke direction thereof, and the target input operator may be implemented by matching with the finger, the mouse, the touch pen, etc. of the user as described above, or may be implemented by using an input device such as a keyboard, etc., which is not described in detail in this application.
It can be seen that, the electronic device of this embodiment, using the currently selected character and the stroke direction thereof input by the user, not only can directly output the currently selected character at a certain character input position of an operator, if an operator still exists at the certain character input position of the operator that has been input in the mathematical expression, but also can further use the stroke direction of the currently selected character to directly obtain the operator that may be input at the character input position, without the need of the user to switch to an operator input mode, filter a desired operator, and then switch to a character input mode, thereby reducing the key operation steps of the user, and improving the input efficiency of the mathematical expression.
Referring to fig. 11, a block diagram of an alternative example of a mathematical expression input apparatus proposed in the present application, which may correspond to the above method embodiment, may be specifically applied to various electronic devices, and as shown in fig. 11, the apparatus may include:
an operator obtaining module 21, configured to obtain an operator of a currently input target mathematical expression;
the direction information acquisition module 22 is used for responding to the character input operation and acquiring the currently selected character and the direction information of the currently selected character;
the direction information is generated when the currently selected character is in a selected state, and the content contained in the direction information and the generation method thereof are not limited in the present application.
And the character input module 23 is configured to determine a target character input position in an operator by using the azimuth information of the currently selected character, and output the currently selected character at the target character input position to obtain a mathematical expression.
In an implementation of some embodiments, as shown in fig. 12, the apparatus may further include:
a character input position acquisition module 24, configured to acquire a plurality of character input positions corresponding to operators;
accordingly, the orientation information acquiring module 22 may include:
a currently selected character determining unit 221 for determining a currently selected character in response to a character selecting operation;
a stroke direction obtaining unit 222, configured to obtain a stroke direction for the currently selected character input when the currently selected character is in the selected state, where the stroke direction represents a structural orientation of a character input position of an operator relative to the operator
Alternatively, the stroking direction acquiring unit 222 may include:
the detection unit is used for detecting a sliding track input by the current display interface;
the sliding direction determining unit is used for obtaining the sliding direction of the currently selected character according to the sliding track;
in this case, the currently selected character determining unit 221 may include:
the first output unit is used for outputting a character input interface;
and the currently selected character determining unit is used for responding to a selected operation aiming at one character in the character input interface and determining the currently selected character.
Alternatively, the stroking direction acquiring unit 222 may include:
and the direction instruction response unit is used for responding to a direction instruction sent by the input equipment to obtain the stroking direction of the currently selected character, and the direction instruction is generated based on the operation of a direction key of the input equipment.
In this case, the currently selected character determining unit 221 may include:
the current selected character receiving unit is used for receiving a current selected character sent by the input equipment, and the current selected character is determined by the input equipment responding to the character selection operation;
wherein the currently selected character is maintained in the selected state until the currently selected character is output.
Based on the analysis of the above embodiment, the character input module 23 may include:
a target character input position selection unit 231 for selecting a target character input position matching the orientation information of the currently selected character from among the plurality of character input positions;
a character output unit 232 for outputting the currently selected character at the target character input position to obtain the mathematical expression.
In some embodiments, as shown in fig. 13, the apparatus may further include:
a storage module 25 for storing respective character input positions for a plurality of operators and the structural orientation of the character input positions relative to the respective operator;
a construction module 26, configured to construct, by using a structural orientation of the character input position relative to a corresponding operator, a corresponding relationship between each character input position and different stroke directions in different operators;
accordingly, the above-described target character input position selection unit 231 may include:
a correspondence obtaining unit 2311 for obtaining a correspondence between each character input position in the currently input operator and different stroking directions;
a target character input position obtaining unit 2312, configured to obtain a target character input position corresponding to the stroking direction of the currently selected character according to the obtained correspondence.
In still other embodiments, the apparatus may further comprise:
the prediction operator output module is used for outputting at least one prediction operator on a current display interface by using the currently selected character and the azimuth information of the currently selected character;
the selection instruction response module is used for responding to a selection instruction of at least one prediction operator to obtain a target input operator and a target input position of a currently selected character in the target input operator;
accordingly, the character input module 23 may include:
and the currently selected character output unit is used for outputting the currently selected character and the target input operator at the target character input position, and the currently selected character is output at the target input position in the target input operator.
It should be noted that, various modules, units, and the like in the embodiments of the foregoing apparatuses may be stored in the memory as program modules, and the processor executes the program modules stored in the memory to implement corresponding functions, and for the functions implemented by the program modules and their combinations and the achieved technical effects, reference may be made to the description of corresponding parts in the embodiments of the foregoing methods, which is not described in detail in this embodiment.
The present application also provides a storage medium on which a computer program can be stored, the computer program being called and loaded by a processor to implement the steps of the mathematical expression input method described in the above embodiments.
Referring to the schematic structural diagram of the electronic device shown in fig. 2, the electronic device proposed in the present application may include a communication interface 11, a memory 12, a processor 13, an input device 14, an output device 15, and the like. The memory may store a program for implementing the mathematical expression input method described in each of the above method embodiments, and the processor may load and execute the program stored in the memory to implement each step of the mathematical expression input method described in the corresponding embodiment, and the specific implementation process may refer to the description of the corresponding part of the above method embodiment.
In some embodiments, the electronic device may further include an application library for receiving a system application executed after the processor analyzes the information, the type of the system application is not limited in this application, and the number of the input device 14 and the memory 13 may be multiple.
In some implementations, the first memory may record a currently selected character selected by a user and an orientation (i.e., orientation information) input by the user when the currently selected character is input, where the orientation may be obtained by analyzing and determining parameters sensed by various sensors, so that sensing and determining of the orientation information may be generally included in an orientation detection process of the currently selected character, and a specific implementation process is not limited. The parameters sensed by the sensors can be sent to a processor for analysis to obtain the required orientation information.
If the application can pre-establish the corresponding relation between each character input position in different operators and different stroke directions, and the corresponding relation can be stored in the second memory, in practical application, after obtaining the azimuth information of the currently selected character, the processor can firstly use the azimuth information and the pre-stored structures of the operators to carry out azimuth matching, including matching of the operator structures, and analyzing and matching of azimuth information such as gestures, direction keys and the like, so as to obtain the target character input position of the currently selected character on the input operator, and the specific method process can refer to the description of the corresponding part of the method embodiment.
It should be noted that, regarding the component structure of the electronic device, the functions implemented by the components, the technical effects implemented by the components matching with each other, and the like, reference may be made to the description of the corresponding parts in the foregoing embodiments, and details in this embodiment are not repeated.
Furthermore, the present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In addition, in the present specification, each embodiment is described in a progressive or parallel manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The device and the electronic equipment disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is relatively simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A mathematical expression input method, the method comprising:
acquiring an operator of a currently input mathematical expression;
responding to character input operation, obtaining a currently selected character and azimuth information of the currently selected character, wherein the azimuth information is generated when the currently selected character is in a selected state;
determining a target character input position in the operator by using the azimuth information of the currently selected character;
outputting the currently selected character at the target character input position to obtain the mathematical expression;
wherein, the obtaining of the currently selected character and the azimuth information of the currently selected character in response to the character input operation includes:
in response to a character selection operation, determining a currently selected character;
obtaining a stroke direction input for the currently selected character when the currently selected character is in a selected state, wherein the stroke direction represents a structural orientation of a character input position of the operator relative to the operator;
the obtaining of the stroking direction for the currently selected character input comprises:
detecting a sliding track input by a current display interface, and obtaining the stroking direction of the currently selected character according to the sliding track;
alternatively, the first and second electrodes may be,
and responding to a direction instruction sent by an input device to obtain the stroking direction of the currently selected character, wherein the direction instruction is generated based on the operation of a direction key of the input device.
2. The method of claim 1, further comprising:
acquiring a plurality of character input positions corresponding to the operator;
the determining a target character input position in the operator by using the azimuth information of the currently selected character comprises:
selecting a target character input position matching the orientation information of the currently selected character from the plurality of character input positions.
3. The method of claim 2, further comprising:
storing respective character input positions for a plurality of operators, and structural orientations of the character input positions relative to the respective operators;
constructing the corresponding relation between each character input position in different operators and different stroke directions by using the structural orientation of the character input position relative to the corresponding operator;
the selecting a target character input position matched with the azimuth information of the currently selected character from the character input positions corresponding to the operator comprises:
acquiring the corresponding relation between the input position of each character in the currently input operator and different stroke directions;
and acquiring a target character input position corresponding to the stroking direction of the currently selected character according to the acquired corresponding relation.
4. The method of claim 1, wherein determining a currently selected character in response to a character selection operation comprises:
outputting a character input interface, and responding to a selection operation aiming at one character in the character input interface to determine a currently selected character;
alternatively, the first and second electrodes may be,
receiving a currently selected character sent by an input device, wherein the currently selected character is determined by the input device in response to a character selection operation;
wherein the currently selected character is maintained in a selected state prior to outputting the currently selected character.
5. The method of any of claims 1-4, further comprising:
outputting at least one prediction operator on a current display interface by using the currently selected character and the azimuth information of the currently selected character;
responding to a selection instruction of the at least one prediction operator, and obtaining a target input operator and a target input position of the currently selected character in the target input operator;
said outputting said currently selected character at said target character input location comprising:
and outputting the currently selected character and the target input operator at the target character input position, and outputting the currently selected character at a target input position in the target input operator.
6. A mathematical expression input apparatus, the apparatus comprising:
the operator obtaining module is used for obtaining an operator of a currently input target mathematical expression;
the character input device comprises a direction information acquisition module, a character input module and a character input module, wherein the direction information acquisition module is used for responding to character input operation to obtain a currently selected character and direction information of the currently selected character, and the direction information is generated when the currently selected character is in a selected state;
the character input module is used for determining a target character input position in the operator by using the azimuth information of the currently selected character and outputting the currently selected character at the target character input position to obtain the mathematical expression;
wherein, the obtaining of the currently selected character and the azimuth information of the currently selected character in response to the character input operation includes:
in response to a character selection operation, determining a currently selected character;
obtaining a stroke direction input for the currently selected character when the currently selected character is in a selected state, wherein the stroke direction represents a structural orientation of a character input position of the operator relative to the operator;
the obtaining of the stroking direction for the currently selected character input comprises:
detecting a sliding track input by a current display interface, and obtaining the stroking direction of the currently selected character according to the sliding track;
alternatively, the first and second electrodes may be,
and responding to a direction instruction sent by an input device to obtain the stroking direction of the currently selected character, wherein the direction instruction is generated based on the operation of a direction key of the input device.
7. An electronic device, the electronic device comprising:
an output device;
a memory for storing a program for implementing the mathematical expression input method according to any one of claims 1 to 5;
a processor for loading and executing the program stored in the memory to implement the mathematical expression input method as claimed in any one of claims 1 to 5.
8. The electronic device of claim 7, further comprising:
the input equipment is used for responding to the operation aiming at the direction key, generating a direction instruction aiming at the currently selected character and sending the direction instruction to the processor; and/or determining a currently selected character in response to a character selection operation and sending the currently selected character to the processor.
CN201910910509.2A 2019-09-25 2019-09-25 Mathematical expression input method and device and electronic equipment Active CN110765735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910910509.2A CN110765735B (en) 2019-09-25 2019-09-25 Mathematical expression input method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910910509.2A CN110765735B (en) 2019-09-25 2019-09-25 Mathematical expression input method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110765735A CN110765735A (en) 2020-02-07
CN110765735B true CN110765735B (en) 2021-07-16

Family

ID=69329961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910910509.2A Active CN110765735B (en) 2019-09-25 2019-09-25 Mathematical expression input method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110765735B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113311972B (en) * 2021-06-10 2023-06-09 维沃移动通信(杭州)有限公司 Input method and input device
CN114357944B (en) * 2021-12-17 2024-02-20 永中软件股份有限公司 Layout method of large operator formula and computer device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054701A1 (en) * 2002-03-01 2004-03-18 Garst Peter F. Modeless gesture driven editor for handwritten mathematical expressions
CN101719033B (en) * 2009-11-27 2013-02-13 深圳市学之易软件有限公司 Counter conforming to traditional handwriting habit and input method thereof
JP5761687B2 (en) * 2011-07-11 2015-08-12 学校法人武庫川学院 Formula output computer, formula output method, formula output program, and computer-readable recording medium recording formula output program
JP6269220B2 (en) * 2014-03-20 2018-01-31 カシオ計算機株式会社 Formula display control apparatus, formula display control method, formula display control program
CN104268119A (en) * 2014-09-23 2015-01-07 赵方 Mathematical formula calculator including touch screen and method for inputting mathematical formulas
CN105653514A (en) * 2015-12-31 2016-06-08 深圳市金立通信设备有限公司 Text editing method and terminal

Also Published As

Publication number Publication date
CN110765735A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
US11157577B2 (en) Method for searching and device thereof
US9747017B2 (en) Segmented scroll bar
US7454702B2 (en) Tool for selecting ink and other objects in an electronic document
US11748557B2 (en) Personalization of content suggestions for document creation
CN111381751A (en) Text processing method and device
KR20120080069A (en) Display apparatus and voice control method thereof
CN102750003B (en) The method and apparatus of text input
US11734370B2 (en) Method for searching and device thereof
CN110765735B (en) Mathematical expression input method and device and electronic equipment
US11256996B2 (en) Method for recommending next user input using pattern analysis of user input
EP2947584A1 (en) Multimodal search method and device
CN111880668A (en) Input display method and device and electronic equipment
CN106055526B (en) Page iden-tity method and apparatus
US10031965B2 (en) Data object classification using feature generation through crowdsourcing
Godinho et al. Improving accessibility of mobile devices with EasyWrite
KR20150135059A (en) Method for Searching and Device Thereof
KR101077207B1 (en) System and Method for Displaying of Word
CN110765736B (en) Mathematical expression input method and device and mobile equipment
US11003346B2 (en) Prototype storing method
CN111061472A (en) Method and system for generating visualized edited violin diagram
CN111090340B (en) Input method candidate result display method, related equipment and readable storage medium
KR102207514B1 (en) Sketch retrieval system with filtering function, user equipment, service equipment, service method and computer readable medium having computer program recorded therefor
US7734635B2 (en) Indexed views
CN113641252A (en) Text input method and device and electronic equipment
CN106227362A (en) Four lattice input methods

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant