Excel document operation scoring method and related equipment

By generating abstract syntax trees and scoring rules, students' Excel document operations are automatically scored, which solves the problem that existing technology cannot score complex Excel documents, achieves efficient and accurate scoring and teaching effect assessment, and improves students' practical skills.

CN118674404APending Publication Date: 2024-09-20WENHUA UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410823558.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing technology cannot effectively automatically grade complex Excel documents, resulting in low teacher efficiency, inability to timely understand students' learning progress and mastery of knowledge points, and affecting the effectiveness of practical classes.

Method used

By creating an initial Excel document that does not contain correct answers, record and analyze the student's answer operation process, generate an abstract syntax tree, generate scoring rules based on this, automatically score students' Excel document operations, including filling in missing information, cleaning up redundant operations, and tracking Object status changes provide detailed error feedback and teaching effect evaluation.

Benefits of technology

It achieves efficient, fair and accurate scoring of complex Excel documents, improves students' practical skills, provides a systematic evaluation of teaching effects, and ensures the fairness and accuracy of the scoring process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674404A
    Figure CN118674404A
Patent Text Reader

Abstract

The invention discloses an Excel document operation scoring method and related equipment. The method comprises the following steps: creating an initial Excel document, which does not contain a correct answer, of a target test question; syntactic analysis is conducted on a target macro file in which the answering standard operation process corresponding to the target test question is recorded, abstract syntax tree information is generated, and all actions of conducting standard answering operation on the target test question in the initial Excel document are recorded in the target macro file; and based on the abstract syntax tree information and the correct answer, generating a scoring rule so as to score a to-be-scored document corresponding to the target test question. The problems that a manual mode is low in efficiency, the learning progress of students and the mastering condition of knowledge points cannot be known in time, the effect of a practice course is affected, and current automatic scoring only focuses on the simple condition of an Excel basic course or a computer secondary examination, and complex Excel documents generated in the Excel practice course cannot be processed can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and more specifically, the present invention relates to an Excel document operation scoring method and related equipment. Background Art

[0002] Grading Excel document operations is a major pain point in Excel practical courses. Using the manual method, not only do teachers have to open documents one by one, but they also have to check the contents of cells, because some students will directly enter the result of the formula instead of the formula when they write the wrong formula. Therefore, the manual method is not only inefficient, but also cannot timely understand the students' learning progress and mastery of knowledge points, affecting the effectiveness of the practical class.

[0003] Automatically grading Excel documents can solve this problem better. There have been some research results on automatic grading of Excel documents. For example, some studies record the correct operations by recording macros, and confirm the correct operations and results through simple analysis, so as to grade the automatically read Excel documents; some studies also propose to copy the formulas in the students' Excel documents into the answer documents to check whether the calculation results of the formulas are correct; or directly read the XML files in the Excel compressed package for comparison. These studies basically only focus on the simple cases of Excel basic courses or computer level 2 exams, and cannot handle the more complex Excel documents generated in Excel practical courses. Summary of the invention

[0004] A series of simplified concepts are introduced in the Summary of the Invention, which will be further described in detail in the Detailed Description of the Invention. The Summary of the Invention does not mean to attempt to define the key features and essential technical features of the claimed technical solution, nor does it mean to attempt to determine the scope of protection of the claimed technical solution.

[0005] In order to solve the problem that the manual method is not only inefficient, but also cannot timely understand the students' learning progress and the mastery of knowledge points, which affects the effect of practical classes, and the current automated scoring only focuses on the simple situation of Excel basic courses or computer level 2 exams, and cannot handle the more complex Excel documents generated in Excel practical classes, in a first aspect, the present invention proposes an Excel document operation scoring method, the above method comprising:

[0006] Create an initial Excel document of the target test questions without the correct answers;

[0007] Performing syntax analysis on a target macro file recording the standard operation process of answering the target test question to generate abstract syntax tree information, wherein the target macro file records all actions of performing the standard operation of answering the target test question in the initial Excel document;

[0008] A scoring rule is generated based on the abstract syntax tree information and the correct answer to score the to-be-scored document corresponding to the target test question.

[0009] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0010] Filling in the key information omitted during the recording process of the target macro file based on the abstract syntax tree information;

[0011] A scoring rule is generated based on the supplemented target macro file and the correct answer.

[0012] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0013] Cleaning up redundant operation statements during the recording process of the target macro file based on the abstract syntax tree information;

[0014] A scoring rule is generated based on the cleaned target macro file and the correct answer.

[0015] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0016] Tracking state change information of various objects during recording of the target macro file based on the abstract syntax tree information;

[0017] A scoring rule is generated based on the target macro file, the state change information and the correct answer.

[0018] Optionally, the step of completing the key information omitted during the recording of the target macro file based on the abstract syntax tree information includes:

[0019] Performing pattern matching on the abstract syntax tree information to identify key operations;

[0020] The state change information of various objects in the key operation process is tracked, and the dependency relationship between each key operation is analyzed to determine the key information, so as to complete the key information omitted in the recording process of the target macro file based on the abstract syntax tree information.

[0021] Optionally, also include:

[0022] The error feedback information obtained by scoring the document to be scored corresponding to the target test question is analyzed to obtain the mastery degree of the knowledge points associated with the target test question by the student user associated with the document to be scored.

[0023] Optionally, also include:

[0024] When the error feedback information of the document to be scored is process operation error feedback information and the result data of the document to be scored matches the result data of the correct answer, performing syntax analysis on the macro file of the document to be scored to generate abstract syntax tree supplementary information;

[0025] The scoring rule is updated based on the abstract syntax tree supplementary information.

[0026] In a second aspect, the present invention further provides an Excel document operation scoring device, comprising:

[0027] Create a unit for creating an initial Excel document of the target test questions without the correct answers;

[0028] An analysis unit is used to perform syntax analysis on a target macro file recording the standard operation process of answering the target test question, and generate abstract syntax tree information, wherein the target macro file records all actions of performing the standard operation of answering the target test question in the initial Excel document;

[0029] A scoring unit is used to generate a scoring rule based on the abstract syntax tree information and the correct answer to score the document to be scored corresponding to the target test question.

[0030] In a third aspect, an electronic device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the steps of the Excel document operation scoring method of any one of the first aspects described above when executing the computer program stored in the memory.

[0031] In a fourth aspect, the present invention further proposes a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the Excel document operation scoring method according to any one of the above items in the first aspect is implemented.

[0032] In summary, the Excel document operation scoring method proposed in this application creates an initial Excel document that does not contain the correct answer to the target question; performs grammatical analysis on the target macro file that records the standard operation process of answering the target question, and generates abstract syntax tree information, wherein the target macro file records all actions of performing standard answering operations on the target question in the initial Excel document; generates scoring rules based on the abstract syntax tree information and the correct answer to score the document to be scored corresponding to the target question. By recording the macro file, all standard answering operations are captured, including data input, formula application, chart generation, etc. By converting the operation steps in the recorded macro file into a structured representation, namely an abstract syntax tree (AST). Each operation step in the macro file can be parsed into a corresponding syntax node, which is organized into a tree structure according to the order and nested relationship of the operation. Make the hierarchical relationship and dependency relationship of the operation steps clear and convenient for subsequent processing and analysis. In the generated AST, key operation nodes, such as formula application, data copying, chart generation, etc., can be clearly identified. At the same time, the state changes of the operation object, such as cell references, data sources, etc., can be captured. Ensure that all necessary information is captured correctly, providing an accurate basis for generating scoring rules. It can automatically process complex Excel document operation scoring, provide detailed error feedback and teaching effect evaluation. This method ensures the fairness, accuracy and efficiency of the scoring process, improves students' practical skills, and provides systematic and accurate data support for teaching effect evaluation.

[0033] The Excel document operation scoring method of the present invention, other advantages, objectives and features of the present invention will be reflected in part through the following description, and in part will be understood by those skilled in the art through research and practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present specification. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0035] Figure 1 A schematic diagram of a method for scoring Excel documents provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of the structure of an Excel document operation scoring device provided in an embodiment of the present application;

[0037] Figure 3A schematic diagram of the structure of an Excel document operation scoring electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0039] In order to solve the problem that the manual method is not only inefficient, but also cannot timely understand the students' learning progress and knowledge mastery, affecting the effect of the practical class, and the current automatic scoring only focuses on the simple situation of Excel basic courses or computer level 2 exams, and cannot handle the more complex Excel documents generated in Excel practical classes, please refer to Figure 1 , is a flow chart of an Excel document operation scoring method provided in an embodiment of the present application, which may specifically include: steps S110 to S130.

[0040] S110, creating an initial Excel document of the target test question that does not contain the correct answer.

[0041] S120, performing syntax analysis on a target macro file recording the standard operation process of answering the target test question, and generating abstract syntax tree information, wherein the target macro file records all actions of performing the standard operation of answering the target test question in the initial Excel document;

[0042] Based on the abstract syntax tree information and the correct answer.

[0043] S130, generating a scoring rule based on the abstract syntax tree information and the correct answer to score the document to be scored corresponding to the target test question.

[0044] In summary, the Excel document operation scoring method provided in the embodiment of the present application is to create an initial Excel document that does not contain the correct answer of the target test question; perform grammatical analysis on the target macro file that records the standard operation process of answering the target test question, and generate abstract syntax tree information, wherein the target macro file records all actions of performing standard answering operations on the target test question in the initial Excel document; and generate scoring rules based on the abstract syntax tree information and the correct answer to score the document to be scored corresponding to the target test question. By recording the macro file, all standard answering operations are captured, including data input, formula application, chart generation, etc. By converting the operation steps in the recorded macro file into a structured representation, i.e., an abstract syntax tree (AST). Each operation step in the macro file can be parsed into a corresponding syntax node, which is organized into a tree structure according to the order and nested relationship of the operation. Make the hierarchical relationship and dependency relationship of the operation steps clear and easy to process and analyze later. In the generated AST, key operation nodes, such as formula application, data copying, chart generation, etc., can be clearly identified. At the same time, the state changes of the operation object, such as cell references, data sources, etc., can be captured. Ensure that all necessary information is captured correctly, providing an accurate basis for generating scoring rules. It can automatically process complex Excel document operation scoring, provide detailed error feedback and teaching effect evaluation. This method ensures the fairness, accuracy and efficiency of the scoring process, improves students' practical skills, and provides systematic and accurate data support for teaching effect evaluation.

[0045] According to some embodiments, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0046] Filling in the key information omitted during the recording process of the target macro file based on the abstract syntax tree information;

[0047] A scoring rule is generated based on the supplemented target macro file and the correct answer.

[0048] Exemplarily, in the process of recording a macro file, some operation steps or key information (such as cell references, formula applications, etc.) may be omitted. Through the generated abstract syntax tree (AST), each operation step and its dependencies can be systematically analyzed to identify these omitted parts. Through context analysis and dependency checking, these key operation steps are completed to ensure the integrity of each operation. For example, if a cell is not explicitly referenced during the recording process, the reference information can be supplemented through AST analysis. The target macro file after the information is completed provides a complete and accurate set of operation steps. Combined with the operation results of the correct answer (standard answer), detailed scoring rules can be formulated. Scoring rules can include verification of operation steps, correctness check of formulas, verification of data and charts, etc. For example, check whether a cell contains the correct formula, whether a chart exists and whether its data source is correct. In this way, it can be ensured that the recorded macro file contains all necessary operation steps and information. Improve the accuracy of the operation steps and avoid scoring errors caused by missing information. Ensure the consistency of the operation steps and provide a reliable basis for the generation of subsequent scoring rules.

[0049] In some examples, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0050] Cleaning up redundant operation statements during the recording process of the target macro file based on the abstract syntax tree information;

[0051] A scoring rule is generated based on the cleaned target macro file and the correct answer.

[0052] For example, in the process of recording a macro file, some redundant or invalid operation statements may be generated (such as selecting the same area multiple times, invalid deselection operations, etc.). Through the generated abstract syntax tree (AST), each operation step can be systematically analyzed to identify these redundant or invalid parts. Through pattern matching and dependency analysis, these redundant operation statements are deleted, the structure of the macro file is simplified, and only the operation steps that actually affect the scoring are retained. The cleaned target macro file provides a concise and accurate set of operation steps. Combined with the operation results of the correct answer (standard answer), detailed scoring rules can be formulated. Scoring rules can include verification of operation steps, correctness check of formulas, verification of data and charts, etc. For example, check whether a cell contains the correct formula, whether a chart exists and whether its data source is correct. In this way, unnecessary operation steps can be removed to make the macro file more concise and clear. Improve the execution efficiency of macro files and reduce the time and resource consumption caused by redundant operations. Avoid the interference of redundant operations on the scoring results and ensure the accuracy and fairness of the scoring rules.

[0053] In some examples, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0054] Tracking state change information of various objects during recording of the target macro file based on the abstract syntax tree information;

[0055] A scoring rule is generated based on the target macro file, the state change information and the correct answer.

[0056] Exemplarily, during the process of recording a macro file, various Excel objects (such as worksheets, cells, charts, etc.) will undergo state changes (such as being created, modified, referenced, etc.). Through the generated abstract syntax tree (AST), the state changes of these objects can be systematically analyzed and recorded. Through context analysis and dependency checking, the state changes of each object are recorded in detail, including operations such as object creation, modification, reference, and deletion. In this way, the state changes of various objects can be recorded in detail to ensure that each operation step can be accurately evaluated during scoring. By tracking the state changes of objects, the accuracy of scoring rules can be improved to avoid missing important state change information. Ensure the consistency of operation steps and state changes, and provide a reliable basis for the generation of subsequent scoring rules.

[0057] In some examples, the step of completing the key information omitted during the recording of the target macro file based on the abstract syntax tree information includes:

[0058] Performing pattern matching on the abstract syntax tree information to identify key operations;

[0059] The state change information of various objects in the key operation process is tracked, and the dependency relationship between each key operation is analyzed to determine the key information, so as to complete the key information omitted in the recording process of the target macro file based on the abstract syntax tree information.

[0060] Exemplarily, the abstract syntax tree (AST) generated by syntax analysis represents the operation steps of the macro file as structured data. Using pattern matching technology, key operations in these structured data can be identified and extracted. Key operations usually include data selection, formula application, chart generation, etc., which are the basis for evaluating the correctness of Excel document operations. By analyzing the context and dependency of each operation node in AST, the state changes of objects (such as worksheets, cells, charts, etc.) involved in the key operation process are tracked. These state changes include object creation, modification, reference, etc., and these change information are recorded for subsequent analysis. The key operation and state change information obtained in the first two steps are used to complete the key operation information missing during the recording process. For example, if a reference to a cell is omitted during the recording process, the reference operation can be supplemented by the state change information. Ensure the integrity and accuracy of each operation step and provide a reliable basis for generating scoring rules. As a result, the key operations in the macro file can be accurately identified, laying the foundation for subsequent dependency analysis and information completion. Extract key operation information to ensure that the formulation of scoring rules is based on these key operations. It can also record the state changes of the object in detail to ensure that no important information is missed during the completion process. By analyzing the dependencies between operations, the operation sequence and the connections between them are clarified, providing a basis for completing the missing information.

[0061] In some examples, this also includes:

[0062] The error feedback information obtained by scoring the document to be scored corresponding to the target test question is analyzed to obtain the mastery degree of the knowledge points associated with the target test question by the student user associated with the document to be scored.

[0063] Exemplarily, the Excel documents submitted by students can be checked and scored item by item based on the scoring rules generated previously. The scoring process includes verifying the correctness of the operation steps, the accuracy of the formula, the validity of the data and charts, etc. During the scoring process, all error messages are recorded to form a detailed error feedback report. The error feedback information generated during the scoring process can be classified and counted to analyze the types and frequencies of errors that occurred in different operation steps of students. By analyzing the error information, the degree of mastery of the students in the various knowledge points involved in the target test questions can be determined. Knowledge points may include data selection, formula application, chart generation, etc. Therefore, by analyzing the error feedback information, the degree of mastery of the students on each knowledge point can be evaluated. It can provide teachers with detailed student operation error information to help teachers understand students' learning situation and adjust teaching strategies. And provide students with specific error feedback to help them improve their operations and skills in a targeted manner.

[0064] In some examples, this also includes:

[0065] When the error feedback information of the document to be scored is process operation error feedback information and the result data of the document to be scored matches the result data of the correct answer, performing syntax analysis on the macro file of the document to be scored to generate abstract syntax tree supplementary information;

[0066] The scoring rule is updated based on the abstract syntax tree supplementary information.

[0067] For example, during the scoring process, if it is found that there are errors in the student's operating steps (process operation errors), but the final result data is consistent with the correct answer, it means that the student may have used different operating steps or methods to complete the question. In this case, it is necessary to further analyze the student's operating steps to ensure the comprehensiveness and accuracy of the scoring rules. Perform syntax analysis on the macro files in the documents to be scored submitted by the students, and generate abstract syntax tree (AST) supplementary information reflecting the operating steps. Through the AST supplementary information, the student's operating steps can be recorded in detail, and operating methods that are different from the standard answers but valid can be identified. Use the AST supplementary information obtained from the student's operating steps to update the scoring rules to ensure that the scoring rules can cover different operating methods.

[0068] See also Figure 2 , an embodiment of the Excel document operation scoring device in the embodiment of the present application may include:

[0069] A creation unit 21, used for creating an initial Excel document of the target test question that does not contain a correct answer;

[0070] The analyzing unit 22 is used to perform syntax analysis on the target macro file recording the standard operation process of answering the target test question, and generate abstract syntax tree information, wherein the target macro file records all actions of performing the standard operation of answering the target test question in the initial Excel document;

[0071] The scoring unit 23 is used to generate a scoring rule based on the abstract syntax tree information and the correct answer to score the document to be scored corresponding to the target test question.

[0072] In summary, the Excel document operation scoring device provided in the embodiment of the present application creates an initial Excel document that does not contain the correct answer of the target test question; performs grammatical analysis on the target macro file that records the standard operation process of answering the target test question, and generates abstract syntax tree information, wherein the target macro file records all actions of performing standard answering operations on the target test question in the initial Excel document; generates scoring rules based on the abstract syntax tree information and the correct answer to score the document to be scored corresponding to the target test question. By recording the macro file, all standard answering operations are captured, including data input, formula application, chart generation, etc. By converting the operation steps in the recorded macro file into a structured representation form, i.e., an abstract syntax tree (AST). Each operation step in the macro file can be parsed into a corresponding syntax node, and these nodes are organized into a tree structure according to the order and nested relationship of the operation. Make the hierarchical relationship and dependency relationship of the operation steps clear and easy to process and analyze later. In the generated AST, key operation nodes, such as formula application, data copying, chart generation, etc., can be clearly identified. At the same time, the state changes of the operation object, such as cell references, data sources, etc., can be captured. Ensure that all necessary information is captured correctly, providing an accurate basis for generating scoring rules. It can automatically process complex Excel document operation scoring, provide detailed error feedback and teaching effect evaluation. This method ensures the fairness, accuracy and efficiency of the scoring process, improves students' practical skills, and provides systematic and accurate data support for teaching effect evaluation.

[0073] like Figure 3 As shown, the embodiment of the present application further provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored in the memory 320 and executable on the processor. When the processor 320 executes the computer program 311, the steps of any of the above-mentioned Excel document operation scoring methods are implemented:

[0074] Create an initial Excel document of the target test questions without the correct answers;

[0075] Performing syntax analysis on a target macro file recording the standard operation process of answering the target test question to generate abstract syntax tree information, wherein the target macro file records all actions of performing the standard operation of answering the target test question in the initial Excel document;

[0076] A scoring rule is generated based on the abstract syntax tree information and the correct answer to score the to-be-scored document corresponding to the target test question.

[0077] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0078] Filling in the key information omitted during the recording process of the target macro file based on the abstract syntax tree information;

[0079] A scoring rule is generated based on the supplemented target macro file and the correct answer.

[0080] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0081] Cleaning up redundant operation statements during the recording process of the target macro file based on the abstract syntax tree information;

[0082] A scoring rule is generated based on the cleaned target macro file and the correct answer.

[0083] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0084] Tracking state change information of various objects during recording of the target macro file based on the abstract syntax tree information;

[0085] A scoring rule is generated based on the target macro file, the state change information and the correct answer.

[0086] Optionally, the step of completing the key information omitted during the recording of the target macro file based on the abstract syntax tree information includes:

[0087] Performing pattern matching on the abstract syntax tree information to identify key operations;

[0088] The state change information of various objects in the key operation process is tracked, and the dependency relationship between each key operation is analyzed to determine the key information, so as to complete the key information omitted in the recording process of the target macro file based on the abstract syntax tree information.

[0089] Optionally, also include:

[0090] The error feedback information obtained by scoring the document to be scored corresponding to the target test question is analyzed to obtain the mastery degree of the knowledge points associated with the target test question by the student user associated with the document to be scored.

[0091] Optionally, also include:

[0092] When the error feedback information of the document to be scored is process operation error feedback information and the result data of the document to be scored matches the result data of the correct answer, performing syntax analysis on the macro file of the document to be scored to generate abstract syntax tree supplementary information;

[0093] The scoring rule is updated based on the abstract syntax tree supplementary information.

[0094] Since the electronic device introduced in this embodiment is a device used to implement an Excel document operation scoring device in the embodiment of the present application, based on the method introduced in the embodiment of the present application, technical personnel in this field can understand the specific implementation method of the electronic device of this embodiment and its various variations. Therefore, how the electronic device implements the method in the embodiment of the present application is not introduced in detail here. As long as the equipment used by technical personnel in this field to implement the method in the embodiment of the present application is within the scope of protection of this application.

[0095] In the specific implementation process, when the computer program 311 is executed by the processor, it can achieve Figure 1 Any implementation manner in the corresponding embodiment:

[0096] Create an initial Excel document of the target test questions without the correct answers;

[0097] Performing syntax analysis on a target macro file recording the standard operation process of answering the target test question to generate abstract syntax tree information, wherein the target macro file records all actions of performing the standard operation of answering the target test question in the initial Excel document;

[0098] A scoring rule is generated based on the abstract syntax tree information and the correct answer to score the to-be-scored document corresponding to the target test question.

[0099] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0100] Filling in the key information omitted during the recording process of the target macro file based on the abstract syntax tree information;

[0101] A scoring rule is generated based on the supplemented target macro file and the correct answer.

[0102] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0103] Cleaning up redundant operation statements during the recording process of the target macro file based on the abstract syntax tree information;

[0104] A scoring rule is generated based on the cleaned target macro file and the correct answer.

[0105] Optionally, generating a scoring rule based on the abstract syntax tree information and the correct answer includes:

[0106] Tracking state change information of various objects during recording of the target macro file based on the abstract syntax tree information;

[0107] A scoring rule is generated based on the target macro file, the state change information and the correct answer.

[0108] Optionally, the step of completing the key information omitted during the recording of the target macro file based on the abstract syntax tree information includes:

[0109] Performing pattern matching on the abstract syntax tree information to identify key operations;

[0110] The state change information of various objects in the key operation process is tracked, and the dependency relationship between each key operation is analyzed to determine the key information, so as to complete the key information omitted in the recording process of the target macro file based on the abstract syntax tree information.

[0111] Optionally, also include:

[0112] The error feedback information obtained by scoring the document to be scored corresponding to the target test question is analyzed to obtain the mastery degree of the knowledge points associated with the target test question by the student user associated with the document to be scored.

[0113] Optionally, also include:

[0114] When the error feedback information of the document to be scored is process operation error feedback information and the result data of the document to be scored matches the result data of the correct answer, performing syntax analysis on the macro file of the document to be scored to generate abstract syntax tree supplementary information;

[0115] The scoring rule is updated based on the abstract syntax tree supplementary information.

[0116] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0117] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0118] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0119] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0120] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0121] The present application also provides a computer program product, which includes computer software instructions. When the computer software instructions are executed on a processing device, the processing device is caused to execute the following Figure 1 The process of Excel document operation scoring in the corresponding embodiment.

[0122] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.

[0123] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0124] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0126] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0127] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0128] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for scoring Excel document operations, characterized in that: include: Create an initial Excel document of the target test questions without the correct answers; Performing syntax analysis on a target macro file recording the standard operation process of answering the target test question to generate abstract syntax tree information, wherein the target macro file records all actions of performing the standard operation of answering the target test question in the initial Excel document; A scoring rule is generated based on the abstract syntax tree information and the correct answer to score the to-be-scored document corresponding to the target test question.

2. The method according to claim 1, characterized in that The generating of a scoring rule based on the abstract syntax tree information and the correct answer comprises: Filling in the key information omitted during the recording process of the target macro file based on the abstract syntax tree information; A scoring rule is generated based on the supplemented target macro file and the correct answer.

3. The method according to claim 1, characterized in that The generating of a scoring rule based on the abstract syntax tree information and the correct answer comprises: Cleaning up redundant operation statements during the recording process of the target macro file based on the abstract syntax tree information; A scoring rule is generated based on the cleaned target macro file and the correct answer.

4. The method according to claim 1, characterized in that The generating of a scoring rule based on the abstract syntax tree information and the correct answer comprises: Tracking state change information of various objects during recording of the target macro file based on the abstract syntax tree information; A scoring rule is generated based on the target macro file, the state change information and the correct answer.

5. The method according to claim 2, characterized in that The method of completing the key information omitted in the target macro file recording process based on the abstract syntax tree information includes: Performing pattern matching on the abstract syntax tree information to identify key operations; The state change information of various objects in the key operation process is tracked, and the dependency relationship between each key operation is analyzed to determine the key information, so as to complete the key information omitted in the recording process of the target macro file based on the abstract syntax tree information.

6. The method according to any one of claims 1 to 5, characterized in that Also includes: The error feedback information obtained by scoring the document to be scored corresponding to the target test question is analyzed to obtain the mastery degree of the knowledge points associated with the target test question by the student user associated with the document to be scored.

7. The method according to claim 6, characterized in that Also includes: When the error feedback information of the document to be scored is process operation error feedback information and the result data of the document to be scored matches the result data of the correct answer, performing syntax analysis on the macro file of the document to be scored to generate abstract syntax tree supplementary information; The scoring rule is updated based on the abstract syntax tree supplementary information.

8. An Excel document operation scoring device, characterized in that: include: Create a unit for creating an initial Excel document of the target test questions without the correct answers; An analysis unit is used to perform syntax analysis on a target macro file recording the standard operation process of answering the target test question, and generate abstract syntax tree information, wherein the target macro file records all actions of performing the standard operation of answering the target test question in the initial Excel document; A scoring unit is used to generate a scoring rule based on the abstract syntax tree information and the correct answer to score the document to be scored corresponding to the target test question.

9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is used to implement the steps of the Excel document operation scoring method according to any one of claims 1 to 7 when executing the computer program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the Excel document operation scoring method according to any one of claims 1 to 7 is implemented.