Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for automatic remote execution of windows program

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

Active Publication Date: 2022-03-08
CHENGDU DBAPP SECURITY
View PDF9 Cites 0 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
  • A method for automatic remote execution of windows program
  • A method for automatic remote execution of windows program
  • A method for automatic remote execution of 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, mapping a local file directory to a server through a Windows remote desktop protocol channel, and executing a Windows program or a Windows built-in program in the mapped file directory; batch, automatic, and periodic login through a script The Windows server executes the target program and outputs the program execution result. The present invention creates a script for each task to log in to different Windows servers to execute the tasks in the script, and if the task needs to be changed, only the content of the script needs to be modified to quickly adapt to the change of task requirements and automatically execute the operation and maintenance operation , reduce manual interaction, improve the efficiency of operation and maintenance work, complete the operation and maintenance effect of the ideal Linux server, log in to the Windows server in batches, automatically, and periodically through scripts to execute the target program, and achieve the purpose of operation and maintenance.

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 Patents(China)
IPC IPC(8): G06F9/451G06F9/455G06F11/30H04L67/131
Inventor 熊利霞范渊吴永越郑学新刘韬
Owner CHENGDU DBAPP SECURITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products