US 12,455,726 B2
Graphical programming method, processor, and terminal
Xin Jin, Beijing (CN); Liang Liao, Beijing (CN); and Jun Yi Shan, Yingkou (CN)
Assigned to SIEMENS LTD., CHINA, Beijing (CN)
Appl. No. 18/003,756
Filed by Siemens Ltd., China, Beijing (CN)
PCT Filed Jun. 30, 2020, PCT No. PCT/CN2020/099372
§ 371(c)(1), (2) Date Dec. 29, 2022,
PCT Pub. No. WO2022/000293, PCT Pub. Date Jan. 6, 2022.
Prior Publication US 2023/0259334 A1, Aug. 17, 2023
Int. Cl. G06F 9/44 (2018.01); G06F 3/0486 (2013.01); G06F 8/34 (2018.01); G06F 8/38 (2018.01)
CPC G06F 8/34 (2013.01) [G06F 3/0486 (2013.01); G06F 8/38 (2013.01)] 10 Claims
OG exemplary drawing
 
4. A graphical programming method comprising:
in a first interface, displaying a programming flowchart matching a target task to be executed, wherein the programming flowchart comprises at least two function blocks used for implementing the target task, and the first interface is used for configuring the function blocks in the programming flowchart and an execution logic between the function blocks;
determining a first function block and a second function block from the programming flowchart, wherein the first function block is used for obtaining at least two pieces of first information to be processed, different pieces of the at least two pieces of first information correspond to different information processing results, and the second function block is used for obtaining information processing results corresponding to the first information; and
configuring a first control between the first function block and the second function block, wherein the first control is used for determining a current information processing result according to the first information currently detected from the first function block and transmitting the current information processing result to the second function block;
wherein creating the first control in the first interface comprises:
automatically generating the corresponding first control in the first interface according to the number of the pieces of first information to be processed in the first function block, wherein the number of optional branches set in the first control is consistent with the number of the pieces of first information; and
in each optional branch of the first control, respectively configuring the information processing result corresponding to each of the pieces of first information as an output result of the optional branch.