CN111124828A - Data processing method, device, equipment and storage medium - Google Patents
Data processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111124828A CN111124828A CN201911332538.1A CN201911332538A CN111124828A CN 111124828 A CN111124828 A CN 111124828A CN 201911332538 A CN201911332538 A CN 201911332538A CN 111124828 A CN111124828 A CN 111124828A
- Authority
- CN
- China
- Prior art keywords
- cpld
- monitoring
- communication protocol
- register address
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 29
- 238000012544 monitoring process Methods 0.000 claims abstract description 210
- 238000004891 communication Methods 0.000 claims abstract description 81
- 238000000034 method Methods 0.000 claims abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 11
- 238000004458 analytical method Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000903 blocking effect Effects 0.000 claims description 7
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 10
- 230000002159 abnormal effect Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001276 controlling effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a data processing method, a device, equipment and a storage medium, wherein the method comprises the following steps: receiving an incoming CPLD identification; acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol; reading monitoring data of corresponding CPLD equipment according to the address of the CPLD register, wherein the monitoring data is generated by the CPLD equipment executing monitoring operation on the server; and analyzing the monitoring data based on the CPLD communication protocol to obtain monitoring state information, wherein the monitoring state information comprises state description information. The method relatively improves the overall efficiency of technicians in monitoring the running state of the server according to the monitoring data of the CPLD by using the BMC. In addition, the invention also provides a data processing device, equipment and a storage medium, and the beneficial effects are as above.
Description
Technical Field
The present invention relates to the field of data processing, and in particular, to a data processing method, apparatus, device, and storage medium.
Background
A BMC (Baseboard Management Controller) is a Management Controller specific to a server, and a CPLD (Complex Programmable Logic Device) is a component currently used for monitoring data of an underlying functional module in the server.
The BMC is generally used for monitoring an operation state of a server, and regulating and controlling the server according to a current state, and it can achieve a monitoring function, mainly, accessing a CPLD preset in the server through I2C (Inter-Integrated Circuit) bus communication, and reading monitoring data generated by monitoring the server in the CPLD and encapsulated based on a corresponding protocol according to a formulated protocol interface.
Therefore, the problem to be solved by the technical staff in the field is to provide a data processing method to relatively improve the overall efficiency when the technical staff monitors the running state of the server according to the monitoring data of the CPLD by using the BMC.
Disclosure of Invention
The invention aims to provide a data processing method, a data processing device, equipment and a storage medium, so as to relatively improve the overall efficiency of technical personnel when monitoring the running state of a server by utilizing BMC according to the monitoring data of a CPLD.
In order to solve the above technical problem, the present invention provides a data processing method, applied to a BMC device, including:
receiving an incoming CPLD identification;
acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol;
reading monitoring data of corresponding CPLD equipment according to the address of the CPLD register, wherein the monitoring data is generated by the CPLD equipment executing monitoring operation on the server;
and analyzing the monitoring data based on the CPLD communication protocol to obtain monitoring state information, wherein the monitoring state information comprises state description information.
Preferably, before acquiring the CPLD register address corresponding to the CPLD identifier and the CPLD communication protocol, the method further includes:
judging whether a CPLD register address and a CPLD communication protocol corresponding to the CPLD identifier exist or not;
if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identification exist, executing the step of acquiring the CPLD register address and the CPLD communication protocol corresponding to the CPLD identification;
and if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identification do not exist, outputting user prompt information, wherein the user prompt information records available CPLD identifications corresponding to the target CPLD equipment in the operating state in the server.
Preferably, before reading the monitor data of the corresponding CPLD device according to the CPLD register address, the method further includes:
judging whether an I2C bus of the CPLD device is in a blocking state;
if the I2C bus of the CPLD device is in a blocking state, outputting a communication abnormity prompt;
and if the I2C bus of the CPLD device is not in the blocking state, executing the step of reading the monitoring data of the corresponding CPLD device according to the CPLD register address.
Preferably, the analyzing operation is performed on the monitoring data based on the CPLD communication protocol to obtain the monitoring state information, including:
analyzing the monitoring data based on the CPLD communication protocol to obtain a monitoring result value and a corresponding monitoring state code;
acquiring corresponding state description information based on the monitoring state code;
and obtaining monitoring state information according to the state description information and the monitoring result value.
Preferably, the CPLD identification includes a CPLD number.
Preferably, after performing parsing operation on the monitoring data based on the CPLD communication protocol to obtain monitoring state information, the method further includes:
and outputting the monitoring state information through an HTML page.
In addition, the present invention also provides a data processing apparatus comprising:
the identification receiving module is used for receiving the incoming CPLD identification;
the acquisition module is used for acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol;
the reading module is used for reading the monitoring data of the corresponding CPLD equipment according to the address of the CPLD register, and the monitoring data is generated by the CPLD equipment executing monitoring operation on the server;
and the information generation module is used for performing analysis operation on the monitoring data based on the CPLD communication protocol to obtain monitoring state information, and the monitoring state information comprises state description information.
Preferably, the apparatus further comprises:
the corresponding relation judging module is used for judging whether a CPLD register address and a CPLD communication protocol corresponding to the CPLD identification exist, if so, the obtaining module is called, and otherwise, the prompting module is called;
and the prompting module is used for outputting user prompting information, and the user prompting information records available CPLD identifications corresponding to the target CPLD devices in the running state in the server.
In addition, the present invention also provides a BMC device, including:
a memory for storing a computer program;
a processor for implementing the steps of the data processing method as described above when executing the computer program.
Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps of the data processing method as described above.
The data processing method provided by the invention is applied to BMC equipment, firstly receives an incoming CPLD identifier, further obtains a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol, reads monitoring data of the corresponding CPLD equipment according to the CPLD register address, the monitoring data is generated by the CPLD equipment executing monitoring operation on a server, and further executes analysis operation on the monitoring data based on the CPLD communication protocol after the monitoring data is obtained to obtain monitoring state information containing state description information. According to the method, after the monitoring data in the CPLD register address is acquired, the analyzing operation is further performed on the monitoring data according to the CPLD communication protocol, and the monitoring state information containing the state description information is generated, so that a technician can more intuitively learn the meaning of the monitoring data generated in the process of monitoring the server by the CPLD by using the state description information generated by analyzing the monitoring data of the BMC based on the CPLD, the occurrence of the fault can be efficiently learned when the server fails, and the overall efficiency of the technician in monitoring the running state of the server according to the monitoring data of the CPLD is relatively improved. In addition, the invention also provides a data processing device, equipment and a storage medium, and the beneficial effects are as above.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a specific data processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a specific data processing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
The BMC is generally used for monitoring an operation state of a server, and regulating and controlling the server according to a current state, and it can achieve a monitoring function, mainly, accessing a CPLD preset in the server through I2C (Inter-Integrated Circuit) bus communication, and reading monitoring data generated by monitoring the server in the CPLD and encapsulated based on a corresponding protocol according to a formulated protocol interface.
Therefore, the core of the invention is to provide a data processing method to relatively improve the overall efficiency when technicians monitor the running state of the server by using the BMC according to the monitoring data of the CPLD.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, an embodiment of the present invention discloses a data processing method applied to a BMC device, including:
step S10: an incoming CPLD identification is received.
It should be noted that the CPLD identifiers in this step may be identification information input by a technician, each CPLD identifier can correspond to a corresponding CPLD device only, and in this embodiment, the purpose of inputting the CPLD identifier to the BMC device by the technician is to represent the relevant information generated by monitoring the server by the CPLD device corresponding to the CPLD identifier.
Step S11: and acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol.
The CPLD identification can be uniquely corresponding to the CPLD device, so that the CPLD identification can further correspond to the related information of the CPLD, after the CPLD identification is received, a CPLD register address corresponding to the CPLD identification and a CPLD communication protocol are further obtained, the CPLD register address in the step is an access address of a register of the CPLD device corresponding to the CPLD identification, the CPLD communication protocol in the step is a monitoring protocol between the BMC device and the CPLD device corresponding to the CPLD identification, and the CPLD communication protocol specifies a data rule that the BMC device can correctly obtain the real meaning of monitoring data in the CPLD device.
The CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier obtained in this step may be specifically obtained based on an identifier address correspondence table, respectively, and the CPLD communication protocol corresponding to the CPLD identifier obtained based on the identifier protocol correspondence table, where a correspondence between real CPLD identifiers of all current CPLD devices in the server and real CPLD register addresses of the current CPLD devices is recorded in the identifier address correspondence table, and a correspondence between real CPLD identifiers of all current CPLD devices in the server and real CPLD communication protocols of the current CPLD devices is recorded in the identifier protocol correspondence table.
Step S12: and reading the monitoring data of the corresponding CPLD device according to the address of the CPLD register, wherein the monitoring data is generated by the CPLD device executing monitoring operation on the server.
After the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier are obtained, the monitoring data of the corresponding CPLD device is further read according to the CPLD register address in this step, the monitoring data in the register of the CPLD device is generated by the CPLD device performing the corresponding monitoring operation on the server in this step, and since different CPLD devices are different in the function modules for monitoring the server, the present application does not specifically limit the monitoring operation performed by the CPLD device on the server.
It should be emphasized that the monitor data of the corresponding CPLD device read by this step according to the CPLD register address includes an underlying status code that can only be directly recognized by the CPLD device, so that the technician cannot directly learn the current status of the server according to the monitor data obtained in the CPLD register.
Step S13: and analyzing the monitoring data based on the CPLD communication protocol to obtain monitoring state information, wherein the monitoring state information comprises state description information.
On the basis of acquiring the monitoring data, the step further executes analysis operation on the monitoring data based on the CPLD communication protocol to obtain monitoring state information, wherein the monitoring state information comprises state description information. This step essentially resolves the monitoring data into actual meaning that the technical person can understand, i.e. into monitoring status information containing status description information, according to the CPLD communication protocol.
The data processing method provided by the invention is applied to BMC equipment, firstly receives an incoming CPLD identifier, further obtains a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol, reads monitoring data of the corresponding CPLD equipment according to the CPLD register address, the monitoring data is generated by the CPLD equipment executing monitoring operation on a server, and further executes analysis operation on the monitoring data based on the CPLD communication protocol after the monitoring data is obtained to obtain monitoring state information containing state description information. According to the method, after the monitoring data in the CPLD register address is acquired, the analyzing operation is further performed on the monitoring data according to the CPLD communication protocol, and the monitoring state information containing the state description information is generated, so that a technician can more intuitively learn the meaning of the monitoring data generated in the process of monitoring the server by the CPLD by using the state description information generated by analyzing the monitoring data of the BMC based on the CPLD, the occurrence of the fault can be efficiently learned when the server fails, and the overall efficiency of the technician in monitoring the running state of the server according to the monitoring data of the CPLD is relatively improved.
On the basis of the foregoing embodiment, as a preferred implementation, the obtaining of the monitoring state information by performing an analysis operation on the monitoring data based on the CPLD communication protocol includes:
analyzing the monitoring data based on the CPLD communication protocol to obtain a monitoring result value and a corresponding monitoring state code;
acquiring corresponding state description information based on the monitoring state code;
and obtaining monitoring state information according to the state description information and the monitoring result value.
It should be noted that, in the embodiment, the specific process of obtaining the monitoring state information by performing the parsing operation on the monitoring data based on the CPLD communication protocol is to parse the monitoring data based on the CPLD communication protocol to obtain the monitoring result value and the corresponding monitoring state code, where the monitoring result value refers to a numerical value obtained by the CPLD device performing the monitoring operation, the monitoring state code is an identification code representing a state of the CPLD device generated according to the monitoring result value, after the monitoring state code is obtained, corresponding state description information is further obtained based on the monitoring state code, the state description information is character string information which can be read by technicians and the meaning of the character string information can be intuitively understood, and finally the monitoring state information is obtained according to the state description information and the monitoring result value.
As a preferred embodiment, the CPLD identification includes a CPLD number.
It should be noted that the CPLD number can relatively accurately represent the identity of the CPLD device, and then the monitoring data corresponding to the CPLD device can be accurately obtained according to the CPLD number, thereby further ensuring the overall accuracy of the monitoring state information.
As a preferred embodiment, after performing parsing operation on the monitoring data based on the CPLD communication protocol to obtain the monitoring state information, the method further includes:
and outputting the monitoring state information through an HTML page.
It should be noted that, in the present embodiment, after the monitoring state information is obtained by performing an analysis operation on the monitoring data based on the CPLD communication protocol, the monitoring state information is further output through the HTML page, and the efficiency of acquiring the monitoring state information by a technician can be further improved.
Referring to fig. 2, an embodiment of the present invention discloses a data processing method applied to a BMC device, including:
step S20: an incoming CPLD identification is received.
Step S21: judging whether a CPLD register address and a CPLD communication protocol corresponding to the CPLD identifier exist, if so, executing the step S22 to the step S24, otherwise, executing the step S25;
step S22: and acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol.
Step S23: and reading the monitoring data of the corresponding CPLD device according to the address of the CPLD register, wherein the monitoring data is generated by the CPLD device executing monitoring operation on the server.
Step S24: and analyzing the monitoring data based on the CPLD communication protocol to obtain monitoring state information, wherein the monitoring state information comprises state description information.
Step S25: and outputting user prompt information, wherein the user prompt information records available CPLD identifications corresponding to the target CPLD equipment in the running state in the server.
It should be noted that the key point of this embodiment is to determine whether the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier exist or not before acquiring the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier, that is, determine whether the incoming CPLD identifier is incorrect or not, and further acquire the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier exist or the CPLD communication protocol can be acquired based on the incoming CPLD identifier; on the contrary, if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier do not exist, the CPLD identifier that is transmitted is considered to be incorrect, so that the user prompt information is further output, and the available CPLD identifier corresponding to the target CPLD device in the operating state in the server is recorded in the user prompt information, so that the CPLD identifier that is considered to be input by the operation and maintenance is corrected, and the reliability of obtaining the monitoring state information by the technical staff is relatively ensured.
Referring to fig. 3, an embodiment of the present invention discloses a data processing method applied to a BMC device, including:
step S30: receiving an incoming CPLD identification;
step S31: acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol;
step S32: and judging whether the I2C bus of the CPLD device is in a blocking state, if so, executing the step S33, and otherwise, executing the steps S34 to S35.
Step S33: and outputting a communication abnormity prompt.
Step S34: and reading the monitoring data of the corresponding CPLD device according to the address of the CPLD register, wherein the monitoring data is generated by the CPLD device executing monitoring operation on the server.
Step S35: and analyzing the monitoring data based on the CPLD communication protocol to obtain monitoring state information, wherein the monitoring state information comprises state description information.
It should be noted that, the important point of this embodiment is to determine whether the I2C bus of the CPLD device is in a blocked state before reading the monitoring data of the CPLD device according to the CPLD register address, that is, determine that the CPLD device can communicate with the BMC device, and because the BMC device communicates with the CPLD device based on the I2C bus, if the I2C bus of the CPLD device is in a blocked state, it is considered that the monitoring data of the CPLD device read by the CPLD register address cannot be normally obtained, and then the communication abnormal prompt is output, so as to ensure that the technician learns the occurrence of the communication abnormal condition. The embodiment further ensures that when the monitoring data process of the CPLD device is abnormal, technicians can timely learn the abnormal occurrence and can efficiently adopt corresponding solving means to remove the abnormal occurrence, and the overall reliability of the technicians in monitoring the operating state of the server according to the monitoring data of the CPLD is improved.
On the other hand, the invention also provides a data processing device. Referring to fig. 4, a schematic diagram of a component structure of an embodiment of a data processing apparatus is shown, where the apparatus includes:
the identification receiving module 10 is used for receiving an incoming CPLD identification;
the acquisition module 11 is configured to acquire a CPLD register address and a CPLD communication protocol corresponding to the CPLD identifier;
the reading module 12 is configured to read monitoring data of the corresponding CPLD device according to the CPLD register address, where the monitoring data is generated when the CPLD device performs a monitoring operation on the server;
and the information generation module 13 is configured to perform an analysis operation on the monitoring data based on the CPLD communication protocol to obtain monitoring state information, where the monitoring state information includes state description information.
The data processing device provided by the invention is applied to BMC equipment, firstly receives an incoming CPLD identifier, further obtains a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol, reads monitoring data of the corresponding CPLD equipment according to the CPLD register address, the monitoring data is generated by the CPLD equipment executing monitoring operation on a server, and further executes analysis operation on the monitoring data based on the CPLD communication protocol after the monitoring data is obtained to obtain monitoring state information containing state description information. After the device acquires the monitoring data in the CPLD register address, the device further executes analysis operation on the monitoring data according to the CPLD communication protocol to generate monitoring state information containing state description information, so that a technician can more intuitively learn the meaning of the monitoring data generated in the process of monitoring the server by the CPLD by utilizing the state description information generated by the BMC through analyzing the monitoring data based on the CPLD, further can efficiently learn the occurrence of the fault when the server fails, and relatively improves the overall efficiency when the technician monitors the operating state of the server according to the monitoring data of the CPLD by utilizing the BMC.
Further, as a preferred embodiment, the apparatus further comprises:
the corresponding relation judging module is used for judging whether a CPLD register address and a CPLD communication protocol corresponding to the CPLD identification exist, if so, the obtaining module is called, and otherwise, the prompting module is called;
and the prompting module is used for outputting user prompting information, and the user prompting information records available CPLD identifications corresponding to the target CPLD devices in the running state in the server.
In another aspect, the present invention further provides a BMC device, including:
a memory for storing a computer program;
a processor for implementing the steps of the data processing method as described above when executing the computer program.
The BMC device provided by the invention firstly receives the incoming CPLD identifier, further obtains the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier, reads the monitoring data of the corresponding CPLD device according to the CPLD register address, the monitoring data is generated by the CPLD device executing monitoring operation on the server, and after the monitoring data is obtained, further executes analysis operation on the monitoring data based on the CPLD communication protocol to obtain the monitoring state information containing state description information. After the BMC device acquires the monitoring data in the CPLD register address, the BMC device further executes analysis operation on the monitoring data according to the CPLD communication protocol to generate monitoring state information containing state description information, so that a technician can more intuitively learn the meaning of the monitoring data generated in the process of monitoring the server by the CPLD by using the state description information generated by the BMC based on the analysis of the monitoring data of the CPLD, further can efficiently learn the occurrence of a fault when the server fails, and relatively improves the overall efficiency when the technician monitors the running state of the server according to the monitoring data of the CPLD by using the BMC.
Furthermore, the present invention also provides a computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps of the data processing method as described above.
The computer readable storage medium provided by the invention is applied to BMC equipment, firstly receives an incoming CPLD identifier, further obtains a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol, reads monitoring data of the corresponding CPLD equipment according to the CPLD register address, the monitoring data is generated by the CPLD equipment executing monitoring operation on a server, and after the monitoring data is obtained, further executes analysis operation on the monitoring data based on the CPLD communication protocol to obtain monitoring state information containing state description information. After the computer readable storage medium acquires the monitoring data in the CPLD register address, the computer readable storage medium further executes analysis operation on the monitoring data according to the CPLD communication protocol to generate monitoring state information containing state description information, so that a technician can more intuitively learn the meaning of the monitoring data generated in the process of monitoring the server by the CPLD by using the state description information generated by the BMC based on the analysis of the monitoring data of the CPLD, and can efficiently learn the occurrence of the fault when the server fails, thereby relatively improving the overall efficiency when the technician monitors the operating state of the server according to the monitoring data of the CPLD by using the BMC.
The data processing method, device, equipment and storage medium provided by the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A data processing method is applied to a BMC device, and comprises the following steps:
receiving an incoming CPLD identification;
acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol;
reading monitoring data of corresponding CPLD equipment according to the CPLD register address, wherein the monitoring data is generated by the CPLD equipment executing monitoring operation on a server;
and analyzing the monitoring data based on the CPLD communication protocol to obtain monitoring state information, wherein the monitoring state information comprises state description information.
2. The data processing method according to claim 1, wherein prior to said obtaining a CPLD register address corresponding to said CPLD identification and a CPLD communication protocol, said method further comprises:
judging whether a CPLD register address and a CPLD communication protocol corresponding to the CPLD identifier exist or not;
if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identification exist, executing the step of acquiring the CPLD register address and the CPLD communication protocol corresponding to the CPLD identification;
and if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identification do not exist, outputting user prompt information, wherein the user prompt information records available CPLD identifications corresponding to the target CPLD equipment in the server in the running state.
3. The data processing method according to claim 1, wherein prior to said reading the monitor data of the respective CPLD device according to the CPLD register address, said method further comprises:
judging whether an I2C bus of the CPLD device is in a blocking state;
if the I2C bus of the CPLD device is in a blocking state, outputting a communication abnormity prompt;
and if the I2C bus of the CPLD device is not in a blocking state, executing the step of reading the monitoring data of the corresponding CPLD device according to the CPLD register address.
4. The data processing method according to claim 1, wherein the performing an analysis operation on the monitoring data based on the CPLD communication protocol to obtain monitoring status information includes:
analyzing the monitoring data based on the CPLD communication protocol to obtain a monitoring result value and a corresponding monitoring state code;
acquiring corresponding state description information based on the monitoring state code;
and obtaining the monitoring state information according to the state description information and the monitoring result value.
5. The data processing method of claim 1, wherein the CPLD identification comprises a CPLD number.
6. The data processing method according to any one of claims 1 to 5, wherein after the performing a parsing operation on the monitoring data based on the CPLD communication protocol to obtain monitoring state information, the method further comprises:
and outputting the monitoring state information through an HTML page.
7. A data processing apparatus, comprising:
the identification receiving module is used for receiving the incoming CPLD identification;
the acquisition module is used for acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol;
the reading module is used for reading monitoring data of corresponding CPLD equipment according to the CPLD register address, wherein the monitoring data is generated by the CPLD equipment executing monitoring operation on a server;
and the information generation module is used for analyzing the monitoring data based on the CPLD communication protocol to obtain monitoring state information, wherein the monitoring state information comprises state description information.
8. The data processing apparatus of claim 7, wherein the apparatus further comprises:
the corresponding relation judging module is used for judging whether a CPLD register address and a CPLD communication protocol corresponding to the CPLD identification exist, if so, the obtaining module is called, otherwise, the prompting module is called;
and the prompting module is used for outputting user prompting information, and the user prompting information records available CPLD identifications corresponding to the target CPLD devices in the operating state in the server.
9. A BMC device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the data processing method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the data processing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911332538.1A CN111124828B (en) | 2019-12-22 | 2019-12-22 | Data processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911332538.1A CN111124828B (en) | 2019-12-22 | 2019-12-22 | Data processing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111124828A true CN111124828A (en) | 2020-05-08 |
CN111124828B CN111124828B (en) | 2023-04-25 |
Family
ID=70501359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911332538.1A Active CN111124828B (en) | 2019-12-22 | 2019-12-22 | Data processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111124828B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112100023A (en) * | 2020-08-14 | 2020-12-18 | 苏州浪潮智能科技有限公司 | Board card information acquisition method and device for heterogeneous acceleration platform |
CN113626279A (en) * | 2021-06-30 | 2021-11-09 | 苏州浪潮智能科技有限公司 | I2C communication monitoring method, device, CPLD and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770022A (en) * | 2017-10-20 | 2018-03-06 | 深圳益邦阳光有限公司 | Collecting method, electronic equipment and storage medium based on rtu protocol |
CN108287780A (en) * | 2018-01-25 | 2018-07-17 | 郑州云海信息技术有限公司 | A kind of device and method of monitoring server CPLD states |
CN108829612A (en) * | 2018-06-29 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of address mapping method, system, equipment and computer readable storage medium |
-
2019
- 2019-12-22 CN CN201911332538.1A patent/CN111124828B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770022A (en) * | 2017-10-20 | 2018-03-06 | 深圳益邦阳光有限公司 | Collecting method, electronic equipment and storage medium based on rtu protocol |
CN108287780A (en) * | 2018-01-25 | 2018-07-17 | 郑州云海信息技术有限公司 | A kind of device and method of monitoring server CPLD states |
CN108829612A (en) * | 2018-06-29 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of address mapping method, system, equipment and computer readable storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112100023A (en) * | 2020-08-14 | 2020-12-18 | 苏州浪潮智能科技有限公司 | Board card information acquisition method and device for heterogeneous acceleration platform |
CN112100023B (en) * | 2020-08-14 | 2023-01-06 | 苏州浪潮智能科技有限公司 | Board card information acquisition method and device for heterogeneous acceleration platform |
CN113626279A (en) * | 2021-06-30 | 2021-11-09 | 苏州浪潮智能科技有限公司 | I2C communication monitoring method, device, CPLD and medium |
CN113626279B (en) * | 2021-06-30 | 2023-08-11 | 苏州浪潮智能科技有限公司 | I2C communication monitoring method, device, CPLD and medium |
Also Published As
Publication number | Publication date |
---|---|
CN111124828B (en) | 2023-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107819627B (en) | System fault processing method and server | |
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN103812726A (en) | Automated testing method and device for data communication equipment | |
CN109254864A (en) | A kind of application failure restorative procedure, device and electronic equipment | |
CN111052087B (en) | Control system, information processing apparatus, and recording medium | |
CN110501956B (en) | Production test alarm system, server and alarm information acquisition equipment | |
CN111124828B (en) | Data processing method, device, equipment and storage medium | |
CN110932887A (en) | BMC debugging method, system and device | |
CN112529223A (en) | Equipment fault repair method and device, server and storage medium | |
CN111563037B (en) | Test optimization method and device based on test questions, storage medium and terminal | |
US10754748B2 (en) | System and method for constructing extensible event log with javascript object notation (JSON) encoded payload data | |
CN112311574B (en) | Network topology connection checking method, device and equipment | |
CN114116343A (en) | Equipment testing method and device, electronic equipment and storage medium | |
CN103279702A (en) | Method for monitoring full-substation model file version during debugging of intelligent substation | |
CN109032867A (en) | A kind of method for diagnosing faults, device and equipment | |
CN110733037B (en) | Signal processing method and device, storage medium and processor | |
CN110134559B (en) | BMC fault detection method, system and related components | |
CN107678917B (en) | Test machine automation management method, device, equipment and storage medium | |
CN112583617A (en) | Fault determination method, server, control terminal and storage medium | |
US11665165B2 (en) | Whitelist generator, whitelist evaluator, whitelist generator/evaluator, whitelist generation method, whitelist evaluation method, and whitelist generation/evaluation method | |
CN103095513A (en) | Simulation testing device and method of Encryption equipment | |
CN114064485A (en) | Software testing method, system, computer equipment and readable storage medium | |
CN109212346B (en) | Debugging method of low-voltage intelligent power distribution cabinet | |
CN115913896B (en) | Equipment detection method, server and medium | |
CN116382968B (en) | Fault detection method and device for external equipment |
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 |