JP2018501551A - Formula processing method, apparatus, device, and program - Google Patents

Formula processing method, apparatus, device, and program Download PDF

Info

Publication number
JP2018501551A
JP2018501551A JP2017526093A JP2017526093A JP2018501551A JP 2018501551 A JP2018501551 A JP 2018501551A JP 2017526093 A JP2017526093 A JP 2017526093A JP 2017526093 A JP2017526093 A JP 2017526093A JP 2018501551 A JP2018501551 A JP 2018501551A
Authority
JP
Japan
Prior art keywords
expression
content
graphic object
subject
graphic
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.)
Granted
Application number
JP2017526093A
Other languages
Japanese (ja)
Other versions
JP6866551B2 (en
Inventor
ハン、コン
Original Assignee
バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド
バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド, バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド filed Critical バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド
Publication of JP2018501551A publication Critical patent/JP2018501551A/en
Application granted granted Critical
Publication of JP6866551B2 publication Critical patent/JP6866551B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Algebra (AREA)
  • Computational Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

本発明は数式処理方法、装置、デバイス及びプログラムを提供する。方法は、演算タイプ属性と演算数属性を含む図形対象と、式内容に対応する演算順序を表す上記図形対象の間の階層関係を含んで、上記式内容に対応する主体対象を取得し、上記図形対象の間の階層関係、上記図形対象の演算タイプ属性及び上記図形対象の演算数属性によって、上記図形対象に対応する数学表現式を取得し、上記図形対象の間の階層関係によって、上記図形対象に対応する数学表現式をウェブページに製図することによって上記式内容に対応する数式を取得することをふくむ。本願は、数式がウェブページのCSSスタイルの影響を受ける問題を克服し、数式の表示安定性を高める。The present invention provides a mathematical expression processing method, apparatus, device, and program. The method includes a hierarchical relationship between a graphic object including an operation type attribute and an operation number attribute, and the graphic object representing an operation order corresponding to an expression content, and obtains a subject object corresponding to the expression content, A mathematical expression corresponding to the graphic object is acquired by the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object, and the operation number attribute of the graphic object, and the graphic object is acquired by the hierarchical relationship between the graphic objects. It includes obtaining a mathematical expression corresponding to the content of the expression by drawing a mathematical expression corresponding to the object on a web page. The present application overcomes the problem that mathematical formulas are affected by the CSS style of the web page and improves the display stability of the mathematical formulas.

Description

本出願は出願日が2014年12月17日で、出願番号が201410790497.1で、発明名称が"数式処理方法及び装置"である中国特許出願の優先権を主張する。   This application claims the priority of a Chinese patent application with a filing date of December 17, 2014, an application number of 201410790497.1, and an invention name of “Formula processing method and apparatus”.

本発明は、インターネット技術分野に関し、特に、数式処理方法、装置、デバイス及びプログラムに関する。   The present invention relates to the Internet technical field, and more particularly to a mathematical expression processing method, apparatus, device, and program.

インターネット技術の発展に連れて、ブラウザーに数式を表示する需要が切実になってくる。現在、業界では、主に以下のような方式によりブラウザーで数式を編集し表現する。   With the development of Internet technology, the demand for displaying mathematical formulas in browsers becomes urgent. Currently, in the industry, mathematical formulas are edited and expressed in browsers mainly in the following manner.

ユーザーは、規定の「式表示法」により式内容を入力し、ブラウザーは、ハイパーテキストマークアップ言語(Hyper Text Mark-up Language)とカスケーディング・スタイル・シート(Cascading Style Sheets、CSS)を利用して、ユーザーが入力した内容を数式にレンダリングしてユーザーに提供してプレビューし、ユーザーが提出した後、サーバーは、ユーザーの入力した内容をそのまま保存する。ユーザーがこの数式を読み取りしようとする時、サーバーは先に保存した内容をブラウザーに回送し、ブラウザーはHTMLとCSSを利用してサーバーが回送した内容を数式にレンダリングする。   The user inputs the content of the formula using the prescribed “formula display method”, and the browser uses Hyper Text Mark-up Language and Cascading Style Sheets (CSS). Then, after the contents inputted by the user are rendered into a mathematical expression, provided to the user for previewing, and submitted by the user, the server stores the contents inputted by the user as they are. When the user tries to read this formula, the server forwards the previously saved content to the browser, and the browser renders the content forwarded by the server to the formula using HTML and CSS.

上記のHTMLに基づいて数式を表現する方案は、数式を表現する時、メインウェブページにおけるCSSスタイルの影響をとても容易に受けるし、表示効果が安定しない。   The method of expressing mathematical expressions based on the above HTML is very easily affected by the CSS style in the main web page when expressing mathematical expressions, and the display effect is not stable.

本発明の複数の方面は、数式がウェブページCSSスタイルの影響を受ける問題を克服し、数式の表示安定性を高める数式処理方法、装置、デバイス及びプログラムを提供する。   A plurality of aspects of the present invention provide a mathematical formula processing method, apparatus, device, and program that overcomes the problem of mathematical formulas being affected by web page CSS styles and increases the stability of mathematical formula display.

本発明の一方面は、演算タイプ属性と演算数属性を含む図形対象と、式内容に対応する演算順序を表す上記図形対象の間の階層関係を含み、上記式内容に対応する主体対象を取得し、上記図形対象の間の階層関係、上記図形対象の演算タイプ属性及び上記図形対象の演算数属性により、上記図形対象に対応する数学表現式を取得し、上記図形対象の間の階層関係により、上記図形対象に対応する数学表現式をウェブページに描いて、上記式内容に対応する数式を取得する数式処理方法を提供する。   One aspect of the present invention includes a hierarchical relationship between a graphic object including an operation type attribute and an operation number attribute and the graphic object representing an operation order corresponding to the expression content, and obtains a subject object corresponding to the expression content Then, a mathematical expression corresponding to the graphic object is obtained from the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object, and the operation number attribute of the graphic object, and according to the hierarchical relationship between the graphic objects. A mathematical expression processing method for drawing a mathematical expression corresponding to the graphic object on a web page and obtaining a mathematical expression corresponding to the content of the expression is provided.

本発明の他の一方面は、演算タイプ属性と演算数属性を含む図形対象と、式内容に対応する演算順序を表す上記図形対象の間の階層関係を含み、上記式内容に対応する主体対象を取得する取得モジュールと、上記図形対象の間の階層関係、上記図形対象の演算タイプ属性及び上記図形対象の演算数属性により、上記図形対象に対応する数学表現式を取得する処理モジュールと、上記図形対象の間の階層関係により、上記図形対象に対応する数学表現式をウェブページに描いて、上記式内容に対応する数式を取得する製図モジュールと、を含む数式処理装置を提供する。   Another aspect of the present invention includes a hierarchical relationship between a graphic object including an operation type attribute and an operation number attribute, and the graphic object representing an operation order corresponding to an expression content, and a subject object corresponding to the expression content A processing module for acquiring a mathematical expression corresponding to the graphic object according to a hierarchical relationship between the graphic objects, an operation type attribute of the graphic object, and an operation number attribute of the graphic object; There is provided a mathematical expression processing apparatus including a drawing module that draws a mathematical expression corresponding to the graphic object on a web page according to a hierarchical relationship between the graphic objects, and obtains a mathematical expression corresponding to the content of the expression.

本発明では、主体対象により式内容を表し、具体的に、主体対象に含まれる図形対象の間の階層関係によって、式内容に対応する演算順序を表し、図形対象は演算タイプ属性と演算数属性を含み、図形対象の間の階層関係、図形対象の演算タイプ属性及び図形対象の演算数属性によって、図形対象に対応する数学表現式を取得し、更に、図形対象の間の階層関係により、図形対象に対応する数学表現式をウェブページに描いて、式内容に対応する数式を取得する。本発明は、主体対象に基づいて製図技術によってウェブページに数式を生成することを実現し、先行技術で使用されるHTMLタグと異なって、本発明が生成した数式はウェブページと完全に独立して、一つの独立の全体になるので、ウェブページにおけるCSSスタイルの干渉または影響を容易に受けなく、表示効果が比較的に安定である。   In the present invention, the subject content represents the expression content, and specifically, the hierarchical order between the graphic objects included in the subject object represents the operation order corresponding to the expression content, and the graphic object has the operation type attribute and the operation number attribute. Mathematical expressions corresponding to the graphic object are obtained by the hierarchical relationship between the graphic objects, the calculation type attribute of the graphic object, and the operation number attribute of the graphic object. A mathematical expression corresponding to the object is drawn on the web page, and a mathematical expression corresponding to the content of the expression is acquired. The present invention realizes that a mathematical formula is generated on a web page by a drawing technique based on the subject, and unlike the HTML tag used in the prior art, the mathematical formula generated by the present invention is completely independent of the web page. As a result, the display effect is relatively stable without being easily affected by CSS style interference or influence on the web page.

本発明の一実施例で提供する数式処理方法のフローチャートである。It is a flowchart of the numerical formula processing method provided in one Example of this invention. 本発明の一実施例で提供する式内容をどのように基準表現式に正確に分解するかを説明するための概略図である。It is the schematic for demonstrating how the content of the formula provided in one Example of this invention is correctly decomposed | disassembled into a reference expression. 本発明の一実施例で提供する編集インターフェースの概略図である。FIG. 3 is a schematic diagram of an editing interface provided in an embodiment of the present invention. 本発明の一実施例で提供する式文法ツリーを生成する過程の概略図である。FIG. 4 is a schematic diagram of a process of generating an expression grammar tree provided in an embodiment of the present invention. 本発明の一実施例で提供する式文法ツリーを生成する過程の概略図である。FIG. 4 is a schematic diagram of a process of generating an expression grammar tree provided in an embodiment of the present invention. 本発明の一実施例で提供する式文法ツリーを生成する過程の概略図である。FIG. 4 is a schematic diagram of a process of generating an expression grammar tree provided in an embodiment of the present invention. 本発明の一実施例で提供する式文法ツリーを生成する過程の概略図である。FIG. 4 is a schematic diagram of a process of generating an expression grammar tree provided in an embodiment of the present invention. 本発明の一実施例で提供する式文法ツリーを生成する過程の概略図である。FIG. 4 is a schematic diagram of a process of generating an expression grammar tree provided in an embodiment of the present invention. 本発明の一実施例で提供する式文法ツリーを生成する過程の概略図である。FIG. 4 is a schematic diagram of a process of generating an expression grammar tree provided in an embodiment of the present invention. 本発明の一実施例で提供するユーザーが領域選択操作によって式内容を変更する過程の概略図である。FIG. 6 is a schematic diagram illustrating a process in which a user provided in an embodiment of the present invention changes a formula content by an area selection operation. 本発明の一実施例で提供するユーザーが領域選択操作によって式内容を変更する過程の概略図である。FIG. 6 is a schematic diagram illustrating a process in which a user provided in an embodiment of the present invention changes a formula content by an area selection operation. 本発明の一実施例で提供するユーザーが領域選択操作によって式内容を変更する過程の概略図である。FIG. 6 is a schematic diagram illustrating a process in which a user provided in an embodiment of the present invention changes a formula content by an area selection operation. は、本発明の一実施例で提供する数式処理装置の構造概略図である。These are the structure schematics of the numerical formula processor provided in one Example of this invention.

本発明の目的、技術案及び利点をより明確にするために、以下では図面及び具体的な実施例を利用して本発明を詳細に記述する。   In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be described in detail below using drawings and specific examples.

図1は、本発明の一実施例で提供する数式処理方法のフローチャートである。図1に図示したように、この方法は以下のステップを含む。   FIG. 1 is a flowchart of a mathematical expression processing method provided in an embodiment of the present invention. As illustrated in FIG. 1, the method includes the following steps.

101で、式内容に対応する主体対象を取得する。該当主体対象は、演算タイプ属性と演算数属性を含む図形対象と、式内容に対応する演算順序を表す図形対象の間の階層関係とを含む。   In 101, a subject subject corresponding to the content of the expression is acquired. The subject subject includes a graphic object including an operation type attribute and an operation number attribute, and a hierarchical relationship between graphic objects representing an operation order corresponding to the expression contents.

102で、上記図形対象の間の階層関係、図形対象の演算タイプ属性及び図形対象の演算数属性によって、図形対象に対応する数学表現式を取得する。   At 102, a mathematical expression corresponding to the graphic object is acquired based on the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object, and the operation number attribute of the graphic object.

103で、図形対象の間の階層関係によって、図形対象に対応する数学表現式をウェブページに描いて、式内容に対応する数式を取得する。   In 103, a mathematical expression corresponding to the graphic object is drawn on the web page according to the hierarchical relationship between the graphic objects to obtain a mathematical expression corresponding to the content of the expression.

本実施例は、数式処理装置により実行される数式処理方法を提供する。数式処理装置は、数式処理エンジンまたはツールライブラリーであって、例えばブラウザー環境に適用して、webによる数式処理を実現してもよく、または、データ式処理装置は、独立な式エディターとして実現してもよい。   The present embodiment provides a mathematical expression processing method executed by a mathematical expression processing apparatus. The mathematical expression processing device is a mathematical expression processing engine or tool library, and may be applied to a browser environment, for example, to realize mathematical processing by the web, or the data expression processing device is realized as an independent expression editor. May be.

具体的に、ウェブページに数式を表示する必要がある時、式内容に対応する主体対象を取得する。式内容は、数式を生成するために必要な内容であり、一般的には、数式における演算数、演算子及び演算順序などの情報を含む。一般的に、式内容はユーザーによって入力できるが、これに限定されない。   Specifically, when it is necessary to display a mathematical expression on a web page, a subject subject corresponding to the content of the mathematical expression is acquired. The expression content is necessary for generating a mathematical expression, and generally includes information such as the number of operations, the operator, and the operation order in the mathematical expression. In general, the content of an expression can be input by a user, but is not limited thereto.

ここで、本実施例は、式内容の表示方式を限定しない。例えば、ユーザーは、ブラウザーが支持する「式表示法」によって式内容を入力できる。   Here, the present embodiment does not limit the display method of the formula contents. For example, the user can input the content of the formula by the “formula display method” supported by the browser.

本実施例において、式内容に対応する主体対象は実際上階層構造を有する対象(object)であり、具体的に、図形対象と図形対象の間の階層関係を含み、図形対象は演算タイプ属性と演算数属性を含み、図形対象の間には階層関係を持っており、図形対象の間の階層関係は当該主体対象の階層関係を表し、図形対象の間の階層関係は式内容に対応する演算順序、即ち式内容における各演算数の間の演算順序を示す。   In this embodiment, the subject corresponding to the content of the expression is an object that actually has a hierarchical structure, and specifically includes a hierarchical relationship between the graphic object and the graphic object. Including the number of operations attribute, there is a hierarchical relationship between the graphic objects, the hierarchical relationship between the graphic objects represents the hierarchical relationship of the subject object, and the hierarchical relationship between the graphic objects is an operation corresponding to the content of the expression The order, that is, the order of operations between the numbers of operations in the content of the expression is shown.

図形対象の演算タイプ属性は、「name」属性で表記してもよく、主に数式における演算タイプを表し、例えば「+」、「-」、「×」等がある。図形対象の演算数属性は「operand」属性で表記してもよく、この属性は一つの数字グループで表してもよく、例えば、この数字グループは図形対象がある階層に含まれている「演算数」リストに順序に記録されてもよく、各演算数は一つの「簡単な対象」であってもよく、「複合対象」であってもよい。演算数が一つの「複合対象」であると、当該演算数は続いて分解して、当該図形対象の下のサブ図形対象を形成することができる。   The operation type attribute of the graphic object may be expressed by a “name” attribute, and mainly represents an operation type in a mathematical expression, and includes “+”, “−”, “×”, and the like. The operation number attribute of a graphic target may be expressed as an “operand” attribute, and this attribute may be represented by a single number group. For example, this number group is a “number of operations” included in a hierarchy with a graphic target. The number of operations may be one “simple object” or “composite object”. If the number of operations is one “compound object”, the number of operations can be subsequently decomposed to form a sub-graphic object under the graphic object.

全体的には、全体式内容はより簡単な語意を有する異なる基準表現式に分解されて、1つの階層構造を持つ主体対象に転換されて保存される。
好ましくは、階層構造を持つ主体対象は式文法ツリーであってもよく、この式文法ツリーは実際上数式を表記するための文法ツリーである。
Overall, the contents of the whole formula are decomposed into different reference expressions having simpler meanings, converted into main subjects having one hierarchical structure, and stored.
Preferably, the subject having a hierarchical structure may be an expression grammar tree, which is actually a grammar tree for expressing mathematical expressions.

主体対象を取得する一実施方式では、式内容に対応する主体対象は予めに生成されて特定の保存エリアに保存されてもよく、ウェブページに数式を表示する必要がある時、数式処理装置は特定の保存エリアから直接に主体対象を取得してもよい。   In one implementation method of acquiring the subject, the subject corresponding to the content of the formula may be generated in advance and stored in a specific storage area, and when the formula needs to be displayed on the web page, the formula processing device The subject may be acquired directly from a specific storage area.

主体対象を取得する他の実施方式では、式内容は予めに取得されて特定の保存エリアに保存されてもよく、ウェブページに数式を表示する必要がある時、数式処理装置は特定の保存エリアから式内容を取得し、式内容を処理することによって主体対象を生成してもよい。例えば、数式処理装置は式内容を取得し、予設の分解規則により式内容をさらに分解できない基準表現式に分解し、基準表現式の間の階層関係、基準表現式のタイプ及び基準表現式に含まれる演算数に基づいて、主体対象を生成してもよい。ここで、各基準表現式は主体対象における一つの図形対象としてマッピングされ、基準表現式のタイプと含まれている演算数はそれぞれ図形対象の演算タイプ属性及び演算数属性としてマッピングされ、基準表現式の間の階層関係は図形対象の間の階層関係としてマッピングされる。   In another implementation method of acquiring the subject, the formula contents may be acquired in advance and stored in a specific storage area, and when the mathematical formula needs to be displayed on the web page, the formula processing device may store the specific storage area. The subject of the subject may be generated by acquiring the content of the formula from and processing the content of the formula. For example, the mathematical expression processor obtains the expression contents, decomposes the expression contents into reference expressions that cannot be further decomposed by a predetermined decomposition rule, and converts them into hierarchical relationships between the reference expressions, the types of the reference expressions, and the reference expressions. A subject may be generated based on the number of operations included. Here, each reference expression is mapped as one figure object in the subject object, and the type of reference expression and the number of operations included are mapped as the operation type attribute and operation number attribute of the figure object, respectively. Are mapped as hierarchical relationships between graphic objects.

上記実施方式では、数式で現れたすべての内容を演算数(数字と演算子を含む)と見なし、演算数に対して前処理を行って、分解が不可能な基準表現式、例えば、テキスト表現式、ルート表現式、積分表現式などを取得して、数式を示す時にこのような基準表現式を再利用する目的を達成し、これによって、これらの基準表現式の組合せ及び相対位置に対する調整によって、いろいろな数式を取得することができる。   In the above implementation method, all the contents appearing in the mathematical expression are regarded as the operation number (including numbers and operators), pre-processing is performed on the operation number, and a reference expression that cannot be decomposed, for example, a text expression Acquire formulas, root expressions, integral expressions, etc. to achieve the purpose of reusing such reference expressions when presenting mathematical expressions, thereby adjusting the combination of these reference expressions and the relative position , You can get various formulas.

ここで、上記基準表現式は、それの数式での表示効果に基づいて、内部に含まれている要素に対して相対的な位置決めを行う。例えば、テキスト表現式はその内部の符号を線形配列し、ルート表現式はその内容に基づいて適当な大きさの根号を生成し、その内容を配列し、積分表現式はそれに含まれた上下限を調整して、上下限が相対的に正確な位置にあるようにする。   Here, the above-mentioned reference expression formula performs relative positioning with respect to the elements contained therein based on the display effect in the formula. For example, a text expression linearly arranges its internal codes, a root expression generates a root sign of an appropriate size based on its contents, arranges its contents, and an integral expression is included in it. Adjust the lower limit so that the upper and lower limits are in relatively accurate positions.

図2は式内容をどのようにして正確に基準表現式に分解するかを説明する。図2に示したように、下向き矢印は式内容
を分解して、基準表現式を取得する過程を示し、上向き矢印は分解された基準表現式を組み合わせることによって数式を取得する過程で、この2つの過程は互いに反対である。
FIG. 2 illustrates how the content of an expression is accurately decomposed into a reference expression. As shown in Figure 2, the down arrow is the content of the formula
Is a process of acquiring a reference expression, and an upward arrow is a process of acquiring a mathematical expression by combining the decomposed reference expressions, and these two processes are opposite to each other.

上記分解と組合過程に対する理解を助けるために、以下では、
の式の1つのサブ部分(x+a)2を説明する。
To help understand the breakdown and union process,
One sub-portion (x + a) 2 of the formula will be described.

先に、図2での丸付き文字の3が示す式(x+a)2は数学で平方式であり、本実施例では、「上付き表現式」(SuperscriptExpression)で表すことができる。 First, the expression (x + a) 2 indicated by the circled character 3 in FIG. 2 is mathematically a flat method, and can be expressed by a “superscript expression” (SuperscriptExpression) in this embodiment.

そして、本実施例での上付き表現式の要求により式(x+a)2を分解して、最後に表記番号が丸付き文字の1であるサブ表現式と表記番号が丸付き文字の2であるサブ表現式を得る。この時、分解して得たサブ表現式が1つのテキスト表現式(TextExpression)でなければ、最後にすべての表現式がテキスト表現式に分解されるまでに、再度サブ表現式の要求により表記番号が丸付き文字の1または表記番号が丸付き文字の2であるサブ表現式を分解する。この実施例では、表記番号が丸付き文字の3である表現式を1次分解すると2つのテキスト表現式、すなわち表記番号が丸付き文字の1と2である2個のサブ表現式を得ることができ、ここで分解過程は終了する。ここで、図2の表記番号が丸付き文字の3である表現式は主体対象に対応し、表記番号が丸付き文字の1と2である二つのサブ表現式はそれぞれ主体対象での一つの図形対象に対応する。 Then, the expression (x + a) 2 is decomposed according to the superscript expression request in this embodiment, and finally, the sub-expression whose notation number is 1 of the circled character and the notation number 2 of the circled character. Get a subexpression that is At this time, if the sub-expression obtained by decomposition is not one text expression (TextExpression), the expression number is again requested by the sub-expression until all expressions are finally decomposed into text expressions. Decomposes sub-expressions where 1 is a circled character or 2 is a circled character. In this example, when an expression whose notation number is 3 of the circled character is first decomposed, two text expressions, that is, 2 sub-expressions whose notation numbers are 1 and 2 of the circled character are obtained. Where the disassembly process ends. Here, the expression with the notation number 3 in FIG. 2 corresponds to the subject, and the two sub-expressions with the notation numbers 1 and 2 have one subject in the subject. Corresponds to a graphic object.

最後に、最終的に得たテキスト表現式の集合に基づいて「還元」過程を実行する。「還元」の過程は、実際上「分解」を逆順序に回帰する過程であり、全体過程は最末端のテキスト表現式から上に向かって合併し、合併する度に一つの新たな「複合表現式」、例えば、ルート表現式、上付き表現式などを得ることになる。全体過程が、最終的に唯一の1つの表現式が残るまでに持続的に回帰すると、当該表現式が最終的に希望する数式である。   Finally, a “reduction” process is performed based on the finally obtained set of text expressions. The process of “reduction” is actually a process of reversing “decomposition” in the reverse order, and the whole process merges upward from the text expression at the end, and each time it merges, one new “composite expression” An expression ", for example, a root expression, a superscript expression, or the like is obtained. If the whole process is continuously regressed until only one expression is finally left, that expression is the expression that is ultimately desired.

主体対象を取得する更に他の実施方式では、式内容は事前に取得されず、ウェブページに数式を表示する必要がある時にユーザーによって入力される。これによって、ウェブページ上に数式を表示する必要がある時、数式処理装置はウェブページでユーザーに編集インターフェースを提供し、ユーザーが編集インターフェースを通じて入力した式内容における演算子または演算数を順に取得して、式内容に対応する主体対象を生成する。   In yet another implementation of acquiring the subject, the formula content is not acquired in advance and is entered by the user when the formula needs to be displayed on the web page. As a result, when it is necessary to display a mathematical expression on a web page, the mathematical expression processor provides an editing interface to the user on the web page, and sequentially obtains an operator or the number of operations in the content of the expression entered by the user through the editing interface. Thus, a subject subject corresponding to the expression content is generated.

例えば、上記編集インターフェースは可視編集領域と隠れ編集領域を含んでいてもよい。ここで、可視編集領域は主にユーザーが入力命令を発送しユーザーが希望する方式によりユーザーに式内容を表示するためのものであり、隠れ編集領域は入力捕捉イベントを活性化しユーザーが式内容を入力するためのものである。好ましくは、隠れ編集領域は隠れている。更に、この編集領域は、さらに入力ツール領域を含んでいてもよい。この編集インターフェースの一実施方式は、図3に示すように、図3で表記番号が丸付き文字の1である領域は隠れ編集領域であり、この領域は実際の環境で隠れており、ここではユーザーが入力した演算数を取得する後続の過程を直観的に記述するために明く表現している。図3で表記番号が丸付き文字の2である領域は可視編集領域で、ユーザーはこの領域でマウスによって入力する式を選択できる。図3で表記番号が丸付き文字の3である領域は入力ツール領域であり、この領域には、ユーザーが直接に選定し入力するように幾つか符号と式が予設されており、ユーザーが特殊な文字と常用の式を入力する複雑度を低くする。図3で表記番号が丸付き文字の4である領域は模擬カーソルで、ユーザーの現在入力するカーソルがある位置を提示する。   For example, the editing interface may include a visible editing area and a hidden editing area. Here, the visible editing area is mainly for the user to send the input command and display the contents of the expression to the user according to the method desired by the user, and the hidden editing area activates the input capture event and the user can display the expression contents. It is for input. Preferably, the hidden editing area is hidden. Further, the editing area may further include an input tool area. As shown in FIG. 3, the editing interface is implemented by a hidden editing area in FIG. 3 whose notation number is 1 with a circled character, and this area is hidden in the actual environment. It is clearly expressed to intuitively describe the subsequent process of obtaining the number of operations input by the user. In FIG. 3, the region where the notation number is 2 of the circled character is a visible editing region, and the user can select an expression to be input with the mouse in this region. In Fig. 3, the area where the notation number is 3 of the circled letter is the input tool area. In this area, some symbols and formulas are pre-set so that the user can select and input directly. Reduce the complexity of entering special characters and regular expressions. In FIG. 3, the region where the notation number is 4 of the circled character is a simulated cursor, and presents the position where the cursor is currently input by the user.

上記編集インターフェースに基づいて、数式処理装置は順にユーザーが編集インターフェースを通じて入力した式内容における演算子または演算数を取得して、式内容に対応する主体対象を生成する実施過程は、以下の過程を含む。   Based on the above editing interface, the mathematical expression processing apparatus sequentially obtains the operator or the number of operations in the expression contents inputted by the user through the editing interface, and generates the subject object corresponding to the expression contents. Including.

ユーザーが可視編集領域で発送した編集命令によって、可視編集領域で現在の入力位置を指示する模擬カーソルを表示し、模擬カーソルはユーザーの入力に従って移動し、模擬カーソルに関連したシステムカーソルを隠れ編集領域に位置決めて、入力捕捉イベントを活性化する。例えば、ユーザーは表記番号が丸付き文字の2である可視編集領域をクリックして、編集命令を発送することができる。   A simulated cursor that indicates the current input position is displayed in the visible editing area according to the editing command sent by the user in the visible editing area. The simulated cursor moves according to the user's input and hides the system cursor related to the simulated cursor. To activate the input capture event. For example, the user can click on the visible edit area whose notation number is 2 with a circled character to send an edit command.

ユーザーはキーボードによって直接入力を行ってもよく、入力ツール領域の丸付き文字の3の予設の文字または式を一クリックすることによって入力を行ってもよい。ユーザーが以上の何れかの操作を実行すると、表記番号が丸付き文字の1である隠れ編集領域の入力捕捉イベントを触発する。したがって、ユーザーが表記番号が丸付き文字の1である隠れ編集領域に入力した式内容における演算子または演算数を順に捕捉し、システムカーソルの現在位置と捕捉された演算子または演算数に基づいて、初期ヌル対象に図形対象及び/または図形対象における演算数を追加して、主体対象を取得する。   The user may input directly with the keyboard, or may input by clicking one of the three pre-set characters or expressions of the circled characters in the input tool area. When the user performs any of the above operations, an input capture event of a hidden edit area whose notation number is 1 of a circled character is triggered. Therefore, the operator or the number of operations in the expression contents entered by the user in the hidden edit area whose notation number is 1 of the circled character is sequentially captured, and based on the current position of the system cursor and the captured operator or operation number Then, the figure object and / or the number of operations on the figure object are added to the initial null object to obtain the subject object.

上記式内容に対応する主体対象は、ユーザーが式内容を入力する過程で生成する。   The subject corresponding to the formula content is generated in the process of the user inputting the formula content.

以下では、ユーザーが式内容a+b÷c-b/aを入力し、主体対象が式文法ツリーであることを例として、式文法ツリーを生成する過程を説明する。   In the following, the process of generating an expression grammar tree will be described, taking as an example the case where the user inputs the expression contents a + b ÷ c-b / a and the subject is the expression grammar tree.

ユーザーが初めて入力する場合、この時内容はヌルであり、ユーザーはキーボードによって第1の文字「a」を入力し、この時得た式文法ツリーは図4に示すようなものである。   When the user inputs for the first time, the content is null at this time, the user inputs the first character “a” with the keyboard, and the expression grammar tree obtained at this time is as shown in FIG.

ユーザーは、続いてキーボードによって文字「+」を入力し、この時得た式文法ツリーは図5に示すようなものである。   The user then inputs the character “+” using the keyboard, and the expression grammar tree obtained at this time is as shown in FIG.

ユーザーは、続いてキーボードによって文字「b」を入力し、この時得た式文法ツリーは図6に示すようなものである。   The user then inputs the character “b” using the keyboard, and the expression grammar tree obtained at this time is as shown in FIG.

その後、ユーザーは「÷」を入力する必要があり、キーボードに「÷」符号を直接に入力するキーが提供されていないので、ユーザーは編集インターフェースに含まれたツール入力領域の予設の符号によって「÷」を入力でき、ユーザーが対応する符号をクリックすると、「÷」符号は隠れ編集領域に入力され、この時得た式文法ツリーは図7に示すようなものである。図7で新しく増加した「\\div\\」は「÷」符号が本実施例の式文法ツリー内部での表示方式である。   After that, the user needs to input “÷”, and since the key for directly inputting “÷” sign is not provided on the keyboard, the user can use the pre-set sign of the tool input area included in the editing interface. When “÷” can be entered and the user clicks the corresponding code, the “÷” code is entered in the hidden editing area, and the expression grammar tree obtained at this time is as shown in FIG. In FIG. 7, “\\ div \\” newly added is a display method in the expression grammar tree of the present embodiment where the “÷” sign is used.

ユーザーは続いてキーボードによって文字「c」と「-」を入力し、この時得た式文法ツリーは図8に示すようなものである。   The user then inputs the characters “c” and “-” using the keyboard, and the expression grammar tree obtained at this time is as shown in FIG.

ユーザーは続いて入力し、この時、分数式b/aを入力すべきであるが、分数式はキーボードによって直接に入力できないので、ユーザーは編集インターフェースにおけるツール入力領域で提供した予設の式を使って入力する必要があり、ユーザーが対応するボタンをクリックしてデータを入力すると、最終に形成した式文法ツリーは図9に示すようなものである。ここまで、全体の式文法ツリーを取得する。   The user should continue to enter, and at this time the fractional expression b / a should be entered, but since the fractional expression cannot be entered directly via the keyboard, the user can use the preset expression provided in the tool input area in the editing interface. If the user clicks the corresponding button and enters data, the final expression grammar tree is as shown in Figure 9. So far, get the entire expression grammar tree.

ここで、上記編集インターフェースを通じて式内容を入力する過程は、式内容を編集する過程と見なしてもよい。実際の適用では、ユーザーが式内容を編集する時、式内容のある一部に対して領域選択操作を行って、式内容における一部内容を編集する目的を達成する。   Here, the process of inputting formula contents through the editing interface may be regarded as a process of editing formula contents. In actual application, when the user edits the content of the formula, the region selection operation is performed on a part of the formula content to achieve the purpose of editing the partial content in the formula content.

具体的に、数式処理装置はユーザーの領域選択操作を識別できるが、領域選択操作はユーザーが式内容における一部演算数を選定する操作を意味し、ユーザーが選定した式内容における一部演算数に基づいて、主体対象に表記し、ユーザーが選択操作で選定した領域内に再び入力した演算数を取得し、再び入力した演算数で主体対象に表記された演算数を取り替える。   Specifically, the mathematical expression processing device can identify the user's region selection operation, but the region selection operation means an operation in which the user selects the number of partial operations in the formula content, and the number of partial operations in the formula content selected by the user. Based on the above, the number of operations written in the subject, the number of operations input again in the area selected by the user by the selection operation is acquired, and the number of operations written in the subject is replaced with the number of operations input again.

以下では、一つの簡単な式a+b÷cを例として、ユーザーが領域選択操作によって、式a+b÷cを新な式a+b-cに変更する過程を説明する。   In the following, a process of changing the expression a + b ÷ c to the new expression a + b−c by the region selection operation will be described by taking one simple expression a + b ÷ c as an example.

図10に示すように、ユーザーは表記番号が丸付き文字の1である位置でマウスの左キーを押しまた継続に押すと、この時数式処理装置はこのイベントを捕捉し、イベントの付加情報からこの時刻のマウスポインタの位置情報を取得し、この情報を記録する。   As shown in FIG. 10, when the user presses the left key of the mouse at a position where the notation number is 1 of the circled character and continues to press it, the mathematical expression processor captures this event, and from the additional information of the event, The position information of the mouse pointer at this time is acquired and this information is recorded.

ユーザーはマウスの左キーを押している状態でマウスを移動し、その移動の軌跡が図10で表記番号が丸付き文字の2であるグレーフレームが示す部分であると、この時、数式処理装置はこの「マウス移動」イベントを捕捉し、イベントの付加情報からこの時刻のマウスポインタの位置を取得し、この時刻のマウスポインタの位置と先に記録されたマウスポインタの位置情報によって、選択領域を算出する。選択領域を算出した後、「式文法ツリー」において対応する位置に選択領域「マークポジション」を挿入して、この選択領域情報を表記する。   When the user moves the mouse while holding down the left key of the mouse, and the locus of the movement is the part indicated by the gray frame whose notation number is 2 in FIG. The mouse movement event is captured, the position of the mouse pointer at this time is obtained from the additional information of the event, and the selection area is calculated based on the position of the mouse pointer at this time and the position information of the mouse pointer previously recorded To do. After calculating the selection area, the selection area “mark position” is inserted at the corresponding position in the “expression grammar tree”, and this selection area information is described.

ユーザーがマウスを続いて移動すると、「マウス移動」イベントを持続的に触発することになり、前の段階の過程を重複に実行して選択領域を更新する。   As the user continues to move the mouse, a “mouse move” event will be triggered persistently, and the process of the previous step is performed in duplicate to update the selection area.

ユーザーが図10で表記番号が丸付き文字の3である位置で左キーを放すと、この時数式処理装置は「マウスのボタンが跳ね上がる」とのイベント通知を受信することになり、選択領域を更新し、位置情報を取得することが止まり、選択領域は変わらなく、ユーザーが上記各段階の過程を重複する時こそ選択領域に対する更新を再びスタートする。この時、式内部の文法ツリーは図11に示すようであり、二つの実線は選択領域の始点と終点を示す。ここで、実線はただ表記方式の一表示例で、これに制限されない。   If the user releases the left key at the position where the number is 3 in FIG. 10, the mathematical expression processing device will receive an event notification “the mouse button will pop up” at this time, The update and the acquisition of the position information are stopped, the selected area is not changed, and the update to the selected area is started again when the user overlaps the processes of the above steps. At this time, the grammar tree inside the expression is as shown in FIG. 11, and the two solid lines indicate the start and end points of the selected area. Here, the solid line is just a display example of the notation system and is not limited to this.

この時、ユーザーはキーボードによって文字「-」をタイピングすると、式文法ツリーはまず図11における2つの実線の間の内容を除去してから、新な内容を挿入し、更新した後の文法ツリーは図12に示すようである。   At this time, when the user types the character “-” with the keyboard, the expression grammar tree first removes the content between the two solid lines in FIG. 11, then inserts the new content, and the updated grammar tree becomes As shown in FIG.

図12で、二つの実線の間の位置は図11における元の選択領域がある位置であり、ユーザーが新たなデータを入力すると、元々の選択領域は「閉鎖」され、元々の選択領域内に含まれた内容は削除されるとともに、新たな閉鎖された選択領域の前には新たな内容、即ち「-」が挿入されている。   In FIG. 12, the position between the two solid lines is the position where the original selection area in FIG. 11 exists, and when the user enters new data, the original selection area is “closed” and within the original selection area. The contained content is deleted, and new content, that is, “-” is inserted in front of the new closed selection area.

ここで、ユーザーは式を編集する以外に、さらにカーソル位置を更新する操作もできる。カーソル位置の更新は、実際上選択領域の更新の一つの特殊例で、その本質は選択領域の長さが0である領域選択操作であり、その説明は上記ユーザーが選択領域を変更する操作の説明を参考しても良いので、ここで重複して説明しない。   Here, in addition to editing the expression, the user can also update the cursor position. The update of the cursor position is actually one special example of the update of the selected area, and its essence is an area selection operation in which the length of the selected area is 0, and the explanation thereof is an operation of changing the selected area by the user. Since the explanation may be referred to, it will not be duplicated here.

ここで、図4-図9及び図11-図12で各グループの「name」と「operand」は組み合わせて一つの図形対象を構成し、すべての図形対象及び図形対象の間の階層関係は主体対象を構成する。図9を例として、図9の全体が表す内容は一つの主体対象を構成し、図9に示す主体対象は、二つの図形対象を含み、一つの図形対象の演算タイプ属性は「combination」であり、演算数属性は[「a」,「+」,「b」,「\\div\\」,「c」,「-」]であり、他の図形対象の演算タイプ属性は「fraction」であり、演算数属性は[「b」,「a」]である。   Here, in FIG. 4 to FIG. 9 and FIG. 11 to FIG. 12, “name” and “operand” of each group constitute a single graphic object, and the hierarchical relationship between all graphic objects and graphic objects is the main Configure the target. Using FIG. 9 as an example, the content shown in FIG. 9 as a whole constitutes one subject, and the subject shown in FIG. 9 includes two figure objects, and the operation type attribute of one figure object is “combination”. Yes, the operation number attribute is [“a”, “+”, “b”, “\\ div \\”, “c”, “-”], and the operation type attribute of other graphic objects is “fraction” The operation number attribute is [“b”, “a”].

上記のように、実施方式はとても直観的な方式でユーザーに提供して使用させ、式の編集と読取り体験を大幅に高め、ユーザーが使用する要件を低める。また、本実施方式では、サーバーと通信する必要がなく、ユーザーはネットワークが比較的に悪い環境でも式を速やかに編集して編集効果を見ることができる。また、この実施方式はユーザーに対して追加的な要求がなく、ユーザーは従来技術のように専門的な式の表示法-Texを必ず了解する必要がなく、直感的な編集方式を採用するので、ユーザーは入力した直後にレンダリング効果を見ることができ、サーバーにレンダリング請求を発送する必要がなく、ユーザーの編集過程の流れを大幅に高め、ユーザーが編集に参与する要件を低める。   As mentioned above, the implementation method is provided and used by the user in a very intuitive manner, greatly enhancing the expression editing and reading experience and lowering the requirements used by the user. Further, in this embodiment, it is not necessary to communicate with the server, and the user can quickly edit the expression and see the editing effect even in an environment where the network is relatively bad. In addition, this implementation method has no additional demands on the user, and the user does not necessarily have to understand the technical expression display method -Tex as in the prior art, and adopts an intuitive editing method. , The user can see the rendering effect immediately after typing, without having to send a rendering request to the server, greatly increasing the flow of the user's editing process and reducing the requirement for the user to participate in editing.

上記各実施方式によると、式内容に対応する主体対象を取得した後、この主体対象に含まれている図形対象の間の階層関係、図形対象の演算タイプ属性及び図形対象の演算数属性によって、図形対象に対応する数学表現式を取得する。   According to each of the above implementation methods, after acquiring the subject corresponding to the content of the formula, according to the hierarchical relationship between the graphic objects included in this subject, the operation type attribute of the graphic object, and the operation number attribute of the graphic object, Get a mathematical expression corresponding to a graphic object.

例えば、図形対象の間の階層関係の下から上への順序により、図形対象を一々確定し、図形対象の演算タイプ属性及び演算数属性によって図形を描いて、図形対象に対応する数学表現式を取得する。   For example, the figure objects are determined one by one in the order from the bottom to the top of the hierarchical relationship between the figure objects, the figure is drawn by the calculation type attribute and the calculation number attribute of the figure object, and the mathematical expression corresponding to the figure object is expressed. get.

その後、数式処理装置は図形対象の間の階層関係により、図形対象に対応する数学表現式をウェブページに描いて、式内容に対応する数式を取得する。   Thereafter, the mathematical expression processing apparatus draws a mathematical expression corresponding to the graphic object on the web page according to the hierarchical relationship between the graphic objects, and acquires a mathematical expression corresponding to the content of the expression.

例えば、主体対象が一つの式文法ツリーであるのを例とすると、数式処理装置は一つの式文法ツリーを複写し、それをマッピングツリーとし、マッピングツリー上の図形対象を直接に図形対象に対応する数学表現式に取替えて、更に数学表現式により構成される描くことができるツリーであるマッピングツリーを取得する。次に、上から下への順序でこのマッピングツリーをウェブページに描いて、完全な数式を取得する。   For example, if the subject is a single expression grammar tree, the mathematical expression processor copies a single expression grammar tree and uses it as a mapping tree, and the figure object on the mapping tree directly corresponds to the figure object. The mapping tree, which is a drawable tree constituted by the mathematical expression, is obtained by replacing the mathematical expression. The mapping tree is then drawn on the web page in order from top to bottom to get the complete formula.

ここで、本実施例で採用した製図技術はSVG製図技術であるが、これに限定されない。   Here, the drawing technique employed in this embodiment is the SVG drawing technique, but is not limited thereto.

上記から見えるように、本実施例は主体対象によって式内容を表し、具体的に、主体対象に含まれる図形対象の間の階層関係によって式内容に対応する演算順序を表し、図形対象は演算タイプ属性と演算数属性を含み、図形対象の間の階層関係、図形対象の演算タイプ属性及び演算数属性によって、図形対象に対応する数学表現式を取得し、更に図形対象の間の階層関係により図形対象に対応する数学表現式をウェブページに描いて、式内容に対応する数式を取得する。本実施例は、主体対象に基づいて製図技術によりウェブページに数式を生成することを実現し、従来技術で使うHTMLタグとは異なって、生成された数式がウェブページと完全に独立して、一つの独立な全体になるので、ウェブページにおけるCSSスタイルの干渉または影響を容易に受けなく、表示効果が比較的に安定である。   As can be seen from the above, in this embodiment, the subject content represents the expression content, specifically, the hierarchical order between the graphic objects included in the subject object represents the calculation order corresponding to the expression content, and the graphic object represents the operation type. Mathematical expressions corresponding to graphic objects are acquired according to the hierarchical relationship between graphic objects, the calculation type attribute and the operation number attribute of graphic objects. A mathematical expression corresponding to the object is drawn on the web page, and a mathematical expression corresponding to the content of the expression is acquired. This embodiment realizes generating a mathematical formula on a web page by drafting technology based on the subject, and unlike the HTML tag used in the prior art, the generated mathematical formula is completely independent of the web page, Since it becomes one independent whole, it is not easily affected by CSS style interference or influence on the web page, and the display effect is relatively stable.

本発明の技術案は、IE9及び以上バージョンのIEブラウザー、chrome、firefox、safari、operaなどの主流のブラウザーを支援し、ユーザーはほとんど全部のブラウザーにおいて数式を編集し読み取ることができる。   The technical solution of the present invention supports mainstream browsers such as IE9 and above versions of IE browsers, chrome, firefox, safari, opera, and the user can edit and read mathematical expressions in almost all browsers.

ここで、前記の各方法実施例について簡単に記述するために、一連の動作の組合せとして記述したが、本分野の当業者であれば、本発明は、記述した動作の順序の制限を受けず、本発明によると、あるステップは他の順序に従いまたは同時に行ってもよいとのことを了解すべきである。また、本分野の当業者であれば、明細書に記載の実施例はいずれも好ましい実施例で、関連する動作及びモジュールは本発明に必ず必要なものではない。   Here, in order to briefly describe each of the above-described method embodiments, it is described as a combination of a series of operations. However, those skilled in the art will not be limited by the order of the operations described. It should be understood that according to the present invention, certain steps may be performed according to other orders or simultaneously. Moreover, those skilled in the art will appreciate that all of the embodiments described in the specification are preferred embodiments, and the related operations and modules are not necessarily required for the present invention.

上述実施例で、各実施例に対する記述にはいずれも重点があり、ある実施例で詳細に記述しなかった部分は、他の実施例における関連記述を参照できる。   In the above-described embodiments, there is an emphasis on the description for each embodiment, and a part that has not been described in detail in one embodiment can refer to related descriptions in other embodiments.

図13は、本出願の一実施例で提供する数式処理装置の構造概略図である。図13に示すように、この装置は、取得モジュール1301と、処理モジュール1302と、製図モジュール1303とを含む。   FIG. 13 is a schematic structural diagram of a mathematical expression processing apparatus provided in an embodiment of the present application. As shown in FIG. 13, the apparatus includes an acquisition module 1301, a processing module 1302, and a drafting module 1303.

取得モジュール1301は、式内容に対応する主体対象を取得するためのもので、主体対象は図形対象と図形対象の間の階層関係を含み、図形対象の間の階層関係は式内容に対応する演算順序を表し、図形対象は演算タイプ属性と演算数属性を含む。   The acquisition module 1301 is for acquiring the subject corresponding to the content of the expression. The subject includes a hierarchical relationship between the graphic object and the graphic object, and the hierarchical relationship between the graphic objects is an operation corresponding to the expression content. Expressing the order, the graphic object includes an operation type attribute and an operation number attribute.

処理モジュール1302は、取得モジュール1301と接続して、図形対象の間の階層関係、図形対象の演算タイプ属性及び図形対象の演算数属性に基づいて、図形対象に対応する数学表現式を取得するためのものである。   The processing module 1302 is connected to the acquisition module 1301 to acquire a mathematical expression corresponding to the graphic object based on the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object, and the operation number attribute of the graphic object. belongs to.

製図モジュール1303は、処理モジュール1302と接続して、図形対象の間の階層関係によって、処理モジュール1302が取得した図形対象に対応する数学表現式をウェブページに描くことによって、式内容に対応する数式を取得するためのものである。   The drafting module 1303 is connected to the processing module 1302 and draws a mathematical expression corresponding to the graphic object acquired by the processing module 1302 on the web page according to the hierarchical relationship between the graphic objects, thereby expressing the mathematical expression corresponding to the expression content. Is for getting.

一つの好ましい実施方式において、取得モジュール1301は、具体的に、式内容を取得し、予設の分解規則により、式内容を更に分解できない基準表現式に分解し、基準表現式の間の階層関係、基準表現式のタイプ及び基準表現式に含まれる演算数に基づいて、主体対象を生成するために用いられる。   In one preferred implementation, the acquisition module 1301 specifically acquires the expression contents, decomposes the expression contents into reference expressions that cannot be further decomposed according to a predetermined decomposition rule, and a hierarchical relationship between the reference expressions. Used to generate a subject based on the type of reference expression and the number of operations included in the reference expression.

他の一つ実施方式において、取得モジュール1301は、具体的に、ウェブページでユーザーに編集インターフェースを提供し、ユーザーが編集インターフェースを通じて入力した式内容における演算子または演算数を順に取得して、主体対象を生成するために用いられる。   In another implementation, the acquisition module 1301 specifically provides an editing interface to the user on the web page, and sequentially acquires the operator or the number of operations in the expression contents input by the user through the editing interface, Used to create objects.

更に、好ましいのは、上記編集インターフェースは、可視編集領域と隠れ編集領域を含む。   Further preferably, the editing interface includes a visible editing area and a hidden editing area.

これに基づいて、取得モジュール1301は、具体的に、ウェブページでユーザーに編集インターフェースを提供し、ユーザーが可視編集領域で発送した編集命令に基づいて、可視編集領域に現在入力位置を指示する模擬カーソルを表示し、模擬カーソルはユーザーの入力に従って移動し、模擬カーソルと関連したシステムカーソルを隠れ編集領域に位置決めて、入力捕捉イベントを活性化し、ユーザーが隠れ編集領域で入力した式内容における演算子または演算数を順に捕捉して、システムカーソルの現在の位置と捕捉された演算子または演算数によって初期のヌル対象に図形対象及び/または図形対象における演算数を添加して、主体対象を取得するために用いられる。   Based on this, the acquisition module 1301 specifically provides an editing interface to the user on the web page, and simulates instructing the current input position to the visible editing area based on the editing command sent by the user in the visible editing area. Displays a cursor, the simulated cursor moves according to the user's input, positions the system cursor associated with the simulated cursor in the hidden edit area, activates the input capture event, and the operator in the expression content entered by the user in the hidden edit area Or, capture the number of operations in order, and add the number of operations on the graphic object and / or the graphic object to the initial null object according to the current position of the system cursor and the captured operator or number of operations to obtain the subject object Used for.

さらに、本実施例で提供した数式処理装置は、更に、識別モジュール、表記モジュール及び更新モジュールを含んでいてもよい。   Furthermore, the mathematical expression processing apparatus provided in the present embodiment may further include an identification module, a notation module, and an update module.

識別モジュールは、ユーザーの領域選択操作を識別するためのものであり、領域選択操作はユーザーが式内容における一部演算数を選定する操作を意味する。
表記モジュールは、ユーザーが選定した式内容における一部演算数によって、主体対象において表記するためのものである。
The identification module is for identifying a user's region selection operation, and the region selection operation means an operation in which the user selects a partial number of operations in the formula contents.
The notation module is for notation in the subject by the number of partial operations in the content of the expression selected by the user.

更新モジュールは、ユーザーが領域選択操作で選定した領域内に再び入力した演算数を取得するためのもので、再び入力した演算数で主体対象に表記された演算数を取替える。   The update module is for acquiring the number of operations input again in the region selected by the user by the region selection operation, and replaces the number of operations described in the subject with the number of operations input again.

好ましい実施方式において、処理モジュール1302は、具体的に、図形対象の間の階層関係の下から上への順序で図形対象を一々確定し、図形対象の演算タイプ属性及び演算数属性によって図形を描いて、図形対象に対応する数学表現式を取得するために用いられる。   In a preferred implementation, the processing module 1302 specifically determines the graphic objects one after another in the hierarchical order between the graphic objects, and draws the graphic according to the operation type attribute and the operation number attribute of the graphic object. And used to obtain a mathematical expression corresponding to the graphic object.

好ましくは、上記式内容に対応する主体対象は式内容に対応する式文法ツリーである。   Preferably, the subject corresponding to the expression content is an expression grammar tree corresponding to the expression content.

本実施例で提供した数式処理装置は、主体対象によって式内容を表し、具体的に、主体対象に含まれる図形対象の間の階層関係によって式内容に対応する演算順序を表し、図形対象は演算タイプ属性と演算数属性を含み、図形対象の間の階層関係、図形対象の演算タイプ属性及び図形対象の演算数属性によって、図形対象に対応する数式を取得し、さらに、図形対象の間の階層関係に従って、図形対象に対応する数式をウェブページに描いて、式内容に対応する数式を取得する。本実施例で提供する数式処理装置は、主体対象に基づいて製図技術によってウェブページに数式を生成することを実現し、従来技術で使用するHTMLタグとは異なって、生成された数式がウェブページと完全に独立して、独立な全体になるので、ウェブページにおけるCSSスタイルの干渉または影響を容易に受けなく、表示効果が比較的に安定である。   The mathematical expression processing apparatus provided in the present embodiment expresses the content of an expression by a subject, and specifically expresses the calculation order corresponding to the content of the expression by the hierarchical relationship between the graphic objects included in the subject. Including the type attribute and the operation number attribute, obtain the mathematical expression corresponding to the graphic object by the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object and the operation number attribute of the graphic object, and further, the hierarchy between the graphic objects According to the relationship, a mathematical expression corresponding to the graphic object is drawn on the web page, and a mathematical expression corresponding to the content of the expression is acquired. The mathematical expression processing apparatus provided in the present embodiment realizes that a mathematical expression is generated on a web page by a drawing technique based on the subject, and the generated mathematical expression is different from the HTML tag used in the conventional technique. Because it becomes completely independent and completely independent, it is not easily affected by CSS style interference or influence on the web page, and the display effect is relatively stable.

所属分野の当業者であれば、記述の便利と簡潔のために、上述記述のシステム、装置と手段の具体的な動作過程は、前述方法の実施例における対応する過程を参照できることを理解すべきで、ここで重複に記述しない。   Those skilled in the art should understand that for the convenience and conciseness of the description, the specific operation process of the system, apparatus and means described above can refer to the corresponding process in the above-described method embodiment. Therefore, it is not described here redundantly.

本発明で提供した幾つの実施例で開示したシステム、装置及び方法は、他の方式によって実現できるのは理解すべきである。例えば、以上に記載した装置の実施例はただ例示的なもので、例えば、前記手段の分割はただロジック機能の分割で、実際に実現する時は他の分割方式によってもよい。例えば、複数の手段又はモジュールは結合でき又は他の一つのシステムに集積でき、またはある特徴は無視し、または実行しなくてもよい。他に、示しまたは検討した互いの間の結合または直接に結合又は通信接続は、あるインタフェース、装置または手段の間接的な接合又は通信接続によるものであってもよく、電気的、機械または他の形式であってもよい。   It should be understood that the systems, devices and methods disclosed in the several embodiments provided by the present invention can be implemented in other ways. For example, the embodiment of the apparatus described above is merely an example. For example, the division of the means is merely a division of a logic function, and when actually implemented, other division schemes may be used. For example, multiple means or modules can be combined or integrated into one other system, or certain features may be ignored or not performed. Alternatively, the coupling or direct coupling or communication connection between each other shown or discussed may be by indirect bonding or communication connection of certain interfaces, devices or means, electrical, mechanical or other It may be in the form.

前記で分離部材として説明した手段は、物理上で分離したものであってもよく物理上で分離しなかったものであってもよく、手段として示した部材は物理的な手段であってもよく、物理的な手段でなくてもよく、即ち、同一の位置にあってもよく、複数のネットワークユニットに分布されていてもよい。実際の必要によってその中の一部または全部手段を選択して、本実施例の方案の目的を実現してもよい。   The means described above as the separation member may be physically separated or may not be physically separated, and the member shown as the means may be a physical means. It may not be a physical means, that is, it may be in the same position, and may be distributed over a plurality of network units. Depending on actual needs, some or all of the means may be selected to achieve the object of the method of the present embodiment.

また、本発明の各実施例における各機能手段は一つの処理モジュールに集積してもよく、各手段が物理上で単独に存在してもよく、二つ又は二つ以上の手段を一つの手段に集積してもよい。前記集積した手段は、ハードウェアの形式に実現してもよく、ハードウェアにソフトウェアの機能手段を結合する形式で実現してもよい。   In addition, each functional unit in each embodiment of the present invention may be integrated in one processing module, each unit may physically exist alone, and two or more units may be combined into one unit. May be accumulated. The integrated means may be realized in the form of hardware, or may be realized in the form of combining software function means with hardware.

上記のソフト機能手段の形式で実現した集積した手段は、一つのコンピューターが可読な記憶媒体に記憶してもよい。前記ソフト機能手段は一つの記憶媒体に記憶してもよく、複数の命令を含んで一つのコンピューターデバイス(パースナルコンピューター、サーバー、又はネットワークデバイス等)又はプロセッサ(processor)によって、本発明の各実施例の前記方法の一部のステップを実行させてもよい。前記記憶媒体は、Uディスク、ポータブルハードウェア、読み出し専用メモリ(Read-OnlyMemory、ROM)、ランダムアクセスメモリ(RandomAccessMemory、RAM)、ディスク又は光ディスク等の複数のプログラムコードを記憶できる媒体を含む。   The integrated means realized in the form of the above software function means may be stored in a storage medium readable by one computer. The software function means may be stored in a single storage medium, and each of the embodiments of the present invention may be executed by a single computer device (such as a personal computer, a server, or a network device) or a processor including a plurality of instructions. Some steps of the example method may be performed. The storage medium includes a medium capable of storing a plurality of program codes such as a U disk, portable hardware, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a disk, or an optical disk.

前記はただ本発明の好ましい実施例で、本発明についての限定ではなく、本発明の主旨及び原則の範囲で実行したいずれの修正、等価置換、改良などは、全部本発明の保護する範囲に属すべきである。   The foregoing is merely a preferred embodiment of the present invention, and is not a limitation on the present invention. Any modifications, equivalent substitutions, improvements, etc. implemented within the spirit and principle of the present invention belong to the scope protected by the present invention. Should.

Claims (16)

演算タイプ属性と演算数属性を含む図形対象と、式内容に対応する演算順序を表す上記図形対象の間の階層関係を含み、上記式内容に対応する主体対象を取得し、
上記図形対象の間の階層関係、上記図形対象の演算タイプ属性及び上記図形対象の演算数属性によって、上記図形対象に対応する数学表現式を取得し、
上記図形対象の間の階層関係によって、上記図形対象に対応する数学表現式をウェブページに描いて、上記式内容に対応する数式を取得する
数式処理方法。
Including a hierarchical relationship between the graphic object including the operation type attribute and the operation number attribute and the graphic object representing the operation order corresponding to the expression content, and obtaining a subject object corresponding to the expression content;
A mathematical expression corresponding to the graphic object is obtained by the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object, and the operation number attribute of the graphic object,
A mathematical expression processing method for drawing a mathematical expression corresponding to the graphic object on a web page based on a hierarchical relationship between the graphic objects, and obtaining a mathematical expression corresponding to the content of the mathematical expression.
上記式内容に対応する主体対象を取得することは、
上記式内容を取得し、
予設の分解規則により、上記式内容をさらに分解できない基準表現式に分解し、
上記基準表現式の間の階層関係、上記基準表現式のタイプ及び上記基準表現式に含まれる演算数に基づいて、上記主体対象を生成することを含む
請求項1に記載の数式処理方法。
Acquiring the subject subject corresponding to the above formula content is
Get the above formula,
According to the pre-disassembly rules, the above formula content is further decomposed into standard expressions that cannot be further decomposed,
The mathematical expression processing method according to claim 1, further comprising: generating the subject object based on a hierarchical relationship between the reference expressions, the type of the reference expression, and the number of operations included in the reference expression.
上記式内容に対応する主体対象を取得することは、
ウェブページでユーザーに一つの編集インターフェースを提供し、
上記ユーザーが上記編集インターフェースを通じて入力した上記式内容における演算子または演算数を順に取得して、上記主体対象を生成することを含む
請求項1に記載の数式処理方法。
Acquiring the subject subject corresponding to the above formula content is
Provide a single editing interface for users on web pages,
The mathematical expression processing method according to claim 1, further comprising: obtaining the subject object by sequentially obtaining an operator or the number of operations in the content of the formula input by the user through the editing interface.
上記編集インターフェースは、可視編集領域と隠れ編集領域を含み、
上記ユーザーが上記編集インターフェースを通じて入力した上記式内容における演算子または演算数を順に取得して、上記主体対象を生成することは、
上記ユーザーが上記可視編集領域で発送した編集命令に基づいて、上記可視編集領域に現在の入力位置を指示する模擬カーソルを表示し、上記模擬カーソルはユーザーの入力に従って移動し、上記模擬カーソルと関連するシステムカーソルを上記隠れ編集領域に位置決めて、入力捕捉イベントを活性化し、
上記ユーザーが上記隠れ編集領域に入力した上記式内容における演算子または演算数を順に捕捉し、上記システムカーソルの現在位置と上記捕捉された演算子または演算数に基づいて初期ヌル対象に図形対象及び図形対象における演算数の少なくとも一方を添加して、上記主体対象を取得することを含む
請求項3に記載の数式処理方法。
The editing interface includes a visible editing area and a hidden editing area,
In order to obtain the subject object by sequentially obtaining the operator or the number of operations in the formula contents input by the user through the editing interface,
Based on the editing command sent by the user in the visible editing area, a simulated cursor indicating the current input position is displayed in the visible editing area, and the simulated cursor moves according to the user's input and is related to the simulated cursor. Position the system cursor in the hidden edit area, activate the input capture event,
The operator or the number of operations in the formula contents input by the user in the hidden editing area is captured in order, and the graphic object and the initial null object are determined based on the current position of the system cursor and the captured operator or number of operations. The mathematical expression processing method according to claim 3, further comprising acquiring at least one of the number of operations in the graphic object to obtain the subject object.
上記主体対象を取得した後に、さらに、
上記ユーザーの領域選択操作を識別し、上記領域選択操作はユーザーが上記式内容における一部演算数を選定する操作を意味し、
上記ユーザーが選定した上記式内容における一部演算数に基づいて、上記主体対象に表記し、
上記ユーザーが上記領域選択操作で選定した領域内で再び入力した演算数を取得し、上記再び入力した演算数で上記主体対象に表記された演算数を取替えることを含む
請求項4に記載の数式処理方法。
After acquiring the subject,
The user's region selection operation is identified, and the region selection operation means an operation in which the user selects the number of partial calculations in the content of the formula,
Based on the number of partial calculations in the content of the formula selected by the user, it is written on the subject.
5. The mathematical expression according to claim 4, further comprising: acquiring the number of operations input again in the region selected by the user by the region selection operation, and replacing the number of operations described in the subject by the number of operations input again. Processing method.
上記図形対象の間の階層関係、上記図形対象の演算タイプ属性及び上記図形対象の演算数属性によって、上記図形対象に対応する数学表現式を取得することは、
上記図形対象の間の階層関係の下から上への順序により、上記図形対象を一々確定し、
上記図形対象の演算タイプ属性及び演算数属性によって図形を描いて、上記図形対象に対応する数学表現式を取得することを含む
請求項1〜5のいずれか一項に記載の数式処理方法。
Obtaining a mathematical expression corresponding to the graphic object by the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object, and the operation number attribute of the graphic object,
The figure objects are determined one by one in the order from the bottom to the top of the hierarchical relationship between the figure objects,
The mathematical expression processing method according to claim 1, further comprising: obtaining a mathematical expression corresponding to the graphic object by drawing a graphic according to the operation type attribute and the operation number attribute of the graphic object.
上記式内容に対応する主体対象は上記式内容に対応する式文法ツリーである
請求項1〜5のいずれか一項に記載の数式処理方法。
The mathematical expression processing method according to claim 1, wherein the subject subject corresponding to the expression content is an expression grammar tree corresponding to the expression content.
演算タイプ属性と演算数属性を含む図形対象と、式内容に対応する演算順序を表す上記図形対象の間の階層関係を含み、上記式内容に対応する主体対象を取得する取得モジュールと、
上記図形対象の間の階層関係、上記図形対象の演算タイプ属性及び上記図形対象の演算数属性によって、上記図形対象に対応する数学表現式を取得する処理モジュールと、
上記図形対象の間の階層関係により、上記図形対象に対応する数学表現式をウェブページに描いて、上記式内容に対応する数式を取得する製図モジュールとを含む
数式処理装置。
An acquisition module that includes a hierarchical relationship between a graphic object including an operation type attribute and an operation number attribute and the graphic object representing an operation order corresponding to an expression content, and acquires a subject object corresponding to the expression content;
A processing module for obtaining a mathematical expression corresponding to the graphic object according to a hierarchical relationship between the graphic objects, an operation type attribute of the graphic object, and an operation number attribute of the graphic object;
A drawing processing module including a drawing module that draws a mathematical expression corresponding to the graphic object on a web page according to a hierarchical relationship between the graphic objects and obtains a mathematical expression corresponding to the content of the expression.
上記取得モジュールは、
上記式内容を取得し、
予設の分解規則により、上記式内容をさらに分解できない基準表現式に分解し、
上記基準表現式の間の階層関係、上記基準表現式のタイプ及び上記基準表現式に含まれる演算数によって、上記主体対象を生成する
請求項8に記載の数式処理装置。
The above acquisition module
Get the above formula,
According to the pre-disassembly rules, the above formula content is further decomposed into standard expressions that cannot be further decomposed,
The mathematical expression processing apparatus according to claim 8, wherein the subject object is generated based on a hierarchical relationship between the reference expressions, the type of the reference expression, and the number of operations included in the reference expression.
上記取得モジュールは、
上記ウェブページでユーザーに一つの編集インターフェースを提供し、
上記ユーザーが上記編集インターフェースを通じて入力した上記式内容における演算子または演算数を順に取得して、上記主体対象を生成する
請求項8に記載の数式処理装置。
The above acquisition module
The above web page provides users with a single editing interface,
The mathematical expression processing apparatus according to claim 8, wherein the subject object is generated by sequentially obtaining an operator or the number of operations in the content of the formula input by the user through the editing interface.
上記編集インターフェースは、可視編集領域と隠れ編集領域を含み、
上記取得モジュールは、
上記ウェブページでユーザーに上記編集インターフェースを提供し、
上記ユーザーが上記可視編集領域で発送した編集命令に基づいて、上記可視編集領域に現在の入力位置を指示する模擬カーソルを表示し、上記模擬カーソルはユーザーの入力に従って移動し、上記模擬カーソルと関連したシステムカーソルを上記隠れ編集領域に位置決めて、入力捕捉イベントを活性化し、
上記ユーザーが上記隠れ編集領域に入力した上記式内容における演算子または演算数を順に捕捉し、上記システムカーソルの現在位置と上記捕捉された演算子または演算数に基づいて、初期ヌル対象に図形対象及び図形対象における演算数の少なくとも一方を添加して、上記主体対象を取得する
請求項10に記載の数式処理装置。
The editing interface includes a visible editing area and a hidden editing area,
The above acquisition module
Provide the editing interface to the user on the web page,
Based on the editing command sent by the user in the visible editing area, a simulated cursor indicating the current input position is displayed in the visible editing area, and the simulated cursor moves according to the user's input and is related to the simulated cursor. Position the system cursor in the hidden edit area, activate the input capture event,
The operator or the number of operations in the content of the formula entered by the user in the hidden editing area is captured in order, and the graphic object is set as the initial null target based on the current position of the system cursor and the captured operator or number of operations. 11. The mathematical expression processing apparatus according to claim 10, wherein the subject object is acquired by adding at least one of the number of operations in the graphic object.
さらに、
上記式内容における一部演算数を選定する操作を意味する、ユーザーの領域選択操作を識別する識別モジュールと、
上記ユーザーが選定した上記式内容における一部演算数によって、上記主体対象に表記する表記モジュールと、
上記ユーザーが上記領域選択操作で選定した領域内に再び入力した演算数を取得し、上記再び入力した演算数で上記主体対象に表記された演算数を取替える更新モジュールとを含む
請求項11に記載の数式処理装置。
further,
An identification module for identifying a user's region selection operation, which means an operation for selecting the number of partial operations in the above formula content,
According to the number of partial calculations in the content of the formula selected by the user, a notation module that is written on the subject subject,
The update module that obtains the number of operations input again in the region selected by the region selection operation by the user and replaces the number of operations described in the subject with the number of operations input again. Formula processing device.
上記処理モジュールは、
上記図形対象の間の階層関係の下から上への順序により、上記図形対象を一々確定し、
上記図形対象の演算タイプ属性及び演算数属性によって図形を描いて、上記図形対象に対応する数学表現式を取得する
請求項8〜12のいずれか一項に記載の数式処理装置。
The above processing module
The figure objects are determined one by one in the order from the bottom to the top of the hierarchical relationship between the figure objects,
The mathematical expression processing apparatus according to claim 8, wherein a mathematical expression corresponding to the graphic object is acquired by drawing a graphic according to the calculation type attribute and the calculation number attribute of the graphic object.
上記式内容に対応する主体対象は、上記式内容に対応する式文法ツリーである
請求項8〜12のいずれか一項に記載の数式処理装置。
The mathematical expression processing apparatus according to any one of claims 8 to 12, wherein the subject subject corresponding to the expression content is an expression grammar tree corresponding to the expression content.
一または複数のプロセッサと、
メモリと、
上記メモリに記憶されている一または複数のプログラムを含み、
上記一または複数のプログラムが上記一または複数のプロセッサに実行されるとき、
演算タイプ属性と演算数属性を含む図形対象と、式内容に対応する演算順序を表す上記図形対象の間の階層関係を含み、上記式内容に対応する主体対象を取得し、
上記図形対象の間の階層関係、上記図形対象の演算タイプ属性及び上記図形対象の演算数属性によって、上記図形対象に対応する数学表現式を取得し、
上記図形対象の間の階層関係によって、上記図形対象に対応する数学表現式をウェブページに描いて、上記式内容に対応する数式を取得する
デバイス。
One or more processors;
Memory,
Including one or more programs stored in the memory,
When the one or more programs are executed by the one or more processors,
Including a hierarchical relationship between the graphic object including the operation type attribute and the operation number attribute and the graphic object representing the operation order corresponding to the expression content, and obtaining a subject object corresponding to the expression content;
A mathematical expression corresponding to the graphic object is obtained by the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object, and the operation number attribute of the graphic object,
A device that draws a mathematical expression corresponding to the graphic object on a web page according to a hierarchical relationship between the graphic objects, and obtains a mathematical expression corresponding to the content of the expression.
一つのデバイスにより実行される時、上記デバイスに、
演算タイプ属性と演算数属性を含む図形対象と、式内容に対応する演算順序を表す上記図形対象の間の階層関係を含み、上記式内容に対応する主体対象を取得し、
上記図形対象の間の階層関係、上記図形対象の演算タイプ属性及び上記図形対象の演算数属性によって、上記図形対象に対応する数学表現式を取得し、
上記図形対象の間の階層関係によって、上記図形対象に対応する数学表現式をウェブページに描いて、上記式内容に対応する数式を取得させる
一または複数のプログラム。
When executed by one device,
Including a hierarchical relationship between the graphic object including the operation type attribute and the operation number attribute and the graphic object representing the operation order corresponding to the expression content, and obtaining a subject object corresponding to the expression content;
A mathematical expression corresponding to the graphic object is obtained by the hierarchical relationship between the graphic objects, the operation type attribute of the graphic object, and the operation number attribute of the graphic object,
One or more programs that draw mathematical expressions corresponding to the graphic objects on a web page according to the hierarchical relationship between the graphic objects and obtain mathematical expressions corresponding to the contents of the expressions.
JP2017526093A 2014-12-17 2015-07-08 Computer algebra methods, devices, devices and programs Active JP6866551B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201410790497.1A CN104572577B (en) 2014-12-17 2014-12-17 Mathematical formulae processing method and processing device
CN201410790497.1 2014-12-17
PCT/CN2015/083534 WO2016095502A1 (en) 2014-12-17 2015-07-08 Mathematical formula processing method, device, apparatus and computer storage medium

Publications (2)

Publication Number Publication Date
JP2018501551A true JP2018501551A (en) 2018-01-18
JP6866551B2 JP6866551B2 (en) 2021-04-28

Family

ID=53088684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017526093A Active JP6866551B2 (en) 2014-12-17 2015-07-08 Computer algebra methods, devices, devices and programs

Country Status (4)

Country Link
JP (1) JP6866551B2 (en)
KR (1) KR101950126B1 (en)
CN (1) CN104572577B (en)
WO (1) WO2016095502A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572577B (en) * 2014-12-17 2018-09-04 百度在线网络技术(北京)有限公司 Mathematical formulae processing method and processing device
CN106802749A (en) * 2015-11-25 2017-06-06 阿里巴巴集团控股有限公司 Numerical value input method and device
CN107390978B (en) * 2017-07-27 2020-11-03 广州视源电子科技股份有限公司 Formula display method and device, terminal and computer readable storage medium
CN107832271B (en) * 2017-10-31 2021-08-31 广州视睿电子科技有限公司 Function image drawing method, device, equipment and computer storage medium
CN109992121B (en) * 2017-12-29 2023-02-03 北京搜狗科技发展有限公司 Input method, input device and input device
CN111309302B (en) * 2020-02-06 2023-04-18 杭州电子科技大学 Method for converting Verilog code based on LaTeX four-principle operation and trigonometric function mixed operation formula
CN112269476B (en) * 2020-10-28 2024-05-31 维沃移动通信有限公司 Formula display method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01108673A (en) * 1987-10-21 1989-04-25 Hitachi Ltd Mathematical formula input and edit system
JP2000148738A (en) * 1998-11-16 2000-05-30 Suuken Shuppan Kk Device and method for mathematical expression input and display, and recording medium where mathematical input and display program is recorded
CN102663138A (en) * 2012-05-03 2012-09-12 北京大学 Method and device for inputting formula query terms

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040114258A1 (en) * 2002-12-17 2004-06-17 Harris Richard Alexander Device and method for combining dynamic mathematical expressions and other multimedia objects within a document
JP4956757B2 (en) * 2006-03-15 2012-06-20 国立大学法人大阪大学 Formula description structured language object search system and search method
KR100963976B1 (en) * 2007-12-24 2010-06-15 엔에이치엔(주) Method, apparatus, system and computer-readable recording medium for arithmetical operation based on image information
CN101436309B (en) * 2008-12-15 2011-03-30 北大方正集团有限公司 Method and apparatus for modifying formula operator
CA2863522C (en) * 2012-01-23 2018-08-28 Microsoft Corporation Formula detection engine
CN103425634B (en) * 2012-05-17 2016-04-06 北大方正集团有限公司 A kind of generation method of streaming document and device
CN102693303B (en) * 2012-05-18 2017-06-06 上海极值信息技术有限公司 The searching method and device of a kind of formulation data
CN103176954A (en) * 2013-03-27 2013-06-26 重庆市科学技术研究院 Mathematical formula display method and mathematical formula display system based on hypertext markup language (HTML) 5 canvas
CN103425773A (en) * 2013-08-02 2013-12-04 深圳市菁优网络科技有限公司 Method for rapidly displaying mathematical formula in web page by utilizing native Html (Hypertext Markup Language)
CN104572577B (en) * 2014-12-17 2018-09-04 百度在线网络技术(北京)有限公司 Mathematical formulae processing method and processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01108673A (en) * 1987-10-21 1989-04-25 Hitachi Ltd Mathematical formula input and edit system
JP2000148738A (en) * 1998-11-16 2000-05-30 Suuken Shuppan Kk Device and method for mathematical expression input and display, and recording medium where mathematical input and display program is recorded
CN102663138A (en) * 2012-05-03 2012-09-12 北京大学 Method and device for inputting formula query terms

Also Published As

Publication number Publication date
KR101950126B1 (en) 2019-02-19
WO2016095502A1 (en) 2016-06-23
CN104572577A (en) 2015-04-29
CN104572577B (en) 2018-09-04
KR20170071553A (en) 2017-06-23
JP6866551B2 (en) 2021-04-28

Similar Documents

Publication Publication Date Title
CN106909610B (en) Method and system for visually dragging and querying data based on browser
US11635944B2 (en) Methods and systems for programmatic creation of an interactive demonstration presentation for an envisioned software product
CN107844299B (en) Method for implementing Web application development tool
JP6866551B2 (en) Computer algebra methods, devices, devices and programs
US9047261B2 (en) Document editing method
JP7289556B2 (en) PATENT DOCUMENT DEVELOPMENT DEVICE, METHOD, COMPUTER PROGRAM, COMPUTER-READABLE RECORDING MEDIUM, SERVER, AND SYSTEM
CN109375914B (en) Information remote interaction method and system
US10049095B2 (en) In-context editing of output presentations via automatic pattern detection
US20220269740A1 (en) Contextual editing in a page rendering system
KR101569984B1 (en) Setup Method for Web Scraping Data Extraction
CN109710250B (en) Visualization engine system and method for constructing user interface
US9852117B1 (en) Text-fragment based content editing and publishing
CN104798067A (en) Web server system, dictionary system, dictionary call method, screen control display method, and demonstration application generation method
CN104679642A (en) Language independent processing of logs in a log analytics system
JP2022041865A (en) Online working system for template-based excel documents
US9626445B2 (en) Search results modulator
US10331721B2 (en) Systems and methods for visualizing relationships between publications
CN109445900B (en) Translation method and device for picture display
US11995129B2 (en) System and method for annotating website content
US20220318333A1 (en) Systems and methods for pre-loading object models
US10915599B2 (en) System and method for producing transferable, modular web pages
CN113220297A (en) Webpage style dynamic generation method and device, storage medium and electronic equipment
Zhang et al. canvasXpress: A versatile interactive high-resolution scientific multi-panel visualization toolkit
JP2014119968A (en) Information processing system, server device, display control method and computer program
JP2005327200A (en) Information structure display method and device using metadata imparted to information

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170518

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180912

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190704

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20190704

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20190712

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20190716

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20190906

C211 Notice of termination of reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C211

Effective date: 20190910

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20200212

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20200414

C13 Notice of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: C13

Effective date: 20200811

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201109

C23 Notice of termination of proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C23

Effective date: 20210202

C03 Trial/appeal decision taken

Free format text: JAPANESE INTERMEDIATE CODE: C03

Effective date: 20210309

C30A Notification sent

Free format text: JAPANESE INTERMEDIATE CODE: C3012

Effective date: 20210309

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210311

R150 Certificate of patent or registration of utility model

Ref document number: 6866551

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150