Command-Line Interface Display Segmentation for Prompt Clutter Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Command-line interfaces (CLI) are cumbersome due to the display of execution results and prompt information simultaneously, leading to low display simplicity.

Innovation Solution

A CLI displaying method and apparatus that processes command strings by receiving typed characters, determining if they are preset execution characters, and updating command strings by obtaining matching word sets from a database, deleting characters from the prompt information area, and displaying processed information, thereby simplifying the CLI content.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the CLI displays both execution results and prompt information simultaneously, then the CLI provides complete information feedback, but the display becomes cumbersome and simplicity is reduced

Engineering Contradiction:
Improveinformation feedback completenessVSAvoiddisplay simplicity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the CLI display into two distinct areas: a command line displaying area for showing commands and a prompt information displaying area for showing prompt information and execution results. This segmentation allows the system to maintain complete information feedback while improving display organization and simplicity by separating different types of information into dedicated display zones.

Inventive Principle:
Principle #1Segmentation

2Ease of operation

If the CLI displays all prompt information during command typing, then the user has access to matching words, but the display area becomes cluttered with redundant content

Engineering Contradiction:
Improvecommand input assistanceVSAvoiddisplay content volume
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent extracts prompt information from the general display area and places it specifically in the prompt information displaying area. When the user types a command, only the relevant prompt information (matching words) is extracted and displayed in this dedicated area, rather than showing all possible prompt information throughout the entire CLI interface. This reduces display clutter while maintaining ease of operation.

Inventive Principle:
Principle #2Taking out (Extraction)

3Ease of manufacture

If the CLI shows both command line and prompt information in the same area, then the interface is simple to implement, but the displayed content becomes cumbersome and hard to distinguish

Engineering Contradiction:
Improveinterface implementation simplicityVSAvoiddisplay content organization
Core Design Contradiction:
Ease of manufactureVSDevice complexity

Solution Approach 1:

The patent segments the display area into distinct zones: a command line displaying area and a prompt information displaying area. This segmentation can be implemented through straightforward software rendering logic that directs different types of content to different display regions, maintaining ease of implementation while significantly improving display content organization and distinguishability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by giving different display areas different functions and visual characteristics. The command line displaying area is optimized for showing commands, while the prompt information displaying area is optimized for showing prompt information. This localized optimization allows each area to be implemented with appropriate simplicity while the overall system achieves excellent content organization.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11048339B2Command-line interface displaying method and apparatus
Publication Date: 2021.06.29 HUAWEI TECH CO LTD
  • US11048339B2 patent drawing
  • US11048339B2 patent drawing
  • US11048339B2 patent drawing

AI summary

A command-line interface (CLI) displaying method includes receiving a typed character, determining whether a character is displayed in a prompt information displaying area, deleting the character displayed in the prompt information displaying area when the character is displayed in the prompt information displaying area, and displaying information obtained by processing a command string currently displayed in a command line displaying area in the prompt information displaying area.