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

A host device and a method for mutual trust operation based on pexpect

A host equipment, host technology, applied in transmission systems, electrical components and other directions, can solve the problems of wasting time and manpower, reducing work efficiency and so on

Inactive Publication Date: 2021-11-23
COMBA TELECOM SYST CHINA LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a host device and a method for mutual trust operation based on Pexpect, which is used to solve the problem of wasting unnecessary time and manpower and reducing work efficiency in the existing method of switching commands back and forth between different hosts and operating them. question

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
  • A host device and a method for mutual trust operation based on pexpect
  • A host device and a method for mutual trust operation based on pexpect
  • A host device and a method for mutual trust operation based on pexpect

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0082] An embodiment of the present invention provides a method for a host device to perform mutual trust operations based on Pexpect, such as figure 1 shown, including:

[0083] Step S101, determining at least one mutual trust peer host that needs to establish a mutual trust relationship with itself;

[0084] Host mutual trust refers to mutual trust between host devices. When logging in from one host device to another, authentication is often required, and a password is required to allow login to another host device. During project development, multiple servers are involved, and project members need to log in to other host devices from time to time to perform project operations. In this way, when switching back and forth between multiple host devices to log in, it is necessary to frequently enter passwords and repeat operations Unnecessary time is wasted, and after mutual trust is achieved between multiple host devices, you can directly log in to other host devices for opera...

Embodiment 2

[0099] An embodiment of the present invention provides a method for a host device to perform mutual trust operation based on Pexpect, such as figure 2 shown, including:

[0100] Step S201, determining at least one peer host that needs to release the mutual trust relationship with itself;

[0101] Host mutual trust release is to release the mutual trust relationship between host devices. After mutual trust between multiple host devices is achieved, you can directly log in to other host devices for operations without entering a password. In actual work, it may be possible to realize mutual trust for some machines due to individual projects, but at the end of the project, it is necessary to ensure the security of these servers, and other personnel except managers are not allowed to log in to this machine at will. At this time, mutual trust needs to be realized Operation, when you log in from one host device to another host device after unlocking the mutual trust, it becomes the...

Embodiment 3

[0111] A method for a host device to perform mutual trust operation based on Pexpect in the present invention has been described above, and the above host device will be described below.

[0112] see image 3 , an embodiment of the present invention provides a host device, including:

[0113] A mutual trust confirmation module, configured to determine at least one mutual trust peer host that needs to establish a mutual trust relationship with itself;

[0114] The login module is used to execute the first part in the first automation script based on Pexpect, log in to each mutual trust peer host through the remote login protocol, and copy the second automation script based on Pexpect to each mutual trust peer host;

[0115] The mutual trust establishment module is used to execute the second part of the first automation script, and interact with the commands returned by each mutual trust peer host executing the second automation script through the command interaction protocol 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 present invention provides a host device and a method for performing mutual trust operations based on Pexpect. The host device includes: determining at least one mutual trust peer host that needs to establish a mutual trust relationship with itself; executing the first part of the first automation script based on Pexpect, through remote The login protocol logs in to each mutual trust peer host, and copies the second automation script based on Pexpect to each mutual trust peer host; executes the second part in the first automation script, and executes with each mutual trust peer host through the command interaction protocol The command interaction returned by the second automation script completes the mutual trust operation. The host equipment provided by the present invention and the method for mutual trust operation based on Pexpect can complete the mutual trust function of multiple hosts in the address pool, and solve the unnecessary waste of the execution and operation of switching commands between different hosts in the existing work. Time and manpower, reducing work efficiency.

Description

technical field [0001] The invention relates to the field of mutual trust between cloud hosts, in particular to a host device and a method for performing mutual trust operations based on Pexpect. Background technique [0002] In daily development work, multiple servers are involved, and each server has its corresponding requirements and functions. Project members will log in to other machines from time to time, or change versions, or copy files. In the whole process, it is necessary to SSH (Secure Shell, Secure Shell Protocol) to other servers, enter the password, enter the target machine and perform various operations. It does not take long for one operation, but all project members spend a day The accumulation of workload takes a long time. If this part of time is saved, more working time can be saved over the years. [0003] Now the cloud platform is more and more widely used. For each project function, N hosts can be established in the cloud platform for corresponding o...

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 Patents(China)
IPC IPC(8): H04L29/06H04L29/08
CPCH04L63/0815H04L63/168H04L67/08H04L67/34
Inventor 赵佳瑶林超智吴娟陈芳黄强
Owner COMBA TELECOM SYST CHINA 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