Data processing method and device, equipment, storage medium and program product

By analyzing the description information and dragging and assigning behavior data of the building blocks corresponding to the programming roles in the programming project, we can visually display the learning status of programming students, solve the problem of difficulty in understanding the mastery level of programming students in the existing technology, and realize personalized course recommendations. and the effect of teaching students in accordance with their aptitude.

CN118519629APending Publication Date: 2024-08-20BEIJING SIMING QICHUANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410734703.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-08-20

AI Technical Summary

Technical Problem

The existing Scratch graphical programming lacks statistics on the number of programming building blocks used and the number of times the programming blocks are dragged, making it difficult to understand how well the programming students master the programming project.

Method used

By analyzing the description information of the building blocks corresponding to the programming roles in the programming project, the number of first building blocks used and the number of drags and assignments of the target building block type are determined, and these data are visualized to visually display the learning status of programming students.

Benefits of technology

It realizes the quantification and intuitive display of the learning status of programming students, making it easier for relevant personnel to understand the mastery level of programming students, and make personalized recommendations of courses based on the learning situation, so as to teach students in accordance with their aptitude.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519629A_ABST
    Figure CN118519629A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, equipment, a storage medium and a program product, and belongs to the technical field of data processing.The method comprises the steps that according to building block description information of programming building blocks corresponding to programming roles in a programming project, the use number of first building blocks corresponding to the programming roles is determined; acquiring dragging operation and assignment operation of the front end on the programming building blocks corresponding to the target building block type, and determining target dragging times and target assignment times corresponding to the target building block type according to the dragging operation and the assignment operation; determining a second building block use number of the programming building blocks corresponding to the target building block type; and visualizing the use number of the first building blocks, the target dragging times, the target assignment times and the use number of the second building blocks. According to the invention, the learning condition of the programming students on the programming items can be visually and clearly displayed, and related personnel can conveniently know the mastering degree of the programming students on the programming items.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device, equipment, storage medium and program product. Background Art

[0002] In the existing Scratch graphical programming, there is no relevant data statistics on the number of programming blocks used by programming students, as well as the number of times the programming students drag and assign values ​​to specific types of programming blocks. This creates an obstacle for relevant personnel to understand the degree of mastery of programming projects by programming students. Summary of the invention

[0003] The present invention provides a data processing method, apparatus, device, storage medium and program product to intuitively and clearly display the learning status of programming trainees on programming projects, so as to facilitate relevant personnel to understand the degree of mastery of programming projects by programming trainees.

[0004] According to one aspect of the present invention, there is provided a data processing method, the method comprising:

[0005] Determine the usage quantity of the first building block corresponding to the programming role according to the building block description information of the programming building block corresponding to the programming role in the programming project;

[0006] Obtain the dragging operation and assignment operation of the front end on the programming building block corresponding to the target building block type, and determine the target dragging times and target assignment times corresponding to the target building block type according to the dragging operation and assignment operation;

[0007] Determine the number of second building blocks used of the programming building block corresponding to the target building block type;

[0008] The number of first building blocks used, the number of target drags, the number of target assignments, and the number of second building blocks used are visualized.

[0009] According to another aspect of the present invention, there is provided a data processing device, the device comprising:

[0010] A first building block usage quantity determination module, configured to determine the usage quantity of the first building blocks corresponding to the programming role according to the building block description information of the programming building blocks corresponding to the programming role in the programming project;

[0011] A module for determining the number of drags and the number of assignments, used to obtain the drag operation and the assignment operation of the front end on the programming building block corresponding to the target building block type, and determine the target number of drags and the target number of assignments corresponding to the target building block type according to the drag operation and the assignment operation;

[0012] A second building block usage quantity determination module, used to determine the second building block usage quantity of the programming building block corresponding to the target building block type;

[0013] The data visualization module is used to visualize the number of first building blocks used, the number of target drags, the number of target assignments, and the number of second building blocks used.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] at least one processor; and

[0016] a memory communicatively connected to at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the at least one processor can execute the data processing method of any embodiment of the present invention.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data processing method of any embodiment of the present invention when executed.

[0019] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the computer program implements the data processing method of any embodiment of the present invention.

[0020] The technical solution of the embodiment of the present invention determines the number of first building blocks used corresponding to the programming role according to the building block description information of the programming building blocks corresponding to the programming role in the programming project; obtains the drag operation and assignment operation of the front end on the programming building block corresponding to the target building block type, and determines the target drag times and target assignment times corresponding to the target building block type according to the drag operation and assignment operation; determines the number of second building blocks used for the programming building block corresponding to the target building block type; and visualizes the number of first building blocks used, target drag times, target assignment times, and second building block used. The above technical solution determines the number of first building blocks used corresponding to each programming role in the programming project, and determines the target drag times, target assignment times, and second building block used times corresponding to each target building block type by analyzing the building block description information of the programming building blocks used by programming trainees in the programming project, as well as the drag behavior data and assignment behavior data of the programming trainees on the front end, thereby quantifying the learning situation of the programming trainees on the programming project. Afterwards, the number of times the first building block is used, the number of times the target is dragged, the number of times the target is assigned, and the number of times the second building block is used are visualized, which intuitively and clearly shows the programming students' learning situation on the programming project, making it easier for relevant personnel to understand the programming students' mastery of the programming project, and to make personalized recommendations for courses based on the learning situation of the programming students, thereby achieving the technical effect of teaching students in accordance with their aptitude and tailoring their courses to each individual.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 is a flow chart of a data processing method provided according to Embodiment 1 of the present invention;

[0024] Figure 2 is a flow chart of a data processing method provided according to Embodiment 2 of the present invention;

[0025] Figure 3 is a structural schematic diagram of a data processing device provided according to Embodiment 3 of the present invention;

[0026] Figure 4It is a structural schematic diagram of an electronic device for implementing the data processing method of an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "target", "first" and "second" in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof 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.

[0029] In addition, it should be noted that the collection, storage, use, processing, transmission, provision and disclosure of the building block description information involved in the technical solution of the present invention are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0030] Embodiment 1

[0031] Figure 1 This is a flow chart of a data processing method provided in the first embodiment of the present invention. This embodiment can be applied to the situation of understanding the degree of mastery of programming projects by programming trainees. The method can be executed by a data processing device, which can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes:

[0032] S101. Determine the usage quantity of a first building block corresponding to a programming role according to building block description information of a programming building block corresponding to a programming role in a programming project.

[0033] Among them, a programming project may refer to a learning level in the Scratch learning software. A programming role refers to a role created by a programming trainee in a programming project; optionally, a programming role includes but is not limited to pictures, sounds, and codes. It should be noted that a programming project includes at least one programming role. A programming building block refers to a code presented in the form of a diagram required to complete a programming project. It should be noted that one programming role corresponds to at least one programming building block. The number of first building blocks used refers to the total number of programming building blocks in the programming building blocks corresponding to the programming role, excluding hidden programming building blocks; among them, a hidden programming building block refers to a programming building block in the programming building blocks corresponding to the programming role that has a hidden attribute and a hidden attribute value of true.

[0034] Wherein, the building block description information refers to the information describing the programming building block; optionally, the building block description information may include the building block identification, building block attribute information and building block type. Wherein, the building block identification is used to uniquely identify the programming building block. The building block attribute information may include the building block attribute name and the building block attribute value. The building block type may be one of a motion type, an appearance type, a sound type, an event type, a control type, a detection type, an operation type, a variable type and a custom type. Wherein, the motion type includes but is not limited to a left rotation type, a right rotation type, an arbitrary rotation type and a non-rotation type.

[0035] Specifically, the number of special building blocks of programming building blocks that meet the screening condition can be determined from the programming building blocks corresponding to the programming role in the programming project according to the building block description information of the programming building blocks corresponding to the programming role; wherein the screening condition is a programming building block with a hidden attribute and a hidden attribute value that is true; the total number of building blocks of the programming building blocks corresponding to the programming role is determined; and the difference between the total number of building blocks and the number of special building blocks is used as the number of first building blocks corresponding to the programming role.

[0036] The number of special building blocks refers to the total number of programming building blocks that meet the screening conditions among the programming building blocks corresponding to the programming roles. The total number of building blocks refers to the total number of programming building blocks that correspond to the programming roles.

[0037] More specifically, for each programming role in the programming project, the building block description information of the programming building block corresponding to the programming role is traversed; according to the building block attribute information in the building block description information of each programming building block, it is determined whether the programming building block has a hidden attribute; if the programming building block has a hidden attribute, it is further determined whether the hidden attribute value of the programming building block is true; if so, it means that the programming building block meets the screening condition, and the count value of the first counter is increased by 1. If the programming building block does not meet the screening condition, the count value of the first counter is unchanged. Until all the programming building blocks corresponding to the programming role are traversed, the final count value of the first counter is used as the number of special building blocks. Afterwards, the total number of building blocks of the programming building blocks corresponding to the programming role is counted; the difference between the total number of building blocks and the number of special building blocks is used as the number of first building blocks used corresponding to the programming role. Similarly, the number of first building blocks used corresponding to each programming role in the programming project can be obtained. It should be noted that before the first counter performs the first counting, the count value of the first counter needs to be cleared.

[0038] Optionally, before determining the number of first building blocks corresponding to a programming role in a programming project based on the building block description information of the programming building blocks corresponding to the programming role in the programming project, it is also possible to: for each programming role in the programming project, convert the building block description information of each programming building block corresponding to the programming role into a Document Object Model (DOM); then, using the custom parameter matching string as an index condition, remove the characters related to the custom parameter identifier in each DOM to avoid the influence of the custom parameter identifier on the subsequent determination of the number of first building blocks to be used, thereby improving the accuracy of the subsequent determination of the number of first building blocks to be used. Among them, the custom parameter identifier refers to an identifier used to uniquely identify a custom parameter; the custom parameter refers to a parameter whose parameter value needs to be obtained from the front end.

[0039] Optionally, when there are at least two programming roles in a programming project, it is also possible to: determine the total number of project building blocks corresponding to the programming project based on the number of first building blocks used corresponding to each programming role; wherein the total number of project building blocks refers to the total number of programming building blocks used by the programming trainee to complete the programming project. For example, the number of at least one first building block used can be summed to obtain the total number of project building blocks corresponding to the programming project.

[0040] Optionally, the total number of project building blocks can be visualized in the form of a graph or table in a preset display page so that relevant personnel can intuitively understand the total number of programming building blocks used by programmers to complete programming projects.

[0041] S102, obtaining the dragging operation and assignment operation of the front end on the programming building block corresponding to the target building block type, and determining the target dragging times and target assignment times corresponding to the target building block type according to the dragging operation and the assignment operation.

[0042] Among them, the target building block type refers to the building block type to be analyzed; optionally, the target building block type can be one of the left rotation type, right rotation type, arbitrary rotation type and non-rotation type. It should be noted that at least one target building block type is used in the programming project. The target drag count refers to the total number of times the front end drags the programming building block corresponding to the target building block type. The target assignment count refers to the total number of times the front end assigns values ​​to the programming building block corresponding to the target building block type.

[0043] Specifically, for each target building block type, obtain the drag operation and assignment operation of each programming building block corresponding to the target building block type by the front end; calculate the number of building block drags performed by the front end on each programming building block, and calculate the number of building block assignments performed by the front end on each programming building block; determine the sum of all building block drag times as the target drag times corresponding to the target building block type; and determine the sum of all building block assignment times as the target assignment times corresponding to the target building block type. Among them, the number of building block drags refers to the total number of times the front end drags the programming building block; the number of building block assignments refers to the total number of times the front end assigns the programming building block.

[0044] S103: Determine the number of second building blocks used of the programming building block corresponding to the target building block type.

[0045] The second building block usage quantity refers to the total quantity of programming building blocks belonging to the target building block type in the programming project.

[0046] Specifically, the second counter is used to count the number of programming building blocks of the target building block type in the programming project; and the final count value of the second counter is used as the number of second building blocks used for the programming building blocks corresponding to the target building block type. It should be noted that before the second counter performs the first counting, the count value of the second counter needs to be cleared.

[0047] S104: Visualize the number of first building blocks used, the number of target drags, the number of target assignments, and the number of second building blocks used.

[0048] Specifically, the number of times the first building block is used, the number of target drags, the number of target assignments, and the number of times the second building block is used can be visualized in the preset display page in the form of a graph or table, so as to intuitively and clearly show the programming trainees' learning status of the programming project, making it easier for relevant personnel to understand the programming trainees' mastery of the programming project.

[0049] It should be noted that the more dragging behavior data or assignment behavior data of programming building blocks a programming trainee has on the front end, the more times the programming trainee has debugged, which in turn means that the programming trainee has a poor grasp of the process control logic of the programming project.

[0050] The technical solution of the embodiment of the present invention determines the number of first building blocks used corresponding to the programming role according to the building block description information of the programming building blocks corresponding to the programming role in the programming project; obtains the drag operation and assignment operation of the front end on the programming building block corresponding to the target building block type, and determines the target drag times and target assignment times corresponding to the target building block type according to the drag operation and assignment operation; determines the number of second building blocks used for the programming building block corresponding to the target building block type; and visualizes the number of first building blocks used, target drag times, target assignment times, and second building block used. The above technical solution determines the number of first building blocks used corresponding to each programming role in the programming project, and determines the target drag times, target assignment times, and second building block used times corresponding to each target building block type by analyzing the building block description information of the programming building blocks used by programming trainees in the programming project, as well as the drag behavior data and assignment behavior data of the programming trainees on the front end, thereby quantifying the learning situation of the programming trainees on the programming project. Afterwards, the number of times the first building block is used, the number of times the target is dragged, the number of times the target is assigned, and the number of times the second building block is used are visualized, which intuitively and clearly shows the programming students' learning situation on the programming project, making it easier for relevant personnel to understand the programming students' mastery of the programming project, and to make personalized recommendations for courses based on the learning situation of the programming students, thereby achieving the technical effect of teaching students in accordance with their aptitude and tailoring their courses to each individual.

[0051] Embodiment 2

[0052] Figure 2 This is a flow chart of a data processing method provided in the second embodiment of the present invention. Based on the above embodiment, this embodiment further optimizes "determining the number of first building blocks corresponding to the programming role in the programming project according to the building block description information of the programming building blocks corresponding to the programming role" and provides an optional implementation scheme. It should be noted that the building block description information includes building block identification and building block attribute information. For parts not described in detail in the embodiments of the present invention, please refer to the relevant descriptions of other embodiments. Figure 2 As shown, the method includes:

[0053] S201. Determine at least one auxiliary programming building block from the programming building blocks corresponding to the programming role in the programming project according to the building block identifier of the programming building block corresponding to the programming role.

[0054] Among them, auxiliary programming building blocks refer to programming building blocks used to assist programming students in completing programming role settings.

[0055] Specifically, for each programming role in the programming project, the building block identifier of each programming building block corresponding to the programming role is matched with the auxiliary string, and the programming building block corresponding to the successfully matched building block identifier is determined as the auxiliary programming building block. The auxiliary string refers to a string used to determine the auxiliary programming building block; optionally, the auxiliary string can be pre-set according to actual business needs, and the embodiment of the present invention does not specifically limit it.

[0056] S202: Determine at least one common programming building block from programming building blocks corresponding to the programming role according to the auxiliary programming building block, and the upper-level programming building blocks and lower-level programming building blocks of the auxiliary programming building block.

[0057] Among them, the common programming building blocks refer to the programming building blocks corresponding to the programming roles, except the auxiliary programming building blocks and the upper and lower programming building blocks of the auxiliary programming building blocks. The upper programming building block of the auxiliary programming building block refers to the programming building block pointed to by the upper pointer of the auxiliary programming building block; correspondingly, the lower programming building block of the auxiliary programming building block refers to the programming building block pointed to by the lower pointer of the auxiliary programming building block.

[0058] Specifically, for each programming role in the programming project, all auxiliary programming building blocks are removed from the programming building blocks corresponding to the programming role, and the upper-level programming building blocks and lower-level programming building blocks of each auxiliary programming building block are removed to obtain at least one common programming building block.

[0059] It should be noted that, in order to facilitate the subsequent more rapid determination of the number of first building blocks used corresponding to each programming role, after determining the auxiliary programming building block and the parent programming building block of the auxiliary programming building block, a hidden attribute can be added to the auxiliary programming building block and the parent programming building block of the auxiliary programming building block, and the hidden attribute value of the auxiliary programming building block is set to true, and the hidden attribute value of the parent programming building block of the auxiliary programming building block is set to true. More specifically, if isHidden is used to represent the hidden attribute, for each auxiliary programming building block, isHidden is added to the building block attribute information of the auxiliary programming building block, and isHidden=true is set, and isHidden is added to the building block attribute information of each parent programming building block of the auxiliary programming building block, and isHidden=true is set.

[0060] Among them, the hidden attribute refers to the attribute used to control the display of the programming building block on the front end. The hidden attribute value refers to the numerical value of the hidden attribute. It should be noted that the hidden attribute value is a Boolean value, which usually has only two fixed values: true (i.e. true) and false (i.e. false). It should be noted that if the hidden attribute value of the programming building block is true, it means that the programming building block is not displayed on the front end; correspondingly, if the hidden attribute value of the programming building block is false, it means that the programming building block is displayed on the front end.

[0061] S203: Determine the usage quantity of the first building block corresponding to the programming role according to the building block attribute information of each common programming building block and the building block attribute information of the parent programming building block of each common programming building block.

[0062] The parent programming building block of the common programming building block refers to the programming building block pointed to by the parent pointer of the common programming building block.

[0063] Specifically, for each common programming building block, the counting result corresponding to the common programming building block is determined according to the building block attribute information of the common programming building block and the building block attribute information of the parent programming building block of the common programming building block; and the number of first building blocks used corresponding to the programming role is determined according to the counting results corresponding to each common programming building block.

[0064] More specifically, for each common programming building block, according to the building block attribute information of the common programming building block, determine whether the common programming building block has a hidden attribute; if the common programming building block has a hidden attribute and the hidden attribute value is true, determine the counting result corresponding to the common programming building block to be 0; if the common programming building block has a hidden attribute and the hidden attribute value is false, determine the counting result corresponding to the common programming building block to be 1; if the common programming building block does not have a hidden attribute, then according to the building block attribute information of the upper-level programming building block of the common programming building block, determine whether there is an upper-level programming building block with a hidden attribute and a hidden attribute value of true in the upper-level programming building block of the common programming building block; if there is, determine the counting result corresponding to the common programming building block to be 0; if not, determine the counting result corresponding to the common programming building block to be 1. Similarly, the counting results corresponding to each common programming building block can be determined; the counting results corresponding to each common programming building block are accumulated and summed to obtain the number of first building blocks used corresponding to the programming role.

[0065] It is understandable that whether each common programming building block will be counted affects the accuracy of determining the number of first building blocks used. By determining the counting result corresponding to each common programming building block, the number of first building blocks used corresponding to the programming role is further determined, which can make the final determined number of first building blocks used more accurate.

[0066] S204, obtaining the dragging operation and assignment operation of the front end on the programming building block corresponding to the target building block type, and determining the target dragging times and target assignment times corresponding to the target building block type according to the dragging operation and the assignment operation.

[0067] Specifically, for each programming building block belonging to the target building block type, the number of building block dragging corresponding to the programming building block is determined according to the front end's dragging operation on the programming building block; the number of building block assignments corresponding to the programming building block is determined according to the front end's assignment operation on the programming building block; the number of dragging of at least one building block is summed to obtain the target number of dragging corresponding to the target building block type; the number of assignments of at least one building block is summed to obtain the target number of assignments corresponding to the target building block type.

[0068] More specifically, for each programming building block belonging to the target building block type, the number of drag operations performed by the front end on the programming building block is calculated, and the number of drag operations is used as the number of building block drags corresponding to the programming building block; the number of assignment operations performed by the front end on the programming building block is calculated, and the number of assignment operations is used as the number of building block assignments corresponding to the programming building block; similarly, the number of building block drags and the number of building block assignments corresponding to each programming building block belonging to the target building block type can be obtained; the sum operation is performed on all the obtained building block drag times to obtain the target drag times corresponding to the target building block type; the sum operation is performed on all the obtained building block assignment times to obtain the target assignment times corresponding to the target building block type.

[0069] It can be understood that by performing data analysis on the programming building blocks in the programming project according to the building block types of the programming building blocks, statistics of programming building blocks of different building block types are realized, which makes it easier for relevant personnel to clearly understand the usage of programming building blocks of different building block types by programming trainees in the process of completing programming projects, and then teach programming trainees in accordance with their aptitude based on the usage of programming building blocks of different building block types, thereby improving the programming ability of programming trainees.

[0070] S205: Determine the number of second building blocks used of the programming building block corresponding to the target building block type.

[0071] S206: Visualize the number of first building blocks used, the number of target drags, the number of target assignments, and the number of second building blocks used.

[0072] The technical solution of the embodiment of the present invention is to determine at least one auxiliary programming building block from the programming building blocks corresponding to the programming role in the programming project according to the building block identifier of the programming building block corresponding to the programming role; determine at least one common programming building block from the programming building blocks corresponding to the programming role according to the auxiliary programming building block and the parent programming building block of the auxiliary programming building block; determine the usage quantity of the first building block corresponding to the programming role according to the building block attribute information of the common programming building block and the building block attribute information of the parent programming building block of the common programming building block; obtain the drag operation and assignment operation of the front end on the programming building block corresponding to the target building block type, and determine the target drag number and target assignment number corresponding to the target building block type according to the drag operation and the assignment operation; determine the usage quantity of the second building block of the programming building block corresponding to the target building block type; and visualize the usage quantity of the first building block, the target drag number, the target assignment number and the usage quantity of the second building block. The above technical scheme avoids the influence of the block description information of the programming blocks with hidden attributes and the hidden attribute value being true in the programming project on the determination of the number of first building blocks used corresponding to each programming role in the programming project; and quantifies the learning situation of the programming students on the programming project; at the same time, through the visualization of the number of first building blocks used, the number of target drags, the number of target assignments and the number of second building blocks used, the learning situation of the programming students on the programming project is intuitively and clearly displayed, which is convenient for relevant personnel to understand the degree of mastery of the programming projects by the programming students, and to make personalized recommendations for courses according to the learning situation of the programming students, thereby achieving the technical effect of teaching students in accordance with their aptitude and tailoring them to each individual.

[0073] Embodiment 3

[0074] Figure 3 This is a schematic diagram of the structure of a data processing device provided in the third embodiment of the present invention. This embodiment can be applied to the situation of understanding the degree of mastery of programming projects by programming trainees. The device can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 3 As shown, the device comprises:

[0075] A first building block usage quantity determination module 301 is used to determine the usage quantity of the first building block corresponding to the programming role according to the building block description information of the programming building block corresponding to the programming role in the programming project;

[0076] The dragging number and assignment number determination module 302 is used to obtain the dragging operation and assignment operation of the front end on the programming building block corresponding to the target building block type, and determine the target dragging number and target assignment number corresponding to the target building block type according to the dragging operation and assignment operation;

[0077] A second building block usage quantity determination module 303 is used to determine the second building block usage quantity of the programming building block corresponding to the target building block type;

[0078] The data visualization module 304 is used to visualize the number of first building blocks used, the number of target drags, the number of target assignments, and the number of second building blocks used.

[0079] The technical solution of the embodiment of the present invention determines the number of first building blocks used corresponding to the programming role according to the building block description information of the programming building blocks corresponding to the programming role in the programming project; obtains the drag operation and assignment operation of the front end on the programming building block corresponding to the target building block type, and determines the target drag times and target assignment times corresponding to the target building block type according to the drag operation and assignment operation; determines the number of second building blocks used for the programming building block corresponding to the target building block type; and visualizes the number of first building blocks used, target drag times, target assignment times, and second building block used. The above technical solution determines the number of first building blocks used corresponding to each programming role in the programming project, and determines the target drag times, target assignment times, and second building block used times corresponding to each target building block type by analyzing the building block description information of the programming building blocks used by programming trainees in the programming project, as well as the drag behavior data and assignment behavior data of the programming trainees on the front end, thereby quantifying the learning situation of the programming trainees on the programming project. Afterwards, the number of times the first building block is used, the number of times the target is dragged, the number of times the target is assigned, and the number of times the second building block is used are visualized, which intuitively and clearly shows the learning situation of the programming students on the programming project, making it easier for relevant personnel to understand the degree of mastery of the programming project by the programming students, and to make personalized recommendations for courses based on the learning situation of the programming students, thereby achieving the technical effect of teaching students in accordance with their aptitude and tailoring them to each individual.

[0080] Optionally, the building block description information includes a building block identifier and building block attribute information; accordingly, the first building block usage quantity determination module 301 includes:

[0081] an auxiliary programming building block determining unit, configured to determine at least one auxiliary programming building block from the programming building blocks corresponding to the programming role in the programming project according to the building block identifiers of the programming building blocks corresponding to the programming role;

[0082] A common programming building block determining unit, configured to determine at least one common programming building block from programming building blocks corresponding to the programming role according to the auxiliary programming building block, and the upper-level programming building blocks and the lower-level programming building blocks of the auxiliary programming building block;

[0083] The first building block usage quantity determination unit is used to determine the first building block usage quantity corresponding to the programming role according to the building block attribute information of each common programming building block and the building block attribute information of the parent programming building block of each common programming building block.

[0084] Optionally, the first building block uses a quantity determination unit, specifically for:

[0085] For each common programming building block, determining a counting result corresponding to the common programming building block according to the building block attribute information of the common programming building block and the building block attribute information of the parent programming building block of the common programming building block;

[0086] According to the counting results corresponding to the common programming building blocks, the usage quantity of the first building blocks corresponding to the programming role is determined.

[0087] Optionally, the first building block usage quantity determination module 301 is specifically configured to:

[0088] According to the building block description information of the programming building blocks corresponding to the programming roles in the programming project, the number of special building blocks of the programming building blocks that meet the screening condition is determined from the programming building blocks corresponding to the programming roles; wherein the screening condition is the programming building blocks having hidden attributes and the hidden attribute value being true;

[0089] Determine the total number of building blocks of the programming building blocks corresponding to the programming role;

[0090] The difference between the total number of building blocks and the number of special building blocks is used as the number of first building blocks used corresponding to the programming role.

[0091] Optionally, the dragging times and assignment times determining module 302 is specifically used for:

[0092] For each programming building block belonging to the target building block type, according to the dragging operation of the programming building block by the front end, determining the number of building block dragging corresponding to the programming building block;

[0093] According to the assignment operation of the programming building block by the front end, the number of building block assignments corresponding to the programming building block is determined;

[0094] Performing a sum operation on the number of times at least one building block is dragged to obtain a target number of times of dragging corresponding to the target building block type;

[0095] The number of assignments of at least one building block is summed to obtain a target number of assignments corresponding to the target building block type.

[0096] The data processing device provided in the embodiment of the present invention can execute the data processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing each data processing method.

[0097] According to an embodiment of the present invention, the present invention also provides an electronic device, a readable storage medium and a computer program product.

[0098] Embodiment 4

[0099] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0100] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0101] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0102] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a data processing method.

[0103] In some embodiments, the data processing method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the data processing method in any other appropriate manner (e.g., by means of firmware).

[0104] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0105] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0106] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0107] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0108] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0109] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0110] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0111] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A data processing method, characterized in that: include: Determine the usage quantity of the first building block corresponding to the programming role according to the building block description information of the programming building block corresponding to the programming role in the programming project; Obtaining a drag operation and an assignment operation of a programming building block corresponding to a target building block type by a front end, and determining a target number of drags and a target number of assignments corresponding to the target building block type according to the drag operation and the assignment operation; Determine the number of used second building blocks of the programming building block corresponding to the target building block type; The number of the first building blocks used, the number of target drags, the number of target assignments, and the number of the second building blocks used are visualized.

2. The method according to claim 1, characterized in that: The building block description information includes a building block identifier and building block attribute information; Accordingly, determining the usage quantity of the first building block corresponding to the programming role according to the building block description information of the programming building block corresponding to the programming role in the programming project includes: According to the building block identifier of the programming building block corresponding to the programming role in the programming project, determining at least one auxiliary programming building block from the programming building blocks corresponding to the programming role; Determine at least one common programming building block from the programming building blocks corresponding to the programming role according to the auxiliary programming building block, and the upper-level programming building blocks and the lower-level programming building blocks of the auxiliary programming building block; The usage quantity of the first building block corresponding to the programming role is determined according to the building block attribute information of each common programming building block and the building block attribute information of the parent programming building block of each common programming building block.

3. The method according to claim 2, characterized in that The determining the usage quantity of the first building block corresponding to the programming role according to the building block attribute information of each common programming building block and the building block attribute information of the parent programming building block of each common programming building block includes: For each common programming building block, determining a counting result corresponding to the common programming building block according to the building block attribute information of the common programming building block and the building block attribute information of the parent programming building block of the common programming building block; According to the counting results corresponding to the common programming building blocks, the usage quantity of the first building blocks corresponding to the programming role is determined.

4. The method according to claim 1, characterized in that: The determining the usage quantity of the first building block corresponding to the programming role according to the building block description information of the programming building block corresponding to the programming role in the programming project comprises: According to the building block description information of the programming building blocks corresponding to the programming roles in the programming project, the number of special building blocks of the programming building blocks that meet the screening condition is determined from the programming building blocks corresponding to the programming roles; wherein the screening condition is the programming building blocks having hidden attributes and the hidden attribute value is true; Determine the total number of building blocks of the programming building blocks corresponding to the programming role; The difference between the total number of building blocks and the number of special building blocks is used as the usage number of the first building block corresponding to the programming role.

5. The method according to claim 1, characterized in that Determining a target number of drags and a target number of assignments corresponding to the target building block type according to the drag operation and the assignment operation includes: For each programming building block belonging to the target building block type, according to the dragging operation of the programming building block by the front end, determining the number of building block dragging corresponding to the programming building block; According to the assignment operation of the programming building block by the front end, the number of building block assignments corresponding to the programming building block is determined; Performing a sum operation on the number of times at least one building block is dragged to obtain a target number of times of dragging corresponding to the target building block type; The number of assignments of at least one building block is summed to obtain a target number of assignments corresponding to the target building block type.

6. A data processing device, characterized in that: include: A first building block usage quantity determination module, configured to determine the usage quantity of the first building blocks corresponding to the programming role according to the building block description information of the programming building blocks corresponding to the programming role in the programming project; A module for determining the number of drags and the number of assignments, used to obtain the drag operation and the assignment operation of the front end on the programming building block corresponding to the target building block type, and determine the target number of drags and the target number of assignments corresponding to the target building block type according to the drag operation and the assignment operation; A second building block usage quantity determination module, used to determine the second building block usage quantity of the programming building block corresponding to the target building block type; The data visualization module is used to visualize the number of the first building blocks used, the number of target drags, the number of target assignments, and the number of the second building blocks used.

7. The device according to claim 6, characterized in that The building block description information includes a building block identifier and building block attribute information; Accordingly, the first building block usage quantity determination module includes: an auxiliary programming building block determining unit, configured to determine at least one auxiliary programming building block from the programming building blocks corresponding to the programming role in the programming project according to the building block identifiers of the programming building blocks corresponding to the programming role; a common programming building block determining unit, configured to determine at least one common programming building block from the programming building blocks corresponding to the programming role according to the auxiliary programming building block, and the upper-level programming building blocks and the lower-level programming building blocks of the auxiliary programming building block; The first building block usage quantity determination unit is used to determine the first building block usage quantity corresponding to the programming role according to the building block attribute information of each common programming building block and the building block attribute information of the parent programming building block of each common programming building block.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the data processing method according to any one of claims 1 to 5.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data processing method according to any one of claims 1 to 5 when executed.

10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the data processing method according to any one of claims 1 to 5.