A method for one-key shutdown of multiple computers in a heterogeneous system

By deploying a central control server and client control software in a heterogeneous system, and utilizing MQTT and TCP/IP protocols to achieve cross-platform one-click shutdown, the problem of complexity and inefficiency in managing multiple computers in heterogeneous systems is solved, and efficient and secure unified shutdown operation is achieved.

CN119847614BActive Publication Date: 2025-11-21BEIJING BEIHANG TIANYU ZHANGYING UAV TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411760824.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-11-21
Estimated Expiration
2044-12-03

AI Technical Summary

Technical Problem

When managing multiple computers in a heterogeneous system, existing technologies require executing shutdown commands for different operating systems separately, resulting in complex management, low efficiency, and the inability to achieve one-click shutdown under certain site limitations.

Method used

Deploy a central control server and client control software in a network environment to achieve unified management across platforms through the MQTT protocol and TCP/IP interface. Use the central control server to send shutdown commands to clients and perform status checks before shutdown to ensure safety and reliability.

Benefits of technology

It enables one-click shutdown of multiple computers in a heterogeneous system, simplifies management processes, improves efficiency, reduces maintenance costs, reduces the risk of errors, and ensures the safety and reliability of the shutdown process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847614B_ABST
    Figure CN119847614B_ABST
Patent Text Reader

Abstract

The application relates to a method for solving the one-key shutdown of multiple computers in a heterogeneous system, and solves the problems of management complexity and low efficiency in the prior art. A central control server is arranged in a network environment, a set of central control services and a set of message queue services are arranged in the server, client control software is arranged on each client computer, an administrator or operator sends a one-key shutdown instruction on the client computer with the one-key shutdown control right, the central control service sends the shutdown instruction to each client computer in the network environment after receiving the shutdown instruction, each client computer receives the shutdown instruction, performs self-state detection, feeds back a shutdown confirmation instruction to the central control service after meeting the shutdown condition, and executes self-shutdown of the client computer, the central control service receives the shutdown confirmation instructions of all the clients, completes self-shutdown, and realizes the unified shutdown operation of multiple computers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method for one-click shutdown of multiple computers in heterogeneous systems, and particularly to a method for one-click shutdown of multiple computers in heterogeneous systems (Linux and Windows systems) in the field of computer management and automated operation and maintenance technology. Background Technology

[0002] With the development and application of information technology, enterprises, schools, research institutions, and various organizations typically deploy a large number of computers running different operating systems, forming heterogeneous systems such as Linux and Windows. Centralized management of these heterogeneous systems, especially unified shutdown procedures, has become an increasingly important task.

[0003] In Windows operating systems, administrators can shut down devices directly through the shutdown option in the Start menu or using command-line tools. For example, the command `shutdown -st 0` (where `-s` means shutdown, `-t 0` means immediate execution with a 0-second interval) can be used. In Linux systems, the command `shutdown -h now` can be used (where `-h` means stop the system, `now` means immediate execution). These commands send signals to the hardware, systematically stopping running processes and services, and ultimately cutting off power. However, having administrators execute different commands for different operating systems leads to complex management, inefficiency, and a high risk of omissions or errors. Furthermore, in some cases, computers or servers need to be installed in server racks, and due to space limitations, direct access to the computers is inconvenient. In such situations, administrators cannot use different shutdown commands to shut down different operating system computers.

[0004] Currently, although there are some remote control and management tools on the market, most of them can only be used in a single operating system environment, which brings great inconvenience to system management.

[0005] Therefore, there is an urgent need for a solution that can support one-click shutdown of multiple computers in heterogeneous systems to simplify management processes and improve management efficiency. Summary of the Invention

[0006] The purpose of this invention is to provide a method for one-click shutdown of multiple computers in a heterogeneous system. This method enables unified management of multiple computers across platforms and allows for one-click remote shutdown, thereby solving the problems of complex management and low efficiency in the prior art.

[0007] This invention is achieved through the following technical solutions:

[0008] A method for one-click shutdown of multiple computers in a heterogeneous system includes the following steps:

[0009] 1) Deployment of Linux system (server)

[0010] Deploy a central control server in the network environment, running a Linux operating system. The central control server deploys a central control service and a message queue service, responsible for sending shutdown commands to all registered clients and recording operation logs.

[0011] 2) Installation and configuration of client computers

[0012] Install one-click shutdown client control software on the client computer (Windows system) in the network environment, set the shutdown delay time and permission settings through the configuration file, and set the software to start automatically upon power-on.

[0013] 3) Power-on startup of Linux system (server)

[0014] After the central control server is powered on and started, the message queue service starts, followed by the central control service, which completes the connection and test communication with the message queue service. After the communication is normal, the central control service opens the network interface and waits for the client control software to issue a switch command.

[0015] 4) Power-on startup of multiple client computers

[0016] After multiple client computers are powered on and started, the one-click shutdown client control software on each computer automatically starts, registers with the message queue service in the central control server via the MQTT protocol, and establishes a unique communication channel with the message queue service. Client control software with one-click shutdown operation permission is in an active state and can be double-clicked to trigger the one-click shutdown command. Client control software without one-click shutdown operation permission is grayed out and only has the function of receiving shutdown commands and performing self-shutdown operations.

[0017] 5) Perform one-key operation

[0018] On a client computer with one-click shutdown control permissions, an administrator or operator double-clicks the button in the client control software. The client control software then sends a one-click shutdown command to the central control server via a TCP / IP interface. Upon receiving the shutdown command, the central control server's central control service sends a shutdown command to the message queue service, which then transmits the shutdown command to each client computer in the network environment via message pipes. Each client computer, upon receiving the shutdown command, performs a self-state check to ensure a safe and reliable shutdown process. If the shutdown conditions are met, it sends a confirmation shutdown command back to the central control service via a TCP / IP interface. Finally, after waiting for a preset shutdown delay, the client computer executes its own shutdown operation. The central control service completes its own shutdown upon receiving confirmation commands from each client computer.

[0019] A method for one-click shutdown of multiple computers in a heterogeneous system is applied to an unmanned aerial vehicle (UAV) command and control center system. This system is a typical heterogeneous system, with background processing services and front-end programs deployed on Linux, while streaming computers, access computers, and all station computers run Windows. The server, streaming computer, and access computer are installed in a server rack, and the station computers are installed at the operator's workstation. The specific implementation process is as follows:

[0020] 1) First, deploy a central control service and a message queue service on the server;

[0021] 2) Secondly, install client control software on the access computer, streaming computer, and each seat computer, and set the software to start automatically upon power-on. Through configuration file settings, one of the seat computers can be given one-click shutdown control. At the same time, the configuration file can be used to freely configure the delay time of each seat computer after receiving the shutdown command.

[0022] 3) After the UAV system is powered on, the server and the host computer are powered on in sequence. The central control service and message queue service in the server are started, and the two services complete the connection and test communication. After the communication is normal, the central control service opens the network interface and waits for the client control software to issue the switch command. The one-click shutdown client control software on each host computer is started, registers with the message queue service in the server through the MQTT protocol, and establishes a unique communication channel with the message queue service.

[0023] 4) Perform flight monitoring tasks;

[0024] 5) After this mission is completed, the drone system needs to be shut down. At this time, the computer operator with one-click shutdown control authority only needs to double-click the one-click shutdown client software button, and all Windows computers and Linux servers in the control network will shut down one by one.

[0025] The beneficial effects of this invention are:

[0026] 1) High efficiency and convenience

[0027] The implementation scheme of this invention simplifies the process of managing multi-platform devices, making shutdown operations simpler and more efficient, and reducing operation and maintenance costs.

[0028] 2) Cross-platform support

[0029] This invention enables unified management of Linux and Windows computers in heterogeneous systems, allowing for one-click shutdown and significantly reducing the workload and error risk for administrators.

[0030] 3) Safe and reliable

[0031] Perform a status check before shutting down to ensure the safety and reliability of the shutdown process and avoid data loss or system damage due to unexpected situations. Attached Figure Description

[0032] Figure 1 This is a design diagram of the method of the present invention;

[0033] Figure 2 This is a flowchart of the one-click shutdown operation;

[0034] Figure 3 This is a diagram of the one-click shutdown deployment scheme for the unmanned aerial vehicle (UAV) system command and control center. Detailed Implementation

[0035] This invention provides a method for one-click shutdown of multiple computers in a heterogeneous system. The design scheme of this invention is as follows: Figure 1 As shown, a central control service and a message queue service are deployed on a Linux server in a heterogeneous system, and client control software is installed on a Windows system computer. After the entire system is powered on, all services and control software are set to start automatically, and all client control software establishes a communication connection with the central control service.

[0036] The flowchart of the one-button shutdown operation of this invention is as follows: Figure 2As shown, on a client computer with one-click shutdown control permissions, an administrator or operator double-clicks the button on the client control software. The client control software then sends a one-click shutdown command to the central control server via the TCP / IP interface. Upon receiving the shutdown command, the central control server sends a shutdown command to the message queue service, which then transmits the shutdown command to each client computer in the network environment via message pipes. Each client computer, upon receiving the shutdown command, performs a self-state check to ensure the shutdown process is safe and reliable. If the shutdown conditions are met, it sends a confirmation shutdown command back to the central control service. Finally, it waits for a preset shutdown delay time (n1 seconds, n2 seconds, and n3 seconds are all freely configurable shutdown delay times) to elapse before executing its own shutdown operation. The central control service, upon receiving the shutdown confirmation commands from each client, completes its own shutdown, ensuring that all computers in the network environment have completed the shutdown operation.

[0037] like Figure 3 As shown, the UAV command and control center system is a typical heterogeneous system. The backend processing services and frontend programs are deployed on a Linux system, while the streaming computer, access computer, and all workstation computers run on Windows. The servers, streaming computer, and access computer are installed in a rack, and the workstation computers are installed at the operator's workstation. The rack is located behind the integrated display screen, in a confined space that prevents personnel from accessing it for computer-related operations.

[0038] The specific implementation process of this invention in the UAV command and control center system is as follows:

[0039] 1) First, deploy a central control service and a message queue service on the server;

[0040] 2) Secondly, install client control software on the access computer, streaming computer, and each seat computer, and set the software to start automatically upon power-on. Through configuration files, one seat computer can be given one-click shutdown control; simultaneously, the configuration files can be used to freely configure the shutdown delay time for each seat computer upon receiving a shutdown command.

[0041] 3) After the UAV system is powered on, the server and the host computer are powered on in sequence. The central control service and message queue service in the server are started, and the two services complete the connection and test communication. After the communication is normal, the central control service opens the network interface and waits for the client control software to issue the switch command. The one-click shutdown client control software on each host computer is started, registers with the message queue service in the server through the MQTT protocol, and establishes a unique communication channel with the message queue service.

[0042] 4) Perform flight monitoring tasks;

[0043] 5) After this mission is completed, the drone system needs to be shut down. At this time, the computer operator with one-click shutdown control authority only needs to double-click the one-click shutdown client software button, and all Windows computers and Linux servers in the control network will shut down one by one.

Claims

1. A method for one-click shutdown of multiple computers in a heterogeneous system, characterized in that: One or more central control servers are deployed in a network environment. Each server hosts a central control service and a message queue service. Client control software is installed on each client computer, and configuration settings allow specifying whether the client computer has one-click shutdown control permissions and the shutdown delay time. Upon server startup, the message queue service and central control service start. Each client computer powers on, and the client control software starts automatically. On a client computer with one-click shutdown control permissions, the administrator or operator double-clicks the button in the client control software to send a one-click shutdown command. Upon receiving the shutdown command, the central control service sends a shutdown command to the message queue service, which then transmits the command through message channels to each client computer in the network environment. Each client computer, upon receiving the shutdown command, ensures a safe and reliable shutdown process by first performing a self-check. If the shutdown conditions are met, the client computer sends a confirmation shutdown command back to the central control service. Finally, after waiting for the preset shutdown delay time, the client computer executes its own shutdown operation. The central control service receives confirmation shutdown commands from each client computer and completes its own shutdown, thus achieving unified shutdown operations across multiple computers.

2. The method for one-click shutdown of multiple computers in a heterogeneous system according to claim 1, characterized in that: After the client control software starts up, it automatically registers with the message queue service in the central control server via the MQTT protocol and establishes a unique communication channel with the message queue service. If the registration between the client control software and the message queue service fails, it will re-register after a certain period of time. This process is repeated until the registration is successful and the communication channel is established.

3. The method for one-click shutdown of multiple computers in a heterogeneous system according to claim 1, characterized in that: The single-client control software communicates with the central control server's central control service via TCP / IP protocol when issuing shutdown commands and confirming shutdown commands, ensuring the security and reliability of the commands.

4. The method for one-click shutdown of multiple computers in a heterogeneous system according to claim 1, characterized in that: After each client computer receives the shutdown command from the pipe established with the message queue service during its initialization, it first performs a self-state check to ensure the safety and reliability of the shutdown process. If the shutdown conditions are met, it sends a confirmation shutdown command back to the central control service.

5. The method for one-click shutdown of multiple computers in a heterogeneous system according to claim 1, characterized in that: Each client computer receives the shutdown command and performs its own status check. If the shutdown conditions are met, it waits for n seconds before performing its own shutdown operation. The n seconds is the delayed shutdown time preset by the user through the configuration file and can be set freely.

6. The method for one-click shutdown of multiple computers in a heterogeneous system according to claim 1, characterized in that: The method is applied to a drone command and control center system, which is a typical heterogeneous system. The background processing service and front-end program are deployed on a Linux system, while the streaming computer, access computer, and all station computers are Windows systems. The server, streaming computer, and access computer are installed in a rack, and the station computers are installed at the operator's workstation. The specific implementation process is as follows: 1) First, deploy a central control service and a message queue service on the server; 2) Secondly, install client control software on the access computer, streaming computer, and each seat computer, and set the software to start automatically upon power-on. Through configuration file settings, one of the seat computers can be given one-click shutdown control. At the same time, the configuration file can be used to freely configure the delay time of each seat computer after receiving the shutdown command. 3) After the UAV system is powered on, the server and the host computer are powered on in sequence. The central control service and message queue service in the server are started, and the two services complete the connection and test communication. After the communication is normal, the central control service opens the network interface and waits for the client control software to issue the switch command. The one-click shutdown client control software on each host computer is started, registers with the message queue service in the server through the MQTT protocol, and establishes a unique communication channel with the message queue service. 4) Perform flight monitoring tasks; 5) After this mission is completed, the drone system needs to be shut down. At this time, the computer operator with one-click shutdown control authority only needs to double-click the button on the one-click shutdown client control software, and all Windows computers and Linux servers on the network will be shut down one by one.

Citation Information

Patent Citations

  • Method and system for remote centralized shutdown

    CN101610159A

  • Shutdown control method

    CN116709475A