CN112988482A - Server operation management method, device, terminal, server and storage medium - Google Patents

Server operation management method, device, terminal, server and storage medium Download PDF

Info

Publication number
CN112988482A
CN112988482A CN202110184426.7A CN202110184426A CN112988482A CN 112988482 A CN112988482 A CN 112988482A CN 202110184426 A CN202110184426 A CN 202110184426A CN 112988482 A CN112988482 A CN 112988482A
Authority
CN
China
Prior art keywords
server
execution
target server
command execution
path
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
Application number
CN202110184426.7A
Other languages
Chinese (zh)
Other versions
CN112988482B (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110184426.7A priority Critical patent/CN112988482B/en
Publication of CN112988482A publication Critical patent/CN112988482A/en
Application granted granted Critical
Publication of CN112988482B publication Critical patent/CN112988482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • 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/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a server operation management method, a device, a terminal, a server and a storage medium, wherein the server operation management method is applied to the terminal, the terminal is deployed with an application for server operation management, and the terminal provides a graphical user interface when running the application, and comprises the following steps: displaying a plurality of candidate servers on a graphical user interface; responding to a first selection operation acted on the graphical user interface, determining a target server corresponding to the first selection operation from the plurality of candidate servers, and displaying an operation interface corresponding to the target server; responding to an execution request acting on the operation interface, generating a command execution path of the target server, and sending the command execution path to the target server; and receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path. According to the scheme, the time spent in the process of building the server and searching various operation instructions in the test process can be reduced.

Description

Server operation management method, device, terminal, server and storage medium
Technical Field
The application relates to the technical field of computers, in particular to a server operation management method, a device, a terminal, a server and a storage medium.
Background
Due to the need for game testing, users often need to build a game suit server themselves. By building the game server, the game data can be modified at will, the game environment can be modified, and other users are not affected. For example, when a user has modification requirements such as modification time and global configuration modification, the modification requirements can be realized through a server built by the user. However, in practical application, it is impossible that each user has code authority to realize the process of building the server by himself, and each user cannot know the operation instruction of the server. In the game testing process, when a user builds a server and searches for various operation instructions, a large amount of time is needed, and the testing efficiency is low.
Accordingly, there is a need in the art for improvements.
Disclosure of Invention
The embodiment of the application provides a server operation management method, a server operation management device, a terminal, a server and a storage medium, so that time spent in building the server and searching various operation instructions in a test process can be reduced, and test efficiency is improved.
An embodiment of the present application provides a server operation management method, where the server operation management method is applied to a terminal, the terminal deploys an application for server operation management, and the terminal provides a graphical user interface when running the application, and the method includes:
displaying a plurality of candidate servers on the graphical user interface;
responding to a first selection operation acted on the graphical user interface, determining a target server corresponding to the first selection operation from the candidate servers, and displaying an operation interface corresponding to the target server;
responding to an execution request acting on the operation interface, generating a command execution path of the target server, and sending the command execution path to the target server;
and receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path.
In an optional embodiment, before displaying the plurality of candidate servers on the graphical user interface, the method further comprises:
presetting operation information to be executed of each candidate server, wherein the operation information to be executed comprises a plurality of operations to be executed;
setting available instructions corresponding to the plurality of operations to be executed;
and setting an instruction configuration corresponding to the available instruction, wherein the instruction configuration comprises an execution directory of the available instruction and a target object corresponding to the available instruction.
In an optional embodiment, after the determining, in response to the first selection operation acting on the graphical user interface, a target server corresponding to the first selection operation from the plurality of candidate servers, the method further includes:
responding to touch operation of a file editing control corresponding to the target server to generate a file editing window;
responding to a second selection operation acted on the file editing window, and determining a target file corresponding to the second selection operation from a plurality of files displayed on the file editing window;
sending an acquisition instruction of a file command execution path of the target file to the target server;
and receiving a file execution log generated by the target server executing the file command execution path.
The embodiment of the application provides another server operation management method, which comprises the following steps:
acquiring a command execution path of a target server, wherein a parameter placeholder of an operation to be executed is arranged in the command execution path;
acquiring the actual parameters of the operation to be executed, and replacing the parameters in the parameter placeholders with the actual parameters;
setting the working state of the target server as an execution state;
and executing the command execution path and generating an execution log for executing the command execution path.
In an optional embodiment, the obtaining the command execution path of the target server includes:
acquiring a file path of the target server and the instruction configuration of the operation to be executed;
and generating the target server path according to the file path of the target server, and generating the operation path to be executed according to the instruction configuration corresponding to the operation to be executed.
In an optional embodiment, after obtaining the command execution path of the target server, the method further includes:
judging whether the command execution path exists or not;
and if the command execution path does not exist, generating error-reporting prompt information.
In an optional embodiment, after setting the working state of the target server to the execution state, the method further includes:
and generating an execution notice based on the execution state, and sending the execution notice to a target object.
In an optional embodiment, the executing the command execution path and generating an execution log executing the command execution path includes:
executing the command execution path by a target process;
starting a corresponding process according to the command execution path, and recording a process identifier of the process, wherein the command execution path corresponds to the process one by one;
recording the execution process of the process through the execution log, and sending the execution process in the execution log to a terminal corresponding to the target server.
In an optional embodiment, after the executing the command execution path and generating the execution log of executing the command execution path, the method further includes:
closing the process and clearing the process identifier corresponding to the process;
recording the closing process of the process into the execution log.
In an optional embodiment, the executing the command execution path and generating an execution log executing the command execution path includes:
judging whether the execution process of executing the command execution path reports errors or not;
if the execution process of executing the command execution path is not in error, generating an execution success notification, sending the execution success notification to the target object, and resetting the state of the target server; or
If the execution process of executing the command execution path has an error, generating an execution failure notification, sending the execution failure notification to the specified user, and resetting the state of the target server.
An embodiment of the present application further provides a server operation management device, where the server operation management device includes:
a display unit for displaying a plurality of candidate servers on the graphical user interface;
a determining unit, configured to determine, in response to a first selection operation acting on the image user interface, a target server corresponding to the first selection operation from among the plurality of candidate servers, and display an operation interface corresponding to the target server;
the generating unit is used for responding to an execution request acted on the operation interface, generating a command execution path of the target server and sending the command execution path to the target server;
and the receiving unit is used for receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path.
An embodiment of the present application further provides another server operation management apparatus, where the server operation management apparatus includes:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a command execution path of a target server, and a parameter placeholder of an operation to be executed is arranged in the command execution path;
the input unit is used for acquiring the actual parameters of the operation to be executed and replacing the parameters in the parameter placeholders with the actual parameters;
the setting unit is used for setting the working state of the target server as an execution state;
and the execution unit is used for executing the command execution path and generating an execution log for executing the command execution path.
The embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the server operation management method when executing the computer program.
The embodiment of the present application further provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above server operation management method when executing the computer program.
The embodiment of the present application also provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the server operation management method as described above.
The embodiment of the application provides a server operation management method, a server operation management device, a terminal, a server and a storage medium, which are applied to the terminal, wherein the terminal is deployed with an application for server operation management, and the terminal provides a graphical user interface when running the application, and the method comprises the following steps: displaying a plurality of candidate servers on the graphical user interface; responding to a first selection operation acted on the graphical user interface, determining a target server corresponding to the first selection operation from the candidate servers, and displaying an operation interface corresponding to the target server; responding to an execution request acting on the operation interface, generating a command execution path of the target server, and sending the command execution path to the target server; and receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path. Therefore, the target server can be selected from the servers displayed on the operation interface, the target server can be called based on relevant operation on the target server, the testing efficiency is improved, and the communication cost is reduced through information display and timely message notification of the graphical user interface.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of a server operation management method according to an embodiment of the present application;
fig. 2 is a flowchart of a server operation management method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a graphical user interface of a service operation management application provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an operation interface edited by a server according to an embodiment of the present application;
fig. 5 is a schematic flowchart of an operation interface for instruction editing according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an occupancy scenario provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a notification display provided by an embodiment of the present application;
fig. 8 is a schematic view of an operation interface corresponding to a target server according to an embodiment of the present disclosure;
FIG. 9 is a diagram illustrating a remote file editing function provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of an execution log provided by an embodiment of the present application;
fig. 11 is a schematic flowchart of another server operation management method provided in the embodiment of the present application;
fig. 12 is a schematic workflow diagram of a server operation management method according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a server operation management apparatus according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of another server operation management apparatus according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 16 is a schematic structural diagram of a terminal according to an embodiment of the present application;
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
The embodiment of the application provides a server operation management method, a server operation management device, a terminal, a server and a storage medium. Specifically, the present embodiment provides a server operation management method applicable to a server operation management apparatus that can be integrated in a computer device.
The computer device may be a terminal or other device, such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, or other device.
The computer device may also be a device such as a server, and the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform, but is not limited thereto.
In this embodiment, the computer device may be a server, and may be configured to: acquiring a command execution path of a target server, wherein a parameter placeholder of an operation to be executed is arranged in the command execution path; acquiring the actual parameters of the operation to be executed, and replacing the parameters in the parameter placeholders with the actual parameters; setting the working state of the target server as an execution state; and executing the command execution path and generating an execution log for executing the command execution path.
In this embodiment, the computer device may be a terminal, and may be configured to: displaying a plurality of candidate servers on the graphical user interface; responding to a first selection operation acted on the graphical user interface, determining a target server corresponding to the first selection operation from the candidate servers, and displaying an operation interface corresponding to the target server; responding to an execution request acting on the operation interface, generating a command execution path of the target server, and sending the command execution path to the target server; and receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path.
In this embodiment, the server operation management tool needs to be deployed on a server (such as the server 20 in fig. 1), and a user may interact with the server 20 through the terminal 10. The terminal 10 may be integrated with a client, and a user may interact with the server through the client on the terminal, or the user may log in a web page provided by the server through the terminal 10 and interact with the server through the web page.
The terminal 10 and the server 20 are connected via a network, such as a wired or wireless network connection.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiments of the present application will be described from the perspective of a server operation management apparatus, which may be specifically integrated in a computer device.
An embodiment of the present application provides a server operation management method, where the server operation management method of the present embodiment is applied to a terminal, the terminal is deployed with an application for server operation management, and the terminal provides a graphical user interface when running the application, as shown in fig. 2, a flow of the server operation management method of the present embodiment may be as follows:
201. displaying a plurality of candidate servers on the graphical user interface.
In the embodiment of the present application, each candidate server is deployed with a server operation management tool, and a terminal portion corresponding to a plurality of candidate servers is deployed with an application for server operation management, and when the terminal runs a service operation management application, a graphical user interface is displayed on the terminal, as shown in fig. 3, where fig. 3 is a graphical user interface schematic diagram of a service operation management application provided in the present application. Referring to fig. 3, in the graphical user interface, a plurality of candidate servers and identification information corresponding to each candidate server are displayed, where the identification information may include information such as names, occupation statuses, server times, code versions, code branches, file editing controls corresponding to the candidate servers, and execution operation controls corresponding to the candidate servers. As shown in fig. 3, the header of each column is the name of the information displayed in the column, and the head is a status bar, which identifies whether the candidate server is executing or not, for example, a smiley face symbol in the status bar in fig. 3, identifies whether the candidate server is executing or not; other column information such as name, code branch, code version, etc. may also be apparent on the header.
Before a graphical user interface of the terminal displays a plurality of candidate servers, a user can perform add-delete-modify operations on the candidate servers and perform add-delete-modify operations on instructions of the candidate servers, wherein the user refers to an administrator or an object needing to perform operations on a target server. For the add/delete modification operation of the candidate server, namely server editing, the information such as a code path, a code branch, an available instruction list and the like is mainly edited. The method comprises the steps that a user presets operation information to be executed corresponding to each candidate server, the operation information to be executed comprises a plurality of operations to be executed, and a plurality of available instructions corresponding to the operations to be executed are set. For example, a user may input a corresponding operation request through a control of the new server or a control of the editing server shown in fig. 3, and the terminal responds to the operation request of the new server or the operation request of the editing server input by the user to perform an add/delete operation on the candidate server and perform an add/delete operation on an instruction of the candidate server. The user can conveniently manage the server, and can add, delete and modify the server and add, delete and modify the operation instruction at any time.
Referring to fig. 4, fig. 4 is a schematic view of an operation interface for server editing according to the present application. Each operation to be executed corresponds to an operation instruction, and a user can check and set an available instruction corresponding to each operation to be executed. As shown in fig. 4, it can be known that, taking the server with the server name trunk as an example, the operation instruction corresponding to the server operation includes modifying the server time, resetting the server time, updating the weather, and running from the point, and the available instruction corresponding to the server operation in fig. 4 is the operation instruction of modifying the server time, resetting the server time, and updating the weather, and the running from the point is not checked. The user can set an available instruction corresponding to each operation to be executed according to the requirement. After all available instructions of the operation to be executed are selected and set, and other information such as the name, the code branch, the code directory and the like of the server are set, the storage button is clicked, and the editing operation of the server is completed.
For the operation of adding, deleting and modifying the instructions of the candidate server, namely instruction editing, the method mainly edits the instruction configuration corresponding to the instructions, and comprises an execution directory of the editing instructions and target objects corresponding to the instructions. The target object corresponding to the instruction refers to an object which needs to be notified after the instruction is executed, and may be a designated user or a designated group. Referring to fig. 5, fig. 5 is a schematic view of an operation interface for instruction editing according to the present application. As can be seen from fig. 5, the left side displays various operations to be performed and a corresponding available instruction list, and the right side displays instruction configuration information of selected available instructions that need to be edited. Taking the selected instruction name in fig. 5 as the name _ server service open server as an example, the instruction configuration information includes the instruction name, the instruction type, the notification object corresponding to the instruction, the execution path, the execution command, and the like.
Wherein each candidate server is occupied by default before use; and for the occupied servers, the names of the occupied users can be displayed, and each server can be occupied by only one user and is exclusively used when the server is operated. As shown in fig. 6, fig. 6 is a schematic view of an occupancy situation provided by the present application.
In order to support the situation of multiple servers, a host field is added when a server (server) is configured, so that a server operation management tool can be set on the multiple servers, and a server operation management entry of the current server is filtered through different hosts. Each host can be regarded as a site above the server, and the sites visited can be distinguished by different hosts.
In the embodiment of the application, the application for the server operation management further has an automatic occupation cleaning function and a reservation function. Because the design needs to preempt the target server to continue executing the related instructions, an automatic occupation clearing function and a reservation function are also designed, and the specific operation details comprise:
(1) the method comprises the steps that reservation queue information can be displayed on a graphical user interface during reservation, wherein the reservation queue information comprises user information currently queued for reservation; if the currently selected target server is not occupied by people and no people reserve, the user can click the reservation control to occupy the target server;
(2) in order to reduce unnecessary queuing time, when the target server is occupied for the reserved occupation time (for example, the reserved occupation time is half an hour), the reservation function cannot be started, and the terminal can display the reserved time on a pop-up window on a graphical user interface;
(3) when the target server is unoccupied, sending reservation prompting information to a terminal used by a first user in a current reservation queue, presetting reservation time, when the reservation time reaches the preset reservation time and selection operation of selecting the target server and sent from the terminal used by the first user is not received, removing the first user from the queue, and continuously sending the reservation prompting information to the terminal used by the first user in the new reservation queue until the queue is empty. For example, if the preset retention time is 5 minutes, the first user is retained for 5 minutes, and if the first user is not occupied during the retention time, the first user is removed from the queue and the first user in the queue is notified until the queue is empty (using recursion);
(4) in order to avoid excessive reservation, the number of reservation servers of each user is limited, for example, if the number of reservation servers is set to be two, each user can only reserve two servers; and limit the reservation duration of each user, for example, setting the reservation duration to be half an hour, when the reservation duration of the user exceeds half an hour, the user will be moved out of the reservation queue, and after the user is moved out of the reservation queue, information prompting to move out of the queue will be sent to the terminal used by the user (a global dictionary can be circularly checked by opening a sub-thread, in which the reservation time of each user to the server is recorded);
(5) setting a forced occupation function in idle, for example, setting nine night hours later and weekend idle, on the basis of the above rules, the user can communicate with the current occupant of the target server after the reservation is successful, and after the preset waiting time (for example, the preset waiting time is 10 minutes), the user sends a notification to the terminal used by the user: the server can be forced at the moment, and the user can force the server to be forced (the occupant has no response) according to the communication condition, wait or cancel the reservation.
The server reservation occupation time, the preset reservation time, the reservation server number, the reservation duration, the idle time setting, the preset waiting time and the like are all examples, and the server reservation occupation time, the preset reservation duration, the idle time setting, the preset waiting time and the like are not limited by the application and can be flexibly set according to actual conditions. The user can be notified by using a pop notification, the pop notification is an im notification of the internet, and if the interface allows, other ims can be realized, such as some short message push platforms, wechat public number messages and the like; mail notification may also be done, mail messages sent in python, etc. Referring to fig. 7, fig. 7 is a schematic diagram of a notification display provided in the present application.
202. And responding to a first selection operation acted on the graphical user interface, determining a target server corresponding to the first selection operation from the candidate servers, and displaying an operation interface corresponding to the target server.
In the embodiment of the application, a user operates on a graphical user interface, and selects a server which needs to be operated to be executed as a target server. And the terminal responds to the first selection operation acted on the graphical user interface, determines a target server corresponding to the first selection operation of the user from the displayed plurality of candidate servers, and displays an operation interface corresponding to the target server on the terminal. That is, after the user selects the target server that needs to execute the operation to be executed, the user can enter the server to execute all the instructions that the server can operate.
As shown in fig. 8, fig. 8 is a schematic view of an operation interface corresponding to a target server provided by the present application. Referring to fig. 8, fig. 8 uses a server with a server name qa as a target server, that is, the operation interface shown in fig. 8 is an operation interface corresponding to the server qa. The left side of the operation interface displays various operations to be executed, the next level of each operation to be executed corresponds to an available operation instruction, and the right side of the operation interface displays corresponding instruction configuration information after a certain operation instruction is selected. As can be seen from fig. 8, the server operation is a type of operation to be executed, and the server operation corresponds to three available operation instructions, i.e., modify server time, reset server time, and qa clear. As shown in fig. 8, the operation instruction for modifying the server time is selected in fig. 8, that is, the instruction configuration information corresponding to the operation instruction for modifying the server time is displayed on the right side of the operation interface, and the instruction configuration information includes information such as an instruction name, an instruction type, an instruction notification object, an instruction execution path, and an instruction execution command. The operation interface also comprises a new instruction button and an edit instruction button, and the new instruction or the edit instruction operation is carried out when the corresponding button is selected. The operation interface also comprises an execution button, and after the corresponding parameters are modified, the execution button is clicked to execute the corresponding operation.
Optionally, in some embodiments, the terminal further has a remote file editing function. Each candidate server of the graphical user interface shown in fig. 3 corresponds to a file editing control, and after the user selects the target server, the user clicks the file editing control corresponding to the target server, and the terminal responds to the touch operation acting on the file editing control corresponding to the target server, and generates a file editing window. Referring to fig. 9, fig. 9 is a schematic diagram illustrating a remote file editing function according to the present application. As shown in fig. 9, folders under a path corresponding to a current server (target server) are shown on the left side, where the folders in fig. 9 include code, setup, deployment, servers, and the like, and a next-level file can be expanded by clicking the folders; the text content in the selected target file is displayed on the right. After a user selects a target file (only supporting editing of a text file with a designated suffix), for example, the target file selected in fig. 9 is check _ start _ done.sh, a terminal responds to a second selection operation acting on a file editing window, determines a target file corresponding to the second selection operation from a plurality of files displayed on the file editing window, sends an acquisition instruction of a file command execution path of the target file to a target server, that is, the terminal sends a cmd character string for acquiring the current file path, the target server executes the instruction after receiving the instruction, reads text contents in the target file line by line, finishes reading and generates a file execution log for executing the file command execution path, and a terminal device receives a file execution log output by the target server and displays the file execution log in the window. The target file corresponds to the second selection operation of the user, the file execution log is an execution log generated by executing the file command execution path in the target file, the execution log is displayed on the right side of the remote editing window, the specific content output in the file execution log is shown in fig. 10, and the operation instruction executed by the target server can be obtained.
203. And responding to an execution request acted on the operation interface, generating a command execution path of the target server, and sending the command execution path to the target server.
In the embodiment of the application, after a user selects a target server and enters an operation interface of the target server, the user sets an operation to be executed on the target server, namely, a modification parameter of a set instruction is input in an instruction command execution column of the operation interface to form an execution request of the user, a terminal responds to the execution request acting on the operation interface, generates a command execution path of the target server according to the execution request of the user, and sends the command execution path to the target server.
204. And receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path.
In the embodiment of the application, after receiving the command execution path, the target server executes the command execution path and generates a corresponding execution log, and the terminal receives the execution log output by the target server and displays the execution log on an interface of the terminal. And the target server executes the execution process of the command execution path to generate an execution log, and sends the execution log to the terminal for printing in real time, so that the user can know the real-time progress of the operation of the target server according to the real-time printing execution log. As shown in fig. 10, fig. 10 is a schematic diagram of an execution log provided in the present application.
As shown in fig. 11, the flow of another server operation management method provided in this embodiment may be as follows:
111. and acquiring a command execution path of the target server, wherein the command execution path is provided with a parameter placeholder for an operation to be executed.
In the embodiment of the application, a command execution path of a target server transmitted by a terminal page is acquired, the command execution path comprises a target server path and an operation path to be executed, a file path of the target server and an instruction configuration of the operation to be executed are acquired, the target server path is generated according to the file path of the target server, and the operation path to be executed is generated according to the instruction configuration of the operation to be executed. Taking server1 as an example of a target server, for example, the path where server1 is located is/home/data/server 1; taking "update server" as an available instruction to perform an operation as an example, for example, the relative path of the instruction configuration of the current "update server" is/default/; then, finally, on the operation interface of the terminal, the content input in the execution instruction is spliced together according to the two paths to serve as a path for the final command execution, the path finally executed according to the above example is/home/data/server 1/download/, the path finally executed by the operation to be executed acquired by the target server1 is/home/data/server 1/download/, and the subsequent execution instruction is executed under the directory.
The command execution path is provided with parameter placeholders to be operated, the parameter placeholders are special placeholders, parameters can be modified during execution, actual parameters to be modified are input in an operation interface of the terminal, and the target server can replace the actual parameters into the parameter placeholders. The placeholder is set in a format of two percentile% or two dollar sign $ packages in front and back, and a parameter name is filled in the middle, for example, when the command echo% var 1% is executed, namely, a parameter of var1 needs to be executed, and the actual value input by the user, for example, the input 123, is processed into echo 123 as the final actual executed command. The placeholder setting format is not limited in the present application, and the above setting format is only an example. In addition, the actual parameters include default parameters and custom parameters. Wherein the default parameters include: the current time of the system, WD, an actual execution directory, namely a server code directory and an execution directory; the custom parameter includes at least one of a date format, a file name, and uploaded file information, and for example, the custom parameter includes: % time% date format,% file% file uploaded file, file will upload to the execution path, and file name will be preserved.
After the command execution path of the target server is acquired, whether the acquired command execution path exists is judged, if the command execution path exists, the following steps are continued, and if the command execution path does not exist, error notification prompt information is generated.
112. And acquiring the actual parameters of the operation to be executed, and replacing the parameters in the parameter placeholders with the actual parameters.
In the embodiment of the application, after the acquired command execution path exists, according to the operation to be executed input by the user on the operation interface of the terminal, the actual parameter of the operation to be executed is acquired, and the actual parameter is input into the parameter placeholder of the command execution path, that is, the parameter in the parameter placeholder is replaced by the actual parameter.
113. And setting the working state of the target server as an execution state.
In the embodiment of the present application, after replacing the parameter in the parameter placeholder of the command execution path with the actual parameter, the operating state of the target server is set to the execution state, for example, the state of the target server is set to 1. And after the setting of the working state of the target server is finished, generating an execution notice based on the execution state, and sending the execution notice to a target object, wherein the target object refers to a set specified user or group chat.
114. And executing the command execution path and generating an execution log for executing the command execution path.
In the embodiment of the application, the server executes the acquired command execution path, wherein the command can be executed in a process mode, that is, the command execution path is executed through a target process, a corresponding process is started according to the acquired command execution path, Process Identifiers (PID) corresponding to the processes are recorded, and the command execution path corresponds to the processes one to one. Wherein, the PID (process identification) refers to the process identification number, i.e. the process identifier, and each program opened in the operating system creates a process ID, i.e. PID.
Sub-process(s) modules can be used, the sub-process being a library (also called module) of python itself, the sub-process modules allowing the generation of new processes, connecting their input, output, error pipes, and getting their return codes; the method mainly uses the supprocesses Popen function, firstly inputs the supprocesses in the project of the user, and then calls the supprocesses Popen function according to the parameter requirement at the required place. Alternatively, rather than using sub-processes, independent process objects may be created directly. The Python self-contained creation process has several methods: and (4) process: process; and (3) a sub-process: (ii) supprocesses; background process of independent host process: fork (). The first process scheme can also be a sub-process or an independent background process, and parameter control can be performed during creation; the third solution is an independent background process.
In the embodiment of the application, the server executes the acquired command execution path and generates an execution log for executing the command execution path. And transmitting the output in the process execution process to a terminal corresponding to the target server in real time in a websocket mode for display. After the execution log of the execution path of the execution command is generated and the execution is finished, the process is closed, the process identifier corresponding to the process is cleared, and the closing process of the process is recorded into the execution log. A websocket is a computer communication protocol that provides full-duplex (two-way communication) communication channels over a single TCP connection, and the websocket's Application Program Interface (API) enables two-way communication between a user's browser and a server, where a user can send messages to the server and receive event-driven responses, without polling the server, and where multiple users can connect to the same real-time server, communicate through the API, and obtain responses immediately.
Judging whether the execution process of the execution path of the execution command reports errors or not, if the execution process of the execution path of the execution command does not report errors, generating an execution success notification, sending the execution success notification to the target object, and resetting the state of the target server, wherein the working state of the target server can be set to 0; or if the execution process of the execution path of the execution command has an error, generating an execution failure notification, sending the execution failure notification to the target object, and resetting the state of the target server.
In the embodiment of the application, the server operation management device is deployed on the same machine with the server, different folders are created on the machine through different methods to represent different servers, each folder is provided with a separate configuration file, the configuration files in the folders correspond to operation instructions of the server respectively, the operation instructions of the server are simplified, and the operation instructions are in the folders, so that a large amount of time spent in building the server and searching various operation instructions in the test process is reduced, and the test efficiency is improved. By selecting the appointed server and executing the operation instruction in the folder where the appointed server is located, the effect is acted in the folder, and therefore mutual isolation of operations is achieved, namely the operations of the servers are independent and do not interfere with each other.
All commands are finally converted into a local shell script to be executed, and the most core flow of executing the shell script is shown in fig. 12. Referring to fig. 12, fig. 12 is a schematic view of a work flow of a server operation management method provided in the present application. As shown in fig. 12, the target server splices out a command execution path according to incoming data, where the incoming data includes a file path of the server and an instruction configuration of an operation to be performed. If the command execution path does not exist, an error is reported to indicate that the path does not exist. If the command execution path exists, the following steps are continued. Inputting actual parameters into the parameter placeholders, replacing the original parameter setting in the command execution path, setting the working state of the target server to be 1, namely the execution state, sending a notification of an execution instruction to a specified user or group chat, calling a subprocess library, executing the command in a subprocess mode, and simultaneously recording the PID of the subprocess, thereby facilitating the user to stop the operation at any time. And transmitting the output in the execution process of the subprocess to a corresponding terminal for display in real time. And closing the sub-process after the execution is finished, recording an execution log, and clearing the execution state of the server and the PID of the sub-process. Judging whether the execution process of the execution path of the execution command is reported by mistake, if the execution process of the execution path of the execution command is not reported by mistake, generating an execution success notification, sending the execution success notification to a specified user or group chat, and resetting the state of the target server to be 0; or if the execution process of the execution path of the execution command has an error, generating an execution failure notification, sending the execution failure notification to a specified user or group chat, and resetting the state of the target server.
In order to better implement the method, correspondingly, the embodiment of the application also provides a server operation management device, and the server operation management device can be specifically integrated in a computer device, for example, in the form of a terminal.
Referring to fig. 13, the server operation management apparatus includes a display unit 131, a determination unit 132, a generation unit 133, and a reception unit 134 as follows:
a display unit for displaying a plurality of candidate servers on the graphical user interface;
a determining unit, configured to determine, in response to a first selection operation acting on the graphical user interface, a target server corresponding to the first selection operation from among the plurality of candidate servers, and display an operation interface corresponding to the target server;
the generating unit is used for responding to an execution request acted on the operation interface, generating a command execution path of the target server and sending the command execution path to the target server;
and the receiving unit is used for receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path.
In an optional embodiment, the display unit is further configured to:
presetting operation information to be executed of each candidate server, wherein the operation information to be executed comprises a plurality of operations to be executed;
setting available instructions corresponding to the plurality of operations to be executed;
and setting an instruction configuration corresponding to the available instruction, wherein the instruction configuration comprises an execution directory of the available instruction and a target object corresponding to the available instruction.
In an optional embodiment, the determining unit is further configured to:
responding to touch operation of a file editing control corresponding to the target server to generate a file editing window;
responding to a second selection operation acted on the file editing window, and determining a target file corresponding to the second selection operation from a plurality of files displayed on the file editing window;
sending an acquisition instruction of a file command execution path of the target file to the target server;
and receiving a file execution log generated by the target server executing the file command execution path.
In order to better implement the method, correspondingly, the embodiment of the application also provides another server operation management device, and the server operation management device can be specifically integrated in the server.
Referring to fig. 14, the server operation management apparatus includes an acquisition unit 141, an input unit 142, a setting unit 143, and an execution unit 144, as follows:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a command execution path of a target server, and a parameter placeholder of an operation to be executed is arranged in the command execution path;
the input unit is used for acquiring the actual parameters of the operation to be executed and replacing the parameters in the parameter placeholders with the actual parameters;
the setting unit is used for setting the working state of the target server as an execution state;
and the execution unit is used for executing the command execution path and generating an execution log for executing the command execution path.
In an optional embodiment, the obtaining unit is further configured to:
acquiring a file path of the target server and the instruction configuration of the operation to be executed;
and generating the target server path according to the file path of the target server, and generating the operation path to be executed according to the instruction configuration corresponding to the operation to be executed.
In an optional embodiment, the obtaining unit is further configured to:
judging whether the command execution path exists or not;
and if the command execution path does not exist, generating error-reporting prompt information.
In an optional embodiment, the setting unit is further configured to: and generating an execution notice based on the execution state, and sending the execution notice to a target object.
In an optional embodiment, the execution unit is further configured to:
executing the command execution path by a target process;
starting a corresponding process according to the command execution path, and recording a process identifier of the process, wherein the command execution path corresponds to the process one by one;
recording the execution process of the process through the execution log, and sending the execution process in the execution log to a terminal corresponding to the target server.
In an optional embodiment, the execution unit is further configured to:
closing the process and clearing the process identifier corresponding to the process;
recording the closing process of the process into the execution log.
In an optional embodiment, the execution unit is further configured to:
judging whether the execution process of executing the command execution path reports errors or not;
if the execution process of executing the command execution path is not in error, generating an execution success notification, sending the execution success notification to the target object, and resetting the state of the target server; or
If the execution process of executing the command execution path has an error, generating an execution failure notification, sending the execution failure notification to the target object, and resetting the state of the target server.
Correspondingly, the embodiment of the application further provides a server, which may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service and the like. As shown in fig. 15, fig. 15 is a schematic structural diagram of a server according to an embodiment of the present application. The server 800 includes a processor 801 having one or more processing cores, a memory 802 having one or more computer-readable storage media, and a computer program stored on the memory 802 and executable on the processor. The processor 801 is electrically connected to the memory 802. Those skilled in the art will appreciate that the server architectures depicted in the figures are not meant to be limiting with respect to the servers, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 801 is a control center of the server 800, connects various parts of the entire server 800 using various interfaces and lines, performs various functions of the server 800 and processes data by running or loading software programs and/or modules stored in the memory 802, and calling data stored in the memory 802, thereby performing overall monitoring of the server 800.
In this embodiment, the processor 801 in the server 800 loads instructions corresponding to processes of one or more application programs into the memory 802, and the processor 801 executes the application programs stored in the memory 802 according to the following steps, so as to implement various functions:
acquiring a command execution path of a target server, wherein a parameter placeholder of an operation to be executed is arranged in the command execution path;
acquiring the actual parameters of the operation to be executed, and replacing the parameters in the parameter placeholders with the actual parameters;
setting the working state of the target server as an execution state;
and executing the command execution path and generating an execution log for executing the command execution path. The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Correspondingly, the embodiment of the present application further provides a terminal, where the terminal may be a Computer device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game console, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like. As shown in fig. 16, fig. 16 is a schematic structural diagram of a terminal 900 according to an embodiment of the present invention. The terminal 900 includes a processor 901 with one or more processing cores, memory 902 with one or more computer-readable storage media, and a computer program stored on the memory 902 and executable on the processor. The processor 901 is electrically connected to the memory 902. Those skilled in the art will appreciate that the terminal 900 configuration shown in the figures is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The processor 901 is a control center of the terminal 900, connects various parts of the entire terminal 900 by various interfaces and lines, performs various functions of the terminal 900 and processes data by running or loading software programs and/or modules stored in the memory 902 and calling data stored in the memory 902, thereby monitoring the entire terminal 900.
In this embodiment of the present application, the processor 901 in the terminal 900 loads instructions corresponding to processes of one or more application programs into the memory 902 according to the following steps, and the processor 901 runs the application programs stored in the memory 902, thereby implementing various functions:
displaying a plurality of candidate servers on the graphical user interface;
responding to a first selection operation acted on the graphical user interface, determining a target server corresponding to the first selection operation from the candidate servers, and displaying an operation interface corresponding to the target server;
responding to an execution request acting on the operation interface, generating a command execution path of the target server, and sending the command execution path to the target server;
and receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 16, the terminal 900 further includes: touch-sensitive display screen 903, radio frequency circuit 904, audio circuit 905, input unit 906 and power 907. The processor 901 is electrically connected to the touch display screen 903, the radio frequency circuit 904, the audio circuit 905, the input unit 906, and the power supply 907. Those skilled in the art will appreciate that the terminal structure shown in fig. 16 is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The touch screen 903 may be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 903 may include a display panel and a touch panel. Among other things, the display panel may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 901, and can receive and execute commands sent by the processor 901. The touch panel may cover the display panel, and when the touch panel detects a touch operation on or near the touch panel, the touch panel transmits the touch operation to the processor 901 to determine the type of the touch event, and then the processor 901 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present invention, a touch panel and a display panel may be integrated into the touch display screen 903 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display 903 may also be used as a part of the input unit 906 to implement an input function.
The rf circuit 904 may be configured to transmit and receive rf signals to establish wireless communication with a network device or other terminals through wireless communication, and transmit and receive signals with the network device or other terminals.
The audio circuit 905 may be used to provide an audio interface between the user and the terminal through a speaker, microphone. The audio circuit 905 can transmit the electrical signal converted from the received audio data to a loudspeaker, and the electrical signal is converted into a sound signal by the loudspeaker and output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 905 and converted into audio data, and the audio data is processed by the audio data output processor 901, and then transmitted to another terminal via the radio frequency circuit 904, or the audio data is output to the memory 902 for further processing. The audio circuitry 905 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
The input unit 906 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
Power supply 907 is used to provide power to the various components of terminal 900. Optionally, the power supply 907 may be logically connected to the processor 901 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. Power supply 907 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 16, the terminal 900 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, where the computer programs can be loaded by a processor to execute the steps in any server operation management method provided in the present application. For example, the computer program may perform the steps of:
displaying a plurality of candidate servers on the graphical user interface;
responding to a first selection operation acted on the graphical user interface, determining a target server corresponding to the first selection operation from the candidate servers, and displaying an operation interface corresponding to the target server;
responding to an execution request acting on the operation interface, generating a command execution path of the target server, and sending the command execution path to the target server;
and receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path. And
acquiring a command execution path of a target server, wherein a parameter placeholder of an operation to be executed is arranged in the command execution path;
acquiring the actual parameters of the operation to be executed, and replacing the parameters in the parameter placeholders with the actual parameters;
setting the working state of the target server as an execution state;
and executing the command execution path and generating an execution log for executing the command execution path.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The server operation management method, device, terminal, server and storage medium provided by the embodiments of the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and implementation manner of the present application, and the description of the above embodiments is only used to help understanding the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (15)

1. A server operation management method is applied to a terminal, the terminal is deployed with an application for server operation management, and the terminal provides a graphical user interface when running the application, and is characterized by comprising the following steps:
displaying a plurality of candidate servers on the graphical user interface;
responding to a first selection operation acted on the graphical user interface, determining a target server corresponding to the first selection operation from the candidate servers, and displaying an operation interface corresponding to the target server;
responding to an execution request acting on the operation interface, generating a command execution path of the target server, and sending the command execution path to the target server;
and receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path.
2. The server operation management method according to claim 1, further comprising, before displaying a plurality of candidate servers on the graphical user interface:
presetting operation information to be executed of each candidate server, wherein the operation information to be executed comprises a plurality of operations to be executed;
setting available instructions corresponding to the plurality of operations to be executed;
and setting an instruction configuration corresponding to the available instruction, wherein the instruction configuration comprises an execution directory of the available instruction and a target object corresponding to the available instruction.
3. The server operation management method according to claim 1, further comprising, after determining a target server corresponding to a first selection operation from the plurality of candidate servers in response to the first selection operation acting on the graphical user interface, the method further comprising:
responding to touch operation of a file editing control corresponding to the target server to generate a file editing window;
responding to a second selection operation acted on the file editing window, and determining a target file corresponding to the second selection operation from a plurality of files displayed on the file editing window;
sending an acquisition instruction of a file command execution path of the target file to the target server;
and receiving a file execution log generated by the target server executing the file command execution path.
4. A server operation management method, comprising:
acquiring a command execution path of a target server, wherein a parameter placeholder of an operation to be executed is arranged in the command execution path;
acquiring the actual parameters of the operation to be executed, and replacing the parameters of the parameter placeholders with the actual parameters;
setting the working state of the target server as an execution state;
and executing the command execution path and generating an execution log for executing the command execution path.
5. The server operation management method according to claim 4, wherein the command execution path includes a target server path and an operation path to be executed, and the obtaining the command execution path of the target server includes:
acquiring a file path of the target server and the instruction configuration of the operation to be executed;
and generating the target server path according to the file path of the target server, and generating the operation path to be executed according to the instruction configuration corresponding to the operation to be executed.
6. The server operation management method according to claim 4, further comprising, after the obtaining of the command execution path of the target server:
judging whether the command execution path exists or not;
and if the command execution path does not exist, generating error-reporting prompt information.
7. The server operation management method according to claim 4, wherein after setting the operating state of the target server to the execution state, the method further comprises:
and generating an execution notice based on the execution state, and sending the execution notice to a target object.
8. The server operation management method according to claim 4, wherein the executing the command execution path and generating an execution log that executes the command execution path includes:
executing the command execution path by a target process;
starting a corresponding process according to the command execution path, and recording a process identifier of the process, wherein the command execution path corresponds to the process one by one;
recording the execution process of the process through the execution log, and sending the execution process in the execution log to a terminal corresponding to the target server.
9. The server operation management method according to claim 8, wherein after the executing the command execution path and generating an execution log for executing the command execution path, the method further comprises:
closing the process and clearing the process identifier corresponding to the process;
recording the closing process of the process into the execution log.
10. The server operation management method according to claim 4, wherein the executing the command execution path and generating an execution log that executes the command execution path includes:
judging whether the execution process of executing the command execution path reports errors or not;
if the execution process of executing the command execution path is not in error, generating an execution success notification, sending the execution success notification to the target object, and resetting the state of the target server; or
If the execution process of executing the command execution path has an error, generating an execution failure notification, sending the execution failure notification to the target object, and resetting the state of the target server.
11. A server operation management apparatus, characterized by comprising:
a display unit for displaying a plurality of candidate servers on the graphical user interface;
a determining unit, configured to determine, in response to a first selection operation acting on the image user interface, a target server corresponding to the first selection operation from among the plurality of candidate servers, and display an operation interface corresponding to the target server;
the generating unit is used for responding to an execution request acted on the operation interface, generating a command execution path of the target server and sending the command execution path to the target server;
and the receiving unit is used for receiving an execution log sent by the target server, wherein the execution log is generated after the target server executes the command execution path.
12. A server operation management apparatus, characterized by comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a command execution path of a target server, and a parameter placeholder of an operation to be executed is arranged in the command execution path;
the input unit is used for acquiring the actual parameters of the operation to be executed and replacing the parameters in the parameter placeholders with the actual parameters;
the setting unit is used for setting the working state of the target server as an execution state;
and the execution unit is used for executing the command execution path and generating an execution log for executing the command execution path.
13. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program performs the steps of the server operation management method according to any one of claims 1 to 3.
14. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program performs the steps of the server operation management method according to any one of claims 4 to 10.
15. A storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the server operation management method according to any one of claims 1 to 10.
CN202110184426.7A 2021-02-08 2021-02-08 Server operation management method, device, terminal, server and storage medium Active CN112988482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110184426.7A CN112988482B (en) 2021-02-08 2021-02-08 Server operation management method, device, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110184426.7A CN112988482B (en) 2021-02-08 2021-02-08 Server operation management method, device, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN112988482A true CN112988482A (en) 2021-06-18
CN112988482B CN112988482B (en) 2023-12-12

Family

ID=76393128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110184426.7A Active CN112988482B (en) 2021-02-08 2021-02-08 Server operation management method, device, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN112988482B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312111A (en) * 2021-06-25 2021-08-27 中国农业银行股份有限公司 Instruction processing method, device, equipment and storage medium
CN113630443A (en) * 2021-07-16 2021-11-09 深圳市元征未来汽车技术有限公司 Service management method, device, server and medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005010875A (en) * 2003-06-17 2005-01-13 Ricoh Co Ltd Method for operating file having configuration to be managed in software configuration management system and program for operating this file and computer-readable recording medium with this program recorded thereon
US7117259B1 (en) * 2000-03-03 2006-10-03 International Business Machines Corporation Server time window for multiple selectable servers in a graphical user interface
US20070214178A1 (en) * 2006-03-13 2007-09-13 Sheffler Thomas J Multi-project verification environment
CN102638486A (en) * 2011-02-15 2012-08-15 鸿富锦精密工业(深圳)有限公司 Log file processing system and method
US20130132461A1 (en) * 2011-11-20 2013-05-23 Bhupendra Mohanlal PATEL Terminal user-interface client for managing multiple servers in hybrid cloud environment
CN103744695A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 Method and system for operating system remote installation on basis of PXE
US20170168764A1 (en) * 2015-12-09 2017-06-15 Seiko Epson Corporation Control device, control method of a control device, server, and network system
CN107577469A (en) * 2017-08-21 2018-01-12 厦门悦讯教育科技有限公司 A kind of Software package method for release management
CN107992337A (en) * 2017-10-19 2018-05-04 用友网络科技股份有限公司 Method, the system of cross-system remote deployment operation system
CN108965480A (en) * 2018-09-07 2018-12-07 平安科技(深圳)有限公司 Cloud desktop login management-control method, device and computer readable storage medium
CN110162451A (en) * 2019-04-22 2019-08-23 腾讯科技(深圳)有限公司 A kind of method for analyzing performance, device, server and storage medium
CN110336695A (en) * 2019-06-21 2019-10-15 威富通科技有限公司 A kind of method and server of deployment and maintenance application
CN111800295A (en) * 2020-06-23 2020-10-20 四川虹美智能科技有限公司 Server audit management method, device and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7117259B1 (en) * 2000-03-03 2006-10-03 International Business Machines Corporation Server time window for multiple selectable servers in a graphical user interface
JP2005010875A (en) * 2003-06-17 2005-01-13 Ricoh Co Ltd Method for operating file having configuration to be managed in software configuration management system and program for operating this file and computer-readable recording medium with this program recorded thereon
US20070214178A1 (en) * 2006-03-13 2007-09-13 Sheffler Thomas J Multi-project verification environment
CN102638486A (en) * 2011-02-15 2012-08-15 鸿富锦精密工业(深圳)有限公司 Log file processing system and method
US20130132461A1 (en) * 2011-11-20 2013-05-23 Bhupendra Mohanlal PATEL Terminal user-interface client for managing multiple servers in hybrid cloud environment
CN103744695A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 Method and system for operating system remote installation on basis of PXE
US20170168764A1 (en) * 2015-12-09 2017-06-15 Seiko Epson Corporation Control device, control method of a control device, server, and network system
CN107577469A (en) * 2017-08-21 2018-01-12 厦门悦讯教育科技有限公司 A kind of Software package method for release management
CN107992337A (en) * 2017-10-19 2018-05-04 用友网络科技股份有限公司 Method, the system of cross-system remote deployment operation system
CN108965480A (en) * 2018-09-07 2018-12-07 平安科技(深圳)有限公司 Cloud desktop login management-control method, device and computer readable storage medium
CN110162451A (en) * 2019-04-22 2019-08-23 腾讯科技(深圳)有限公司 A kind of method for analyzing performance, device, server and storage medium
CN110336695A (en) * 2019-06-21 2019-10-15 威富通科技有限公司 A kind of method and server of deployment and maintenance application
CN111800295A (en) * 2020-06-23 2020-10-20 四川虹美智能科技有限公司 Server audit management method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312111A (en) * 2021-06-25 2021-08-27 中国农业银行股份有限公司 Instruction processing method, device, equipment and storage medium
CN113630443A (en) * 2021-07-16 2021-11-09 深圳市元征未来汽车技术有限公司 Service management method, device, server and medium

Also Published As

Publication number Publication date
CN112988482B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
US8422642B2 (en) Message system for conducting message
US20060206827A1 (en) Live graphical user interface builder
DE102015101223A1 (en) INFORMATION PROCESSING DEVICE AND CONTROL METHOD
CN112988482B (en) Server operation management method, device, terminal, server and storage medium
CN103365840A (en) Web-based screenshot taking method and device
CN112235303A (en) Account logout method and device and computer equipment
CN111914072A (en) Information interaction method, equipment and device
CN112260933A (en) Communication method, communication device, electronic equipment and medium
CN106686100A (en) Storage method and apparatus of registry information, and terminal
CN115801717A (en) Welcome language selection method, device, medium and equipment for chat tool
CN114466401B (en) Image transmission method and electronic equipment
CN115987786A (en) Configuration change method, system, terminal equipment and storage medium
CN109165197A (en) A kind of document handling method, terminal and server
CN111880996B (en) Bare metal data acquisition method, device, equipment and readable storage medium
CN113495952A (en) Information processing apparatus, control method therefor, and recording medium
CN116225286A (en) Page jump control method, operating system, electronic device and storage medium
US20240289001A1 (en) Information processing system, information processing apparatus, and information processing method
CN112215587B (en) Method, device and system for automatically executing business process interaction tasks by multiple devices
CN114385264A (en) Configuration method and device, background, electronic equipment and storage medium
CN114626494A (en) Information acquisition method, information acquisition device, information acquisition equipment, storage medium and program product
CN116228192A (en) Intelligent auxiliary maintenance method and system for vehicle and VR equipment
CN113868299A (en) Data processing method executed by rule engine and device of rule engine
CN117950773A (en) Popup management method, popup management system, electronic equipment, storage medium and vehicle
CN117539481A (en) Method and device for generating visual service operation console interface
CN115794568A (en) Application performance data acquisition method, device, equipment, medium and program product

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