Unlock instant, AI-driven research and patent intelligence for your innovation.

Physical programming method

A programming method and physical technology, applied in the field of programming, can solve the problems of inability to carry out complex programs-programming, complex, limited programming board size, etc., and achieve the effect of reducing acquisition time, improving utilization rate, and speeding up programming speed.

Active Publication Date: 2021-08-13
HANGZHOU CHOHOO SMART TECH CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention mainly solves the technical problem that the existing physical programming is limited by the size of the programming board and cannot perform complex program-programming; it provides a physical programming method, and the actuator moves to the target position according to the instructions generated by the controller to obtain the programming After the program code integrated in the building block is uploaded to the controller, the controller compiles and generates assembly code, so that the physical programming is not limited by the size of the programming board, and complex program programming can be performed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Physical programming method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] Embodiment: a kind of materialized programming method of the present embodiment, such as figure 1 shown, including the following steps:

[0026] S1. The controller generates control commands according to the programming tasks and sends them to the actuators, including:

[0027] S11. The controller retrieves the position coordinates of several programming building blocks corresponding to the programming task from the database according to the programming task. The database of the controller includes a programming task library and a programming building block library. The programming task library contains multiple programming tasks. Each programming task has its corresponding number of programming blocks, that is, in the programming task library, each programming task is represented by the number of the programming building block and the combination of logical words; the programming building block library includes the position coordinates of each programming building bloc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a materialized programming method. The method comprises the following steps that S1, a controller generates a control instruction according to a programming task and sends the control instruction to an actuator; S2, the actuator moves to a target position according to the control instruction, reads programming building blocks placed at the target position, and obtains program codes integrated in the programming building blocks; and S3, if the actuator successfully reads the programming building block at the target position, the actuatorfeeds back task completion to the controller and uploads the obtained program code to the controller, and the controller compiles the program code obtained from the actuatorto generate an assembly code to complete programming, and if the actuatorfails to read the programming building block at the target position, the actuatorfeeds back task failure to the controller, and the controller sends out a fault warning and stops executing the programming task. The method is not limited by the size of a programming board in the real object programming process, and complex program programming can be carried out.

Description

technical field [0001] The present invention relates to the technical field of programming, in particular to a materialized programming method. Background technique [0002] Object programming interacts with objects through technologies such as touch and physical perception, and then converts the logic of objects into program logic for programming. The program is no longer a boring line of code, but a combination of a group of real objects. By splicing and combining the real objects, children can complete the work done by inputting codes through the keyboard in ordinary programming languages. The characteristics of physical programming determine that it is more suitable for children to perform programming operations. The current existing physical programming is that users place physical programming blocks on the programming board according to the selected physical programming tasks and task execution rules to form a sequence of physical programming blocks. However, for chil...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G09B19/00G09B23/18
CPCG09B19/0053G09B23/185Y02P90/02
Inventor 应宏
Owner HANGZHOU CHOHOO SMART TECH CO LTD