CN114564349B - Monitoring method and device of server, electronic equipment and storage medium - Google Patents

Monitoring method and device of server, electronic equipment and storage medium Download PDF

Info

Publication number
CN114564349B
CN114564349B CN202210107938.8A CN202210107938A CN114564349B CN 114564349 B CN114564349 B CN 114564349B CN 202210107938 A CN202210107938 A CN 202210107938A CN 114564349 B CN114564349 B CN 114564349B
Authority
CN
China
Prior art keywords
target
server
data table
information
dynamic 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.)
Active
Application number
CN202210107938.8A
Other languages
Chinese (zh)
Other versions
CN114564349A (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.)
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 CN202210107938.8A priority Critical patent/CN114564349B/en
Publication of CN114564349A publication Critical patent/CN114564349A/en
Application granted granted Critical
Publication of CN114564349B publication Critical patent/CN114564349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a monitoring method and device of a server, electronic equipment and a storage medium. The method comprises the following steps: determining at least one target server to be monitored currently in a target local area network; monitoring a target server to obtain target server information and target bottom layer data corresponding to the target server in a current time period; under the condition that server information matched with the target server information exists in the static data table of the database, acquiring a target dynamic data table associated with the static data table from the database according to the target server information; and writing the target underlying data into a target dynamic data table in the database. According to the application, the server is monitored to obtain the bottom data of the server, then the static data table is inquired according to the server information of the server, and the bottom data is stored in the dynamic data table associated with the static data table, so that the real-time storage of the bottom data of the server is realized, and an effective basis is provided for the subsequent fault detection.

Description

Monitoring method and device of server, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for monitoring a server, an electronic device, and a storage medium.
Background
BMC technology is an out-of-band management tool for supervisory control of servers. In recent years, as server devices are more and more perfect, functions are more and more diversified, and as a result, hardware devices that need to be managed by the out-of-band management tool, such as a BMC, are more and more.
In the prior art, most of the BMC presents the supervision results in the form of logs, and for obvious problems such as some temperature overtemperature early warning and the like, engineers or clients can easily understand what happens, and the reasons of the problems are relatively direct. Problems arise with some of the problems that require analysis of underlying data, such as register data for some devices, requiring engineers to spend a significant amount of time performing retrospective analysis. Therefore, in many fault conditions, the underlying data cannot be acquired in time, so that the cause of the fault cannot be determined in time.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a monitoring method, a monitoring device, electronic equipment and a storage medium of a server.
According to an aspect of the embodiment of the present application, there is provided a monitoring method of a server, including:
Determining at least one target server to be monitored currently in a target local area network;
Monitoring the target server to obtain target server information and target bottom layer data corresponding to the target server in the current time period;
Under the condition that server information matched with the target server information exists in a static data table of a database, acquiring a target dynamic data table associated with the static data table from the database according to the target server information;
And writing the target bottom layer data into a target dynamic data table in a database.
Further, the determining at least one target server to be monitored currently in the target local area network includes:
receiving a local area network creation request, wherein the local area network creation request is used for creating a local area network in an Internet of things system, and the Internet of things system comprises a plurality of servers;
Determining a server meeting the local area network creation request in the Internet of things system as a candidate server, and building a target local area network based on the candidate server;
and acquiring target servers meeting preset monitoring requirements from the candidate servers, and distributing preset communication addresses to the target servers so that the target servers communicate based on the preset communication addresses.
Further, the method further comprises:
Acquiring the information quantity corresponding to the server information stored in the static data table;
and creating dynamic data tables with the same quantity as the information quantity, and building a relation between the static data tables and the dynamic data tables.
Further, the creating a dynamic data table with the same quantity as the information quantity, and establishing a relation between the static data table and the dynamic data table, includes:
acquiring a product serial number from server information stored in the static data table;
And generating a dynamic data table corresponding to each product serial number, and writing the product serial number into the dynamic data table to establish a relation between the static data table and the dynamic data table.
Further, after writing the target underlying data to a target dynamic data table in a database, the method further comprises:
comparing the target bottom layer data with preset bottom layer data to determine a corresponding target health state of the target server in the current time period, wherein the preset bottom layer data is data of the target server in a normal state;
and writing the target health state into the target dynamic data table.
Further, after writing the target health status to the target dynamic data table, the method further comprises:
Analyzing the target underlying data to determine fault information causing the abnormality of the target server under the condition that the target health state is an abnormal state;
And executing corresponding fault processing operation based on the fault information.
Further, the analyzing the target underlying data determines fault information causing the target server to be abnormal, including:
Acquiring historical bottom data of the target server in a historical time period adjacent to the current time period;
Inputting the target underlying data and the historical underlying data into a pre-trained fault detection model so that the fault detection model determines at least one candidate fault information corresponding to the target underlying data and the historical underlying data and the confidence level corresponding to each candidate fault information;
and determining the candidate fault information with the confidence coefficient larger than a preset confidence coefficient as the target fault information.
According to another aspect of the embodiment of the present application, there is also provided an apparatus for server information, including:
the determining module is used for determining at least one target server to be monitored currently in the target local area network;
the monitoring module is used for monitoring the target server to obtain target server information and target bottom layer data corresponding to the target server;
The acquisition module is used for acquiring a target dynamic data table associated with the static data table from the database according to the target server information under the condition that the server information matched with the target server information exists in the static data table of the database;
and the writing module is used for writing the target bottom layer data into a target dynamic data table in a database.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that performs the above steps when running.
According to another aspect of the embodiment of the present application, there is also provided an electronic device including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; and a processor for executing the steps of the method by running a program stored on the memory.
Embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the server is monitored to obtain the bottom data of the server, then the static data table is queried according to the server information of the server, and the bottom data is stored in the dynamic data table associated with the static data table, so that the real-time storage of the bottom data of the server is realized, and an effective basis is provided for subsequent fault detection.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flowchart of a monitoring method of a server according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for monitoring a server according to another embodiment of the present application;
FIG. 3 is a flowchart of a method for monitoring a server according to another embodiment of the present application;
Fig. 4 is a block diagram of a monitoring device of a server according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments, illustrative embodiments of the present application and descriptions thereof are used to explain the present application and do not constitute undue limitations of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides a monitoring method and device of a server, electronic equipment and a storage medium. The method provided by the embodiment of the application can be applied to any needed electronic equipment, for example, the electronic equipment can be a server, a terminal and the like, is not particularly limited, and is convenient to describe and is called as the electronic equipment for short hereinafter.
According to an aspect of the embodiment of the application, a method embodiment of a monitoring method of a server is provided. Fig. 1 is a flowchart of a monitoring method of a server according to an embodiment of the present application, as shown in fig. 1, where the method includes:
Step S11, at least one target server to be monitored currently in the target local area network is determined.
In the embodiment of the present application, step S11, determining at least one target server to be monitored currently in the target lan, includes the following steps A1-A3:
And step A1, receiving a local area network creation request, wherein the local area network creation request is used for creating a local area network in an Internet of things system, and the Internet of things system comprises a plurality of servers.
In the embodiment of the application, the local area network creation request can be created by a worker, the local area network creation request is used for creating the local area network in the internet of things system, and the local area network creation request can carry the size number of the local area network, the configuration information of the local area network and the like.
And step A2, determining a server meeting the local area network creation request in the Internet of things system as a candidate server, and building a target local area network based on the candidate server.
In the embodiment of the application, after the local area network creation request is determined, candidate servers can be screened out from the internet of things system according to the configuration information carried in the local area network creation request, and then the target local area network is built based on the candidate servers. In particular, the configuration information may be configuration information of a server required for the local area network, such as a user size supported by the server, and so on. And then a server meeting the configuration information is obtained from the internet of things system and is used as a candidate server, and then a target local area network is built based on the candidate server.
And step A3, obtaining target servers meeting preset monitoring requirements from the candidate servers, and distributing preset communication addresses to the target servers so that communication is carried out between the target servers based on the preset communication addresses.
In the embodiment of the application, after the target local area network is built, the staff can upload the preset monitoring requirement, and then the target server can be selected from the candidate servers according to the preset monitoring requirement, namely the server needing to be monitored. At this time, a preset communication address is allocated to the target server, so that the target server communicates based on the communication address, where the preset communication address may be an IPV4 address, for example: the target servers in the local area network can be interconnected to share data, and can also monitor the target servers based on the address.
And step S12, monitoring the target server to obtain target server information and target bottom layer data corresponding to the target server in the current time period.
In the embodiment of the application, the target server can be monitored through the hardware sensor to obtain the target server information and the target bottom data corresponding to the target server in the current time period. Wherein the target server information includes: communication address, user name, password, machine model, etc. The target underlying data includes: and the operation data corresponding to the target server at the current moment, and the like.
Step S13, when server information matched with the target server information exists in the static data table of the database, acquiring a target dynamic data table associated with the static data table from the database according to the target server information.
In the embodiment of the application, a static data table and at least one dynamic data table associated with the static data table are stored in a database, the static data table is used for storing target server information corresponding to each target server in a target local area network (shown in table 1), the dynamic data table with the same quantity is created according to the information quantity of the stored information in the static data table, and the dynamic data table is used for storing bottom data of the target server (shown in table 2).
Table 1 static data table
Time of day SN number Data one Data two Data N Health status
Time1 Target server 1
Time2 Target server 1
Time3 Target server 1
Table 2 dynamic data table
In the embodiment of the application, if the server information matched with the target server information exists in the static data table, the dynamic data table corresponding to the target server information can be determined to exist in the database. Because a plurality of dynamic data tables are associated in the static data table, the target dynamic data table can be determined according to the target server information and the association between the static data table and the dynamic data table.
And step S14, writing the target underlying data into a target dynamic data table in the database.
In the embodiment of the application, after the corresponding dynamic data table is established according to the information quantity, the monitored target bottom layer data is written into the target dynamic data table.
In an embodiment of the present application, the method further comprises the following steps B1-B2:
and step B1, obtaining the information quantity corresponding to the server information stored in the static data table.
In the embodiment of the application, the static data table is firstly created according to the server information corresponding to the target server, then the information quantity of the server information stored in the static data table is counted, and the dynamic data table with corresponding quantity can be created by utilizing the information quantity.
And B2, creating dynamic data tables with the same quantity as the information quantity, and building a relation between the static data tables and the dynamic data tables.
In the embodiment of the application, step B2, creating a dynamic data table with the same quantity as the quantity of information, and establishing a relation between a static data table and the dynamic data table, comprises the following steps of B201-B202:
Step B201, obtaining the product serial number from the server information stored in the static data table.
And step B202, generating a dynamic data table corresponding to each product serial number, and writing the product serial number into the dynamic data table to establish a relation between the static data table and the dynamic data table.
In the embodiment of the application, the product Serial Number (SN) is obtained from the server information stored in the static data table. And then generating a corresponding dynamic data table according to the product serial number, and writing the product serial number into the dynamic data table, so as to establish the association relationship between the dynamic data table and the static data table.
As one example: when three pieces of target server information are stored in the static data table, three dynamic data tables are created according to the stored three pieces of server information, and the static data table and the dynamic data table are associated by utilizing the product serial numbers, wherein the target server information stored in the static data table is the target server information corresponding to the target server 1, the target server 2 and the target server 3. At this time, there are three dynamic data tables, namely, a dynamic data table corresponding to the target server 1, a dynamic data table corresponding to the target server 2 and a dynamic data table corresponding to the target server 3. The dynamic data table corresponding to the target server 1 stores the data of the target server 1 at each time and the health status at each time. The dynamic data table corresponding to the target server 2 stores the data of the target server 2 at each time and the health status at each time. The dynamic data table corresponding to the target server 3 stores the data of the target server 3 at each time and the health status at each time.
According to the method provided by the embodiment of the application, the server is monitored to obtain the bottom data of the server, then the static data table is queried according to the server information of the server, and the bottom data is stored in the dynamic data table associated with the static data table, so that the real-time storage of the bottom data of the server is realized, and an effective basis is provided for subsequent fault detection.
In an embodiment of the present application, after writing the target underlying data into the target dynamic data table in the database, as shown in fig. 2, the method further includes:
And S21, comparing the target bottom layer data with preset bottom layer data to determine the corresponding target health state of the target server in the current time period, wherein the preset bottom layer data is the data of the target server in the normal state.
In the embodiment of the application, after the target bottom layer data is written into the target dynamic data table, the target bottom layer data and the preset bottom layer data are compared, so that the corresponding target health state of the target server in the current time period is determined, wherein the preset bottom layer data can be a data range formed by a lower limit value and an upper limit value of the target server in a normal state. When the target underlying data falls within the data range, the target health state is a normal state. When the target underlying data does not fall into the data range, the target health state is an abnormal state.
Step S22, the target health state is written into the target dynamic data table.
In the embodiment of the application, after the target health state corresponding to the target server is determined, the target health state is written into the target dynamic data table, and the server can be maintained later according to the health state stored in the target dynamic data table.
At present, the supervision of the server is to use a BMC system to process and diagnose the data directly obtained from the device by using some artificially written codes, and the data cannot be stored. The thinking of people is more or less limited, the result of code logic judgment cannot guarantee the accuracy of percentage, the value of the original data is not well utilized at present, the original data can be traced back only when problems occur, but a plurality of problems can be encountered as described above, on one hand, the data volume is huge and cannot be exhausted one by one, on the other hand, the field cannot be damaged, and the situations need remote assistance and are inconvenient to operate. Some better companies will store some of the underlying data in files, but due to lack of contrast, the collected data is limited and may not work well.
Based on this, in the embodiment of the present application, after writing the target health status into the target dynamic data table, a method is further provided, as shown in fig. 3, where the method further includes:
in step S31, in the case where the target health state is an abnormal state, the target underlying data is analyzed to determine failure information causing the abnormality of the target server.
In the embodiment of the present application, step S31, analyzing the target underlying data to determine fault information causing an anomaly of the target server, includes the following steps C1-C3:
And step C1, acquiring historical bottom data of the target server in a historical time period adjacent to the current time period.
And step C2, inputting the target bottom data and the historical bottom data into a pre-trained fault detection model so that the fault detection model determines at least one piece of candidate fault information corresponding to the target bottom data and the historical bottom data and the confidence degree corresponding to each piece of candidate fault information.
And C3, determining candidate fault information with the confidence coefficient larger than the preset confidence coefficient as target fault information.
In the embodiment of the application, the target dynamic data table stores the bottom data acquired in a plurality of time periods, so that the historical bottom data in the historical time period adjacent to the current time period can be acquired from the target dynamic data table under the condition that the target health state is abnormal. And then inputting the target bottom data and the historical bottom data into a fault detection model, so that the fault detection model analyzes according to the target bottom data and the historical bottom data, at least one piece of candidate fault information corresponding to the target bottom data and the historical bottom data and the confidence coefficient corresponding to each piece of candidate fault information are calculated, and finally the candidate fault information with the confidence coefficient larger than the preset confidence coefficient is determined to be the target fault information.
In the embodiment of the application, the training process of the fault detection model is as follows: and acquiring the bottom layer data sample and label information corresponding to the bottom layer data sample, wherein the label information is used for labeling a fault information sample corresponding to the bottom layer data sample. Inputting the bottom data sample and the label information into a preset neural network model so that the preset neural network model learns the relation between the bottom data sample and the fault information sample, and finally obtaining a fault detection model.
Step S32, performing a corresponding fault handling operation based on the fault information.
In the embodiment of the application, when the supervising server fails, if the code logic cannot give a direct result, engineers are required in many cases to trace back the original data of the device, and the result may be unsatisfactory due to various condition limitations. Therefore, when the embodiment of the application is applied, engineers can quickly find out the failure cause from the stored original data and the comparison file, the time and labor cost can be greatly saved, and the service efficiency can be greatly increased.
Fig. 4 is a block diagram of an apparatus for monitoring a server according to an embodiment of the present application, where the apparatus may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 4, the apparatus includes:
A determining module 41, configured to determine at least one target server to be monitored currently in the target lan.
The monitoring module 42 is configured to monitor the target server, and obtain target server information and target underlying data corresponding to the target server.
The obtaining module 43 is configured to obtain, in a case where server information matching the target server information exists in the static data table of the database, a target dynamic data table associated with the static data table from the database according to the target server information.
A writing module 44, configured to write the target underlying data into a target dynamic data table in the database.
In the embodiment of the present application, the determining module 41 is configured to receive a local area network creation request, where the local area network creation request is used to create a local area network in an internet of things system, and the internet of things system includes a plurality of servers; determining a server meeting a local area network creation request in the Internet of things system as a candidate server, and building a target local area network based on the candidate server; and acquiring target servers meeting preset monitoring requirements from the candidate servers, and distributing preset communication addresses to the target servers so that communication is carried out between the target servers based on the preset communication addresses.
In the embodiment of the present application, the device for server information further includes: the creating module is used for acquiring the information quantity corresponding to the server information stored in the static data table; and creating dynamic data tables with the same quantity as the information quantity, and establishing a relation between the static data tables and the dynamic data tables.
In the embodiment of the application, a creation module is used for acquiring a product serial number from server information stored in a static data table; and generating a dynamic data table corresponding to each product serial number, and writing the product serial number into the dynamic data table to establish a relation between the static data table and the dynamic data table.
In the embodiment of the present application, the device for server information further includes: the comparison module is used for comparing the target bottom layer data with preset bottom layer data to determine the corresponding target health state of the target server in the current time period, wherein the preset bottom layer data is data of the target server in a normal state; and writing the target health state into a target dynamic data table.
In the embodiment of the present application, the device for server information further includes: the detection module is used for analyzing the target bottom layer data to determine fault information causing the abnormality of the target server under the condition that the target health state is an abnormal state; and executing corresponding fault processing operation based on the fault information.
In the embodiment of the application, the following steps are included: the detection module is used for acquiring historical bottom data of the target server in a historical time period adjacent to the current time period; inputting the target underlying data and the historical underlying data into a pre-trained fault detection model so that the fault detection model determines at least one piece of candidate fault information corresponding to the target underlying data and the historical underlying data and the confidence level corresponding to each piece of candidate fault information; and determining the candidate fault information with the confidence coefficient larger than the preset confidence coefficient as target fault information.
The embodiment of the application also provides an electronic device, as shown in fig. 5, the electronic device may include: the device comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 are in communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501, when executing the computer program stored in the memory 1503, implements the steps of the above embodiments.
The communication bus mentioned by the above terminal may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal and other devices.
The memory may include random access memory (Random Access Memory, RAM) or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), etc.; but may also be a digital signal processor (DIGITAL SIGNAL Processing, DSP), application Specific Integrated Circuit (ASIC), field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In yet another embodiment of the present application, a computer readable storage medium is provided, in which instructions are stored, which when run on a computer, cause the computer to perform the method for monitoring a server according to any of the above embodiments.
In a further embodiment of the present application, a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of monitoring a server according to any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk Solid STATE DISK), etc.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for monitoring a server, comprising:
Determining at least one target server to be monitored currently in a target local area network;
Monitoring the target server to obtain target server information and target bottom layer data corresponding to the target server in the current time period;
Under the condition that server information matched with the target server information exists in a static data table of a database, acquiring a target dynamic data table associated with the static data table from the database according to the target server information;
writing the target bottom layer data into a target dynamic data table in a database;
The method further comprises the steps of:
Acquiring the information quantity corresponding to the server information stored in the static data table;
creating dynamic data tables with the same quantity as the information quantity, and building a relation between the static data tables and the dynamic data tables;
the creating the dynamic data table with the same quantity as the information quantity, and establishing the relation between the static data table and the dynamic data table, comprising:
acquiring a product serial number from server information stored in the static data table;
And generating a dynamic data table corresponding to each product serial number, and writing the product serial number into the dynamic data table to establish a relation between the static data table and the dynamic data table.
2. The method of claim 1, wherein the determining at least one target server currently to be monitored in the target local area network comprises:
receiving a local area network creation request, wherein the local area network creation request is used for creating a local area network in an Internet of things system, and the Internet of things system comprises a plurality of servers;
Determining a server meeting the local area network creation request in the Internet of things system as a candidate server, and building a target local area network based on the candidate server;
and acquiring target servers meeting preset monitoring requirements from the candidate servers, and distributing preset communication addresses to the target servers so that the target servers communicate based on the preset communication addresses.
3. The method of claim 1, wherein after writing the target underlying data to a target dynamic data table in a database, the method further comprises:
comparing the target bottom layer data with preset bottom layer data to determine a corresponding target health state of the target server in the current time period, wherein the preset bottom layer data is data of the target server in a normal state;
and writing the target health state into the target dynamic data table.
4. A method according to claim 3, wherein after writing the target health status to the target dynamic data table, the method further comprises:
Analyzing the target underlying data to determine fault information causing the abnormality of the target server under the condition that the target health state is an abnormal state;
And executing corresponding fault processing operation based on the fault information.
5. The method of claim 4, wherein said analyzing the target underlying data to determine failure information that causes the target server to be anomalous comprises:
Acquiring historical bottom data of the target server in a historical time period adjacent to the current time period;
Inputting the target underlying data and the historical underlying data into a pre-trained fault detection model so that the fault detection model determines at least one candidate fault information corresponding to the target underlying data and the historical underlying data and the confidence level corresponding to each candidate fault information;
and determining the candidate fault information with the confidence coefficient larger than a preset confidence coefficient as the target fault information.
6. A monitoring device for a server, comprising:
the determining module is used for determining at least one target server to be monitored currently in the target local area network;
the monitoring module is used for monitoring the target server to obtain target server information and target bottom layer data corresponding to the target server;
The acquisition module is used for acquiring a target dynamic data table associated with the static data table from the database according to the target server information under the condition that the server information matched with the target server information exists in the static data table of the database;
The writing module is used for writing the target bottom layer data into a target dynamic data table in a database;
the apparatus of server information further includes: the creating module is used for acquiring the information quantity corresponding to the server information stored in the static data table; creating dynamic data tables with the same quantity as the information quantity, and building a relation between the static data tables and the dynamic data tables;
The creation module is used for acquiring a product serial number from server information stored in the static data table; and generating a dynamic data table corresponding to each product serial number, and writing the product serial number into the dynamic data table to establish a relation between the static data table and the dynamic data table.
7. A storage medium comprising a stored program, wherein the program when run performs the method steps of any of the preceding claims 1 to 5.
8. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; wherein:
A memory for storing a computer program;
A processor for performing the method steps of any of claims 1-5 by running a program stored on a memory.
CN202210107938.8A 2022-01-28 2022-01-28 Monitoring method and device of server, electronic equipment and storage medium Active CN114564349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210107938.8A CN114564349B (en) 2022-01-28 2022-01-28 Monitoring method and device of server, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210107938.8A CN114564349B (en) 2022-01-28 2022-01-28 Monitoring method and device of server, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114564349A CN114564349A (en) 2022-05-31
CN114564349B true CN114564349B (en) 2024-06-25

Family

ID=81713968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210107938.8A Active CN114564349B (en) 2022-01-28 2022-01-28 Monitoring method and device of server, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114564349B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117033397B (en) * 2023-10-08 2023-12-26 北京泰利思诺信息技术股份有限公司 Management method and system for low-memory-occupation query of historical data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988439A (en) * 2021-02-09 2021-06-18 北京奇艺世纪科技有限公司 Server fault discovery method and device, electronic equipment and storage medium
CN113656247A (en) * 2021-08-16 2021-11-16 北京奇艺世纪科技有限公司 Service monitoring method and device, electronic equipment and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635331B (en) * 2014-11-18 2019-10-18 阿里巴巴集团控股有限公司 Service addressing method and device under a kind of distributed environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988439A (en) * 2021-02-09 2021-06-18 北京奇艺世纪科技有限公司 Server fault discovery method and device, electronic equipment and storage medium
CN113656247A (en) * 2021-08-16 2021-11-16 北京奇艺世纪科技有限公司 Service monitoring method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114564349A (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN110321371B (en) Log data anomaly detection method, device, terminal and medium
CN110830450A (en) Abnormal flow monitoring method, device and equipment based on statistics and storage medium
CN113935497A (en) Intelligent operation and maintenance fault processing method, device and equipment and storage medium thereof
CN112148733A (en) Method, device, electronic device and computer readable medium for determining fault type
CN110634081A (en) Method and device for processing abnormal data of hydropower station
CN113868953B (en) Multi-unit operation optimization method, device and system in industrial system and storage medium
JP6457777B2 (en) Automated generation and dynamic update of rules
CN114564349B (en) Monitoring method and device of server, electronic equipment and storage medium
CN108241744A (en) A kind of log read method and apparatus
CN109062769B (en) Method, device and equipment for predicting IT system performance risk trend
CN117041029A (en) Network equipment fault processing method and device, electronic equipment and storage medium
CN111338876B (en) Decision method, system and storage medium for fault mode and influence analysis
CN115622867A (en) Industrial control system safety event early warning classification method and system
CN110363381B (en) Information processing method and device
CN113918438A (en) Method and device for detecting server abnormality, server and storage medium
CN113934536B (en) Data acquisition method facing edge calculation
CN114443437A (en) Alarm root cause output method, apparatus, device, medium, and program product
Kameswari et al. Sensor data analysis and anomaly detection using predictive analytics for process industries
CN112100037B (en) Alarm level identification method, device, electronic equipment and storage medium
CN112416896A (en) Data abnormity warning method and device, storage medium and electronic device
CN111695829B (en) Index fluctuation period calculation method and device, storage medium and electronic equipment
CN111221320B (en) Data interpretation method and device, terminal and computer readable medium
CN114742371A (en) Business process management system and method thereof
CN115689320A (en) Health management method and device for base station operation and computer readable storage medium
CN114095337A (en) KPI (Key Performance indicator) anomaly detection method and device, computing equipment and computer 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
GR01 Patent grant