A data circulation system, method and storage medium for graphical programming works
By introducing data circulation systems into the graphical programming platform, including user interface, building blocks, account management systems and databases, the shortcomings of the existing platform in data circulation are solved, the simulated circulation and storage of data are realized, and the practicality and fun of programming teaching are improved.
Patent Information
- Application Number
- CN202410737657.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2044-06-07
AI Technical Summary
The existing graphical programming education platform has limited functions in virtual data circulation and lacks data management and storage mechanisms, resulting in poor universality and flexibility, affecting the effectiveness of programming teaching.
It provides a data circulation system, including displaying user interface, building blocks, account management system and database, and triggering data circulation through building blocks. The account management system processes control logic and stores and updates data with the database to realize simulated circulation and recording of data.
It enhances the functionality of the graphical programming platform and provides an entertaining environment to help users understand and learn the concept of data circulation, improves the versatility and flexibility of the platform, so that programming beginners can easily integrate and utilize data circulation functions.
Smart Images

Figure CN118569809B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer programming education and data processing technology, and more particularly to a data circulation system, method and storage medium for graphical programming works. Background Art
[0002] In the field of computer programming education, children's programming environments, particularly Scratch (a graphical programming tool primarily accessible to young people worldwide), have provided an intuitive and user-friendly platform for learning programming logic and concepts by dragging and dropping programming blocks. These environments typically include basic programming constructs such as control flow, data manipulation, and user interaction, but their capabilities for virtual data circulation are relatively limited.
[0003] Existing educational programming platforms generally lack mechanisms to support data management through programming. This limitation stems from the fact that these platforms are designed with a focus on basic programming instruction. Consequently, the structure of existing systems and the placement and connectivity of their components fail to account for the need for data flow.
[0004] In addition, the programming building blocks in the prior art do not have a corresponding back-end system to support the storage, update and data circulation records of data, and have poor versatility and flexibility.
[0005] Therefore, how to provide a data flow system, method and storage medium for graphical programming works that can solve the above problems is an issue that those skilled in the art urgently need to solve. Summary of the Invention
[0006] In light of this, the present invention provides a system, method, and storage medium for data exchange between graphical programming works, addressing the shortcomings of existing graphical programming education platforms in virtual data exchange. While these platforms provide children with basic programming skills, they lack tools for simulating data exchange, resulting in poor versatility and flexibility, which limits their teaching effectiveness.
[0007] In order to achieve the above object, the present invention provides the following technical solutions:
[0008] A data circulation system for graphical programming works, comprising:
[0009] Display user interface, building blocks, account management system and database;
[0010] The user interface is connected to the building block, and when the building block is operated through the user interface, data flow is triggered;
[0011] The building block is connected to the account management system to handle the control logic of data circulation;
[0012] The account management system is connected to the database to store and update the data.
[0013] Preferably, the control logic for processing data circulation includes: when the demander initiates a request or the provider initiates a request, the building block responds, receives the amount of data, implements the input set by the provider and the demander, verifies account data information, processes circulation logic, and provides user feedback information.
[0014] Preferably, when the demander initiates a request, the building block responds, receives the amount of data, implements the input set by the provider and the demander, verifies account data information, processes circulation logic, and provides user feedback information. The specific steps are:
[0015] S1.1: Define http interface request and transmit data information;
[0016] S1.2: Verify whether the data information meets the requirements of the demander and proofread the verification items. If the verification is successful, proceed to S1.3; if the verification fails, proceed to S1.4;
[0017] S1.3: If the verification is successful, generate a first response, form a record, record the corresponding data information of the provider, and mark the first response with a first tag;
[0018] S1.4: In the event of verification failure, a second response is generated, a record is formed, and the second response is given a second mark.
[0019] Preferably, when the provider initiates a request, the building block responds, receives the amount of data, implements the input set by the provider and the demander, verifies account data information, processes circulation logic, and provides user feedback information. The specific steps are:
[0020] S2.1: Perform secondary verification based on a response status;
[0021] S2.2: Lock the response to achieve the uniqueness of the supply and demand sides in the same state;
[0022] S2.3: Response confirmation to achieve data flow between the provider and the demander;
[0023] S2.4: If the response is not confirmed, unlock the response and mark the status as canceled.
[0024] Preferably, when the building block responds, processing the flow logic includes:
[0025] S3.1: Based on the response information change logic, modify the data under each group of accounts of each demander and each provider;
[0026] S3.2: Verify the tag number and obtain the data change type to determine whether the change is to increase or decrease the data in the account. If the change is to increase the data in the account, proceed to S3.3; if the change is to decrease the data in the account, proceed to S3.4;
[0027] S3.3: Verify the data associated with the data information, add the data information to the provider's account, and record the data information in Ethereum;
[0028] S3.4: Verify the provider and the demander, change the data information of the available data, enable the provider to add data information, and the demander to consume data information, and record the data information of the provider and the demander respectively.
[0029] A method for data communication between graphical programming works, comprising:
[0030] S100: trigger data flow;
[0031] S200: Processing control logic of data flow;
[0032] S300: Storing and updating the data.
[0033] A computer storage medium stores a computer program, which, when executed by a processor, implements the steps of a method for data circulation between graphical programming works.
[0034] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a system, method and storage medium for data circulation between graphical programming works, and develops a new programming building block that can simulate data circulation, which can fill the gaps in the prior art and add practical elements of data circulation to children's programming platforms, thereby more comprehensively promoting children's knowledge learning in programming and data circulation, with high versatility and flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0036] Figure 1Schematic diagram of the system structure of the present invention;
[0037] Figure 2 A schematic diagram of the process of initiating a numerical value circulation request by a demander of the present invention;
[0038] Figure 3 A schematic diagram of the process of initiating a numerical value circulation request by the provider of the present invention;
[0039] Figure 4 Schematic diagram of the data change process of the present invention;
[0040] Figure 5 Schematic diagram of the method of the present invention. DETAILED DESCRIPTION
[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.
[0042] The present invention aims to provide a system, method, and storage medium for data circulation between graphical programming works, comprising: a display user interface, building blocks, an account management system, and a database; wherein the user interface is connected to the building blocks, and when the building blocks are operated through the user interface, data circulation is triggered; the building blocks are connected to the account management system, which processes the control logic of data circulation; and the account management system is connected to the database, which stores and updates data. The present invention provides a technical solution for implementing virtual data circulation in a graphical programming platform. By introducing a new type of programming building block, this solution enables users to simulate the process of providing and demanding data in programming works. In this way, the present invention not only increases the functionality of the programming platform but also provides users with an entertaining and educational environment to help them understand and learn the basic concepts of data circulation. In addition, the present invention aims to simplify the implementation process of data circulation, making it easy for even programming beginners to integrate and utilize this function. It has high versatility and flexibility, and provides solutions to the technical problems existing in the above-mentioned prior art.
[0043] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0044] See also Figure 1 The embodiment of the present invention discloses a data circulation system for graphical programming works, including: displaying the relationship between the user interface UI, building blocks Block, account management system AMS and database DB.
[0045] The user interface is connected to the building blocks, indicating that users operate the building blocks to initiate data circulation. The building blocks are connected to the account management system, representing the processing of data circulation logic. The account management system is connected to the database, representing a type of data storage and update.
[0046] In a specific embodiment, in the building block functional process, the personal account, data circulation, and a data-triggered circulation system process are described, including the steps of receiving a type of data information, such as the amount of data, implementing the input of the intention of the provider and the demander, verifying the account data information, processing the data circulation logic, and providing user feedback.
[0047] In a specific embodiment, the process is as follows:
[0048] For details, see Figure 2 The demander initiates a data circulation request process, that is, when the demander initiates a request, the building block responds, receives the amount of data, implements the input set by the provider and the demander, verifies account data information, processes circulation logic, and provides user feedback information. The specific steps are:
[0049] S1.1: The process starts, assembling data and obtaining data numbers.
[0050] S1.2: Verify whether the specific data number meets the requirements of the demander and proofread the verification items. If the verification is successful, proceed to S1.3; if the verification fails, proceed to S1.4.
[0051] S1.3: If the verification in step S1.2 is successful, the first response is generated and a record is formed. The corresponding data is recorded for the provider to realize the response certificate and mark the valid response.
[0052] S1.4: If the verification in step S1.2 fails, the process proceeds to response generation, forming a record. The returned response information is marked as an invalid response.
[0053] For details, see Figure 3 , provider value circulation request process (response confirmation):
[0054] S2.1: Based on a response status, perform secondary verification; implement secondary verification response information.
[0055] S2.2: Lock the response to achieve the uniqueness of the circulation of providers and demanders in the same state.
[0056] S2.3: Based on the completion of S2.2, continue to call the response confirmation to realize the flow of data between the provider and the demander.
[0057] S2.4: If the verification fails, the response is unlocked, the latest status is updated, and the database marks the status canceled.
[0058] For details, see Figure 4 , data change process of the requester (data provider or data demander):
[0059] The initial parameter verification userid (user number), tagid (tag number), currencytag (data flow type), amount (purchase quantity), remark (remark), targetUid (target tag id), inputData (input amount), tradehash (data flow mark), tradetype (data flow type), recordid (verification number) to implement initialization information verification;
[0060] S3.1: Based on the response to S2.2, the data information is compared with the complete row change logic, and the system data of each group of accounts of each demander and provider are changed.
[0061] S3.2: Verify data type and parameter integrity. Verify tagid and obtain the data change type currencytradetag, that is, the data flow type tag, to determine whether the change is to increase or decrease the data information in the account. If the change is to increase the data information in the account, proceed to S3.3; if the change is to decrease the data information in the account, proceed to S3.4.
[0062] S3.3: If it is an addition, the S3.2 step determines that the acquired data information is to be verified by the corresponding type rules, including legality verification, verification of data type labels, verification of periodic limits, update of account information, update of a verification record, and finally add a data sequence to the user's account, and record the data information to Ethereum (data change record ledger information, similar to a data information exchange flow record table).
[0063] S3.4: If it is a reduction as determined in step S3.2, the provider and the demander are verified, and the type rules are verified; the provider / consumer account is also verified. If the verification fails, the transaction process ends.
[0064] If the verification passes, the exchange quantity of both parties will be updated, and the available inventory, total consumption quantity, recorded consumption quantity, total new quantity, and consumption record number will be changed.
[0065] Ultimately, the data information can be changed, the provider can increase the value, the demander can reduce the value, and the data information can be recorded in Ethereum.
[0066] In a specific embodiment, a user drags a building block to a code area in a graphical programming environment to use it so that it plays a role in a graphical programming program.
[0067] When the user triggers the logic of the building block on the interactive interface, the system will pop up a response confirmation prompt. After clicking confirm, the data information in the user's personal virtual account on the platform will be changed, completing the user's data circulation behavior.
[0068] Specifically, building block design:
[0069] The names of the building blocks can be customized.
[0070] Input request: Two data requests, namely the data to be sent and the data to be returned.
[0071] Logical processing: The building block contains the logic to determine whether the data information in the user account is sufficient.
[0072] Specifically, user interface interaction:
[0073] The user starts the data flow process by dragging this building block to the programming area and setting the corresponding data parameters.
[0074] Before data circulation is executed, the system will display the current data information of the account on the interface.
[0075] Specifically, the Account Management System (AMS):
[0076] Function: Process data circulation requests initiated by building blocks, verify data information in accounts, and record data circulation details.
[0077] Data flow processing: When the building block is triggered, AMS checks the data information in the account to confirm whether the data flow is feasible.
[0078] Specifically, database (DB):
[0079] Storage content: including user account data information and data circulation history.
[0080] Update mechanism: After the data circulation is successful, the database updates the account data information and adds new data circulation records.
[0081] Specifically, data circulation execution and feedback:
[0082] If the data information in the account cannot meet the requirements for data circulation, the data circulation will be rejected and a prompt message will be displayed on the user interface.
[0083] If the data flow is successful, the account data information will be changed and the demand will be activated accordingly.
[0084] Specific, dynamic relationships and effects:
[0085] This building block enables users to simulate data flow in a programming environment, making learning more practical and interesting.
[0086] Users learn data circulation knowledge, such as data management and decision-making, in a gamified environment.
[0087] Specific English abbreviations and meanings:
[0088] AMS (Account Management System): Account management system that processes and manages user accounts and data flow.
[0089] DB (Database): Database, which stores user information and data circulation records.
[0090] See also Figure 5 On the other hand, this embodiment discloses a method for data circulation between graphical programming works, comprising:
[0091] S100: trigger data flow;
[0092] S200: Processing control logic of data flow;
[0093] S300: Store and update data.
[0094] On the other hand, an embodiment of the present invention discloses a computer storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements the steps of a method for data circulation between graphical programming works.
[0095] Through this specific implementation, the present invention not only technically realizes the data circulation function in the programming platform, but also provides a novel teaching tool in education to help users better understand programming and concepts.
[0096] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.
[0097] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data circulation system for graphical programming works, characterized in that: include: Display user interface, building blocks, account management system and database; The user interface is connected to the building block, and when the building block is operated through the user interface, data flow is triggered; The building block is connected to the account management system to handle the control logic of data circulation; The account management system is connected to the database to store and update the data; The control logic for processing data circulation includes the following steps: when a request is initiated by a demander or a provider, the building block responds, receives the amount of data, implements the input set by the provider or demander, verifies account data information, processes circulation logic, and provides user feedback information; When the provider initiates a request, the building block responds, receives the amount of data, implements the input set by the provider and the demander, verifies account data information, processes circulation logic, and provides user feedback information. The specific steps are: S2.1: Perform secondary verification based on a response status; S2.2: Lock the response to achieve the uniqueness of the supply and demand sides in the same state; S2.3: Response confirmation to achieve data flow between the provider and the demander; S2.4: If the response is not confirmed, unlock the response and mark the status as canceled; When the building block responds, the processing flow logic includes: S3.1: Based on the response information change logic, modify the data under each group of accounts of each demander and each provider; S3.2: Verify the tag number and obtain the data change type to determine whether the change is to increase or decrease the data in the account. If the change is to increase the data in the account, proceed to S3.3; if the change is to decrease the data in the account, proceed to S3.4; S3.3: Verify the data associated with the data information, add the data information to the provider's account, and record the data information in Ethereum; S3.4: Verify the provider and the demander, change the data information of the available data, enable the provider to add data information, and the demander to consume data information, and record the data information of the provider and the demander respectively.
2. A data circulation system for graphical programming works according to claim 1, characterized in that: When the demander initiates a request, the building block responds, receives the amount of data, implements the input set by the provider and demander, verifies account data information, processes circulation logic, and provides user feedback information. The specific steps are: S1.1: Define http interface request and transmit data information; S1.2: Verify whether the data information meets the requirements of the demander and proofread the verification items. If the verification is successful, proceed to S1.3; if the verification fails, proceed to S1.4; S1.3: If the verification is successful, generate a first response, form a record, record the corresponding data information of the provider, and mark the first response with a first tag; S1.4: In the event of verification failure, a second response is generated, a record is formed, and the second response is given a second mark.
3. A method for data circulation between graphical programming works using the data circulation system for data circulation between graphical programming works according to any one of claims 1 to 2, characterized in that: include: S100: trigger data flow; S200: Processing control logic of data flow; S300: Storing and updating the data.
4. A computer storage medium, characterized in that The computer storage medium stores a computer program, which, when executed by a processor, implements the steps of a method for data circulation between graphical programming works as claimed in claim 3.
Citation Information
Patent Citations
Transaction processing method and device
CN112819619A
Graphical programming method for data processing and flow control of intelligent gateway
CN115248684A