IP Library Granted Patent US 11,349,714
Granted Patent B1
US 11,349,714 · App. 17/143,259 · Granted May 31, 2022

Cognitive command line interface for configuring devices

Inventors: Pravin Bernard Phadte (Bengaluru, IN); Nedin Ametovski (Skopje, MK); Stephen O'Brien (Cork, IE); Saritha Route (Bengaluru, IN); Francesco Perillo (Velletri, IT)
Assignee: Kyndryl, Inc.
H04L41/0886G06F9/45512H04L41/0813H04L41/0893H04L63/0876
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,349,714
App. No.
17/143,259
Granted
May 31, 2022
Kind
B1
Abstract

Automatically providing CLI commands for configuring devices is provided. A set of CLI commands for configuring a device on a network is retrieved from a database using an artificial intelligence component based on model and operating system version of the device. The set of CLI commands for configuring the device is displayed within a summary window of a cognitive CLI. The set of CLI commands entered by a user while configuring the device is verified in real time on a CLI of the cognitive CLI using the artificial intelligence component.

Claims (62)

1. A computer-implemented method for automatically providing command line interface (CLI) commands for configuring devices, the computer-implemented method comprising:

training, by a computer, a machine learning model of an artificial intelligence component using historical CLI commands for configuring a plurality of different devices to form a trained artificial intelligence component;

retrieving, by the computer using the trained artificial intelligence component, a set of CLI commands for configuring a device on a network from a database of the computer based on model and operating system version of the device;

displaying, by the computer, the set of CLI commands for configuring the device within a summary window of a cognitive CLI; and

verifying, by the computer using the trained artificial intelligence component, the set of CLI commands entered by a user while configuring the device in real time on a CLI of the cognitive CLI, wherein the trained artificial intelligence component detects typographical errors made by the user while entering the set of CLI commands in the CLI to configure the device and provides a correct CLI command or a correct sequence of CLI commands to the user while configuring the device via the summary window of the cognitive CLI in response to detecting the typographical errors.

2. The computer-implemented method of claim 1 , further comprising:

receiving, by the computer, a login to the device from the user via the cognitive CLI displayed on a display of the computer;

starting, by the computer, a secure shell session with the device via the network using the cognitive CLI based on the login; and

retrieving, by the computer using the cognitive CLI via the secure shell session with the device, device name, internet protocol address, model, and operating system version of the device.

3. The computer-implemented method of claim 2 , further comprising:

searching, by the computer using the trained artificial intelligence component, the database of the computer for the device based on at least one of the device name and the internet protocol address of the device.

4. The computer-implemented method of claim 3 , further comprising:

retrieving, by the computer using the trained artificial intelligence component, the set of CLI commands for configuring the device from the database of the computer based on the model and the operating system version of the device in response to the computer determining that the device was found in the database based on the searching.

5. The computer-implemented method of claim 3 , further comprising:

searching, by the computer, external data sources for a reference set of CLI commands for configuring the device based on at least one of the device name, the internet protocol address, the model, and the operating system version of the device in response to the computer determining that the device was not found in the database of the computer based on the searching;

determining, by the computer, whether a reference set of CLI commands for configuring the device was found in at least one external data source; and

displaying, by the computer, the reference set of CLI commands within the summary window of the cognitive CLI to the user in response to the computer determining that the reference set of CLI commands for configuring the device was found in at least one external data source.

6. The computer-implemented method of claim 5 , further comprising:

sending, by the computer, an alert to a system administrator to update the database of the computer with CLI commands for configuring the device and notifying, by the computer, the user via the summary window of the cognitive CLI that no CLI commands are available for configuring the device in the database of the computer or the external data sources in response to the computer determining that a reference set of CLI commands for configuring the device was not found in at least one external data source.

7. The computer-implemented method of claim 2 , further comprising:

receiving, by the computer, a logout of the device from the user via the cognitive CLI;

closing, by the computer, the secure shell session with the device using the cognitive CLI based on the logout; and

deleting, by the computer, the set of CLI commands from a temporary memory of the cognitive CLI.

8. The computer-implemented method of claim 1 , wherein the device is one of a computing device, a storage device, or a network device connected to the network of the computer.

9. The computer-implemented method of claim 1 , wherein the cognitive CLI includes the summary window, the CLI, and a web-based interface, and wherein the web-based interface uses data received from the CLI to search for a reference set of CLI commands for configuring the device.

10. A computer system for automatically providing command line interface (CLI) for configuring devices, the computer system comprising:

a bus system;

a storage device connected to the bus system, wherein the storage device stores program instructions; and

a processor connected to the bus system, wherein the processor executes the program instructions to:

train a machine learning model of an artificial intelligence component using historical CLI commands for configuring a plurality of different devices to form a trained artificial intelligence component;

retrieve, using the trained artificial intelligence component, a set of CLI commands for configuring a device on a network from a database of the computer system based on model and operating system version of the device;

display the set of CLI commands for configuring the device within a summary window of a cognitive CLI; and

verify, using the trained artificial intelligence component, the set of CLI commands entered by a user while configuring the device in real time on a CLI of the cognitive CLI, wherein the trained artificial intelligence component detects typographical errors made by the user while entering the set of CLI commands in the CLI to configure the device and provides a correct CLI command or a correct sequence of CLI commands to the user while configuring the device via the summary window of the cognitive CLI in response to detecting the typographical errors.

11. The computer system of claim 10 , wherein the processor further executes the program instructions to:

receive a login to the device from the user via the cognitive CLI displayed on a display of the computer system;

start a secure shell session with the device via the network using the cognitive CLI based on the login; and

retrieve, using the cognitive CLI via the secure shell session with the device, device name, internet protocol address, model, and operating system version of the device.

12. The computer system of claim 11 , wherein the processor further executes the program instructions to:

search, using the trained artificial intelligence component, the database of the computer system for the device based on at least one of the device name and the internet protocol address of the device.

13. The computer system of claim 12 , wherein the processor further executes the program instructions to:

retrieve, using the trained artificial intelligence component, the set of CLI commands for configuring the device from the database of the computer system based on the model and the operating system version of the device in response to determining that the device was found in the database based on the search.

14. The computer system of claim 12 , wherein the processor further executes the program instructions to:

search external data sources for a reference set of CLI commands for configuring the device based on at least one of the device name, the internet protocol address, the model, and the operating system version of the device in response to determining that the device was not found in the database of the computer system based on the search;

determine whether a reference set of CLI commands for configuring the device was found in at least one external data source; and

display the reference set of CLI commands within the summary window of the cognitive CLI to the user in response to determining that the reference set of CLI commands for configuring the device was found in at least one external data source.

15. A computer program product for automatically providing command line interface (CLI) commands for configuring devices, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method of:

training, by the computer, a machine learning model of an artificial intelligence component using historical CLI commands for configuring a plurality of different devices to form a trained artificial intelligence component;

retrieving, by the computer using the trained artificial intelligence component, a set of CLI commands for configuring a device on a network from a database of the computer based on model and operating system version of the device;

displaying, by the computer, the set of CLI commands for configuring the device within a summary window of a cognitive CLI; and

verifying, by the computer using the trained artificial intelligence component, the set of CLI commands entered by a user while configuring the device in real time on a CLI of the cognitive CLI, wherein the trained artificial intelligence component detects typographical errors made by the user while entering the set of CLI commands in the CLI to configure the device and provides a correct CLI command or a correct sequence of CLI commands to the user while configuring the device via the summary window of the cognitive CLI in response to detecting the typographical errors.

16. The computer program product of claim 15 , further comprising:

receiving, by the computer, a login to the device from the user via the cognitive CLI displayed on a display of the computer;

starting, by the computer, a secure shell session with the device via the network using the cognitive CLI based on the login; and

retrieving, by the computer, using the cognitive CLI via the secure shell session with the device, device name, internet protocol address, model, and operating system version of the device.

17. The computer program product of claim 16 , further comprising:

searching, by the computer using the trained artificial intelligence component, the database of the computer for the device based on at least one of the device name and the internet protocol address of the device.

18. The computer program product of claim 17 , further comprising:

retrieving, by the computer using the trained artificial intelligence component, the set of CLI commands for configuring the device from the database of the computer based on the model and the operating system version of the device in response to the computer determining that the device was found in the database based on the searching.

19. The computer program product of claim 17 , further comprising:

searching, by the computer, external data sources for a reference set of CLI commands for configuring the device based on at least one of the device name, the internet protocol address, the model, and the operating system version of the device in response to the computer determining that the device was not found in the database of the computer based on the searching;

determining, by the computer, whether a reference set of CLI commands for configuring the device was found in at least one external data source; and

displaying, by the computer, the reference set of CLI commands within the summary window of the cognitive CLI to the user in response to the computer determining that the reference set of CLI commands for configuring the device was found in at least one external data source.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KYNDRYL, INC.
Reel/Frame 058213/0912 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 7, 2021
From: PHADTE, PRAVIN BERNARD; AMETOVSKI, NEDIN; O'BRIEN, STEPHEN; ROUTE, SARITHA; PERILLO, FRANCESCO
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 054839/0510 →
Cited By (1)
US 12,457,269