Method for automatically and remotely executing Windows program

A remote execution and program technology, applied in Windows remote and operation and maintenance fields, can solve the problems of prone to errors, increase the burden of operation and maintenance personnel, and unfavorable centralized management of operation and maintenance methods, so as to reduce manual interaction and improve the efficiency of operation and maintenance work. Effect

Active Publication Date: 2019-06-07
CHENGDU DBAPP SECURITY
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Therefore, the operation and maintenance mode under the Windows server is not conducive to centralized management, and the work efficiency is low. If the task is changed, you need to log in to each machine one by one to modify it. A large number of repetitive operations increase the burden on the operation and maintenance personnel, and manual Uncontrollable operation, prone to errors

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 for automatically and remotely executing Windows program
  • Method for automatically and remotely executing Windows program
  • Method for automatically and remotely executing Windows program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] The present invention is realized through the following technical solutions, as Figure 1-Figure 3 As shown, a method for automatically executing Windows programs remotely, maps local file directories to the server through the Windows Remote Desktop Protocol channel, and executes Windows programs or Windows built-in programs in the mapped file directory; batch, automatic, and periodic login to Windows through scripts The server executes the target program and outputs the program execution result.

[0047] It should be noted that, through the above improvements, the present invention proposes a method for automatically and remotely executing Windows programs. When operating and maintaining a large number of Windows servers, the operation and maintenance personnel can create a script for each task to log in to different Windows servers. Executing the tasks in the script greatly improves the efficiency of Windows server operation and maintenance. The operation and maintena...

Embodiment 2

[0059] This embodiment is further optimized on the basis of the above embodiments, such as Figure 1-Figure 3 As shown, it specifically includes the following steps:

[0060] Step F1: The program loader initializes the operating environment, starts the EXEC engine, and transfers the parameters required for Windows program execution to the EXEC engine;

[0061] Step F2: The EXEC engine client connects to the target server through the RDP channel, and after successful login, maps the local file directory to the Windows server, and starts the EXEC engine server;

[0062] Step F3: The EXEC engine server starts the Windows program that needs to be executed, and monitors the running status of the Windows program; if an exception occurs, return to step F1, and if it runs normally, proceed to the next step;

[0063] Step F4: The program parser obtains the execution output of the Windows program, and cleans up the execution environment.

[0064] It should be noted that, through the a...

Embodiment 3

[0068] This embodiment is further optimized on the basis of the above embodiments, such as Figure 1-Figure 2 As shown, the step F1 specifically includes the following steps:

[0069] Step F11: the program loader creates a local file directory, and puts the Windows program and the files required to start the Windows program into the directory;

[0070] Step F12: The program loader invokes the EXEC engine, and passes the target host IP, login credentials, and Windows programs to be executed as parameters into the EXEC engine.

[0071] It should be noted that, through the above improvements, the program loader first creates a local file directory, and puts the Windows program to be executed and the files required to start the Windows program into the directory. The program loader calls the EXEC engine, puts the IP of the Windows server, login credentials, and the Windows program to be executed as parameters into the file directory, and passes them into the EXEC engine.

[0072...

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 discloses a method for automatically and remotely executing a Windows program, which comprises the following steps of: mapping a local file directory to a server through a Windows remotedesktop protocol channel, and executing the Windows program or a Windows built-in program in the mapped file directory; and automatically and periodically logging in the Windows server in batches through scripts to execute the target program, and outputting a program execution result. According to the method, a script is created for each task and is used for logging in different Windows servers to execute the tasks in the scripts; and if the task needs to be altered, the change of task requirements can be quickly adapted only by modifying script content, the operation and maintenance operation is automatically executed, the manual interaction is reduced, the operation and maintenance work efficiency is improved, the operation and maintenance effect of the ideal Linux server is completed,the Windows server is logged in automatically and periodically through scripts in batches to execute target programs, and the purpose of operation and maintenance is achieved.

Description

technical field [0001] The invention relates to the technical field of Windows remote and operation and maintenance, specifically, a method for automatically and remotely executing Windows programs. Background technique [0002] In the operation and maintenance work, the operation and maintenance personnel manage a large number of hosts, and generally need to perform some of the same daily operation and maintenance tasks on a batch of hosts on a regular basis. For the operation and maintenance of Linux hosts, the operation and maintenance personnel can create scripts locally to automatically execute tasks in batches periodically through the SSH channel. At present, there are roughly two methods for batch operation and maintenance of Windows servers: [0003] 1. It is necessary to manually log in to the Windows server for GUI interaction; [0004] 2. The task plan provided by the Windows server needs to log in to all servers to create the task plan, and when the task needs ...

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/451G06F9/455G06F11/30H04L29/06
Inventor 熊利霞范渊吴永越郑学新刘韬
Owner CHENGDU DBAPP SECURITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products