Multifunctional visual programming teaching system
By introducing building block tool area, visual operation area and display area into the visual programming teaching system, combined with the advantages of the browser platform, the problem that the existing system cannot meet the deep learning needs is solved, and the rapid mastery and code for beginners of programming is achieved Modification provides visual display and sharing functions for programming results.
Patent Information
- Application Number
- CN202411206148.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-22
AI Technical Summary
The existing visual programming teaching system cannot meet the deeper learning needs of users, cannot quickly modify the instruction building blocks in the visual operation area, and lacks simulation animation display of programming operation, and cannot effectively verify programming results.
A multi-functional visual programming teaching system was designed, including building block tool area module, visual building block operation area module and display area module. The building block tool area module provides multiple categories of instruction building blocks. The display block module has a code display and animated display interface, which supports The editing and parameter modification of instruction building blocks is achieved through the connection gap and bump structure to achieve the sequential docking of instruction building blocks, and is installed on the browser platform to support local storage and cloud uploading.
It realizes that programming beginners quickly master the programming language, display the code execution process through simulated animations, and supports quick modification of instruction code. Users can intuitively understand the setting of variable values during code execution, and share works through open community functions.
Smart Images

Figure CN119007539A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual programming technology, in particular to a multifunctional visual programming teaching system. Background Art
[0002] Visual programming is an innovative programming method that aims to allow users to intuitively see the results of programming and realize the visualization of the programming process. This method allows inexperienced programming beginners to easily create applications by simply dragging and dropping to combine preset components, just like building models with building blocks. Instead of writing traditional text code, users build programs by dragging pre-set code blocks to the workspace. The core concept is to convert traditional text-based programming languages into graphical representations that are easier to understand and operate. In this way, complex programming tasks are simplified into a series of intuitive graphical instructions, making programming more approachable.
[0003] For example, patent publication number CN110377280A discloses a visualization system for programming teaching, which includes a visualization operation area module, a course library module, a code building block library module, a code rendering area module, an execution output area module, etc. The code building block library module and the course library module input one-way instructions to the visualization operation area module, the visualization operation area module inputs one-way instructions to the code rendering area module, and the code rendering area module inputs one-way instructions to the execution output area module; the visualization operation area module is used for users to drag building blocks, write program logic, and delete inappropriate building blocks, the code building block library module is used to manage default and newly created code building blocks, and the code rendering area module is used to display the codes corresponding to the building blocks in the visualization operation area module.
[0004] The above system cannot meet the user's deeper learning needs, cannot quickly modify the instruction blocks in the visual operation area module, and cannot display the code running status through simulation animation, and lacks visualization of programming test results.
[0005] The above problems are worth solving. Summary of the invention
[0006] In order to overcome the deficiencies of the existing technology, the present invention provides a multifunctional visual programming teaching system.
[0007] The technical solution of the present invention is as follows:
[0008] A multifunctional visual programming teaching system, characterized in that it comprises a building block tool area module, a visual building block operation area module, and a display area module, wherein the building block tool area module inputs one-way instructions to the visual building block operation area module, and the instructions between the visual building block operation area module and the display area module are input and output bidirectionally;
[0009] The visual building block operation area module is used to receive a number of instruction blocks dragged from the building block tool area module, and the display area module has a switchable code display interface and an animation display interface. When the display area module is in the code display interface, the codes of the instruction blocks are displayed in order according to the building block sequence of the instruction blocks, and when the display area module is in the animation display interface, the animation of executing the code is displayed;
[0010] The code in the display area module can be edited, and the corresponding instruction blocks in the visualization block operation area module can be modified by editing the code; dragging some instruction blocks into the visualization block operation area module will display the parameter editing area, and the corresponding programming code in the display area module can be modified by modifying the parameter editing area.
[0011] The present invention according to the above scheme is characterized in that the building block tool area module includes a number of building block library modules for providing specific categories of instruction building blocks; the building block library modules include operation function classes, special classes, logic classes, mathematics classes, and operation method classes;
[0012] The operation function class includes a light operation function, a buzzer operation function, a motor operation function, and an ultrasonic operation function;
[0013] The special categories include quotation mark characters, length calculation, bitmap display, and bracket characters;
[0014] The logic class includes conditional judgment and loop control;
[0015] The mathematics category includes numerical input, operation symbols, trigonometric functions, mathematical equations, numerical comparison, and random value selection;
[0016] The operation method class includes character output, character input, variable definition, operation termination, operation continuation, and subtraction assignment.
[0017] Furthermore, the building block library module also includes music class, array class, text class, game class, image class, pin class, serial class, and control class.
[0018] Furthermore, the building block tool area module has a first display page and a second display page, the first display page is used to display a number of building block library category items that can be selected, each building block library category item corresponds to a building block library module, and the second display page is used to display the instruction blocks in the selected building block library module.
[0019] The present invention according to the above scheme is characterized in that the length of the instruction building block in the visualization building block operation area module is automatically adjusted according to the length comparison result with the adjacent instruction building block, and among two adjacent instruction blocks, the length of the instruction building block with a larger variable value is greater than the length of the instruction building block with a smaller variable value.
[0020] The present invention according to the above scheme is characterized in that the instruction building blocks include embeddable instruction building blocks and embedding instruction building blocks, the embeddable instruction building blocks have embedded slots, and the embedded slots automatically adjust the slot size according to the total height of the embedded instruction building blocks placed therein.
[0021] The present invention according to the above scheme is characterized in that two opposite sides of the instruction building block are respectively provided with connection notches and connection protrusions, and the connection notch of one instruction building block is connected to the connection protrusion of another instruction building block.
[0022] By adopting the above technical solution, the judgment basis of the building block sequence is based on the connection relationship between the connecting notches and the connecting protrusions, and by utilizing the structural design of the connecting notches and the connecting protrusions, multiple instruction building blocks can be connected in an orderly and sequential manner.
[0023] The present invention according to the above scheme is characterized in that the multifunctional visual programming teaching system also includes a function operation area module, which is used to input function operation commands and input unidirectional instructions to the visual building block operation area module and the display area module.
[0024] Furthermore, the functional operation area module includes a page return item, an operation area code running item, an operation area code storage item, an operation area code deletion item, and a code cloud file download item.
[0025] The present invention according to the above scheme is characterized in that the multifunctional visual programming teaching system is installed in a browser. When the multifunctional visual programming teaching system is stored, the localStorage.setItem function of the browser is called to cache the code of the display area module in the browser; the browser can access the file system of the user's local storage disk and transfer the stored data to the local storage disk.
[0026] By adopting the above technical solution, users do not need to install, but can use the browser platform. They only need a computer with Internet access to register an account, learn programming, compile and burn to the local computer.
[0027] The present invention according to the above scheme has the following beneficial effects:
[0028] The present invention not only has a friendly interactive interface by editing visual instruction building blocks, so that programming beginners can quickly master the programming language, but also can execute simulation animation according to the building block sequence, and display it in the switchable code display interface and animation display interface respectively through the display area module;
[0029] The bidirectional input and output of instructions between the visualization building block operation area module and the display area module of the present invention can not only modify the instruction building block in the visualization building block operation area module by editing the code in the display area module, but also modify and update the corresponding programming code in the display area module by dragging the instruction building block in the visualization building block operation area module into the parameter editing area, and can directly and quickly modify the variable value of the instruction code without searching in the messy code content in the display area module, so as to realize the rapid completion of simple code modification operation;
[0030] Furthermore, the lengths of several instruction blocks arranged in a block sequence in the visual block operation area module are automatically adjusted according to the size of the variable value, so that the user can intuitively understand the setting of different variable values during the code execution process in the visual block operation area module through the length of the instruction blocks;
[0031] Furthermore, the multifunctional visual programming teaching system of the present invention has an open community function, which enables users to share their constructed works. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a structural flow chart of the present invention;
[0033] Figure 2 A schematic diagram showing a code display interface of the system operation interface of the present invention;
[0034] Figure 3 A schematic diagram showing an animated display interface of the system operation interface of the present invention.
[0035] In the figure,
[0036] 1. Building block tool area module; 11. Building block library module;
[0037] 2. Visual building block operation area module;
[0038] 3. Display area module;
[0039] 4. Functional operation area module; 41. Page return item; 42. Operation area code running item; 43. Operation area code storage item; 44. Code cloud file download item; 45. Operation area code deletion item;
[0040] 5. Instruction building block; 51. Connection gap; 52. Connection bump; 53. Parameter editing area; 501. Can be embedded in instruction building block; 502. Embedded instruction building block. DETAILED DESCRIPTION
[0041] In order to better understand the purpose, technical scheme and technical effect of the present invention, the present invention is further explained in conjunction with the accompanying drawings and embodiments. It should be noted that similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, it is stated that the embodiments described below are only used to explain the present invention and are not used to limit the present invention.
[0042] It should be noted that when an element is referred to as being "fixed on" or "disposed on" another element, it may be directly on the other element or there may also be a central element, and when an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time.
[0043] The indicated orientation or position relationship is based on the orientation or position relationship shown in the drawings, or the orientation or position relationship in which the product of the application is usually placed when used, or the orientation or position relationship commonly understood by technical personnel in this field, or the orientation or position relationship in which the product of the application is usually placed when used. It is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.
[0044] The terms "first" and "second" are only used for descriptive purposes and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0045] like Figure 1 As shown, a multifunctional visual programming teaching system includes a function operation area module 4, a building block tool area module 1, a visual building block operation area module 2, and a display area module 3. The function operation area module 4 inputs one-way instructions to the visual building block operation area module 2 and the display area module 3, the building block tool area module 1 inputs one-way instructions to the visual building block operation area module 2, and the instructions between the visual building block operation area module 2 and the display area module 3 are bidirectionally input and output.
[0046] The function operation area module 4 includes a page return item 41, an operation area code running item 42, an operation area code storage item 43, an operation area code deletion item 45, and a code cloud file download item 44, which are used for inputting function operation commands to control the building block tool area module 1, the visual building block operation area module 2, and the display area module 3.
[0047] The building block tool area module 1 includes a plurality of building block library modules 11, and different building block library modules 11 are used to provide specific types of instruction blocks 5. The building block library modules include operation function class, special class, logic class, mathematics class, and operation method class.
[0048] Among them, the operation function class includes a light operation function, a buzzer operation function, a motor operation function, and an ultrasonic operation function, which are respectively used to define different tasks or threads. For example, the light operation function defines a state of a continuously switching LED light. The special class includes quotation marks, length calculation, bitmap display, and brackets. The quotation marks are used to enter double quotation marks in the code, the length calculation is used to calculate the actual length of the string, the bitmap display is used to enter the pixel bit image, and the brackets are used to enter brackets in the code. The logic class includes conditional judgment and loop control, such as repeated execution, repeated execution N times, repeated execution until a certain condition is met, loop traversal, exit loop, continue loop, if...execute, if...otherwise, size condition comparison, AND or logic, conditional selection. The mathematics class includes numerical input, operation symbols, trigonometric functions, mathematical equations, numerical size comparison, and random value. The operation method class includes character output, character input, variable definition, termination operation, continuation operation, and subtraction assignment. Each building block library module 11 has a plurality of instruction blocks 5 of the same category, and each instruction block 5 has editable C language code information (hereinafter referred to as code); the code of the instruction block with variables includes modifiable variable values, such as dimensions such as time, size, speed, etc.
[0049] The building block library module also includes music, array, text, game, image, pin, serial, and control. The music category includes melody selection and playback instructions, pitch adjustment instructions, sound frequency setting instructions, rhythm speed setting instructions, volume setting instructions, etc. The array category includes multiple number enumeration, array length setting, number increase and decrease in array, number insertion in group, etc. The text category includes text input, text length setting, etc. The game category includes game character creation, deletion, and movement instructions. The pin category includes the definition, writing, and simulation time setting of signal transmission pins. The serial category includes serial communication instructions, such as writing numbers, values, and strings to the serial port, reading lines from the serial port, and triggering serial data transmission when receiving specific characters. The control category includes event trigger condition setting and event timestamp setting.
[0050] In other optional embodiments, the building block library module also has a debugging function, which allows users to view the execution status of the program, variable values, error messages, etc. in real time, helping developers to ensure that the software runs as expected and to promptly discover and fix problems. Therefore, the system of the present invention can expand more building block categories as needed.
[0051] The building block tool area module 1 has a first display page and a second display page. The first display page is used to display a number of building block library category items. Each building block library category item corresponds to a building block library module 11. Randomly select and execute one of the building block library category items to enter the second display page. The second display page is used to display the instruction building block 5 in the selected building block library module 11.
[0052] After executing the page return item 41, the function operation area module 4 sends an instruction to the building block tool area module 1, and the building block tool area module 1 returns from the second display page to the first display page, and the user can reselect the required instruction building block category.
[0053] The visual block operation area module 2 is used to receive several instruction blocks 5 dragged from the block tool area module 1, and send instructions to the display area module 3. The display area module 3 displays the codes of several instruction blocks 5 accordingly, and displays the codes in order according to the block sequence of the instruction blocks 5. When a new instruction block 5 is dragged into the visual block operation area module 2, the display area module 3 will add the corresponding code; when the instruction block 5 of the visual block operation area module 2 is deleted, the display area module 3 will delete the corresponding code. The visual block operation area module 2 has an indelible entry guide block to guide beginners to put in instruction blocks, providing convenient operation prompts for first-time users.
[0054] The code in the display area module 3 can be edited, and the modification instruction is sent to the visual building block operation area module 2 to modify the corresponding instruction building block 5. The user can edit the instruction building block 5 through the display area module 3, and the modification content is limited by the category attribute of the building block library module 11. For example, if the instruction building block belongs to the mathematics category, the original addition instruction building block can only be modified to a multiplication instruction building block, and it is forbidden to modify it to an instruction building block across categories, which can ensure the category consistency of the instruction building blocks in the building block library module 11 and facilitate the subsequent operation and use of the system.
[0055] The instruction block 5 dragged into the visual block operation area module 2 will display the parameter editing area 53, which is used to modify and update the corresponding programming code and the variable values therein in the display area module 3. The user can directly and quickly modify the variable value of the instruction code in the visual block operation area module 2 without searching in the messy code content in the display area module 3, so as to quickly complete the simple code modification operation.
[0056] In a preferred embodiment, the lengths of several instruction blocks 5 arranged in a block sequence in the visualization block operation area module are automatically adjusted according to the size of the variable value, and the length relationship of two adjacent instruction blocks 5 depends on the size relationship of the two variable values, and the length of the instruction block with a larger variable value is greater than the length of the instruction block 5 with a smaller variable value. For example, instruction blocks a, b, c, and d are arranged in a block sequence, where the variable value of instruction block a is 4, the variable value of instruction block b is 2, the variable value of instruction block c is 1, and the variable value of instruction block d is 3, then the length relationship of the four instruction blocks is: instruction block a>instruction block d>instruction block b>instruction block c. Users can intuitively understand the setting of different variable values during code execution through the length of instruction blocks 5 in the visualization block operation area module.
[0057] In the present invention, the instruction building block 5 includes an embedding instruction building block 502 and an embeddable instruction building block 501. The code of the embeddable instruction building block 501 is the beginning and end of the code block, and the code of the embeddable instruction building block 502 is the core code content. The embeddable instruction building block 501 has an embeddable slot, and the attributes and capacity of the embedded slot can be set according to the instruction function requirements. The attributes of the embedded slot determine the type of instruction building blocks that can be placed, and the capacity of the embedded slot determines the upper limit of the number of instruction building blocks that can be placed.
[0058] The embedded slot of the embeddable instruction block 501 automatically adjusts the slot size according to the total height of the embedded instruction block 502 placed therein. For example, if the height of an embedded instruction block 502 is 1 cm, and a complete block sequence has 4 embedded instruction blocks 502, then the total height of the embedded slot of the embeddable instruction block 501 is 4 cm. When it is necessary to add an embedded instruction block 502, drag the new embedded instruction block 502 to the position between the embeddable instruction block 501 and the embedded instruction block 502 or between two adjacent embedded instruction blocks 502, and a gap of the height of the embedded instruction block 502 (i.e., 1 cm) is generated at the position, and the total slot height of the embedded slot is increased by the height of one embedded instruction block 502 (i.e., 1 cm), and then the new embedded instruction block 502 can be placed in the embeddable instruction block 501, and the number of embedded instruction blocks 502 in the embedded slot becomes 5. When it is necessary to delete an embedded instruction block 502, drag an embedded instruction block 502 from the embedded slot to the trash can, connect the two adjacent embedded instruction blocks 502, and reduce the total height of the slot of the embedded slot by the height of one embedded instruction block 502 (ie, 1 cm), and shrink automatically.
[0059] The two opposite sides of the instruction building block 5 are respectively provided with a connection notch 51 and a connection protrusion 52. The connection notch 51 of one instruction building block 5 is connected to the connection protrusion 52 of another instruction building block 5. The judgment basis of the building block sequence is based on the connection relationship between the connection notch 51 and the connection protrusion 52. The instruction building block Y1 connected to the connection notch 51 of the instruction building block X is arranged before the instruction building block X, and the instruction building block Y2 connected to the connection protrusion 52 of the instruction building block X is arranged after the instruction building block X. It can be seen that by utilizing the structural design of the connection notch 51 and the connection protrusion 52, multiple instruction building blocks can be connected in an orderly manner. In this embodiment, the sequence direction of the instruction building blocks is from top to bottom, so the upper side of the instruction building block is provided with a connection notch 51, and the lower side is provided with a connection protrusion 52, so that a plurality of instruction building blocks can be connected in sequence from top to bottom.
[0060] like Figure 2 and Figure 3 As shown, the display area module 3 has a switchable code display interface and animation display interface. After executing the operation area code running item 42, the functional operation area module 4 sends an instruction to the display area module 3, and the display area module 3 switches the code display interface to the animation display interface to display the animation of the execution code.
[0061] In a specific embodiment, the visualization block operation area module is placed in a block sequence for controlling the flashing of light beads, including an embeddable instruction block 501 and a plurality of embedded instruction blocks 502. The embedded instruction block 502 is a special type of instruction block with two control contents, one is a light-off control instruction block, and the other is a light-on control instruction block. The sequence of blocks embedded in the slot is: the light-off control instruction block and the light-on control instruction block are set at intervals. Among them, the variable value of the light-off control instruction block is 1000, indicating that the light-off duration is 1000 milliseconds, and the variable value of the light-on control instruction block is 2000, indicating that the light-on duration is 2000 milliseconds. Therefore, in the code block displayed in the display area module, the corresponding code of the light-off control instruction block is:
[0062] bflb_gpio_reset(gpio,GPIO_PIN_32); bflb_mtimer_delay_ms(1000); The corresponding code of the light control instruction block is: bflb_gpio_set(gpio,GPIO_PIN_32); bflb_mtimer_delay ms(2000). It can be seen from the visual block operation area module that the length of the light off control instruction block is shorter than the length of the light on control instruction block. After executing the code running item in the operation area, the display area module switches from the code display interface to the code execution animation interface. At this time, a lamp bead is displayed, and the lamp bead turns off for 1 second, turns on for 2 seconds, etc. according to the code of the block sequence, and executes alternately to complete the flashing control of the lamp bead.
[0063] After executing the operation area code storage item 43, the functional operation area module 4 sends a storage instruction to the visual building block operation area module 2, calls the localStorage.setItem function of the browser, and caches the code of the display area module 3 in the browser. Since the data in localStorage has no expiration time, as long as the user does not delete or clear the browser cache, the data is saved in the browser waiting to be transferred. The data is stored in the form of a string, which can directly store the C language code of the instruction building block without writing an additional configuration file, which is very convenient. Furthermore, the browser can access the file system of the user's local storage disk and transfer the stored data to the local storage disk.
[0064] The display area module can upload the code to the cloud server. Specifically, it performs data format conversion, converts the C code into a JSON object, sends the JSON data as the request body, and the browser backend receives the JSON data and extracts the C code and options from it. It uses the fs module of Node.js to write temporary files, uses the child_process module to execute the GCC command to compile the C code, reads the compiled binary file and uploads the file using the cloud OSSSDK, and deletes the temporary file after the compilation is completed.
[0065] After executing the operation area code deletion item 45, the functional operation area module 4 sends instructions to the visualization block operation area module 2 and the display area module 3, calling the clear function to clear all instruction blocks of the visualization block operation area module 2, and the display area module 3 will also delete all corresponding codes synchronously.
[0066] After executing the code cloud file download item 44, the browser queries the interface response and judges, requests to obtain the binary file from the cloud server and decompile it, returns the JSON data, converts the JSON object into C code, and stores it in the local storage disk.
[0067] In the present invention, the visual block operation area module supports multiple configuration options, including workspace positioning, scaling, grid display, and trash can functions. In a specific embodiment, a Blockly workspace is created as a visual block operation area module, and the steps include: step 1, initializing the Blockly workspace; step 2, setting configuration options. Part of the code is as follows:
[0068]
[0069] Among them, the Zelos rendering engine is a newer rendering engine in Blockly, which supports modern browsers and has better visual effects.
[0070] In the present invention, the display area module uses the Monaco Editor plug-in to cooperate with the listener function to display the code in real time. Monaco Editor is a source code editor that can be integrated into a Web application. The listener function (ChangeListener) of Monaco Editor is used to monitor code changes and perform corresponding operations when the code changes.
[0071] The multifunctional visual programming teaching system of the present invention also has an open community function, which enables learners and developers to share their built works.
[0072] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0073] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A multifunctional visual programming teaching system, characterized by: It includes a building block tool area module, a visual building block operation area module, and a display area module. The building block tool area module inputs one-way instructions to the visual building block operation area module, and the instructions between the visual building block operation area module and the display area module are bidirectionally input and output; The visual building block operation area module is used to receive a plurality of instruction blocks dragged from the building block tool area module. The display area module has a switchable code display interface and an animation display interface. When the display area module is in the code display interface, the code of the plurality of instruction blocks is displayed in order according to the building block sequence of the instruction blocks. When the display area module is in the animation display interface, the animation of executing the code is displayed. The code in the display area module can be edited, and the corresponding instruction building blocks in the visual building block operation area module can be modified by editing the code; Drag some instruction blocks into the visualization block operation area module to display the parameter editing area, and modify the parameter editing area to modify the corresponding programming code in the display area module.
2. The multifunctional visual programming teaching system according to claim 1 is characterized in that: The building block tool area module includes several building block library modules for providing specific categories of instruction building blocks; the building block library modules include operation function class, special class, logic class, mathematics class, and operation method class; The operation function class includes a light operation function, a buzzer operation function, a motor operation function, and an ultrasonic operation function; The special categories include quotation mark characters, length calculation, bitmap display, and bracket characters; The logic class includes conditional judgment and loop control; The mathematics category includes numerical input, operation symbols, trigonometric functions, mathematical equations, numerical value comparison, and random value selection; The operation method class includes character output, character input, variable definition, operation suspension, operation continuation, and subtraction assignment.
3. The multifunctional visual programming teaching system according to claim 2 is characterized in that: The building block library module also includes music class, array class, text class, game class, image class, pin class, serial class, and control class.
4. The multifunctional visual programming teaching system according to claim 2, characterized in that: The building block tool area module has a first display page and a second display page. The first display page is used to display several optional building block library category items, each of which corresponds to a building block library module. The second display page is used to display the instruction building blocks in the selected building block library module.
5. The multifunctional visual programming teaching system according to claim 1 is characterized in that: The length of the instruction building block in the visualization building block operation area module is automatically adjusted according to the comparison result with the length of the adjacent instruction building block, and the length of the instruction building block with the larger variable value of two adjacent instruction building blocks is greater than the length of the instruction building block with the smaller variable value.
6. The multifunctional visual programming teaching system according to claim 1 is characterized in that: The instruction building blocks include embeddable instruction building blocks and embedding instruction building blocks. The embeddable instruction building blocks have embedding slots, and the embedded slots automatically adjust the slot size according to the total height of the embedded instruction building blocks placed therein.
7. The multifunctional visual programming teaching system according to claim 1 is characterized in that: The opposite sides of the instruction building block are respectively provided with a connecting notch and a connecting protrusion, and the connecting notch of one instruction building block is connected to the connecting protrusion of another instruction building block.
8. The multifunctional visual programming teaching system according to claim 1 is characterized in that: The multifunctional visual programming teaching system also includes a function operation area module, which is used to input function operation commands and provide one-way instruction input to the visual building block operation area module and the display area module.
9. The multifunctional visual programming teaching system according to claim 8, characterized in that: The functional operation area module includes a page return item, an operation area code running item, an operation area code storage item, an operation area code deletion item, and a code cloud file download item.
10. The multifunctional visual programming teaching system according to claim 1, characterized in that: The multifunctional visual programming teaching system is installed in the browser. When the system stores, it calls the localStorage.setItem function of the browser to cache the code of the display area module in the browser; the browser can access the file system of the user's local storage disk and transfer the stored data to the local storage disk.
Citation Information
Patent Citations
Graphical Python programming interaction method and system and electronic equipment
CN109634592A
Code display method, system and device for graphical programming scene and storage medium
CN112306481A
Tutorial generation method and device, computer equipment and storage medium
CN114443018A
Visual programming method, device, equipment, medium and program product
CN116954578A
Graphical programming method and device, equipment and storage medium
CN118132059A
