Function execution method, building block function rewriting method and related equipment
An execution method and building block technology, applied in the field of graphical programming, can solve problems such as language flexibility and creative limitations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] In order to improve programming efficiency, reduce programming difficulty, and facilitate learning the basic knowledge of programming, a graphical programming platform represented by Scratch has appeared on the market. In these programming platforms, some basic building blocks are provided, and a built-in function is correspondingly configured for each basic building block, so that each basic building block can realize a certain function. Users only need to drag the corresponding building blocks for splicing and assembly, and then they can realize programming creation, which has the advantages of low threshold and simple realization.
[0039] However, after research, the inventor found that in these programming platforms, the essence of the building block is a preset built-in function, and the definition of the function is derived from the internal implementation of the engine of the programming platform, that is, the implementation of the function depends on the engine ...
Embodiment 2
[0084] On the basis of the first embodiment, this embodiment takes the process of rewriting the function for the basic building block of "moving step" in the scratch programming platform as an example, and further exemplifies this application.
[0085] First, the programming platform detects that the user edits a custom function on a specific UI interface (for example, a given interface dedicated to writing custom functions), and drags a basic block to the custom function define columns (eg Figure 4 In the first column shown), determine that the basic building block is the target building block corresponding to the custom function written this time, and the function name of the custom function written can be compared with the built-in function corresponding to the target building block. The function names are associated, and the association is saved in the target information of the current role in the form of an SB3 file.
[0086] Exemplarily, the built-in function correspon...
Embodiment 3
[0093] Based on the same inventive concept, the embodiment of the present application also provides a function execution apparatus 700 and a building block function rewriting apparatus 800 . see Figure 7 and Figure 8 shown, Figure 7 shows using figure 2 the function execution means of the method shown, Figure 8 shows using Image 6 The block function of the method shown is rewritten. It should be understood that for the specific functions of the apparatus 700 and the apparatus 800, reference may be made to the above description, and to avoid repetition, the detailed description is appropriately omitted here. The device 700 and the device 800 include at least one software function module that can be stored in a memory in the form of software or firmware or fixed in the operating system of the device 700 and the device 800 . specifically:
[0094] see Figure 7 As shown, the apparatus 700 is applied to a programming platform, wherein a plurality of basic building bl...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com