CN111752590A - Operation and maintenance management method and system - Google Patents

Operation and maintenance management method and system Download PDF

Info

Publication number
CN111752590A
CN111752590A CN202010597748.XA CN202010597748A CN111752590A CN 111752590 A CN111752590 A CN 111752590A CN 202010597748 A CN202010597748 A CN 202010597748A CN 111752590 A CN111752590 A CN 111752590A
Authority
CN
China
Prior art keywords
maintenance
information
session
list
login
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010597748.XA
Other languages
Chinese (zh)
Inventor
葛弘康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202010597748.XA priority Critical patent/CN111752590A/en
Publication of CN111752590A publication Critical patent/CN111752590A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides an operation and maintenance management method, which comprises the following steps: acquiring an operation and maintenance instruction to be processed, wherein the operation and maintenance instruction comprises an operation and maintenance list, the operation and maintenance list comprises a plurality of operation and maintenance information, each operation and maintenance information represents different operation and maintenance nodes, and each operation and maintenance information records login information of the corresponding operation and maintenance node; loading the operation and maintenance information one by one according to the operation and maintenance instruction to generate an operation and maintenance session; and running the operation and maintenance session to log in different operation and maintenance nodes according to the login information recorded by each operation and maintenance information. The application also provides an operation and maintenance management system, computer equipment and a computer readable storage medium, and the embodiment of the application realizes quick and effective batch login and loading of the operation and maintenance session on the operation and maintenance tool, and improves the operation and maintenance efficiency.

Description

Operation and maintenance management method and system
Technical Field
The embodiment of the application relates to the technical field of operation and maintenance management, in particular to an operation and maintenance management method, system, equipment and a computer readable storage medium.
Background
In the prior art, a background developer or an operation and maintenance person executes operation and maintenance operations on a target server group or a computer cluster through an operation and maintenance platform or operation and maintenance software, such as a SecureCRT tool, and needs to log in different servers to perform log query or execute a script when maintaining server configuration and online system services. In this process, each server in the target server group or computer cluster needs to be logged in one by one, and jumping and executing scripts among different servers consumes a lot of time cost invisibly. Meanwhile, the process of maintaining the correspondence between the environment and the service, the correspondence between the service and the server, and the correspondence between the server and the login key is also cumbersome. Once the change occurs, all maintenance personnel need to be notified, falling into simple, repetitive, low-value inspection and modification.
That is to say, most of the existing operation and maintenance tools do not support fast and effective batch login, so the operation and maintenance complexity is high, and the operation and maintenance efficiency is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide an operation and maintenance management method, system, computer device, and computer readable storage medium, which are used to solve the problem that an operation and maintenance tool does not support fast and efficient batch login.
One aspect of the embodiments of the present application provides an operation and maintenance management method, where the operation and maintenance management method includes: acquiring an operation and maintenance instruction to be processed, wherein the operation and maintenance instruction comprises an operation and maintenance list, the operation and maintenance list comprises a plurality of operation and maintenance information, each operation and maintenance information represents different operation and maintenance nodes, and each operation and maintenance information records login information of the corresponding operation and maintenance node; loading the operation and maintenance information one by one according to the operation and maintenance instruction to generate an operation and maintenance session; and running the operation and maintenance session to log in different operation and maintenance nodes according to the login information recorded by each operation and maintenance information.
Optionally, the operation and maintenance list is an excel operation and maintenance inventory list; the operation and maintenance information comprises: service information, server information, a login account, and a login key.
Optionally, the method further includes: and reading each piece of operation and maintenance information in the operation and maintenance list by calling an xlrd library of the python script.
Optionally, the reading of each piece of operation and maintenance information in the operation and maintenance list includes: identifying all operation and maintenance information in the operation and maintenance list through a character string identification technology; and performing deduplication and/or aggregation on all operation and maintenance information in the operation and maintenance list.
Optionally, the loading the operation and maintenance information one by one according to the operation and maintenance instruction to generate an operation and maintenance session includes: establishing an operation and maintenance session according to the service information in each operation and maintenance information; checking whether the content and the authorization verification parameter in the service information are correct or not; and when the verification is correct, loading the server information, the login account and the login key in the operation and maintenance information into the operation and maintenance session.
Optionally, the method further includes: judging whether the existing operation and maintenance session comprises first operation and maintenance information in all the operation and maintenance information; and when the existing operation and maintenance session comprises the first operation and maintenance information, loading all the operation and maintenance information without the first operation and maintenance information into the operation and maintenance session.
Optionally, the method further includes: obtaining an operation instruction in the operation and maintenance instruction, wherein the operation instruction comprises an operation command for a corresponding operation and maintenance node; and executing operation and maintenance operation on the operation and maintenance node corresponding to each operation and maintenance information according to the operation command.
An aspect of an embodiment of the present application further provides an operation and maintenance management system, where the operation and maintenance management system includes: the operation and maintenance system comprises a receiving module, a processing module and a processing module, wherein the operation and maintenance instruction comprises an operation and maintenance list, the operation and maintenance list comprises a plurality of operation and maintenance information, each operation and maintenance information represents different operation and maintenance nodes, and each operation and maintenance information records login information of a corresponding operation and maintenance node; the loading module is used for loading the operation and maintenance information one by one according to the operation and maintenance instruction to generate an operation and maintenance session; and the operation and maintenance module is used for operating the operation and maintenance session so as to log in different operation and maintenance nodes according to the login information recorded by each operation and maintenance information.
An aspect of the embodiments of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the steps of the operation and maintenance management method when executing the computer program.
An aspect of the embodiments of the present application further provides a computer-readable storage medium, in which a computer program is stored, where the computer program is executable by at least one processor, so as to cause the at least one processor to execute the steps of the operation and maintenance management method.
The operation and maintenance management method, system, device and computer-readable storage medium provided by the embodiment of the application can acquire an operation and maintenance instruction to be processed, wherein the operation and maintenance instruction comprises an operation and maintenance list, the operation and maintenance list comprises a plurality of operation and maintenance information, each operation and maintenance information represents different operation and maintenance nodes, and each operation and maintenance information records login information of a corresponding operation and maintenance node; then loading the operation and maintenance information one by one according to the operation and maintenance instruction to generate an operation and maintenance session; and finally, operating the operation and maintenance session so as to log in different operation and maintenance nodes according to the login information recorded by each operation and maintenance information. By the method, the operation and maintenance tool can quickly and effectively log in batches and load the operation and maintenance tool into the operation and maintenance session, and the operation and maintenance efficiency is improved.
Drawings
Fig. 1 schematically illustrates an application environment diagram of an operation and maintenance management method according to a first embodiment of the present application;
fig. 2 schematically shows a flowchart of an operation and maintenance management method according to a first embodiment of the present application;
FIG. 3 schematically shows a flowchart of a method based on an illustrative example of step S202 of FIG. 2;
fig. 4 schematically shows a block diagram of an operation and maintenance management system according to a second embodiment of the present application; and
fig. 5 schematically shows a hardware architecture diagram of a computer device suitable for implementing the operation and maintenance management method according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clearly understood, the embodiments of the present application are described in further detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of the application and are not intended to limit the embodiments of the application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the embodiments in the present application.
It should be noted that the descriptions relating to "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope claimed by the embodiments of the present application.
Fig. 1 schematically shows an environment application diagram of an operation and maintenance management method according to a first embodiment of the present application. In an exemplary embodiment, the environment application diagram includes a computer device 1 and a server group. Wherein:
the computer equipment 1 is a mobile phone, a portable device, a PC or other electronic equipment which runs with operation and maintenance tools; the server group 2 may be a server cluster for implementing a service function, or other electronic device sets; the computer device 1 is connected with the server group 2, and a user performs operation and management on each server of the server group 2 through an operation and maintenance tool on the computer device 1.
Example one
Fig. 2 schematically shows a flowchart of an operation and maintenance management method according to a first embodiment of the present application. It is to be understood that the flow charts in the embodiments of the present method are not intended to limit the order in which the steps are performed. The following description is made by way of example with the computer apparatus 1 as the execution subject.
As shown in fig. 2, the operation and maintenance management method may include steps S200 to S204, where:
step S200, obtaining an operation and maintenance instruction to be processed, wherein the operation and maintenance instruction comprises an operation and maintenance list, the operation and maintenance list comprises a plurality of operation and maintenance information, each operation and maintenance information represents different operation and maintenance nodes, and each operation and maintenance information records login information of a corresponding operation and maintenance node.
Step S202, loading the operation and maintenance information one by one according to the operation and maintenance instruction to generate operation and maintenance conversation.
And step S204, operating the operation and maintenance session so as to log in different operation and maintenance nodes according to the login information recorded by each operation and maintenance information.
Specifically, the computer device 1 may receive an operation and maintenance instruction input by a user or pre-stored, where the operation and maintenance instruction includes an operation and maintenance list, the operation and maintenance list includes multiple pieces of operation and maintenance information, each piece of operation and maintenance information represents a different operation and maintenance node, and each piece of operation and maintenance information records login information of a corresponding operation and maintenance node. Therefore, the computer device 1 can read the operation and maintenance list included in the operation and maintenance instruction from the operation and maintenance instruction, and further read each piece of operation and maintenance information on the operation and maintenance list. In the present embodiment, the user fills in the operation and maintenance list according to the list format provided by the computer device 1, and the operation and maintenance list includes at least one piece of operation and maintenance information. In an exemplary example, the operation and maintenance list is an excel operation and maintenance list table, each operation and maintenance information represents a different operation and maintenance node, and each operation and maintenance information records login information of a corresponding operation and maintenance node. Therefore, the operation and maintenance information at least includes: service information, server information, a login account, and a login key. The service information and the server information represent operation and maintenance nodes; the login account and the login key represent login information for logging in the operation and maintenance node. Of course, in other embodiments, the operation and maintenance list may be in other document or table forms, which is not limited herein. Then, the computer device 1 reads each piece of operation and maintenance information in the operation and maintenance list by calling the xlrd library of the python script.
In this embodiment, the computer device 1 calls an xlrd library of a preset python script to obtain the operation and maintenance information in the excel operation and maintenance list. The python scripting language has good compatibility, and can be adapted to most operation and maintenance tools, such as a SecureCRT tool. Therefore, the extended function can be realized by using the python script, and the xlrd library of python script language is called to read the text information in the rows and columns of the excel operation and maintenance clear line one by one.
For example, the computer device 1 establishes an operation and maintenance list format as an excel list format in advance, that is, sets the content and meaning of rows and columns in the excel list as the operation and maintenance list, specifically, sets a first column of each row in the excel list to represent service information, a second column to represent server information, a third column to represent a login account, and a fourth column to represent a login key. Therefore, the user may create an excel table, and then fill in an operation and maintenance information in each line in the excel table, thereby forming an excel operation and maintenance list, and then send the list to the computer device 1. And after receiving the excel operation and maintenance list, the computer equipment 1 reads the operation and maintenance information.
After the computer device 1 reads each piece of operation and maintenance information on the operation and maintenance list, all the operation and maintenance information may be further loaded to an operation and maintenance tool to generate an operation and maintenance session, so that the corresponding operation and maintenance operation may be further performed on the operation and maintenance node represented by the operation and maintenance information.
In an exemplary embodiment, the reading, by the computer device 1, each piece of operation and maintenance information in the operation and maintenance list includes: identifying all operation and maintenance information in the operation and maintenance list through a character string identification technology, and performing duplication removal and/or aggregation on all the operation and maintenance information in the operation and maintenance list. In this embodiment, after acquiring the operation and maintenance information in the operation and maintenance list, the computer device 1 identifies all the operation and maintenance information in the operation and maintenance list through a character string identification technology, and then further sorts all the operation and maintenance information on the operation and maintenance list, including de-duplication aggregation. In an actual application scenario, the operation and maintenance information in the operation and maintenance list includes a great deal of service information, server information, and user account information, and it is inevitable that a plurality of service information are simultaneously deployed on the same server, or one service information is deployed on a plurality of servers, or the same user logs in different servers, so that before the operation and maintenance information in the operation and maintenance list is loaded into an operation and maintenance session of an operation and maintenance tool, the computer device 1 further performs de-duplication aggregation on all the operation and maintenance information to reduce complexity of a loading process, and improve loading efficiency.
For example, after the computer device 1 reads the operation and maintenance information of the excel operation and maintenance list, the specific information in the rows and columns in the excel operation and maintenance list is de-duplicated and aggregated. For example, the operation and maintenance information in the excel table is scanned from top to bottom, the string content of each piece of operation and maintenance information is identified through a string identification technology, and the repeated string content is aggregated: firstly, duplicate removal and aggregation are carried out on the same service information, and then duplicate removal and aggregation are carried out on the service information with the same server information, login account and login key. Of course, in the process of de-duplication aggregation of the service information, multiple lines of operation and maintenance information are aggregated into one line, then the server information, login account and login key in the second column, the third column and the fourth column of the operation and maintenance information in the one line are all changed into multiple lines, and then each piece of server information or login account or login key is spliced by using a splicing symbol, such as a comma. In the process of de-duplication and aggregation of service information with the same server information, login account and login key, multiple pieces of service information are aggregated into one piece, and then the service information needs to be spliced by using a splicing symbol, for example, service information is spliced by using a dash sign. Of course, in other embodiments, the operation and maintenance information may also be identified, deduplicated, and aggregated by other character recognition methods, without limitation. Through the mode, repeated operation and maintenance information in the operation and maintenance list can be simplified, and concise and complete operation and maintenance information can be obtained.
Next, the computer device 1 loads all the operation and maintenance information into the operation and maintenance session of the operation and maintenance tool. As shown in fig. 3, in an exemplary embodiment, the step of loading the operation and maintenance information item by the computer device 1 according to the operation and maintenance instruction to generate the operation and maintenance session may include steps S300 to S304, where:
and step S300, establishing an operation and maintenance session according to the service information in each operation and maintenance information.
Step S302, checking whether the content and the authorization verification parameter in the service information are correct.
Step S304, if the verification is correct, loading the server information, the login account and the login key in the operation and maintenance information into the operation and maintenance session.
Of course, in the process of loading all the operation and maintenance information into the operation and maintenance session of the operation and maintenance tool, the computer device 1 may also determine whether the existing operation and maintenance session includes the first operation and maintenance information in all the operation and maintenance information; and when the existing operation and maintenance session comprises the first operation and maintenance information, loading all the operation and maintenance information without the first operation and maintenance information into the operation and maintenance session.
In a specific embodiment, for example, the operation and maintenance tool is a SecureCRT tool, so that the computer device 1 calls an API operating library of the SecureCRT tool according to a pre-established python login script, and then loads the deaggregated operation and maintenance information into an operation and maintenance session of the SecureCRT tool. Specifically, the computer device 1 first queries the session information that the SecureCRT tool has logged in; then, comparing the service information, the server information, the login account and the login key corresponding to each piece of session information of the logged-in session information with the service information, the server information, the login account and the login key in each piece of operation and maintenance information to be loaded; if the operation and maintenance information is the same as one of the operation and maintenance information to be loaded, the operation and maintenance information to be loaded is not loaded to the session process of the SecureCRT tool, and the corresponding logged-in session information is directly copied as the session information of the operation and maintenance information to be loaded. Next, the computer device 1 loads other operation and maintenance information into the operation and maintenance session by calling a session login command of the SecureCRT tool, including: establishing an operation and maintenance session according to service information in the operation and maintenance information; then checking whether other parameters of the service information are correct, such as the content in the service information and parameters of authorization verification and the like; and if the operation and maintenance session is correct, loading the server information, the login account and the login key in the operation and maintenance information into the newly-built operation and maintenance session. For example, the computer device 1 may automatically fill the server information, the login account and the login key into the corresponding input box in the new session window; finally, the computer device 1 performs a login operation, thereby starting a session process of the operation and maintenance session.
In an illustrative example, when the operation and maintenance tool is a SecureCRT tool and the operation and maintenance node is a server, the computer device 1 calls the following functions of the SecureCRT tool through the python login script to achieve the purpose of loading the operation and maintenance session:
1. acquiring a window for opening session information by using crt.GetScriptTab (). Index;
2. acquiring all opened sessions by using crt.GetTabCount ();
3. judging whether an existing login session exists or not through crt.GetTab (i). Session.connected;
4. if the existing login session exists, using crt, GetTab (i) and Clone () to copy one copy of the session without repeated login operation;
5. if the existing login session does not exist, entering a login process;
5.1 using the crt.orientations.count to check whether the parameters included in the operation and maintenance information are correct or not;
5.2 obtaining server (ips)/login account number (users)/login key (passkeys) corresponding to the service session, respectively, using crt
5.3 use crt. GetTab (i). Screen. Send ('ssh' + users [ i ] + '@' + ips [ i ] + '\\ r') to send login request to different servers respectively;
5.4 using crt. GetTab (i). Screen. WaitForStrings ([ 'password', 'yes/no' ]) to judge whether yes is needed to be input in the first login;
5.5 if not, using crt.GetTab (i), Screen.Send (passlanguages [ i ] + '\r'), inputting a password to the server, and logging in the corresponding server;
5.6 if yes, firstly using crt, GetTab (i) screen, Send ('yes \ r') to input yes to the server, then using crt, GetTab (i) screen, Send (passlanguages [ i ] + '\\ r') to input password to the server, and logging in the corresponding server.
After all the operation and maintenance information of the operation and maintenance list is loaded into the corresponding operation and maintenance session, the computer device 1 may further obtain an operation instruction in the operation and maintenance instruction, where the operation instruction includes an operation command for a corresponding operation and maintenance node; and then, executing operation and maintenance operation on the operation and maintenance node corresponding to each piece of operation and maintenance information according to the operation command. In an exemplary example, for example, the computer device 1 starts the operation and maintenance Window by invoking a command (chat) Window command of the securvr crt tool, and then receives an operation command of the operation and maintenance operation from a user, for example, the user selects SendCommands to All Sessions at the right key of the above point, so that the command in the input box goes to All open Sessions to be executed, thereby implementing a batch execution script, and thus implementing a function of the operation and maintenance operation on the corresponding operation and maintenance node.
In summary, the computer device 1 can receive the operation and maintenance list, and then read each piece of operation and maintenance information in the operation and maintenance list; and finally, loading all the operation and maintenance information into the operation and maintenance session of the operation and maintenance tool. By the method, the operation and maintenance tool can quickly and effectively log in batches and load the operation and maintenance tool into the operation and maintenance session, and the operation and maintenance efficiency is improved.
Example two
Fig. 4 is a block diagram schematically illustrating an operation and maintenance management system according to a second embodiment of the present application, which may be divided into one or more program modules, and the one or more program modules are stored in a storage medium and executed by one or more processors to implement the second embodiment of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments that can perform specific functions, and the following description will specifically describe the functions of the program modules in the embodiments.
As shown in fig. 4, the operation and maintenance management system 400 may include a receiving module 410, a loading module 420, and an operation and maintenance module 430, wherein:
the receiving module 410 is configured to obtain an operation and maintenance instruction to be processed, where the operation and maintenance instruction includes an operation and maintenance list, the operation and maintenance list includes multiple pieces of operation and maintenance information, each piece of operation and maintenance information represents a different operation and maintenance node, and each piece of operation and maintenance information records login information of a corresponding operation and maintenance node.
And the loading module 420 is configured to load the operation and maintenance information item by item according to the operation and maintenance instruction to generate an operation and maintenance session.
And the operation and maintenance module 430 is configured to run the operation and maintenance session, so as to log in different operation and maintenance nodes according to login information recorded by each operation and maintenance information.
In an exemplary embodiment, the receiving module 410 is further configured to: and reading each piece of operation and maintenance information in the operation and maintenance list by calling an xlrd library of the python script. The operation and maintenance list is an excel operation and maintenance inventory list; the operation and maintenance information comprises: service information, server information, a login account, and a login key.
In an exemplary embodiment, the receiving module 410 is further configured to: identifying all operation and maintenance information in the operation and maintenance list through a character string identification technology; and performing deduplication and/or aggregation on all operation and maintenance information in the operation and maintenance list.
In an exemplary embodiment, the loading module 420 is further configured to: establishing an operation and maintenance session according to the service information in each operation and maintenance information; checking whether the content and the authorization verification parameter in the service information are correct or not; and when the verification is correct, loading the server information, the login account and the login key in the operation and maintenance information into the operation and maintenance session. Judging whether the existing operation and maintenance session comprises first operation and maintenance information in all the operation and maintenance information; and when the existing operation and maintenance session comprises the first operation and maintenance information, loading all the operation and maintenance information without the first operation and maintenance information into the operation and maintenance session.
In an exemplary embodiment, the operation and maintenance module 430 is further configured to obtain an operation instruction in the operation and maintenance instruction, where the operation instruction includes an operation command for a corresponding operation and maintenance node; and executing operation and maintenance operation on the operation and maintenance node corresponding to each operation and maintenance information according to the operation command.
EXAMPLE III
Fig. 5 schematically shows a hardware architecture diagram of a computer device 1 suitable for implementing the operation and maintenance management method according to the third embodiment of the present application. In the present embodiment, the computer device 1 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a command set or stored in advance. For example, the server may be a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) with a gateway function. As shown in fig. 5, the computer device 1 includes at least, but is not limited to: memory 510, processor 520, and network interface 530 may be communicatively linked to each other by a system bus. Wherein:
the memory 510 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 510 may be an internal storage module of the computer device 1, such as a hard disk or a memory of the computer device 1. In other embodiments, the memory 510 may also be an external storage device of the computer device 1, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 1. Of course, the memory 510 may also comprise both an internal memory module of the computer device 1 and an external memory device thereof. In this embodiment, the memory 510 is generally used for storing an operating system installed in the computer device 1 and various application software, such as program codes of an operation and maintenance management method. In addition, the memory 510 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 520 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 520 is generally used for controlling the overall operation of the computer device 1, such as performing control and processing related to data interaction or communication with the computer device 1. In this embodiment, processor 520 is configured to execute program codes stored in memory 510 or process data.
Network interface 530 may include a wireless network interface or a wired network interface, and network interface 530 is typically used to establish communication links between computer device 1 and other computer devices. For example, the network interface 530 is used to connect the computer apparatus 1 with an external terminal through a network, establish a data transmission channel and a communication link between the computer apparatus 1 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a global system for Mobile communications (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), or Wi-Fi.
It should be noted that FIG. 5 only shows a computer device having components 510 and 530, but it should be understood that not all of the shown components are required and that more or fewer components may be implemented instead.
In this embodiment, the program code of the operation and maintenance management method stored in the memory 510 may also be divided into one or more program modules and executed by one or more processors (in this embodiment, the processor 520) to implement the embodiments of the present application.
Example four
The present embodiments also provide a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
receiving a shelving request of a target basic component of a provider, and acquiring a component integration mode in the shelving request; searching a component integration specification corresponding to the component category from a standard specification according to the component category included in the component integration mode, and sending the component integration specification to the provider; receiving a component to be integrated, which is transformed to the target basic component by the provider based on the component integration specification; and checking the components to be integrated according to the standard specification, and putting the qualified components to be integrated on a purchasing interface.
In this embodiment, the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the computer readable storage medium may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the computer readable storage medium may be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device. Of course, the computer-readable storage medium may also include both internal and external storage devices of the computer device. In this embodiment, the computer-readable storage medium is generally used for storing an operating system and various types of application software installed in the computer device, for example, the program code of the operation and maintenance management method in the embodiment, and the like. Further, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different from that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications that can be made by the use of the equivalent structures or equivalent processes in the specification and drawings of the present application or that can be directly or indirectly applied to other related technologies are also included in the scope of the present application.

Claims (10)

1. An operation and maintenance management method, characterized in that the method comprises:
acquiring an operation and maintenance instruction to be processed, wherein the operation and maintenance instruction comprises an operation and maintenance list, the operation and maintenance list comprises a plurality of operation and maintenance information, each operation and maintenance information represents different operation and maintenance nodes, and each operation and maintenance information records login information of the corresponding operation and maintenance node;
loading the operation and maintenance information one by one according to the operation and maintenance instruction to generate an operation and maintenance session;
and running the operation and maintenance session to log in different operation and maintenance nodes according to the login information recorded by each operation and maintenance information.
2. The operation and maintenance management method according to claim 1, wherein the operation and maintenance list is an excel operation and maintenance list table; the operation and maintenance information comprises: service information, server information, a login account, and a login key.
3. The operation and maintenance management method according to claim 1 or 2, wherein the method further comprises:
and reading each piece of operation and maintenance information in the operation and maintenance list by calling an xlrd library of the python script.
4. The operation and maintenance management method according to claim 3, wherein the reading each operation and maintenance information in the operation and maintenance list comprises:
identifying all operation and maintenance information in the operation and maintenance list through a character string identification technology;
and performing deduplication and/or aggregation on all operation and maintenance information in the operation and maintenance list.
5. The operation and maintenance management method according to claim 2, wherein the loading the operation and maintenance information item by item according to the operation and maintenance instruction to generate the operation and maintenance session comprises:
establishing an operation and maintenance session according to the service information in each operation and maintenance information;
checking whether the content and the authorization verification parameter in the service information are correct or not;
and when the verification is correct, loading the server information, the login account and the login key in the operation and maintenance information into the operation and maintenance session.
6. The operation and maintenance management method according to claim 5, further comprising:
judging whether the existing operation and maintenance session comprises first operation and maintenance information in all the operation and maintenance information;
and when the existing operation and maintenance session comprises the first operation and maintenance information, loading all the operation and maintenance information without the first operation and maintenance information into the operation and maintenance session.
7. The operation and maintenance management method according to claim 1, further comprising:
obtaining an operation instruction in the operation and maintenance instruction, wherein the operation instruction comprises an operation command for a corresponding operation and maintenance node;
and executing operation and maintenance operation on the operation and maintenance node corresponding to each operation and maintenance information according to the operation command.
8. An operation and maintenance management system, characterized in that the system comprises:
the operation and maintenance system comprises a receiving module, a processing module and a processing module, wherein the operation and maintenance instruction comprises an operation and maintenance list, the operation and maintenance list comprises a plurality of operation and maintenance information, each operation and maintenance information represents different operation and maintenance nodes, and each operation and maintenance information records login information of a corresponding operation and maintenance node;
the loading module is used for loading the operation and maintenance information one by one according to the operation and maintenance instruction to generate an operation and maintenance session;
and the operation and maintenance module is used for operating the operation and maintenance session so as to log in different operation and maintenance nodes according to the login information recorded by each operation and maintenance information.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor is configured to implement the steps of the operation and maintenance management method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having stored thereon a computer program executable by at least one processor to cause the at least one processor to perform the steps of the operation and maintenance management method according to any one of claims 1 to 7.
CN202010597748.XA 2020-06-28 2020-06-28 Operation and maintenance management method and system Pending CN111752590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010597748.XA CN111752590A (en) 2020-06-28 2020-06-28 Operation and maintenance management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010597748.XA CN111752590A (en) 2020-06-28 2020-06-28 Operation and maintenance management method and system

Publications (1)

Publication Number Publication Date
CN111752590A true CN111752590A (en) 2020-10-09

Family

ID=72677570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010597748.XA Pending CN111752590A (en) 2020-06-28 2020-06-28 Operation and maintenance management method and system

Country Status (1)

Country Link
CN (1) CN111752590A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016023268A1 (en) * 2014-08-13 2016-02-18 中兴通讯股份有限公司 Centralized operation and maintenance method and apparatus and storage medium
CN109150595A (en) * 2018-08-08 2019-01-04 郑州市景安网络科技股份有限公司 A kind of network O&M instruction method for pushing
CN110941440A (en) * 2019-10-31 2020-03-31 北京浪潮数据技术有限公司 Batch updating method, device and equipment for virtual machines and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016023268A1 (en) * 2014-08-13 2016-02-18 中兴通讯股份有限公司 Centralized operation and maintenance method and apparatus and storage medium
CN109150595A (en) * 2018-08-08 2019-01-04 郑州市景安网络科技股份有限公司 A kind of network O&M instruction method for pushing
CN110941440A (en) * 2019-10-31 2020-03-31 北京浪潮数据技术有限公司 Batch updating method, device and equipment for virtual machines and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈衍鹏: "基于Linux操作系统的批量管理工具", 《微型电脑应用》 *

Similar Documents

Publication Publication Date Title
CN108683679B (en) Multi-account login method, device, equipment and storage medium of Web APP
CN109543891B (en) Method and apparatus for establishing capacity prediction model, and computer-readable storage medium
CN112039900B (en) Network security risk detection method, system, computer device and storage medium
CN110932918B (en) Log data acquisition method and device and storage medium
CN111352851A (en) Program testing method and device, computer equipment and storage medium
CN112035344A (en) Multi-scenario test method, device, equipment and computer readable storage medium
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
US20160284013A1 (en) Order processing system and order processing method
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
CN107402878B (en) Test method and device
CN115617780A (en) Data import method, device, equipment and storage medium
CN112416648A (en) Data verification method and device
CN112988600A (en) Service scene testing method and device, electronic equipment and storage medium
CN112561690A (en) Method, system, equipment and storage medium for testing credit card staging service interface
CN112433935A (en) Test method, test device, electronic equipment and storage medium
CN110134546B (en) Batch restarting windows system method, electronic device and storage medium
CN111752590A (en) Operation and maintenance management method and system
CN110287182B (en) Big data comparison method, device, equipment and terminal
CN112417324A (en) Chrome-based URL (Uniform resource locator) interception method and device and computer equipment
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN112417012A (en) Data processing method and system
CN108415922B (en) Database modification method and application server
CN113568682B (en) Rule data verification method, device, computer equipment and storage medium
CN114969537A (en) Electronic pushing method, system, device and storage medium for job hunting resume
CN111405124A (en) Automatic transfer test method based on short message and outbound call and related equipment thereof

Legal Events

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

Application publication date: 20201009