CN110191142A - It is a kind of can con current control computer system - Google Patents

It is a kind of can con current control computer system Download PDF

Info

Publication number
CN110191142A
CN110191142A CN201811020553.8A CN201811020553A CN110191142A CN 110191142 A CN110191142 A CN 110191142A CN 201811020553 A CN201811020553 A CN 201811020553A CN 110191142 A CN110191142 A CN 110191142A
Authority
CN
China
Prior art keywords
current control
target device
main frame
computer system
con current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811020553.8A
Other languages
Chinese (zh)
Inventor
陈鹏
张科
黄志翀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Orca Data Technology Xian Co Ltd
Original Assignee
Orca Data Technology Xian Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Orca Data Technology Xian Co Ltd filed Critical Orca Data Technology Xian Co Ltd
Priority to CN201811020553.8A priority Critical patent/CN110191142A/en
Publication of CN110191142A publication Critical patent/CN110191142A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention belongs to computer fields, specifically disclose it is a kind of can con current control computer system, it mainly include managing main frame and target device, management program and con current control software systems are stored in the managing main frame, multiple network connections between managing main frame and target device are established in the request that the con current control software systems can receive management program, managing main frame passes through the transmission control command that network connection can be concurrent to target device, executes control command by target device.Compared with prior art, the computer system, by running con current control software systems in managing main frame, multiple connections between managing main frame and target device are uniformly established by con current control software systems, concurrently send control command, the con current control of large computer system can be achieved, improve the efficiency of management and quality.

Description

It is a kind of can con current control computer system
[technical field]
The invention belongs to computer fields, and in particular to it is a kind of can con current control computer system.
[background technique]
Many host and equipment are run in one large-scale data center, including are permitted multiple servers, interchanger, routing Device stores equipment and power distribution and management equipment etc..The distributed computing system such as cloud meter of operation in the data center Calculation system, also there are many types for the equipment of distributed memory system.
When to carry out large scale test or long-range management to entire data center, need to be connected to part or institute simultaneously On some calculator room equipments, the All hosts for forming distributed system and equipment are uniformly controlled as an entirety.Such as it tests Personnel or system manager generally require to connect multiple host and equipment simultaneously, start simultaneously at and execute certain on a part of host Kind order;Start certain process on a part of host;Or the power supply of a part of host is disconnected suddenly;Or simultaneously switch off one The network connection etc. of part host.
Existing computer equipment often both provides certain means remotely controlled, such as SSH, TELNET, RSH, or Person's HTTP administration interface etc..But the connection type of every kind of equipment and mode of operation difference.Therefore tester can only often pass through Different administration interfaces logs in target device, manually performs order to it to complete to operate.Due to the quilt of large-scale distributed system It testing host and equipment is especially more, tester needs while managing many target devices, and this mode efficiency is very low, one It is difficult to complete.In addition, current technology is difficult to realize the accurate control under height complications due to the limitation of means of testing System.
[summary of the invention]
In view of the above-mentioned deficiencies in the prior art, it is an object of the present invention to provide it is a kind of can con current control computer system, institute Large-scale con current control can be realized to the equipment in system by stating computer system, improve the efficiency of management of large computer system And management quality.
The concrete meaning of involved " object " in the present invention are as follows: data structure, pair of Shell object, WinTarget type As referring to different types of data structure with the object of UxTarget type.
The concrete meaning of SSH are as follows: Secure Shell, to establish security protocol on the basis of application layer and transport layer.
The concrete meaning of RLOGIN are as follows: Telnet.
The concrete meaning of TELNET are as follows: Internet telnet Service Level Agreement.
The concrete meaning of HTTP are as follows: hypertext transfer protocol.
The concrete meaning of WMI are as follows: Windows administrative skill.
It is specific the technical scheme is that
It is a kind of can con current control computer system, the computer system includes at least one managing main frame and multiple mesh Marking device, the managing main frame and target device communication connection, the target device support at least one long-range way to manage.Institute State and be stored with management program and con current control software systems in managing main frame, the management program and con current control software systems by Managing main frame runs and executes following steps:
The managing main frame sends connection request to target device by supervisor call con current control software systems, and Return to implementing result;
Supervisor call con current control software systems establish multiple companies according to the implementing result and the target device Object is connect, and is that target device obtains a Shell object by each connecting object;
Command object is sent to the target by the Shell object by supervisor call con current control software systems Equipment;
Further, the command object is executed in the target device and modify the internal state of the command object Afterwards, further includes: the managing main frame passes through the implementing result that command object is performed described in command object inspection.
Further, the connecting object is one of SSH, RLOGIN, TELNET, HTTP or WMI or a variety of.
Further, the connecting object is SSH.
Further, the managing main frame is the computer for running " Linux " operating system.
Further, the managing main frame is the computer for running " Windows " operating system.
Further, the target device is server, router, interchanger, electric power source distribution device, smart phone, intelligence One of wrist-watch or PC machine are a variety of.
Compared with prior art, it is disclosed by the invention can con current control computer system, by being transported in managing main frame Row con current control software systems are uniformly established multiple companies between managing main frame and target device by con current control software systems It connects, controlling different types of target device with accordant interface keeps entire computer system unified, can pass through a management journey Sequence connects multiple target devices simultaneously, allows across the target execution of workflow, multiple target devices can coordinate synchronization, can be with Multiple connections are established in connection while realizing multiple target devices on each target device, reach the concurrent controllable of high scale System, managing main frame and target device are separately provided, and the two is mutually isolated to be independent of each other, and only need to add new target type can prop up New target device is held, makes system that there is good scalability.
[Detailed description of the invention]
Fig. 1 is that one kind provided in an embodiment of the present invention can concurrent controllable computer system.
Fig. 2 be one kind provided in an embodiment of the present invention can con current control computer system control flow chart.
[specific embodiment]
Clear and complete description is carried out to technical solution of the present invention below in conjunction with attached drawing.Obviously, described implementation Example is a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiment of the present invention, the common skill of this field Art personnel other embodiments obtained without making creative work, belong to protection scope of the present invention.
Referring to Figures 1 and 2, for one embodiment of the invention provide it is a kind of can con current control computer system and control stream Cheng Tu, the computer system include a managing main frame, and operation has operating system in managing main frame, and operating system is " Linux " Or " Windows ".Managing main frame is PC machine, laptop or server, and preferred managing main frame is operation " Linux " system The PC machine of system.System further includes multiple target devices, and target device is router, interchanger, server, electric power source distribution device, intelligence It can mobile phone, smartwatch and PC machine.Management program and con current control software systems are installed on computer.All computer equipments The same network is accessed, realizes communication connection.Target device supports SSH, RLOGIN, TELNET, HTTP, in WMI connection type It is one or more, above-mentioned connection type can be passed through and realize long-range management.Preferred selection SSH connection type, SSH connection speed Fastly, safety.
When managing main frame remote management computer and test macro, computer can be soft by management program and con current control Part system realizes following steps:
The managing main frame sends connection request to target device by supervisor call con current control software systems, and Return to implementing result.
Specifically, the management program is that user writes the user's script of installation in a computer, the con current control is soft Part system is a series of functions called for user's script, as shown in table 1.User sends connection request by user's script, The parameters such as IP address, username and password in connection request including destination host.User's script calls con current control software system Gettarget () function in system, the automatic type for detecting target device, and implementing result is returned to, such as target device is Windows computer then returns to the object of WinTarget type, and target device is UNIX computer, then returns to UxTarget class The object of type.It include the type and connection type of target device in implementing result, for example, the object of WinTarget type includes The type of Windows computer and long-range way to manage TELNET.
Supervisor call con current control software systems establish multiple companies according to the implementing result and the target device Object is connect, and is that target device obtains a Shell object by each connecting object;
Specifically, the implementing result for obtaining connection request is the type for obtaining target device and the connection class of target device Type, user's script call Target.newshell () function to establish multiple connecting objects for each target object, and are each Connecting object obtains a Shell object, as user's script can establish multiple SSH connecting objects and multiple TELNET for computer Connecting object, and a Shell object is obtained for each connecting object.
Command object is sent to the target by the Shell object by supervisor call con current control software systems Equipment;
Specifically, Shell object provides the window of an operation target device for user, Shell object includes order team Command object is pressed into command queue, background thread reading order team by the background thread of column and reading order queue, Shell object Command object in column is simultaneously sent to target device, due to establishing multiple connecting objects, obtains multiple Shell objects, institute Command object can be sent to target device simultaneously by multiple Shell objects with user's script, realize con current control.
The target device executes the command object and modifies the internal state of the command object;
Specifically, internal state includes the standard output part in command object implementing result, standard error part, order The parameters such as the short time consumption that return value and order execute.
Supervisor call con current control software systems pass through the execution that command object is performed described in command object inspection As a result;
Specifically, user's script calls Command.stdout () function in con current control software systems, obtains and execute As a result the standard output part in.Command.stderr () function is called, the standard error part in implementing result is obtained. Command.exit () function is called, the order return value in implementing result is obtained.Call Command.duration () letter Number obtains the short time consumption that order executes.
Table 1
Above-described embodiment is only used to illustrate the technical scheme of the present invention, rather than its limitations.The invention is not limited to upper Face has been described and the accurate structural illustrated in the accompanying drawings is, and it cannot be said that specific implementation of the invention is only limited to these instructions. For those of ordinary skill in the art to which the present invention belongs, without departing from the inventive concept of the premise, that makes is each Kind change and modification, all shall be regarded as belonging to protection scope of the present invention.

Claims (7)

1. one kind can con current control computer system, the computer system includes at least one managing main frame and multiple targets Equipment, the managing main frame and target device communication connection, the target device supports at least one long-range way to manage, special Sign is: management program and con current control software systems, the management program and con current control are stored in the managing main frame Software systems are run by managing main frame and execute following steps:
The managing main frame is returned by supervisor call con current control software systems transmission connection request to target device Implementing result;
Supervisor call con current control software systems establish multiple connections pair according to the implementing result and the target device As, and be that target device obtains a Shell object by each connecting object;
Command object is sent to the target by the Shell object and set by supervisor call con current control software systems It is standby;
The target device executes the command object and modifies the internal state of the command object.
2. computer system as described in claim 1, it is characterised in that: execute the command object simultaneously in the target device After the internal state for modifying the command object, further includes: supervisor call con current control software systems pass through command object The implementing result of command object is performed described in inspection.
3. computer system as claimed in claim 1 or 2, it is characterised in that: the connecting object be SSH, RLOGIN, One of TELNET, HTTP or WMI or a variety of.
4. computer system as claimed in claim 1 or 2, it is characterised in that: the connecting object is SSH.
5. computer system as claimed in claim 3, it is characterised in that: the managing main frame is operation " Linux " operation system The computer of system.
6. computer system as claimed in claim 3, it is characterised in that: the managing main frame is operation " Windows " operation The computer of system.
7. computer system as claimed in claim 4, it is characterised in that: the target device is server, router, exchange One of mechanical, electrical source distributor, smart phone, smartwatch or PC machine are a variety of.
CN201811020553.8A 2018-09-03 2018-09-03 It is a kind of can con current control computer system Pending CN110191142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811020553.8A CN110191142A (en) 2018-09-03 2018-09-03 It is a kind of can con current control computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811020553.8A CN110191142A (en) 2018-09-03 2018-09-03 It is a kind of can con current control computer system

Publications (1)

Publication Number Publication Date
CN110191142A true CN110191142A (en) 2019-08-30

Family

ID=67713480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811020553.8A Pending CN110191142A (en) 2018-09-03 2018-09-03 It is a kind of can con current control computer system

Country Status (1)

Country Link
CN (1) CN110191142A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582794A (en) * 2009-06-26 2009-11-18 西安电子科技大学 System and method for unified configuration of network equipment
US20100011206A1 (en) * 2008-07-14 2010-01-14 Ricoh Company, Ltd. Embedded apparatus, remote-processing method, and computer program product
CN102369713A (en) * 2011-08-29 2012-03-07 华为技术有限公司 Automatic removing method and device of system configuration items
CN103905231A (en) * 2012-12-26 2014-07-02 南京中兴力维软件有限公司 Method and device for unified management of device types
CN104394008A (en) * 2014-10-10 2015-03-04 广东电网有限责任公司电力科学研究院 A method for configuring uniformly different types of intelligent electronic devices and the system thereof
CN106301916A (en) * 2016-08-16 2017-01-04 北京北信源软件股份有限公司 A kind of multiple network equipment unifies collocation method
CN108023886A (en) * 2017-12-05 2018-05-11 中盈优创资讯科技有限公司 Equipment login management method, storage medium, protocol gateway and NM client

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100011206A1 (en) * 2008-07-14 2010-01-14 Ricoh Company, Ltd. Embedded apparatus, remote-processing method, and computer program product
CN101582794A (en) * 2009-06-26 2009-11-18 西安电子科技大学 System and method for unified configuration of network equipment
CN102369713A (en) * 2011-08-29 2012-03-07 华为技术有限公司 Automatic removing method and device of system configuration items
CN103905231A (en) * 2012-12-26 2014-07-02 南京中兴力维软件有限公司 Method and device for unified management of device types
CN104394008A (en) * 2014-10-10 2015-03-04 广东电网有限责任公司电力科学研究院 A method for configuring uniformly different types of intelligent electronic devices and the system thereof
CN106301916A (en) * 2016-08-16 2017-01-04 北京北信源软件股份有限公司 A kind of multiple network equipment unifies collocation method
CN108023886A (en) * 2017-12-05 2018-05-11 中盈优创资讯科技有限公司 Equipment login management method, storage medium, protocol gateway and NM client

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEIXIN_30552635: "Xshell同时向多个会话发送指令的方法", 《HTTPS://BLOG.CSDN.NET/WEIXIN_30552635/ARTICLE/DETAILS/95206740》 *
小花妹妹吖: "Xshell的安装及远程连接的操作方法(简易篇)", 《HTTPS://BLOG.CSDN.NET/WY_STAR1/ARTICLE/DETAILS/82228042》 *

Similar Documents

Publication Publication Date Title
US9967136B2 (en) System and method for policy-based smart placement for network function virtualization
CN115918139A (en) Active assurance of network slicing
US20210029000A1 (en) Remotely hosted management of network virtualization
CN110830357A (en) Multi-cloud virtual computing environment provisioning using advanced topology description
CN107534570A (en) Virtualize network function monitoring
CN104067202B (en) The methods, devices and systems that mouse synchronizes
CN104378218A (en) System and method for managing servers in cabinet
CN107547278B (en) Device and method for interfacing OpenStack with enterprise virtualization environment
CN111327692A (en) Model training method and device and cluster system
US20200021660A1 (en) Message bus agent apparatus, signaling server, message bus management server, connection establishment method, and program
CN110912731B (en) NFV-based system and method for realizing service identification and topology analysis by adopting DPI technology
CN107968816B (en) Method for building cloud platform by using mobile terminal
CN104363306A (en) Private cloud management control method for enterprise
CN110855739B (en) Container technology-based remote and heterogeneous resource unified management method and system
CN102970376A (en) Cluster configuration method and device
CN109194589A (en) A kind of MDC implementation method and device
CN103501295A (en) Virtual machine migration-based remote access method and equipment
US20220103415A1 (en) Remote network and cloud infrastructure management
CN110995504A (en) Micro-service node exception handling method, device and system
CN110764987A (en) Hardware equipment access method in network simulation test system based on virtualization technology
Yan et al. Open vSwitch Vxlan performance acceleration in cloud computing data center
CN110191142A (en) It is a kind of can con current control computer system
CN102801566A (en) Sever cluster unattended remote control
CN116319341A (en) Cloud sharing industrial control network safety shooting range system
US9804907B2 (en) Remote procedure call for a distributed system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190830

RJ01 Rejection of invention patent application after publication