CN108241604B - Interactive editing method and device for realizing Lateh format formula - Google Patents

Interactive editing method and device for realizing Lateh format formula Download PDF

Info

Publication number
CN108241604B
CN108241604B CN201611220229.1A CN201611220229A CN108241604B CN 108241604 B CN108241604 B CN 108241604B CN 201611220229 A CN201611220229 A CN 201611220229A CN 108241604 B CN108241604 B CN 108241604B
Authority
CN
China
Prior art keywords
input
user
lateh
instruction
formula
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
CN201611220229.1A
Other languages
Chinese (zh)
Other versions
CN108241604A (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.)
Beijing Yidu Huida Education Technology Co ltd
Original Assignee
Beijing Yidu Huida Education Technology Co 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 Beijing Yidu Huida Education Technology Co ltd filed Critical Beijing Yidu Huida Education Technology Co ltd
Priority to CN201611220229.1A priority Critical patent/CN108241604B/en
Publication of CN108241604A publication Critical patent/CN108241604A/en
Application granted granted Critical
Publication of CN108241604B publication Critical patent/CN108241604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

One of the technical problems to be solved by the embodiments of the present application is to provide an interactive editing method and an apparatus for implementing a latachy format formula, which are applied to a mobile terminal, and the method includes: acquiring a part to be edited in a Lateh format formula, and replacing the part to be edited with characteristic characters; replacing characteristic characters in the Lateh format formula with an edit box, and displaying the Lateh format formula; and filling characters corresponding to the user instruction in the edit box according to the received user instruction. The embodiment of the application can realize the editing of the formula in the Lathah format on the mobile terminal.

Description

Interactive editing method and device for realizing Lateh format formula
Technical Field
The application belongs to the technical field of electronic teaching, and particularly relates to an interactive editing method and device for realizing a Lateh format formula.
Background
LATEX (transliteration "latay") is a text-setting system based on the beta of the beta, developed by the american computer chemist lesley lambert (Leslie Lamport) in the early 20 th century 80 s, with which powerful functions provided by TeX can be fully exploited, even without knowledge of the user of text and programming, enabling many prints to be produced with book quality in days, even hours. This is particularly true for generating complex tables and mathematical formulas. It is therefore very suitable for generating scientific and mathematical documents of high print quality. This system is equally applicable to generating all other kinds of documents, from simple letters to complete books.
With the development of electronic teaching, the formula is compiled by using the formula in the Lateh format, and the display of the electronic teaching is optimized. The mobile terminal is gradually becoming an important tool in electronic teaching with portability and convenience of operation, and the formula in the Latah format can be displayed on mobile terminals such as iPAD. However, in order to enrich the expression form of electronic teaching and increase the convenience of user operation, it is often necessary to directly edit the formula in the latachh format on a mobile terminal such as an iPAD. However, the existing algorithm cannot realize the editing of the formula in the Latah format on mobile terminals such as iPAD and the like, thereby influencing the interactivity of electronic teaching.
Therefore, how to edit the formula of the latachy format on the mobile terminal such as the iPAD becomes a technical problem which needs to be solved urgently in the prior art.
Disclosure of Invention
One of the technical problems to be solved by the embodiments of the present application is to provide an interactive editing method and apparatus for implementing a formula in a latachh format, which can implement editing of a formula in a latachh format on a mobile terminal.
The embodiment of the application provides an interactive editing method for realizing a Lateh format formula, which is applied to a mobile terminal and comprises the following steps:
acquiring a part to be edited in a Lateh format formula, and replacing the part to be edited with characteristic characters;
replacing characteristic characters in the Lateh format formula with an edit box, and displaying the Lateh format formula;
and filling characters corresponding to the user instruction in the edit box according to the received user instruction.
In a specific embodiment of the present application, the method further includes:
and comparing the characters filled in corresponding to the user instruction with pre-stored answers to obtain a formula answer result.
In a specific embodiment of the present application, the replacing the characteristic characters in the raltah format formula with an edit box and displaying the raltah format formula specifically include:
and replacing the characteristic characters in the Lateh format formula with an edit box by adopting a hypertext markup language label, and displaying the Lateh format formula.
In a specific embodiment of the present application, the filling, according to the received user instruction, a character corresponding to the user instruction in the edit box includes:
acquiring a first input instruction input by a user, and displaying an input interface according to the first input instruction;
and filling characters corresponding to a second input instruction in the edit box according to the second input instruction input by the user through the input interface.
In a specific embodiment of the present application, the obtaining of the first input instruction input by the user, and displaying the input interface according to the first input instruction specifically include:
the method comprises the steps of obtaining a first input instruction input by a user, and triggering and displaying a keyboard interface which can be input by the user according to the first input instruction.
Corresponding to the above method, the present application provides an interactive editing apparatus for implementing a latachy format formula, which is applied to a mobile terminal, and includes:
the device comprises a first replacing module, a second replacing module and a judging module, wherein the first replacing module is used for acquiring a part to be edited in a Lateh format formula and replacing the part to be edited with a characteristic character;
a second replacement module for replacing the characteristic characters in the Lateh format formula with an edit box and displaying the Lateh format formula;
and the character filling module is used for filling characters corresponding to the user instruction in the edit box according to the received user instruction.
In a specific embodiment of the present application, the apparatus further includes:
and the result acquisition module is used for comparing the characters filled in and corresponding to the user instruction with pre-stored answers to acquire a formula answer result.
In a specific embodiment of the present application, the second replacement module is specifically configured to replace a characteristic character in the raltah format formula with an edit box by using a hypertext markup language tag, and display the raltah format formula.
In an embodiment of the present application, the character filling module includes:
the first instruction unit is used for acquiring a first input instruction input by a user and displaying an input interface according to the first input instruction;
and the second instruction unit is used for filling characters corresponding to a second input instruction in the edit box according to the second input instruction input by the user through the input interface.
In a specific embodiment of the present application, the first instruction unit is specifically configured to obtain a first input instruction input by a user, and trigger and display a keyboard interface that can be input by the user according to the first input instruction.
The method comprises the steps of replacing a part to be edited in the Lateh format formula with a characteristic character, replacing the characteristic character in the Lateh format formula with an edit box, and displaying the Lateh format formula. According to the received user instruction, the character corresponding to the user instruction is filled in the edit box. Therefore, the editing of the formula in the Lathah format is realized on the mobile terminal by filling the characters corresponding to the user instructions into the editing frame. The embodiment of the application improves the interactivity of electronic teaching and improves the user experience.
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 described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a flow chart of an embodiment of a method for interactive editing of a Lateh format formula provided herein;
FIG. 2 is a flowchart illustrating an embodiment of step S3 in a method for interactive editing of Lateh format formulas;
FIG. 3 is a flow chart of another embodiment of a method for interactive editing of a Lateh format formula provided herein;
FIG. 4 is a block diagram of an embodiment of an interactive editing apparatus for implementing Lateh format formulas provided in the present application;
FIG. 5 is a block diagram of an embodiment of a character filling module in an interactive editing apparatus for implementing Lateh format formulas according to the present application;
FIG. 6 is a block diagram of another embodiment of an interactive editing apparatus for implementing Lateh format formulas provided in the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing the interactive editing method for the latachy format formula provided in the present application.
Detailed Description
The method comprises the steps of replacing a part to be edited in the Lateh format formula with a characteristic character, replacing the characteristic character in the Lateh format formula with an edit box, and displaying the Lateh format formula. According to the received user instruction, the character corresponding to the user instruction is filled in the edit box. Therefore, the editing of the formula in the Lathah format is realized on the mobile terminal by filling the characters corresponding to the user instructions into the editing frame. The embodiment of the application improves the interactivity of electronic teaching and improves the user experience.
While this application is capable of embodiments in many different forms, there are shown in the drawings and will herein be described in detail specific embodiments, with the understanding that the present disclosure of such embodiments is to be considered as an example of the principles and not intended to limit the application to the specific embodiments shown and described. In the description below, like reference numerals are used to describe the same, similar or corresponding parts in the several views of the drawings.
The terms "a" or "an," as used herein, are defined as one or more than one. The term "plurality", as used herein, is defined as two or more than two. The term "other", as used herein, is defined as at least one more or more. The terms including and/or having, as used herein, are defined as comprising (i.e., open language). The term "coupled," as used herein, is defined as connected, although not necessarily directly, and not necessarily mechanically. The term "program" or "computer program" or similar terms, as used herein, is defined as a sequence of instructions designed for execution on a computer system. A "program" or "computer program" may include a subroutine, a function, a procedure, an object method, an object implementation, an executable application, an applet, a servlet, a source code, an object code, a shared library/dynamic load library and/or other sequence of instructions designed for execution on a computer system.
Reference throughout this document to "one embodiment," "certain embodiments," "an embodiment," or similar terms means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of such phrases or in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments without limitation.
As used herein, the term "or" should be construed as being inclusive or meaning any one or any combination. Thus, "A, B or C" means "any of the following: a; b; c; a and B; a and C; b and C; a, B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or acts are in some way inherently mutually exclusive.
In order to make those skilled in the art better understand the technical solutions in the present application, 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 is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
The following further describes the present application with reference to the drawings.
Referring to fig. 1, an embodiment of the present application provides an interactive editing method for implementing a latachy format formula, applied to a mobile terminal, including:
s1, acquiring a part to be edited in the Lateh format formula, and replacing the part to be edited with characteristic characters.
Specifically, the method obtains a part to be edited in the Lateh format formula, and replaces the part to be edited with characteristic characters. The characteristic characters can be expressed in various expression forms, and can be characters which can be automatically recognized by a system or characters in a custom form.
Specifically, the feature character of the common gap filling question may be an english underline "_", one underline corresponding to one numeral in the formula; the characteristic character of the vertical type gap filling question may be "? _ ", one"? "corresponds to a number in the formula; the characteristic character of the fractional space filling question can be "\\ _", and one "\ _" corresponds to one number in the formula; the special character of the number-independent problem and the number matrix problem can be ^ A ', and the number-independent problem and the number matrix of the number-independent problem need to be respectively input with one ^ A'.
For example: if the part to be edited is "4", the common gap filling question is converted into a common gap filling question by using the characteristic character _ "corresponding to the number" 4 "in the formula: 3+ -, 2+ 5.
S2, replacing the characteristic characters in the Lateh format formula with edit boxes, and displaying the Lateh format formula.
Hypertext markup language (HTML) tags are generally called HTML tags, which are the most basic units in the HTML language, and are the most important components of the HTML (an application under the standard universal markup language).
In a specific implementation of the present application, the step S2 specifically includes:
and replacing the characteristic characters in the Lateh format formula with an edit box by adopting a hypertext markup language label, and displaying the Lateh format formula.
Specifically, the feature characters are replaced with span tags (span tags are inline elements used to combine in a document), and click events and IDs are added to the corresponding span tags. And when the webpage edited by the hypertext markup language is displayed, the user clicks the span label, identifies the ID corresponding to the span label and pops up a keyboard interface. And after the user inputs characters through the keyboard interface, setting the characters input by the user to the text attribute of the span label, and refreshing and displaying to realize the user input through the edit box.
And S3, filling characters corresponding to the user instructions into the edit box according to the received user instructions.
The user sends a user instruction to the mobile terminal through an input device of the mobile terminal, the mobile terminal is usually an electronic device such as an iPAD, and the mobile terminal is usually a touch input panel of the electronic device such as the iPAD.
Specifically, referring to fig. 2, the step S3 includes:
s31, acquiring a first input instruction input by a user, and displaying an input interface according to the first input instruction.
And the user sends a first input instruction to the mobile terminal through an input device of the mobile terminal, so that the display of an input interface is triggered.
Specifically, the step S31 specifically includes:
the method comprises the steps of obtaining a first input instruction input by a user, and triggering and displaying a keyboard interface which can be input by the user according to the first input instruction.
And after the mobile terminal obtains the first input instruction, analyzing the first input instruction and triggering the display of a keyboard interface.
For example, a user clicks the edit box through a touch input panel of the iPAD to trigger a keyboard interface to pop up, and the user can input through the keyboard interface.
The user can also click other parts through the touch input panel of the iPAD, such as specific keys and the like, and a keyboard interface is triggered to pop up, so that the user can input through the keyboard interface.
And S32, filling characters corresponding to the second input instruction in the edit box according to the second input instruction input by the user through the input interface.
Specifically, the user inputs a second input instruction through the keyboard interface, that is, inputs characters through the keyboard interface, and fills characters corresponding to the second input instruction in the edit box.
In another embodiment of the present application, referring to fig. 3, the method further comprises:
and S4, comparing the characters filled in corresponding to the user instruction with pre-stored answers to obtain a formula answer result.
According to the method and the device, the filling part in the Latah format formula is compared with the pre-stored answer, so that the comparison result of the formula edited by the user and the pre-stored answer is obtained, and the wrong answer is judged.
In response to the above method, referring to fig. 4, an embodiment of the present application provides an interactive editing apparatus for implementing a latachy format formula, applied to a mobile terminal, including:
the first replacing module 41 is used for acquiring the part to be edited in the Lateh format formula and replacing the part to be edited with the characteristic character.
A second replacement module 42 for replacing the characteristic characters in the Lateh format formula with an edit box and displaying the Lateh format formula.
And a character filling module 43, configured to fill, according to the received user instruction, a character corresponding to the user instruction in the edit box.
Specifically, the method obtains a part to be edited in the Lateh format formula, and replaces the part to be edited with characteristic characters. The characteristic characters can be expressed in various expression forms, and can be characters which can be automatically recognized by a system or characters in a custom form.
Specifically, the feature character of the common gap filling question may be an english underline "_", one underline corresponding to one numeral in the formula; the characteristic character of the vertical type gap filling question may be "? _ ", one"? "corresponds to a number in the formula; the characteristic character of the fractional space filling question can be "\\ _", and one "\ _" corresponds to one number in the formula; the special character of the number-independent problem and the number matrix problem can be ^ A ', and the number-independent problem and the number matrix of the number-independent problem need to be respectively input with one ^ A'.
For example: if the part to be edited is "4", the common gap filling question is converted into a common gap filling question by using the characteristic character _ "corresponding to the number" 4 "in the formula: 3+ -, 2+ 5.
S2, replacing the characteristic characters in the Lateh format formula with edit boxes, and displaying the Lateh format formula.
Hypertext markup language (HTML) tags are generally called HTML tags, which are the most basic units in the HTML language, and are the most important components of the HTML (an application under the standard universal markup language).
In a specific implementation of the present application, the step S2 specifically includes:
and replacing the characteristic characters in the Lateh format formula with an edit box by adopting a hypertext markup language label, and displaying the Lateh format formula.
Specifically, the feature characters are replaced with span tags (span tags are inline elements used to combine in a document), and click events and IDs are added to the corresponding span tags. And when the webpage edited by the hypertext markup language is displayed, the user clicks the span label, identifies the ID corresponding to the span label and pops up a keyboard interface. And after the user inputs characters through the keyboard interface, setting the characters input by the user to the text attribute of the span label, and refreshing and displaying to realize the user input through the edit box.
The user sends a user instruction to the mobile terminal through an input device of the mobile terminal, the mobile terminal is usually an electronic device such as an iPAD, and the mobile terminal is usually a touch input panel of the electronic device such as the iPAD.
Specifically, referring to fig. 5, the character stuffing module 43 includes:
the first instruction unit 431 is used for acquiring a first input instruction input by a user and displaying an input interface according to the first input instruction;
a second instruction unit 432, configured to fill, according to a second input instruction input by the user through the input interface, a character corresponding to the second input instruction in the edit box. And the user sends a first input instruction to the mobile terminal through an input device of the mobile terminal, so that the display of an input interface is triggered.
Specifically, the first instruction unit 431 is configured to obtain a first input instruction input by a user, and trigger and display a keyboard interface that can be input by the user according to the first input instruction.
And after the mobile terminal obtains the first input instruction, analyzing the first input instruction and triggering the display of a keyboard interface.
For example, a user clicks the edit box through a touch input panel of the iPAD to trigger a keyboard interface to pop up, and the user can input through the keyboard interface.
The user can also click other parts through the touch input panel of the iPAD, such as specific keys and the like, and a keyboard interface is triggered to pop up, so that the user can input through the keyboard interface.
Specifically, the user inputs a second input instruction through the keyboard interface, that is, inputs characters through the keyboard interface, and fills characters corresponding to the second input instruction in the edit box.
In another embodiment of the present application, referring to fig. 6, the apparatus further comprises:
and the result obtaining module 44 is configured to compare the characters filled in corresponding to the user instruction with pre-stored answers, and obtain a formula answer result.
According to the method and the device, the filling part in the Latah format formula is compared with the pre-stored answer, so that the comparison result of the formula edited by the user and the pre-stored answer is obtained, and the wrong answer is judged.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing the interactive editing method for a latachy format formula according to the present application. According to fig. 7, the apparatus comprises:
one or more processors 710 and a memory 720, one processor 710 being illustrated in fig. 7.
The apparatus for implementing the interactive editing method of the latachz format formula may further include: an input device 730 and an output device 730.
The processor 710, the memory 720, the input device 730, and the output device 730 may be connected by a bus or other means, such as the bus connection in fig. 7.
The memory 720, which is a non-volatile computer-readable storage medium, can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules (for example, the first replacement module 41, the second replacement module 42, and the character filling module 43 shown in fig. 4) corresponding to the interactive editing method for implementing the latachz format formula in the embodiment of the present application. The processor 710 executes various functional applications of the server and data processing by running the non-volatile software programs, instructions, and modules stored in the memory 720, that is, implementing the above-described method embodiments to implement the interactive editing method of the latachz format formula.
The memory 720 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of an interactive editing apparatus that implements a latachz format formula, and the like. Further, the memory 720 may include high speed random access memory 720, and may also include non-volatile memory 720, such as at least one piece of disk memory 720, flash memory devices, or other non-volatile solid state memory 720. In some embodiments, memory 720 optionally includes memory 720 located remotely from processor 710, and such remote memory 720 may be connected to the sound effect mode selection device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 730 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the interactive editing device implementing the latachz format formula. The output device 730 may include a speaker or the like.
The one or more modules are stored in the memory 720 and, when executed by the one or more processors 710, perform a method of interactive editing to implement a latachz format formula in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(7) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products of embodiments. 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.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. An interactive editing method for realizing Lateh format formula is applied to a mobile terminal, and comprises the following steps:
acquiring a part to be edited in a Lateh format formula, and replacing the part to be edited with characteristic characters;
replacing the characteristic characters in the Lateh format formula as an edit box and displaying the Lateh format formula;
according to a received user instruction, filling characters corresponding to the user instruction into the edit box;
wherein replacing a characteristic character in the Lateh format formula as an edit box and displaying the Lateh format formula comprises: replacing characteristic characters in the Lateh format formula with an edit box by adopting a hypertext markup language tag, and displaying the Lateh format formula; when a hypertext markup language label is adopted to replace a characteristic character in the Latah format formula with an edit box, the characteristic character in the Latah format formula is replaced with a span label, a click event and an ID are added to the span label, when a webpage edited by the hypertext markup language is displayed, a user clicks the span label, the ID corresponding to the span label is identified, a keyboard interface is popped up, after the user inputs the character through the keyboard interface, the character input by the user is set to a text attribute of the span label, and then the character input is refreshed to realize the user input through the edit box.
2. The method of claim 1, wherein the method further comprises:
and comparing the characters filled in corresponding to the user instruction with pre-stored answers to obtain a formula answer result.
3. The method of claim 1, wherein said replacing the characteristic characters in the Lateh format formula with an edit box and displaying the Lateh format formula is specified by:
and replacing the characteristic characters in the Lateh format formula with an edit box by adopting a hypertext markup language label, and displaying the Lateh format formula.
4. The method of claim 1, wherein the filling in the edit box with characters corresponding to the user instruction according to the received user instruction comprises:
acquiring a first input instruction input by a user, and displaying an input interface according to the first input instruction;
and filling characters corresponding to a second input instruction in the edit box according to the second input instruction input by the user through the input interface.
5. The method of claim 4, wherein the obtaining of the first input instruction input by the user and the displaying of the input interface according to the first input instruction are specifically:
the method comprises the steps of obtaining a first input instruction input by a user, and triggering and displaying a keyboard interface which can be input by the user according to the first input instruction.
6. An interactive editing apparatus for implementing a Latah format formula, applied to a mobile terminal, includes:
the device comprises a first replacing module, a second replacing module and a judging module, wherein the first replacing module is used for acquiring a part to be edited in a Lateh format formula and replacing the part to be edited with a characteristic character;
a second replacement module for replacing the characteristic characters in the Lateh format formula with an edit box and displaying the Lateh format formula;
the character filling module is used for filling characters corresponding to the user instructions into the edit box according to the received user instructions;
the second replacing module is further used for replacing the characteristic characters in the Latych format formula with an edit box by adopting a hypertext markup language tag, and displaying the Latych format formula; when a hypertext markup language label is adopted to replace a characteristic character in the Latah format formula with an edit box, the characteristic character in the Latah format formula is replaced with a span label, a click event and an ID are added to the span label, when a webpage edited by the hypertext markup language is displayed, a user clicks the span label, the ID corresponding to the span label is identified, a keyboard interface is popped up, after the user inputs the character through the keyboard interface, the character input by the user is set to a text attribute of the span label, and then the character input is refreshed to realize the user input through the edit box.
7. The apparatus of claim 6, wherein the apparatus further comprises:
and the result acquisition module is used for comparing the characters filled in and corresponding to the user instruction with pre-stored answers to acquire a formula answer result.
8. The apparatus of claim 6, wherein the second replacement module is specific to replace a characteristic character in the Latych format formula with an edit box using a hypertext markup language tag and to display the Latych format formula.
9. The apparatus of claim 6, wherein the character stuffing module comprises:
the first instruction unit is used for acquiring a first input instruction input by a user and displaying an input interface according to the first input instruction;
and the second instruction unit is used for filling characters corresponding to a second input instruction in the edit box according to the second input instruction input by the user through the input interface.
10. The apparatus according to claim 9, wherein the first instruction unit is specifically configured to obtain a first input instruction input by a user, and trigger display of a keyboard interface that is capable of being input by the user according to the first input instruction.
CN201611220229.1A 2016-12-26 2016-12-26 Interactive editing method and device for realizing Lateh format formula Active CN108241604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611220229.1A CN108241604B (en) 2016-12-26 2016-12-26 Interactive editing method and device for realizing Lateh format formula

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611220229.1A CN108241604B (en) 2016-12-26 2016-12-26 Interactive editing method and device for realizing Lateh format formula

Publications (2)

Publication Number Publication Date
CN108241604A CN108241604A (en) 2018-07-03
CN108241604B true CN108241604B (en) 2021-04-30

Family

ID=62702059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611220229.1A Active CN108241604B (en) 2016-12-26 2016-12-26 Interactive editing method and device for realizing Lateh format formula

Country Status (1)

Country Link
CN (1) CN108241604B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112070635A (en) * 2020-09-04 2020-12-11 中国平安财产保险股份有限公司 Contract dynamic editing method and device, computer equipment and storage medium
CN113326675B (en) * 2021-08-04 2022-09-13 江西风向标教育科技有限公司 Formula processing method and system for education resource library

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189434A (en) * 1992-01-10 1993-07-30 Nec Corp Latex text end inspecting device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7277925B2 (en) * 1999-12-08 2007-10-02 Warnock Kevin L Internet document services
CN101470695A (en) * 2007-12-28 2009-07-01 英业达股份有限公司 System and method for dynamically generating examination questions
CN101714133A (en) * 2009-11-18 2010-05-26 佛山市数苑科技信息有限公司 WEB-based mathematical formula editing system and method
CN103295438A (en) * 2012-02-27 2013-09-11 镇江润欣科技信息有限公司 Method for realizing normal mathematics test paper on web
CN102637290B (en) * 2012-03-26 2015-01-21 北大方正集团有限公司 Operating system based on browser and compiling method
CN103425773A (en) * 2013-08-02 2013-12-04 深圳市菁优网络科技有限公司 Method for rapidly displaying mathematical formula in web page by utilizing native Html (Hypertext Markup Language)
CN104462160B (en) * 2013-09-25 2018-09-14 北大方正集团有限公司 Edit the method and system of formula
CN104978074B (en) * 2015-07-31 2018-04-27 广东小天才科技有限公司 A kind of formula input method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189434A (en) * 1992-01-10 1993-07-30 Nec Corp Latex text end inspecting device

Also Published As

Publication number Publication date
CN108241604A (en) 2018-07-03

Similar Documents

Publication Publication Date Title
US10536433B2 (en) Deidentified access of content
CN111368180B (en) Page display method and device and electronic equipment
CN107070785B (en) Method and device for realizing reading sharing
CN111274473B (en) Training method and device for recommendation model based on artificial intelligence and storage medium
Baker Making it work for everyone: HTML5 and CSS level 3 for responsive, accessible design on your library's web site
CN108241604B (en) Interactive editing method and device for realizing Lateh format formula
US20180211553A1 (en) Systems and methods for providing personalized electronic learning material in an educational infrastructure
Adhoni et al. Towards a comprehensive online portal and mobile friendly qur'an application
US20150294582A1 (en) Information communication technology in education
CN108491232B (en) Method and system for loading control on voice conversation platform
Mesfin et al. Towards end-user development of REST client applications on smartphones
WO2017083205A1 (en) Provide interactive content generation for document
US20180122405A1 (en) Web technology responsive to mixtures of emotions
CN113556484B (en) Video processing method, video processing device, electronic equipment and computer readable storage medium
CN111459483B (en) Interface processing method and device
US20170169854A1 (en) Method and electronic device for video stitching
Torrente et al. Development of a game engine for accessible web-based games
US20200293311A1 (en) Format converter for interactive media
Barker Pro JavaScript Performance: Monitoring and Visualization
CN108572956B (en) Method and device for calling knowledge point slices
Wyke-Smith Scriptin'with JavaScript and Ajax: a designer's guide
WO2019087064A1 (en) Language learning system and methods
WO2018038586A1 (en) Method for generating text animation, and apparatus therefor
Imoto et al. A Framework for supporting the development of Multi-Screen Web Applications
Bele et al. User and mobile-friendly learning management system design

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