Check patentability & draft patents in minutes with Patsnap Eureka AI!

Command execution method and device

A command execution and command technology, applied in the communication field, can solve problems such as low security and inability to achieve application isolation, and achieve the effect of improving security and facilitating application isolation

Active Publication Date: 2021-04-13
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This application provides a command execution method and device to solve the problem that in the prior art, the command line system is directly deployed on the host machine, although the host machine can be directly called commands in , but application isolation cannot be achieved, and the problem of low security

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
  • Command execution method and device
  • Command execution method and device
  • Command execution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The embodiments will be described in detail hereinafter, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following examples do not represent all implementations consistent with this application. These are merely examples of systems and methods consistent with aspects of the present application as recited in the claims.

[0046] see figure 1 , figure 1 It is a flow chart of a command execution method provided by the present invention, which is applied to the hostserver server in the host computer. Such as figure 1 shown, including the following steps:

[0047] Step 101, registering a session bus with the application container engine docker in the host machine.

[0048] Exemplarily, after the host machine is started, the hostserver server in t...

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

The invention provides a command execution method and device. The method comprises the following steps: registering a session bus between application container engine dockers in a host machine; verifying whether the target command and the parameter of the target command are tampered or not when the target command and the parameter of the target command in the session bus are monitored; when it is determined that the target command and the parameter of the target command are not tampered, detecting whether the target command and the parameter of the target command have execution permission or not; when it is detected that the target command and the parameters of the target command have the execution permission, executing the target command, and obtaining an execution result; and uploading the execution result to the session bus, so that the dockers obtain and display the execution result through the session bus. Thus, the command line can be deployed in the docker, application isolation is facilitated, and safety is improved.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a command execution method and device. Background technique [0002] The command line in the white box switch system is quite different from the traditional CISCO-like command line, and the cost for operation and maintenance personnel to be familiar with system commands is relatively high. In order to avoid mutual influence between different functions, especially to avoid system restarts or service restarts caused by function upgrades, the system will deploy different applications in multiple application container engines docker to ensure the independence of functions. In the prior art, the command line system is directly deployed on the host machine. Although the commands in the host machine can be directly invoked, application isolation cannot be achieved and the security is low. Contents of the invention [0003] This application provides a command exec...

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
IPC IPC(8): G06F9/455G06F21/44
CPCG06F9/45558G06F21/44G06F2009/45587
Inventor 丛戎
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More