[go: up one dir, main page]

CN104462466A - Method and device for inquiring mathematic calculation information - Google Patents

Method and device for inquiring mathematic calculation information Download PDF

Info

Publication number
CN104462466A
CN104462466A CN201410788181.9A CN201410788181A CN104462466A CN 104462466 A CN104462466 A CN 104462466A CN 201410788181 A CN201410788181 A CN 201410788181A CN 104462466 A CN104462466 A CN 104462466A
Authority
CN
China
Prior art keywords
area
query
result
mathematical calculation
information
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.)
Pending
Application number
CN201410788181.9A
Other languages
Chinese (zh)
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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410788181.9A priority Critical patent/CN104462466A/en
Publication of CN104462466A publication Critical patent/CN104462466A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for inquiring mathematic calculation information. The method includes receiving an inquiry word; acquiring inquiry results according to the inquiry word, wherein when the inquiry word is the mathematic calculation information, the inquiry results include at least one of calculation processing results corresponding to the mathematic calculation information, graphs corresponding to the mathematic calculation information and functional items for reprocessing the mathematic calculation information; displaying the inquiry results. The method can enrich information included by the inquiry results and is more suitable for inquiring of the mathematic calculation information.

Description

数学计算信息的查询方法和装置Inquiry method and device for mathematical calculation information

技术领域technical field

本发明涉及信息技术领域,尤其涉及一种数学计算信息的查询方法和装置。The invention relates to the field of information technology, in particular to a query method and device for mathematical calculation information.

背景技术Background technique

目前搜索引擎主要通过聚合网络上相关的关键词所在的数据信息来提供结果,通常是根据搜索请求命中情况从数据库中将结果数据提取出来,并渲染到网页上。At present, search engines mainly provide results by aggregating the data information of relevant keywords on the network. Usually, the result data is extracted from the database according to the hit situation of the search request, and rendered on the web page.

随着教育信息的日益网络化和电子化,特别是数学教育和计算信息随着网络和移动设备的普及越来越要求被随时随地的获取和解读。With the increasing network and electronicization of educational information, especially mathematics education and computing information, with the popularization of network and mobile devices, it is increasingly required to be acquired and interpreted anytime and anywhere.

但是,目前的搜索引擎对于数学计算信息也只是采用高频匹配的方式,只能给出文字匹配的结果,无法展示数学计算信息的其他内涵信息,导致展示的查询结果包含的信息有限。However, current search engines only use high-frequency matching for mathematical calculation information, and can only give text matching results, and cannot display other connotative information of mathematical calculation information, resulting in limited information contained in the displayed query results.

发明内容Contents of the invention

本发明旨在至少在一定程度上解决相关技术中的技术问题之一。The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

为此,本发明的一个目的在于提出一种数学计算信息的查询方法,该方法可以丰富查询结果包含的信息,更适合于数学计算信息的查询。Therefore, an object of the present invention is to propose a method for querying mathematical calculation information, which can enrich the information contained in the query results and is more suitable for querying mathematical calculation information.

本发明的另一个目的在于提出一种数学计算信息的查询装置。Another object of the present invention is to provide a query device for mathematical calculation information.

为达到上述目的,本发明第一方面实施例提出的数学计算信息的查询方法,包括:接收查询词;根据所述查询词获取查询结果,其中,当所述查询词是数学计算信息时,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;展示所述查询结果。In order to achieve the above purpose, the method for querying mathematical calculation information proposed in the embodiment of the first aspect of the present invention includes: receiving query words; obtaining query results according to the query words, wherein, when the query words are mathematical calculation information, the The query results include at least one of the following items: calculation processing results corresponding to the mathematical calculation information, graphics corresponding to the mathematical calculation information, function items for reprocessing the mathematical calculation information; displaying the query results .

本发明第一方面实施例提出的数学计算信息的查询方法,通过在查询词是数学计算信息时,查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项,可以丰富查询结果包含的信息,更适合于数学计算信息的查询。In the query method for mathematical calculation information proposed in the embodiment of the first aspect of the present invention, when the query word is mathematical calculation information, the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the The graphics corresponding to the mathematical calculation information and the function item for reprocessing the mathematical calculation information can enrich the information contained in the query result, and are more suitable for the query of mathematical calculation information.

为达到上述目的,本发明第二方面实施例提出的数学计算信息的查询方法,包括:接收客户端发送的查询词;在所述查询词是数学计算信息时,获取查询结果,其中,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;将所述查询结果发送给所述客户端,以使所述客户端展示所述查询结果。In order to achieve the above purpose, the method for querying mathematical calculation information proposed in the embodiment of the second aspect of the present invention includes: receiving a query word sent by a client; when the query word is mathematical calculation information, obtaining a query result, wherein the The query result includes at least one of the following items: a calculation processing result corresponding to the mathematical calculation information, a graph corresponding to the mathematical calculation information, a function item for reprocessing the mathematical calculation information; sending the query result to to the client, so that the client displays the query result.

本发明第二方面实施例提出的数学计算信息的查询方法,通过获取查询结果,查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项,可以丰富查询结果包含的信息,更适合于数学计算信息的查询。In the query method for mathematical calculation information proposed in the embodiment of the second aspect of the present invention, by obtaining the query result, the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, and the corresponding mathematical calculation information Graphics, the functional item for reprocessing the mathematical calculation information, can enrich the information contained in the query results, and are more suitable for the query of mathematical calculation information.

为达到上述目的,本发明第三方面实施例提出的数学计算信息的查询装置,包括:接收模块,用于接收查询词;获取模块,用于根据所述查询词获取查询结果,其中,当所述查询词是数学计算信息时,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;展示模块,用于展示所述查询结果。In order to achieve the above purpose, the query device for mathematical calculation information proposed in the embodiment of the third aspect of the present invention includes: a receiving module for receiving query words; an acquisition module for obtaining query results according to the query words, wherein, when the When the query term is mathematical calculation information, the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the graphic corresponding to the mathematical calculation information, and the mathematical calculation information again The processed function item; a display module, used to display the query result.

本发明第三方面实施例提出的数学计算信息的查询装置,通过在查询词是数学计算信息时,查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项,可以丰富查询结果包含的信息,更适合于数学计算信息的查询。The query device for mathematical calculation information proposed in the embodiment of the third aspect of the present invention, when the query word is mathematical calculation information, the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the The graphics corresponding to the mathematical calculation information and the function item for reprocessing the mathematical calculation information can enrich the information contained in the query result, and are more suitable for the query of mathematical calculation information.

为达到上述目的,本发明第四方面实施例提出的数学计算信息的查询装置,包括:接收模块,用于接收客户端发送的查询词;获取模块,用于在所述查询词是数学计算信息时,获取查询结果,其中,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;发送模块,用于将所述查询结果发送给所述客户端,以使所述客户端展示所述查询结果。In order to achieve the above-mentioned purpose, the query device for mathematical calculation information proposed in the fourth aspect of the present invention includes: a receiving module for receiving query words sent by the client; an acquisition module for receiving mathematical calculation information when the query words are , the query result is obtained, wherein the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the graphic corresponding to the mathematical calculation information, and reprocessing the mathematical calculation information The function item; a sending module, configured to send the query result to the client, so that the client displays the query result.

本发明第四方面实施例提出的数学计算信息的查询装置,通过获取查询结果,查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项,可以丰富查询结果包含的信息,更适合于数学计算信息的查询。The query device for mathematical calculation information proposed in the embodiment of the fourth aspect of the present invention obtains the query result, and the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, and the corresponding calculation result of the mathematical calculation information Graphics, the functional item for reprocessing the mathematical calculation information, can enrich the information contained in the query results, and are more suitable for the query of mathematical calculation information.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1是本发明一实施例提出的数学计算信息的查询方法的流程示意图;Fig. 1 is a schematic flow chart of a query method for mathematical calculation information proposed by an embodiment of the present invention;

图2是本发明实施例中的一种查询结果的展示示意图;Fig. 2 is a schematic diagram showing a query result in an embodiment of the present invention;

图3是本发明实施例中第一区域的展示示意图;Fig. 3 is a schematic diagram showing the first area in the embodiment of the present invention;

图4是本发明实施例中第二区域的展示示意图;Fig. 4 is a schematic diagram showing the second area in the embodiment of the present invention;

图5是本发明实施例中第三区域的展示示意图;Fig. 5 is a schematic diagram showing a third region in an embodiment of the present invention;

图6是本发明另一实施例提出的数学计算信息的查询方法的流程示意图;Fig. 6 is a schematic flowchart of a query method for mathematical calculation information proposed in another embodiment of the present invention;

图7是本发明另一实施例提出的数学计算信息的查询方法的流程示意图;Fig. 7 is a schematic flowchart of a query method for mathematical calculation information proposed by another embodiment of the present invention;

图8是本发明另一实施例提出的数学计算信息的查询装置的结构示意图;Fig. 8 is a schematic structural diagram of a query device for mathematical calculation information proposed in another embodiment of the present invention;

图9是本发明另一实施例提出的数学计算信息的查询装置的结构示意图;Fig. 9 is a schematic structural diagram of a query device for mathematical calculation information proposed in another embodiment of the present invention;

图10是本发明另一实施例提出的数学计算信息的查询装置的结构示意图;Fig. 10 is a schematic structural diagram of a query device for mathematical calculation information proposed in another embodiment of the present invention;

图11是本发明另一实施例提出的数学计算信息的查询装置的结构示意图。Fig. 11 is a schematic structural diagram of a query device for mathematical calculation information proposed by another embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的模块或具有相同或类似功能的模块。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar modules or modules having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

图1是本发明一实施例提出的数学计算信息的查询方法的流程示意图,该方法包括:Fig. 1 is a schematic flow chart of a query method for mathematical calculation information proposed by an embodiment of the present invention, the method comprising:

S11:接收查询词。S11: Receive query words.

例如,搜索引擎的客户端接收用户在搜索框中输入的查询词。For example, a client of a search engine receives query words entered by a user in a search box.

S12:根据所述查询词获取查询结果,其中,当所述查询词是数学计算信息时,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项。S12: Obtain a query result according to the query word, wherein, when the query word is mathematical calculation information, the query result includes at least one of the following items: a calculation processing result corresponding to the mathematical calculation information, the The graph corresponding to the mathematical calculation information is a function item for reprocessing the mathematical calculation information.

客户端接收到查询词后,可以将查询词发送给服务端,以使服务端获取相应的查询结果,以及,客户端接收服务端发送的查询结果。After receiving the query words, the client can send the query words to the server, so that the server can obtain corresponding query results, and the client can receive the query results sent by the server.

其中,服务端接收到客户端发送的查询词后,可以对查询词进行语义和语法分析等,判断查询词是否是数学计算信息,当查询词是数学计算信息时,可以在数学计算信息专用服务器中获取查询结果。Among them, after the server receives the query words sent by the client, it can perform semantic and grammatical analysis on the query words to determine whether the query words are mathematical calculation information. Get query results.

数学计算信息对应的计算处理结果例如查询词对应的数学方程式的展开公式,计算结果,或者,推理结果中的一项或多项。Calculation processing results corresponding to mathematical calculation information, for example, expansion formulas of mathematical equations corresponding to query words, calculation results, or one or more items of inference results.

例如,查询词是“x加y的平方”或者“(x+y)^2”时,对应的计算处理结果可以包括展开公式:x^2+2xy+y^2。For example, when the query word is "the square of x plus y" or "(x+y)^2", the corresponding calculation processing result may include an expansion formula: x^2+2xy+y^2.

数学计算信息对应的图形是根据数学计算信息画出的图形,例如,在三维坐标系中画出的(x+y)^2的图形。The graph corresponding to the mathematical calculation information is a graph drawn according to the mathematical calculation information, for example, a graph of (x+y)^2 drawn in a three-dimensional coordinate system.

对数学计算信息进行再次处理的功能项用于对查询词进行再次操作,例如,对(x+y)^2进行再次编辑等,编辑时可以采用数学公式编辑或者文本编辑。再次操作包括二次操作或者更多次操作。The function item for re-processing the mathematical calculation information is used to re-operate the query word, for example, re-edit (x+y)^2, etc., and can use mathematical formula editing or text editing when editing. The re-operation includes a second operation or more operations.

S13:展示所述查询结果。S13: Display the query result.

以查询结果包括上述的计算处理结果,图形,和功能项为例,所述展示所述查询结果,包括:Taking the query result including the above calculation and processing results, graphics, and function items as an example, the display of the query result includes:

将所述计算处理结果展示在查询结果页面的第一区域;Displaying the calculation and processing results in the first area of the query result page;

将所述图形展示在查询结果页面的第二区域;displaying the graph in the second area of the query result page;

将所述功能项展示在查询结果页面的第三区域。The function item is displayed in the third area of the query result page.

例如,参见图2,在查询结果页面上包括第一区域21,第二区域22和第三区域23。当查询词24是“x加y的平方”,可以在第一区域21中展示计算处理结果,例如,参见图2,第一区域中包括查询词对应的展开公式:x^2+2xy+y^2。可以在第二区域22中展示“x加y的平方”对应的图形。可以在第三区域展示功能项,可以理解的是,初始时,功能项可以为空,当激活功能项时,功能项才进行展示。For example, referring to FIG. 2 , the query result page includes a first area 21 , a second area 22 and a third area 23 . When the query word 24 is "x plus the square of y", the calculation and processing results can be displayed in the first area 21, for example, referring to Figure 2, the expansion formula corresponding to the query word is included in the first area: x^2+2xy+y ^2. A graph corresponding to "x plus the square of y" may be displayed in the second area 22 . The function items may be displayed in the third area. It is understandable that initially, the function items may be empty, and the function items are displayed only when the function items are activated.

可选的,参见图3,第一区域中可以包括内容标签区31,内容标签区中用于展示计算处理结果,第一区域中还可以包括功能按钮区32,功能按钮区包括用于对所述计算处理结果进行操作的功能按钮,例如,功能按钮是求导,积分或者解方程等。第一区域中还可以包括图标区33,图标区33中设置用于标识计算处理结果的图标,可以理解的是,图3中的图标只是一种示例,也可以采用其他图标。Optionally, referring to FIG. 3 , the first area may include a content label area 31, which is used to display calculation and processing results, and the first area may also include a function button area 32, which includes a function button area for all Function buttons for performing operations on the results of the above calculations, for example, the function buttons are derivation, integration, or equation solving. The first area may further include an icon area 33, where an icon for identifying a calculation processing result is set. It can be understood that the icon in FIG. 3 is only an example, and other icons may also be used.

进一步的,第一区域中还可以包括:用于激活第三区域的功能按钮,该功能按钮也位于功能按钮区32,参见图3,该功能按钮用“展开符号计算面板”为例,当用户点击该功能按钮后,可以触发功能项在第三区域显示。Further, the first area may also include: a function button for activating the third area, the function button is also located in the function button area 32, see FIG. After clicking the function button, the function item can be triggered to be displayed in the third area.

如图3所示,在第一区域中,所述图标区位于所述第一区域的左侧,所述内容标签区位于所述图标区的右上方,所述功能按钮区位于所述图标区的右下方。当然,可以理解的是,图3的位置关系也只是一种示例,也可以采用其他布局方式。As shown in Figure 3, in the first area, the icon area is located on the left side of the first area, the content label area is located at the upper right of the icon area, and the function button area is located in the icon area the bottom right of the . Of course, it can be understood that the positional relationship in FIG. 3 is only an example, and other layouts may also be used.

可选的,参见图4,第二区域中可以包括图形展示区41,图形展示区用于展示查询词对应的图形,可以理解的是,当不能完成图形的绘制时,该区域可以为空。第二区域中还可以包括图形功能控制区42,图形功能控制区42中设置用于改变所述图形显示方式的功能按钮,例如,旋转健,x/y/z轴旋转键,比例尺缩放按钮等,通过这些按钮可以从不同的视觉或维度获取不同的显示效果。第二区域还可以包括图形标签区43,图形标签区43中设置用于标识图形的标签,例如当前图形对应的数学方程式等。Optionally, referring to FIG. 4 , the second area may include a graphic display area 41, which is used to display the graphic corresponding to the query word. It can be understood that this area may be empty when the drawing of the graphic cannot be completed. The second area may also include a graphic function control area 42, where function buttons for changing the graphic display mode are set in the graphic function control area 42, such as rotation keys, x/y/z axis rotation keys, scaling buttons, etc. , through these buttons, different display effects can be obtained from different vision or dimensions. The second area may further include a graphic label area 43, where a label for identifying the graphic is set, such as a mathematical equation corresponding to the current graphic.

如图4所示,在第二区域中,所述图形标签区位于所述第二区域的上侧,所述图形展示区位于所述图形标签区的下方,所述图形功能控制区位于所述图形展示区内。当然,可以理解的是,图4的位置关系也只是一种示例,也可以采用其他布局方式。As shown in Figure 4, in the second area, the graphic label area is located on the upper side of the second area, the graphic display area is located below the graphic label area, and the graphic function control area is located in the in the graphics display area. Of course, it can be understood that the positional relationship in FIG. 4 is only an example, and other layouts may also be used.

可选的,当接收到对所述用于激活第三区域的功能按钮的点击指令后,将所述功能项展示在查询结果页面的第三区域,例如,当用户点击第一区域的“展开符号计算面板”后,可以在第三区域显示如图5所示的功能项,该功能项可以称为高级计算器,该功能项包括输入区51,输出区52和功能按钮区53。其中,输入区51中用于接收用户输入的信息,输入的信息是文本信息或者数学公式,功能按钮区53中设置操作按钮,例如,对用户在输入区输入的方程组进行解方程等,输出区52用于展示处理结果,例如方程组的解。Optionally, after receiving the click instruction for the function button for activating the third area, display the function item in the third area of the query result page, for example, when the user clicks "Expand Symbol Calculation Panel", the function item shown in Figure 5 can be displayed in the third area, the function item can be called an advanced calculator, and the function item includes an input area 51, an output area 52 and a function button area 53. Among them, the input area 51 is used to receive the information input by the user, the input information is text information or mathematical formula, and the operation button is set in the function button area 53, for example, solve the equation etc. to the equation group input by the user in the input area, output Area 52 is used to display processing results, such as the solution of a system of equations.

具体的,输出区中的信息可以是客户端从服务端获取的,从而实现了二次或更多次的查询。即,当触发第三区域显示后,该方法还可以包括:接收用户在所述功能项中输入的信息;根据所述输入的信息再次进行查询。Specifically, the information in the output area may be obtained by the client from the server, thereby implementing two or more queries. That is, after the display of the third area is triggered, the method may further include: receiving information input by the user in the function item; performing an inquiry again according to the input information.

可以理解的是,图5的位置关系也只是一种示例,也可以采用其他布局方式。It can be understood that the positional relationship in FIG. 5 is only an example, and other layout manners may also be adopted.

本实施例通过在查询词是数学计算信息时,查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项,可以丰富查询结果包含的信息,更适合于数学计算信息的查询,从而提升用户体验,增强用户粘性。另外,本实施例中的查询结果中不同区域包括可供操作的选项,可以使得结果不限于已有结果,可以从不同角度或维度查看结果,或者,对结果进行二次或更多次加工等。In this embodiment, when the query term is mathematical calculation information, the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the graphic corresponding to the mathematical calculation information, and the mathematical calculation information The function item for reprocessing can enrich the information contained in the query results, and is more suitable for the query of mathematical calculation information, thereby improving user experience and enhancing user stickiness. In addition, different areas in the query results in this embodiment include options available for operation, so that the results are not limited to the existing results, and the results can be viewed from different angles or dimensions, or the results can be processed twice or more, etc. .

图6是本发明另一实施例提出的数学计算信息的查询方法的流程示意图,该方法包括:Fig. 6 is a schematic flowchart of a query method for mathematical calculation information proposed by another embodiment of the present invention, the method includes:

S61:接收客户端发送的查询词。S61: Receive query words sent by the client.

服务端可以接收客户端发送的查询词。The server can receive query words sent by the client.

S62:在所述查询词是数学计算信息时,获取查询结果,其中,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项。S62: When the query term is mathematical calculation information, obtain a query result, wherein the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the mathematical calculation information corresponding to Graphics, a function item for reprocessing the mathematical calculation information.

其中,查询词可以是普通的文本信息,或者,查询词也可以是数学计算信息。为了提高针对性,服务端在接收到查询词后可以对查询词进行过滤处理,判断所述查询词是否是数学计算信息,当查询词是数学计算信息时采用本实施例的方法处理,在查询词是普通的文本信息时,将查询词发送给通常的文本信息的查询的服务端处理。其中,可以通过语义分析进行过滤处理。Wherein, the query word may be ordinary text information, or the query word may also be mathematical calculation information. In order to improve pertinence, after receiving the query word, the server can filter the query word to determine whether the query word is mathematical calculation information. When the query word is mathematical calculation information, the method of this embodiment is used for processing. When the word is common text information, the query word is sent to the query server of common text information for processing. Wherein, filtering processing may be performed through semantic analysis.

可选的,所述获取查询结果,包括:Optionally, the query result acquisition includes:

对所述查询词进行语义和语法分析,得到子查询词;Carrying out semantic and grammatical analysis to described query word, obtains sub-query word;

当在高频结果缓存服务器中不能查询到与所述子查询词对应的查询结果时,从预先设置的数学计算信息专用服务器获取所述查询结果。When the query result corresponding to the sub-query word cannot be found in the high-frequency result cache server, the query result is obtained from a preset dedicated server for mathematical calculation information.

可选的,当在所述高频结果缓存服务器可以获取对应的查询结果时,所述获取查询结果,还包括:Optionally, when the corresponding query result can be obtained in the high-frequency result cache server, the obtaining the query result further includes:

对从所述高频结果缓存服务器获取的结果,以及,从所述数学计算信息专用服务器获取的结果进行数据汇聚;performing data aggregation on the results obtained from the high-frequency result cache server and the results obtained from the mathematical calculation information dedicated server;

根据预设算法对数据汇聚后的结果进行处理,得到发送给客户端的查询结果。The result of data aggregation is processed according to the preset algorithm, and the query result sent to the client is obtained.

具体的,参见图7,服务端接收到查询词后,获取查询结果的流程可以包括:Specifically, referring to Figure 7, after the server receives the query words, the process of obtaining the query results may include:

S71:对查询词进行语义和语法分析,得到子查询词。S71: Perform semantic and grammatical analysis on the query words to obtain sub-query words.

例如,对过滤后的查询词,进一步进行自然语言分析,明确相关的语义信息,经过切词,语义树的构建,语法重现或者查询词(query)重构等,这样可以有助于服务端从机器的角度识别或者执行计算。通过上述一系列处理可以得到至少一个的子查询词。For example, further natural language analysis is performed on the filtered query words to clarify relevant semantic information, after word segmentation, semantic tree construction, grammar reproduction or query word (query) reconstruction, etc., which can help the server Recognize or perform computations from the machine's point of view. At least one sub-query word can be obtained through the above series of processing.

S72:判断在高频结果缓存服务器中是否可以查找到与子查询词对应的查询结果,若是,执行S73,否则,执行S74。S72: Determine whether the query result corresponding to the sub-query word can be found in the high-frequency result cache server, if yes, execute S73, otherwise, execute S74.

高频结果缓存服务器是通常的搜索引擎在查询时会采用的服务器,该服务器中存储有通过对大量的历史用户访问请求进行统计筛选出的高频请求及对应的结果。The high-frequency result cache server is a server commonly used by search engines when querying. The server stores high-frequency requests and corresponding results obtained through statistical screening of a large number of historical user access requests.

S73:从高频结果缓存服务器中获取结果。之后执行S75。S73: Obtain the result from the high-frequency result cache server. Then execute S75.

S74:从预先设置的数学计算信息专用服务器获取所述查询结果。S74: Obtain the query result from a preset dedicated server for mathematical calculation information.

预先设置的数学计算信息专用服务器可以包括:Pre-set dedicated servers for mathematical calculation information may include:

数学公式推导和计算引擎:用于公式计算,推导,或者推理,通过该引擎可以得到第一区域中展示的计算处理结果,例如展开公式。Mathematical formula derivation and calculation engine: used for formula calculation, derivation, or reasoning, through which the calculation and processing results shown in the first area can be obtained, such as expanded formulas.

数学公式图形图像矢量生成引擎:用于生成查询词对应的图形,通过该引擎可以得到第二区域中展示的图形。Mathematical formula graphics and image vector generation engine: used to generate graphics corresponding to query words, and the graphics displayed in the second area can be obtained through this engine.

数学专业知识检索和查询引擎:用于获取查询词相关的文本结果信息数据,该引擎获取的结果是文本信息,具体可以采用现有方式进行展示,例如,展示在第一区域,第二区域和第三区域之后。Mathematics professional knowledge retrieval and query engine: used to obtain the text result information data related to the query word. The result obtained by the engine is text information, which can be displayed in the existing way, for example, displayed in the first area, the second area and After the third area.

S75:对从所述高频结果缓存服务器获取的结果,以及,从所述数学计算信息专用服务器获取的结果进行数据汇聚,以及,根据预设算法对数据汇聚后的结果进行处理,得到发送给客户端的查询结果。S75: Perform data aggregation on the results obtained from the high-frequency result cache server and the results obtained from the mathematical calculation information dedicated server, and process the data-aggregated results according to a preset algorithm, and send them to The query result of the client.

在数据汇聚后,可以进行排序,标红,出图等处理,并根据查询结果页面的页面特点进行布局和生成结果页面。After the data is aggregated, it can be processed by sorting, red marking, drawing, etc., and the layout and generation of the result page are carried out according to the page characteristics of the query result page.

具体的查询结果包括的内容可以参见上述实施例所示,在此不再赘述。For the content included in the specific query results, refer to the above-mentioned embodiments, and details are not repeated here.

S63:将所述查询结果发送给所述客户端,以使所述客户端展示所述查询结果。S63: Send the query result to the client, so that the client displays the query result.

服务端获取查询结果后,可以将查询结果发送给客户端,客户端进行展示,展示结果可以参见上述实施例,在此不再赘述。After the server obtains the query result, it can send the query result to the client, and the client can display it. Refer to the above-mentioned embodiment for the display result, and details will not be repeated here.

本实施例通过获取查询结果,查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项,可以丰富查询结果包含的信息,更适合于数学计算信息的查询,从而提升用户体验,增强用户粘性。另外,本实施例中的查询结果中不同区域包括可供操作的选项,可以使得结果不限于已有结果,可以从不同角度或维度查看结果,或者,对结果进行二次或更多次加工等。In this embodiment, the query result is acquired, and the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the graphic corresponding to the mathematical calculation information, and the function of reprocessing the mathematical calculation information Items can enrich the information contained in the query results, and are more suitable for the query of mathematical calculation information, thereby improving user experience and enhancing user stickiness. In addition, different areas in the query results in this embodiment include options available for operation, so that the results are not limited to the existing results, and the results can be viewed from different angles or dimensions, or the results can be processed twice or more, etc. .

图8是本发明另一实施例提出的数学计算信息的查询装置的结构示意图,该装置80包括:接收模块81,获取模块82和展示模块83。FIG. 8 is a schematic structural diagram of a query device for mathematical calculation information proposed by another embodiment of the present invention. The device 80 includes: a receiving module 81 , an obtaining module 82 and a display module 83 .

接收模块81用于接收查询词;Receiving module 81 is used for receiving query words;

例如,该装置位于搜索引擎的客户端,接收用户在搜索框中输入的查询词。For example, the device is located at the client side of a search engine and receives query words input by the user in the search box.

获取模块82用于根据所述查询词获取查询结果,其中,当所述查询词是数学计算信息时,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;The obtaining module 82 is configured to obtain a query result according to the query word, wherein, when the query word is mathematical calculation information, the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information , a graph corresponding to the mathematical calculation information, a function item for reprocessing the mathematical calculation information;

客户端接收到查询词后,可以将查询词发送给服务端,以使服务端获取相应的查询结果,以及,客户端接收服务端发送的查询结果。After receiving the query words, the client can send the query words to the server, so that the server can obtain corresponding query results, and the client can receive the query results sent by the server.

其中,服务端接收到客户端发送的查询词后,可以对查询词进行语义和语法分析等,判断查询词是否是数学计算信息,当查询词是数学计算信息时,可以在数学计算信息专用服务器中获取查询结果。Among them, after the server receives the query words sent by the client, it can perform semantic and grammatical analysis on the query words to determine whether the query words are mathematical calculation information. Get query results.

数学计算信息对应的计算处理结果例如查询词对应的数学方程式的展开公式,计算结果,或者,推理结果中的一项或多项。Calculation processing results corresponding to mathematical calculation information, for example, expansion formulas of mathematical equations corresponding to query words, calculation results, or one or more items of inference results.

例如,查询词是“x加y的平方”或者“(x+y)^2”时,对应的计算处理结果可以包括展开公式:x^2+2xy+y^2。For example, when the query word is "the square of x plus y" or "(x+y)^2", the corresponding calculation processing result may include an expansion formula: x^2+2xy+y^2.

数学计算信息对应的图形是根据数学计算信息画出的图形,例如,在三维坐标系中画出的(x+y)^2的图形。The graph corresponding to the mathematical calculation information is a graph drawn according to the mathematical calculation information, for example, a graph of (x+y)^2 drawn in a three-dimensional coordinate system.

对数学计算信息进行再次处理的功能项用于对查询词进行再次操作,例如,对(x+y)^2进行再次编辑等,编辑时可以采用数学公式编辑或者文本编辑。The function item for re-processing the mathematical calculation information is used to re-operate the query word, for example, re-edit (x+y)^2, etc., and can use mathematical formula editing or text editing when editing.

展示模块83用于展示所述查询结果。The display module 83 is used to display the query results.

可选的,当所述查询结果包括:所述计算处理结果,所述图形,以及所述功能项时,所述展示模块83具体用于:Optionally, when the query result includes: the calculation and processing result, the graph, and the function item, the presentation module 83 is specifically configured to:

将所述计算处理结果展示在查询结果页面的第一区域;Displaying the calculation and processing results in the first area of the query result page;

将所述图形展示在查询结果页面的第二区域;displaying the graph in the second area of the query result page;

将所述功能项展示在查询结果页面的第三区域。The function item is displayed in the third area of the query result page.

例如,参见图2,在查询结果页面上包括第一区域21,第二区域22和第三区域23。当查询词24是“x加y的平方”,可以在第一区域21中展示计算处理结果,例如,参见图2,第一区域中包括查询词对应的展开公式:x^2+2xy+y^2。可以在第二区域22中展示“x加y的平方”对应的图形。可以在第三区域展示功能项,可以理解的是,初始时,功能项可以为空,当激活功能项时,功能项才进行展示。For example, referring to FIG. 2 , the query result page includes a first area 21 , a second area 22 and a third area 23 . When the query word 24 is "x plus the square of y", the calculation and processing results can be displayed in the first area 21, for example, referring to Figure 2, the expansion formula corresponding to the query word is included in the first area: x^2+2xy+y ^2. A graph corresponding to "x plus the square of y" may be displayed in the second area 22 . The function items may be displayed in the third area. It is understandable that initially, the function items may be empty, and the function items are displayed only when the function items are activated.

可选的,所述第一区域还包括:Optionally, the first area also includes:

用于对所述计算处理结果进行操作的功能按钮。A function button used to operate on the calculation processing result.

可选的,所述第一区域还包括:Optionally, the first area also includes:

用于激活第三区域的功能按钮。Function button for activating the third zone.

参见图3,第一区域中可以包括内容标签区31,内容标签区中用于展示计算处理结果,第一区域中还可以包括功能按钮区32,功能按钮区包括用于对所述计算处理结果进行操作的功能按钮,例如,功能按钮是求导,积分或者解方程等。第一区域中还可以包括图标区33,图标区33中设置用于标识计算处理结果的图标,可以理解的是,图3中的图标只是一种示例,也可以采用其他图标。Referring to Fig. 3, a content label area 31 may be included in the first area, and the content label area may be used to display calculation processing results, and a function button area 32 may also be included in the first area, and the function button area includes a function button area for displaying the calculation processing results. Function buttons for operations, for example, the function buttons are derivation, integration, or equation solving. The first area may further include an icon area 33, where an icon for identifying a calculation processing result is set. It can be understood that the icon in FIG. 3 is only an example, and other icons may also be used.

进一步的,第一区域中还可以包括:用于激活第三区域的功能按钮,该功能按钮也位于功能按钮区32,参见图3,该功能按钮用“展开符号计算面板”为例,当用户点击该功能按钮后,可以触发功能项在第三区域显示。Further, the first area may also include: a function button for activating the third area, the function button is also located in the function button area 32, see FIG. After clicking the function button, the function item can be triggered to be displayed in the third area.

如图3所示,在第一区域中,所述图标区位于所述第一区域的左侧,所述内容标签区位于所述图标区的右上方,所述功能按钮区位于所述图标区的右下方。当然,可以理解的是,图3的位置关系也只是一种示例,也可以采用其他布局方式。As shown in Figure 3, in the first area, the icon area is located on the left side of the first area, the content label area is located at the upper right of the icon area, and the function button area is located in the icon area the bottom right of the . Of course, it can be understood that the positional relationship in FIG. 3 is only an example, and other layouts may also be used.

可选的,所述第二区域还包括:Optionally, the second area also includes:

用于改变所述图形显示方式的功能按钮。Function buttons for changing the way the graphics are displayed.

参见图4,第二区域中可以包括图形展示区41,图形展示区用于展示查询词对应的图形,可以理解的是,当不能完成图形的绘制时,该区域可以为空。第二区域中还可以包括图形功能控制区42,图形功能控制区42中设置用于改变所述图形显示方式的功能按钮,例如,旋转健,x/y/z轴旋转键,比例尺缩放按钮等,通过这些按钮可以从不同的视觉或维度获取不同的显示效果。第二区域还可以包括图形标签区43,图形标签区43中设置用于标识图形的标签,例如当前图形对应的数学方程式等。Referring to FIG. 4 , the second area may include a graphic display area 41 , which is used to display the graphic corresponding to the query word. It can be understood that, when the drawing of the graphic cannot be completed, this area may be empty. The second area may also include a graphic function control area 42, where function buttons for changing the graphic display mode are set in the graphic function control area 42, such as rotation keys, x/y/z axis rotation keys, scaling buttons, etc. , through these buttons, different display effects can be obtained from different vision or dimensions. The second area may further include a graphic label area 43, where a label for identifying the graphic is set, such as a mathematical equation corresponding to the current graphic.

如图4所示,在第二区域中,所述图形标签区位于所述第二区域的上侧,所述图形展示区位于所述图形标签区的下方,所述图形功能控制区位于所述图形展示区内。当然,可以理解的是,图4的位置关系也只是一种示例,也可以采用其他布局方式。As shown in Figure 4, in the second area, the graphic label area is located on the upper side of the second area, the graphic display area is located below the graphic label area, and the graphic function control area is located in the in the graphics display area. Of course, it can be understood that the positional relationship in FIG. 4 is only an example, and other layouts may also be used.

可选的,所述展示模块83进一步具体用于:Optionally, the display module 83 is further specifically used for:

接收到对所述用于激活第三区域的功能按钮的点击指令后,将所述功能项展示在查询结果页面的第三区域。After receiving a click instruction on the function button for activating the third area, the function item is displayed in the third area of the query result page.

例如,当用户点击第一区域的“展开符号计算面板”后,可以在第三区域显示如图5所示的功能项,该功能项可以称为高级计算器,该功能项包括输入区51,输出区52和功能按钮区53。其中,输入区51中用于接收用户输入的信息,输入的信息是文本信息或者数学公式,功能按钮区53中设置操作按钮,例如,对用户在输入区输入的方程组进行解方程等,输出区52用于展示处理结果,例如方程组的解。For example, when the user clicks on the "expand symbol calculation panel" in the first area, the function item shown in Figure 5 can be displayed in the third area, the function item can be called an advanced calculator, and the function item includes an input area 51, Output area 52 and function button area 53 . Among them, the input area 51 is used to receive the information input by the user, the input information is text information or mathematical formula, and the operation button is set in the function button area 53, for example, solve the equation etc. to the equation group input by the user in the input area, output Area 52 is used to display processing results, such as the solution of a system of equations.

当然,可以理解的是,图5的位置关系也只是一种示例,也可以采用其他布局方式。Certainly, it can be understood that the positional relationship in FIG. 5 is only an example, and other layout manners may also be adopted.

另一实施例中,参见图9,该装置80还包括:In another embodiment, referring to FIG. 9, the device 80 further includes:

查询模块84,用于接收用户在所述功能项中输入的信息;根据所述输入的信息再次进行查询。The query module 84 is configured to receive the information input by the user in the function item; perform the query again according to the input information.

具体的,输出区中的信息可以是客户端从服务端获取的,从而实现了二次或更多次的查询。Specifically, the information in the output area may be obtained by the client from the server, thereby implementing two or more queries.

本实施例通过在查询词是数学计算信息时,查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项,可以丰富查询结果包含的信息,更适合于数学计算信息的查询,从而提升用户体验,增强用户粘性。另外,本实施例中的查询结果中不同区域包括可供操作的选项,可以使得结果不限于已有结果,可以从不同角度或维度查看结果,或者,对结果进行二次或更多次加工等。In this embodiment, when the query term is mathematical calculation information, the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the graphic corresponding to the mathematical calculation information, and the mathematical calculation information The function item for reprocessing can enrich the information contained in the query results, and is more suitable for the query of mathematical calculation information, thereby improving user experience and enhancing user stickiness. In addition, different areas in the query results in this embodiment include options available for operation, so that the results are not limited to the existing results, and the results can be viewed from different angles or dimensions, or the results can be processed twice or more, etc. .

图10是本发明另一实施例提出的数学计算信息的查询装置的结构示意图,该装置100包括接收模块101,获取模块102和发送模块103。FIG. 10 is a schematic structural diagram of a query device for mathematical calculation information proposed by another embodiment of the present invention. The device 100 includes a receiving module 101 , an obtaining module 102 and a sending module 103 .

接收模块101用于接收客户端发送的查询词;The receiving module 101 is used to receive the query words sent by the client;

该装置可以位于服务端,可以接收客户端发送的查询词。The device can be located at the server and can receive query words sent by the client.

获取模块102用于在所述查询词是数学计算信息时,获取查询结果,其中,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;The acquisition module 102 is configured to acquire a query result when the query term is mathematical calculation information, wherein the query result includes at least one of the following items: a calculation processing result corresponding to the mathematical calculation information, the mathematical calculation The graphics corresponding to the information, and the function item for reprocessing the mathematical calculation information;

另一实施例中,该装置100还包括:In another embodiment, the device 100 also includes:

过滤模块104,用于对所述查询词进行过滤处理,判断所述查询词是否是数学计算信息。The filtering module 104 is configured to perform filtering processing on the query word, and determine whether the query word is mathematical calculation information.

其中,查询词可以是普通的文本信息,或者,查询词也可以是数学计算信息。为了提高针对性,服务端在接收到查询词后可以对查询词进行过滤处理,判断所述查询词是否是数学计算信息,当查询词是数学计算信息时采用本实施例的方法处理,在查询词是普通的文本信息时,将查询词发送给通常的文本信息的查询的服务端处理。其中,可以通过语义分析进行过滤处理。Wherein, the query word may be ordinary text information, or the query word may also be mathematical calculation information. In order to improve pertinence, after receiving the query word, the server can filter the query word to determine whether the query word is mathematical calculation information. When the query word is mathematical calculation information, the method of this embodiment is used for processing. When the word is common text information, the query word is sent to the query server of common text information for processing. Wherein, filtering processing may be performed through semantic analysis.

可选的,所述获取模块102具体用于:Optionally, the obtaining module 102 is specifically configured to:

对所述查询词进行语义和语法分析,得到子查询词;Carrying out semantic and grammatical analysis to described query word, obtains sub-query word;

当在高频结果缓存服务器中不能查询到与所述子查询词对应的查询结果时,从预先设置的数学计算信息专用服务器获取所述查询结果。When the query result corresponding to the sub-query word cannot be found in the high-frequency result cache server, the query result is obtained from a preset dedicated server for mathematical calculation information.

可选的,当在所述高频结果缓存服务器可以获取对应的查询结果时,所述获取模块102还具体用于:Optionally, when the corresponding query result can be obtained in the high-frequency result cache server, the obtaining module 102 is further specifically configured to:

对从所述高频结果缓存服务器获取的结果,以及,从所述数学计算信息专用服务器获取的结果进行数据汇聚;performing data aggregation on the results obtained from the high-frequency result cache server and the results obtained from the mathematical calculation information dedicated server;

根据预设算法对数据汇聚后的结果进行处理,得到发送给客户端的查询结果。The result of data aggregation is processed according to the preset algorithm, and the query result sent to the client is obtained.

具体的获取查询结果的流程可以参见图7所示的实施例,在此不再赘述。For a specific process of obtaining query results, reference may be made to the embodiment shown in FIG. 7 , which will not be repeated here.

发送模块103用于将所述查询结果发送给所述客户端,以使所述客户端展示所述查询结果。The sending module 103 is configured to send the query result to the client, so that the client displays the query result.

服务端获取查询结果后,可以将查询结果发送给客户端,客户端进行展示,展示结果可以参见上述实施例,在此不再赘述。After the server obtains the query result, it can send the query result to the client, and the client can display it. Refer to the above-mentioned embodiment for the display result, and details will not be repeated here.

本实施例通过获取查询结果,查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项,可以丰富查询结果包含的信息,更适合于数学计算信息的查询,从而提升用户体验,增强用户粘性。另外,本实施例中的查询结果中不同区域包括可供操作的选项,可以使得结果不限于已有结果,可以从不同角度或维度查看结果,或者,对结果进行二次或更多次加工等。In this embodiment, the query result is acquired, and the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the graphic corresponding to the mathematical calculation information, and the function of reprocessing the mathematical calculation information Items can enrich the information contained in the query results, and are more suitable for the query of mathematical calculation information, thereby improving user experience and enhancing user stickiness. In addition, different areas in the query results in this embodiment include options available for operation, so that the results are not limited to the existing results, and the results can be viewed from different angles or dimensions, or the results can be processed twice or more. .

需要说明的是,在本发明的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。It should be noted that, in the description of the present invention, the terms "first", "second" and so on are only used for description purposes, and should not be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

Claims (28)

1.一种数学计算信息的查询方法,其特征在于,包括:1. A query method for mathematical calculation information, comprising: 接收查询词;receive query words; 根据所述查询词获取查询结果,其中,当所述查询词是数学计算信息时,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;The query result is obtained according to the query word, wherein, when the query word is mathematical calculation information, the query result includes at least one of the following items: the calculation processing result corresponding to the mathematical calculation information, the mathematical calculation The graphics corresponding to the information, and the function item for reprocessing the mathematical calculation information; 展示所述查询结果。Display the query results. 2.根据权利要求1所述的方法,其特征在于,当所述查询结果包括:所述计算处理结果,所述图形,以及所述功能项时,所述展示所述查询结果,包括:2. The method according to claim 1, wherein when the query result includes: the calculation processing result, the graph, and the function item, the displaying the query result includes: 将所述计算处理结果展示在查询结果页面的第一区域;Displaying the calculation and processing results in the first area of the query result page; 将所述图形展示在查询结果页面的第二区域;displaying the graph in the second area of the query result page; 将所述功能项展示在查询结果页面的第三区域。The function item is displayed in the third area of the query result page. 3.根据权利要求2所述的方法,其特征在于,所述第一区域还包括:3. The method according to claim 2, wherein the first area further comprises: 用于对所述计算处理结果进行操作的功能按钮。A function button used to operate on the calculation processing result. 4.根据权利要求3所述的方法,其特征在于,所述第一区域还包括:4. The method according to claim 3, wherein the first region further comprises: 用于激活第三区域的功能按钮。Function button for activating the third zone. 5.根据权利要求4所述的方法,其特征在于,所述第一区域还包括图标,所述第一区域被划分为内容标签区,功能按钮区和图标区,所述计算处理结果位于所述内容标签区,所述用于对所述计算处理结果进行操作的功能按钮以及所述用于激活第三区域的功能按钮位于所述功能按钮区,所述图标位于所述图标区,其中,所述图标区位于所述第一区域的左侧,所述内容标签区位于所述图标区的右上方,所述功能按钮区位于所述图标区的右下方。5. The method according to claim 4, wherein the first area further includes icons, the first area is divided into a content label area, a function button area and an icon area, and the calculation processing result is located in the In the content label area, the function button for operating the calculation processing result and the function button for activating the third area are located in the function button area, and the icon is located in the icon area, wherein, The icon area is located on the left side of the first area, the content label area is located at the upper right of the icon area, and the function button area is located at the lower right of the icon area. 6.根据权利要求2所述的方法,其特征在于,所述第二区域还包括:6. The method according to claim 2, wherein the second area further comprises: 用于改变所述图形显示方式的功能按钮。Function buttons for changing the way the graphics are displayed. 7.根据权利要求6所述的方法,其特征在于,所述第二区域还包括标签,所述第二区域被划分为图形展示区,图形功能控制区和图形标签区,所述图形位于所述图形展示区,所述用于改变所述图形显示方式的功能按钮位于所述图形功能控制区,所述标签位于所述图形标签区,其中,所述图形标签区位于所述第二区域的上侧,所述图形展示区位于所述图形标签区的下方,所述图形功能控制区位于所述图形展示区内。7. The method according to claim 6, wherein the second area further includes a label, and the second area is divided into a graphic display area, a graphic function control area and a graphic label area, and the graphic is located in the The graphic display area, the function button for changing the graphic display mode is located in the graphic function control area, and the label is located in the graphic label area, wherein the graphic label area is located in the second area On the upper side, the graphic display area is located below the graphic label area, and the graphic function control area is located in the graphic display area. 8.根据权利要求2所述的方法,其特征在于,所述第三区域被划分为输入区,输出区和功能按钮区,所述输入区用于接收用户输入的信息,所述功能按钮区用于设置对所述输入的信息进行操作的功能按钮,所述输出区用于输出对所述输入的信息进行操作后的结果。8. The method according to claim 2, wherein the third area is divided into an input area, an output area and a function button area, the input area is used to receive user input information, and the function button area It is used to set a function button for operating the input information, and the output area is used for outputting the result of the operation on the input information. 9.根据权利要求4所述的方法,其特征在于,所述将所述功能项展示在查询结果页面的第三区域,包括:9. The method according to claim 4, wherein the displaying the function item in the third area of the query result page comprises: 接收到对所述用于激活第三区域的功能按钮的点击指令后,将所述功能项展示在查询结果页面的第三区域。After receiving a click instruction on the function button for activating the third area, the function item is displayed in the third area of the query result page. 10.根据权利要求9所述的方法,其特征在于,所述将所述功能项展示在查询结果页面的第三区域之后,所述方法还包括:10. The method according to claim 9, characterized in that, after displaying the function item in the third area of the query result page, the method further comprises: 接收用户在所述功能项中输入的信息;receiving information input by the user in the function item; 根据所述输入的信息再次进行查询。Search again according to the input information. 11.一种数学计算信息的查询方法,其特征在于,包括:11. A query method for mathematical calculation information, comprising: 接收客户端发送的查询词;Receive query words sent by the client; 在所述查询词是数学计算信息时,获取查询结果,其中,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;When the query word is mathematical calculation information, a query result is obtained, wherein the query result includes at least one of the following items: a calculation processing result corresponding to the mathematical calculation information, a graph corresponding to the mathematical calculation information, A function item for reprocessing the mathematical calculation information; 将所述查询结果发送给所述客户端,以使所述客户端展示所述查询结果。sending the query result to the client, so that the client displays the query result. 12.根据权利要求11所述的方法,其特征在于,所述接收客户端发送的查询词之后,所述方法还包括:12. The method according to claim 11, characterized in that, after receiving the query word sent by the client, the method further comprises: 对所述查询词进行过滤处理,判断所述查询词是否是数学计算信息。Filtering is performed on the query words, and it is judged whether the query words are mathematical calculation information. 13.根据权利要求11所述的方法,其特征在于,所述获取查询结果,包括:13. The method according to claim 11, wherein said acquiring query results comprises: 对所述查询词进行语义和语法分析,得到子查询词;Carrying out semantic and grammatical analysis to described query word, obtains sub-query word; 当在高频结果缓存服务器中不能查询到与所述子查询词对应的查询结果时,从预先设置的数学计算信息专用服务器获取所述查询结果。When the query result corresponding to the sub-query word cannot be found in the high-frequency result cache server, the query result is obtained from a preset dedicated server for mathematical calculation information. 14.根据权利要求13所述的方法,其特征在于,当在所述高频结果缓存服务器可以获取对应的查询结果时,所述获取查询结果,还包括:14. The method according to claim 13, wherein when the corresponding query result can be obtained at the high-frequency result cache server, said obtaining the query result further comprises: 对从所述高频结果缓存服务器获取的结果,以及,从所述数学计算信息专用服务器获取的结果进行数据汇聚;performing data aggregation on the results obtained from the high-frequency result cache server and the results obtained from the mathematical calculation information dedicated server; 根据预设算法对数据汇聚后的结果进行处理,得到发送给客户端的查询结果。The result of data aggregation is processed according to the preset algorithm, and the query result sent to the client is obtained. 15.一种数学计算信息的查询装置,其特征在于,包括:15. A query device for mathematical calculation information, characterized in that it comprises: 接收模块,用于接收查询词;The receiving module is used to receive query words; 获取模块,用于根据所述查询词获取查询结果,其中,当所述查询词是数学计算信息时,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;An acquisition module, configured to acquire a query result according to the query word, wherein, when the query word is mathematical calculation information, the query result includes at least one of the following items: a calculation processing result corresponding to the mathematical calculation information , a graph corresponding to the mathematical calculation information, a function item for reprocessing the mathematical calculation information; 展示模块,用于展示所述查询结果。The display module is used to display the query result. 16.根据权利要求15所述的装置,其特征在于,当所述查询结果包括:所述计算处理结果,所述图形,以及所述功能项时,所述展示模块具体用于:16. The device according to claim 15, wherein when the query result includes: the calculation processing result, the graph, and the function item, the display module is specifically used for: 将所述计算处理结果展示在查询结果页面的第一区域;Displaying the calculation and processing results in the first area of the query result page; 将所述图形展示在查询结果页面的第二区域;displaying the graph in the second area of the query result page; 将所述功能项展示在查询结果页面的第三区域。The function item is displayed in the third area of the query result page. 17.根据权利要求16所述的装置,其特征在于,所述第一区域还包括:17. The device according to claim 16, wherein the first area further comprises: 用于对所述计算处理结果进行操作的功能按钮。A function button used to operate on the calculation processing result. 18.根据权利要求16所述的装置,其特征在于,所述第一区域还包括:18. The device of claim 16, wherein the first area further comprises: 用于激活第三区域的功能按钮。Function button for activating the third zone. 19.根据权利要求18所述的装置,其特征在于,所述第一区域还包括图标,所述第一区域被划分为内容标签区,功能按钮区和图标区,所述计算处理结果位于所述内容标签区,所述用于对所述计算处理结果进行操作的功能按钮以及所述用于激活第三区域的功能按钮位于所述功能按钮区,所述图标位于所述图标区,其中,所述图标区位于所述第一区域的左侧,所述内容标签区位于所述图标区的右上方,所述功能按钮区位于所述图标区的右下方。19. The device according to claim 18, wherein the first area further includes icons, the first area is divided into a content label area, a function button area and an icon area, and the calculation processing result is located in the In the content label area, the function button for operating the calculation processing result and the function button for activating the third area are located in the function button area, and the icon is located in the icon area, wherein, The icon area is located on the left side of the first area, the content label area is located at the upper right of the icon area, and the function button area is located at the lower right of the icon area. 20.根据权利要求16所述的装置,其特征在于,所述第二区域还包括:20. The device of claim 16, wherein the second region further comprises: 用于改变所述图形显示方式的功能按钮。Function buttons for changing the way the graphics are displayed. 21.根据权利要求20所述的装置,其特征在于,所述第二区域还包括标签,所述第二区域被划分为图形展示区,图形功能控制区和图形标签区,所述图形位于所述图形展示区,所述用于改变所述图形显示方式的功能按钮位于所述图形功能控制区,所述标签位于所述图形标签区,其中,所述图形标签区位于所述第二区域的上侧,所述图形展示区位于所述图形标签区的下方,所述图形功能控制区位于所述图形展示区内。21. The device according to claim 20, wherein the second area further includes a label, and the second area is divided into a graphic display area, a graphic function control area and a graphic label area, and the graphic is located in the The graphic display area, the function button for changing the graphic display mode is located in the graphic function control area, and the label is located in the graphic label area, wherein the graphic label area is located in the second area On the upper side, the graphic display area is located below the graphic label area, and the graphic function control area is located in the graphic display area. 22.根据权利要求16所述的装置,其特征在于,所述第三区域被划分为输入区,输出区和功能按钮区,所述输入区用于接收用户输入的信息,所述功能按钮区用于设置对所述输入的信息进行操作的功能按钮,所述输出区用于输出对所述输入的信息进行操作后的结果。22. The device according to claim 16, wherein the third area is divided into an input area, an output area and a function button area, the input area is used to receive information input by the user, and the function button area It is used to set a function button for operating the input information, and the output area is used for outputting the result of the operation on the input information. 23.根据权利要求18所述的装置,其特征在于,所述展示模块进一步具体用于:23. The device according to claim 18, wherein the display module is further specifically used for: 接收到对所述用于激活第三区域的功能按钮的点击指令后,将所述功能项展示在查询结果页面的第三区域。After receiving a click instruction on the function button for activating the third area, the function item is displayed in the third area of the query result page. 24.根据权利要求23所述的装置,其特征在于,还包括:24. The apparatus of claim 23, further comprising: 查询模块,用于接收用户在所述功能项中输入的信息;根据所述输入的信息再次进行查询。The inquiry module is used to receive the information input by the user in the function item; and perform an inquiry again according to the input information. 25.一种数学计算信息的查询装置,其特征在于,包括:25. A query device for mathematical calculation information, characterized in that it comprises: 接收模块,用于接收客户端发送的查询词;The receiving module is used to receive the query words sent by the client; 获取模块,用于在所述查询词是数学计算信息时,获取查询结果,其中,所述查询结果包括如下项中的至少一项:所述数学计算信息对应的计算处理结果,所述数学计算信息对应的图形,对所述数学计算信息进行再次处理的功能项;An acquisition module, configured to acquire a query result when the query term is mathematical calculation information, wherein the query result includes at least one of the following items: a calculation processing result corresponding to the mathematical calculation information, and the mathematical calculation The graphics corresponding to the information, and the function item for reprocessing the mathematical calculation information; 发送模块,用于将所述查询结果发送给所述客户端,以使所述客户端展示所述查询结果。A sending module, configured to send the query result to the client, so that the client displays the query result. 26.根据权利要求25所述的装置,其特征在于,还包括:26. The apparatus of claim 25, further comprising: 过滤模块,用于对所述查询词进行过滤处理,判断所述查询词是否是数学计算信息。The filtering module is configured to perform filtering processing on the query words, and judge whether the query words are mathematical calculation information. 27.根据权利要求25所述的装置,其特征在于,所述获取模块具体用于:27. The device according to claim 25, wherein the acquiring module is specifically used for: 对所述查询词进行语义和语法分析,得到子查询词;Carrying out semantic and grammatical analysis to described query word, obtains sub-query word; 当在高频结果缓存服务器中不能查询到与所述子查询词对应的查询结果时,从预先设置的数学计算信息专用服务器获取所述查询结果。When the query result corresponding to the sub-query word cannot be found in the high-frequency result cache server, the query result is obtained from a preset dedicated server for mathematical calculation information. 28.根据权利要求25所述的装置,其特征在于,当在所述高频结果缓存服务器可以获取对应的查询结果时,所述获取模块还具体用于:28. The device according to claim 25, wherein when the corresponding query result can be obtained in the high-frequency result cache server, the obtaining module is further specifically used for: 对从所述高频结果缓存服务器获取的结果,以及,从所述数学计算信息专用服务器获取的结果进行数据汇聚;performing data aggregation on the results obtained from the high-frequency result cache server and the results obtained from the mathematical calculation information dedicated server; 根据预设算法对数据汇聚后的结果进行处理,得到发送给客户端的查询结果。The result of data aggregation is processed according to the preset algorithm, and the query result sent to the client is obtained.
CN201410788181.9A 2014-12-17 2014-12-17 Method and device for inquiring mathematic calculation information Pending CN104462466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410788181.9A CN104462466A (en) 2014-12-17 2014-12-17 Method and device for inquiring mathematic calculation information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410788181.9A CN104462466A (en) 2014-12-17 2014-12-17 Method and device for inquiring mathematic calculation information

Publications (1)

Publication Number Publication Date
CN104462466A true CN104462466A (en) 2015-03-25

Family

ID=52908501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410788181.9A Pending CN104462466A (en) 2014-12-17 2014-12-17 Method and device for inquiring mathematic calculation information

Country Status (1)

Country Link
CN (1) CN104462466A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735873A (en) * 2002-09-30 2006-02-15 卡西欧计算机株式会社 Graphical Display Controls and Programs
CN102663138A (en) * 2012-05-03 2012-09-12 北京大学 Method and device for inputting formula query terms
CN103197875A (en) * 2011-09-29 2013-07-10 卡西欧计算机株式会社 Electronic device, display system, and method of displaying a display screen of the electronic device
CN103279545A (en) * 2013-06-05 2013-09-04 上海电机学院 Method for preliminarily retrieving images
CN103299292A (en) * 2010-12-02 2013-09-11 Sk电信有限公司 Natural language and mathematical formula processing method and device therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735873A (en) * 2002-09-30 2006-02-15 卡西欧计算机株式会社 Graphical Display Controls and Programs
CN103299292A (en) * 2010-12-02 2013-09-11 Sk电信有限公司 Natural language and mathematical formula processing method and device therefor
CN103197875A (en) * 2011-09-29 2013-07-10 卡西欧计算机株式会社 Electronic device, display system, and method of displaying a display screen of the electronic device
CN102663138A (en) * 2012-05-03 2012-09-12 北京大学 Method and device for inputting formula query terms
CN103279545A (en) * 2013-06-05 2013-09-04 上海电机学院 Method for preliminarily retrieving images

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MZCRYS: "公式搜索", 《百度百科》 *

Similar Documents

Publication Publication Date Title
US10976914B2 (en) Direct manipulation interface for data analysis
Roth Cartographic interaction primitives: Framework and synthesis
US9921732B2 (en) Radial graphs for visualizing data in real-time
JP2020024698A (en) Method, apparatus, apparatus, and computer-readable storage medium for generating knowledge graph
US9563674B2 (en) Data exploration user interface
CN111881224A (en) A method and system for multidimensional data analysis
US9576383B2 (en) Interactive chart authoring through chart merging
KR101773574B1 (en) Method for chart visualizing of data table
US20120221553A1 (en) Methods for electronic document searching and graphically representing electronic document searches
JP2015191655A (en) Method and apparatus for generating recommendation page
US20150052116A1 (en) Searching and classifying information about geographic objects within a defined area of an electronic map
US12113873B2 (en) Techniques for analyzing the proficiency of users of software applications in real-time
CN102411614A (en) Display Of Image Search Results
JP2016524229A (en) Search recommendation method and apparatus
CN107408116A (en) Using Dynamic Knowledge Graphs to Facilitate the Discovery of Information Items
CN104408077B (en) Picture shows method, shows system and terminal
CN103207906B (en) The offer method of Search Results and search engine
US20160026643A1 (en) Presenting suggested facets
JP6419969B2 (en) Method and apparatus for providing image presentation information
US20190005156A1 (en) Data flow visualization system
JP2008242543A5 (en)
KR101910179B1 (en) Web-based chart library system for data visualization
US20180039646A1 (en) Method and apparatus for storing access log based on keyword
CN102789480A (en) Method for displaying historical query results of electronic map and client side
CN104462466A (en) Method and device for inquiring mathematic calculation information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150325