CN107741895B - Server management method, device and equipment - Google Patents

Server management method, device and equipment Download PDF

Info

Publication number
CN107741895B
CN107741895B CN201711080285.4A CN201711080285A CN107741895B CN 107741895 B CN107741895 B CN 107741895B CN 201711080285 A CN201711080285 A CN 201711080285A CN 107741895 B CN107741895 B CN 107741895B
Authority
CN
China
Prior art keywords
server
management
item
module
page
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.)
Active
Application number
CN201711080285.4A
Other languages
Chinese (zh)
Other versions
CN107741895A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201711080285.4A priority Critical patent/CN107741895B/en
Publication of CN107741895A publication Critical patent/CN107741895A/en
Application granted granted Critical
Publication of CN107741895B publication Critical patent/CN107741895B/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/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display

Abstract

The invention discloses a server management method, a device and equipment, belonging to the technical field of computers.

Description

Server management method, device and equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a server management method, apparatus, and device.
Background
The Xshell is strong security terminal simulation software and supports the TE L NET protocols of SSH1(Secure Shell 1), SSH2(Secure Shell 1) and Microsoft Windows platform.
In the related art, a user opens an Xshell management page in a terminal provided with an Xshell, inputs a user name, a password and a server identifier in the page, logs in the server, and enters service directories in the server, wherein each service directory comprises operation commands of restarting, issuing, checking logs and clearing the logs, and the user inputs L inux commands to perform corresponding operations on the server.
The user needs to input L inux commands to perform the corresponding operations on the server, and cannot manage the server for users unfamiliar with L inux.
Disclosure of Invention
In order to solve the problem, embodiments of the present invention provide a server management method, apparatus and device. The technical scheme is as follows:
in a first aspect, a server management method is provided, where the method includes:
reading server information prestored in a database, wherein the server information comprises a server identifier of a server and each management item, and the management item is used for controlling the server to execute an operation;
displaying the server identification and the operation area of each management item in the server information in a page;
receiving a first operation signal acting on an operation area of one of the management items;
determining a management item corresponding to the operation area receiving the first operation signal;
and managing the server according to the management items.
In a second aspect, there is provided a server management apparatus, the apparatus comprising:
the reading module is used for reading server information prestored in a database, wherein the server information comprises a server identifier of a server and each management item, and the management item is used for controlling the server to execute an operation;
the display module is used for displaying the server identification and the operation area of each management item in the server information read by the reading module in a page;
the receiving module is used for receiving a first operation signal which acts on an operation area of one management item displayed by the display module;
the determining module is used for determining the management item corresponding to the operation area of the first operation signal received by the receiving module;
and the management module is used for managing the server according to the management items determined by the determination module.
In a third aspect, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the server management method according to the first aspect.
In a fourth aspect, a management device is provided, which includes a processor and a memory, where at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the server management method according to the first aspect.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
since the operation areas of the management items of the servers are directly displayed in the page, a user can directly perform operations such as clicking on the operation areas to manage the servers, the user is not required to be familiar with L inux commands, so that the user who is not familiar with L inux can also manage the servers, and the user is not required to log in each server to manage the servers, so that the management efficiency of the servers can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be 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 block diagram illustrating a server management system according to some exemplary embodiments;
FIG. 2 is a flowchart of a method of server management according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method of server management according to an embodiment of the present invention;
FIG. 4 is a schematic illustration of a page provided by one embodiment of the present invention;
FIG. 5 is a flowchart illustrating a server management method according to an embodiment of the present invention;
fig. 6 is a block diagram showing the configuration of a server management apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram showing the configuration of a server management apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram of a terminal provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic structural diagram of a server management system according to an embodiment of the present invention is shown. The server management system includes a management apparatus 110 and a server 120. The management apparatus 110 establishes a connection with the server 120 through a wired network or a wireless network.
The management device 110 may be a terminal device having a display screen. The management device 110 may include a front-end page and a background service, where the front-end page interacts with a user, presents a page to the user, and receives an operation signal triggered by the user; and the background service manages the server according to the operation of the user or feeds back the management result to the front-end page. In this embodiment, a front-end page and a background service are taken as examples for illustration, and in actual implementation, the management device 110 may be further divided into other modules to implement the above functions, which is not limited in this embodiment.
The server 120 is a server cluster or a cloud computing center that may be one server or a plurality of servers.
In the present invention, the management device 110 may manage the servers 13, and at this time, the number of the servers 120 is at least one, and fig. 1 illustrates only one management device 110 and two servers 120.
Referring to fig. 2, a flowchart of a method for managing a server according to an embodiment of the present invention is shown, where the method for managing a server may be applied to the management device 110 shown in fig. 1. The server management method comprises the following steps:
step 201, reading server information prestored in a database, where the server information includes a server identifier of the server and each management item, and the management item is used to control the server to execute an operation.
Step 202, the server identification in the server information and the operation area of each management item are shown in the page.
Step 203, receiving a first operation signal acting on an operation area of one of the management items.
Step 204, determining the management item corresponding to the operation area receiving the first operation signal.
And step 205, managing the server according to the management items.
In summary, according to the server management method provided by the embodiment of the present invention, since the operation area of each management item of the server is directly displayed in the page, the user can directly perform operations such as clicking on the operation area to manage the server, and the user not familiar with L inux commands is not required to manage the server, so that the user not familiar with L inux is not required to log in each server to manage the server, and the management efficiency of the server can be improved.
Referring to fig. 3, a flowchart of a method for managing a server according to an embodiment of the present invention is shown, where the method for managing a server can be applied to the management device 110 shown in fig. 1. The server management method comprises the following steps:
in step 301, a page is generated by using styles in a tool kit.
In one possible implementation, the toolkit is a bootstrap style, and the page may be generated by using the bootstrap style. The bootstrap style comprises a frame of a page and styles of various controls applied to the page, and the management device can assemble and quote the frame and the styles to generate the page.
When the management device includes a front-end page and a background service, the front-end page generates a page by using a style in the toolkit, and the implementation manner is described in detail in the above description.
Step 302, displaying the operation area of the function item in the page, wherein the function item is used for adding a server.
Wherein the function items are used for adding servers. That is, when the user triggers the operation region of the function item, the management apparatus is the item addition server. Referring to fig. 4, the operation area of the function item is the button of "add server".
When the management device includes a front-end page and a background service, the front-end page displays an operation area of the function item in the page, and the implementation manner is described in detail in the above description.
Step 303, receiving a second operation signal acting on the operation area of the function item.
When the operation region is a button, the second operation signal may be a click signal generated when the user clicks the button; when the operation area is the touch area, the second operation signal may be a sliding signal generated when the user slides on the touch area, and the like.
When the management device includes the front-end page and the background service, the front-end page receives a second operation signal that acts on the operation area of the function item, and the implementation manner is described in detail in the foregoing description.
And step 304, displaying the modal frame according to the second operation signal.
And when the management device receives the second operation signal, popping up a modal box on the page. Wherein the modality box includes a plurality of input boxes for a set of server information for collecting the set of server information. For example, the modality box includes an input box of a server identifier, an input box of a project name where the server is located, an input box of a project alias, an input box of an environment alias, an input box of an operator, an input box of an update status, an input box of a management item supported by the server, and the like, which is not limited in the embodiment. The server identifier may be an Internet Protocol (IP) address of the server, a Media Access Control (MAC) address, and the like.
The modal frame may be a modal floating layer, which is not limited in this embodiment.
When the management device includes a front-end page and a background service, the front-end page displays the modal frame according to the second operation signal, and the implementation manner is described in detail in the above description.
Step 305, receiving the server information input in the modality box.
Still to illustrate with the modality box including the above-listed input boxes, the server identification is received in the input box for the server identification, the item name is received in the input box for the item name of the item where the server is located, the item alias is received in the input box for the item alias, the environment alias is received in the input box for the environment alias, the operator information is received in the input box for the operator, the update status is received in the input box for the update status, and the management item for the server is received in the input box for the management item supported by the server. The present embodiment is exemplified by the server information including the seven kinds of information, and in actual implementation, different server information may be set according to an actual scene.
The management item is used for controlling the server to execute an operation. For example, when the management item is a restart item, the operation is a restart operation; when the management item is a clearing log, the operation is a clearing log operation; when the management item is a download log, the operation is a download log operation. The embodiment is merely exemplified by the management items including the three types, and in actual implementation, different management items may be set according to actual scenes.
Wherein the log is an application log of the service, and the service is for implementing the project. In other words, the log is an application log corresponding to the item alias.
When the management device includes a front-end page and a background service, the front-end page receives the server information input in the modal box, and the implementation manner is described in detail in the above description
Step 306, store the server information in the database.
Optionally, a "confirm" button is further included in the modality box, and when the user clicks the "confirm" button, the management device stores the server information in the database. The server information can be stored in the server in an array form.
When the management equipment comprises a front-end page and a background service, the front-end page transmits the received server information to the background service in a table form when a user clicks a 'confirmation' button, and the background service is connected with a database by utilizing a database drive and stores the server information into the database.
The user can directly click on the operation area to add the server, and the user is not required to be familiar with L inux commands, so that the user who is not familiar with L inux can also add the server.
It should be noted that, when the embodiment is implemented for the first time, the steps 301-306 are required to be executed first, and then the steps 307-313 are required to be executed; when the embodiment is not implemented for the first time, the steps 301-306 and 307-313 may be executed independently. For example, only step 301-; alternatively, the step 307-313 is performed after the step 301-306 is performed circularly, or the step 301-306 is performed circularly after the step 307-313 is performed circularly.
Step 307, reading server information pre-stored in the database, where the server information includes a server identifier of the server and each management item, and the management item is used to control the server to execute an operation.
After the server information is stored in the server, the management device reads the server information in the database. The server information at least includes a server identifier and each management item, and may further include the above-mentioned item name, item alias, environment alias, update status, operator, and the like, which is not limited in this embodiment.
When the management equipment comprises a front-end page and a background service, the background service drives a connection server by using a database, all server information is inquired in the database, all the server information is stored as a server list, the length of the server list is calculated, each group of server information is read out in a circulating mode from 0 to the length of the server list, each group of server information is transmitted to the front-end page, a template engine is embedded in a HyperText Markup language (Hypertext Markup L engine, HTM L) of the front-end page, and each group of server information is filled into the template engine by the front-end page.
And step 308, displaying the server identification in the server information and the operation area of each management item in the page.
Referring to fig. 4, two sets of server information are shown in a page in fig. 4, and each set of server information is shown in a row for illustration.
When the management equipment comprises a front-end page and background services, the front-end page displays the server identification in the server information and the operation area of each management item in the page.
Step 309, receiving a first operation signal acting on the operation area of one of the management items.
When the operation region is a button, the first operation signal may be a click signal generated when the user clicks the button; when the operation area is the touch area, the first operation signal may be a sliding signal generated when the user slides on the touch area, and the like.
When the management device comprises a front-end page and a background service, a first operation signal acting on an operation area of one management item is received by the front-end page.
Step 310, determining the management item corresponding to the operation area receiving the first operation signal.
When the management device comprises a front-end page and a background service, the background service determines a management item corresponding to the operation area which receives the first operation signal.
Step 311 simulates logging into the server.
The management device can remotely connect with the server and simulate to log in the server by using a user name and a password so as to manage the server. In one implementation, the management device may call paramiko.
When the management device comprises a front-end page and a background service, the front-end page generates an ajax request carrying the parameters, the ajax request is transmitted to the background service, and the background service calls Paramiko.
Step 312, the control server is instructed to perform the operation indicated by the management item.
When the management item is the clearing log, the operation is the clearing log operation, after the log is simulated to log in the server, the management device sends out a log clearing instruction, and the server executes the instruction to clear the log. When the management item is a download log, the operation is a log downloading operation, after the log is logged in to the server in a simulated mode, the management device sends a log downloading instruction, and the server executes the log downloading instruction to download the log to the local. When the management item is a restart item, the operation is a restart operation, and after the login of the server is simulated, the management equipment starts a background process management tool in the server through an instruction; and controlling the server to execute the restarting operation through a restarting command in the background process management tool. The background management process can be a hypervisor, a restart command exists in the hypervisor, and the hypervisor restarts the server by issuing the restart command.
When the management equipment comprises a front-end page and a background service, the background service sends out a log clearing instruction or a log downloading instruction or starts a background management tool through the instruction so as to control the server to execute the operation indicated by the management item.
And step 313, receiving and displaying an operation result, wherein the operation result is fed back after the server successfully executes the operation.
When the management equipment comprises a front-end page and background service, the front-end page acquires an operation result returned by the ajax after the server successfully executes the operation, and displays the operation result.
It should be noted that after the user triggers the management item, the front-end page and the background service joint control server execute the operation indicated by the management item, and the user can perceive that the user can see the operation result in the page after triggering the operation area of the management item, and the user cannot perceive in the specific control process.
Optionally, the method further includes: displaying a search box in a page; receiving search information input in a search box; and displaying the server information matched with the search information in the page.
Referring to fig. 4, the search box may include at least one of an environment alias, a server identifier, a project alias, and an operator, and when the number of the search box is more, the more accurate the searched server information is. At this time, the search efficiency of the server can be improved by searching.
Optionally, when the server information further includes a published item, the method further includes: displaying the operation area of the release item at the corresponding position of the server identifier in the server information; receiving a third operation signal acting on the operation system of the issued item; reading the identifier of the project issuing system corresponding to the server according to the third operation signal; and jumping to a publishing page indicated by the identification of the item publishing system.
Referring to fig. 4, an operation area of the published item is also shown at an operation area of the management item.
When the management equipment comprises a front-end page and a background service, the front-end page displays an operation area of a release item and receives a third operation signal, the background service reads an identifier of an item release system according to the third operation signal and transmits the identifier of the item release system to the front-end page, and the front-end page jumps to the release page indicated by the identifier of the item release system.
It should be noted that, for convenience of explaining each step, the page is divided into a plurality of descriptions in which the search box, the operation area of the function item, the server information, and the operation area of the issue item are shown, and in actual implementation, the page shows the search box, the operation area of the function item, the server information, and the operation area of the issue item at the same time.
Referring to fig. 5, a flow diagram illustrating steps in a process of managing a server is shown.
The programming language involved in this embodiment is python, the server framework is flash, the front-end style framework is bootstrap, the database is mysql, and the involved python core libraries include requests, urllib2, wtrams, mysql, Paramiko, and the like. Requests and urllib2 are used when a login server is simulated, wtrams is used when a front-end page transmits data to a background service, mysql is used when server information is stored in a database, and Paramiko is used when the server is remotely connected. Of course, the above technology stack is only an example, and in actual implementation, other programming languages and application frameworks may be used instead, and the embodiment is not limited.
In summary, according to the server management method provided by the embodiment of the present invention, since the operation area of each management item of the server is directly displayed in the page, the user can directly perform operations such as clicking on the operation area to manage the server, and the user not familiar with L inux commands is not required to manage the server, so that the user not familiar with L inux is not required to log in each server to manage the server, and the management efficiency of the server can be improved.
Since the operation area for adding the function item of the server is directly displayed in the page, the user can directly click on the operation area to add the server, and the user does not need to be familiar with L inux commands, so that the user who is not familiar with L inux can also add the server.
After the search information is input into the search box displayed in the page, the server information matched with the search information can be displayed in the page, and the search efficiency of the server can be improved through searching.
Referring to fig. 6, a block diagram of a server management apparatus according to an embodiment of the present invention is shown, where the server management apparatus may be applied to the management device 110 shown in fig. 1. The server management device includes:
the reading module 610 is configured to read server information prestored in the database, where the server information includes a server identifier of the server and each management item, and the management item is used to control the server to execute an operation;
the display module 620 is configured to display, in a page, the server identifier and the operation area of each management item in the server information read by the reading module 610;
a receiving module 630, configured to receive a first operation signal applied to an operation area of one of the management items displayed by the displaying module 620;
a determining module 640, configured to determine a management item corresponding to an operation area where the receiving module 630 receives the first operation signal;
and a management module 650 for managing the server according to the management items determined by the determination module 640.
In summary, in the server management apparatus provided in the embodiment of the present invention, since the operation area of each management item of the server is directly displayed in the page, the user can directly perform operations such as clicking on the operation area to manage the server, and the user not familiar with L inux command, so that the user not familiar with L inux can also manage the server, or need not log in each server to manage the server, so that the management efficiency of the server can be improved.
Referring to fig. 7, a block diagram of a server management apparatus according to an embodiment of the present invention is shown, where the server management apparatus may be applied to the management device 110 shown in fig. 1. The server management device includes:
a reading module 710, configured to read server information pre-stored in a database, where the server information includes a server identifier of a server and each management item, and the management item is used to control the server to execute an operation;
a presentation module 720, configured to present, in a page, the server identifier and the operation area of each management item in the server information read by the reading module 710;
a receiving module 730, configured to receive a first operation signal applied to an operation area of one of the management items displayed by the displaying module 720;
a determining module 740, configured to determine a management item corresponding to the operation area where the receiving module 730 receives the first operation signal;
and a management module 750, configured to manage the server according to the management item determined by the determining module 740.
Optionally, the management module 750 includes:
a login unit 751 for simulating a login server;
a control unit 752 for controlling the server to execute the operation indicated by the management item by an instruction;
and the display unit 753 is configured to receive and display an operation result, where the operation result is fed back after the server successfully performs the operation.
Optionally, when the management item is a restart item, the operation is a restart operation, and the control unit 752 is further configured to:
starting a background process management tool in the server through an instruction;
and controlling the server to execute the restarting operation through a restarting command in the background process management tool.
Optionally, the apparatus further includes:
the generating module 760 is configured to generate a page by using a style in the toolkit before the reading module 710 reads server information pre-stored in the database;
the presentation module 720 is further configured to present an operation area of a function item in the page generated by the generation module 760, where the function item is used to add a server;
the receiving module 730, further configured to receive a second operation signal acting on the operation area of the function item displayed by the displaying module 720;
a displaying module 720, further configured to display the modal frame according to the second operation signal received by the receiving module 730;
a receiving module 730, further configured to receive server information input in the modality box;
a storage module 770, configured to store the server information received by the receiving module 730 in a database.
Optionally, the displaying module 720 is further configured to display a search box in the page;
a receiving module 730, further configured to receive search information input in the search box displayed by the displaying module 720;
and a presentation module 720, configured to present the server information matching the search information in the page.
Optionally, the server information further includes a publication item,
the display module 720 is further configured to display an operation area of the published item at a position corresponding to the server identifier in the server information;
a receiving module 730, further configured to receive a third operation signal that acts on the operating system of the published item displayed by the displaying module 720;
the reading module 710 is further configured to read an identifier of the item publishing system corresponding to the server according to the third operation signal received by the receiving module 730;
the device still includes: a jump module 770, configured to jump to the issue page indicated by the identifier of the item issue system read by the reading module 710.
In summary, in the server management apparatus provided in the embodiment of the present invention, since the operation area of each management item of the server is directly displayed in the page, the user can directly perform operations such as clicking on the operation area to manage the server, and the user not familiar with L inux command, so that the user not familiar with L inux can also manage the server, or need not log in each server to manage the server, so that the management efficiency of the server can be improved.
Since the operation area for adding the function item of the server is directly displayed in the page, the user can directly click on the operation area to add the server, and the user does not need to be familiar with L inux commands, so that the user who is not familiar with L inux can also add the server.
After the search information is input into the search box displayed in the page, the server information matched with the search information can be displayed in the page, and the search efficiency of the server can be improved through searching.
Referring to fig. 8, a block diagram of a terminal 800 provided by an embodiment of the invention is shown, where the terminal may include Radio Frequency (RF) circuitry 801, a memory 802 including one or more computer-readable storage media, an input unit 803, a display unit 804, a sensor 805, audio circuitry 806, a wireless fidelity (WiFi) module 807, a processor 809 including one or more processing cores, and a power supply 809. Those skilled in the art will appreciate that the terminal structure shown in fig. 8 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. Wherein:
the RF circuit 801 may be used for receiving and transmitting signals during a message or call, and in particular, for receiving downlink information of a base station and then processing the received downlink information by one or more processors 809, and for transmitting data related to an uplink to the base station, in general, the RF circuit 801 may include, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a low Noise Amplifier (L NA, &lTtTtTtTtTtTtTtTtTtL &/TtTtTtTtTtTtTtNoise Amplifier, a duplexer, etc. furthermore, the RF circuit 801 may also communicate with other devices through wireless communication which may use any communication standard or protocol, including, but not limited to, a Global System for Mobile communications (GSM, Mobile System of communication), general packet Radio Service (Gene, Radio Service), SMS (SMS), Wireless Service discovery Service (SMS), Wireless Service (Wireless Service ) and so on, WCDMA) and so on, Long term evolution (CDMA) communication, Wireless Service (Wireless Service) communication), Wireless Service (Wireless communication) communication, Wireless communication (Wireless communication) communication, Wireless communication System for example, CDMA (Wireless communication, CDMA) communication, CDMA (Wireless communication, CDMA) communication, CDMA (Wireless communication, CDMA) communication, and.
The memory 802 may be used to store software programs and modules, and the processor 809 executes various functional applications and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 808 and the input unit 803 access to the memory 802.
The input unit 803 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 803 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means 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, and sends the touch point coordinates to the processor 809, and can receive and execute commands sent by the processor 808. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 803 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 804 may include a display panel, which may be optionally configured in the form of a liquid crystal display (L CD, &lttttranslation = L "&tttL &/lTt/T &gttrequired CrystalDisplay), Organic light Emitting diodes (O L ED, Organic L ight-emissive Diode), and the like, the touch sensitive surface may cover the display panel, and when a touch operation is detected on or near the touch sensitive surface, the touch sensitive surface may be communicated to the processor 808 to determine the type of touch event, and then the processor 808 may provide a corresponding visual output on the display panel according to the type of touch event.
The terminal may also include at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 806, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 806 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into an audio signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 806, and then processes the audio data by the audio data output processor 809, and then sends the audio data to, for example, another terminal via the RF circuit 801, or outputs the audio data to the memory 802 for further processing. The audio circuit 806 may also include an earbud jack to provide peripheral headset communication with the terminal.
WiFi belongs to short distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web page and access streaming media etc. through WiFi module 807, which provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 807, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 808 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby integrally monitoring the mobile phone. Optionally, processor 808 may include one or more processing cores; preferably, the processor 808 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 808.
The terminal also includes a power supply 809 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 808 via a power management system to manage charging, discharging, and power consumption via the power management system. The power supply 809 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, or any other component.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 808 in the terminal executes one or more program instructions stored in the memory 802, so as to implement the server management method provided in each of the above-described method embodiments.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
An embodiment of the present invention provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, loaded and executed by the processor to implement the server management method as described above.
An embodiment of the present invention provides a management device, which includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the server management method as described above.
It should be noted that: in the server management device provided in the above embodiment, when performing server management, only the division of the above functional modules is exemplified, and in practical applications, the above functions may be distributed by different functional modules as needed, that is, the internal structure of the server management device may be divided into different functional modules to complete all or part of the above described functions. In addition, the server management apparatus and the server management method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (12)

1. A server management method, the method comprising:
reading server information prestored in a database, wherein the server information comprises a server identifier of a server and each management item, and the management item is used for controlling the server to execute an operation;
displaying the server identification and the operation area of each management item in the server information in a page;
receiving a first operation signal acting on an operation area of one of the management items;
determining a management item corresponding to the operation area receiving the first operation signal;
simulating to log in the server;
controlling the server to execute the operation indicated by the management item through an instruction;
and receiving and displaying an operation result, wherein the operation result is fed back after the server successfully executes the operation.
2. The method according to claim 1, wherein when the management item is a restart item, the operation is a restart operation, and the controlling the server by the instruction to perform the operation indicated by the management item includes:
starting a background process management tool in the server through the instruction;
and controlling the server to execute the restarting operation through a restarting command in the background process management tool.
3. The method according to claim 1, further comprising, before reading the server information prestored in the database:
generating the page by using styles in the tool kit;
displaying an operation area of a function item in the page, wherein the function item is used for adding a server;
receiving a second operation signal acting on the operation area of the function item;
displaying a modal frame according to the second operation signal;
receiving server information input in the modal box;
storing the server information in the database.
4. The method of claim 1, further comprising:
displaying a search box in the page;
receiving search information input in the search box;
and displaying the server information matched with the search information in the page.
5. The method of any of claims 1 to 4, wherein the server information further comprises a post item, the method further comprising:
displaying the operation area of the release item at the corresponding position of the server identifier in the server information;
receiving a third operation signal acting on the operation system of the issued item;
reading the identifier of the project issuing system corresponding to the server according to the third operation signal;
jumping to a publishing page indicated by the identification of the item publishing system.
6. A server management apparatus, characterized in that the apparatus comprises:
the reading module is used for reading server information prestored in a database, wherein the server information comprises a server identifier of a server and each management item, and the management item is used for controlling the server to execute an operation;
the display module is used for displaying the server identification and the operation area of each management item in the server information read by the reading module in a page;
the receiving module is used for receiving a first operation signal which acts on an operation area of one management item displayed by the display module;
the determining module is used for determining the management item corresponding to the operation area of the first operation signal received by the receiving module;
the management module is used for managing the server according to the management items determined by the determination module;
the management module comprises:
the login unit is used for simulating login of the server;
a control unit for controlling the server to execute the operation indicated by the management item through an instruction;
and the display unit is used for receiving and displaying an operation result, wherein the operation result is fed back after the server successfully executes the operation.
7. The apparatus of claim 6, wherein when the management item is a restart item, the operation is a restart operation, and wherein the control unit is further configured to:
starting a background process management tool in the server through the instruction;
and controlling the server to execute the restarting operation through a restarting command in the background process management tool.
8. The apparatus of claim 6, further comprising:
the generating module is used for generating the page by using the style in the tool kit before the reading module reads the server information prestored in the database;
the display module is further configured to display an operation area of a function item in the page generated by the generation module, where the function item is used to add a server;
the receiving module is further configured to receive a second operation signal that acts on an operation area of the function item displayed by the display module;
the display module is further configured to display a modal frame according to the second operation signal received by the receiving module;
the receiving module is further configured to receive server information input in the modal box;
and the storage module is used for storing the server information received by the receiving module into the database.
9. The apparatus of claim 6,
the display module is further used for displaying a search box in the page;
the receiving module is further used for receiving the search information input in the search box displayed by the displaying module;
the display module is further used for displaying the server information matched with the search information in the page.
10. The apparatus according to any one of claims 6 to 9, wherein the server information further includes a publication item,
the display module is further configured to display the operation area of the published item at a position corresponding to the server identifier in the server information;
the receiving module is further configured to receive a third operation signal that acts on the operating system of the published item displayed by the displaying module;
the reading module is further configured to read an identifier of the item publishing system corresponding to the server according to the third operation signal received by the receiving module;
the device further comprises: and the skipping module is used for skipping to the publishing page indicated by the identifier of the project publishing system read by the reading module.
11. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the server management method according to any one of claims 1 to 5.
12. A management device comprising a processor and a memory, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement the server management method of any of claims 1 to 5.
CN201711080285.4A 2017-11-06 2017-11-06 Server management method, device and equipment Active CN107741895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711080285.4A CN107741895B (en) 2017-11-06 2017-11-06 Server management method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711080285.4A CN107741895B (en) 2017-11-06 2017-11-06 Server management method, device and equipment

Publications (2)

Publication Number Publication Date
CN107741895A CN107741895A (en) 2018-02-27
CN107741895B true CN107741895B (en) 2020-07-10

Family

ID=61233470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711080285.4A Active CN107741895B (en) 2017-11-06 2017-11-06 Server management method, device and equipment

Country Status (1)

Country Link
CN (1) CN107741895B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660381A (en) * 2018-10-25 2019-04-19 中国平安人寿保险股份有限公司 Distribution management method, device, server and storage medium
CN110795186B (en) * 2019-09-27 2022-08-02 苏州浪潮智能科技有限公司 Server management method and system based on data visualization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790339A (en) * 2005-12-14 2006-06-21 无锡永中科技有限公司 Simulative operation system human-computer interaction implementation method based on browser
CN101159607A (en) * 2007-11-22 2008-04-09 Ut斯达康通讯有限公司 Network management system of implementing remote browse network element MIB node
CN106561018A (en) * 2015-10-02 2017-04-12 纬创资通股份有限公司 Server monitoring method, monitoring device and monitoring system
CN109446036A (en) * 2018-11-02 2019-03-08 深圳竹云科技有限公司 A method of novel maintenance is carried out by webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790339A (en) * 2005-12-14 2006-06-21 无锡永中科技有限公司 Simulative operation system human-computer interaction implementation method based on browser
CN101159607A (en) * 2007-11-22 2008-04-09 Ut斯达康通讯有限公司 Network management system of implementing remote browse network element MIB node
CN106561018A (en) * 2015-10-02 2017-04-12 纬创资通股份有限公司 Server monitoring method, monitoring device and monitoring system
CN109446036A (en) * 2018-11-02 2019-03-08 深圳竹云科技有限公司 A method of novel maintenance is carried out by webpage

Also Published As

Publication number Publication date
CN107741895A (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN106970790B (en) Application program creating method, related equipment and system
CN108345543B (en) Data processing method, device, equipment and storage medium
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN107943683B (en) Test script generation method and device, electronic equipment and storage medium
CN108039963B (en) Container configuration method and device and storage medium
CN108536594B (en) Page testing method and device and storage equipment
CN106254910B (en) Method and device for recording image
CN108388451B (en) Mobile terminal starting method and device and mobile terminal
WO2018077041A1 (en) Method and apparatus for running application
CN105610878B (en) Directory uploading method, data publishing method, terminal and server
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN108182090B (en) Flash plug-in loading method and device based on blink kernel
CN115756881A (en) Data processing method, device, equipment and storage medium based on SDK
CN103399706A (en) Page interaction method, device and terminal
CN107741895B (en) Server management method, device and equipment
CN106020945B (en) Shortcut item adding method and device
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN112749074A (en) Test case recommendation method and device
CN108874653B (en) Task testing method, tester, shared server and readable storage medium
EP3158715B1 (en) Method and apparatus for associating online accounts
CN103729283A (en) System log output method and device and terminal device
CN110347578B (en) Application testing method and device and storage medium
CN105159655B (en) Behavior event playing method and device
CN107943687B (en) Equipment sharing method, device, server and storage medium
CN115065609A (en) B-end SaaS system hybrid deployment method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant