CN112711456A - Agent login method and device of operation and maintenance tool and computer equipment - Google Patents
Agent login method and device of operation and maintenance tool and computer equipment Download PDFInfo
- Publication number
- CN112711456A CN112711456A CN202011643540.3A CN202011643540A CN112711456A CN 112711456 A CN112711456 A CN 112711456A CN 202011643540 A CN202011643540 A CN 202011643540A CN 112711456 A CN112711456 A CN 112711456A
- Authority
- CN
- China
- Prior art keywords
- maintenance
- target operation
- maintenance tool
- login
- information
- 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.)
- Granted
Links
- 238000012423 maintenance Methods 0.000 title claims abstract description 340
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000015654 memory Effects 0.000 claims description 19
- 238000012544 monitoring process Methods 0.000 claims description 14
- 238000003860 storage Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 3
- 238000005429 filling process Methods 0.000 abstract description 9
- 230000006870 function Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a proxy login method, a proxy login device and computer equipment of an operation and maintenance tool, which are applied to an operation and maintenance terminal, wherein the method comprises the following steps: when a use request of a target operation and maintenance tool is received, a virtual desktop is created; loading the application program of the target operation and maintenance tool to the virtual desktop, and displaying a login interface of the target operation and maintenance tool on the virtual desktop; acquiring login information of the target operation and maintenance tool; and filling the login information of the target operation and maintenance tool in an information frame of a login interface of the target operation and maintenance tool, and logging in the target operation and maintenance tool. The login interface of the operation and maintenance tool is displayed on the virtual desktop to log in the operation and maintenance tool, and the operation and maintenance tool is separated from the current operation interface of the operation and maintenance personnel, so that the replacement and filling process of the login information of the operation and maintenance tool is not influenced by the operation of the operation and maintenance personnel, and the reliability of the operation and maintenance system is improved.
Description
Technical Field
The invention relates to the technical field of operation and maintenance management, in particular to a proxy login method and device of an operation and maintenance tool and computer equipment.
Background
With the development of informatization, the IT system of an enterprise and public institution is continuously developed, the network scale is rapidly enlarged, the quantity of network equipment and host equipment is increased rapidly, the construction key points gradually change from the construction of a network platform to the operation and maintenance stage characterized by deepening application and improving benefits, and the operation and maintenance of the IT system and the safety management gradually merge. The normal operation of the information system is directly related to the safety production and economic benefit of enterprises, so that the construction of a robust IT operation and maintenance safety management system is crucial to the development of enterprise informatization, and provides higher requirements for the safety of operation and maintenance.
At present, one operation and maintenance person manages a plurality of devices, and the operation and maintenance person needs to record a plurality of sets of passwords and switch between a plurality of sets of host systems and network devices. Under the condition, operation and maintenance personnel need to log in related equipment one by one for simple configuration, the workload is large, and the working efficiency is low. Therefore, it is necessary to centrally manage the account information of the device, and when the device needs operation, the operation and maintenance personnel only need to log in their own account, and the operation and maintenance system uses the internally managed account information instead of logging in the device, thereby simplifying the workload of the operation and maintenance personnel.
In the related art, the proxy login process generally implements automatic login in a pure background manner through a standard remote login protocol (e.g., RDP, VNC, SSH, etc.), and does not require the participation of operation and maintenance personnel, thereby effectively ensuring the account security of the device. However, in the actual operation and maintenance process, many operation and maintenance tools (for example, a database, DB middleware, etc.) exist, and remote login can be realized only by inputting login information through an interface of a dedicated tool. Under the scene, the interface of the operation and maintenance tool can be dynamically monitored only by the operation and maintenance terminal, and the account information is replaced and filled by simulating the mouse and keyboard operation of the operation and maintenance personnel, so that the safety of the target account is guaranteed. However, in the conventional login information replacement and filling process, because the interface and the operation interface of the operation and maintenance personnel are on the same visual interface, the replacement and filling process is easily affected by the operation of the operation and maintenance personnel, so that the replacement and filling process cannot be completed smoothly, and the operation and maintenance work is affected.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect that the replacement and filling process cannot be successfully completed because the replacement and filling process is easily affected by the operation of the operation and maintenance personnel when the operation and maintenance tool logs in the replacement and filling interface and the operation interface of the operation and maintenance personnel are in the same visual interface in the prior art, thereby providing a method, an apparatus and a computer device for proxy login of an operation and maintenance tool.
According to a first aspect, the invention discloses an agent login method of an operation and maintenance tool, which is applied to an operation and maintenance terminal and comprises the following steps: when a use request of a target operation and maintenance tool is received, a virtual desktop is created; loading the application program of the target operation and maintenance tool to the virtual desktop, and displaying a login interface of the target operation and maintenance tool on the virtual desktop; acquiring login information of the target operation and maintenance tool; and filling the login information of the target operation and maintenance tool in an information frame of a login interface of the target operation and maintenance tool, and logging in the target operation and maintenance tool.
Optionally, before the creating of the virtual desktop when the usage request of the target operation and maintenance tool is received, the method further includes: loading a login interface of an operation and maintenance worker on a main desktop of the operation and maintenance terminal when an operation and maintenance request is received; receiving the filling information of the login information of the operation and maintenance personnel and logging in; obtaining login information of the target operation and maintenance equipment according to the received selection operation of the target operation and maintenance equipment; and filling the login information of the target operation and maintenance equipment into an information frame of a login interface of the target operation and maintenance equipment.
Optionally, after the filling the login information of the target operation and maintenance tool in the information box of the login interface of the target operation and maintenance tool, the method further includes: monitoring the virtual desktop in real time; when an error information prompt box is not monitored within a preset time, determining that the target operation and maintenance tool is successfully logged in, and switching a main window of the target operation and maintenance tool back to a main desktop of the operation and maintenance terminal; and when an error information prompt box is monitored within a preset time, determining that the target operation and maintenance tool fails to log in.
Optionally, the obtaining of the login information of the target operation and maintenance tool includes: sending a login information acquisition request of the target operation and maintenance tool to an operation and maintenance server; and receiving feedback information of the login information acquisition request of the target operation and maintenance tool to obtain the login information of the target operation and maintenance tool.
Optionally, the obtaining of the login information of the target operation and maintenance device includes: sending a login information acquisition request of the target operation and maintenance equipment to an operation and maintenance server; and receiving feedback information of the login information acquisition request of the target operation and maintenance equipment to obtain the login information of the target operation and maintenance equipment.
According to a second aspect, the present invention further discloses an agent login device of an operation and maintenance tool, which is applied to an operation and maintenance terminal, and includes: the creating module is used for creating a virtual desktop when receiving a use request of the target operation and maintenance tool; the first loading module is used for loading the target operation and maintenance tool application program to the virtual desktop and displaying a login interface of the target operation and maintenance tool on the virtual desktop; the first acquisition module is used for acquiring login information of the target operation and maintenance tool; and the first filling module is used for filling the login information of the target operation and maintenance tool into an information frame of a login interface of the target operation and maintenance tool and logging in the target operation and maintenance tool.
Optionally, the apparatus further comprises: the second loading module is used for loading a login interface of an operation and maintenance worker on a main desktop of the operation and maintenance terminal when the operation and maintenance request is received; the first receiving module is used for receiving filling information of login information of the operation and maintenance personnel and logging in; the second acquisition module is used for acquiring the login information of the target operation and maintenance equipment according to the received selection operation of the target operation and maintenance equipment; and the second filling module is used for filling the login information of the target operation and maintenance equipment into an information frame of a login interface of the target operation and maintenance equipment.
Optionally, the apparatus further comprises: the monitoring module is used for monitoring the virtual desktop in real time; the first determination module is used for determining that the target operation and maintenance tool is successfully logged in and switching the main window of the target operation and maintenance tool back to the main desktop of the operation and maintenance terminal when an error information prompt box is not monitored within a preset time; and the second determination module is used for determining that the target operation and maintenance tool fails to log in when the error information prompt box is monitored within the preset time.
According to a third aspect, the invention also discloses a computer device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of the agent login method for the operation and maintenance tool according to the first aspect or any one of the optional embodiments of the first aspect.
According to a fourth aspect, the present invention further discloses a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the agent login method for an operation and maintenance tool according to the first aspect or any one of the optional embodiments of the first aspect.
The technical scheme of the invention has the following advantages:
the invention provides a proxy login method and device of an operation and maintenance tool, which are applied to an operation and maintenance terminal. The login interface of the operation and maintenance tool is displayed on the virtual desktop to log in the operation and maintenance tool, and the operation and maintenance tool is separated from the current operation interface of the operation and maintenance personnel, so that the replacement and filling process of the login information of the operation and maintenance tool is not influenced by the operation of the operation and maintenance personnel, and the reliability of the operation and maintenance system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart illustrating an example of a method for logging in an agent of an operation and maintenance tool according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a specific example of a proxy login device of an operation and maintenance tool according to an embodiment of the present invention;
FIG. 3 is a diagram of an embodiment of a computer device.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the invention discloses a proxy login method of an operation and maintenance tool, which is applied to an operation and maintenance terminal and used for operating and maintaining each operation and maintenance device. The operation and maintenance equipment can comprise: network devices (i.e., routers, switches, etc.), host devices (i.e., industrial control devices, PCs, etc.), etc. The operation and maintenance terminal is connected with the operation and maintenance server, and the operation and maintenance server stores login information of a plurality of operation and maintenance devices and login information of a plurality of operation and maintenance tools. As shown in fig. 1, the method comprises the following steps:
s11: when a request for use of a target operation and maintenance tool is received, a virtual desktop is created.
Illustratively, the target operation and maintenance tool may be a database, a DB middleware, nagios of a monitoring system, or the like. The target operation and maintenance tool is not particularly limited in the embodiment of the present invention, and a person skilled in the art may set the target operation and maintenance tool according to the actual conditions of the operation and maintenance equipment and the operation and maintenance requirements.
The use request of the target operation and maintenance tool can be manually input into the operation and maintenance terminal by the operation and maintenance personnel, or can be transmitted to the operation and maintenance terminal by the operation and maintenance personnel through third-party equipment. The sending method of the use request of the target operation and maintenance tool in the embodiment of the present invention is not particularly limited, and those skilled in the art may determine the sending method according to actual situations. The receiving method and the sending method of the use request of the target operation and maintenance tool correspond to each other.
The virtual desktop creating method may be created for directly calling a relevant function of the os, for example, the function of the Windows system is creatededesktop.
S12: and loading the application program of the target operation and maintenance tool to the virtual desktop, and displaying a login interface of the target operation and maintenance tool on the virtual desktop.
For example, the loading of the application program of the target operation and maintenance tool onto the virtual desktop may specifically be: and in the process of starting the target operation and maintenance tool, setting the desktop parameters of the virtual desktop. For example, under the Windows operating system, one parameter in the CreateProcess function represents the desktop, and the parameter is selected as the parameter of the virtual desktop.
After an application program of a target operation and maintenance tool is started, 2 main operation interfaces are displayed on a virtual desktop, one is a login interface used for filling login information, the other is a main window (tool interface) used for subsequent operation and maintenance operations, the login interface is located on the tool interface, and after login is successful, the login interface disappears and only the tool interface is displayed.
S13: and acquiring login information of the target operation and maintenance tool.
Illustratively, the login information of the target operation and maintenance tool may include: account information and password information. The login information is not specifically limited in the embodiment of the present invention, and those skilled in the art can determine the login information according to the actual situation of the target operation and maintenance tool.
The method for acquiring the login information of the target operation and maintenance tool may specifically be: and sending a login information acquisition request of the target operation and maintenance tool to the operation and maintenance server, and receiving feedback information of the login information acquisition request of the target operation and maintenance tool to obtain login information of the target operation and maintenance tool.
Illustratively, the login information acquisition request and the feedback information of the target operation and maintenance tool may be sent through a wired network or a wireless network. The embodiment of the invention does not specifically limit the login information acquisition request of the target operation and maintenance tool and the sending method of the feedback information, and a person skilled in the art can determine the login information acquisition request and the sending method of the feedback information according to the actual connection condition of the operation and maintenance terminal and the operation and maintenance server.
S14: and filling the login information of the target operation and maintenance tool into an information frame of a login interface of the target operation and maintenance tool, and logging in the target operation and maintenance tool.
Illustratively, the login method of the target operation and maintenance tool can be realized by simulating mouse and keyboard input, filling login information, simulating and clicking a login button, triggering login operation, and realizing automatic information filling and login in a pure background mode without the participation of operation and maintenance personnel, so that the account security of the target operation and maintenance tool is ensured.
The invention provides an agent login method of an operation and maintenance tool, which is applied to an operation and maintenance terminal, and comprises the steps of creating a virtual desktop when a use request of a target operation and maintenance tool is received, loading an application program of the target operation and maintenance tool to the virtual desktop, displaying a login interface of the target operation and maintenance tool on the virtual desktop, acquiring login information of the target operation and maintenance tool, filling the login information of the target operation and maintenance tool in an information frame of the login interface of the target operation and maintenance tool, and logging in the target operation and maintenance tool. The login interface of the operation and maintenance tool is displayed on the virtual desktop to log in the operation and maintenance tool, and the operation and maintenance tool is separated from the current operation interface of the operation and maintenance personnel, so that the replacement and filling process of the login information of the operation and maintenance tool is not influenced by the operation of the operation and maintenance personnel, and the reliability of the operation and maintenance system is improved.
As an optional implementation manner of the embodiment of the present invention, before the step S11, the method for logging in an agent of an operation and maintenance tool further includes:
firstly, when an operation and maintenance request is received, a login interface of an operation and maintenance person is loaded on a main desktop of an operation and maintenance terminal.
For example, the operation and maintenance request may be manually input to the operation and maintenance terminal by an operation and maintenance person, or may be transmitted to the operation and maintenance terminal by the operation and maintenance person through a third-party device. The sending method of the operation and maintenance request in the embodiment of the present invention is not particularly limited, and those skilled in the art may determine the sending method according to actual situations. The receiving method and the sending method of the operation and maintenance request correspond to each other. The login interface of the operation and maintenance personnel loaded on the main desktop of the operation and maintenance terminal can directly call the relevant functions of the operating system for loading.
And secondly, receiving the filling information of the login information of the operation and maintenance personnel and logging in.
Illustratively, the login information of the operation and maintenance personnel is memorized and filled in by the operation and maintenance personnel. The operation and maintenance personnel can manually fill the login information of the operation and maintenance personnel in the corresponding information frame, and can also send the login information of the operation and maintenance personnel to the corresponding information frame through third-party equipment. Correspondingly, the receiving method of the filling information of the login information of the operation and maintenance personnel receives the login information through a wired network or a wireless network.
And thirdly, obtaining the login information of the target operation and maintenance equipment according to the received selection operation of the target operation and maintenance equipment.
For example, the operation and maintenance target device selection operation may be manually input into the operation and maintenance terminal by an operation and maintenance person, or may be transmitted to the operation and maintenance terminal by the operation and maintenance person through a third-party device. The sending method for the selection operation of the target operation and maintenance equipment in the embodiment of the present invention is not particularly limited, and may be determined by a person skilled in the art according to an actual situation.
The operation and maintenance server further stores address information of each operation and maintenance device, and the obtaining of the login information of the target operation and maintenance device may be sending an address information obtaining request of the target operation and maintenance device to the operation and maintenance server, sending a login information obtaining request to the target operation and maintenance device according to the address information fed back by the operation and maintenance server, and receiving the login information fed back by the target operation and maintenance device.
The obtaining of the login information of the target operation and maintenance device may also be sending a login information obtaining request of the target operation and maintenance device to the operation and maintenance server, receiving feedback information of the login information obtaining request of the target operation and maintenance device, and obtaining the login information of the target operation and maintenance device. The embodiment of the present invention does not specifically limit the method for acquiring the login information of the target operation and maintenance device, and those skilled in the art can determine the method according to actual situations.
And thirdly, filling the login information of the target operation and maintenance equipment into an information frame of a login interface of the target operation and maintenance equipment.
Illustratively, the login method of the target operation and maintenance device may be to implement automatic information filling and login in a pure background manner through a standard remote login protocol, for example, RDP, VNC, SSH, and the like, without the participation of operation and maintenance personnel, and thus, the account security of the target operation and maintenance device is ensured.
As an optional implementation manner of the embodiment of the present invention, after step S14, the method for logging in an agent of an operation and maintenance tool further includes:
and monitoring the virtual desktop in real time.
For example, after clicking a "login" button, an application of the operation and maintenance tool may attempt to log in to the server, and in order to determine whether the operation and maintenance tool logs in successfully, the virtual desktop needs to be monitored in real time, and a specific monitoring method may be to call a monitoring function of the Windows operating system for monitoring.
It should be noted that the embodiment of the present invention may also employ monitoring the virtual desktop at intervals (e.g., 1s) to determine whether the login is successful.
And when the error information prompt box is not monitored within the preset time, determining that the target operation and maintenance tool is successfully logged in, and switching the main window of the target operation and maintenance tool back to the main desktop of the operation and maintenance terminal. And when the error information prompt box is monitored within the preset time, determining that the target operation and maintenance tool fails to log in.
The preset time may be 30s, and the preset time is not particularly limited in the embodiment of the present invention, and may be determined by a person skilled in the art according to the actual situation of the operation and maintenance tool.
When the error information prompt box pops up within the preset time, the target operation and maintenance tool is determined to be failed to log in, and the login information can be inquired manually to log in. When the error information prompt box is not popped up within the preset time, it is determined that the target operation and maintenance tool is successfully logged in, the login interface disappears, and the main window of the target operation and maintenance tool is switched back to the main desktop of the operation and maintenance terminal for operation and maintenance operation, and specifically, a related function, such as a SetThreadDesktop function of a Windows system, can be called for switching.
The embodiment of the present invention further discloses an agent login device of an operation and maintenance tool, which is applied to an operation and maintenance terminal, as shown in fig. 2, and includes:
the creating module 21 is configured to create a virtual desktop when receiving a request for using a target operation and maintenance tool; the specific implementation manner is described in the above embodiment in relation to step S11, and is not described herein again.
The first loading module 22 is used for loading the application program of the target operation and maintenance tool to the virtual desktop, and displaying a login interface of the target operation and maintenance tool on the virtual desktop; the specific implementation manner is described in the above embodiment in relation to step S12, and is not described herein again.
The first obtaining module 23 is configured to obtain login information of the target operation and maintenance tool; the specific implementation manner is described in the above embodiment in relation to step S13, and is not described herein again.
The first filling module 24 is configured to fill the login information of the target operation and maintenance tool in an information frame of a login interface of the target operation and maintenance tool, so as to log in the target operation and maintenance tool. The specific implementation manner is described in the above embodiment in relation to step S14, and is not described herein again.
The invention provides an agent login device of an operation and maintenance tool, which is applied to an operation and maintenance terminal, and is used for creating a virtual desktop when receiving a use request of a target operation and maintenance tool, loading an application program of the target operation and maintenance tool to the virtual desktop, displaying a login interface of the target operation and maintenance tool on the virtual desktop, acquiring login information of the target operation and maintenance tool, filling the login information of the target operation and maintenance tool in an information frame of the login interface of the target operation and maintenance tool, and logging in the target operation and maintenance tool. The login interface of the operation and maintenance tool is displayed on the virtual desktop to log in the operation and maintenance tool, and the operation and maintenance tool is separated from the current operation interface of the operation and maintenance personnel, so that the replacement and filling process of the login information of the operation and maintenance tool is not influenced by the operation of the operation and maintenance personnel, and the reliability of the operation and maintenance system is improved.
As an optional implementation manner of the embodiment of the present invention, the agent login device of the operation and maintenance tool further includes:
the second loading module is used for loading a login interface of an operation and maintenance worker on a main desktop of the operation and maintenance terminal when the operation and maintenance request is received; the specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
The first receiving module is used for receiving filling information of login information of the operation and maintenance personnel and logging in; the specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
The second acquisition module is used for acquiring the login information of the target operation and maintenance equipment according to the received selection operation of the target operation and maintenance equipment; the specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
And the second filling module is used for filling the login information of the target operation and maintenance equipment into an information frame of a login interface of the target operation and maintenance equipment. The specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
As an optional implementation manner of the embodiment of the present invention, the agent login device of the operation and maintenance tool further includes:
the monitoring module is used for monitoring the virtual desktop in real time; the specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
The first determination module is used for determining that the target operation and maintenance tool is successfully logged in and switching the target operation and maintenance tool back to a main desktop of the operation and maintenance terminal when the error information prompt box is not monitored within the preset time; the specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
And the second determination module is used for determining that the target operation and maintenance tool fails to log in when the error information prompt box is monitored within the preset time. The specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
As an optional implementation manner of the embodiment of the present invention, the first obtaining module 23 includes:
the first sending module is used for sending a login information acquisition request of a target operation and maintenance tool to the operation and maintenance server. The specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
And the second receiving module is used for receiving the feedback information of the login information acquisition request of the target operation and maintenance tool to obtain the login information of the target operation and maintenance tool. The specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
As an optional implementation manner of the embodiment of the present invention, the second obtaining module includes:
and the second sending module is used for sending a login information acquisition request of the target operation and maintenance equipment to the operation and maintenance server. The specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
And the third receiving module is used for receiving the feedback information of the login information acquisition request of the target operation and maintenance equipment to obtain the login information of the target operation and maintenance equipment. The specific implementation manner is described in the relevant description of the corresponding steps in the above embodiments, and is not described herein again.
An embodiment of the present invention further provides a computer device, as shown in fig. 3, the computer device may include a processor 31 and a memory 32, where the processor 31 and the memory 32 may be connected by a bus or in another manner, and fig. 3 takes the example of being connected by a bus as an example.
The processor 31 may be a Central Processing Unit (CPU). The Processor 31 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 32 is a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the proxy login method of the operation and maintenance tool in the embodiment of the present invention (for example, the creating module 21, the first loading module 22, the first acquiring module 23, and the first filling module 24 shown in fig. 2). The processor 31 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 32, that is, implements the proxy login method of the operation and maintenance tool in the above method embodiment.
The memory 32 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 31, and the like. Further, the memory 32 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 32 may optionally include memory located remotely from the processor 31, and these remote memories may be connected to the processor 31 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 32 and, when executed by the processor 31, perform the proxy login method of the operation and maintenance tool in the embodiment shown in fig. 1.
The details of the computer device can be understood with reference to the corresponding related descriptions and effects in the embodiment shown in fig. 1, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims (10)
1. An agent login method of an operation and maintenance tool is characterized by being applied to an operation and maintenance terminal and comprising the following steps:
when a use request of a target operation and maintenance tool is received, a virtual desktop is created;
loading the application program of the target operation and maintenance tool to the virtual desktop, and displaying a login interface of the target operation and maintenance tool on the virtual desktop;
acquiring login information of the target operation and maintenance tool;
and filling the login information of the target operation and maintenance tool in an information frame of a login interface of the target operation and maintenance tool, and logging in the target operation and maintenance tool.
2. The method of claim 1, wherein prior to the creating a virtual desktop when the request for use of the target operation and maintenance tool is received, the method further comprises:
loading a login interface of an operation and maintenance worker on a main desktop of the operation and maintenance terminal when an operation and maintenance request is received;
receiving the filling information of the login information of the operation and maintenance personnel and logging in;
obtaining login information of the target operation and maintenance equipment according to the received selection operation of the target operation and maintenance equipment;
and filling the login information of the target operation and maintenance equipment into an information frame of a login interface of the target operation and maintenance equipment.
3. The method of claim 1, wherein after the filling in the login information of the target operation and maintenance tool into the information box of the login interface of the target operation and maintenance tool, the method further comprises:
monitoring the virtual desktop in real time;
when an error information prompt box is not monitored within a preset time, determining that the target operation and maintenance tool is successfully logged in, and switching a main window of the target operation and maintenance tool back to a main desktop of the operation and maintenance terminal;
and when an error information prompt box is monitored within a preset time, determining that the target operation and maintenance tool fails to log in.
4. The method of claim 1, wherein the obtaining login information of the target operation and maintenance tool comprises:
sending a login information acquisition request of the target operation and maintenance tool to an operation and maintenance server;
and receiving feedback information of the login information acquisition request of the target operation and maintenance tool to obtain the login information of the target operation and maintenance tool.
5. The method of claim 2, wherein the obtaining the login information of the target operation and maintenance device comprises:
sending a login information acquisition request of the target operation and maintenance equipment to an operation and maintenance server;
and receiving feedback information of the login information acquisition request of the target operation and maintenance equipment to obtain the login information of the target operation and maintenance equipment.
6. An agent login device of an operation and maintenance tool is applied to an operation and maintenance terminal and comprises:
the creating module is used for creating a virtual desktop when receiving a use request of the target operation and maintenance tool;
the first loading module is used for loading the target operation and maintenance tool application program to the virtual desktop and displaying a login interface of the target operation and maintenance tool on the virtual desktop;
the first acquisition module is used for acquiring login information of the target operation and maintenance tool;
and the first filling module is used for filling the login information of the target operation and maintenance tool into an information frame of a login interface of the target operation and maintenance tool and logging in the target operation and maintenance tool.
7. The apparatus of claim 6, further comprising:
the second loading module is used for loading a login interface of an operation and maintenance worker on a main desktop of the operation and maintenance terminal when the operation and maintenance request is received;
the first receiving module is used for receiving filling information of login information of the operation and maintenance personnel and logging in;
the second acquisition module is used for acquiring the login information of the target operation and maintenance equipment according to the received selection operation of the target operation and maintenance equipment;
and the second filling module is used for filling the login information of the target operation and maintenance equipment into an information frame of a login interface of the target operation and maintenance equipment.
8. The apparatus of claim 6, further comprising:
the monitoring module is used for monitoring the virtual desktop in real time;
the first determination module is used for determining that the target operation and maintenance tool is successfully logged in and switching the main window of the target operation and maintenance tool back to the main desktop of the operation and maintenance terminal when an error information prompt box is not monitored within a preset time;
and the second determination module is used for determining that the target operation and maintenance tool fails to log in when the error information prompt box is monitored within the preset time.
9. A computer device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of the agent login method for an operation and maintenance tool of any of claims 1-5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the proxy login method of an operation and maintenance tool according to any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011643540.3A CN112711456B (en) | 2020-12-31 | 2020-12-31 | Proxy login method and device of operation and maintenance tool and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011643540.3A CN112711456B (en) | 2020-12-31 | 2020-12-31 | Proxy login method and device of operation and maintenance tool and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112711456A true CN112711456A (en) | 2021-04-27 |
CN112711456B CN112711456B (en) | 2024-08-06 |
Family
ID=75548055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011643540.3A Active CN112711456B (en) | 2020-12-31 | 2020-12-31 | Proxy login method and device of operation and maintenance tool and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112711456B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188336A (en) * | 2011-12-31 | 2013-07-03 | 北京市国路安信息技术有限公司 | Virtual desktop-based operation and maintenance management method |
CN104168304A (en) * | 2013-05-16 | 2014-11-26 | 三星Sds株式会社 | System and method for single-sign-on in virtual desktop infrastructure environment |
CN105337756A (en) * | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Centralized operation and maintenance method and device |
CN105577677A (en) * | 2015-12-31 | 2016-05-11 | 亿阳安全技术有限公司 | Remote login method and system based on J2EE |
CN106330554A (en) * | 2016-08-31 | 2017-01-11 | 山东瑞宁信息技术股份有限公司 | Operation and maintenance auditing system and operation and maintenance auditing method for monitoring and managing operation and maintenance operation process |
CN109218076A (en) * | 2018-08-09 | 2019-01-15 | 华为技术有限公司 | A kind of O&M method and device |
-
2020
- 2020-12-31 CN CN202011643540.3A patent/CN112711456B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188336A (en) * | 2011-12-31 | 2013-07-03 | 北京市国路安信息技术有限公司 | Virtual desktop-based operation and maintenance management method |
CN104168304A (en) * | 2013-05-16 | 2014-11-26 | 三星Sds株式会社 | System and method for single-sign-on in virtual desktop infrastructure environment |
CN105337756A (en) * | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Centralized operation and maintenance method and device |
CN105577677A (en) * | 2015-12-31 | 2016-05-11 | 亿阳安全技术有限公司 | Remote login method and system based on J2EE |
CN106330554A (en) * | 2016-08-31 | 2017-01-11 | 山东瑞宁信息技术股份有限公司 | Operation and maintenance auditing system and operation and maintenance auditing method for monitoring and managing operation and maintenance operation process |
CN109218076A (en) * | 2018-08-09 | 2019-01-15 | 华为技术有限公司 | A kind of O&M method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112711456B (en) | 2024-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109522287B (en) | Monitoring method, system, equipment and medium for distributed file storage cluster | |
US9960954B2 (en) | Methods and systems to improve correlation between overlay and underlay networks in data centers | |
EP3489828B1 (en) | Method and system for resolving anomaly events occurring in a virtual environment in real-time | |
CN109254922B (en) | Automatic testing method and device for BMC Redfish function of server | |
CN113704063B (en) | Performance monitoring method, device, equipment and storage medium of cloud mobile phone | |
EP3547128A1 (en) | Method and system for performing intelligent orchrestration within a hybrid cloud | |
CN112615858B (en) | Internet of things equipment monitoring method, device and system | |
EP3865998A1 (en) | Cluster management method, apparatus and system | |
CN112527397A (en) | Method and device for modifying basic input output system options and computer equipment | |
CN109344075A (en) | Configuration method, test method, configuration server and service node device | |
CN111371752A (en) | Remote monitoring method, device, equipment and medium for server | |
CN111176577B (en) | Distributed block storage service command processing method, device, equipment and medium | |
CN111954240A (en) | Network fault processing method and device and electronic equipment | |
CN114285844B (en) | Method and device for intelligently fusing server interface, electronic equipment and storage medium | |
CN111190761B (en) | Log output method and device, storage medium and electronic equipment | |
CN112711456A (en) | Agent login method and device of operation and maintenance tool and computer equipment | |
CN110198230B (en) | Application monitoring method and device, storage medium and electronic device | |
CN114826886B (en) | Disaster recovery method and device for application software and electronic equipment | |
CN115269336A (en) | Monitoring method and device for database connection pool, electronic equipment and storage medium | |
CN115086347A (en) | Data synchronization method and device, electronic equipment and storage medium | |
CN111031098B (en) | VDI cloud desktop emergency maintenance system and method | |
CN103457771A (en) | Method and device for HA virtual machine cluster management | |
CN106713058B (en) | Test method, device and system based on cloud card resources | |
CN115664921A (en) | WEB-based network switching equipment management system and method and electronic equipment | |
CN107453904B (en) | Cluster management interface implementation method and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |