CN111124828B - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111124828B
CN111124828B CN201911332538.1A CN201911332538A CN111124828B CN 111124828 B CN111124828 B CN 111124828B CN 201911332538 A CN201911332538 A CN 201911332538A CN 111124828 B CN111124828 B CN 111124828B
Authority
CN
China
Prior art keywords
cpld
monitoring
communication protocol
state
information
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
CN201911332538.1A
Other languages
Chinese (zh)
Other versions
CN111124828A (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 CN201911332538.1A priority Critical patent/CN111124828B/en
Publication of CN111124828A publication Critical patent/CN111124828A/en
Application granted granted Critical
Publication of CN111124828B publication Critical patent/CN111124828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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 the corresponding CPLD device according to the CPLD register address, wherein the monitoring data is generated by the CPLD device executing monitoring operation on the server; and executing 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. The method relatively improves the overall efficiency of a technician when monitoring the running state of the server by utilizing the BMC according to the monitoring data of the CPLD. In addition, the invention also provides a data processing device, equipment and a storage medium, and the beneficial effects are the same as those described above.

Description

Data processing method, device, equipment and storage medium
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
The BMC (Baseboard Management Controller ) is a server-specific management controller, while the CPLD (Complex Programmable Logic Device ) is a component currently used for data monitoring of the underlying functional modules in the server.
The BMC is generally used for monitoring the running state of the server, regulates and controls the server according to the current state, can realize that the monitoring function mainly accesses a preset CPLD in the server through I2C (Inter-Integrated Circuit, integrated circuit) bus communication, reads monitoring data which are generated by monitoring the server in the CPLD according to a formulated protocol interface and are packaged based on a corresponding protocol, and because the current server has complex functions and structures, a plurality of CPLDs are often arranged to manage different areas and functions, each CPLD can generate corresponding monitoring data, and the overall efficiency of current technicians for monitoring the running state of the server according to the monitoring data of the CPLD by utilizing the BMC is relatively low.
Therefore, the data processing method is provided to relatively improve the overall efficiency of a technician when monitoring the running state of the server by utilizing the BMC according to the monitoring data of the CPLD, and is a problem to be solved by the technician in the field.
Disclosure of Invention
The invention aims to provide a data processing method, a device, equipment and a storage medium, so as to relatively improve the overall efficiency when a technician monitors the running state of a server by utilizing BMC according to monitoring data of CPLD.
In order to solve the above technical problems, 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 the corresponding CPLD device according to the CPLD register address, wherein the monitoring data is generated by the CPLD device executing monitoring operation on the server;
and executing 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.
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 corresponding to the CPLD identifier exists or not and judging whether a CPLD communication protocol exists or not;
if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier exist, executing the step of acquiring the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier;
if the CPLD register address and CPLD communication protocol corresponding to the CPLD identifier do not exist, outputting user prompt information, wherein the user prompt information records available CPLD identifiers corresponding to the target CPLD devices in the running state in the server.
Preferably, before reading the monitoring data of the corresponding CPLD device according to the CPLD register address, the method further comprises:
judging whether an I2C bus of the CPLD device is in a blocking state or not;
if the I2C bus of the CPLD device is in a blocking state, outputting a communication abnormality prompt;
if the I2C bus of the CPLD device is not in a blocking state, the step of reading the monitoring data of the corresponding CPLD device according to the CPLD register address is performed.
Preferably, the analyzing operation is performed on the monitoring data based on the CPLD communication protocol to obtain the monitoring state information, which 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 monitoring the state information according to the state description information and the monitoring result value.
Preferably, the CPLD identification includes a CPLD number.
Preferably, after performing an parsing operation on the monitored data based on the CPLD communication protocol to obtain the monitored state information, the method further includes:
and outputting the monitoring state information through the HTML page.
In addition, the invention also provides a data processing device, which comprises:
the mark receiving module is used for receiving the incoming CPLD mark;
the acquisition module is used for acquiring the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier;
the reading module is used for reading monitoring data of the corresponding CPLD device according to the CPLD register address, wherein the monitoring data is generated by the CPLD device 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, wherein the monitoring state information contains state description information.
Preferably, the apparatus further comprises:
the corresponding relation judging module is used for judging whether a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol exist or not, if so, the acquiring module is called, and if not, the prompting module is called;
and the prompt module is used for outputting user prompt information, and the user prompt information records available CPLD identifiers corresponding to the target CPLD devices in the running state in the server.
In addition, the invention also provides BMC equipment, which comprises:
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 present invention also provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor implements the steps of the data processing method as described above.
The data processing method provided by the invention is applied to BMC equipment, firstly, an incoming CPLD identifier is received, then a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol are obtained, monitoring data of the corresponding CPLD equipment are read according to the CPLD register address, the monitoring data are data generated by the CPLD equipment executing monitoring operation on a server, and after the monitoring data are obtained, analysis operation is further executed on the monitoring data based on the CPLD communication protocol to obtain monitoring state information containing state description information. According to the method, after the monitoring data in the CPLD register address is obtained, analysis operation is further carried out on the monitoring data according to the CPLD communication protocol, and monitoring state information containing state description information is generated, so that a technician can more intuitively learn the meaning of the monitoring data generated in the CPLD monitoring server process by utilizing the state description information generated by analyzing the monitoring data of the BMC based on the CPLD, and further can efficiently learn the occurrence of faults when the server breaks down, and the overall efficiency of the technician when monitoring the running state of the server according to the monitoring data of the CPLD by utilizing the BMC is relatively improved. In addition, the invention also provides a data processing device, equipment and a storage medium, and the beneficial effects are the same as those described above.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a flow chart of a data processing method disclosed in an embodiment of the present invention;
FIG. 2 is a flow chart of a specific data processing method disclosed in an embodiment of the present invention;
FIG. 3 is a flowchart of a specific data processing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a composition structure of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
The BMC is generally used for monitoring the running state of the server, regulates and controls the server according to the current state, can realize that the monitoring function mainly accesses a preset CPLD in the server through I2C (Inter-Integrated Circuit, integrated circuit) bus communication, reads monitoring data which are generated by monitoring the server in the CPLD according to a formulated protocol interface and are packaged based on a corresponding protocol, and because the current server has complex functions and structures, a plurality of CPLDs are often arranged to manage different areas and functions, each CPLD can generate corresponding monitoring data, and the overall efficiency of current technicians for monitoring the running state of the server according to the monitoring data of the CPLD by utilizing the BMC is relatively low.
Therefore, the core of the invention is to provide a data processing method to relatively improve the overall efficiency of technicians when monitoring the running state of a server by utilizing BMC according to the monitoring data of CPLD.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
Referring to fig. 1, an embodiment of the present invention discloses a data processing method, which is applied to a BMC device, and includes:
step S10: an incoming CPLD identification is received.
It should be noted that, the CPLD identifiers in this step may be identifier information input by a technician, and each CPLD identifier may uniquely correspond to a corresponding CPLD device.
Step S11: and acquiring a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol.
Because the CPLD identifier can uniquely correspond to the CPLD device, the CPLD related information can be further corresponding to the CPLD, after the CPLD identifier is received, the CPLD register address corresponding to the CPLD identifier and the CPLD communication protocol are further acquired, the CPLD register address in the step is the access address of the register of the CPLD device corresponding to the CPLD identifier, and the CPLD communication protocol in the step is the monitoring protocol between the BMC device and the CPLD device corresponding to the CPLD identifier, wherein the CPLD communication protocol prescribes that the BMC device can correctly acquire the data rule of the real meaning of the monitoring data in the CPLD device.
The step of obtaining the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier in this step may specifically be obtaining the CPLD register address corresponding to the CPLD identifier based on the identifier address correspondence table, and obtaining the CPLD communication protocol corresponding to the CPLD identifier based on the identifier protocol correspondence table, where the identifier address correspondence table records the correspondence between the real CPLD identifiers of all current CPLD devices in the server and the real CPLD register address of the current CPLD device, and the identifier protocol correspondence table records the correspondence between the real CPLD identifiers of all current CPLD devices in the server and the real CPLD communication protocol of the current CPLD device.
Step S12: and reading monitoring data of the corresponding CPLD device according to the CPLD register address, wherein the monitoring data is generated by the CPLD device executing monitoring operation on the server.
After the CPLD register address corresponding to the CPLD identifier and the CPLD communication protocol are obtained, the monitoring data of the corresponding CPLD device are further read according to the CPLD register address, and the monitoring data in the CPLD device register in the step are generated by the CPLD device executing corresponding monitoring operation on the server.
It is emphasized that the monitoring 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 from the monitoring data obtained in the CPLD register.
Step S13: and executing 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.
On the basis of obtaining the monitoring data, the step further carries out 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. The step essentially consists in parsing the monitoring data according to the CPLD communication protocol into a real meaning that can be understood by the skilled person, i.e. into monitoring status information that contains status description information.
The data processing method provided by the invention is applied to BMC equipment, firstly, an incoming CPLD identifier is received, then a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol are obtained, monitoring data of the corresponding CPLD equipment are read according to the CPLD register address, the monitoring data are data generated by the CPLD equipment executing monitoring operation on a server, and after the monitoring data are obtained, analysis operation is further executed on the monitoring data based on the CPLD communication protocol to obtain monitoring state information containing state description information. According to the method, after the monitoring data in the CPLD register address is obtained, analysis operation is further carried out on the monitoring data according to the CPLD communication protocol, and monitoring state information containing state description information is generated, so that a technician can more intuitively learn the meaning of the monitoring data generated in the CPLD monitoring server process by utilizing the state description information generated by analyzing the monitoring data of the BMC based on the CPLD, and further can efficiently learn the occurrence of faults when the server breaks down, and the overall efficiency of the technician when monitoring the running state of the server according to the monitoring data of the CPLD by utilizing the BMC is relatively improved.
On the basis of the foregoing embodiment, as a preferred implementation manner, performing an parsing operation on the monitored data based on the CPLD communication protocol to obtain the monitored state 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 monitoring the state information according to the state description information and the monitoring result value.
It should be noted that, in this embodiment, the specific process of performing the analysis operation on the monitored data based on the CPLD communication protocol to obtain the monitored state information is to obtain the monitored result value and the corresponding monitored state code based on the analysis of the monitored data by the CPLD communication protocol, where the monitored result value is a numerical value obtained by performing the monitoring operation by the CPLD device, the monitored state code is an identification code generated by the CPLD device according to the monitored result value and representing the state of the CPLD device, after the monitored state code is obtained, the corresponding state description information is further obtained based on the monitored state code, where the state description information is string information that can be read by a technician and can intuitively understand the meaning of the state description information, and finally the monitored state information is obtained according to the state description information and the monitored 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 further, according to the CPLD number, the monitoring data corresponding to the corresponding CPLD device can be accurately obtained, so that the overall accuracy of the monitoring state information is further ensured.
As a preferred embodiment, after performing an parsing operation on the monitored data based on the CPLD communication protocol to obtain the monitored state information, the method further includes:
and outputting the monitoring state information through the HTML page.
It should be noted that, in this embodiment, after the monitoring data is analyzed based on the CPLD communication protocol to obtain the monitoring status information, the monitoring status information is further output through the HTML page, so that the efficiency of obtaining the monitoring status information by the technician can be further improved.
Referring to fig. 2, an embodiment of the present invention discloses a data processing method, which is applied to a BMC device, and includes:
step S20: an incoming CPLD identification is received.
Step S21: judging whether a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol exist, if so, executing the steps S22 to 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 monitoring data of the corresponding CPLD device according to the CPLD register address, wherein the monitoring data is generated by the CPLD device executing monitoring operation on the server.
Step S24: and executing 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.
Step S25: and outputting user prompt information, wherein the user prompt information records an available CPLD identifier corresponding to the target CPLD device in the running state in the server.
It should be noted that, the key point of this embodiment is that before acquiring the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier, it is first determined whether there is the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier, that is, whether there is an error in the incoming CPLD identifier, if there is the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier, that is, when the corresponding CPLD register and CPLD communication protocol can be acquired based on the incoming CPLD identifier, the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier are further acquired; in contrast, if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier do not exist, the incoming CPLD identifier is considered to be wrong, so that user prompt information is further output, and the user prompt information is recorded with the available CPLD identifier corresponding to the target CPLD device in the running state in the server, so that the CPLD identifier which is considered to be input by the operation and maintenance is corrected, and the reliability of acquiring monitoring state information by technicians is relatively ensured.
Referring to fig. 3, an embodiment of the present invention discloses a data processing method, which is applied to a BMC device, and includes:
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, otherwise, executing the steps S34 to S35.
Step S33: and outputting a communication abnormality prompt.
Step S34: and reading monitoring data of the corresponding CPLD device according to the CPLD register address, wherein the monitoring data is generated by the CPLD device executing monitoring operation on the server.
Step S35: and executing 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.
It should be noted that, the key point of this embodiment is to determine whether the I2C bus of the CPLD device is in a blocking state before the monitored data of the corresponding CPLD device is read according to the CPLD register address, that is, determine that communication with the CPLD device is possible, and because the BMC device and the CPLD device communicate based on the I2C bus, if the I2C bus of the CPLD device is in a blocking state, it is considered that the monitored data of the corresponding CPLD device cannot be read by the CPLD register address normally, and further output a communication abnormality prompt, so as to ensure that a technician learns about occurrence of a communication abnormality. The embodiment further ensures that when the process of acquiring the monitoring data of the CPLD device is abnormal, technicians can be ensured to learn the occurrence of the abnormality in time, the abnormality can be eliminated by adopting a corresponding solving means efficiently, and the overall reliability of the operation state of the server is improved when the technicians use the BMC to monitor the monitoring data of the CPLD.
On the other hand, the invention also provides a data processing device. Referring now to FIG. 4, a schematic diagram of the composition of one embodiment of a data processing apparatus is shown, the apparatus comprising:
an identifier receiving module 10, configured to receive an incoming CPLD identifier;
an obtaining module 11, configured to obtain 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 data generated by the CPLD device performing a monitoring operation on the server;
the information generating module 13 is configured to perform an analysis operation on the monitored data based on the CPLD communication protocol to obtain monitored state information, where the monitored state information includes state description information.
The data processing device provided by the invention is applied to BMC equipment, firstly receives the incoming CPLD identifier, further acquires the CPLD register address and CPLD communication protocol corresponding to the CPLD identifier, reads monitoring data of the corresponding CPLD equipment according to the CPLD register address, wherein the monitoring data is generated by the monitoring operation of the CPLD equipment on a server, and further performs analysis operation on the monitoring data based on the CPLD communication protocol after the monitoring data is acquired to obtain monitoring state information containing state description information. After the monitoring data in the CPLD register address is obtained, the device further performs analysis operation on the monitoring data according to the CPLD communication protocol, and monitoring state information containing state description information is generated, so that a technician can more intuitively learn the meaning of the monitoring data generated in the CPLD monitoring server process by utilizing the state description information generated by analyzing the monitoring data of the BMC based on the CPLD, and further can efficiently learn the occurrence of faults when the server breaks down, and the overall efficiency of the technician when monitoring the running state of the server according to the monitoring data of the CPLD by utilizing the BMC is relatively improved.
Furthermore, as a preferred embodiment, the apparatus further comprises:
the corresponding relation judging module is used for judging whether a CPLD register address corresponding to the CPLD identifier and a CPLD communication protocol exist or not, if so, the acquiring module is called, and if not, the prompting module is called;
and the prompt module is used for outputting user prompt information, and the user prompt information records available CPLD identifiers 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 equipment provided by the invention firstly receives the incoming CPLD identifier, further acquires the CPLD register address and CPLD communication protocol corresponding to the CPLD identifier, reads monitoring data of the corresponding CPLD equipment according to the CPLD register address, wherein the monitoring data is generated by the monitoring operation of the CPLD equipment on a server, and further performs analysis operation on the monitoring data based on the CPLD communication protocol after the monitoring data is acquired to obtain monitoring state information containing state description information. After the monitoring data in the CPLD register address is obtained, the BMC device further performs analysis operation on the monitoring data according to the CPLD communication protocol, and monitoring state information containing state description information is generated, so that a technician can more intuitively learn the meaning of the monitoring data generated in the CPLD monitoring server process by utilizing the state description information generated by analyzing the monitoring data of the BMC based on the CPLD, and further can efficiently learn the occurrence of faults when the server breaks down, and the overall efficiency of the technician when monitoring the running state of the server according to the monitoring data of the CPLD by utilizing the BMC is relatively improved.
Furthermore, the present invention provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor implements 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 acquires a CPLD register address and a CPLD communication protocol corresponding to the CPLD identifier, reads monitoring data of the 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 further executes analysis operation on the monitoring data based on the CPLD communication protocol after the monitoring data is acquired to obtain monitoring state information containing state description information. After the monitoring data in the CPLD register address is obtained, the computer readable storage medium further performs analysis operation on the monitoring data according to the CPLD communication protocol, and monitoring state information containing state description information is generated, so that a technician can more intuitively learn the meaning of the monitoring data generated in the CPLD monitoring server process by utilizing the state description information generated by analyzing the monitoring data based on the CPLD by utilizing the BMC, further, the occurrence of faults can be effectively learned when the server breaks down, and the overall efficiency of the technician when monitoring the running state of the server according to the monitoring data of the CPLD by utilizing the BMC is relatively improved.
The data processing method, the device, the equipment and the storage medium provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this 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. 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.

Claims (7)

1. A data processing method, applied to a BMC device, comprising:
receiving an incoming CPLD identifier, wherein the CPLD identifier comprises a CPLD number;
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;
performing 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;
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;
obtaining the monitoring state information according to the state description information and the monitoring result value;
after the performing an parsing operation on the monitoring data based on the CPLD communication protocol to obtain monitoring status information, the method further includes:
and outputting the monitoring state information through an HTML page.
2. The data processing method according to claim 1, characterized in that before said obtaining a CPLD register address and a CPLD communication protocol corresponding to said CPLD identification, said method further comprises:
judging whether a CPLD register address corresponding to the CPLD identifier exists or not and judging whether a CPLD communication protocol exists or not;
executing the step of acquiring 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;
and if the CPLD register address and the CPLD communication protocol corresponding to the CPLD identifier do not exist, outputting user prompt information, wherein the user prompt information records available CPLD identifiers corresponding to the target CPLD devices in the running state in the server.
3. The data processing method according to claim 1, characterized in that before said reading the monitoring data of the respective CPLD devices according to the CPLD register addresses, the method further comprises:
judging whether an I2C bus of the CPLD device is in a blocking state or not;
outputting a communication abnormality prompt if the I2C bus of the CPLD device is in a blocking state;
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. A data processing apparatus, comprising:
the mark receiving module is used for receiving the incoming CPLD mark;
the acquisition module is used for acquiring a CPLD register address and a CPLD communication protocol corresponding to the CPLD identifier;
the reading module is used for reading monitoring data of the corresponding CPLD device according to the CPLD register address, wherein the monitoring data is generated by the CPLD device executing monitoring operation on a server;
the information generation module is used for executing 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;
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;
obtaining the monitoring state information according to the state description information and the monitoring result value;
the information generating module is further configured to output the monitoring status information through an HTML page after the monitoring status information is obtained by performing an parsing operation on the monitoring data based on the CPLD communication protocol.
5. The data processing apparatus of claim 4, 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 identifier exist or not, if so, the acquiring module is called, and otherwise, the prompting module is called;
the prompt module is used for outputting user prompt information, and the user prompt information records available CPLD identifiers corresponding to the target CPLD devices in the running state in the server.
6. 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 3 when executing said computer program.
7. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the steps of the data processing method according to any one of claims 1 to 3.
CN201911332538.1A 2019-12-22 2019-12-22 Data processing method, device, equipment and storage medium Active CN111124828B (en)

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 CN111124828A (en) 2020-05-08
CN111124828B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100023B (en) * 2020-08-14 2023-01-06 苏州浪潮智能科技有限公司 Board card information acquisition method and device for heterogeneous acceleration platform
CN113626279B (en) * 2021-06-30 2023-08-11 苏州浪潮智能科技有限公司 I2C communication monitoring method, device, CPLD and medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770022B (en) * 2017-10-20 2021-08-06 深圳益邦阳光有限公司 Data acquisition method based on RTU protocol, electronic equipment and storage medium
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

Also Published As

Publication number Publication date
CN111124828A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN109634258B (en) Bus message checking method, device and system for hardware-in-loop test
WO2017000424A1 (en) Protocol detection method and apparatus
WO2008074526A2 (en) Method, system and computer program for testing software applications based on multiple data sources
CN111124828B (en) Data processing method, device, equipment and storage medium
CN109726830A (en) Equipment routing inspection method, apparatus, electronic equipment and storage medium
CN110543420A (en) Software testing method, system, terminal and storage medium
CN112311574B (en) Network topology connection checking method, device and equipment
CN106815137A (en) Ui testing method and apparatus
CN117493188A (en) Interface testing method and device, electronic equipment and storage medium
CN107678917B (en) Test machine automation management method, device, equipment and storage medium
CN110940874A (en) Calibration method, server and medium for nuclear power station transformer protection device
CN110134559B (en) BMC fault detection method, system and related components
CN109039770B (en) Server CMC refreshing method and device and related equipment
CN113626288A (en) Fault processing method, system, device, storage medium and electronic equipment
CN112631929A (en) Test case generation method and device, storage medium and electronic equipment
CN112346994A (en) Test information correlation method and device, computer equipment and storage medium
CN112052184A (en) Automatic generation method and device for test script and storage medium
CN106979794B (en) Sensor testing method and device
CN116382968B (en) Fault detection method and device for external equipment
CN116820946B (en) Method and device for automatically testing compatibility of target software
CN116737571A (en) Redfish automatic test method, system, equipment and storage medium
CN116820873A (en) Equipment monitoring method and device, electronic equipment and storage medium
CN116880398A (en) Fault analysis method and system of instrument control equipment, electronic equipment and storage medium
CN116208520A (en) Network measurement method, device, communication equipment and storage medium
CN117761431A (en) Fault testing method, device and system for vehicle

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