[go: up one dir, main page]

CN112446934A - Topic schematic diagram generation method and device - Google Patents

Topic schematic diagram generation method and device Download PDF

Info

Publication number
CN112446934A
CN112446934A CN202011458991.XA CN202011458991A CN112446934A CN 112446934 A CN112446934 A CN 112446934A CN 202011458991 A CN202011458991 A CN 202011458991A CN 112446934 A CN112446934 A CN 112446934A
Authority
CN
China
Prior art keywords
information
drawing step
target
template
topic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011458991.XA
Other languages
Chinese (zh)
Other versions
CN112446934B (en
Inventor
王紫静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202011458991.XA priority Critical patent/CN112446934B/en
Publication of CN112446934A publication Critical patent/CN112446934A/en
Application granted granted Critical
Publication of CN112446934B publication Critical patent/CN112446934B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Educational Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本公开提供了一种题目示意图生成方法及装置,包括:获取待解题目的题目信息;基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息;基于所述至少一个绘图步骤的绘图顺序,以及所述至少一个绘图步骤对应的解析信息,绘制所述待解题目对应的讲解示意图。

Figure 202011458991

The present disclosure provides a method and device for generating a schematic diagram of a question, including: acquiring title information of a question to be solved; determining at least one drawing step corresponding to the question to be solved based on the title information of the question to be solved; Analytical information of at least one drawing step; based on the drawing sequence of the at least one drawing step and the analytical information corresponding to the at least one drawing step, draw an explanation diagram corresponding to the problem to be solved.

Figure 202011458991

Description

一种题目示意图生成方法及装置A method and device for generating a schematic diagram of a topic

技术领域technical field

本公开涉及计算机技术领域,具体而言,涉及一种题目示意图生成方法及装置。The present disclosure relates to the field of computer technology, and in particular, to a method and device for generating a schematic diagram of a topic.

背景技术Background technique

近年来,学生的教育问题越来越受到各方面的重视,但出于人力成本等多方面考量,学生们在进行答题时往往不会有专人进行随时的讲解,因此,需要借助应用程序对学生不会的练习题进行求解。In recent years, more and more attention has been paid to the education of students. However, due to various considerations such as labor costs, students often do not have a dedicated person to explain at any time when answering the questions. Solve the exercises that you will not know.

相关技术中,在借助应用程序对练习题进行求解时,应用程序往往只能给出计算步骤和最终的求解结果,然而这种展示方法并不直观,学生看了之后可能并无法理解练习题的解题过程,因此,这种方式教学效果较差。In related technologies, when solving exercises with the help of an application program, the application program often only gives the calculation steps and the final solution result. However, this display method is not intuitive, and students may not understand the practice questions after reading it. The problem-solving process, therefore, the teaching effect of this method is poor.

发明内容SUMMARY OF THE INVENTION

本公开实施例至少提供一种题目示意图生成方法及装置。Embodiments of the present disclosure provide at least a method and apparatus for generating a schematic diagram of a topic.

第一方面,本公开实施例提供了一种题目示意图生成方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for generating a schematic diagram of a topic, including:

获取待解题目的题目信息;Get the topic information of the problem to be solved;

基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息;Determine at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved;

基于所述至少一个绘图步骤的绘图顺序,以及所述至少一个绘图步骤对应的解析信息,绘制所述待解题目对应的讲解示意图。Based on the drawing sequence of the at least one drawing step and the analysis information corresponding to the at least one drawing step, a schematic diagram of the explanation corresponding to the problem to be solved is drawn.

一种可能的实施方式中,在基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息之后,所述方法还包括:In a possible implementation manner, after determining at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved, the method further includes: :

基于所述待解题目的题目信息,确定所述待解题目的目标题目类型;determining the target question type of the to-be-solved question based on the question information of the to-be-solved question;

确定与所述目标题目类型相匹配的目标绘图模板;determining a target drawing template that matches the target question type;

所述基于所述至少一个绘图步骤的解析信息,绘制所述待解题目对应的讲解示意图,包括:Drawing an explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step, including:

基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图。Based on the analysis information of the at least one drawing step and the target drawing template, an explanation diagram corresponding to the to-be-solved topic is drawn.

一种可能的实施方式中,所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型是基于预先训练的神经网络确定的,In a possible implementation manner, the at least one drawing step corresponding to the problem to be solved, the analysis information of the at least one drawing step, and the target problem type of the problem to be solved are determined based on a pre-trained neural network,

所述方法还包括根据以下方法确定所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型:The method further includes determining at least one drawing step corresponding to the problem to be solved, analysis information of the at least one drawing step, and a target problem type of the problem to be solved according to the following method:

将所述待解题目的题目信息输入至预先训练的神经网络中,确定所述待解题目对应的目标题目类型,以及所述待解题目对应的至少一个绘图步骤的解析信息,其中,所述神经网络是基于样本题目信息和样本题目信息对应的标注信息训练得到的,所述样本题目信息对应的标注信息用于表示所述样本题目信息的题目类型,和所述样本题目信息对应的绘图步骤的解析信息。Input the topic information of the problem to be solved into the pre-trained neural network, determine the target problem type corresponding to the problem to be solved, and the analysis information of at least one drawing step corresponding to the problem to be solved, wherein, The neural network is obtained by training based on the sample topic information and the annotation information corresponding to the sample topic information, and the annotation information corresponding to the sample topic information is used to indicate the topic type of the sample topic information, which corresponds to the sample topic information. Parsing information for drawing steps.

一种可能的实施方式中,所述确定与所述目标题目类型相匹配的目标绘图模板,包括:In a possible implementation manner, the determining a target drawing template matching the target topic type includes:

确定与所述目标题目类型相匹配的至少一个绘图模板,并获取所述至少一个绘图模板对应的匹配条件;determining at least one drawing template that matches the target topic type, and acquiring a matching condition corresponding to the at least one drawing template;

基于所述至少一个绘图模板对应的匹配条件,确定所述待解题目的题目信息所满足的目标匹配条件;Determine, based on the matching condition corresponding to the at least one drawing template, the target matching condition satisfied by the title information of the title to be solved;

将所述目标匹配条件对应的绘图模板确定为所述目标绘图模板。A drawing template corresponding to the target matching condition is determined as the target drawing template.

一种可能的实施方式中,所述目标绘图模板包括至少一个绘图步骤对应的绘图规则;In a possible implementation manner, the target drawing template includes a drawing rule corresponding to at least one drawing step;

所述基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图,包括:Drawing an explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step and the target drawing template, including:

针对所述至少一个绘图步骤中每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图。For each drawing step in the at least one drawing step, an explanation diagram corresponding to the drawing step is drawn based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step.

一种可能的实施方式中,所述至少一个绘图步骤包括多个绘图步骤;针对所述至少一个绘图步骤中的每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图,包括:In a possible implementation manner, the at least one drawing step includes a plurality of drawing steps; for each drawing step in the at least one drawing step, based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step , draw an explanation diagram corresponding to the drawing step, including:

针对所述多个绘图步骤中按照绘图顺序排列的首个绘图步骤,基于该首个绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该首个绘图步骤对应的讲解示意图;For the first drawing step arranged according to the drawing sequence among the plurality of drawing steps, based on the drawing rule corresponding to the first drawing step and the analytical information corresponding to the drawing step, draw an explanation diagram corresponding to the first drawing step;

针对所述多个绘图步骤中除首个绘图步骤外的其他每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,在前一绘图步骤绘制的讲解示意图上进行绘制,得到该绘图步骤对应的讲解示意图。For each drawing step except the first drawing step in the plurality of drawing steps, drawing is performed on the explanation diagram drawn by the previous drawing step based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step , to get the explanation diagram corresponding to the drawing step.

一种可能的实施方式中,所述目标绘图模板还包括与绘图步骤对应的讲解模板;In a possible implementation manner, the target drawing template further includes an explanation template corresponding to the drawing step;

所述方法还包括:The method also includes:

将每个所述绘图步骤的解析信息对应添加至所述目标绘图模板中与该绘图步骤对应的讲解模板中,得到所述待解题目对应的绘图讲解信息。The analysis information of each drawing step is correspondingly added to the explanation template corresponding to the drawing step in the target drawing template, so as to obtain the drawing explanation information corresponding to the problem to be solved.

一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:

生成所述绘图讲解信息对应的音频信息;generating audio information corresponding to the drawing explanation information;

展示所述讲解示意图的绘制过程,并在展示所述绘制过程的同时,播放所述音频信息。The drawing process of the explanation schematic diagram is displayed, and the audio information is played while the drawing process is displayed.

一种可能的实施方式中,所述绘图讲解信息对应的音频信息中,包括各个绘图步骤分别对应的目标音频信息;所述在展示所述绘制过程的同时,播放所述音频信息,包括:In a possible implementation manner, the audio information corresponding to the drawing explanation information includes target audio information corresponding to each drawing step; the playing the audio information while displaying the drawing process includes:

在展示每个绘图步骤的讲解示意图的绘制过程的同时,播放该绘图步骤对应的目标音频信息。While showing the drawing process of the explanation diagram of each drawing step, the target audio information corresponding to the drawing step is played.

第二方面,本公开实施例还提供一种题目示意图生成装置,包括:In a second aspect, an embodiment of the present disclosure further provides an apparatus for generating a schematic diagram of a topic, including:

获取模块,用于获取待解题目的题目信息;The acquisition module is used to acquire the subject information of the subject to be solved;

确定模块,用于基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息;A determination module, configured to determine at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved;

绘制模块,用于基于所述至少一个绘图步骤的绘图顺序,以及所述至少一个绘图步骤对应的解析信息,绘制所述待解题目对应的讲解示意图。A drawing module, configured to draw an explanation diagram corresponding to the problem to be solved based on the drawing sequence of the at least one drawing step and the analysis information corresponding to the at least one drawing step.

一种可能的实施方式中,在基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息之后,所述确定模块,还用于:In a possible implementation manner, after determining at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved, the determining module, Also used for:

基于所述待解题目的题目信息,确定所述待解题目的目标题目类型;determining the target question type of the to-be-solved question based on the question information of the to-be-solved question;

确定与所述目标题目类型相匹配的目标绘图模板;determining a target drawing template that matches the target question type;

所述绘制模块,在基于所述至少一个绘图步骤的解析信息,绘制所述待解题目对应的讲解示意图时,用于:The drawing module, when drawing an explanation diagram corresponding to the problem to be solved based on the analytical information of the at least one drawing step, is used for:

基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图。Based on the analysis information of the at least one drawing step and the target drawing template, an explanation diagram corresponding to the to-be-solved topic is drawn.

一种可能的实施方式中,所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型是基于预先训练的神经网络确定的,In a possible implementation manner, the at least one drawing step corresponding to the problem to be solved, the analysis information of the at least one drawing step, and the target problem type of the problem to be solved are determined based on a pre-trained neural network,

所述确定模块,还用于根据以下方法确定所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型:The determining module is further configured to determine at least one drawing step corresponding to the problem to be solved, the analytical information of the at least one drawing step, and the target problem type of the problem to be solved according to the following method:

将所述待解题目的题目信息输入至预先训练的神经网络中,确定所述待解题目对应的目标题目类型,以及所述待解题目对应的至少一个绘图步骤的解析信息,其中,所述神经网络是基于样本题目信息和样本题目信息对应的标注信息训练得到的,所述样本题目信息对应的标注信息用于表示所述样本题目信息的题目类型,和所述样本题目信息对应的绘图步骤的解析信息。Input the topic information of the problem to be solved into the pre-trained neural network, determine the target problem type corresponding to the problem to be solved, and the analysis information of at least one drawing step corresponding to the problem to be solved, wherein, The neural network is obtained by training based on the sample topic information and the annotation information corresponding to the sample topic information, and the annotation information corresponding to the sample topic information is used to indicate the topic type of the sample topic information, which corresponds to the sample topic information. Parsing information for drawing steps.

一种可能的实施方式中,所述确定模块,在确定与所述目标题目类型相匹配的目标绘图模板时,用于:In a possible implementation manner, the determining module, when determining the target drawing template matching the target topic type, is used for:

确定与所述目标题目类型相匹配的至少一个绘图模板,并获取所述至少一个绘图模板对应的匹配条件;determining at least one drawing template that matches the target topic type, and acquiring a matching condition corresponding to the at least one drawing template;

基于所述至少一个绘图模板对应的匹配条件,确定所述待解题目的题目信息所满足的目标匹配条件;Determine, based on the matching condition corresponding to the at least one drawing template, the target matching condition satisfied by the title information of the title to be solved;

将所述目标匹配条件对应的绘图模板确定为所述目标绘图模板。A drawing template corresponding to the target matching condition is determined as the target drawing template.

一种可能的实施方式中,所述目标绘图模板包括至少一个绘图步骤对应的绘图规则;In a possible implementation manner, the target drawing template includes a drawing rule corresponding to at least one drawing step;

所述绘制模块,在基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图时,用于:The drawing module, when drawing the explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step and the target drawing template, is used for:

针对所述至少一个绘图步骤中每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图。For each drawing step in the at least one drawing step, an explanation diagram corresponding to the drawing step is drawn based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step.

一种可能的实施方式中,所述至少一个绘图步骤包括多个绘图步骤;针对所述至少一个绘图步骤中的每个绘图步骤,所述绘制模块,在基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图时,用于:In a possible implementation manner, the at least one drawing step includes a plurality of drawing steps; for each drawing step in the at least one drawing step, the drawing module, based on the drawing rule corresponding to the drawing step and the The analytical information corresponding to the drawing step, when drawing the explanation diagram corresponding to the drawing step, is used to:

针对所述多个绘图步骤中按照绘图顺序排列的首个绘图步骤,基于该首个绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该首个绘图步骤对应的讲解示意图;For the first drawing step arranged according to the drawing sequence among the plurality of drawing steps, based on the drawing rule corresponding to the first drawing step and the analytical information corresponding to the drawing step, draw an explanation diagram corresponding to the first drawing step;

针对所述多个绘图步骤中除首个绘图步骤外的其他每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,在前一绘图步骤绘制的讲解示意图上进行绘制,得到该绘图步骤对应的讲解示意图。For each drawing step except the first drawing step in the plurality of drawing steps, drawing is performed on the explanation diagram drawn by the previous drawing step based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step , to get the explanation diagram corresponding to the drawing step.

一种可能的实施方式中,所述目标绘图模板还包括与绘图步骤对应的讲解模板;In a possible implementation manner, the target drawing template further includes an explanation template corresponding to the drawing step;

所述确定模块,还用于:The determining module is also used for:

将每个所述绘图步骤的解析信息对应添加至所述目标绘图模板中与该绘图步骤对应的讲解模板中,得到所述待解题目对应的绘图讲解信息。The analysis information of each drawing step is correspondingly added to the explanation template corresponding to the drawing step in the target drawing template, so as to obtain the drawing explanation information corresponding to the problem to be solved.

一种可能的实施方式中,所述装置还包括展示模块,用于:In a possible implementation manner, the apparatus further includes a display module for:

生成所述绘图讲解信息对应的音频信息;generating audio information corresponding to the drawing explanation information;

展示所述讲解示意图的绘制过程,并在展示所述绘制过程的同时,播放所述音频信息。The drawing process of the explanation schematic diagram is displayed, and the audio information is played while the drawing process is displayed.

一种可能的实施方式中,所述绘图讲解信息对应的音频信息中,包括各个绘图步骤分别对应的目标音频信息;所述展示模块,在展示所述绘制过程的同时,播放所述音频信息时,用于:In a possible implementation manner, the audio information corresponding to the drawing explanation information includes target audio information corresponding to each drawing step; the display module, while displaying the drawing process, plays the audio information. , for:

在展示每个绘图步骤的讲解示意图的绘制过程的同时,播放该绘图步骤对应的目标音频信息。While showing the drawing process of the explanation diagram of each drawing step, the target audio information corresponding to the drawing step is played.

第三方面,本公开实施例还提供一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a third aspect, embodiments of the present disclosure further provide a computer device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor, and when the computer device runs, the processing A bus communicates between the processor and the memory, and when the machine-readable instructions are executed by the processor, the first aspect or the steps in any possible implementation manner of the first aspect are performed.

第四方面,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a fourth aspect, embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to execute the first aspect, or any one of the first aspect. steps in one possible implementation.

本公开实施例所提供的题目示意图生成方法及装置,在获取到待解题目的题目信息之后,可以根据待解题目的题目信息,确定至少一个绘图步骤以及至少一个绘图步骤的解析信息,并基于至少一个绘图步骤的绘图顺序,以及至少一个绘图步骤的解析信息,自动绘制待解题目对应的讲解示意图,通过向用户展示讲解示意图,可以使得用户更加直观的观看到待解题目的解题过程,进而帮助用户理解待解题目的求解过程,提升了用户的学习效率。In the method and device for generating a schematic diagram of a question provided by the embodiments of the present disclosure, after acquiring the title information of the question to be solved, at least one drawing step and analysis information of at least one drawing step can be determined according to the title information of the question to be solved, and based on The drawing sequence of at least one drawing step, and the analysis information of at least one drawing step, automatically draw the explanation diagram corresponding to the problem to be solved, and by showing the explanation diagram to the user, the user can watch the problem solving process of the problem to be solved more intuitively. , and then help users understand the solution process of the problem to be solved, and improve the user's learning efficiency.

为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present disclosure more clearly understood, preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.

附图说明Description of drawings

为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required in the embodiments, which are incorporated into the specification and constitute a part of the specification. The drawings illustrate embodiments consistent with the present disclosure, and together with the description serve to explain the technical solutions of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. Other related figures are obtained from these figures.

图1示出了本公开实施例所提供的一种题目示意图生成方法的流程图;1 shows a flowchart of a method for generating a schematic diagram of a topic provided by an embodiment of the present disclosure;

图2示出了本公开实施例所提供的一种题目示意图生成方法中,目标绘图模板确定方法的流程图;2 shows a flowchart of a method for determining a target drawing template in a method for generating a schematic diagram of a topic provided by an embodiment of the present disclosure;

图3示出了本公开实施例所提供的简易绘制的图形的示意图;FIG. 3 shows a schematic diagram of a simple drawn graph provided by an embodiment of the present disclosure;

图4示出了本公开实施例所提供的一种题目示意图生成装置的架构示意图;FIG. 4 shows a schematic diagram of the architecture of an apparatus for generating a topic schematic diagram provided by an embodiment of the present disclosure;

图5示出了本公开实施例所提供的一种计算机设备的示意图。FIG. 5 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only These are some, but not all, embodiments of the present disclosure. The components of the disclosed embodiments generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure as claimed, but is merely representative of selected embodiments of the disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present disclosure.

经研究发现,相关技术中,在借助应用程序对练习题进行求解时,应用程序往往只能给出计算步骤和最终的求解结果,然而这种展示方法并不直观,学生看了之后可能并无法理解练习题的解题过程,因此,这种方式教学效果较差。The research found that in related technologies, when solving practice problems with the help of the application program, the application program often only gives the calculation steps and the final solution result. However, this display method is not intuitive, and students may not be able to understand it after reading it. Understand the problem-solving process of practice questions, therefore, this method of teaching is less effective.

基于上述研究,本公开提供了一种题目示意图生成方法及装置,在获取到待解题目的题目信息之后,可以根据待解题目的题目信息,确定至少一个绘图步骤以及至少一个绘图步骤的解析信息,并基于至少一个绘图步骤的绘图顺序,以及至少一个绘图步骤的解析信息,自动绘制待解题目对应的讲解示意图,通过向用户展示讲解示意图,可以使得用户更加直观的观看到待解题目的解题过程,进而帮助用户理解待解题目的求解过程,提升了用户的学习效率。Based on the above research, the present disclosure provides a method and device for generating a schematic diagram of a problem. After obtaining the problem information of the problem to be solved, at least one drawing step and analysis information of at least one drawing step can be determined according to the problem information of the problem to be solved. , and based on the drawing sequence of at least one drawing step and the analysis information of at least one drawing step, automatically draw the explanation diagram corresponding to the problem to be solved. The problem-solving process helps users understand the problem-solving process to be solved, and improves the user's learning efficiency.

针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开针对上述问题所提出的解决方案,都应该是发明人在本公开过程中对本公开做出的贡献。The defects existing in the above solutions are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions to the above problems proposed by the present disclosure hereinafter should be the inventors Contributions made to this disclosure during the course of this disclosure.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

为便于对本实施例进行理解,首先对本公开实施例所公开的一种题目示意图生成方法进行详细介绍,本公开实施例所提供的题目示意图生成方法的执行主体一般为具有一定计算能力的计算机设备,该计算机设备例如包括:终端设备或服务器或其它处理设备,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助手(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等。在一些可能的实现方式中,该题目示意图生成方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。In order to facilitate the understanding of this embodiment, a method for generating a title schematic diagram disclosed by the embodiment of the present disclosure is first introduced in detail. The execution subject of the method for generating a title schematic diagram provided by the embodiment of the present disclosure is generally a computer device with a certain computing capability. The computer equipment includes, for example, a terminal device or a server or other processing device, and the terminal device may be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), handheld devices, computing devices, in-vehicle devices, wearable devices, etc. In some possible implementations, the method for generating a schematic diagram of a topic may be implemented by a processor invoking computer-readable instructions stored in a memory.

参见图1所示,为本公开实施例提供的一种题目示意图生成方法的流程图,所述方法包括步骤101~步骤103,其中:Referring to FIG. 1 , which is a flowchart of a method for generating a topic schematic diagram provided by an embodiment of the present disclosure, the method includes steps 101 to 103 , wherein:

步骤101、获取待解题目的题目信息。Step 101: Obtain topic information of the topic to be solved.

步骤102、基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息。Step 102: Determine at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved.

步骤103、基于所述至少一个绘图步骤的绘图顺序,以及所述至少一个绘图步骤对应的解析信息,绘制所述待解题目对应的讲解示意图。Step 103 , based on the drawing sequence of the at least one drawing step and the analysis information corresponding to the at least one drawing step, draw an explanation diagram corresponding to the problem to be solved.

以下是对上述步骤的详细介绍。The following is a detailed description of the above steps.

针对步骤101、For step 101,

在一种可能的实施方式中,若获取待解题目的题目信息的执行主体为服务器,在获取待解题目的题目信息时,可以是接收客户端发送的携带有待解题目的题目信息的生成指令,基于该生成指令获取待解题目的题目信息。In a possible implementation manner, if the execution body that obtains the topic information of the problem to be solved is the server, when acquiring the topic information of the problem to be solved, it may be to receive the generation instruction sent by the client that carries the topic information of the problem to be solved. , and based on the generation instruction, the topic information of the topic to be solved is obtained.

实际应用中,获取所述待解题目的题目信息的方式可以是以下方式中的任一种:In practical applications, the method of obtaining the topic information of the to-be-solved topic may be any of the following methods:

方式一、获取用户在预设输入位置输入的所述待解题目的题目信息。Manner 1: Obtain the title information of the to-be-solved question input by the user at the preset input position.

在一种可能的实施方式中,客户端可以预设有输入位置区域,用户可以通过键入或者复制粘贴的方式在输入位置区域输入待解题目的题目信息。In a possible implementation manner, the client terminal may be preset with an input location area, and the user may input the question information of the question to be solved in the input location area by typing or copying and pasting.

若所述获取用户在预设输入位置输入的所述题目信息的执行主体为客户端,则可以是用户在所述输入位置区域输入题目信息之后,客户端可以直接获取该待解题目的题目信息;若所述获取用户在预设输入位置输入的所述待解题目的题目信息的执行主体为服务器,则可以是用户在所述输入位置区域输入待解题目的题目信息之后,客户端再将该待解题目的题目信息发送给服务器,从而使服务器获取到所述待解题目的题目信息。If the executing subject of obtaining the question information input by the user at the preset input position is the client terminal, it may be that after the user inputs the title information in the input position area, the client terminal can directly obtain the title information of the question to be solved If the executive body that obtains the title information of the problem to be solved input by the user at the preset input position is the server, then it may be that after the user inputs the title information of the problem to be solved in the input position area, the client terminal will The topic information of the to-be-solved topic is sent to the server, so that the server obtains the topic information of the to-be-solved topic.

方式二、获取包含所述待解题目的题目信息的图像、视频、音频等媒体内容,并提取所述媒体内容中的信息,从而得到所述待解题目的题目信息。Manner 2: Acquire media content such as images, videos, audios, etc., including the title information of the question to be solved, and extract the information in the media content, so as to obtain the title information of the question to be solved.

若所述获取包含所述待解题目的题目信息的图像的执行主体为客户端,则可以通过终端设备携带的摄像头获取包含有所述待解题目的题目信息的图像,再通过光学字符识别(Optical Character Recognition,OCR)等识别技术,获取图像中包含的所述待解题目的题目信息;If the execution subject of acquiring the image containing the topic information of the to-be-solved topic is the client, the image containing the topic information of the to-be-solved topic can be acquired through the camera carried by the terminal device, and then the image containing the topic information of the to-be-solved topic can be acquired through optical character recognition ( Optical Character Recognition, OCR) and other recognition technologies to obtain the title information of the subject to be solved contained in the image;

若所述获取包含所述待解题目的题目信息的图像的执行主体为服务器,则可以先通过客户端获取终端设备携带的摄像头获取包含有所述待解题目的题目信息的图像,再通过OCR等识别技术,确定图像中包含的所述待解题目的题目信息,最后发送给所述服务器;或者,If the executing subject of acquiring the image containing the subject information of the subject to be solved is the server, the client may first acquire the image containing the subject information of the subject to be solved through a camera carried by the terminal device, and then use the OCR to acquire the image containing the subject information of the subject to be solved. and other identification techniques, determine the topic information of the to-be-solved topic contained in the image, and finally send it to the server; or,

服务器可以直接获取客户端发送的包含有所述待解题目的题目信息的图像,该图像可以是通过调用客户端部署的电子设备的摄像头采集的,再通过OCR等识别技术,得到所述待解题目的题目信息。The server can directly acquire the image sent by the client that contains the topic information of the topic to be solved. The image can be collected by calling the camera of the electronic device deployed by the client, and then obtain the to-be-solved problem through identification technologies such as OCR. The topic information of the topic.

当包含所述待解题目的题目信息的媒体内容为视频时,可以对所述视频进行抽帧,从而确定其中包含的所述待解题目的题目信息,再通过OCR等识别技术,得到所述待解题目的题目信息;当包含所述待解题目的题目信息的媒体内容为音频时,可以通过语音识别技术将所述音频转化为包含所述待解题目的题目信息的文本内容,从而得到所述待解题目的题目信息。When the media content containing the title information of the to-be-solved question is a video, the video can be framed to determine the title information of the to-be-solved question contained therein, and then the OCR and other identification technologies are used to obtain the The title information of the question to be solved; when the media content containing the title information of the to-be-solved question is audio, the audio can be converted into text content containing the title information of the to-be-solved question through speech recognition technology, thereby obtaining The topic information of the to-be-solved topic.

针对步骤102和步骤103、For step 102 and step 103,

所述绘图步骤的解析信息可以包括每个绘图步骤对应的关键点信息,示例性的,若所述待解题目的题目信息为:小明的左边有12人,右边有8人,一共有多少人?则该待解题目的题目信息中对应的各个绘图步骤的关键点信息分别为,小明,左边有12人,右边有8人。The analysis information of the drawing step may include key point information corresponding to each drawing step. Exemplarily, if the title information of the question to be solved is: Xiaoming has 12 people on the left and 8 people on the right, how many people are there in total ? Then the key point information of each drawing step corresponding to the title information of the question to be solved is, Xiao Ming, there are 12 people on the left and 8 people on the right.

在一种可能的实施方式中,在基于待解题目的题目信息,确定待解题目对应的至少一个绘图步骤、以及至少一个绘图步骤的解题信息时,可以将待解题目的题目信息输入至预先训练的第一神经网络中,得到待解题目对应的至少一个绘图步骤、以及至少一个绘图步骤的解题信息。In a possible implementation, when determining at least one drawing step corresponding to the problem to be solved and problem solving information of at least one drawing step based on the problem information of the problem to be solved, the problem information of the problem to be solved can be input In the pre-trained first neural network, at least one drawing step corresponding to the problem to be solved and problem solving information of at least one drawing step are obtained.

这里,所述第一神经网络可以是基于样本题目信息,以及样本题目信息的标注信息训练得到的,所述样本题目信息的标注信息可以包括所述样本题目对应的至少一个绘图步骤、以及至少一个绘图步骤的解题信息。Here, the first neural network may be obtained by training based on sample topic information and annotation information of the sample topic information, and the annotation information of the sample topic information may include at least one drawing step corresponding to the sample topic, and at least one Solution information for drawing steps.

在一种可能的实施方式中,在基于待解题目的题目信息,确定待解题目对应的至少一个绘图步骤、以及至少一个绘图步骤的解析信息之后,还可以基于待解题目的题目信息,确定待解题目的目标题目类型,然后确定与目标题目类型相匹配的目标绘图模板,在基于至少一个绘图步骤的解析信息,绘制待解题目对应的讲解示意图时,可以基于至少一个绘图步骤的解析信息和目标绘图模板,绘制待解题目对应的讲解示意图。In a possible implementation manner, after determining at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the title information of the to-be-solved problem, and based on the title information of the to-be-solved problem, Determine the target problem type of the problem to be solved, and then determine the target drawing template that matches the target problem type. When drawing the explanation diagram corresponding to the problem to be solved based on the analysis information of at least one drawing step, it can be based on at least one drawing step. Analyze the information and target drawing template, and draw the explanation diagram corresponding to the problem to be solved.

其中,一示例中,在基于待解题目的题目信息,确定待解题目的目标题目类型时,可以将待解题目的题目信息输入至预先训练的第二神经网络中,得到待解题目的目标题目类型。Among them, in an example, when the target question type of the question to be solved is determined based on the question information of the question to be solved, the question information of the question to be solved can be input into the pre-trained second neural network to obtain the target of the question to be solved. topic type.

这里,所述第二神经网络可以是基于样本题目信息,以及样本题目信息的题目类型标注训练得到的。Here, the second neural network may be obtained by training based on the sample topic information and the topic type annotation of the sample topic information.

待解题目对应的目标题目类型可以为以下题目类型中的任意一种:The target question type corresponding to the question to be solved can be any of the following question types:

排队问题、路程问题、分配问题、购买问题等。Queuing problems, distance problems, allocation problems, purchasing problems, etc.

在另外一种可能的实施方式中,上述第一神经网络和第二神经网络可以是同一神经网络,即所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型是基于预先训练的同一个神经网络确定的。In another possible implementation manner, the first neural network and the second neural network may be the same neural network, that is, at least one drawing step corresponding to the problem to be solved, analysis information of the at least one drawing step, and The target question type of the question to be solved is determined based on the same pre-trained neural network.

具体的,在确定待解题目对应的至少一个绘图步骤、至少一个绘图步骤的解析信息以及待解题目的目标题目类型时,可以将待解题目的题目信息输入至预先训练的神经网络中,确定所述待解题目对应的目标题目类型,以及所述待解题目对应的至少一个绘图步骤的解析信息,其中,所述神经网络是基于样本题目信息和样本题目信息对应的标注信息训练得到的,所述样本题目信息对应的标注信息用于表示所述样本题目信息的题目类型,和所述样本题目信息对应的绘图步骤的解析信息。Specifically, when determining at least one drawing step corresponding to the problem to be solved, the analysis information of at least one drawing step, and the target problem type of the problem to be solved, the problem information of the problem to be solved can be input into the pre-trained neural network, Determine the target question type corresponding to the to-be-solved question and the analysis information of at least one drawing step corresponding to the to-be-solved question, wherein the neural network is trained based on the sample question information and the annotation information corresponding to the sample question information It is obtained that the label information corresponding to the sample topic information is used to indicate the topic type of the sample topic information and the analysis information of the drawing step corresponding to the sample topic information.

在一种可能的实施方式中,在确定与目标题目类型相匹配的目标绘图模板时,可以参照如图2所示的方法,包括以下几个步骤:In a possible implementation, when determining a target drawing template matching the target topic type, the method shown in FIG. 2 can be referred to, including the following steps:

步骤201、确定与目标题目类型相匹配的至少一个绘图模板,并获取所述至少一个绘图模板对应的匹配条件。Step 201: Determine at least one drawing template that matches the target topic type, and acquire a matching condition corresponding to the at least one drawing template.

具体实施中,同一目标题目类型可以匹配有多个绘图模板,示例性的,对于目标题目类型“排队”问题,则题目信息为“从左往右数XXX,从右往左数XXX”对应的绘图模板,和“XX的左边XXXX,XX的右边XXXX”对应的绘图模板可以不同。In a specific implementation, the same target question type can be matched with multiple drawing templates. Exemplarily, for the target question type "queuing" question, the question information is "count XXX from left to right, count XXX from right to left" corresponding to The drawing template can be different from the drawing template corresponding to "XXXX on the left side of XX, XXXX on the right side of XX".

不同的绘图模板可以对应不同的匹配条件,示例性的,绘图模板A对应的匹配条件可以是:携带有关键词“从左往右数”和/或关键词“从右往左数”,以及携带关键词“第X”等。Different drawing templates may correspond to different matching conditions. Exemplarily, the matching conditions corresponding to drawing template A may be: carrying the keyword "count from left to right" and/or the keyword "count from right to left", and Carry the keyword "Xth", etc.

步骤202、基于至少一个绘图模板对应的匹配条件,确定待解题目的题目信息所满足的目标匹配条件。Step 202 , based on the matching condition corresponding to at least one drawing template, determine the target matching condition satisfied by the title information of the title to be solved.

具体实施中,绘图模板对应的匹配条件可以有多个条件,待解题目的题目信息所满足的目标匹配条件可以理解为,待解题目的题目信息满足该匹配条件下的所有条件。In a specific implementation, the matching condition corresponding to the drawing template may have multiple conditions, and the target matching condition satisfied by the title information of the problem to be solved can be understood as that the title information of the problem to be solved satisfies all the conditions under the matching condition.

步骤203、将目标匹配条件对应的绘图模板确定为目标绘图模板。Step 203: Determine the drawing template corresponding to the target matching condition as the target drawing template.

在一种可能的实施方式中,目标绘图模板中可以包括至少一个绘图步骤对应的绘图规则,在基于至少一个绘图步骤的解析信息和目标绘图模板,绘制待解题目对应的讲解示意图时,针对至少一个绘图步骤中的每个绘图步骤,可以基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图。In a possible implementation, the target drawing template may include a drawing rule corresponding to at least one drawing step. When drawing an explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step and the target drawing template, for For each drawing step in the at least one drawing step, an explanation diagram corresponding to the drawing step can be drawn based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step.

示例性的,若待解题目的题目信息为小明的左边有12人,右边有8人,一共有多少人?对应的绘图模板可以包括:Exemplarily, if the title information of the question to be solved is that Xiaoming has 12 people on the left and 8 people on the right, how many people are there in total? Corresponding drawing templates can include:

1、先画一个A代表B1. First draw an A to represent B ;

2、C,则在他的DEF2. C , then draw E and F on his D ;

3、G,则在他的HMN3. G , then draw M N in his H.

在将绘图步骤的解析信息添加至绘图模板之后,可以是After adding the parsing information for the drawing step to the drawing template, it can be

1、先画一个A代表小明1. First draw an A to represent Xiaoming ;

2、小明的左边有12人,则在他的左边12F2. If there are 12 people on Xiaoming's left , draw 12 F 's on his left ;

3、右边有8人,则在他的右边8N3. If there are 8 people on the right, draw 8 Ns on his right .

这里,上述A、F、N可以对应同一种图形,用于表征待解题目的题目信息中的物体,示例性的,可以对应圆、三角形、五角星等。Here, the above-mentioned A, F, and N may correspond to the same kind of graphics, which are used to represent the objects in the question information of the question to be solved, and exemplarily, may correspond to circles, triangles, pentagrams, etc.

在确定用于表征待解题目的题目信息中的物体的图形时,可以在确定待解题目的题目信息中的物体名称之后,确定候选图形库中是否有与该物体对应的图形,例如若题目信息中的物体名称为苹果,则可以先确定候选图像库中是否有苹果对应的图形,若有,则直接将确定的图形作为用于表征该题目信息中的物体的图形;若没有,则直接将预设图形作为用于表征该题目信息中的物体的图形。When determining the graphic representing the object in the question information of the question to be solved, after determining the object name in the question information of the question to be solved, it can be determined whether there is a graphic corresponding to the object in the candidate graphic library, for example, if the question If the name of the object in the information is apple, you can first determine whether there is a graphic corresponding to the apple in the candidate image library, if so, directly use the determined graphic as the graphic used to represent the object in the subject information; The preset graphic is used as the graphic representing the object in the topic information.

在一种可能的实施方式中,当需要重复绘制的图形较多时,可以通过简易绘制的方法绘制重复的图形,示例性的,若上示例中用圆圈代表小明,则在第二步周,在小明左边需要绘制12个圆圈,因此为了提高绘图效率,可以在小明左边画两个圆圈,然后在小明与该圆圈中间用省略号代替其余10个圆圈。In a possible implementation, when there are many graphics that need to be drawn repeatedly, the repeated graphics can be drawn by a simple drawing method. Exemplarily, if a circle is used to represent Xiaoming in the above example, in the second step, in the Xiaoming needs to draw 12 circles on the left side, so in order to improve the drawing efficiency, you can draw two circles on the left side of Xiaoming, and then replace the remaining 10 circles with ellipses between Xiaoming and the circle.

需要说明的是,在通过简易绘制的方法绘制重复的图形时,需要对绘制的图添加必要的说明,示例性的,简易绘制的图形可以如图3所示。It should be noted that, when drawing a repeated figure by a simple drawing method, necessary descriptions need to be added to the drawn figure. An exemplary, simple drawing figure may be as shown in FIG. 3 .

在一种可能的实施方式中,至少一个绘图步骤可以包括多个绘图步骤。针对至少一个绘图步骤中的每个绘图步骤,在基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图时,针对不同的绘图步骤,可以执行如下绘制过程:In one possible implementation, at least one drawing step may include a plurality of drawing steps. For each drawing step in at least one drawing step, when drawing an explanation diagram corresponding to the drawing step based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step, for different drawing steps, the following drawing can be performed process:

针对所述多个绘图步骤中按照绘图顺序排列的首个绘图步骤,基于该首个绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该首个绘图步骤对应的讲解示意图。For the first drawing step arranged according to the drawing sequence among the plurality of drawing steps, based on the drawing rule corresponding to the first drawing step and the analytical information corresponding to the drawing step, an explanation diagram corresponding to the first drawing step is drawn.

针对所述多个绘图步骤中除首个绘图步骤外的其他每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,在前一绘图步骤绘制的讲解示意图上进行绘制,得到该绘图步骤对应的讲解示意图。For each drawing step except the first drawing step in the plurality of drawing steps, drawing is performed on the explanation diagram drawn by the previous drawing step based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step , to get the explanation diagram corresponding to the drawing step.

在一种可能的实施方式中,目标绘图模板中还可以包括与该绘图模板对应的讲解模板,确定目标绘图模板之后,还可以将每个绘图步骤的解析信息对应添加至目标绘图模板中与该绘图步骤对应的讲解模板中,得到待解题目对应的绘图讲解信息。In a possible implementation, the target drawing template may further include an explanation template corresponding to the drawing template, and after the target drawing template is determined, the analysis information of each drawing step may be added to the target drawing template corresponding to the target drawing template. In the explanation template corresponding to the drawing step, the drawing explanation information corresponding to the problem to be solved is obtained.

示例性的,所述绘图讲解信息可以如下所示:Exemplarily, the drawing explanation information may be as follows:

1、先画一个圆圈代表小明1. First draw a circle to represent Xiaoming ;

2、小明的左边有12人,则在他的左边12圆圈2. If there are 12 people on Xiaoming's left , draw 12 circles on his left ;

3、右边有8人,则在他的右边8圆圈3. If there are 8 people on the right, draw 8 circles on his right .

这里,所述绘图讲解信息为对每个绘图步骤的讲解。Here, the drawing explanation information is an explanation for each drawing step.

在另外一种可能的实施方式中,讲解模板中还可以包括对该待解题目的答案信息,所述答案信息的解析信息也可以是上述神经网络输出的,绘图讲解信息中除包括对于每个绘图步骤的讲解外,还可以包括该答案信息。In another possible implementation, the explanation template may further include answer information for the question to be solved, and the analysis information of the answer information may also be output by the above-mentioned neural network. In addition to the explanation of the drawing steps, the answer information can also be included.

示例性的,包括答案信息的绘图讲解信息可以为:Exemplary, drawing explanation information including answer information may be:

1、先画一个圆圈代表小明1. First draw a circle to represent Xiaoming ;

2、小明的左边有12人,则在他的左边12圆圈2. If there are 12 people on Xiaoming's left , draw 12 circles on his left ;

3、右边有8人,则在他的右边8圆圈3. If there are 8 people on the right, draw 8 circles on his right .

4、所以,总人数就是小明左边的人加上小明右边的人,再加上小明4. Therefore, the total number is the person on Xiaoming's left plus the person on Xiaoming's right , plus Xiaoming .

其中,4为答案信息。Among them, 4 is the answer information.

在一种可能的实施方式中,所述答案信息的解析信息可以包括计算算式、计算算式中各个参数的意义。延续上栗,计算算式为12+8+1=21,其中,21表示总人数,12表示小明左边的人,8表示小明右边的人,1表示小明。In a possible implementation manner, the analysis information of the answer information may include a calculation formula and the meaning of each parameter in the calculation formula. Continuing on Li, the calculation formula is 12+8+1=21, where 21 represents the total number of people, 12 represents the person on the left of Xiaoming, 8 represents the person on the right of Xiaoming, and 1 represents Xiaoming.

在一种可能的实施方式中,在确定待解题目对应的绘图讲解信息之后,可以生成绘图讲解信息对应的音频信息,然后展示讲解示意图的绘制过程,并在展示绘制过程的同时,播放生成的音频信息。In a possible implementation, after determining the drawing explanation information corresponding to the topic to be solved, audio information corresponding to the drawing explanation information may be generated, and then the drawing process of the explanation schematic diagram is displayed, and while the drawing process is displayed, the generated audio information can be played. audio information.

具体的,绘制讲解信息对应的音频信息中,包括各个绘图步骤分别对应的目标音频信息;在展示绘制过程的同时,播放音频信息,可以包括:在展示每个绘图步骤的讲解示意图的绘制过程的同时,播放该绘图步骤对应的目标音频信息。Specifically, the audio information corresponding to the drawing explanation information includes target audio information corresponding to each drawing step; while displaying the drawing process, playing the audio information may include: displaying the drawing process of the explanation schematic diagram of each drawing step. At the same time, the target audio information corresponding to the drawing step is played.

这里,需要说明的是,若执行本公开所提供的题目示意图生成方法的计算机设备为不具有显示功能的设备,例如为服务器等,则所述展示讲解示意图的绘制过程,并在展示绘制过程的过程同时,播放生成的音频信息,可以是由该计算机设备(如服务器)控制具有展示功能的展示设备进行绘制过程的展示以及音频信息的播放。Here, it should be noted that, if the computer device that executes the method for generating a schematic diagram of a topic provided by the present disclosure is a device that does not have a display function, such as a server, etc., the presentation will explain the drawing process of the schematic diagram, and in the process of displaying the drawing process At the same time, the generated audio information is played, and the computer device (such as a server) may control a display device with a display function to display the drawing process and play the audio information.

本公开实施例所提供的方法,在获取到待解题目的题目信息之后,可以根据待解题目的题目信息,确定至少一个绘图步骤以及至少一个绘图步骤的解析信息,并基于至少一个绘图步骤的绘图顺序,以及至少一个绘图步骤的解析信息,自动绘制待解题目对应的讲解示意图,通过向用户展示讲解示意图,可以使得用户更加直观的观看到待解题目的解题过程,进而帮助用户理解待解题目的求解过程,提升了用户的学习效率。In the method provided by the embodiments of the present disclosure, after acquiring the title information of the problem to be solved, at least one drawing step and the analysis information of the at least one drawing step can be determined according to the title information of the problem to be solved, and based on the information of the at least one drawing step The drawing sequence, and the analysis information of at least one drawing step, automatically draw the explanation diagram corresponding to the problem to be solved. By showing the explanation diagram to the user, the user can watch the problem solving process of the problem to be solved more intuitively, thereby helping the user to understand The process of solving problems to be solved improves the learning efficiency of users.

本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of the specific implementation, the writing order of each step does not mean a strict execution order but constitutes any limitation on the implementation process, and the specific execution order of each step should be based on its function and possible Internal logic is determined.

基于同一发明构思,本公开实施例中还提供了与题目示意图生成方法对应的题目示意图生成装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述题目示意图生成方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiments of the present disclosure also provide a topic schematic diagram generation device corresponding to the topic schematic diagram generation method. For the implementation of the apparatus, reference may be made to the implementation of the method, and the repetition will not be repeated.

参照图4所示,为本公开实施例提供的一种题目示意图生成装置的架构示意图,所述装置包括:获取模块401、确定模块402、绘制模块403;其中,Referring to FIG. 4, which is a schematic diagram of the architecture of an apparatus for generating a title schematic diagram provided by an embodiment of the present disclosure, the apparatus includes: an acquisition module 401, a determination module 402, and a drawing module 403; wherein,

获取模块401,用于获取待解题目的题目信息;an acquisition module 401, used to acquire topic information of the topic to be solved;

确定模块402,用于基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息;A determination module 402, configured to determine at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the topic information of the to-be-solved problem;

绘制模块403,用于基于所述至少一个绘图步骤的绘图顺序,以及所述至少一个绘图步骤对应的解析信息,绘制所述待解题目对应的讲解示意图。The drawing module 403 is configured to draw an explanation diagram corresponding to the problem to be solved based on the drawing sequence of the at least one drawing step and the analysis information corresponding to the at least one drawing step.

一种可能的实施方式中,在基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息之后,所述确定模块402,还用于:In a possible implementation manner, after determining at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved, the determining module 402 , also used for:

基于所述待解题目的题目信息,确定所述待解题目的目标题目类型;determining the target question type of the to-be-solved question based on the question information of the to-be-solved question;

确定与所述目标题目类型相匹配的目标绘图模板;determining a target drawing template that matches the target question type;

所述绘制模块403,在基于所述至少一个绘图步骤的解析信息,绘制所述待解题目对应的讲解示意图时,用于:The drawing module 403, when drawing the explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step, is used for:

基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图。Based on the analysis information of the at least one drawing step and the target drawing template, an explanation diagram corresponding to the to-be-solved topic is drawn.

一种可能的实施方式中,所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型是基于预先训练的神经网络确定的,In a possible implementation manner, the at least one drawing step corresponding to the problem to be solved, the analysis information of the at least one drawing step, and the target problem type of the problem to be solved are determined based on a pre-trained neural network,

所述确定模块402,还用于根据以下方法确定所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型:The determining module 402 is further configured to determine at least one drawing step corresponding to the problem to be solved, analysis information of the at least one drawing step, and a target problem type of the problem to be solved according to the following method:

将所述待解题目的题目信息输入至预先训练的神经网络中,确定所述待解题目对应的目标题目类型,以及所述待解题目对应的至少一个绘图步骤的解析信息,其中,所述神经网络是基于样本题目信息和样本题目信息对应的标注信息训练得到的,所述样本题目信息对应的标注信息用于表示所述样本题目信息的题目类型,和所述样本题目信息对应的绘图步骤的解析信息。Input the topic information of the problem to be solved into the pre-trained neural network, determine the target problem type corresponding to the problem to be solved, and the analysis information of at least one drawing step corresponding to the problem to be solved, wherein, The neural network is obtained by training based on the sample topic information and the annotation information corresponding to the sample topic information, and the annotation information corresponding to the sample topic information is used to indicate the topic type of the sample topic information, which corresponds to the sample topic information. Parsing information for drawing steps.

一种可能的实施方式中,所述确定模块402,在确定与所述目标题目类型相匹配的目标绘图模板时,用于:In a possible implementation manner, the determining module 402, when determining the target drawing template matching the target topic type, is used for:

确定与所述目标题目类型相匹配的至少一个绘图模板,并获取所述至少一个绘图模板对应的匹配条件;determining at least one drawing template that matches the target topic type, and acquiring a matching condition corresponding to the at least one drawing template;

基于所述至少一个绘图模板对应的匹配条件,确定所述待解题目的题目信息所满足的目标匹配条件;Determine, based on the matching condition corresponding to the at least one drawing template, the target matching condition satisfied by the title information of the title to be solved;

将所述目标匹配条件对应的绘图模板确定为所述目标绘图模板。A drawing template corresponding to the target matching condition is determined as the target drawing template.

一种可能的实施方式中,所述目标绘图模板包括至少一个绘图步骤对应的绘图规则;In a possible implementation manner, the target drawing template includes a drawing rule corresponding to at least one drawing step;

所述绘制模块403,在基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图时,用于:The drawing module 403, when drawing an explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step and the target drawing template, is used for:

针对所述至少一个绘图步骤中每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图。For each drawing step in the at least one drawing step, an explanation diagram corresponding to the drawing step is drawn based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step.

一种可能的实施方式中,所述至少一个绘图步骤包括多个绘图步骤;针对所述至少一个绘图步骤中的每个绘图步骤,所述绘制模块403,在基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图时,用于:In a possible implementation manner, the at least one drawing step includes a plurality of drawing steps; for each drawing step in the at least one drawing step, the drawing module 403, based on the drawing rule corresponding to the drawing step and the The analytical information corresponding to the drawing step, when drawing the explanation diagram corresponding to the drawing step, is used to:

针对所述多个绘图步骤中按照绘图顺序排列的首个绘图步骤,基于该首个绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该首个绘图步骤对应的讲解示意图;For the first drawing step arranged according to the drawing sequence among the plurality of drawing steps, based on the drawing rule corresponding to the first drawing step and the analytical information corresponding to the drawing step, draw an explanation diagram corresponding to the first drawing step;

针对所述多个绘图步骤中除首个绘图步骤外的其他每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,在前一绘图步骤绘制的讲解示意图上进行绘制,得到该绘图步骤对应的讲解示意图。For each drawing step except the first drawing step in the plurality of drawing steps, drawing is performed on the explanation diagram drawn by the previous drawing step based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step , to get the explanation diagram corresponding to the drawing step.

一种可能的实施方式中,所述目标绘图模板还包括与绘图步骤对应的讲解模板;In a possible implementation manner, the target drawing template further includes an explanation template corresponding to the drawing step;

所述确定模块402,还用于:The determining module 402 is further configured to:

将每个所述绘图步骤的解析信息对应添加至所述目标绘图模板中与该绘图步骤对应的讲解模板中,得到所述待解题目对应的绘图讲解信息。The analysis information of each drawing step is correspondingly added to the explanation template corresponding to the drawing step in the target drawing template, so as to obtain the drawing explanation information corresponding to the problem to be solved.

一种可能的实施方式中,所述装置还包括展示模块404,用于:In a possible implementation manner, the apparatus further includes a display module 404 for:

生成所述绘图讲解信息对应的音频信息;generating audio information corresponding to the drawing explanation information;

展示所述讲解示意图的绘制过程,并在展示所述绘制过程的同时,播放所述音频信息。The drawing process of the explanation schematic diagram is displayed, and the audio information is played while the drawing process is displayed.

一种可能的实施方式中,所述绘图讲解信息对应的音频信息中,包括各个绘图步骤分别对应的目标音频信息;所述展示模块404,在展示所述绘制过程的同时,播放所述音频信息时,用于:In a possible implementation manner, the audio information corresponding to the drawing explanation information includes target audio information corresponding to each drawing step; the display module 404 plays the audio information while displaying the drawing process. when used for:

在展示每个绘图步骤的讲解示意图的绘制过程的同时,播放该绘图步骤对应的目标音频信息。While showing the drawing process of the explanation diagram of each drawing step, the target audio information corresponding to the drawing step is played.

关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each module in the apparatus and the interaction flow between the modules, reference may be made to the relevant descriptions in the foregoing method embodiments, which will not be described in detail here.

基于同一技术构思,本公开实施例还提供了一种计算机设备。参照图5所示,为本公开实施例提供的计算机设备500的结构示意图,包括处理器501、存储器502、和总线503。其中,存储器502用于存储执行指令,包括内存5021和外部存储器5022;这里的内存5021也称内存储器,用于暂时存放处理器501中的运算数据,以及与硬盘等外部存储器5022交换的数据,处理器501通过内存5021与外部存储器5022进行数据交换,当计算机设备500运行时,处理器501与存储器502之间通过总线503通信,使得处理器501在执行以下指令:Based on the same technical concept, an embodiment of the present disclosure also provides a computer device. Referring to FIG. 5 , a schematic structural diagram of a computer device 500 provided by an embodiment of the present disclosure includes a processor 501 , a memory 502 , and a bus 503 . Among them, the memory 502 is used to store execution instructions, including the memory 5021 and the external memory 5022; the memory 5021 here is also called the internal memory, which is used to temporarily store the operation data in the processor 501 and the data exchanged with the external memory 5022 such as the hard disk, The processor 501 exchanges data with the external memory 5022 through the memory 5021. When the computer device 500 is running, the processor 501 communicates with the memory 502 through the bus 503, so that the processor 501 executes the following instructions:

获取待解题目的题目信息;Get the topic information of the problem to be solved;

基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息;Determine at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved;

基于所述至少一个绘图步骤的绘图顺序,以及所述至少一个绘图步骤对应的解析信息,绘制所述待解题目对应的讲解示意图。Based on the drawing sequence of the at least one drawing step and the analysis information corresponding to the at least one drawing step, a schematic diagram of the explanation corresponding to the problem to be solved is drawn.

一种可能的实施方式中,处理器501执行的指令中,在基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息之后,所述方法还包括:In a possible implementation, the instructions executed by the processor 501 determine at least one drawing step corresponding to the to-be-solved problem and the analysis of the at least one drawing step based on the problem information of the to-be-solved problem. After the information, the method further includes:

基于所述待解题目的题目信息,确定所述待解题目的目标题目类型;determining the target question type of the to-be-solved question based on the question information of the to-be-solved question;

确定与所述目标题目类型相匹配的目标绘图模板;determining a target drawing template that matches the target question type;

所述基于所述至少一个绘图步骤的解析信息,绘制所述待解题目对应的讲解示意图,包括:Drawing an explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step, including:

基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图。Based on the analysis information of the at least one drawing step and the target drawing template, an explanation diagram corresponding to the to-be-solved topic is drawn.

一种可能的实施方式中,处理器501执行的指令中,所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型是基于预先训练的神经网络确定的,In a possible implementation manner, in the instructions executed by the processor 501, the at least one drawing step corresponding to the problem to be solved, the parsing information of the at least one drawing step, and the target problem type of the problem to be solved are based on: Determined by a pre-trained neural network,

所述方法还包括根据以下方法确定所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型:The method further includes determining at least one drawing step corresponding to the problem to be solved, analysis information of the at least one drawing step, and a target problem type of the problem to be solved according to the following method:

将所述待解题目的题目信息输入至预先训练的神经网络中,确定所述待解题目对应的目标题目类型,以及所述待解题目对应的至少一个绘图步骤的解析信息,其中,所述神经网络是基于样本题目信息和样本题目信息对应的标注信息训练得到的,所述样本题目信息对应的标注信息用于表示所述样本题目信息的题目类型,和所述样本题目信息对应的绘图步骤的解析信息。Input the topic information of the problem to be solved into the pre-trained neural network, determine the target problem type corresponding to the problem to be solved, and the analysis information of at least one drawing step corresponding to the problem to be solved, wherein, The neural network is obtained by training based on the sample topic information and the annotation information corresponding to the sample topic information, and the annotation information corresponding to the sample topic information is used to indicate the topic type of the sample topic information, which corresponds to the sample topic information. Parsing information for drawing steps.

一种可能的实施方式中,处理器501执行的指令中,所述确定与所述目标题目类型相匹配的目标绘图模板,包括:In a possible implementation manner, in the instructions executed by the processor 501, the determining a target drawing template matching the target topic type includes:

确定与所述目标题目类型相匹配的至少一个绘图模板,并获取所述至少一个绘图模板对应的匹配条件;determining at least one drawing template that matches the target topic type, and acquiring a matching condition corresponding to the at least one drawing template;

基于所述至少一个绘图模板对应的匹配条件,确定所述待解题目的题目信息所满足的目标匹配条件;Determine, based on the matching condition corresponding to the at least one drawing template, the target matching condition satisfied by the title information of the title to be solved;

将所述目标匹配条件对应的绘图模板确定为所述目标绘图模板。A drawing template corresponding to the target matching condition is determined as the target drawing template.

一种可能的实施方式中,处理器501执行的指令中,所述目标绘图模板包括至少一个绘图步骤对应的绘图规则;In a possible implementation manner, in the instructions executed by the processor 501, the target drawing template includes a drawing rule corresponding to at least one drawing step;

所述基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图,包括:Drawing an explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step and the target drawing template, including:

针对所述至少一个绘图步骤中每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图。For each drawing step in the at least one drawing step, an explanation diagram corresponding to the drawing step is drawn based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step.

一种可能的实施方式中,处理器501执行的指令中,所述至少一个绘图步骤包括多个绘图步骤;针对所述至少一个绘图步骤中的每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图,包括:In a possible implementation manner, in the instructions executed by the processor 501, the at least one drawing step includes multiple drawing steps; for each drawing step in the at least one drawing step, based on the drawing rule corresponding to the drawing step With the analytical information corresponding to the drawing step, draw a schematic diagram of the explanation corresponding to the drawing step, including:

针对所述多个绘图步骤中按照绘图顺序排列的首个绘图步骤,基于该首个绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该首个绘图步骤对应的讲解示意图;For the first drawing step arranged according to the drawing sequence among the plurality of drawing steps, based on the drawing rule corresponding to the first drawing step and the analytical information corresponding to the drawing step, draw an explanation diagram corresponding to the first drawing step;

针对所述多个绘图步骤中除首个绘图步骤外的其他每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,在前一绘图步骤绘制的讲解示意图上进行绘制,得到该绘图步骤对应的讲解示意图。For each drawing step except the first drawing step in the plurality of drawing steps, drawing is performed on the explanation diagram drawn by the previous drawing step based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step , to get the explanation diagram corresponding to the drawing step.

一种可能的实施方式中,处理器501执行的指令中,所述目标绘图模板还包括与绘图步骤对应的讲解模板;In a possible implementation manner, in the instructions executed by the processor 501, the target drawing template further includes an explanation template corresponding to the drawing step;

所述方法还包括:The method also includes:

将每个所述绘图步骤的解析信息对应添加至所述目标绘图模板中与该绘图步骤对应的讲解模板中,得到所述待解题目对应的绘图讲解信息。The analysis information of each drawing step is correspondingly added to the explanation template corresponding to the drawing step in the target drawing template, so as to obtain the drawing explanation information corresponding to the problem to be solved.

一种可能的实施方式中,处理器501执行的指令中,所述方法还包括:In a possible implementation manner, in the instructions executed by the processor 501, the method further includes:

生成所述绘图讲解信息对应的音频信息;generating audio information corresponding to the drawing explanation information;

展示所述讲解示意图的绘制过程,并在展示所述绘制过程的同时,播放所述音频信息。The drawing process of the explanation schematic diagram is displayed, and the audio information is played while the drawing process is displayed.

一种可能的实施方式中,处理器501执行的指令中,所述绘图讲解信息对应的音频信息中,包括各个绘图步骤分别对应的目标音频信息;所述在展示所述绘制过程的同时,播放所述音频信息,包括:In a possible implementation manner, in the instruction executed by the processor 501, the audio information corresponding to the drawing explanation information includes the target audio information corresponding to each drawing step; The audio information includes:

在展示每个绘图步骤的讲解示意图的绘制过程的同时,播放该绘图步骤对应的目标音频信息。While showing the drawing process of the explanation diagram of each drawing step, the target audio information corresponding to the drawing step is played.

本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的题目示意图生成方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。Embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the method for generating a title schematic diagram described in the foregoing method embodiments are executed. Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.

本公开实施例还提供一种计算机程序产品,该计算机产品承载有程序代码,所述程序代码包括的指令可用于执行上述方法实施例中所述的题目示意图生成方法的步骤,具体可参见上述方法实施例,在此不再赘述。Embodiments of the present disclosure further provide a computer program product, where the computer product carries program codes, and the instructions included in the program codes can be used to execute the steps of the method for generating a schematic diagram of a topic described in the foregoing method embodiments. For details, please refer to the foregoing method. The embodiments are not repeated here.

其中,上述计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。Wherein, the above-mentioned computer program product can be specifically implemented by means of hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the system and device described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here. In the several embodiments provided by the present disclosure, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on such understanding, the technical solutions of the present disclosure can be embodied in the form of software products in essence, or the parts that contribute to the prior art or the parts of the technical solutions. The computer software products are stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.

最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present disclosure, and are used to illustrate the technical solutions of the present disclosure rather than limit them. The protection scope of the present disclosure is not limited thereto, although referring to the foregoing The embodiments describe the present disclosure in detail. Those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed by the present disclosure. Changes can be easily thought of, or equivalent replacements are made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be covered in the present disclosure. within the scope of protection. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims (12)

1.一种题目示意图生成方法,其特征在于,包括:1. a title schematic diagram generation method, is characterized in that, comprises: 获取待解题目的题目信息;Get the topic information of the problem to be solved; 基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息;Determine at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved; 基于所述至少一个绘图步骤的绘图顺序,以及所述至少一个绘图步骤对应的解析信息,绘制所述待解题目对应的讲解示意图。Based on the drawing sequence of the at least one drawing step and the analysis information corresponding to the at least one drawing step, a schematic diagram of the explanation corresponding to the problem to be solved is drawn. 2.根据权利要求1所述的方法,其特征在于,在基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息之后,所述方法还包括:2 . The method according to claim 1 , wherein at least one drawing step corresponding to the problem to be solved and analysis information of the at least one drawing step are determined based on the problem information of the problem to be solved. 3 . Afterwards, the method further includes: 基于所述待解题目的题目信息,确定所述待解题目的目标题目类型;determining the target question type of the to-be-solved question based on the question information of the to-be-solved question; 确定与所述目标题目类型相匹配的目标绘图模板;determining a target drawing template that matches the target question type; 所述基于所述至少一个绘图步骤的解析信息,绘制所述待解题目对应的讲解示意图,包括:Drawing an explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step, including: 基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图。Based on the analysis information of the at least one drawing step and the target drawing template, an explanation diagram corresponding to the to-be-solved topic is drawn. 3.根据权利要求2所述的方法,其特征在于,所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型是基于预先训练的神经网络确定的,3. The method according to claim 2, wherein the at least one drawing step corresponding to the problem to be solved, the analytical information of the at least one drawing step, and the target problem type of the problem to be solved are based on a prior The trained neural network determines, 所述方法还包括根据以下方法确定所述待解题目对应的至少一个绘图步骤、所述至少一个绘图步骤的解析信息以及所述待解题目的目标题目类型:The method further includes determining at least one drawing step corresponding to the problem to be solved, analysis information of the at least one drawing step, and a target problem type of the problem to be solved according to the following method: 将所述待解题目的题目信息输入至预先训练的神经网络中,确定所述待解题目对应的目标题目类型,以及所述待解题目对应的至少一个绘图步骤的解析信息,其中,所述神经网络是基于样本题目信息和样本题目信息对应的标注信息训练得到的,所述样本题目信息对应的标注信息用于表示所述样本题目信息的题目类型,和所述样本题目信息对应的绘图步骤的解析信息。Input the topic information of the problem to be solved into the pre-trained neural network, determine the target problem type corresponding to the problem to be solved, and the analysis information of at least one drawing step corresponding to the problem to be solved, wherein, The neural network is obtained by training based on the sample topic information and the annotation information corresponding to the sample topic information, and the annotation information corresponding to the sample topic information is used to indicate the topic type of the sample topic information, which corresponds to the sample topic information. Parsing information for drawing steps. 4.根据权利要求2所述的方法,其特征在于,所述确定与所述目标题目类型相匹配的目标绘图模板,包括:4. The method according to claim 2, wherein the determining a target drawing template matching the target topic type comprises: 确定与所述目标题目类型相匹配的至少一个绘图模板,并获取所述至少一个绘图模板对应的匹配条件;determining at least one drawing template that matches the target topic type, and acquiring a matching condition corresponding to the at least one drawing template; 基于所述至少一个绘图模板对应的匹配条件,确定所述待解题目的题目信息所满足的目标匹配条件;Determine, based on the matching condition corresponding to the at least one drawing template, the target matching condition satisfied by the title information of the title to be solved; 将所述目标匹配条件对应的绘图模板确定为所述目标绘图模板。A drawing template corresponding to the target matching condition is determined as the target drawing template. 5.根据权利要求2所述的方法,其特征在于,所述目标绘图模板包括至少一个绘图步骤对应的绘图规则;5. The method according to claim 2, wherein the target drawing template comprises a drawing rule corresponding to at least one drawing step; 所述基于所述至少一个绘图步骤的解析信息和所述目标绘图模板,绘制所述待解题目对应的讲解示意图,包括:Drawing an explanation diagram corresponding to the problem to be solved based on the analysis information of the at least one drawing step and the target drawing template, including: 针对所述至少一个绘图步骤中每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图。For each drawing step in the at least one drawing step, an explanation diagram corresponding to the drawing step is drawn based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step. 6.根据权利要求5所述的方法,其特征在于,所述至少一个绘图步骤包括多个绘图步骤;针对所述至少一个绘图步骤中的每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该绘图步骤对应的讲解示意图,包括:6. The method according to claim 5, wherein the at least one drawing step comprises a plurality of drawing steps; for each drawing step in the at least one drawing step, based on the drawing rule corresponding to the drawing step and the The analytical information corresponding to the drawing step is drawn, and the explanation diagram corresponding to the drawing step is drawn, including: 针对所述多个绘图步骤中按照绘图顺序排列的首个绘图步骤,基于该首个绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,绘制该首个绘图步骤对应的讲解示意图;For the first drawing step arranged according to the drawing sequence among the plurality of drawing steps, based on the drawing rule corresponding to the first drawing step and the analytical information corresponding to the drawing step, draw an explanation diagram corresponding to the first drawing step; 针对所述多个绘图步骤中除首个绘图步骤外的其他每个绘图步骤,基于该绘图步骤对应的绘图规则和该绘图步骤对应的解析信息,在前一绘图步骤绘制的讲解示意图上进行绘制,得到该绘图步骤对应的讲解示意图。For each drawing step except the first drawing step in the plurality of drawing steps, drawing is performed on the explanation diagram drawn by the previous drawing step based on the drawing rule corresponding to the drawing step and the analytical information corresponding to the drawing step , to get the explanation diagram corresponding to the drawing step. 7.根据权利要求2所述的方法,其特征在于,所述目标绘图模板还包括与绘图步骤对应的讲解模板;7. The method according to claim 2, wherein the target drawing template further comprises an explanation template corresponding to the drawing step; 所述方法还包括:The method also includes: 将每个所述绘图步骤的解析信息对应添加至所述目标绘图模板中与该绘图步骤对应的讲解模板中,得到所述待解题目对应的绘图讲解信息。The analysis information of each drawing step is correspondingly added to the explanation template corresponding to the drawing step in the target drawing template, so as to obtain the drawing explanation information corresponding to the problem to be solved. 8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, wherein the method further comprises: 生成所述绘图讲解信息对应的音频信息;generating audio information corresponding to the drawing explanation information; 展示所述讲解示意图的绘制过程,并在展示所述绘制过程的同时,播放所述音频信息。The drawing process of the explanation schematic diagram is displayed, and the audio information is played while the drawing process is displayed. 9.根据权利要求8所述的方法,其特征在于,所述绘图讲解信息对应的音频信息中,包括各个绘图步骤分别对应的目标音频信息;所述在展示所述绘制过程的同时,播放所述音频信息,包括:9. The method according to claim 8, wherein the audio information corresponding to the drawing explanation information includes target audio information corresponding to each drawing step; audio information, including: 在展示每个绘图步骤的讲解示意图的绘制过程的同时,播放该绘图步骤对应的目标音频信息。While showing the drawing process of the explanation diagram of each drawing step, the target audio information corresponding to the drawing step is played. 10.一种题目示意图生成装置,其特征在于,包括:10. A title schematic diagram generating device, characterized in that, comprising: 获取模块,用于获取待解题目的题目信息;The acquisition module is used to acquire the subject information of the subject to be solved; 确定模块,用于基于所述待解题目的题目信息,确定所述待解题目对应的至少一个绘图步骤、以及所述至少一个绘图步骤的解析信息;A determination module, configured to determine at least one drawing step corresponding to the to-be-solved problem and analysis information of the at least one drawing step based on the problem information of the problem to be solved; 绘制模块,用于基于所述至少一个绘图步骤的绘图顺序,以及所述至少一个绘图步骤对应的解析信息,绘制所述待解题目对应的讲解示意图。A drawing module, configured to draw an explanation diagram corresponding to the problem to be solved based on the drawing sequence of the at least one drawing step and the analysis information corresponding to the at least one drawing step. 11.一种计算机设备,其特征在于,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1至9任一项所述的题目示意图生成方法的步骤。11. A computer device, comprising: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device runs, the processor and the The memories communicate with each other through a bus, and when the machine-readable instructions are executed by the processor, the steps of the method for generating a topic schematic diagram according to any one of claims 1 to 9 are executed. 12.一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如权利要求1至9任一项所述的题目示意图生成方法的步骤。12. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to generate a schematic diagram of the title according to any one of claims 1 to 9. steps of the method.
CN202011458991.XA 2020-12-11 2020-12-11 Method and device for generating topic schematic diagram Active CN112446934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011458991.XA CN112446934B (en) 2020-12-11 2020-12-11 Method and device for generating topic schematic diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011458991.XA CN112446934B (en) 2020-12-11 2020-12-11 Method and device for generating topic schematic diagram

Publications (2)

Publication Number Publication Date
CN112446934A true CN112446934A (en) 2021-03-05
CN112446934B CN112446934B (en) 2025-01-17

Family

ID=74740517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011458991.XA Active CN112446934B (en) 2020-12-11 2020-12-11 Method and device for generating topic schematic diagram

Country Status (1)

Country Link
CN (1) CN112446934B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281687A (en) * 2008-02-04 2008-10-08 博采林电子科技(深圳)有限公司 A learning machine and a dynamic graphic-text analysis method used therein
CN109815955A (en) * 2019-03-04 2019-05-28 杭州大拿科技股份有限公司 Topic householder method and system
CN109949637A (en) * 2019-03-13 2019-06-28 广东小天才科技有限公司 Automatic answering method and device for objective questions
CN111369403A (en) * 2020-02-27 2020-07-03 北京字节跳动网络技术有限公司 Problem solving demonstration method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281687A (en) * 2008-02-04 2008-10-08 博采林电子科技(深圳)有限公司 A learning machine and a dynamic graphic-text analysis method used therein
CN109815955A (en) * 2019-03-04 2019-05-28 杭州大拿科技股份有限公司 Topic householder method and system
CN109949637A (en) * 2019-03-13 2019-06-28 广东小天才科技有限公司 Automatic answering method and device for objective questions
CN111369403A (en) * 2020-02-27 2020-07-03 北京字节跳动网络技术有限公司 Problem solving demonstration method and device

Also Published As

Publication number Publication date
CN112446934B (en) 2025-01-17

Similar Documents

Publication Publication Date Title
Shawai et al. Malay language mobile learning system (MLMLS) using NFC technology
CN109801527B (en) Method and apparatus for outputting information
Che Hashim et al. User satisfaction for an augmented reality application to support productive vocabulary using speech recognition
CN112447073A (en) Explanation video generation method, explanation video display method and device
JP2020507855A (en) Image recognition with filtering of image classification output distribution
CN112188232A (en) Video generation method, video display method and device
CN107291343A (en) Recording method, device and the computer-readable recording medium of notes
CN110880324A (en) Voice data processing method and device, storage medium and electronic equipment
CN112183048A (en) Automatic problem solving method and device, computer equipment and storage medium
KR20210001412A (en) System and method for providing learning service
US10692498B2 (en) Question urgency in QA system with visual representation in three dimensional space
CN111858951A (en) Learning recommendation method, device and terminal device based on knowledge graph
US20250117590A1 (en) Interaction method and apparatus, computer device, and storage medium
CN113705653A (en) Model generation method and device, electronic device and storage medium
CN116881412A (en) Chinese character multidimensional information matching training method and device, electronic equipment and storage medium
CN112966674A (en) Topic explaining method and device and electronic equipment
CN110867187B (en) Voice data processing method and device, storage medium and electronic equipment
CN112784846A (en) Test question entry method and device, electronic equipment and storage medium
CN111427990A (en) Intelligent examination control system and method assisted by intelligent campus teaching
CN114745594A (en) Method, device, electronic device and storage medium for generating live playback video
CN110491372A (en) A kind of feedback information generating method, device, storage medium and smart machine
CN109885727A (en) Data pushing method, device, electronic equipment and system
CN111859970B (en) Method, apparatus, device and medium for processing information
CN111914115A (en) Sound information processing method and device and electronic equipment
CN112446934A (en) Topic schematic diagram generation method and device

Legal Events

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