Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for processing computer Shell command

A computer and computer program technology, applied in the field of embedded development, can solve the problems of heavy workload, not supporting the Linux kernel, and unable to carry the Linux system, etc., to achieve a simple effect

Inactive Publication Date: 2018-03-30
HISENSE VISUAL TECH CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Shell commands are usually implemented in the Linux system and require the support of the Linux kernel, and the developed Shell commands need to be installed, that is, corresponding installation packages need to be developed, whether it is a personal computer (Personal Computer, PC) application or an embedded Linux Shell, This is the case, the development workload is heavy, and it involves Linux kernel calls, which makes the system complicated
[0004] For small chips, it is usually unable to carry the Linux system, so small chips generally use a real-time operating system (Real Time Operating System, RTOS). Realize the processing of Shell commands

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
  • Method and apparatus for processing computer Shell command
  • Method and apparatus for processing computer Shell command
  • Method and apparatus for processing computer Shell command

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0034] figure 1 It is a schematic diagram of the system for processing Shell commands of the present invention, such as figure 1 As shown, the system includes a small chip 1 and peripherals 2, wherein the small chip 1 may include a microprocessor, a power supply module, a system clock, a reset module, a hard disk (Flash), RAM and ROM, etc., wherein the microprocessor It can be a central processing unit (Central Processing Unit, CPU). The small chip 1 ...

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

Embodiments of the invention provide a method and an apparatus for processing a computer Shell command. The method for processing the computer Shell command comprises the steps of obtaining the Shellcommand; according to the Shell command, searching for an executive function corresponding to the Shell command in a preset mapping table; and calling the executive function corresponding to the Shellcommand, wherein the preset mapping table comprises a corresponding relationship between the Shell command and the executive function. The Shell command can be processed; for example, the Shell command is processed in a real-time operation system; the executive function corresponding to the Shell command is determined according to the preset mapping table; system files do not need to be installedand called; the realization is simple and convenient; a small chip also can use the Shell command to realize program fault debugging; and the method and the apparatus are suitable to test different software projects.

Description

technical field [0001] The embodiment of the present invention relates to embedded development technology, in particular to a method and device for processing shell commands of a computer. Background technique [0002] As a command language, the computer shell (Shell) interactively interprets and executes commands entered by users, or automatically interprets and executes a series of preset commands. [0003] Shell commands are usually implemented in the Linux system and require the support of the Linux kernel, and the developed Shell commands need to be installed, that is, corresponding installation packages need to be developed, whether it is a personal computer (Personal Computer, PC) application or an embedded Linux Shell, This is the case, the development workload is heavy, and it involves calling the Linux kernel, which makes the system complicated. [0004] For small chips, it is usually unable to carry the Linux system, so small chips generally use a real-time opera...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45512
Inventor 周导曾小光王萧
Owner HISENSE VISUAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products