CN117033050A - Method, system, storage medium and electronic device for sending state information - Google Patents
Method, system, storage medium and electronic device for sending state information Download PDFInfo
- Publication number
- CN117033050A CN117033050A CN202311007491.8A CN202311007491A CN117033050A CN 117033050 A CN117033050 A CN 117033050A CN 202311007491 A CN202311007491 A CN 202311007491A CN 117033050 A CN117033050 A CN 117033050A
- Authority
- CN
- China
- Prior art keywords
- integrated circuit
- signal
- sampling
- detection signal
- server
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000001514 detection method Methods 0.000 claims abstract description 113
- 238000005070 sampling Methods 0.000 claims abstract description 93
- 230000002159 abnormal effect Effects 0.000 claims abstract description 28
- 230000004044 response Effects 0.000 claims description 82
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 16
- 238000011084 recovery Methods 0.000 claims description 15
- 230000003993 interaction Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 22
- 230000005540 biological transmission Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 230000000630 rising effect Effects 0.000 description 8
- 230000005856 abnormality Effects 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000007257 malfunction Effects 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 102100021223 Glucosidase 2 subunit beta Human genes 0.000 description 1
- 101001040875 Homo sapiens Glucosidase 2 subunit beta Proteins 0.000 description 1
- 208000034613 Isolated polycystic liver disease Diseases 0.000 description 1
- 208000021033 autosomal dominant polycystic liver disease Diseases 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0745—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in an input/output transactions management context
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- 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)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域Technical field
本申请实施例涉及通信领域,具体而言,涉及一种状态信息的发送方法、系统、存储介质及电子设备。Embodiments of the present application relate to the field of communications, specifically, to a method, system, storage medium and electronic device for sending status information.
背景技术Background technique
由于网络设备对带宽、灵活性与性能的要求逐渐升高,PCIe标准(PeripheralComponent Interconnect Express,一种高速串行计算机扩展总线标准)应运而生。PCIe自2001年问世以来便迅速发展,并广泛应用于各种网络设备中,PCIe卡(PCI Express卡)就是其中一种主要设备。As the requirements for bandwidth, flexibility and performance of network equipment gradually increase, the PCIe standard (PeripheralComponent Interconnect Express, a high-speed serial computer expansion bus standard) came into being. PCIe has developed rapidly since its advent in 2001 and is widely used in various network devices. PCIe card (PCI Express card) is one of the main devices.
PCIe卡是指一种具有PCIe接口的可实现特定功能的板卡。通常用于扩展计算机的性能和功能,例如安装在主机、服务器和网络交换机等设备主板中的PCIe的插槽中等。PCIe卡可以通过PCIe插槽的高带宽和低延迟的特性,为计算机提供更快的数据传输速度和更高的性能。A PCIe card refers to a board with a PCIe interface that can implement specific functions. Usually used to expand the performance and functionality of computers, such as PCIe slots installed in the motherboards of devices such as hosts, servers, and network switches. PCIe cards can provide computers with faster data transfer speeds and higher performance through the high bandwidth and low latency characteristics of PCIe slots.
具体的,当PCIe外插卡插入服务器等设备后,服务器需要对PCIe外插卡的运行状态及板卡温度、电压等信息进行监控,以便服务器及时感知PCIe外插卡的状态。因此,对于PCIe外插卡的管理机制对于服务器整机系统而言非常重要。Specifically, when a PCIe plug-in card is inserted into a device such as a server, the server needs to monitor the operating status of the PCIe plug-in card and information such as board temperature and voltage, so that the server can sense the status of the PCIe plug-in card in a timely manner. Therefore, the management mechanism for PCIe plug-in cards is very important for the entire server system.
当前PCIe外插卡,与服务器信息交互主要是通过两种方式,一种是PCIe带内传输,一种是通过I2C接口传输。一般这两种接口都是卡上ASIC(Application SpecificIntegrated Circuit,供专用集成电路的芯片技术)输出,当ASIC出现异常时,服务器会无法通过这两种方式监控或者传输信息。Currently, PCIe plug-in cards mainly interact with server information in two ways, one is PCIe in-band transmission, and the other is transmission through the I2C interface. Generally, these two interfaces are output by the ASIC (Application Specific Integrated Circuit, chip technology for application specific integrated circuit) on the card. When the ASIC is abnormal, the server will be unable to monitor or transmit information through these two methods.
上述方案存在以下弊端:目前服务器获取PCIe外插卡板卡数据信息的一条主要途径就是BMC(Baseboard Management Controller,基板管理控制器)经由PCIe卡槽上的I2C接口来实现,当外插卡ASIC出现问题时,其与BMC连接的I2C接口可能会因ASIC异常而导致通讯中断或总线挂死的问题,服务器BMC无法获取板卡状态。The above solution has the following disadvantages: Currently, the main way for servers to obtain PCIe plug-in card data information is through the BMC (Baseboard Management Controller) through the I2C interface on the PCIe card slot. When the plug-in card ASIC appears, When the problem occurs, the I2C interface connected to the BMC may cause communication interruption or bus hangup due to ASIC abnormalities, and the server BMC cannot obtain the board status.
因此,现有技术中当前外插卡与服务器进行信息交互时,由于集成电路出现异常导致的影响外插卡的状态及数据的上报的问题并未得到有效解决。Therefore, in the prior art, when the external plug-in card interacts with the server, the problem of affecting the status of the plug-in card and the reporting of data due to abnormalities in the integrated circuit has not been effectively solved.
发明内容Contents of the invention
本申请实施例提供了一种状态信息的发送方法、系统、存储介质及电子设备,以至少解决相关技术中当前外插卡与服务器进行信息交互时,由于集成电路出现异常导致的影响外插卡的状态及数据的上报的问题。Embodiments of the present application provide a method, system, storage medium and electronic device for sending status information, so as to at least solve the problem in related technologies that the external plug-in card is affected by anomalies in the integrated circuit when the plug-in card interacts with the server. Status and data reporting issues.
根据本申请的一个实施例,提供了一种状态信息的发送方法,包括:接收集成电路发送的第一检测信号,其中,所述集成电路和所述可编程逻辑器件位于同一外插卡上;对所述第一检测信号进行采样,以获取第一采样信号;在所述第一采样信号与预设检测信号的波形不一致的情况下,向多路复用器发送故障信号,其中,所述故障信号用于指示所述集成电路发生故障;在所述多路复用器根据所述故障信号建立所述可编程逻辑器件与服务器的连接的情况下,通过所述连接将所述外插卡的状态信息发送至所述服务器。According to an embodiment of the present application, a method for sending status information is provided, including: receiving a first detection signal sent by an integrated circuit, wherein the integrated circuit and the programmable logic device are located on the same plug-in card; The first detection signal is sampled to obtain a first sampling signal; when the waveform of the first sampling signal is inconsistent with the preset detection signal, a fault signal is sent to the multiplexer, wherein: The fault signal is used to indicate that the integrated circuit has failed; when the multiplexer establishes a connection between the programmable logic device and the server according to the fault signal, the plug-in card is connected to the plug-in card through the connection. Status information is sent to the server.
在一个示例性实施例中,对所述第一检测信号进行采样,以获取第一采样信号,包括:确定所述第一检测信号的第一频率,并根据第一频率确定第二频率;以所述第二频率对所述第一检测信号进行采样,以获取所述第一采样信号。In an exemplary embodiment, sampling the first detection signal to obtain a first sampling signal includes: determining a first frequency of the first detection signal, and determining a second frequency according to the first frequency; The second frequency samples the first detection signal to obtain the first sampling signal.
在一个示例性实施例中,接收集成电路发送的第一检测信号之前,所述方法还包括:确定在第一预设时间段内是否接收到所述集成电路发送的第一检测信号;在所述第一预设时间段内未接收到所述集成电路发送的第一检测信号的情况下,向所述集成电路发送第二检测信号;根据在第二预设时间段内是否接收到所述集成电路发送的第一应答信号,确定所述集成电路是否发生故障。In an exemplary embodiment, before receiving the first detection signal sent by the integrated circuit, the method further includes: determining whether the first detection signal sent by the integrated circuit is received within a first preset time period; If the first detection signal sent by the integrated circuit is not received within the first preset time period, send a second detection signal to the integrated circuit; according to whether the first detection signal is received within the second preset time period. The first response signal sent by the integrated circuit determines whether the integrated circuit has failed.
在一个示例性实施例中,根据在第二预设时间段内是否接收到所述集成电路发送的第一应答信号,确定所述集成电路是否发生故障,包括:在所述第二预设时间段内未接收到所述集成电路发送的第一应答信号的情况下,确定所述集成电路发生故障;在所述第二预设时间段内接收到所述集成电路发送的第一应答信号的情况下,对所述第一应答信号进行采样,以获取第二采样信号;确定所述第二采样信号与预设应答信号的波形是否一致;在所述第二采样信号与所述预设应答信号的波形一致的情况下,确定所述集成电路未发生故障。In an exemplary embodiment, determining whether the integrated circuit fails based on whether the first response signal sent by the integrated circuit is received within the second preset time period includes: within the second preset time If the first response signal sent by the integrated circuit is not received within the period, it is determined that the integrated circuit is faulty; if the first response signal sent by the integrated circuit is received within the second preset time period, In this case, the first response signal is sampled to obtain a second sampling signal; it is determined whether the waveforms of the second sampling signal and the preset response signal are consistent; when the second sampling signal and the preset response signal are If the waveforms of the signals are consistent, it is determined that the integrated circuit is not faulty.
在一个示例性实施例中,对所述第一检测信号进行采样,以获取第一采样信号之后,所述方法还包括:确定所述预设检测信号和所述第一采样信号的波形是否一致;在所述预设检测信号和所述第一采样信号的波形不一致的情况下,确定所述集成电路发生故障;通过所述集成电路的复位接口向所述集成电路发送复位指令,以使所述集成电路根据所述复位指令执行复位操作。In an exemplary embodiment, after sampling the first detection signal to obtain the first sampling signal, the method further includes: determining whether the waveforms of the preset detection signal and the first sampling signal are consistent. ; When the waveforms of the preset detection signal and the first sampling signal are inconsistent, it is determined that the integrated circuit has failed; a reset instruction is sent to the integrated circuit through the reset interface of the integrated circuit, so that the integrated circuit The integrated circuit performs a reset operation according to the reset instruction.
在一个示例性实施例中,向所述多路复用器发送故障信号之后,所述方法还包括:通过所述集成电路的调试接口获取所述集成电路的异常数据;通过所述连接将所述异常数据发送至所述服务器,以使所述服务器解析所述异常数据,并根据所述解析后的异常数据调试所述集成电路。In an exemplary embodiment, after sending a fault signal to the multiplexer, the method further includes: obtaining abnormal data of the integrated circuit through a debugging interface of the integrated circuit; The abnormal data is sent to the server, so that the server parses the abnormal data and debugs the integrated circuit according to the parsed abnormal data.
在一个示例性实施例中,通过所述连接将所述外插卡的状态信息发送至所述服务器之后,所述方法还包括:向所述集成电路发送第三检测信号;确定在第二预设时间段内是否接收到所述集成电路发送的第二应答信号,其中,所述第二应答信号为响应所述第三检测信号的信号;在所述第二预设时间段内接收到所述集成电路发送的第二应答信号的情况下,对所述第二应答信号进行采样,以获取第三采样信号;确定所述第三采样信号与预设应答信号的波形是否一致;在所述第三采样信号与所述预设应答信号的波形一致的情况下,确定所述集成电路恢复故障;向所述多路复用器发送故障恢复信号,以使所述多路复用器根据所述故障恢复信号建立所述集成电路与所述服务器的连接,其中,所述故障恢复信号用于指示所述集成电路发生故障。In an exemplary embodiment, after sending the status information of the plug-in card to the server through the connection, the method further includes: sending a third detection signal to the integrated circuit; determining whether Suppose whether the second response signal sent by the integrated circuit is received within the time period, wherein the second response signal is a signal in response to the third detection signal; whether the second response signal is received within the second preset time period In the case of a second response signal sent by the integrated circuit, the second response signal is sampled to obtain a third sampling signal; it is determined whether the waveform of the third sampling signal is consistent with the preset response signal; in the When the third sampling signal is consistent with the waveform of the preset response signal, it is determined that the integrated circuit has recovered from the fault; a fault recovery signal is sent to the multiplexer so that the multiplexer can The fault recovery signal establishes a connection between the integrated circuit and the server, wherein the fault recovery signal is used to indicate that the integrated circuit has failed.
根据本申请的另一个实施例,提供了一种状态信息的发送系统,包括:集成电路,与所述集成电路连接的可编程逻辑器件,与所述集成电路和所述可编程逻辑器件连接的多路复用器,其中,所述集成电路,用于向所述可编程逻辑器件发送第一检测信号;所述可编程逻辑器件,用于对所述第一检测信号进行采样,以获取第一采样信号;在所述第一采样信号与所述第一检测信号的波形不一致的情况下,向所述多路复用器发送故障信号;所述多路复用器,用于在接收到所述故障信号的情况下,建立所述可编程逻辑器件与服务器的连接;所述可编程逻辑器件,还用于通过所述连接将外插卡的状态信息发送至所述服务器,其中,所述集成电路和所述可编程逻辑器件均位于所述外插卡上。According to another embodiment of the present application, a system for sending status information is provided, including: an integrated circuit, a programmable logic device connected to the integrated circuit, and a system connected to the integrated circuit and the programmable logic device. Multiplexer, wherein the integrated circuit is used to send a first detection signal to the programmable logic device; the programmable logic device is used to sample the first detection signal to obtain the first detection signal. a sampling signal; when the waveforms of the first sampling signal and the first detection signal are inconsistent, sending a fault signal to the multiplexer; the multiplexer is configured to receive In the case of the fault signal, establish a connection between the programmable logic device and the server; the programmable logic device is also used to send the status information of the external plug-in card to the server through the connection, wherein the The integrated circuit and the programmable logic device are both located on the plug-in card.
根据本申请的又一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, a computer-readable storage medium is also provided. A computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the above methods when running. Steps in Examples.
根据本申请的又一个实施例,还提供了一种电子设备,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, an electronic device is also provided, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above. Steps in method embodiments.
通过本申请,由于可编辑逻辑器件接收与其位于同一外插卡上的集成电路发送的第一检测信号,对第一检测信号进行采样,以获取第一采样信号;在所述第一采样信号与预设检测信号的波形不一致的情况下,向多路复用器发送用于指示集成电路发生故障的故障信号;在所述多路复用器根据所述故障信号建立所述可编程逻辑器件与服务器的连接的情况下,通过所述连接将所述外插卡的状态信息发送至所述服务器。因此,可以解决现有技术中当前外插卡与服务器进行信息交互时,由于集成电路出现异常导致的影响外插卡的状态及数据的上报的问题。Through this application, since the editable logic device receives the first detection signal sent by the integrated circuit located on the same plug-in card, it samples the first detection signal to obtain the first sampling signal; when the first sampling signal and When the waveforms of the preset detection signals are inconsistent, a fault signal indicating a fault in the integrated circuit is sent to the multiplexer; after the multiplexer establishes the relationship between the programmable logic device and the programmable logic device based on the fault signal, In the case of a server connection, the status information of the external plug-in card is sent to the server through the connection. Therefore, it is possible to solve the problem in the prior art that the status of the external plug-in card and the reporting of data are affected due to abnormalities in the integrated circuit when the external plug-in card interacts with the server.
附图说明Description of the drawings
图1是本申请实施例的一种状态信息的发送方法的计算机终端的硬件结构框图;Figure 1 is a hardware structure block diagram of a computer terminal of a method for sending status information according to an embodiment of the present application;
图2是根据本申请实施例的一种状态信息的发送方法的流程图;Figure 2 is a flow chart of a method for sending status information according to an embodiment of the present application;
图3是根据本申请实施例的第一检测信号和输入解析第一检测信号的信号波形示意图;Figure 3 is a schematic diagram of the signal waveform of the first detection signal and the input analysis first detection signal according to an embodiment of the present application;
图4是根据本申请实施例的第一应答信号和输入解析第一应答信号的信号波形示意图;Figure 4 is a schematic diagram of the signal waveform of the first response signal and the input analysis first response signal according to an embodiment of the present application;
图5是现有技术中PCIe外插卡通用数据监测方式方法的结构框图;Figure 5 is a structural block diagram of a general data monitoring method for a PCIe plug-in card in the prior art;
图6是根据本申请的示例性实施例的一种状态信息的发送方法的整体方案设计图;Figure 6 is an overall scheme design diagram of a method for sending status information according to an exemplary embodiment of the present application;
图7是根据本申请的示例性实施例的ASIC与CPLD双活状态检测GPIO互连示意图;Figure 7 is a schematic diagram of the GPIO interconnection between ASIC and CPLD dual-active status detection according to an exemplary embodiment of the present application;
图8是根据本申请的示例性实施例的ASIC与CPLD双活状态检测解析的波形图;Figure 8 is a waveform diagram of ASIC and CPLD dual-active state detection and analysis according to an exemplary embodiment of the present application;
图9是根据本申请的示例性实施例的服务器与PCIe外插卡的电路设计图;Figure 9 is a circuit design diagram of a server and a PCIe add-in card according to an exemplary embodiment of the present application;
图10是根据本申请实施例的状态信息的发送系统的结构框图。Figure 10 is a structural block diagram of a status information sending system according to an embodiment of the present application.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本申请的实施例。The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
本申请实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算系统中执行。以运行在计算机终端上为例,图1是本申请实施例的一种状态信息的发送方法的计算机终端的硬件结构框图。如图1所示,计算机终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理系统)和用于存储数据的存储器104,其中,上述计算机终端还可以包括用于通信功能的传输设备206以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述计算机终端的结构造成限定。例如,计算机终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiments provided in the embodiments of this application can be executed in a mobile terminal, a computer terminal, or a similar computing system. Taking running on a computer terminal as an example, FIG. 1 is a hardware structure block diagram of a computer terminal for a method of sending status information according to an embodiment of the present application. As shown in Figure 1, the computer terminal may include one or more (only one is shown in Figure 1) processors 102 (the processor 102 may include but is not limited to a processing system such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 206 for communication functions and an input and output device 108. Persons of ordinary skill in the art can understand that the structure shown in Figure 1 is only illustrative, and it does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1 , or have a different configuration than shown in FIG. 1 .
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本申请实施例中的状态信息的发送方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储系统、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the status information sending method in the embodiment of the present application. The processor 102 runs the computer program stored in the memory 104, thereby Execute various functional applications and data processing, that is, implement the above methods. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage systems, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely relative to the processor 102, and these remote memories may be connected to the computer terminal through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
传输设备106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端的通信供应商提供的无线网络。在一个实例中,传输设备106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。Transmission device 106 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet wirelessly.
图2是根据本申请实施例的一种状态信息的发送方法的流程图,如图2所示,该流程包括如下步骤:Figure 2 is a flow chart of a method for sending status information according to an embodiment of the present application. As shown in Figure 2, the process includes the following steps:
步骤S202,接收集成电路发送的第一检测信号,其中,所述集成电路和所述可编程逻辑器件位于同一外插卡上;Step S202: Receive the first detection signal sent by the integrated circuit, wherein the integrated circuit and the programmable logic device are located on the same plug-in card;
步骤S204,对所述第一检测信号进行采样,以获取第一采样信号;Step S204, sample the first detection signal to obtain a first sampling signal;
步骤S206,在所述第一采样信号与预设检测信号的波形不一致的情况下,向多路复用器发送故障信号,其中,所述故障信号用于指示所述集成电路发生故障;Step S206: If the waveforms of the first sampling signal and the preset detection signal are inconsistent, send a fault signal to the multiplexer, where the fault signal is used to indicate that the integrated circuit is faulty;
需要说明的是,在集成电路未发生故障的情况下,检测信号与预设检测信号一致。举例说明,在预设检测信号的电平跳变为10101的情况下,若集成电路未发生故障,则集成电路发送的检测信号的电平跳变为10101,进一步的,若采样信号的电平跳变为11001,与预设检测信号不一致,则确定集成电路发生故障。It should be noted that when the integrated circuit does not malfunction, the detection signal is consistent with the preset detection signal. For example, when the level of the preset detection signal jumps to 10101, if the integrated circuit does not malfunction, the level of the detection signal sent by the integrated circuit jumps to 10101. Furthermore, if the level of the sampling signal If it jumps to 11001 and is inconsistent with the preset detection signal, it is determined that the integrated circuit is faulty.
步骤S208,在所述多路复用器根据所述故障信号建立所述可编程逻辑器件与服务器的连接的情况下,通过所述连接将所述外插卡的状态信息发送至所述服务器。Step S208: When the multiplexer establishes a connection between the programmable logic device and the server according to the fault signal, send the status information of the plug-in card to the server through the connection.
通过上述步骤,由于可编辑逻辑器件接收与其位于同一外插卡上的集成电路发送的第一检测信号,对第一检测信号进行采样,以获取第一采样信号;在所述第一采样信号与预设检测信号的波形不一致的情况下,向多路复用器发送用于指示集成电路发生故障的故障信号;在所述多路复用器根据所述故障信号建立所述可编程逻辑器件与服务器的连接的情况下,通过所述连接将所述外插卡的状态信息发送至所述服务器。解决了现有技术中当前外插卡与服务器进行信息交互时,由于集成信号出现异常导致的影响外插卡的状态及数据的上报的问题。可选地,上述步骤S204可以通过以下方式实现:确定所述第一检测信号的第一频率,并根据第一频率确定第二频率;以所述第二频率对所述第一检测信号进行采样,以获取所述第一采样信号。Through the above steps, since the editable logic device receives the first detection signal sent by the integrated circuit located on the same plug-in card, it samples the first detection signal to obtain the first sampling signal; between the first sampling signal and When the waveforms of the preset detection signals are inconsistent, a fault signal indicating a fault in the integrated circuit is sent to the multiplexer; after the multiplexer establishes the relationship between the programmable logic device and the programmable logic device based on the fault signal, In the case of a server connection, the status information of the external plug-in card is sent to the server through the connection. This solves the problem in the prior art that when the current plug-in card interacts with the server, the status of the plug-in card and the reporting of data are affected due to anomalies in the integrated signal. Optionally, the above step S204 can be implemented in the following manner: determining the first frequency of the first detection signal, and determining the second frequency according to the first frequency; sampling the first detection signal at the second frequency , to obtain the first sampling signal.
可以理解的是,对集成电路发送的第一检测信号进行采样,需要确定用于输出第一检测信号对应的第一频率,进一步的,确定用于对第一检测信号进行采样的第二频率,以及确定所述第二频率对应的解析信号,根据解析信号对第一检测信号进行上升沿采样,获取第一采样信号。其中,根据波形进行上升沿采样有效地减少采样的数据量,从而减少存储和传输信号的开销,同时提高采样精度和系统的响应速度。It can be understood that to sample the first detection signal sent by the integrated circuit, it is necessary to determine the first frequency corresponding to the first detection signal, and further, to determine the second frequency used to sample the first detection signal, and determining the analysis signal corresponding to the second frequency, performing rising edge sampling on the first detection signal according to the analysis signal, and obtaining the first sampling signal. Among them, sampling according to the rising edge of the waveform effectively reduces the amount of sampled data, thereby reducing the cost of storing and transmitting signals, while improving the sampling accuracy and system response speed.
举例说明,若将第一检测信号的波形设置为10101的电平,第一频率为2Hz,则第一采样信号的第二频率为1Hz,图3是根据本申请实施例的第一检测信号和输入解析第一检测信号的信号波形示意图,如图3所示,波形1为ASIC(可以理解为一种集成电路)输出DSTSCT信号(相当于第一检测信号)的信号波形示意图,由波形2进行上升沿采样得到,电平为10101,其中,波形2为CPLD(可以理解为一种可编程逻辑电路)输入解析DETECT信号的信号波形示意图。For example, if the waveform of the first detection signal is set to a level of 10101 and the first frequency is 2Hz, then the second frequency of the first sampling signal is 1Hz. Figure 3 shows the first detection signal and Input and analyze the signal waveform diagram of the first detection signal, as shown in Figure 3. Waveform 1 is the signal waveform diagram of the ASIC (which can be understood as an integrated circuit) outputting the DSTSCT signal (equivalent to the first detection signal), which is performed by waveform 2. It is sampled on the rising edge, and the level is 10101. Waveform 2 is a schematic diagram of the signal waveform of the CPLD (which can be understood as a programmable logic circuit) input and analyzed DETECT signal.
进一步的,第一采样信号与预设检测信号一致的情况下,确定集成电路没有发生故障。例如:若预设检测信号为10101,CPLD解析出10101,则预设检测信号与CPLD解析出来的信号一致,确定集成电路没有发生故障;若ASIC在正常情况下输出10101,预设检测信号为10101,而CPLD解析出11010,则第一采样信号与预设检测信号不一致,此时出现这种情况可能是ASIC自身出现异常,导致其输出与预设检测信号不符,所以当CPLD解析的数据与预设检测信号出现不一致的情况,则可以确定ASIC芯片出现故障。Further, when the first sampling signal is consistent with the preset detection signal, it is determined that the integrated circuit has not failed. For example: if the preset detection signal is 10101 and CPLD parses out 10101, then the preset detection signal is consistent with the signal parsed by CPLD, confirming that the integrated circuit has not failed; if the ASIC outputs 10101 under normal circumstances, the preset detection signal is 10101 , and the CPLD parses out 11010, the first sampling signal is inconsistent with the preset detection signal. This situation may be caused by an abnormality in the ASIC itself, causing its output to be inconsistent with the preset detection signal. Therefore, when the data analyzed by the CPLD is inconsistent with the preset detection signal, If the detection signals are inconsistent, it can be determined that the ASIC chip is faulty.
可选的,接收集成电路发送的第一检测信号之前,还包括:确定在第一预设时间段内是否接收到所述集成电路发送的第一检测信号;在所述第一预设时间段内未接收到所述集成电路发送的第一检测信号的情况下,向所述集成电路发送第二检测信号;根据在第二预设时间段内是否接收到所述集成电路发送的第一应答信号,确定所述集成电路是否发生故障。Optionally, before receiving the first detection signal sent by the integrated circuit, the method further includes: determining whether the first detection signal sent by the integrated circuit is received within a first preset time period; If the first detection signal sent by the integrated circuit is not received within the second preset time period, a second detection signal is sent to the integrated circuit; according to whether the first response sent by the integrated circuit is received within the second preset time period. signal to determine whether the integrated circuit has failed.
可以理解的是,在一个时间周期内,集成电路每经过一个时间间隔便向可编程逻辑器件发送第一检测信号,因此,可编程逻辑器件每经过一个时间间隔便接收一个集成电路发送的第一检测信号。若可编程逻辑器件经过一个时间间隔(可以理解为第一预设时间段)没有收到集成电路发送的第一检测信号,则需要检测集成电路是否发生故障,具体的:可编程逻辑器件向集成器件发送一个第二检测信号,判断预设时间段内是否接收到集成电路回应的应答信号,进而判断集成电路是否发生故障。It can be understood that within a time period, the integrated circuit sends a first detection signal to the programmable logic device every time interval passes. Therefore, the programmable logic device receives a first detection signal sent by the integrated circuit every time interval passes. detection signal. If the programmable logic device does not receive the first detection signal sent by the integrated circuit after a time interval (which can be understood as the first preset time period), it needs to detect whether the integrated circuit has failed. Specifically: the programmable logic device sends a signal to the integrated circuit. The device sends a second detection signal to determine whether a response signal from the integrated circuit is received within a preset time period, and then determines whether the integrated circuit is faulty.
可选的,在所述第二预设时间段内未接收到所述集成电路发送的第一应答信号的情况下,确定所述集成电路发生故障;在所述第二预设时间段内接收到所述集成电路发送的第一应答信号的情况下,对所述第一应答信号进行采样,以获取第二采样信号;确定所述第二采样信号与预设应答信号的波形是否一致;在所述第二采样信号与所述预设应答信号的波形一致的情况下,确定所述集成电路未发生故障。Optionally, if the first response signal sent by the integrated circuit is not received within the second preset time period, it is determined that the integrated circuit is faulty; if the first response signal sent by the integrated circuit is not received within the second preset time period, When receiving the first response signal sent by the integrated circuit, sampling the first response signal to obtain a second sampling signal; determining whether the waveform of the second sampling signal is consistent with the preset response signal; When the waveform of the second sampling signal is consistent with the preset response signal, it is determined that the integrated circuit has not failed.
可以理解的是,在所述第二预设时间段内接收到所述集成电路发送的第一应答信号的情况下,需要对第一应答信号进行采样。具体的:在第一应答信号的频率为第一频率的情况下,以第二频率对第一应答信号进行上升沿采样,获取第二采样信号。其中,根据波形进行上升沿采样有效地减少采样的数据量,从而减少存储和传输信号的开销,同时提高采样的准确度与精度。It can be understood that, when the first response signal sent by the integrated circuit is received within the second preset time period, the first response signal needs to be sampled. Specifically: when the frequency of the first response signal is the first frequency, the first response signal is sampled on the rising edge at the second frequency to obtain the second sampling signal. Among them, rising edge sampling based on the waveform effectively reduces the amount of sampled data, thereby reducing the cost of storing and transmitting signals, while improving the accuracy and precision of sampling.
举例说明,若将第一应答信号的波形设置为10101的电平,第一频率为1Hz,则解析信号的第二频率为0.5Hz,图4是根据本申请实施例的第一应答信号和输入解析第一应答信号的信号波形示意图,如图4所示,波形1为ASIC输出ACK信号(可以理解为第一应答信号)的信号波形示意图,由波形2对波形1进行上升沿采样得到第二采样信号,第二采样信号的电平为10101,其中,波形2为CPLD输入解析ACK信号的信号波形示意图。For example, if the waveform of the first response signal is set to a level of 10101 and the first frequency is 1Hz, then the second frequency of the analytical signal is 0.5Hz. Figure 4 shows the first response signal and input according to an embodiment of the present application. Analyze the signal waveform diagram of the first response signal, as shown in Figure 4. Waveform 1 is the signal waveform diagram of the ASIC output ACK signal (which can be understood as the first response signal). The rising edge of waveform 1 is sampled by waveform 2 to obtain the second Sampling signal, the level of the second sampling signal is 10101, where waveform 2 is a schematic diagram of the signal waveform of the CPLD input and analysis ACK signal.
进一步的,在CPLD得到的第二采样信号与预设应答信号(在集成电路未发生故障时,预设应答信号和第一应答信号一致)一致的情况下,确定集成电路没有发生故障。Further, when the second sampling signal obtained by the CPLD is consistent with the preset response signal (when the integrated circuit does not malfunction, the preset response signal is consistent with the first response signal), it is determined that the integrated circuit does not malfunction.
例如:若ASIC输出10101,CPLD解析出10101,则ASIC输出的信号与预设应答信号一致,确定集成电路没有发生故障;若ASIC在正常情况下输出10101,预设应答信号为10101,而CPLD解析出11010,则ASIC输出的信号与预设应答信号不一致,确定ASIC芯片异常。For example: if ASIC outputs 10101 and CPLD parses out 10101, then the signal output by ASIC is consistent with the preset response signal, confirming that the integrated circuit has not failed; if ASIC outputs 10101 under normal circumstances, the preset response signal is 10101, and CPLD parses If 11010 is output, the signal output by the ASIC is inconsistent with the preset response signal, and it is determined that the ASIC chip is abnormal.
可选的,对所述第一检测信号进行采样,以获取第一采样信号之后,还包括:确定所述预设检测信号和所述第一采样信号的波形是否一致;在所述预设检测信号和所述第一采样信号的波形不一致的情况下,确定所述集成电路发生故障;通过所述集成电路的复位接口向所述集成电路发送复位指令,以使所述集成电路根据所述复位指令执行复位操作。Optionally, after sampling the first detection signal to obtain the first sampling signal, the method further includes: determining whether the waveforms of the preset detection signal and the first sampling signal are consistent; When the waveform of the signal is inconsistent with the first sampling signal, it is determined that the integrated circuit is faulty; a reset instruction is sent to the integrated circuit through the reset interface of the integrated circuit, so that the integrated circuit can be reset according to the reset interface of the integrated circuit. The instruction performs a reset operation.
可以理解的是,集成电路中有复位接口,接口形式包括但不限于:I2C/UART/SPI/JTAG等接口形式,在确定集成电路发生故障的情况下,可编程逻辑器件可以通过上述复位接口发送复位指令,进而执行复位操作,从而尝试解决可能导致设备不稳定或出现故障的问题。进一步的,通过复位接口执行复位操作可以保护系统安全,防止系统继续运行可能导致的更大损坏或安全风险。It can be understood that there is a reset interface in the integrated circuit, and the interface forms include but are not limited to: I2C/UART/SPI/JTAG and other interface forms. When it is determined that the integrated circuit has failed, the programmable logic device can send data through the above reset interface. Reset command to perform a reset operation in an attempt to resolve issues that may cause the device to become unstable or malfunction. Furthermore, performing a reset operation through the reset interface can protect system security and prevent greater damage or security risks that may result from continued operation of the system.
可选的,向所述多路复用器发送故障信号之后,还包括:通过所述集成电路的调试接口获取所述集成电路的异常数据;通过所述连接将所述异常数据发送至所述服务器,以使所述服务器解析所述异常数据,并根据所述解析后的异常数据调试所述集成电路。Optionally, after sending a fault signal to the multiplexer, the method further includes: obtaining abnormal data of the integrated circuit through a debugging interface of the integrated circuit; sending the abnormal data to the integrated circuit through the connection. A server, so that the server parses the abnormal data and debugs the integrated circuit according to the parsed abnormal data.
可以理解的是,集成电路和可编程逻辑器件之间连接有调试接口,例如:Debug调试接口,接口形式包括但不限于:I2C/UART/SPI/JTAG等接口形式,在确定集成电路发生故障的情况下,可编程逻辑器件可以通过上述调试接口尝试访问发生故障的集成电路,获取所述集成电路的异常数据,以达到一定的调试目的。It can be understood that there is a debugging interface connected between the integrated circuit and the programmable logic device, such as: Debug debugging interface. The interface forms include but are not limited to: I2C/UART/SPI/JTAG and other interface forms. When it is determined that the integrated circuit is faulty, In this case, the programmable logic device can try to access the faulty integrated circuit through the above-mentioned debugging interface and obtain the abnormal data of the integrated circuit to achieve a certain debugging purpose.
上述调试接口可以是一种用于调试和诊断软件或硬件问题的接口。它提供了一些工具和功能,使开发人员能够查看和分析程序的执行过程,以找出错误和问题所在。通过上述调试接口,开发人员可以在程序运行时监视变量的值、跟踪函数的调用、捕获和分析异常等。调试接口可以包括:调试器、断点设置、单步执行、查看内存和寄存器状态等功能,以达到帮助开发人员定位和修复问题的效果。The above-mentioned debugging interface may be an interface used for debugging and diagnosing software or hardware problems. It provides tools and features that enable developers to view and analyze program execution to identify errors and problems. Through the above debugging interface, developers can monitor the values of variables, track function calls, capture and analyze exceptions, etc. while the program is running. The debugging interface can include: debugger, breakpoint setting, single-step execution, viewing memory and register status and other functions to help developers locate and fix problems.
可选的,通过所述连接将所述外插卡的状态信息发送至所述服务器之后,还包括:向所述集成电路发送第三检测信号;确定在第二预设时间段内是否接收到所述集成电路发送的第二应答信号,其中,所述第二应答信号为响应所述第三检测信号的信号;在所述第二预设时间段内接收到所述集成电路发送的第二应答信号的情况下,对所述第二应答信号进行采样,以获取第三采样信号;确定所述第三采样信号与预设应答信号的波形是否一致;在所述第三采样信号与所述预设应答信号的波形一致的情况下,确定所述集成电路恢复故障;向所述多路复用器发送故障恢复信号,以使所述多路复用器根据所述故障恢复信号建立所述集成电路与所述服务器的连接,其中,所述故障恢复信号用于指示所述集成电路发生故障。Optionally, after sending the status information of the plug-in card to the server through the connection, the method further includes: sending a third detection signal to the integrated circuit; determining whether it is received within a second preset time period. The second response signal sent by the integrated circuit, wherein the second response signal is a signal in response to the third detection signal; the second response signal sent by the integrated circuit is received within the second preset time period. In the case of a response signal, the second response signal is sampled to obtain a third sampling signal; it is determined whether the waveform of the third sampling signal is consistent with the preset response signal; when the third sampling signal is consistent with the waveform of the preset response signal, When the waveforms of the preset response signals are consistent, it is determined that the integrated circuit has recovered from the fault; a fault recovery signal is sent to the multiplexer, so that the multiplexer establishes the fault recovery signal based on the fault recovery signal. The connection between the integrated circuit and the server, wherein the fault recovery signal is used to indicate that the integrated circuit has failed.
可以理解的是,当集成电路发生故障的情况下,根据故障信号建立可编程逻辑器件与服务器的连接,上述连接用于将外插卡的状态信息发送至所述服务器。可编程逻辑器件可以在经过一个间隔时间向集成电路发送一个检测信号,确定是否在一个间隔时间内收到集成电路发送的应答信号,在收到集成电路发送的应答信号的情况下,对应答信号进行采样得到采样信号,其中,对应答信号进行采样的方法与上述采样方法一致,在采样信号与预设应答信号一致的情况下,确定集成电路故障已经恢复,此时将故障已经恢复的信号发送至多路复用器,建立所述集成电路与所述服务器的连接,用于通过集成电路将外插卡的状态信息发送至服务器。进一步的,通过故障恢复信号指示集成电路发生故障的方法可以提高故障诊断效率,同时提高系统的可靠性。It can be understood that when an integrated circuit fails, a connection between the programmable logic device and the server is established based on the failure signal, and the connection is used to send status information of the plug-in card to the server. The programmable logic device can send a detection signal to the integrated circuit after an interval to determine whether the response signal sent by the integrated circuit is received within an interval. If the response signal sent by the integrated circuit is received, the response signal Sampling is performed to obtain a sampled signal. The method of sampling the response signal is consistent with the above-mentioned sampling method. When the sampling signal is consistent with the preset response signal, it is determined that the integrated circuit fault has been recovered. At this time, the signal that the fault has been recovered is sent. To the multiplexer, establish a connection between the integrated circuit and the server, and be used to send the status information of the plug-in card to the server through the integrated circuit. Furthermore, the method of indicating the failure of the integrated circuit through a fault recovery signal can improve the efficiency of fault diagnosis and improve the reliability of the system.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of this application.
为了更好的理解上述状态信息的发送方法的过程,以下再结合可选实施例对上述状态信息的发送方法的实现流程进行说明,但不用于限定本申请实施例的技术方案。In order to better understand the process of the above method for sending status information, the implementation process of the above method for sending status information will be described below with reference to optional embodiments, but this is not intended to limit the technical solutions of the embodiments of the present application.
图5是现有技术中PCIe外插卡通用数据监测方式方法的结构框图;如图5所示,其主要实现方法是集成电路ASIC芯片(Application Specific Integrated Circuit,供专用集成电路的芯片技术)I2C接口直接外挂温度sensor、ADC(Analog to Digital Converter,模拟数字转换器即A/D转换器)及EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)等芯片,用于检测板卡温度、电压数据及FRU信息。当ASIC获取数据后,服务器的BMC(Baseboard Management Controller,基板管理控制器)可以通过ASIC与服务器之间的I2C接口上报这部分数据。但此种方案存在一个弊端,即当ASIC出现异常时,会导致与BMC交互的I2C无法正常工作,进而影响板卡状态及数据的上报。也就是说,现有技术中PCIe外插卡通用数据监测方式方法无法解决当前外插卡与服务器进行信息交互时,由于集成电路出现异常导致的影响外插卡的状态及数据的上报的问题。Figure 5 is a structural block diagram of a general data monitoring method for a PCIe plug-in card in the prior art; as shown in Figure 5, the main implementation method is an integrated circuit ASIC chip (Application Specific Integrated Circuit, chip technology for application specific integrated circuit) I2C The interface directly connects temperature sensor, ADC (Analog to Digital Converter, A/D converter) and EEPROM (Electrically Erasable Programmable Read-Only Memory) and other chips for detection. Board temperature, voltage data and FRU information. After the ASIC obtains the data, the server's BMC (Baseboard Management Controller) can report this part of the data through the I2C interface between the ASIC and the server. However, this solution has a drawback, that is, when the ASIC is abnormal, the I2C that interacts with the BMC will not work properly, which will affect the reporting of board status and data. That is to say, the common data monitoring methods for PCIe plug-in cards in the prior art cannot solve the problem of affecting the status of the plug-in card and the reporting of data due to abnormalities in the integrated circuit when the plug-in card currently interacts with the server.
本申请实施例提供了一种状态信息的发送方法、系统、存储介质及电子设备,以至少解决相关技术中当前外插卡与服务器进行信息交互时,由于集成电路出现异常导致的影响外插卡的状态及数据的上报的问题。图6是根据本申请的示例性实施例的一种状态信息的发送方法的整体方案设计图,如图6所示,PCIe外插卡,与服务器BMC连接的I2C接口,由板上CPLD和ASIC各出一路,经由MUX多路复用开关选择后连接到服务器的BMC,可以在PCIe外插卡CPLD和ASIC任意一个芯片出现问题时还能够保持服务器对PCIe外插卡的通信,获取板卡温度、电压等基础数据。Embodiments of the present application provide a method, system, storage medium and electronic device for sending status information, so as to at least solve the problem in related technologies that the external plug-in card is affected by anomalies in the integrated circuit when the plug-in card interacts with the server. Status and data reporting issues. Figure 6 is an overall scheme design diagram of a method for sending status information according to an exemplary embodiment of the present application. As shown in Figure 6, the PCIe plug-in card and the I2C interface connected to the server BMC are composed of on-board CPLD and ASIC Each has one channel, and is connected to the BMC of the server after selection by the MUX multiplexing switch. When there is a problem with any chip of the PCIe external card CPLD or ASIC, the server can still communicate with the PCIe external card and obtain the board temperature. , voltage and other basic data.
ASIC与CPLD之间通过GPIO(输入输出引脚)互连,设计双活检测机制,可以实现两个芯片之间工作状态的检测,当检测到ASIC芯片出现故障时,通过控制MUX芯片,将I2C接口切至CPLD一侧,由CPLD与服务器的BMC通信,保证服务器与PCIe外插卡通信不会完全中断。ASIC and CPLD are interconnected through GPIO (input and output pins), and a dual-active detection mechanism is designed to detect the working status between the two chips. When a failure of the ASIC chip is detected, the I2C chip is controlled by controlling the MUX chip. The interface is switched to the CPLD side, and the CPLD communicates with the BMC of the server to ensure that the communication between the server and the PCIe plug-in card will not be completely interrupted.
图7是根据本申请的示例性实施例的ASIC与CPLD双活状态检测GPIO互连示意图,如图7所示,PCIe外插卡上,ASIC与CPLD之间硬件通路上设计两组互连的GPIO线路,用于实时互相检测ASIC与CPLD之间的工作状态,以便ASIC和CPLD可以及时侦测对方是否处于工作异常状态。具体实现方式如下:Figure 7 is a schematic diagram of GPIO interconnection between ASIC and CPLD dual-active status detection according to an exemplary embodiment of the present application. As shown in Figure 7, on the PCIe plug-in card, two sets of interconnections are designed on the hardware path between ASIC and CPLD. The GPIO line is used to detect the working status between ASIC and CPLD in real time, so that ASIC and CPLD can detect whether the other party is working abnormally in time. The specific implementation is as follows:
ASIC与CPLD之间各出两个GPIO管脚用于互连,互连信号分别定义为DETECT和ACK。DETECT信号,为ASIC输出给CPLD的信号,ASIC作为输出端,CPLD作为输入端。There are two GPIO pins between ASIC and CPLD for interconnection, and the interconnection signals are defined as DETECT and ACK respectively. The DETECT signal is the signal output by the ASIC to the CPLD. The ASIC serves as the output terminal and the CPLD serves as the input terminal.
对于输出端ASIC,图8是根据本申请的示例性实施例的ASIC与CPLD双活状态检测解析的波形图,通过GPIO_0_ASIC管脚输出图8中波形1所示波形,可以定为101010,频率可以为x Hz(实际使用频率可以根据不同应用场景进行自行设定),对于输入端CPLD,通过GPIO_0_CPLD管脚以x/2Hz频率对ASIC输出的x Hz波形进行上升沿采样,采样到图8所示101010的这样电平跳变状态,若采样结果与预设的ASIC发送的101010一致,即认为ASIC工作正常;反之,则异常。For the output ASIC, Figure 8 is a waveform diagram of the ASIC and CPLD dual-active status detection analysis according to an exemplary embodiment of the present application. The waveform shown in waveform 1 in Figure 8 is output through the GPIO_0_ASIC pin, which can be set to 101010, and the frequency can be is x Hz (the actual frequency can be set according to different application scenarios). For the input CPLD, the x Hz waveform output by the ASIC is sampled on the rising edge at the x/2Hz frequency through the GPIO_0_CPLD pin, and the sampling is as shown in Figure 8 For such a level transition state of 101010, if the sampling result is consistent with the 101010 sent by the preset ASIC, it is considered that the ASIC is working normally; otherwise, it is abnormal.
ASIC两次发送DETECT信号的时间间隔设为T1,及每隔T1时间ASIC会发送一次DETECT信号。The time interval between ASIC sending the DETECT signal twice is set to T1, and ASIC will send a DETECT signal every T1 time.
当CPLD检测到ASIC工作正常后,间隔时间T2内会回复ASIC芯片ACK应答信号,CPLD输出1010电平跳变,ASIC的GPIO_1_ASIC管脚以x/2Hz的采样频率对CPLD的GPIO_1_CPLD输出x Hz的ACK信号进行上升沿采样。When the CPLD detects that the ASIC is working normally, it will reply the ASIC chip ACK response signal within the interval T2, the CPLD outputs a 1010 level transition, and the GPIO_1_ASIC pin of the ASIC outputs an ACK of x Hz to the GPIO_1_CPLD of the CPLD at a sampling frequency of x/2Hz. The signal is sampled on the rising edge.
同时,ASIC设定一个检测时间T3,用于检测CPLD回复ACK是否超时,若超过T3时间CPLD未发送ACK应答信号则判定CPLD出现异常。At the same time, ASIC sets a detection time T3 to detect whether the CPLD's reply ACK has timed out. If the CPLD does not send an ACK response signal beyond the T3 time, it is determined that the CPLD is abnormal.
另外,将ASIC和CPLD的GPIO_2管脚分别接到对方芯片的RESET复位管脚,当ASIC与CPLD检测到任意一方有状态异常的情况时,即可通过GPIO 2实现对异常芯片的复位功能。In addition, connect the GPIO_2 pins of ASIC and CPLD to the RESET pin of the other chip respectively. When ASIC and CPLD detect a status abnormality on either side, the reset function of the abnormal chip can be realized through GPIO 2.
图9是根据本申请的示例性实施例的服务器与PCIe外插卡的电路设计图,具体实现方式如下:Figure 9 is a circuit design diagram of a server and a PCIe plug-in card according to an exemplary embodiment of the present application. The specific implementation is as follows:
对于PCIe外插卡,板上会放置温度传感器、ADC芯片、EEPROM芯片等器件,用于监控板上温度、电压及FRU等信息。通常,这些设会挂载到ASIC芯片,服务器BMC会通过与PCIe外插卡上的I2C接口获取板卡监控数据。但上述方案,当ASIC工作异常时,服务器会无法访问这些数据,因此,本申请实施例将ASIC与CPLD各出一路I2C接口接到MUX复用多选开关,通过切换MUX复用多选开关来决定I2C的Host端是来自ASIC还是PCLD。For PCIe plug-in cards, temperature sensors, ADC chips, EEPROM chips and other devices will be placed on the board to monitor the temperature, voltage, FRU and other information on the board. Usually, these devices will be mounted on ASIC chips, and the server BMC will obtain board monitoring data through the I2C interface on the PCIe plug-in card. However, in the above scheme, when the ASIC works abnormally, the server will be unable to access the data. Therefore, in the embodiment of this application, an I2C interface from the ASIC and the CPLD is connected to the MUX multiplexing multi-selection switch, and the MUX multiplexing multi-selection switch is switched. Determine whether the Host side of I2C comes from ASIC or PCLD.
对于温度传感器、ADC芯片、EEPROM芯片这些器件,会同时接到ASIC和CPLD芯片,正常情况下ASIC作为Host端,MUX默认选择ASIC到服务器这条通路,由ASIC实现板上数据的监控上报,传递给服务器BMC。但当ASIC芯片工作异常时,CPLD通过双活检测机制检测到ASIC芯片异常时,会通过MXU_EN信号控制MUX多路复用开关切至CPLD端,I2C接口的Host端会切换为CPLD,由CPLD继续实现对于板上温度、电压等信息的监控上报。保证服务器对于PCIe外插卡信息获取不会中断。For devices such as temperature sensors, ADC chips, and EEPROM chips, they will be connected to ASIC and CPLD chips at the same time. Under normal circumstances, ASIC serves as the host. MUX defaults to the path from ASIC to the server, and ASIC implements on-board data monitoring, reporting, and transmission. Give the server BMC. However, when the ASIC chip is working abnormally and CPLD detects that the ASIC chip is abnormal through the dual-active detection mechanism, it will control the MUX multiplexing switch to switch to the CPLD terminal through the MXU_EN signal. The Host terminal of the I2C interface will switch to CPLD, and CPLD will continue. Realize monitoring and reporting of board temperature, voltage and other information. Ensure that the server's acquisition of PCIe plug-in card information will not be interrupted.
另外,ASIC与CPLD预留Debug接口,其接口形式可以为I2C、UART、SPI或JTAG等任意形式,具体看ASIC芯片支持何种方式,用于ASIC出现异常时,服务器BMC可经I2C接口连至CPLD,经由CPLD内部逻辑实现对ASIC的Debug,为平时调试提供一条通路,便于运维。In addition, ASIC and CPLD reserve Debug interfaces. The interface form can be any form such as I2C, UART, SPI or JTAG. It depends on which method the ASIC chip supports. When the ASIC is abnormal, the server BMC can be connected to the I2C interface through the I2C interface. CPLD implements debugging of ASIC through the internal logic of CPLD, providing a path for daily debugging and facilitating operation and maintenance.
ASIC与CPLD连接一路Debug调试接口,其接口形式可以是I2C/UART/SPI/JTAG等接口形式,具体根据ASIC所支持的Debug接口来定,此设计可以实现ASIC出现问题时,CPLD可通过Debug接口尝试访问ASIC,看是否可以抓取ASIC异常时的一些数据,并由CPLD的I2C接口传递给服务器BMC解析,达到一定的调试目的。ASIC and CPLD are connected to a Debug debugging interface. The interface form can be I2C/UART/SPI/JTAG and other interface forms. The details are determined according to the Debug interface supported by the ASIC. This design can realize that when there is a problem with the ASIC, the CPLD can use the Debug interface. Try to access the ASIC to see if you can capture some data when the ASIC is abnormal, and pass it to the server BMC for analysis through the I2C interface of the CPLD to achieve a certain debugging purpose.
Debug接口是一种用于调试和诊断软件或硬件问题的接口。它提供了一些工具和功能,使开发人员能够查看和分析程序的执行过程,以找出错误和问题所在。通过Debug接口,开发人员可以在程序运行时监视变量的值、跟踪函数的调用、捕获和分析异常等。Debug接口通常包含调试器、断点设置、单步执行、查看内存和寄存器状态等功能,以帮助开发人员定位和修复问题。The Debug interface is an interface used to debug and diagnose software or hardware problems. It provides tools and features that enable developers to view and analyze program execution to identify errors and problems. Through the Debug interface, developers can monitor the values of variables, track function calls, capture and analyze exceptions, etc. while the program is running. Debug interfaces usually include functions such as debuggers, breakpoint settings, single-step execution, and viewing memory and register status to help developers locate and fix problems.
在本实施例中还提供了一种状态信息的发送系统,该系统用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的系统较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。This embodiment also provides a system for sending status information, which is used to implement the above embodiments and preferred implementations. What has already been described will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the systems described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
图10是根据本申请实施例的状态信息的发送系统的结构框图,如图10所示,该系统包括:Figure 10 is a structural block diagram of a status information sending system according to an embodiment of the present application. As shown in Figure 10, the system includes:
集成电路1002,与所述集成电路1002连接的可编程逻辑器件1004,与所述集成电路1002和所述可编程逻辑器件1004连接的多路复用器1006,其中,Integrated circuit 1002, a programmable logic device 1004 connected to the integrated circuit 1002, a multiplexer 1006 connected to the integrated circuit 1002 and the programmable logic device 1004, wherein,
所述集成电路1002,用于向所述可编程逻辑器件发送第一检测信号;The integrated circuit 1002 is used to send a first detection signal to the programmable logic device;
所述可编程逻辑器件1004,用于对所述第一检测信号进行采样,以获取第一采样信号;在所述第一采样信号与所述第一检测信号的波形不一致的情况下,向所述多路复用器发送故障信号;The programmable logic device 1004 is configured to sample the first detection signal to obtain a first sampling signal; when the waveforms of the first sampling signal and the first detection signal are inconsistent, The multiplexer sends a fault signal;
所述多路复用器1006,用于在接收到所述故障信号的情况下,建立所述可编程逻辑器件与服务器的连接;The multiplexer 1006 is used to establish a connection between the programmable logic device and the server when the fault signal is received;
所述可编程逻辑器件1004,还用于通过所述连接将外插卡的状态信息发送至所述服务器,其中,所述集成电路和所述可编程逻辑器件均位于所述外插卡上。The programmable logic device 1004 is also configured to send the status information of the plug-in card to the server through the connection, wherein the integrated circuit and the programmable logic device are both located on the plug-in card.
通过上述系统,由于接收集成电路发送的第一检测信号,其中,所述集成电路和所述可编程逻辑器件位于同一外插卡上;对所述第一检测信号进行采样,以获取第一采样信号;在所述第一采样信号与预设检测信号的波形不一致的情况下,向多路复用器发送故障信号,其中,所述故障信号用于指示所述集成电路发生故障;在所述多路复用器根据所述故障信号建立所述可编程逻辑器件与服务器的连接的情况下,通过所述连接将所述外插卡的状态信息发送至所述服务器。通过本申请,解决了现有技术中当前外插卡与服务器进行信息交互时,由于集成信号出现异常导致的影响外插卡的状态及数据的上报的问题。Through the above system, due to receiving the first detection signal sent by the integrated circuit, wherein the integrated circuit and the programmable logic device are located on the same plug-in card; the first detection signal is sampled to obtain the first sample signal; when the waveform of the first sampling signal is inconsistent with the preset detection signal, sending a fault signal to the multiplexer, wherein the fault signal is used to indicate that the integrated circuit is faulty; in the When the multiplexer establishes a connection between the programmable logic device and the server according to the fault signal, the multiplexer sends the status information of the plug-in card to the server through the connection. This application solves the existing problem in the prior art that when an external plug-in card interacts with a server, the status of the plug-in card and the reporting of data are affected due to anomalies in the integrated signal.
在一个可选的实施例中,所述可编程逻辑器件,还用于:确定所述第一检测信号的第一频率,并根据第一频率确定第二频率;以所述第二频率对所述第一检测信号进行采样,以获取所述第一采样信号。In an optional embodiment, the programmable logic device is further configured to: determine a first frequency of the first detection signal, and determine a second frequency based on the first frequency; The first detection signal is sampled to obtain the first sampling signal.
在一个可选的实施例中,所述可编程逻辑器件,还用于:确定在第一预设时间段内是否接收到所述集成电路发送的第一检测信号;在所述第一预设时间段内未接收到所述集成电路发送的第一检测信号的情况下,向所述集成电路发送第二检测信号;根据在第二预设时间段内是否接收到所述集成电路发送的第一应答信号,确定所述集成电路是否发生故障。In an optional embodiment, the programmable logic device is further configured to: determine whether a first detection signal sent by the integrated circuit is received within a first preset time period; If the first detection signal sent by the integrated circuit is not received within the time period, a second detection signal is sent to the integrated circuit; according to whether the first detection signal sent by the integrated circuit is received within the second preset time period. A response signal to determine whether the integrated circuit has failed.
在一个可选的实施例中,所述可编程逻辑器件,还用于:在所述第二预设时间段内未接收到所述集成电路发送的第一应答信号的情况下,确定所述集成电路发生故障;在所述第二预设时间段内接收到所述集成电路发送的第一应答信号的情况下,对所述第一应答信号进行采样,以获取第二采样信号;确定所述第二采样信号与预设应答信号的波形是否一致;在所述第二采样信号与所述预设应答信号的波形一致的情况下,确定所述集成电路未发生故障。In an optional embodiment, the programmable logic device is further configured to: determine that the first response signal sent by the integrated circuit is not received within the second preset time period. The integrated circuit fails; when receiving the first response signal sent by the integrated circuit within the second preset time period, sampling the first response signal to obtain a second sampling signal; determining the Whether the waveforms of the second sampling signal and the preset response signal are consistent; if the waveforms of the second sampling signal and the preset response signal are consistent, it is determined that the integrated circuit has not failed.
在一个可选的实施例中,所述可编程逻辑器件,还用于:确定所述预设检测信号和所述第一采样信号的波形是否一致;在所述预设检测信号和所述第一采样信号的波形不一致的情况下,确定所述集成电路发生故障;通过所述集成电路的复位接口向所述集成电路发送复位指令。In an optional embodiment, the programmable logic device is further configured to: determine whether the waveforms of the preset detection signal and the first sampling signal are consistent; When the waveforms of the sampling signals are inconsistent, it is determined that the integrated circuit is faulty; a reset instruction is sent to the integrated circuit through the reset interface of the integrated circuit.
其中,所述集成电路,还用于:接收所述可编程逻辑器件发送的复位指令,根据所述复位指令执行复位操作。Wherein, the integrated circuit is further configured to: receive a reset instruction sent by the programmable logic device, and perform a reset operation according to the reset instruction.
在一个可选的实施例中,所述可编程逻辑器件,还用于:通过所述集成电路的调试接口获取所述集成电路的异常数据;通过所述连接将所述异常数据发送至所述服务器。In an optional embodiment, the programmable logic device is further configured to: obtain abnormal data of the integrated circuit through a debugging interface of the integrated circuit; send the abnormal data to the integrated circuit through the connection. server.
其中,所述系统还包括:服务器,用于接收所述可编程逻辑器件发送的所述异常数据,解析所述异常数据,并根据所述解析后的异常数据调试所述集成电路。Wherein, the system further includes: a server, configured to receive the abnormal data sent by the programmable logic device, parse the abnormal data, and debug the integrated circuit according to the parsed abnormal data.
在一个可选的实施例中,所述可编程逻辑器件,还用于:向所述集成电路发送第三检测信号;确定在第二预设时间段内是否接收到所述集成电路发送的第二应答信号,其中,所述第二应答信号为响应所述第三检测信号的信号;在所述第二预设时间段内接收到所述集成电路发送的第二应答信号的情况下,对所述第二应答信号进行采样,以获取第三采样信号;确定所述第三采样信号与预设应答信号的波形是否一致;在所述第三采样信号与所述预设应答信号的波形一致的情况下,确定所述集成电路恢复故障;向所述多路复用器发送故障恢复信号。In an optional embodiment, the programmable logic device is further configured to: send a third detection signal to the integrated circuit; determine whether a third detection signal sent by the integrated circuit is received within a second preset time period. Two response signals, wherein the second response signal is a signal in response to the third detection signal; when the second response signal sent by the integrated circuit is received within the second preset time period, the Sampling the second response signal to obtain a third sampling signal; determining whether the waveform of the third sampling signal is consistent with the preset response signal; when the waveform of the third sampling signal is consistent with the preset response signal In the case of , it is determined that the integrated circuit has recovered from the fault; and a fault recovery signal is sent to the multiplexer.
其中,所述多路复用器,还用于:接收所述可编程逻辑器件发送的故障恢复信号,根据所述故障恢复信号建立所述集成电路与所述服务器的连接,其中,所述故障恢复信号用于指示所述集成电路发生故障。Wherein, the multiplexer is further configured to: receive a fault recovery signal sent by the programmable logic device, and establish a connection between the integrated circuit and the server according to the fault recovery signal, wherein the fault The recovery signal is used to indicate that the integrated circuit has failed.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but is not limited to this: the above modules are all located in the same processor; or the above modules can be implemented in any combination. The forms are located in different processors.
本申请的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present application also provide a computer-readable storage medium that stores a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the computer-readable storage medium may include but is not limited to: USB flash drive, read-only memory (ROM), random access memory (Random Access Memory, RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
本申请的实施例还提供了一种电子设备,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present application also provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
在一个示例性实施例中,上述电子设备还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the above-mentioned embodiments and exemplary implementations, and details will not be described again in this embodiment.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算系统来实现,它们可以集中在单个的计算系统上,或者分布在多个计算系统所组成的网络上,它们可以用计算系统可执行的程序代码来实现,从而,可以将它们存储在存储系统中由计算系统来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented using a general computing system. They can be concentrated on a single computing system, or distributed across a network composed of multiple computing systems. , they may be implemented in program code executable by a computing system, whereby they may be stored in a storage system for execution by the computing system, and, in some cases, may be executed in a sequence different from that shown here or the described steps, or they are respectively made into individual integrated circuit modules, or multiple modules or steps among them are made into a single integrated circuit module. As such, the application is not limited to any specific combination of hardware and software.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the principles of this application shall be included in the protection scope of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311007491.8A CN117033050A (en) | 2023-08-10 | 2023-08-10 | Method, system, storage medium and electronic device for sending state information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311007491.8A CN117033050A (en) | 2023-08-10 | 2023-08-10 | Method, system, storage medium and electronic device for sending state information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117033050A true CN117033050A (en) | 2023-11-10 |
Family
ID=88636810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311007491.8A Pending CN117033050A (en) | 2023-08-10 | 2023-08-10 | Method, system, storage medium and electronic device for sending state information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117033050A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118245090A (en) * | 2024-05-24 | 2024-06-25 | 浪潮计算机科技有限公司 | Basic input and output system dual flash memory flash writing method, system and device |
-
2023
- 2023-08-10 CN CN202311007491.8A patent/CN117033050A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118245090A (en) * | 2024-05-24 | 2024-06-25 | 浪潮计算机科技有限公司 | Basic input and output system dual flash memory flash writing method, system and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2024250776A1 (en) | Fault detection method and apparatus for external device | |
CN117033050A (en) | Method, system, storage medium and electronic device for sending state information | |
US11442831B2 (en) | Method, apparatus, device and system for capturing trace of NVME hard disc | |
CN104239174A (en) | BMC (baseboard management controller) remote debugging system and method | |
WO2017011277A1 (en) | Sideband serial channel for pci express peripheral devices | |
CN109710479B (en) | Processing method, first device and second device | |
US12086022B2 (en) | Bus monitoring device and method, storage medium, and electronic device | |
US10664339B2 (en) | Information processing apparatus, information processing system, and information processing apparatus control method | |
CN109446002B (en) | Jig plate, system and method for grabbing SATA hard disk by server | |
US9742654B1 (en) | Communication interface testing | |
CN101267350A (en) | Debugging method and debugging system | |
US11953975B2 (en) | Peripheral component interconnect express device error reporting optimization method and system capable of filtering error reporting messages | |
CN118245300A (en) | Chip screening method, device, electronic equipment, storage medium and program product | |
CN115801540B (en) | PCIe device degradation detection method, device, terminal and storage medium | |
CN112463504B (en) | Double-control storage product testing method, system, terminal and storage medium | |
CN116521496A (en) | Method, system, computer device and storage medium for verifying server performance | |
CN116137603A (en) | Link fault detection method and device, storage medium and electronic device | |
CN115729872A (en) | Computing device and detection method for PCIE cable connection | |
CN110907857B (en) | Automatic connector detection method based on FPGA | |
CN117687859B (en) | Abnormality detection device, abnormality detection system, abnormality detection server and abnormality detection method for PCIe device | |
CN118132359B (en) | Method and device for diagnosing automatic downtime of server | |
CN210724804U (en) | A data monitoring device and system | |
CN102622322A (en) | Method for acquiring crash information through black box, black box and server | |
CN117493053A (en) | Fault detection method and related device | |
CN118316837A (en) | Test method for high-speed serial communication interconnection standard link state and plug-in card module |
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 |