# US 2026/0267625 A1 · Computer-Implemented Method and System for Generating a Command Pipeline for Controlling a Technical Device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0267625 A1
- Document ID: US20260267625A1
- Status: Published application
- Kind: A1
- Application number: 18/871,896
- Filed: 2023-06-02
- Published: 2026-09-10
- Earliest claimed: 2022-06-09
- Assignees: Siemens Aktiengesellschaft
- Applicants: Siemens Aktiengesellschaft
- Inventors: Andrei Laurentiu COMAN; Alexandru CHIS; Delia Elena IUGA; Carlos MORRA
- Web page: https://patentgrep.com/patent/US20260267625A1

## CPC

- G06F 8/4452: {Software pipelining}
- G06F 8/70: Software maintenance or management
- G06F 8/31: {Programming languages or programming paradigms}
- G06F 8/36: Software reuse
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for generating a command pipeline as a continuous integration pipeline for controlling a technical device by a generation device includes a) providing a first command pipeline with first commands for the generation device from a local database, b) providing at least one second command pipeline with second commands for the generation device, c) determining similarities between the first and the at least one second command pipeline by the generation device, d) identifying at least one similarity between the first and the at least one second command pipeline by the generation device, and based on a predefined threshold for the at least one similarity, and selecting the at least one second command pipeline as a generated pipeline, when the threshold is exceeded by the at least one similarity, and e) providing the generated pipeline to a command device and controlling the technical device with the generated pipeline.

## Claims

### Claim at position 1

-5. (canceled)

### Claim 6

A computer-implemented method for generating a command pipeline as a continuous integration pipeline for controlling a technical device (D) by a generation device, the method comprising:
a) providing a first command pipeline with first commands for the generation device from a first database;
b) providing at least one second command pipeline with second commands for the generation device from at least one second database;
c) determining similarities between the first and the at least one second command pipeline by the generation device;
e) identifying at least one similarity between the first and the at least one second command pipeline by the generation device, and based on a predefined threshold for the at least one similarity, and selecting the at least one second command pipeline as a generated pipeline, when the predefined threshold is exceeded by the at least one similarity; and
f) providing the generated pipeline to a command device and controlling the technical device (D) based on the generated pipeline;
wherein when determining similarities during step c), an error measure based on a sum of squared differences in accordance with the following relation is utilized:
M
⁡
(
w
,
p
,
r
j
)
=
∑
i
=
1
n
⁢
w
i
(
p
i
-
r
i
,
j
)
2
,
where
pi and ri,j are percentages of programming or scripting languages in local and remote projects, represented by the first and the at least one second command pipeline, respectively,
wi represents a relevance to each language, represented by the first and the at least one second command pipeline, assigned manually by an user, which must be positive numbers and
∑
i
=
1
n
⁢
w
i
=
1
,
n is a maximum number of programming languages from the local and remote projects, represented by the first and the at least one second command pipeline,
i is an index of a programming language for the first and the at least one second command pipeline, and
j is ae number of the remote project, represented by the first and the at least one second command pipeline, and a most similar project j, out of the first and the at least one second command pipeline, corresponds to the minimum value of M(w,p,rj).

### Claim 7 (depends on 6)

The method according to claim 6, wherein percentages of programming or scripting languages in the local and remote projects is determined by utilizing a number of code lines or software modules in the same language.

### Claim 8 (depends on 6)

The method according to claim 6, wherein said determining similarities during step c) is performed for all of the at least one command pipeline, and a sorted list of all of the at least one command pipeline is generated in accordance to the similarity achieved before, and when selecting the at least one second command pipeline as a generated pipeline, an item of the list is selected, which provides a lowest error measure.

### Claim 9

A system for generating a command pipeline for controlling a technical device, comprising:
a first and at least one second database;
a generation device; and
a command device for controlling the technical device;
wherein the system is configured to:
a) provide a first command pipeline with first commands for the generation device from a first database;
b) provide at least one second command pipeline with second commands for the generation device from at least one second database;
c) determine similarities between the first and the at least one second command pipeline by the generation device;
e) identify at least one similarity between the first and the at least one second command pipeline by the generation device, and based on a predefined threshold for the at least one similarity, and selecting the at least one second command pipeline as a generated pipeline, when the predefined threshold is exceeded by the at least one similarity; and
f) provide the generated pipeline to a command device and control the technical device (D) based on the generated pipeline; and
wherein when determining similarities during step c), an error measure based on a sum of squared differences in accordance with the following relation is utilized:
M
⁡
(
w
,
p
,
r
j
)
=
∑
i
=
1
n
⁢
w
i
(
p
i
-
r
i
,
j
)
2
,
where
pi and ri,j are percentages of programming or scripting languages in local and remote projects, represented by the first and the at least one second command pipeline, respectively,
wi represents a relevance to each language, represented by the first and the at least one second command pipeline, assigned manually by an user, which must be positive numbers and
∑
i
=
1
n
⁢
w
i
=
1
,
n is a maximum number of programming languages from the local and remote projects, represented by the first and the at least one second command pipeline,
i is an index of a programming language for the first and the at least one second command pipeline, and
j is ae number of the remote project, represented by the first and the at least one second command pipeline, and a most similar project j, out of the first and the at least one second command pipeline, corresponds to the minimum value of M(w,p,rj).

### Claim 10

A non-transitory computer-readable medium encode with machine-readable instructions which, when executed by a processor, causes the processor to generate a command pipeline as a continuous integration pipeline for controlling a technical device by a generation device, the instructions comprising:
a) program code for providing a first command pipeline with first commands for the generation device from a first database;
b) program code for providing at least one second command pipeline with second commands for the generation device from at least one second database;
c) program code for determining similarities between the first and the at least one second command pipeline by the generation device;
e) program code for identifying at least one similarity between the first and the at least one second command pipeline by the generation device, and based on a predefined threshold for the at least one similarity, and selecting the at least one second command pipeline as a generated pipeline, when the predefined threshold is exceeded by the at least one similarity; and
f) program code for providing the generated pipeline to a command device and controlling the technical device based on the generated pipeline;
wherein when determining similarities during step c), an error measure based on a sum of squared differences in accordance with the following relation is utilized:
M
⁡
(
w
,
p
,
r
j
)
=
∑
i
=
1
n
⁢
w
i
(
p
i
-
r
i
,
j
)
2
,
where
pi and ri,j are percentages of programming or scripting languages in local and remote projects, represented by the first and the at least one second command pipeline, respectively,
wi represents a relevance to each language, represented by the first and the at least one second command pipeline, assigned manually by an user, which must be positive numbers and
∑
i
=
1
n
⁢
w
i
=
1
,
n is a maximum number of programming languages from the local and remote projects, represented by the first and the at least one second command pipeline,
i is an index of a programming language for the first and the at least one second command pipeline, and
j is ae number of the remote project, represented by the first and the at least one second command pipeline, and a most similar project j, out of the first and the at least one second command pipeline, corresponds to the minimum value of M(w,p,rj).
