WO2016015466A1 - User behavior analysis-based information interaction method and system for programming teaching - Google Patents

User behavior analysis-based information interaction method and system for programming teaching Download PDF

Info

Publication number
WO2016015466A1
WO2016015466A1 PCT/CN2015/073354 CN2015073354W WO2016015466A1 WO 2016015466 A1 WO2016015466 A1 WO 2016015466A1 CN 2015073354 W CN2015073354 W CN 2015073354W WO 2016015466 A1 WO2016015466 A1 WO 2016015466A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
input
subsystem
information
content
Prior art date
Application number
PCT/CN2015/073354
Other languages
French (fr)
Chinese (zh)
Inventor
俞昊然
Original Assignee
北京矩道优达网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京矩道优达网络科技有限公司 filed Critical 北京矩道优达网络科技有限公司
Publication of WO2016015466A1 publication Critical patent/WO2016015466A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electrically Operated Instructional Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are a user behavior analysis-based information interaction method and system for programming teaching. The method comprises: providing initialized guide information to a user to guide the user to start input; monitoring an input behavior of the user, and when the input behavior of the user is stopped, performing extraction and matching to determine whether content input by the user meets a predicted input requirement; if the content input by the user does not satisfy the requirement, prompting the user that the input content has an error or providing a further guide prompt until the user corrects the input content; and when the user satisfies all input requirements according to the guide steps, determining that the user finishes the course. The system comprises a program development environment subsystem, an initialization guide subsystem, a feedback guide subsystem, an input monitoring subsystem, an information analysis subsystem, a form verification subsystem, and an error analysis subsystem. The present invention provides a user with an information interaction and learning platform that has high efficiency, interactivity and interestingness, and can effectively transmit knowledge points to the learning user.

Description

用于编程教学的基于用户行为分析的信息交互方法与系统Information interaction method and system based on user behavior analysis for programming teaching 技术领域Technical field
本发明涉及大规模在线教育、计算机教育和程序分析与程序验证的技术领域,具体涉及一种用于编程教学的基于用户行为分析的信息交互方法与系统。The invention relates to the technical field of large-scale online education, computer education and program analysis and program verification, and particularly relates to a method and system for information interaction based on user behavior analysis for programming teaching.
背景技术Background technique
随着互联网的快速普及,人们对于教育的渴求达到了前所未有的强度,教和学也可以不再受时间、空间和地点条件的限制,知识获取的渠道更加灵活和多样化。现有的线下教育形式受限于场地、资源等因素,已经无法满足市场的需求;基于互联网的视频相关模式的教育形式,在弥补大规模教育需求缺口的同时,也暴露出了缺乏参与性和互动性,难以确保教学质量的问题。特别针对程序设计一类对实践性要求很高的技能的学习过程,传统教学方法暴露出了学习过程中信息接受率低和理论远远多于实践的问题。因此,针对程序设计这一特定技能领域,设计一种带有强参与性的,通过收集相关行为数据,提供实时的带有互动性的反馈式教育方法和系统变得格外迫切。With the rapid spread of the Internet, people's thirst for education has reached an unprecedented intensity. Teaching and learning can no longer be restricted by time, space and location conditions, and the channels of knowledge acquisition are more flexible and diverse. The existing forms of offline education are limited by the venue, resources and other factors, and can no longer meet the needs of the market; the Internet-based video-related mode of education forms to compensate for the large-scale education demand gap, but also lacks participation. And interactivity, it is difficult to ensure the quality of teaching. In particular, it focuses on the learning process of a class of skills that require high practicality. The traditional teaching method exposes the problem of low information acceptance rate and theory far more than practice in the learning process. Therefore, it is particularly urgent to design a feedback-based educational method and system that is highly participatory and provides a real-time interactive learning method by collecting relevant behavioral data for the specific skill area of programming.
针对不同程序设计课程的需求给出相应的引导,让学生可以跟随引导,输入程序,基于已经相对成熟的编程语言分析的技术,学生的程序设计学习情况可以得到实时的监控和反馈。在这一系统中,被动接受过程变成了由学生进行主动探索和实践的过程,整个教学过程在给定学习引导的情况下可以完全不需要更多人的参与,同时,这一过程也不受到参与人数的限制,由于对于每个个体来说,一人和多人参与这个过程,体验到的教学感受是一致的。这种方法和系统强化了参与性,增进了学生对知识接收和吸纳的效果。The corresponding guidance for different programming courses is given, so that students can follow the guidance, input programs, and based on the technology of the relatively mature programming language analysis, the student's programming learning situation can be monitored and feedback in real time. In this system, the passive acceptance process becomes a process of active exploration and practice by the students. The entire teaching process can completely eliminate the need for more people to participate in the given learning guidance. At the same time, this process is not Limited by the number of participants, because for each individual, one person and many people participate in this process, the experience of teaching experience is consistent. This method and system enhances participation and enhances students' acceptance of knowledge and absorption.
发明内容Summary of the invention
本发明的目的是实现一种用于编程教学的基于用户行为分析的信息交互方法与系统,根据用户的输入内容,并结合实时反馈机制来增强互动,为编程爱好者和计算机相关领域学生提供一个效率高、趣味性强的信息交互和学习平台。The object of the present invention is to realize an information interaction method and system based on user behavior analysis for programming teaching, and enhance interaction according to user input content and real-time feedback mechanism, and provide a program for programming enthusiasts and computer related fields. An efficient and fun information exchange and learning platform.
本发明的目的是通过以下技术方案实现的:The object of the invention is achieved by the following technical solutions:
一种用于编程教学的基于用户行为分析的信息交互方法,其步骤包括:An information interaction method based on user behavior analysis for programming teaching, the steps of which include:
1)为用户提供初始化的引导信息,并且引导用户开始输入; 1) providing the user with initialization boot information and guiding the user to start input;
2)监听用户的输入行为,根据用户的输入状态和输入结果采取不同的处理方式,若存在输入行为,则继续监听,直至用户停止输入行为;2) Listening to the user's input behavior, taking different processing methods according to the user's input state and input result, if there is input behavior, continue to listen until the user stops inputting behavior;
3)当用户输入行为停止时,开始对用户输入的内容进行分析,提取并匹配用户输入的内容是否符合预期输入要求;3) When the user input behavior stops, start to analyze the content input by the user, and extract and match whether the content input by the user meets the expected input requirement;
4)若匹配结果不符合要求,则提示用户输入内容有误或者提供进一步的引导提示,直至用户纠正输入内容,使之符合要求;4) If the matching result does not meet the requirements, the user is prompted to input the content incorrectly or provide further guidance prompts until the user corrects the input content to make it meet the requirements;
5)重复执行上述步骤,当用户按照引导步骤完成所有输入要求时,即可视为完成课程,系统将引导进入下一个学习内容。5) Repeat the above steps. When the user completes all the input requirements according to the guiding steps, it can be regarded as completing the course, and the system will guide to the next learning content.
进一步地,步骤1)中,初始化的引导信息包括:用于被用户阅读的信息、用于告知用户所需输入内容的提示信息、用于告知用户易错点的提示信息、用于检测输入内容准确性的验证文法信息等。Further, in step 1), the initialized guiding information includes: information for being read by the user, prompt information for informing the user of the required input content, prompt information for notifying the user of the error-prone point, and detecting the input content. Verification of grammar information for accuracy, etc.
进一步地,步骤2)中,利用系统对键盘操作的监听函数来检测用户是否处于输入状态。如果用户每两次输入行为的中间时间间隔小于系统设定的默认间隔时长,则认为用户正在输入中,系统继续保持监听状态;否则认为用户已停止输入,此时系统将停止监听,开始进入对用户输入内容提取和匹配的过程。Further, in step 2), the listening function of the keyboard operation of the system is utilized to detect whether the user is in an input state. If the interval between the two input actions of the user is less than the default interval time set by the system, the user is considered to be in the input state, and the system continues to monitor state; otherwise, the user stops the input, and the system stops monitoring and starts to enter the pair. The user enters the process of content extraction and matching.
进一步地,步骤3)中,根据初始化过程获取的验证文法来验证用户当前的已输入信息。Further, in step 3), the current input information of the user is verified according to the verification grammar obtained by the initialization process.
进一步地,步骤3)中,将用户输入内容中每一个节点位置的信息与相同位置的验证文法进行匹配,从字符串开始位置开始进行子串匹配,根据匹配到的最大的子串长度,来决定需要更新的提示内容信息。Further, in step 3), the information of each node position in the user input content is matched with the verification grammar of the same position, and the substring matching is performed from the beginning position of the character string, according to the maximum length of the matched substring. Determine the content of the prompt content that needs to be updated.
进一步地,步骤3)中,系统在验证每一个节点的信息时,均采用正则表达式的文法验证规则,将节点信息拆分成有序子节点,再按照顺序分别予以验证,在该节点中所有子节点均被验证有效后,可认为该节点被成功验证。Further, in step 3), when verifying the information of each node, the system uses the grammar verification rule of the regular expression, splits the node information into ordered sub-nodes, and then verifies them in order, respectively, in the node. After all the child nodes have been verified to be valid, the node can be considered to be successfully verified.
进一步地,步骤4)中,在系统返回错误提示的情况下,用户需要按照要求修正自己的输入内容,从而让系统重新匹配并返回结果。Further, in step 4), in the case that the system returns an error prompt, the user needs to correct his input as required, so that the system re-matches and returns the result.
进一步地,步骤5)中,系统在验证每一个Token后,如果存在未被验证的Token,则提醒用户对于这一项Token的验证信息不正确;直到全部Token均被验证且无误,系统将认为用户完成了全部要求输入的内容,允许用户通过这一节课程,进入下一节课程。Further, in step 5), after verifying each Token, if there is an unverified Token, the system reminds the user that the verification information for the Token is incorrect; until all Tokens are verified and correct, the system will consider The user has completed all the required input and allows the user to enter the next lesson through this course.
一种采用上述方法的用于编程教学的基于用户行为分析的信息交互系统,包括:An information interaction system based on user behavior analysis for programming teaching using the above method, comprising:
程序开发环境子系统,为用户提供在线渲染的编程环境,供用户进行编程输入;The program development environment subsystem provides the user with an online rendering programming environment for the user to program input;
初始化引导子系统,接收来服务器端的课程初始化的引导信息用于引导用户进行输入; Initializing the boot subsystem, and receiving the boot information of the course initialization of the server for guiding the user to input;
反馈引导子系统,接收来自服务器端的形式验证子系统的引导信息和/或来自错误分析子系统的错误提示,并显示给用户;a feedback guidance subsystem that receives boot information from a formal verification subsystem on the server side and/or an error prompt from the error analysis subsystem and displays it to the user;
输入监测子系统,监听用户的输入行为,在用户停止输入行为达到指定时间长度后,向信息分析子系统发送程序分析请求;The input monitoring subsystem monitors the input behavior of the user, and sends a program analysis request to the information analysis subsystem after the user stops the input behavior for a specified length of time;
信息分析子系统,提取客户端的代码编辑框区域的内容,将其转换成特殊的标记点的集合,并且将标记点集合组成多层次的有序和无序的数组;The information analysis subsystem extracts the content of the code edit box area of the client, converts it into a special set of mark points, and groups the mark points into a multi-level ordered and unordered array;
还包括形式验证子系统和/或错误分析子系统,其中:Also includes a formal verification subsystem and/or an error analysis subsystem, where:
形式验证子系统接收来自信息分析子系统的标记点集合,将传递过来的标记点与数据库中存储的程序形式语义树进行深度优先匹配验证,当语义树种的子树被完全匹配后,将子树根节点的对应的引导信息返回给反馈引导子系统;The formal verification subsystem receives the set of marker points from the information analysis subsystem, and performs depth-first matching verification on the passed token points with the program-form semantic tree stored in the database. When the subtrees of the semantic tree species are completely matched, the subtree is obtained. The corresponding boot information of the root node is returned to the feedback boot subsystem;
错误分析子系统接收来自信息分析子系统的标记点集合,通过语法的错误检测,形成需要纠正的内容和错误提示并返回给反馈引导子系统。The error analysis subsystem receives the set of points from the information analysis subsystem, through the error detection of the grammar, forms the content and error prompts that need to be corrected and returns to the feedback guidance subsystem.
其中,程序开发环境子系统、初始化引导子系统、反馈引导子系统、输入监测子系统应用于客户端;信息分析子系统、形式验证子系统、错误分析子系统既可以应用于客户端,也可以应用于服务器端。The program development environment subsystem, the initialization boot subsystem, the feedback boot subsystem, and the input monitoring subsystem are applied to the client; the information analysis subsystem, the formal verification subsystem, and the error analysis subsystem can be applied to the client or the client. Applied to the server side.
进一步地,所述信息分析子系统包括:关键字提取模块,用于将程序中的关键字进行序列化;词法分析模块,用于关键字的词法关系进行组合,生成有序和无序的数组。Further, the information analysis subsystem includes: a keyword extraction module for serializing keywords in the program; a lexical analysis module for combining lexical relationships of keywords to generate an ordered and unordered array .
本发明的基于用户行为分析的信息交互方法与系统,用户可以在无教师的条件下进行学习。本发明能够根据用户的输入内容,并结合实时反馈机制来增强互动,为编程爱好者、计算机相关领域学生等用户提供一个效率高、互动性和趣味性强的信息交互和学习平台,能够有效地将知识点传递给学习的用户。The information interaction method and system based on user behavior analysis of the invention can be learned by the user without the teacher. The invention can enhance the interaction according to the input content of the user and the real-time feedback mechanism, and provides an efficient, interactive and interesting information interaction and learning platform for users such as programming enthusiasts and computer related fields, and can effectively Pass the knowledge points to the learning users.
附图说明DRAWINGS
图1为实施例中用于编程教学的基于用户行为分析的信息交互方法的流程图;1 is a flow chart of an information interaction method based on user behavior analysis for programming teaching in an embodiment;
图2为实施例中展示用户与系统交互的信息流示意图;2 is a schematic diagram showing information flow of interaction between a user and a system in an embodiment;
图3为实施例中初始化过程的示意图;3 is a schematic diagram of an initialization process in an embodiment;
图4为实施例中各子系统信息交互过程的示意图;4 is a schematic diagram of information exchange process of each subsystem in the embodiment;
图5为实施例中用户输入行为分析过程的示意图;FIG. 5 is a schematic diagram of a user input behavior analysis process in an embodiment; FIG.
图6为实施例中引导信息初始化的效果图;6 is an effect diagram of initialization of boot information in the embodiment;
图7为实施例中分析用户输入信息并更新引导信息的效果图;7 is an effect diagram of analyzing user input information and updating guidance information in an embodiment;
图8为实施例中的用户全部通过的效果图。 Fig. 8 is a view showing the effect of all the users in the embodiment.
具体实施方式detailed description
为使本发明的上述目的、特征和优点能够更加明显易懂,下面通过具体实施例和附图,对本发明做进一步说明。The above described objects, features and advantages of the present invention will become more apparent from the aspects of the appended claims.
图1为本发明方法的流程图,图2为展示用户与系统交互的信息流示意图。如图1和图2所示,该方法主要包括以下步骤:1 is a flow chart of a method of the present invention, and FIG. 2 is a schematic diagram showing information flow of a user interacting with a system. As shown in FIG. 1 and FIG. 2, the method mainly includes the following steps:
步骤11,初始化引导子系统为用户提供初始化的引导信息并提醒用户进行输入。In step 11, the initialization boot subsystem provides the user with initialized boot information and prompts the user for input.
图3为初始化过程的示意图,如该图所示,主要包括如下步骤:FIG. 3 is a schematic diagram of an initialization process. As shown in the figure, the method mainly includes the following steps:
步骤111,初始化引导子系统根据学生A选择的学习请求编号,请求从数据库服务器中获取该编号对应的学习记录信息;Step 111: The initialization guiding subsystem requests to obtain the learning record information corresponding to the number from the database server according to the learning request number selected by the student A.
步骤112,初始化引导子系统查看学生A的学习记录信息,返回推荐的课程X及其具体信息,包括阅读提示信息和待验证文法信息;Step 112: Initialize the boot subsystem to view the learning record information of the student A, and return the recommended course X and its specific information, including the reading prompt information and the grammar information to be verified;
图6为引导信息初始化显示的效果图,如该图所示,主要包括如下步骤:FIG. 6 is an effect diagram of initializing display of the guidance information. As shown in the figure, the method mainly includes the following steps:
步骤113,初始化引导子系统查看是否需要对编辑框内的代码文本进行初始化,如果需要初始化代码,则在学生A输入内容前将引导区域信息和编辑框中的数据与样式显示出来;否则,就只需要对引导区域信息进行初始化并且显示出来;Step 113: Initialize the boot subsystem to check whether the code text in the edit box needs to be initialized. If the code needs to be initialized, the boot area information and the data and style in the edit box are displayed before the student A inputs the content; otherwise, Only need to initialize the boot area information and display it;
步骤114,学生A查看系统的显示区域,根据引导区域的阅读内容来决定输入的代码内容,输入监测子系统监听学生A的输入行为,信息分析子系统获取到学生A的输入数据。In step 114, the student A checks the display area of the system, determines the input code content according to the reading content of the guiding area, inputs the monitoring subsystem to listen to the input behavior of the student A, and the information analysis subsystem obtains the input data of the student A.
步骤12,错误分析子系统检测出用户输入内容的错误并且提供需要纠正的内容和进一步的提示,以便用户可以更好地理解引导区域所讲述的知识点。In step 12, the error analysis subsystem detects an error in the user input and provides content and further prompts that need to be corrected so that the user can better understand the knowledge points taught in the boot area.
如图1和图4所示,其中主要包括如下步骤:As shown in FIG. 1 and FIG. 4, the main steps are as follows:
步骤121,当输入监测子系统监听到用户停止输入行为时,会获取到用户输入的内容,并且提交给信息分析子系统;Step 121: When the input monitoring subsystem monitors the user to stop the input behavior, the content input by the user is obtained, and is submitted to the information analysis subsystem;
步骤122,信息分析子系统分别对用户输入的内容进行错误分析和形式验证,然后将错误分析结果返回给错误分析子系统;Step 122: The information analysis subsystem separately performs error analysis and formal verification on the content input by the user, and then returns the error analysis result to the error analysis subsystem.
步骤123,根据信息分析子系统返回的错误信息,错误分析子系统判断该错误信息的类别,来决定对该错误信息的处理方式,错误分析子系统将处理结果返回给反馈引导子系统;Step 123: According to the error information returned by the information analysis subsystem, the error analysis subsystem determines the type of the error information to determine the processing manner of the error information, and the error analysis subsystem returns the processing result to the feedback guidance subsystem.
步骤124,反馈引导子系统将反馈信息显示出来,用户会得到新的更为具体的提示信息,可以使用户按照新的提示信息调整自己的输入内容;Step 124, the feedback guiding subsystem displays the feedback information, and the user obtains new and more specific prompt information, which can enable the user to adjust the input content according to the new prompt information;
步骤125,如果反馈引导子系统的返回结果存在错误信息,用户界面会显示错误信息;Step 125: If there is an error message in the returned result of the feedback guiding subsystem, the user interface displays an error message;
步骤126,如果反馈引导子系统的返回结果存在引导信息,用户界面的引导区域会更新 内容,为用户提供更具体的引导信息。Step 126, if the feedback result of the feedback boot subsystem has boot information, the boot area of the user interface is updated. Content, providing users with more specific guidance information.
步骤13,信息分析子系统将不断引导用户进行输入,并且在引导用户依次输入正确内容后,会告知用户已经完成当前课程的学习。In step 13, the information analysis subsystem will continuously guide the user to input, and after guiding the user to input the correct content in turn, the user will be informed that the learning of the current course has been completed.
其中主要包括如下步骤:The main steps include the following steps:
步骤131,当输入监测子系统监听到用户的输入行为停止时,信息分析子系统会获取代码编辑框中的内容;Step 131, when the input monitoring subsystem monitors that the user's input behavior stops, the information analysis subsystem acquires the content in the code edit box;
图5为信息分析子系统对用户输入内容分析过程的示意图,如该图所示,主要包括如下步骤:FIG. 5 is a schematic diagram of an information analysis subsystem analyzing a user input content. As shown in the figure, the method mainly includes the following steps:
步骤132,信息分析子系统中的关键字提取模块会将初始化引导子系统返回的待验证文法信息拆分成需要验证的Token子节点,并且将Token子节点组成有序或者无序的数组;Step 132: The keyword extraction module in the information analysis subsystem splits the to-be-verified grammar information returned by the initialization boot subsystem into Token sub-nodes to be verified, and forms Token sub-nodes into an ordered or unordered array;
步骤133,信息分析子系统之后把Token数组传递给形式验证子系统,形式验证子系统对传递过来的Token数组进行拆分,并将每一个拆分出来的元素依次与信息分析子系统获取到的用户输入内容进行匹配;Step 133, the information analysis subsystem then passes the Token array to the formal verification subsystem, and the formal verification subsystem splits the passed Token array, and each of the split elements is sequentially acquired by the information analysis subsystem. User input content to match;
步骤134,匹配方式如下:查看某一个拆分出来的Token里面包含的节点信息,该节点信息以正则匹配表达式的形式存在;Step 134, the matching manner is as follows: view the node information contained in a split Token, and the node information exists in the form of a regular matching expression;
步骤135,形式验证子系统分别获取到当前用户输入内容及Token节点信息,对二者进行匹配,并返回匹配结果;Step 135: The formal verification subsystem respectively obtains the current user input content and the Token node information, matches the two, and returns a matching result;
步骤136,如果返回的匹配结果是正确匹配结果,则将该Token节点位置的状态标记为正确匹配状态;否则将该节点位置标记为未正确匹配状态;Step 136, if the returned matching result is a correct matching result, marking the status of the Token node location as a correct matching state; otherwise, marking the node location as an incorrect matching state;
步骤137,在将信息分析子系统传递给形式验证子系统的待验证Token数组中的每一个元素的状态都验证后,会得到一个与该Token数组长度相同的状态信息字符串,形式验证子系统会把该状态列表信息返回到客户端;Step 137, after verifying the state of each element in the Token array to be verified that is passed to the formal verification subsystem by the information analysis subsystem, a state information string having the same length as the Token array is obtained, and the formal verification subsystem Will return the status list information to the client;
图7为一个分析用户输入信息并更新引导信息的效果图,如该图所示,包括以下步骤:Figure 7 is an effect diagram of analyzing user input information and updating the guidance information. As shown in the figure, the following steps are included:
步骤138,客户端根据形式验证子系统返回的状态值,采取不同的处理方式;Step 138, the client performs different processing methods according to the status value returned by the formal verification subsystem;
步骤139,如图4所示,如果形式验证子系统对当前知识点的验证结果正确,则反馈引导子系统将用户引导区域的内容进行更换,引导用户进入下一条知识点;Step 139, as shown in FIG. 4, if the verification result of the current knowledge point by the formal verification subsystem is correct, the feedback guiding subsystem replaces the content of the user guiding area, and guides the user to enter the next knowledge point;
步骤1310,直到形式验证子系统正确匹配全部Token节点,反馈引导子系统将用户引导区域内容引导到结束部分的信息,提示用户验证过程已经完成;Step 1310, until the formal verification subsystem correctly matches all the Token nodes, and the feedback boot subsystem guides the user boot area content to the end part information, prompting the user that the verification process has been completed;
图8为本发明的一个实施例的用户通过全部验证后的效果图,如该图所示,包括以下步骤:FIG. 8 is an effect diagram of the user after all the verifications are performed according to an embodiment of the present invention. As shown in the figure, the following steps are included:
步骤1311,反馈引导子系统告知用户可以在程序开发环境子系统中对自己输入的代码内 容进行操作;Step 1311, the feedback boot subsystem informs the user that the code can be entered into the program development environment subsystem. Operation
步骤1312,用户在程序开发子系统中运行代码,与程序进行互动或者查看代码运行结果;Step 1312, the user runs the code in the program development subsystem, interacts with the program, or views the code running result;
步骤1313,用户可以修改代码编辑框中的内容,并且重新经过形式验证子系统的验证过程通过后,运行修改后的代码。In step 1313, the user can modify the content in the code edit box and run the modified code after the verification process of the formal verification subsystem is passed.
以上实施例仅用以说明本发明的技术方案而非对其进行限制,本领域的普通技术人员可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明的精神和范围,本发明的保护范围应以权利要求所述为准。 The above embodiments are only used to illustrate the technical solutions of the present invention, and the present invention is not limited thereto, and those skilled in the art can modify or replace the technical solutions of the present invention without departing from the spirit and scope of the present invention. The scope of protection shall be as stated in the claims.

Claims (10)

  1. 一种用于编程教学的基于用户行为分析的信息交互方法,其步骤包括:An information interaction method based on user behavior analysis for programming teaching, the steps of which include:
    1)为用户提供初始化的引导信息,并且引导用户开始输入;1) providing the user with initialization boot information and guiding the user to start input;
    2)监听用户的输入行为,根据用户的输入状态和输入结果采取不同的处理方式,若存在输入行为,则继续监听,直至用户停止输入行为;2) Listening to the user's input behavior, taking different processing methods according to the user's input state and input result, if there is input behavior, continue to listen until the user stops inputting behavior;
    3)当用户输入行为停止时,开始对用户输入的内容进行分析,提取并匹配用户输入的内容是否符合预期输入要求;3) When the user input behavior stops, start to analyze the content input by the user, and extract and match whether the content input by the user meets the expected input requirement;
    4)若匹配结果不符合要求,则提示用户输入内容有误或者提供进一步的引导提示,直至用户纠正输入内容,使之符合要求;4) If the matching result does not meet the requirements, the user is prompted to input the content incorrectly or provide further guidance prompts until the user corrects the input content to make it meet the requirements;
    5)重复执行上述步骤,当用户按照引导步骤完成所有输入要求时,即可视为完成课程,系统将引导进入下一个学习内容。5) Repeat the above steps. When the user completes all the input requirements according to the guiding steps, it can be regarded as completing the course, and the system will guide to the next learning content.
  2. 如权利要求1所述的方法,其特征在于:步骤1)中,初始化的引导信息包括:用于被用户阅读的信息、用于告知用户所需输入内容的提示信息、用于告知用户易错点的提示信息、用于检测输入内容准确性的验证文法信息。The method according to claim 1, wherein in step 1), the initialized guiding information comprises: information for being read by the user, prompt information for informing the user of the required input content, and being used to notify the user that the error is easy. Point prompt information, verification grammar information for detecting the accuracy of the input content.
  3. 如权利要求1所述的方法,其特征在于:步骤2)中,利用系统对键盘操作的监听函数,来检测用户是否处于输入状态;如果用户每两次输入行为的中间时间间隔小于系统设定的默认间隔时长,则认为用户正在输入中,系统继续保持监听状态;否则认为用户已停止输入,此时系统将停止监听,开始进入对用户输入内容提取和匹配的过程。The method according to claim 1, wherein in step 2), the listening function of the keyboard operation of the system is used to detect whether the user is in an input state; if the interval between the two input actions of the user is less than the system setting The default interval duration is considered to be the user being input, and the system continues to monitor state; otherwise, the user is considered to have stopped inputting, and the system will stop listening and begin to enter the process of extracting and matching the user input content.
  4. 如权利要求1所述的方法,其特征在于:步骤3)中,根据初始化过程获取的验证文法,来验证用户当前的已输入信息。The method according to claim 1, wherein in step 3), the current input information of the user is verified according to the verification grammar obtained by the initialization process.
  5. 如权利要求4所述的方法,其特征在于:步骤3)中,将用户输入内容中每一个节点位置的信息与相同位置的验证文法进行匹配,从字符串开始位置开始进行子串匹配,根据匹配到的最大的子串长度,来决定需要更新的提示内容信息。The method according to claim 4, wherein in step 3), the information of each node position in the user input content is matched with the verification grammar of the same position, and the substring matching is performed from the beginning of the character string, according to The maximum substring length that is matched to determine the prompt content information that needs to be updated.
  6. 如权利要求5所述的方法,其特征在于:步骤3)中,在验证每一个节点的信息时,均采用正则表达式的文法验证规则,将节点信息拆分成有序子节点,再按照顺序分别予以验证,在该节点中所有子节点均被验证有效后,可认为该节点被成功验证。The method according to claim 5, wherein in step 3), when verifying the information of each node, the grammar verification rule of the regular expression is used, and the node information is split into ordered sub-nodes, and then The order is verified separately, and after all the child nodes in the node are verified to be valid, the node can be considered to be successfully verified.
  7. 如权利要求1所述的方法,其特征在于:步骤4)中,在系统返回错误提示的情况下,用户需要按照要求修正自己的输入内容,从而让系统重新匹配并返回结果。The method of claim 1 wherein in step 4), in the event that the system returns an error indication, the user needs to correct his or her input as required, thereby allowing the system to re-match and return the result.
  8. 如权利要求1所述的方法,其特征在于:步骤5)中,在验证每一个Token后,如果存在未被验证的Token,则提醒用户对于这一项Token的验证信息不正确;直到全部Token均被 验证且无误,系统将认为用户完成了全部要求输入的内容,允许用户通过这一节课程,进入下一节课程。The method according to claim 1, wherein in step 5), after verifying each token, if there is an unverified Token, the user is reminded that the verification information for the token is incorrect; until all tokens are present Are Verification and error-free, the system will assume that the user has completed all the required input, allowing the user to enter the next lesson through this course.
  9. 一种采用权利要求1所述方法的用于编程教学的基于用户行为分析的信息交互系统,其特征在于,包括:An information interaction system based on user behavior analysis for programming teaching using the method of claim 1 is characterized in that it comprises:
    程序开发环境子系统,为用户提供在线渲染的编程环境,供用户进行编程输入;The program development environment subsystem provides the user with an online rendering programming environment for the user to program input;
    初始化引导子系统,接收来服务器端的课程初始化的引导信息用于引导用户进行输入;Initializing the boot subsystem, and receiving the boot information of the course initialization of the server for guiding the user to input;
    反馈引导子系统,接收来自服务器端的形式验证子系统的引导信息和/或来自错误分析子系统的错误提示,并显示给用户;a feedback guidance subsystem that receives boot information from a formal verification subsystem on the server side and/or an error prompt from the error analysis subsystem and displays it to the user;
    输入监测子系统,监听用户的输入行为,在用户停止输入行为达到指定时间长度后,向信息分析子系统发送程序分析请求;The input monitoring subsystem monitors the input behavior of the user, and sends a program analysis request to the information analysis subsystem after the user stops the input behavior for a specified length of time;
    信息分析子系统,提取客户端的代码编辑框区域的内容,将其转换成特殊的标记点的集合,并且将标记点集合组成多层次的有序和无序的数组;The information analysis subsystem extracts the content of the code edit box area of the client, converts it into a special set of mark points, and groups the mark points into a multi-level ordered and unordered array;
    还包括形式验证子系统和/或错误分析子系统,其中:Also includes a formal verification subsystem and/or an error analysis subsystem, where:
    形式验证子系统接收来自信息分析子系统的标记点集合,将传递过来的标记点与数据库中存储的程序形式语义树进行深度优先匹配验证,当语义树种的子树被完全匹配后,将子树根节点对应的引导信息返回给反馈引导子系统;The formal verification subsystem receives the set of marker points from the information analysis subsystem, and performs depth-first matching verification on the passed token points with the program-form semantic tree stored in the database. When the subtrees of the semantic tree species are completely matched, the subtree is obtained. The boot information corresponding to the root node is returned to the feedback boot subsystem;
    错误分析子系统接收来自信息分析子系统的标记点集合,通过语法的错误检测,形成需要纠正的内容和错误提示并返回给反馈引导子系统。The error analysis subsystem receives the set of points from the information analysis subsystem, through the error detection of the grammar, forms the content and error prompts that need to be corrected and returns to the feedback guidance subsystem.
  10. 如权利要求9所述的系统,其特征在于:程序开发环境子系统、初始化引导子系统、反馈引导子系统、输入监测子系统应用于客户端;信息分析子系统、形式验证子系统、错误分析子系统应用于客户端或者应用于服务器端。 The system according to claim 9, wherein the program development environment subsystem, the initialization guidance subsystem, the feedback guidance subsystem, and the input monitoring subsystem are applied to the client; the information analysis subsystem, the formal verification subsystem, and the error analysis The subsystem is applied to the client or applied to the server.
PCT/CN2015/073354 2014-07-28 2015-02-27 User behavior analysis-based information interaction method and system for programming teaching WO2016015466A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410363739.9 2014-07-28
CN201410363739.9A CN104239032B (en) 2014-07-28 2014-07-28 For information interacting method of the teaching programming based on user behavior analysis and system

Publications (1)

Publication Number Publication Date
WO2016015466A1 true WO2016015466A1 (en) 2016-02-04

Family

ID=52227175

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073354 WO2016015466A1 (en) 2014-07-28 2015-02-27 User behavior analysis-based information interaction method and system for programming teaching

Country Status (2)

Country Link
CN (1) CN104239032B (en)
WO (1) WO2016015466A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596731A (en) * 2020-12-29 2021-04-02 中国科学技术大学 Programming teaching system and method integrating intelligent education

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239032B (en) * 2014-07-28 2017-07-18 北京矩道优达网络科技有限公司 For information interacting method of the teaching programming based on user behavior analysis and system
CN105760054A (en) * 2016-02-19 2016-07-13 北京奇艺世纪科技有限公司 Prediction prompting method and device
CN106297449A (en) * 2016-10-27 2017-01-04 珠海市华升光电科技有限公司 A kind of practice teaching checking system and method
CN109994008A (en) * 2017-12-30 2019-07-09 无锡虹业自动化工程有限公司 A kind of information processing mechanism of experience system
CN109933316B (en) * 2019-03-15 2022-03-11 成都金时未来教育科技有限公司 STEAM children programming system
CN110335512A (en) * 2019-08-06 2019-10-15 郑州财经学院 A kind of computer multimedia teaching device
CN110490775A (en) * 2019-08-10 2019-11-22 博惠教育科技(上海)有限公司 A kind of juvenile programs the artificial intelligence assistant teaching method in education
CN111090428A (en) * 2019-12-16 2020-05-01 深圳市思天极创教育科技有限公司 Method and device for intelligently feeding back project course operation
CN111524419A (en) * 2020-03-16 2020-08-11 北京编程猫科技有限公司 Creation guidance method and device based on graphical programming tool

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474300A (en) * 2002-08-06 2004-02-11 无敌科技股份有限公司 Method for teaching Chinese in computer writing mode
CN103150694A (en) * 2013-02-05 2013-06-12 北京优才创智科技有限公司 Processing method and device for remote teaching data
CN103389970A (en) * 2012-05-08 2013-11-13 北京华宇软件股份有限公司 Real-time learning-based auxiliary word writing system and method
CN104239032A (en) * 2014-07-28 2014-12-24 俞昊然 User behavior analysis-based information interaction method and system for programming teaching

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055674A (en) * 2006-08-31 2007-10-17 上海交通大学 Remote stream media online teaching method for supporting the VoD and direct broadcast function
CN102810265A (en) * 2012-05-16 2012-12-05 深圳图瑞交互信息技术有限公司 Information interaction system and information interaction method
CN102737536B (en) * 2012-05-29 2014-04-09 于鑫 Operating method of language experience teaching system
CN103513992B (en) * 2013-10-23 2016-04-20 电子科技大学 A kind of general Edutainment robot application software development platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474300A (en) * 2002-08-06 2004-02-11 无敌科技股份有限公司 Method for teaching Chinese in computer writing mode
CN103389970A (en) * 2012-05-08 2013-11-13 北京华宇软件股份有限公司 Real-time learning-based auxiliary word writing system and method
CN103150694A (en) * 2013-02-05 2013-06-12 北京优才创智科技有限公司 Processing method and device for remote teaching data
CN104239032A (en) * 2014-07-28 2014-12-24 俞昊然 User behavior analysis-based information interaction method and system for programming teaching

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596731A (en) * 2020-12-29 2021-04-02 中国科学技术大学 Programming teaching system and method integrating intelligent education
CN112596731B (en) * 2020-12-29 2024-03-29 中国科学技术大学 Programming teaching system and method integrating intelligent education

Also Published As

Publication number Publication date
CN104239032A (en) 2014-12-24
CN104239032B (en) 2017-07-18

Similar Documents

Publication Publication Date Title
WO2016015466A1 (en) User behavior analysis-based information interaction method and system for programming teaching
Habernal et al. The argument reasoning comprehension task: Identification and reconstruction of implicit warrants
Martin et al. Grounded theory: The philosophy, method, and work of Barney Glaser
Morash et al. Guiding novice web workers in making image descriptions using templates
CN106056991B (en) A kind of children's morning teaching system based on Chinese Character Recognition, method
Howlin et al. A framework for the delivery of personalized adaptive content
WO2018106703A1 (en) System and method for automated literacy assessment
CN112596731B (en) Programming teaching system and method integrating intelligent education
Su et al. Motivating students with new mechanisms of online assignments and examination to meet the MOOC challenges for programming
Vachharajani et al. A proposed architecture for automated assessment of use case diagrams
CN107507112A (en) A kind of course method for pushing, device, server and storage medium
Girard et al. Defining the behavior of an affective learning companion in the affective meta-tutor project
KR100532225B1 (en) A study apparatus using network and the method thereof
US20200273364A1 (en) System and Method for Draft-Contemporaneous Essay Evaluating and Interactive Editing
Kaleem et al. Framework for the formulation of metrics for conversational agent evaluation
Volkova et al. Lightly supervised learning of procedural dialog systems
Stokes Teaching manuscripts in the digital age
Chen et al. Difficulty-controllable visual question generation
Acheampong et al. Answer triggering of factoid questions: A cognitive approach
Shah et al. Automated Let's Play Commentary
Karra et al. Impact of Data Quality on Question Answering System Performances.
Schmaltz On the utility of lay summaries and AI safety disclosures: Toward robust, open research oversight
Zhou et al. What do students’ interactions with online lecture videos reveal about their learning?
Thamrin et al. An Attempt to Create an Automatic Scoring Tool of Short Text Answer in Bahasa Indonesia
CN114510617A (en) Online course learning behavior determination method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15826319

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15826319

Country of ref document: EP

Kind code of ref document: A1