Problem-solving methods and apparatus
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-03
- Publication Date
- 2026-08-14
AI Technical Summary
[0003]然而,当前不同地区使用的竖式规则不同,导致解题系统无法根据不同的竖式规则生成对应的解题步骤和结果,影响部分用户的使用体验
[0010]本申请提供的解题方法,接收针对待处理题目的解题请求,其中,所述待处理题目可以通过竖式进行计算;获取所述待处理题目对应的解题格式信息;根据所述解题格式信息确定所述待处理题目对应的目标竖式规格信息;基于所述目标竖式规格信息和所述待处理题目,生成所述待处理题目的竖式解题结果。
Smart Images

Figure CN115983200B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a problem-solving method. This application also relates to a problem-solving apparatus, a computing device, and a computer-readable storage medium. Background Technology
[0002] With the continuous development of computer technology, users can use problem-solving software to solve math problems in a vertical format and display the solutions to the users, making it easier for them to learn the problem-solving methods.
[0003] However, different regions currently use different vertical calculation rules, which prevents the problem-solving system from generating corresponding solution steps and results based on different vertical calculation rules, thus affecting the user experience for some users.
[0004] Therefore, how to generate vertical solution results for questions by combining the usage needs of users in different regions has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] In view of this, embodiments of this application provide a problem-solving method. This application also relates to a problem-solving apparatus, a computing device, and a computer-readable storage medium, to solve the aforementioned problems existing in the prior art.
[0006] According to a first aspect of the embodiments of this application, a problem-solving method is provided, including: Receive a problem-solving request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation; Obtain the solution format information corresponding to the problem to be processed; Determine the target vertical format information corresponding to the problem to be processed based on the problem-solving format information; Based on the target vertical specification information and the problem to be processed, the vertical solution result of the problem to be processed is generated.
[0007] According to a second aspect of the embodiments of this application, a problem-solving apparatus is provided, comprising: The receiving module is configured to receive a solution request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation. The acquisition module is configured to acquire the solution format information corresponding to the question to be processed. The determination module is configured to determine the target vertical specification information corresponding to the problem to be processed based on the problem-solving format information; The generation module is configured to generate the vertical solution result of the problem to be processed based on the target vertical specification information and the problem to be processed.
[0008] According to a third aspect of the embodiments of this application, a computing device is provided, including a memory, a processor, and computer instructions stored in the memory and executable on the processor, wherein the processor executes the computer instructions to implement the steps of the problem-solving method.
[0009] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided that stores computer instructions, which, when executed by a processor, implement the steps of the problem-solving method.
[0010] The problem-solving method provided in this application receives a problem-solving request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation; obtains the problem-solving format information corresponding to the problem to be processed; determines the target vertical calculation specification information corresponding to the problem to be processed based on the problem-solving format information; and generates the vertical calculation solution result of the problem to be processed based on the target vertical calculation specification information and the problem to be processed.
[0011] One embodiment of this application implements the following: determining the solution format information corresponding to the problem to be processed, so as to determine the current set of solution methods for the problem to be processed based on the solution format information; determining the target vertical format information according to the solution format information, thereby determining the vertical drawing method corresponding to the problem to be processed; generating vertical solution results according to the target vertical format information and the problem to be processed, thereby enriching the vertical solution results and making it easier for users to obtain vertical solution results that meet their needs. Attached Figure Description
[0012] Figure 1 This is a schematic diagram of a problem-solving method provided in one embodiment of this application; Figure 2 This is a flowchart of a problem-solving method provided in one embodiment of this application; Figure 3 This is a schematic diagram of the result of solving a division problem using vertical calculation according to an embodiment of this application; Figure 4 This is a flowchart illustrating a problem-solving method for problem G provided in one embodiment of this application; Figure 5 This is a schematic diagram of the structure of a problem-solving device provided in one embodiment of this application; Figure 6 This is a structural block diagram of a computing device provided in one embodiment of this application. Detailed Implementation
[0013] Many specific details are set forth in the following description to provide a full understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this application; therefore, this application is not limited to the specific embodiments disclosed below.
[0014] The terminology used in one or more embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this application. The singular forms “a,” “the,” and “the” used in one or more embodiments of this application and in the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” used in one or more embodiments of this application refers to and includes any or all possible combinations of one or more associated listed items.
[0015] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this application, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."
[0016] First, the terms and concepts involved in one or more embodiments of this application will be explained.
[0017] Vertical calculation: A simplified method for addition, subtraction, multiplication, and division of two integers or decimals. Generally, the digits are aligned and written from top to bottom.
[0018] OCR: Optical Character Recognition, refers to the process by which electronic devices (such as scanners or digital cameras) examine characters printed on paper, determine their shapes by detecting dark and light patterns, and then translate the shapes into computer text using character recognition methods.
[0019] App: Short for Application, mobile software, mainly refers to software installed on smartphones to improve upon the shortcomings of the original system and provide personalization.
[0020] This application provides a problem-solving method, and also relates to a problem-solving apparatus, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments.
[0021] Figure 1 The illustration shows a scenario diagram of a problem-solving method according to an embodiment of this application, specifically including: Users of the problem-solving app take photos of and upload the problems requiring vertical solving using the app's camera function. The app performs OCR recognition on the uploaded problem images to confirm that the images contain the problem to be processed. Simultaneously, it determines the origin of the uploaded problem and the corresponding language, such as the app's location settings and the user's location settings, to determine the corresponding solution format for the problem to be identified, such as the solution format for country C, country I, etc. After determining the problem to be identified and its origin, the app can determine the target vertical format information for the problem to be identified from a pre-set vertical format table. Specifically, if the problem to be identified is "56-28", the app determines the subtraction vertical format information for country I based on the problem symbol and the solution format for country I from the vertical format table. Based on the subtraction vertical format information for country I, the app performs a vertical solution to the problem to be identified, resulting in... Figure 1 The vertical format table is used to generate vertical problem-solving results based on the position information and corresponding numerical values and symbols in the table, and to render and display the results. Specifically, in Country I, the vertical subtraction representation is to write the minus sign to the right of the border, draw a diagonal line from right to left on the borrowed number, and write the borrowed value above the diagonal line. The results are then drawn based on the information in the vertical format table, as shown below. Figure 1 The results of subtraction problems using vertical calculations are used to generate subtraction problem-solving vertical calculations in the language of country I, making it easier for relevant users in country I to understand the results.
[0022] Figure 2 The flowchart illustrates a problem-solving method according to an embodiment of this application, which specifically includes the following steps: Step 202: Receive a solution request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation.
[0023] Among them, the problems to be processed refer to problems that can be calculated using vertical calculation, such as addition, subtraction, multiplication, and division of integers, addition, subtraction, multiplication, and division of decimals, etc.; the problem-solving request refers to the request to solve the problems to be processed using vertical calculation; it should be noted that the problems to be processed are problems that can be calculated using vertical calculation.
[0024] Specifically, the problem-solving method of this application can be applied to problem-solving software; users can input the problem to be solved vertically into the problem-solving software, or upload an image of the problem to be solved through the image capture function of the problem-solving software, and then the problem-solving software can identify the problem to be solved in the image through recognition technologies such as OCR.
[0025] In one specific embodiment of this application, a solution request for the problem "156÷5" is received. The solution request is generated based on the problem input by the user in the problem-solving software. The problem "156÷5" can be solved in the form of vertical calculation.
[0026] By receiving problem-solving requests for the problems to be processed, it is determined whether further problem-solving processing is required.
[0027] Step 204: Obtain the solution format information corresponding to the question to be processed.
[0028] In response to a problem-solving request, the solution format information corresponding to the problem is obtained. This solution format information refers to the solution method for the problem, such as the solution format for country C, country M, etc. In practical applications, different countries and regions have different methods for vertical calculation. Current problem-solving software can only process problems in the solution format of country C. For users who are not accustomed to the solution format of country C, they cannot obtain the required solution results. Therefore, the problem-solving method of this application determines the corresponding solution format information based on the problem to be processed. That is, the user can choose a vertical solution method that meets their needs, or the software can automatically select the corresponding vertical solution method for the user based on their region, country, etc.
[0029] Specifically, the methods for obtaining the solution format information corresponding to the question to be processed may include: Identify the target user corresponding to the question to be processed; Obtain the geographic location information and / or preset region information corresponding to the target user; Based on the geographical location information and / or preset region information, obtain the solution format information corresponding to the question to be processed.
[0030] Among them, the target user refers to the user who provides the problem to be processed. For example, if user A enters the problem "156÷5" into the problem-solving software, which can be calculated vertically, then user A can be the target user. Geographic location information refers to the geographic location information corresponding to the target user. Specifically, provided that the user agrees to the problem-solving software obtaining their location information, the problem-solving software can obtain the geographic location information of the user using the software through location. Preset region information refers to the region information set by the user in the problem-solving software or the region information set by default by the problem-solving software if the user does not select a region.
[0031] Specifically, the target user corresponding to the question to be processed is identified. Under the premise that the target user authorizes the software to obtain their location information, the geographical location information of the target user is obtained. Then, the solution format information corresponding to the question to be processed can be obtained based on the geographical location information. For example, if the solution software obtains the user's geographical location information as being in country C, then the solution format information for country C can be obtained.
[0032] It can also obtain information such as the region and language set by the target user in the problem-solving software. For example, if the problem-solving software obtains that the user's language setting is English, it can obtain the problem-solving format information for country E.
[0033] Furthermore, based on geographic location information and preset region information, the solution format information corresponding to the questions uploaded by users can be determined.
[0034] In one specific embodiment of this application, when user A authorizes the problem-solving software to obtain its location information, the problem-solving software determines, based on the geographical location information and the user's language information, that the problem-solving format information corresponding to the problem to be processed uploaded by user A is the problem-solving format of country C.
[0035] By determining the solution format information corresponding to the problem to be processed, the corresponding vertical solution results can be generated based on the user's needs, thus enriching the vertical solution methods.
[0036] Step 206: Determine the target vertical format information corresponding to the problem to be processed based on the problem-solving format information.
[0037] After determining the solution format information, it is necessary to further determine the vertical format information based on the question to be processed and the solution format information. For example, after determining the solution format information for country C, and determining that the question type corresponding to the question to be processed is integer addition, the vertical format information for calculating integer addition in country C can be determined.
[0038] Specifically, the method for determining the target vertical format information corresponding to the problem to be processed based on the solution format information may include: Parse the initial question symbols in the question to be processed, and determine the question type of the question to be processed based on the initial question symbols; The target vertical specification information corresponding to the question type is determined based on the question type and the solution format information.
[0039] The initial question symbol refers to the symbol parsed from the question to be processed. For example, the initial question symbol for the question "15+13" is "+", and the initial question symbol for the question "15-4" is "-", etc. The question type of the question to be processed can be determined based on the initial question symbol. For example, the question to be processed is determined to be of the addition type based on the initial question symbol "+".
[0040] Furthermore, since different countries and regions have different ways of representing decimals, the question type can also be determined based on the initial question number and initial question symbol of the question to be processed. For example, based on the initial question number "1.2" and the initial question symbol "+", the question type of the question to be processed can be determined to be decimal addition.
[0041] Target vertical format information refers to the vertical format information determined based on the question type and solution format information of the question to be processed; vertical format information refers to the format information for drawing the vertical format of the solution, which includes numerical format information and character format information.
[0042] In practical applications, the method for determining the target vertical format information corresponding to the question type based on the question type and the solution format information may include: Obtain the preset vertical specification comparison table; Based on the question type and the solution format information, the target vertical specification information can be queried in the preset vertical specification comparison table.
[0043] The preset vertical format comparison table refers to a data table that includes question type, solution format information, and vertical format information. After determining the question type and solution format information of the question to be processed, the target vertical format information corresponding to the question to be processed is queried in the preset vertical format comparison table.
[0044] In practical applications, vertical specification information may be the same in different countries and regions.
[0045] In one specific embodiment of this application, a pre-defined vertical specification comparison table is provided, as shown in Table 1 below: Table 1
[0046] The problem type of the problem to be processed, “156÷5”, is determined to be a division problem, and the corresponding solution format information is the solution format of Country I. Based on the division problem type and the solution format of Country I, the vertical format information of the problem to be processed, “156÷5”, is determined to be “vertical format of division 3” in Table 1 above.
[0047] By determining the target vertical format information corresponding to the problem to be processed, the vertical solution result of the problem to be processed can be generated based on the target vertical format information.
[0048] Step 208: Based on the target vertical specification information and the problem to be processed, generate the vertical solution result of the problem to be processed.
[0049] After determining the target vertical format information, the problem to be solved can be further processed based on the target vertical format information to obtain the corresponding vertical solution result.
[0050] In practical applications, the method for generating the vertical solution result of the problem to be processed based on the target vertical format information and the problem to be processed may include: Determine the symbol drawing specifications and number drawing specifications in the target vertical specification information; The symbol information and the number information to be drawn are determined based on the problem to be processed, the digital drawing specifications, and the symbol drawing specifications. The vertical solution result is generated based on the information of the symbol to be drawn and the information of the number to be drawn.
[0051] Among them, the symbol drawing specifications refer to the specifications for drawing symbols in the vertical problem-solving results; the number drawing specifications refer to the specifications for drawing numbers in the vertical problem-solving results; the symbol information to be drawn refers to the data used to draw symbols in the vertical problem-solving results; and the number information to be drawn refers to the data used to draw symbols in the vertical problem-solving results.
[0052] Furthermore, the method for determining the symbol information to be drawn and the number information to be drawn based on the problem to be processed, the digital drawing specifications, and the symbol drawing specifications may include: Based on the problem-solving rules corresponding to the target vertical format specifications, determine the vertical symbols and numbers to be drawn for the problem to be processed. The symbol position information corresponding to the vertical symbol to be drawn is determined according to the symbol drawing specifications; The position information of the numbers to be drawn in the vertical format is determined according to the digital drawing specifications.
[0053] Among them, the problem-solving rules refer to the rules for solving the problem. For example, the problem-solving rules are to solve the problem from left to right in the listed vertical equation, or from right to left in the vertical equation, etc. The specific rules need to be set according to the problem-solving methods of different countries and regions.
[0054] The problem to be solved is calculated according to the established problem-solving rules, and the symbols and numbers to be drawn during the calculation process are determined, that is, the vertical symbols and numbers to be drawn are determined; the drawing position of the vertical symbols to be drawn is determined according to the symbol drawing specifications, that is, the symbol position information; the drawing position of the numbers to be drawn is determined according to the number drawing specifications, that is, the number position information.
[0055] In practical applications, symbol drawing specifications include drawing specifications for calculation symbols and drawing specifications for auxiliary symbols. Specifically, calculation symbols refer to symbols that can represent the type of problem in vertical calculations, such as "+", "-", etc. Auxiliary symbols refer to symbols added in vertical calculations, such as carry symbols, borrow symbols, etc. Drawing specifications for calculation symbols refer to the rules for drawing calculation symbols, while drawing specifications for auxiliary symbols refer to the rules for drawing auxiliary calculation symbols.
[0056] Specifically, the specifications for drawing calculation symbols can be as follows: in addition, subtraction, and multiplication vertical calculations, the calculation symbol can be written to the left of the number, to the right of the horizontal line, or to the left of the middle of the two numbers; in division vertical calculations, the calculation symbol can be written between the dividend and the quotient, or between the divisor and the dividend; for example, ... Figure 3 As shown, Figure 3 This is a schematic diagram of the result of solving a division problem using vertical calculation according to an embodiment of this application. Figure 3 (a) is the vertical division style of country C, in which the calculation symbol is before the dividend 2000 and the quotient 66, and the divisor 30 is to the left of the calculation symbol; Figure 3 (b) is the vertical division style of country Y, in which the calculation symbol is between the dividend 156 and the divisor 5, and the quotient 31 is below the divisor 5.
[0057] The specifications for drawing auxiliary symbols can be as follows: drawing a dot below or above the number that needs to be carried to indicate carrying; drawing "1" above or below the number that needs to be carried to indicate carrying; drawing a dot above or below the number after borrowing to indicate borrowing; drawing the number after borrowing above the borrowed number to indicate borrowing; using a line from left to right or from right to left to indicate borrowing; in addition, in multiplication vertical calculation, there are specifications for adding a plus sign as an auxiliary calculation symbol during the calculation process, where the plus sign can be added to the left or right side of the vertical expression, aligned with the subtrahend or a long horizontal line; in division vertical calculation, there are specifications for adding a minus sign as an auxiliary calculation symbol during the calculation process, where the minus sign can be added to the left or right side of the vertical expression, aligned with the subtrahend or a long horizontal line.
[0058] The specifications for drawing numbers can include initial number drawing specifications, intermediate number drawing specifications, and final number drawing specifications. Specifically, initial numbers refer to the numbers extracted from the problem to be processed. For example, the initial numbers in the problem "12+13" are 1, 2, 1, and 3. Intermediate numbers refer to the numbers generated during the process of solving the problem. Final numbers refer to the calculation results obtained after calculating the problem. The initial number drawing specifications refer to the rules for drawing initial numbers, the intermediate number drawing specifications refer to the rules for drawing intermediate numbers, and the final number drawing specifications refer to the rules for drawing final numbers.
[0059] Taking the problem "156 ÷ 5" as an example, describe the initial number, the intermediate number, and the final number, such as... Figure 3 As shown in part (b), the initial numbers are the dividend 156 and the divisor 5, the intermediate numbers are 06 and 5, and the final numbers are the quotient 31 and the remainder 1.
[0060] It should be noted that when drawing the initial numbers, the decimal point must be drawn according to the decimal point specification. For example, in National Standard 1 vertical calculation, the decimal point is represented by ".", while in National Standard 2 vertical calculation, the decimal point is represented by "," and so on.
[0061] In practical applications, methods for generating vertical problem-solving results based on the information of the symbols to be drawn and the information of the numbers to be drawn may include: Determine the symbol position information corresponding to the calculation symbol and the auxiliary symbol, as well as the number position information corresponding to the initial number, the intermediate number and the result number, and generate a vertical format table; Draw the vertical solution results corresponding to the problem to be processed according to the vertical format table.
[0062] Specifically, symbol position information refers to the position information of symbols determined based on vertical format information, such as calculation symbols being on the right side of the long horizontal line; number position information refers to the position information of numbers determined based on vertical format information, such as initial numbers being arranged above the long horizontal line; a vertical format table is generated based on the symbol position information corresponding to calculation symbols and auxiliary symbols, as well as the number position information corresponding to initial numbers, intermediate numbers, and result numbers.
[0063] In one specific embodiment of this application, the vertical format table generated based on the title "59-28" is shown in Table 2 below: Table 2
[0064] The vertical solution results generated based on Table 2 above are as follows: Figure 1 The rendering result is shown below.
[0065] In practical applications, the problems to be processed may also contain units of calculation, such as kilograms, kilometers, kg, g, etc. Therefore, when the problems to be processed contain units of calculation, it is necessary to consider the vertical drawing method of the units of calculation.
[0066] Specifically, the method for determining the symbol information and the digital information to be drawn based on the problem to be processed, the digital drawing specifications, and the symbol drawing specifications may include: Determine the symbol drawing specifications, number drawing specifications, and unit drawing specifications in the target vertical specification information; The symbol information to be drawn, the number information to be drawn, and the unit drawing specifications are determined based on the symbol information to be drawn, the number information to be drawn, and the unit of calculation information to be drawn.
[0067] Among them, the unit drawing specifications refer to the rules for drawing the units of calculation. Specifically, the unit drawing specifications can be that the units of calculation are included in the vertical calculation process, and the units of calculation are written to the right or left of the numbers, etc.
[0068] After determining the unit specifications, the location information of the calculation unit is determined based on the unit drawing specifications; the calculation unit and the corresponding location information of the calculation unit are used as the calculation unit information to be drawn.
[0069] Furthermore, when the problem to be processed contains units of calculation, the method for generating the vertical calculation solution based on the symbol information to be drawn and the numerical information to be drawn may include: The vertical solution result is generated based on the information of the symbol to be drawn, the information of the number to be drawn, and the information of the calculation unit to be drawn.
[0070] Specifically, the generated vertical format table is supplemented based on the calculation unit and the location information of the calculation unit, so as to obtain a vertical format table that can be drawn containing the calculation unit; based on the vertical format table, the vertical solution results of the problem to be processed containing the calculation unit are generated.
[0071] After generating the vertical solution result of the problem to be processed, it may also include: Render and display the vertical solution results.
[0072] The results of vertical problem-solving can be images, documents, or videos, etc. This application does not impose specific limitations on the display format.
[0073] In one specific embodiment of this application, the problem-solving software displays the vertical problem-solving results as a dynamic graph on the user's client page.
[0074] The problem-solving method provided in this application receives a problem-solving request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation; obtains the problem-solving format information corresponding to the problem to be processed; determines the target vertical calculation specification information corresponding to the problem to be processed based on the problem-solving format information; and generates the vertical calculation solution result of the problem to be processed based on the target vertical calculation specification information and the problem to be processed.
[0075] By determining the solution format information corresponding to the problem to be processed, the current set of solution methods for the problem to be processed can be determined based on the solution format information; the target vertical format information is determined according to the solution format information, thereby determining the vertical drawing method corresponding to the problem to be processed; and vertical solution results are generated according to the target vertical format information and the problem to be processed, thereby enriching the vertical solution results and making it easier for users to obtain vertical solution results that meet their needs.
[0076] The problem-solving method presented in this application addresses various vertical calculation problems and displays writing styles suitable for different regions and languages, providing a method for solving vertical calculation problems for people from multiple countries and regions who speak different languages.
[0077] The following is in conjunction with the appendix Figure 4 Taking the application of the problem-solving method provided in this application to problem G as an example, the problem-solving method will be further explained. Figure 4 This application provides a flowchart illustrating a problem-solving method for problem G according to an embodiment of the present application, which specifically includes the following steps: Step 402: Receive the solution request for problem G.
[0078] Specifically, determine the solution request for problem G, “156÷5”.
[0079] Step 404: Obtain the solution format information corresponding to question G.
[0080] Specifically, the solution format is determined to be the C country solution format based on the geographical location information of the user who uploaded question G.
[0081] Step 406: Determine the question type of question G, and determine the vertical format information based on the question type and solution format information.
[0082] Specifically, based on the initial symbol "÷" of question G, the question type of question G is determined to be division; according to the division type and the solution format information of country C, the division vertical format information corresponding to question G is determined in the preset vertical format comparison table.
[0083] Step 408: Generate the vertical division solution result based on the vertical division specification information and the problem G.
[0084] Specifically, a vertical format table is generated based on the vertical division specification information and the problem G; the vertical solution result is plotted based on the vertical format table.
[0085] Step 410: Render and display the results of the vertical solution.
[0086] The problem-solving method provided in this application receives a problem-solving request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation; obtains the problem-solving format information corresponding to the problem to be processed; determines the target vertical calculation specification information corresponding to the problem to be processed based on the problem-solving format information; and generates the vertical calculation solution result of the problem to be processed based on the target vertical calculation specification information and the problem to be processed.
[0087] By determining the solution format information corresponding to the problem to be processed, the current set of solution methods for the problem to be processed can be determined based on the solution format information; the target vertical format information is determined according to the solution format information, thereby determining the vertical drawing method corresponding to the problem to be processed; and vertical solution results are generated according to the target vertical format information and the problem to be processed, thereby enriching the vertical solution results and making it easier for users to obtain vertical solution results that meet their needs.
[0088] Corresponding to the above method embodiments, this application also provides embodiments of a problem-solving apparatus. Figure 5 A schematic diagram of a problem-solving device according to an embodiment of this application is shown. Figure 5 As shown, the device includes: The receiving module 502 is configured to receive a problem-solving request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation. The acquisition module 504 is configured to acquire the solution format information corresponding to the question to be processed; The determination module 506 is configured to determine the target vertical specification information corresponding to the problem to be processed based on the solution format information; The generation module 508 is configured to generate the vertical solution result of the problem to be processed based on the target vertical specification information and the problem to be processed.
[0089] Optionally, the acquisition module 504 is further configured to: Identify the target user corresponding to the question to be processed; Obtain the geographic location information and / or preset region information corresponding to the target user; Based on the geographical location information and / or preset region information, obtain the solution format information corresponding to the question to be processed.
[0090] Optionally, the determining module 506 is further configured to: Parse the initial question symbols in the question to be processed, and determine the question type of the question to be processed based on the initial question symbols; The target vertical specification information corresponding to the question type is determined based on the question type and the solution format information.
[0091] Optionally, the determining module 506 is further configured to: Obtain the preset vertical specification comparison table; Based on the question type and the solution format information, the target vertical specification information can be queried in the preset vertical specification comparison table.
[0092] Optionally, the generation module 508 is further configured to: Determine the symbol drawing specifications and number drawing specifications in the target vertical specification information; The symbol information and the number information to be drawn are determined based on the problem to be processed, the digital drawing specifications, and the symbol drawing specifications. The vertical solution result is generated based on the information of the symbol to be drawn and the information of the number to be drawn.
[0093] Optionally, the generation module 508 is further configured to: Based on the problem-solving rules corresponding to the target vertical format specifications, determine the vertical symbols and numbers to be drawn for the problem to be processed. The symbol position information corresponding to the vertical symbol to be drawn is determined according to the symbol drawing specifications; The position information of the numbers to be drawn in the vertical format is determined according to the digital drawing specifications.
[0094] Optionally, the vertical symbols to be drawn include calculation symbols and auxiliary symbols; the vertical numbers to be drawn include initial numbers, intermediate numbers, and final numbers; the generation module 508 is further configured to: Based on the information of the symbols to be drawn and the information of the numbers to be drawn, a vertical solution is generated, including: Determine the symbol position information corresponding to the calculation symbol and the auxiliary symbol, as well as the number position information corresponding to the initial number, the intermediate number and the result number, and generate a vertical format table; Draw the vertical solution results corresponding to the problem to be processed according to the vertical format table.
[0095] Optionally, the problem to be processed includes units of calculation; the generation module 508 is further configured to: The symbol information and the number information to be drawn are determined based on the problem to be processed, the number drawing specifications, and the symbol drawing specifications, including: Determine the symbol drawing specifications, number drawing specifications, and unit drawing specifications in the target vertical specification information; The symbol information to be drawn, the number information to be drawn, and the unit drawing specifications are determined based on the symbol information to be drawn, the number information to be drawn, and the unit of calculation information to be drawn.
[0096] Optionally, the generation module 508 is further configured to: The vertical solution result is generated based on the information of the symbol to be drawn, the information of the number to be drawn, and the information of the calculation unit to be drawn.
[0097] Optionally, the device further includes a display module configured to: Render and display the vertical solution results.
[0098] The problem-solving apparatus of this application includes a receiving module configured to receive a problem-solving request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation; an obtaining module configured to obtain problem-solving format information corresponding to the problem to be processed; a determining module configured to determine target vertical calculation specification information corresponding to the problem to be processed based on the problem-solving format information; and a generating module configured to generate a vertical calculation result for the problem to be processed based on the target vertical calculation specification information and the problem to be processed.
[0099] By determining the solution format information corresponding to the problem to be processed, the current set of solution methods for the problem to be processed can be determined based on the solution format information; the target vertical format information is determined according to the solution format information, thereby determining the vertical drawing method corresponding to the problem to be processed; and vertical solution results are generated according to the target vertical format information and the problem to be processed, thereby enriching the vertical solution results and making it easier for users to obtain vertical solution results that meet their needs.
[0100] The above is a schematic representation of a problem-solving device according to this embodiment. It should be noted that the technical solution of this problem-solving device and the technical solution of the aforementioned problem-solving method belong to the same concept. Details not described in detail in the technical solution of the problem-solving device can be found in the description of the technical solution of the aforementioned problem-solving method.
[0101] Figure 6 A structural block diagram of a computing device 600 according to an embodiment of this application is shown. The components of the computing device 600 include, but are not limited to, a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and a database 650 is used to store data.
[0102] The computing device 600 also includes an access device 640, which enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 640 may include one or more of any type of wired or wireless network interface (e.g., a network interface card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) wireless interface, a Wi-MAX (Worldwide Interoperability for Microwave Access) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.
[0103] In one embodiment of this application, the aforementioned components of the computing device 600 and Figure 6 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 6 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this application. Those skilled in the art can add or replace other components as needed.
[0104] The computing device 600 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or personal computers (PCs). The computing device 600 can also be a mobile or stationary server.
[0105] The steps of the problem-solving method are implemented when the processor 620 executes the computer instructions.
[0106] The above is an illustrative scheme of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the problem-solving method described above belong to the same concept. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the problem-solving method described above.
[0107] An embodiment of this application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the problem-solving method as described above.
[0108] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the above-described problem-solving method belong to the same concept. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the above-described problem-solving method.
[0109] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0110] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or certain intermediate forms. The computer-readable medium may include any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.
[0111] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0112] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0113] The preferred embodiments disclosed above are merely illustrative of this application. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this application. These embodiments are selected and specifically described in this application to better explain the principles and practical applications of this application, thereby enabling those skilled in the art to better understand and utilize this application. This application is limited only by the claims and their full scope and equivalents.
Claims
1. A problem-solving method, characterized in that, include: Receive a problem-solving request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation; Obtain the solution format information corresponding to the problem to be processed; The target vertical format information corresponding to the problem to be processed is determined based on the problem-solving format information, wherein the target vertical format information includes symbol drawing specifications and number drawing specifications; Based on the target vertical format information and the problem to be processed, a vertical solution result for the problem to be processed is generated. This process includes: determining the symbol drawing specifications and the number drawing specifications in the target vertical format information; determining the symbol information to be drawn and the number information to be drawn based on the problem to be processed, the number drawing specifications, and the symbol drawing specifications; and generating a vertical solution result based on the symbol information to be drawn and the number information to be drawn. The determination of the symbol information to be drawn and the number information to be drawn based on the problem to be processed, the number drawing specifications, and the symbol drawing specifications includes: determining the vertical symbol to be drawn and the vertical number to be drawn corresponding to the problem to be processed based on the solution rules corresponding to the target vertical format information; determining the symbol position information corresponding to the vertical symbol to be drawn based on the symbol drawing specifications; and determining the number position information corresponding to the vertical number to be drawn based on the number drawing specifications.
2. The method as described in claim 1, characterized in that, Obtain the solution format information corresponding to the problem to be processed, including: Identify the target user corresponding to the question to be processed; Obtain the geographic location information and / or preset region information corresponding to the target user; Based on the geographical location information and / or preset region information, obtain the solution format information corresponding to the question to be processed.
3. The method as described in claim 1, characterized in that, Based on the solution format information, the target vertical format information corresponding to the problem to be processed is determined, including: Parse the initial question symbols in the question to be processed, and determine the question type of the question to be processed based on the initial question symbols; The target vertical specification information corresponding to the question type is determined based on the question type and the solution format information.
4. The method as described in claim 3, characterized in that, Based on the question type and the solution format information, the target vertical format information corresponding to the question type is determined, including: Obtain the preset vertical specification comparison table; Based on the question type and the solution format information, the target vertical specification information can be queried in the preset vertical specification comparison table.
5. The method as described in claim 1, characterized in that, The vertical symbols to be drawn include calculation symbols and auxiliary symbols; the vertical numbers to be drawn include initial numbers, intermediate numbers, and final numbers; Based on the information of the symbols to be drawn and the information of the numbers to be drawn, a vertical solution is generated, including: Determine the symbol position information corresponding to the calculation symbol and the auxiliary symbol, as well as the number position information corresponding to the initial number, the intermediate number and the result number, and generate a vertical format table; Draw the vertical solution results corresponding to the problem to be processed according to the vertical format table.
6. The method as described in claim 1, characterized in that, The problem to be processed includes units of calculation; The symbol information and the number information to be drawn are determined based on the problem to be processed, the number drawing specifications, and the symbol drawing specifications, including: Determine the symbol drawing specifications, number drawing specifications, and unit drawing specifications in the target vertical specification information; The symbol information to be drawn, the number information to be drawn, and the unit drawing specifications are determined based on the symbol information to be drawn, the number information to be drawn, and the unit of calculation information to be drawn.
7. The method as described in claim 6, characterized in that, Based on the information of the symbols to be drawn and the information of the numbers to be drawn, a vertical solution is generated, including: The vertical solution result is generated based on the information of the symbol to be drawn, the information of the number to be drawn, and the information of the calculation unit to be drawn.
8. The method as described in claim 1, characterized in that, After generating the vertical solution result of the problem to be processed, it also includes: Render and display the vertical solution results.
9. A problem-solving device, characterized in that, include: The receiving module is configured to receive a solution request for a problem to be processed, wherein the problem to be processed can be calculated using vertical calculation. The acquisition module is configured to acquire the solution format information corresponding to the question to be processed. The determination module is configured to determine the target vertical format information corresponding to the problem to be processed based on the problem-solving format information, wherein the target vertical format information includes symbol drawing specifications and number drawing specifications; The generation module is configured to generate a vertical solution result for the problem to be processed based on the target vertical specification information and the problem to be processed. The generation of the vertical solution result based on the target vertical specification information and the problem to be processed includes: determining the symbol drawing specifications and the number drawing specifications in the target vertical specification information; determining the symbol information to be drawn and the number information to be drawn based on the problem to be processed, the number drawing specifications, and the symbol drawing specifications; and generating a vertical solution result based on the symbol information to be drawn and the number information to be drawn. The determination of the symbol information to be drawn and the number information to be drawn based on the problem to be processed, the number drawing specifications, and the symbol drawing specifications includes: determining the vertical symbol to be drawn and the vertical number to be drawn corresponding to the problem to be processed based on the solution rules corresponding to the target vertical specification information; determining the symbol position information corresponding to the vertical symbol to be drawn based on the symbol drawing specifications; and determining the number position information corresponding to the vertical number to be drawn based on the number drawing specifications.
10. A computing device, comprising a memory, a processor, and computer instructions stored in the memory and executable on the processor, characterized in that, When the processor executes the computer instructions, it implements the steps of the method according to any one of claims 1-8.
11. A computer-readable storage medium storing computer instructions, characterized in that, When executed by a processor, the computer instructions implement the steps of the method according to any one of claims 1-8.
Citation Information
Patent Citations
Title searching method and device and electronic terminal
CN107729487A