CN112839356A - Server state monitoring method, system, terminal and storage medium - Google Patents

Server state monitoring method, system, terminal and storage medium Download PDF

Info

Publication number
CN112839356A
CN112839356A CN202110056831.0A CN202110056831A CN112839356A CN 112839356 A CN112839356 A CN 112839356A CN 202110056831 A CN202110056831 A CN 202110056831A CN 112839356 A CN112839356 A CN 112839356A
Authority
CN
China
Prior art keywords
server
information
data
bmc
bmc data
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.)
Withdrawn
Application number
CN202110056831.0A
Other languages
Chinese (zh)
Inventor
王龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110056831.0A priority Critical patent/CN112839356A/en
Publication of CN112839356A publication Critical patent/CN112839356A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention provides a method, a system, a terminal and a storage medium for monitoring a server state, wherein the method comprises the following steps: establishing communication connection with a server by utilizing a wireless communication protocol; issuing an information capture program to a server, and executing the information capture program to acquire server BMC data; acquiring BMC data captured by the information capture program through a communication link; analyzing the server state information in the BMC data, and outputting and displaying the server state information. The invention can simplify the environment construction in the test stage, quickens the BMC access management efficiency, facilitates the real-time management in the use stage, reduces cables in the wireless environment, avoids complex cable management, can manage a plurality of servers simultaneously, is safer in local area network, is adaptive to the serial number of the server in the module address, and is more convenient to find the target server.

Description

Server state monitoring method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of servers, in particular to a server state monitoring method, a server state monitoring system, a server state monitoring terminal and a storage medium.
Background
ZigBee is a novel wireless communication technology, and is suitable for a series of electronic component devices with short transmission range and low data transmission rate. The ZigBee wireless communication technology can achieve coordinated communication among thousands of tiny sensors by means of special radio standards, and thus the technology is often called Home RF Lite wireless technology and FireFly wireless technology. The ZigBee wireless communication technology can also be applied to the fields of control, automation and the like based on wireless communication in a small range, can save wired cables among computer equipment and a series of digital equipment, and can further realize wireless networking among various different digital equipment to realize mutual communication or access the Internet.
Currently, the monitoring of the running state of the server is based on the BMC Web, and the server needs to be connected with a network to access a corresponding IP to log in the BMC Web. And in the testing stage, the network cable is used for direct connection, one-to-one access debugging is carried out, and the BMC Web of each server is independently accessed from the corresponding IP in the environment that the network cable needs to be connected to the network in the formal use stage.
Therefore, the existing server monitoring method is not suitable for the server testing stage.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for monitoring a server status, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a server status monitoring method, including:
establishing communication connection with a server by utilizing a wireless communication protocol;
issuing an information capture program to a server, and executing the information capture program to acquire server BMC data;
acquiring BMC data captured by the information capture program through a communication link;
analyzing the server state information in the BMC data, and outputting and displaying the server state information.
Further, the establishing a communication connection with the server by using a wireless communication protocol includes:
establishing communication connection with a server by utilizing a purple peak communication protocol;
and generating a unique networking address for the purple peak communication module of the server.
Further, the obtaining of the BMC data captured by the information capture program through the communication link includes:
and marking the acquired BMC data as an IP of a source server.
Further, the analyzing the server status information in the BMC data and outputting and displaying the server status information includes:
extracting server state information from BMC data by using a keyword query technology;
and generating a server information list according to the IP marks of the source servers of all BMC data, and storing the IP of the source server and the corresponding server state information in pairs to the server information list.
In a second aspect, the present invention provides a server status monitoring system, including:
a communication establishing unit configured to establish a communication connection with a server using a wireless communication protocol;
the data capturing unit is configured for issuing an information capturing program to a server and executing the information capturing program to acquire server BMC data;
the data acquisition unit is configured to acquire BMC data captured by the information capture program through a communication link;
and the data analysis unit is configured to analyze the server state information in the BMC data and output and display the server state information.
Further, the communication establishing unit includes:
the connection establishing module is configured to establish communication connection with the server by utilizing a purple peak communication protocol;
and the address generation module is configured to generate a unique networking address for the purple peak communication module of the server.
Further, the data acquisition unit includes:
and the information marking module is configured to mark the acquired BMC data to a source server IP.
Further, the data parsing unit includes:
the information extraction module is configured for extracting server state information from the BMC data by utilizing a keyword query technology;
and the list storage module is configured to generate a server information list according to the source server IP marks of all BMC data, and store the source server IP and corresponding server state information in pairs to the server information list.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the server state monitoring method, the server state monitoring system, the terminal and the storage medium, the Zigbee module is additionally communicated with the BMC in the server design, and the server state is monitored in a one-to-one mode. The invention can simplify the environment construction in the test stage, quickens the BMC access management efficiency, facilitates the real-time management in the use stage, reduces cables in the wireless environment, avoids complex cable management, can manage a plurality of servers simultaneously, is safer in local area network, is adaptive to the serial number of the server in the module address, and is more convenient to find the target server.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all 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 invention.
The following explains key terms appearing in the present invention.
Zigbee: also called purple bee, is a wireless network protocol of low-speed short-distance transmission, and the bottom layer is a medium access layer and a physical layer which adopt IEEE 802.15.4 standard specification. The method is mainly characterized by low speed, low power consumption, low cost, support of a large number of nodes on the network, support of various topologies on the network, low complexity, rapidness, reliability and safety.
Home RF: was established in 1997 by the united states domestic radio frequency commission, whose main task was to establish voice and data communication networks with interoperability for home users. The standard of HomeRF integrates voice and data transmission technologies, the working frequency band is 10GHz, the data transmission rate reaches 100Mbit/s, and the access control and encryption technology is mainly considered in the aspect of WLAN security.
BMC: the system is called a Baseboard Management Controller (BMC) for short, and it ensures that the system is in a normal operation state by monitoring the power supply, temperature, etc. of the system.
BMC Web: the BMC manages the network, displays the system state information monitored by the BMC, and can remotely upgrade the FW, the operating system and the like.
The coordinator: in a ZigBee network, a coordinator is responsible for selecting a channel and PAN ID to create a network. It can allow routers and end nodes to join the network, can forward data as routes, can cache data for sleeping child nodes, but it may not be sleeping.
The router: the router can send, receive or forward data only by joining the network of the coordinator, and after joining the network, the router or other nodes can be allowed to join the network to forward data, so that the data can be cached for the dormant sub-nodes, and similarly, the router can not be dormant.
A terminal node: the node device must join the ZigBee network to send or receive data, and the node device cannot allow other devices to join the network, always sends or receives data through a parent node of the node device, and cannot forward the data as a route. It may enter a low power sleep mode.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be a server status monitoring system.
As shown in fig. 1, the method includes:
step 110, establishing a communication connection with a server by using a wireless communication protocol;
step 120, issuing an information capture program to a server, and executing the information capture program to acquire server BMC data;
step 130, obtaining the BMC data captured by the information capture program through a communication link;
and 140, analyzing the server state information in the BMC data, and outputting and displaying the server state information.
Specifically, the server state monitoring method includes:
and S1, establishing a communication connection with the server by using a wireless communication protocol.
The Zigbee management terminal establishes communication connection with the plurality of servers through a Zigbee wireless communication protocol.
And S2, issuing an information capture program to the server, and executing the information capture program to acquire server BMC data.
And the Zigbee management terminal sends an information capturing program to each server and executes the information capturing program to acquire the BMC data of the server. In addition, the data capture period of the information capture program can also be set, for example, the BMC data is captured once every 5 s.
And S3, acquiring the BMC data captured by the information capture program through a communication link.
After the information capturing program of each server captures the BMC data of the server, the captured BMC data is sent to the Zigbee management terminal through the Zigbee communication link.
After receiving the BMC data of each server, the Zigbee management terminal marks a BMC data source server IP.
And S4, analyzing the server state information in the BMC data, and outputting and displaying the server state information.
The Zigbee management terminal extracts server state information from the BMC data by using a keyword query technology, generates a server information list according to source server IP marks of all the BMC data, and stores the source server IP and corresponding server state information in pairs to the server information list.
Referring to fig. 2, the server status monitoring system provided in this embodiment includes:
a communication establishing unit configured to establish a communication connection with a server using a wireless communication protocol;
the data capturing unit is configured for issuing an information capturing program to a server and executing the information capturing program to acquire server BMC data;
the data acquisition unit is configured to acquire BMC data captured by the information capture program through a communication link;
and the data analysis unit is configured to analyze the server state information in the BMC data and output and display the server state information.
Optionally, as an embodiment of the present invention, the communication establishing unit includes:
the connection establishing module is configured to establish communication connection with the server by utilizing a purple peak communication protocol;
and the address generation module is configured to generate a unique networking address for the purple peak communication module of the server.
Optionally, as an embodiment of the present invention, the data obtaining unit includes:
and the information marking module is configured to mark the acquired BMC data to a source server IP.
Optionally, as an embodiment of the present invention, the data parsing unit includes:
the information extraction module is configured for extracting server state information from the BMC data by utilizing a keyword query technology;
and the list storage module is configured to generate a server information list according to the source server IP marks of all BMC data, and store the source server IP and corresponding server state information in pairs to the server information list.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute the server status monitoring method according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the Zigbee module is added in the design of the server to be communicated with the BMC, so that the state of the server is monitored in a one-to-one mode. The invention can simplify the environment construction in the test stage, accelerate the BMC access management efficiency, facilitate the real-time management in the use stage, reduce cables in the wireless environment, avoid complex cable management, manage a plurality of servers simultaneously, ensure that the local area network is safer, ensure that the module address is matched with the server number, and facilitate finding the target server.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A server state monitoring method is characterized by comprising the following steps:
establishing communication connection with a server by utilizing a wireless communication protocol;
issuing an information capture program to a server, and executing the information capture program to acquire server BMC data;
acquiring BMC data captured by the information capture program through a communication link;
analyzing the server state information in the BMC data, and outputting and displaying the server state information.
2. The method of claim 1, wherein establishing a communication connection with a server using a wireless communication protocol comprises:
establishing communication connection with a server by utilizing a purple peak communication protocol;
and generating a unique networking address for the purple peak communication module of the server.
3. The method of claim 1, wherein the obtaining the BMC data captured by the information capture program via a communication link comprises:
and marking the acquired BMC data as an IP of a source server.
4. The method of claim 3, wherein parsing the server status information in the BMC data and outputting and displaying the server status information comprises:
extracting server state information from BMC data by using a keyword query technology;
and generating a server information list according to the IP marks of the source servers of all BMC data, and storing the IP of the source server and the corresponding server state information in pairs to the server information list.
5. A server condition monitoring system, comprising:
a communication establishing unit configured to establish a communication connection with a server using a wireless communication protocol;
the data capturing unit is configured for issuing an information capturing program to a server and executing the information capturing program to acquire server BMC data;
the data acquisition unit is configured to acquire BMC data captured by the information capture program through a communication link;
and the data analysis unit is configured to analyze the server state information in the BMC data and output and display the server state information.
6. The system according to claim 5, wherein the communication establishing unit comprises:
the connection establishing module is configured to establish communication connection with the server by utilizing a purple peak communication protocol;
and the address generation module is configured to generate a unique networking address for the purple peak communication module of the server.
7. The method of claim 5, wherein the data acquisition unit comprises:
and the information marking module is configured to mark the acquired BMC data to a source server IP.
8. The method of claim 7, wherein the data parsing unit comprises:
the information extraction module is configured for extracting server state information from the BMC data by utilizing a keyword query technology;
and the list storage module is configured to generate a server information list according to the source server IP marks of all BMC data, and store the source server IP and corresponding server state information in pairs to the server information list.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202110056831.0A 2021-01-15 2021-01-15 Server state monitoring method, system, terminal and storage medium Withdrawn CN112839356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110056831.0A CN112839356A (en) 2021-01-15 2021-01-15 Server state monitoring method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110056831.0A CN112839356A (en) 2021-01-15 2021-01-15 Server state monitoring method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112839356A true CN112839356A (en) 2021-05-25

Family

ID=75928352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110056831.0A Withdrawn CN112839356A (en) 2021-01-15 2021-01-15 Server state monitoring method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112839356A (en)

Similar Documents

Publication Publication Date Title
Sivanathan et al. Characterizing and classifying IoT traffic in smart cities and campuses
US8774056B2 (en) Automated device discovery on a network
CN108306748B (en) Network fault positioning method and device and interaction device
CN108667807A (en) A kind of protocol self-adapting method and system based on monitoring cloud platform and gateway
CN110659109B (en) System and method for monitoring openstack virtual machine
Wang et al. Data communication mechanism for greenhouse environment monitoring and control: An agent-based IoT system
CN111490893B (en) Method, device and system for establishing network forwarding model
WO2015176389A1 (en) Method, apparatus and system for collecting device information
CN109194617A (en) The automatically parsing of XML message, packaging method and device
CN110401568A (en) A kind of method for discovering network topology and equipment
CN113037771B (en) Method and device for controlling device shadow, storage medium and electronic device
CN104202334A (en) Network connection establishing method and device
Tian et al. Substation sensing monitoring system based on power internet of things
CN101227324A (en) Fault information gathering method of communication equipment as well as communication equipment and system thereof
EP2882216B1 (en) Device and method for controlling, supervising and giving an alarming from a power supply of base station
CN107769964B (en) Special line checking method and system
Nieves et al. A UPnP service to control and manage IEEE 1451 transducers in control networks
Lech et al. Analysis of the IoT WiFi mesh network
Ashraf et al. Device discovery and configuration scheme for Internet of Things
Elias et al. A ubiquitous model for wireless sensor networks monitoring
CN112839356A (en) Server state monitoring method, system, terminal and storage medium
CN107465716B (en) Network instrument system and method based on LXI bus
Ting et al. A comparison and evaluation of different BLE connection methods for wearable devices
Fu et al. Cross-platform instant messaging system
CN109450728B (en) Cabinet server control method, device, equipment and storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210525