Visual Programming Interface Segmentation for Function Setting Reliability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current visual programming tools face issues with setting function building blocks, leading to function setting failures when the user does not place any building blocks in the programming operation region, causing the building block toolbox to fail compilation.
Innovation Solution
The method and apparatus for visual programming involve determining a target role in a visual layout region and displaying event and function building blocks in specific triggering regions, allowing users to select and add these blocks to the programming region, thereby improving the setting success rate of function building blocks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the building block toolbox is separated from the building block list field, then the independence of function setting is improved, but the device complexity increases due to separate triggering regions
Solution Approach 1:
The interface is segmented into distinct triggering regions: a building block triggering region for selecting building blocks and a function building block triggering region for selecting function settings. This segmentation allows independent operation of each region, preventing the compilation failure that occurs when the toolbox is pulled out alone without building blocks in the programming operation region.
2Ease of operation
If the building block toolbox is pulled out alone without placing building blocks, then the ease of operation is improved, but the function setting fails due to compilation error
Solution Approach 1:
The system requires preliminary action in a specific sequence: first place building blocks in the programming operation region through the building block triggering region, then pull out the building block toolbox through the function building block triggering region. This preliminary placement of building blocks prevents the compilation failure that would otherwise occur when the toolbox is accessed alone.
3Device complexity
If event and function building blocks are displayed in the same region, then the device complexity is reduced, but the ease of operation deteriorates due to misoperation issues
Solution Approach 1:
The triggering region is divided into a building block triggering region for event building blocks and a function building block triggering region for function building blocks. This spatial segmentation prevents misoperation by clearly distinguishing between the two types of building blocks, allowing users to select the appropriate block type from the correct region without confusion.
Data Source
AI summary
In a method for performing visual programming, applicable to a terminal, a target role in a visual layout region of a target interface is determined. An event building block set is displayed in an event building block triggering region of the target interface. In response to detecting a selection operation on a first event building block in the event building block set, the first event building block corresponding to the target role is added to a visual programming region of the target interface. In response to detecting a selection operation on a first function building block in at least one function building block corresponding to the first event building block displayed in a function building block triggering region of the target interface, the first function building block corresponding to the target role is added to the visual programming region.


