WO2023061327A1 - Core board reset method and apparatus, device, storage medium and program product - Google Patents

Core board reset method and apparatus, device, storage medium and program product Download PDF

Info

Publication number
WO2023061327A1
WO2023061327A1 PCT/CN2022/124359 CN2022124359W WO2023061327A1 WO 2023061327 A1 WO2023061327 A1 WO 2023061327A1 CN 2022124359 W CN2022124359 W CN 2022124359W WO 2023061327 A1 WO2023061327 A1 WO 2023061327A1
Authority
WO
WIPO (PCT)
Prior art keywords
core board
mcu
soc
reset
power
Prior art date
Application number
PCT/CN2022/124359
Other languages
French (fr)
Chinese (zh)
Inventor
吴志勇
Original Assignee
北京百度网讯科技有限公司
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 北京百度网讯科技有限公司 filed Critical 北京百度网讯科技有限公司
Publication of WO2023061327A1 publication Critical patent/WO2023061327A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering

Definitions

  • the disclosure relates to the field of cloud computing, can be applied to cloud platforms, and specifically relates to a core board reset method, device, equipment and storage medium.
  • the ARM (Advanced RISC Machines, RISC microprocessor) server core board usually includes an on-board SOC (System on Chip, system-on-chip), network controller and power supply chip.
  • SOC System on Chip, system-on-chip
  • the core board network is abnormal (for example, the network controller or SOC is abnormal), it is necessary to perform a power-off reset operation on the core board.
  • Embodiments of the present disclosure provide a core board reset method, device, equipment, storage medium, and program product.
  • the embodiment of the present disclosure proposes a method for resetting the core board, including: monitoring the working state of the core board through a micro control unit MCU; when detecting an abnormal working state of the core board, outputting power to the core board through the MCU Reset signal; power off and reset the core board.
  • the embodiment of the present disclosure proposes a core board reset device, including: a monitoring module configured to monitor the working state of the core board through a micro control unit MCU; an output module configured to detect the core board working state In case of abnormality, the MCU outputs a power reset signal to the core board; the reset module is configured to reset the core board after power-off.
  • an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by Executed by at least one processor, so that at least one processor can execute the method described in any implementation manner of the first aspect.
  • the embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions, the computer instructions are used to make a computer execute the method described in any implementation manner in the first aspect.
  • the embodiments of the present disclosure provide a computer program product, including a computer program.
  • the computer program When the computer program is executed by a processor, the method described in any implementation manner in the first aspect is implemented.
  • the core board reset method, device, equipment, storage medium and program product provided by the embodiments of the present disclosure provide a low-cost core board reset solution based on MCU control, which can realize automatic power-off reset when the core board is in an abnormal working state . Not only solves the problem that the SOC cannot be automatically reset when the SOC fails, but also solves the problem of high cost of resetting the core board.
  • Fig. 1 is the schematic diagram of the reset of the core board of scheme 1 in the background technology
  • Fig. 2 is the schematic diagram of the core board reset of scheme 2 in the background technology
  • Fig. 3 is a flow chart according to an embodiment of the core board reset method of the present disclosure
  • Fig. 4 is the flow chart of another embodiment of the core board resetting method according to the present disclosure.
  • Fig. 5 is the schematic diagram of the reset of the core board of the present disclosure.
  • FIG. 6 is a schematic structural view of an embodiment of a core board reset device according to the present disclosure.
  • Fig. 7 is a block diagram of an electronic device used to implement the method for resetting a core board according to an embodiment of the present disclosure.
  • FIG. 1 shows a schematic diagram of core board reset in solution 1.
  • the on-board SOC connects the power control signal to the power chip, and through polling detection, when an abnormality occurs, the power chip is powered off and reset. However, when the SOC itself is out of control, it cannot be reset.
  • FIG. 2 shows a schematic diagram of core board reset in solution 2.
  • the switching signal of the power chip is connected to the external BMC (Baseboard Management Controller, Baseboard Management Controller) control module.
  • BMC Baseboard Management Controller
  • the cost of the BMC control module is relatively high, requiring more investment in software and hardware development.
  • FIG. 3 shows a process 300 of an embodiment of a method for resetting a core board according to the present disclosure.
  • the method for resetting the core board includes the following steps:
  • Step 301 monitor the working status of the core board through the micro control unit MCU.
  • the execution subject of the core board reset method can monitor the working state of the core board through an MCU (Micro Control Unit, Micro Control Unit).
  • MCU Micro Control Unit, Micro Control Unit
  • one end of the MCU can be connected to the SOC of the core board to monitor the working status of the SOC and the network controller.
  • the SOC can output the heartbeat signal to the MCU in a normal cycle.
  • the core board fails, the SOC cannot output the heartbeat signal to the MCU, or the heartbeat signal can only be output to the MCU after a certain period of time.
  • Step 302 outputting a power reset signal to the core board through the MCU when an abnormal working state of the core board is detected.
  • the execution subject may output a power reset signal to the core board through the MCU.
  • the other end of the MCU can be connected to the power chip of the core board for outputting a power reset signal to the power chip.
  • the MCU can periodically receive the heartbeat signal from the SOC. At this time, the MCU can determine that the working state of the core board is normal, and will not output a power reset signal to the power chip.
  • the MCU cannot receive the heartbeat signal from the SOC, or can receive the heartbeat signal from the SOC after a certain period of time. At this time, the MCU can determine that the working state of the core board is abnormal, and will output a power reset signal to the power chip.
  • Step 303 perform a power-off reset on the core board.
  • the execution subject may perform a power-off reset on the core board.
  • the power chip can automatically restart its switch to complete the power-off reset of the core board.
  • the core board reset method provided by the embodiments of the present disclosure provides a low-cost core board reset solution based on MCU control, which can realize automatic power-off reset of the core board when the working state of the core board is abnormal. Not only solves the problem that the SOC cannot be automatically reset when the SOC fails, but also solves the problem of high cost of resetting the core board.
  • FIG. 4 shows a process 400 of another embodiment of the core board reset method according to the present disclosure.
  • one or more network switching modules (switches) in the server chassis are connected to the network of multiple core boards, and the uplink and downlink transmission of network signals is performed. Therefore, in this embodiment, an MCU is provided on the switch backplane where the network switch module is located, and the MCU can be used to control the reset of the core board. Add an MCU to the existing switch chassis without occupying additional space.
  • the core board can include SOC, network controller and power chip.
  • MCU can connect SOC and power chip at the same time.
  • the heartbeat signal output by the SOC can be connected to the MCU to monitor the working status of the core board.
  • the power reset signal of the power chip can be connected to the MCU to control the power-off reset of the core board.
  • SOC and MCU can set GPIO (General-purpose input/output, general-purpose input and output) ports.
  • GPIO General-purpose input/output, general-purpose input and output
  • the SOC can output the heartbeat signal through the GPIO, and the heartbeat signal is connected to the first GPIO port of the MCU, and the MCU can monitor the state of the GPIO, that is, the working state of the core board.
  • the power reset signal is connected to the second GPIO port of the MCU, and the MCU can control the output of the GPIO pin, that is, control the power reset of the core board.
  • the method for resetting the core board includes the following steps:
  • Step 401 Detect the heartbeat signal of the SOC input through the first GPIO port of the MCU by means of polling and interrupting.
  • the execution subject of the core board reset method may detect the heartbeat signal of the SOC input through the first GPIO port of the MCU by polling and interrupting.
  • SOC and MCU can set GPIO port.
  • the SOC can output the heartbeat signal through the GPIO, and the heartbeat signal is connected to the first GPIO port of the MCU, and the MCU can monitor the state of the GPIO, that is, the working state of the core board.
  • Step 402 if the state of the heartbeat signal of the SOC is abnormal, it is determined that the core board is faulty.
  • the execution subject may determine that the core board is faulty.
  • the MCU can periodically receive the heartbeat signal from the SOC. At this time, the MCU can determine that the working state of the core board is normal. When the core board fails, the MCU cannot receive the heartbeat signal from the SOC, or can receive the heartbeat signal from the SOC after a certain period of time. At this time, the MCU may determine that the working state of the core board is abnormal.
  • the execution subject may determine that the SOC is faulty; if the frequency of the heartbeat signal of the SOC is abnormal, the execution subject may determine that the network controller is faulty. In this way, the core board fault can be accurately located.
  • Step 403 outputting a power reset signal to the power chip through the second GPIO port of the MCU in the case of detecting that the working state of the core board is abnormal.
  • the execution subject may output a power reset signal to the power chip through the second GPIO port of the MCU.
  • MCU can set GPIO port.
  • the power reset signal is connected to the second GPIO port of the MCU, and the MCU can control the output of the GPIO pin, that is, control the power reset of the core board.
  • Step 404 perform a power-off reset on the core board.
  • step 404 has been introduced in detail in step 303 in the embodiment shown in FIG. 3 , and will not be repeated here.
  • the core board reset method in this embodiment highlights the steps of core board monitoring. Therefore, the SOC and the MCU in the solution described in this embodiment can set the GPIO port.
  • the SOC outputs a heartbeat signal through the GPIO, and the heartbeat signal is connected to the first GPIO port of the MCU, and the MCU monitors the state of the GPIO, thereby realizing the monitoring of the working state of the core board.
  • the network switching module includes multiple ports: port 1,..., port N.
  • the network switching module is connected to multiple core boards through ports: core board #1,..., core board #N. Wherein, one port of the network switching module is connected to one core board.
  • the MCU includes multiple GPIO ports. For each core board, its SOC outputs a heartbeat signal through GPIO, and the heartbeat signal is connected to the first GPIO port of the MCU.
  • the MCU can monitor the state of the GPIO, that is, monitor the working state of the core board.
  • the power reset signal is connected to the second GPIO port of the MCU, and the MCU can control the output of the GPIO pin, that is, control the power reset of the core board.
  • the present disclosure provides an embodiment of a core board reset device.
  • the device embodiment corresponds to the method embodiment shown in FIG. 3 , and the device specifically It can be applied to various electronic devices.
  • the core board reset device 600 of this embodiment may include: a monitoring module 601 , an output module 602 and a reset module 603 .
  • the monitoring module 601 is configured to monitor the working state of the core board through the micro control unit MCU;
  • the output module 602 is configured to output a power reset signal to the core board through the MCU when an abnormal working state of the core board is detected;
  • the reset module 603 is configured to perform a power-off reset on the core board.
  • the specific processing of the monitoring module 601, the output module 602 and the reset module 603 and the technical effects brought by them can refer to the steps 301-303 in the corresponding embodiment of FIG. Relevant descriptions will not be repeated here.
  • the network switching module in the server chassis is connected to the network of the core board, and an MCU is set on the switch chassis where the network switching module is located, and the MCU is used to control the reset of the core board.
  • the core board includes a system-on-chip SOC, a network controller, and a power chip.
  • the heartbeat signal output by the SOC is connected to the MCU for monitoring the working status of the core board.
  • the power chip The power reset signal connected to the MCU is used to control the power-off reset of the core board.
  • the SOC outputs a heartbeat signal through a general-purpose input and output GPIO, the heartbeat signal is connected to the first GPIO port of the MCU, and the power reset signal is connected to the second GPIO port of the MCU.
  • the monitoring module 601 includes: a detection submodule configured to detect the heartbeat signal of the SOC input through the first GPIO port of the MCU through polling and interruption; the determination submodule , configured to determine a failure of the core board when the state of the heartbeat signal of the SOC is abnormal.
  • the determining submodule is further configured to: determine that the SOC is faulty when the heartbeat signal of the SOC cannot be detected; and determine that the frequency of the heartbeat signal of the SOC is abnormal , to determine network controller failure.
  • the output module 602 is further configured to: output a power reset signal to the power chip through the second GPIO port of the MCU.
  • the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
  • FIG. 7 shows a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure.
  • Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
  • the device 700 includes a computing unit 701 that can execute according to a computer program stored in a read-only memory (ROM) 702 or loaded from a storage unit 708 into a random-access memory (RAM) 703. Various appropriate actions and treatments. In the RAM 703, various programs and data necessary for the operation of the device 700 can also be stored.
  • the computing unit 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704 .
  • the I/O interface 705 includes: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a magnetic disk, an optical disk, etc. ; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 709 allows the device 700 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
  • the computing unit 701 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 701 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc.
  • the computing unit 701 executes various methods and processes described above, such as a core board reset method or a core board reset method.
  • the core board reset method or the core board reset method may be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 708 .
  • part or all of the computer program may be loaded and/or installed on the device 700 via the ROM 702 and/or the communication unit 709.
  • the computer program When the computer program is loaded into the RAM 703 and executed by the computing unit 701, the core board reset method or one or more steps of the core board reset method described above can be performed.
  • the computing unit 701 may be configured to execute a core board reset method or a core board reset method in any other appropriate manner (for example, by means of firmware).
  • Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOC system of systems
  • CPLD load programmable logic device
  • computer hardware firmware, software, and/or combinations thereof.
  • programmable processor can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
  • Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented.
  • the program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer.
  • a display device e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • a keyboard and pointing device eg, a mouse or a trackball
  • Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
  • the systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
  • a computer system may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact through a communication network.
  • the relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
  • the server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.
  • steps may be reordered, added or deleted using the various forms of flow shown above.
  • each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution provided by the present disclosure can be achieved, no limitation is imposed herein.

Abstract

The present application provides a core board reset method and apparatus, a device, a storage medium and a program product, which relate to the field of cloud computing, and which may be applied to a cloud platform. A specific embodiment of the core board reset method comprises: monitoring a working state of a core board by means of a micro control unit (MCU); when detected that the working state of the core board is abnormal, outputting a power reset signal to the core board by means of the MCU; and performing a power-off reset on the core board. The embodiment provides a low-cost core board reset solution based on MCU control, which may achieve automatic power-off reset when the working state of a core board is abnormal.

Description

核心板复位方法、装置、设备、存储介质以及程序产品Core board reset method, device, equipment, storage medium and program product
本专利申请要求于2021年10月12日提交的、申请号为202111185662.7、发明名称为“核心板复位方法、装置、设备、存储介质以及程序产品”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。This patent application claims the priority of the Chinese patent application with the application number 202111185662.7 and the title of the invention "core board reset method, device, equipment, storage medium and program product" submitted on October 12, 2021. The full text of the application Incorporated into this application by reference.
技术领域technical field
本公开涉及云计算领域,可应用于云平台,具体涉及核心板复位方法、装置、设备及存储介质。The disclosure relates to the field of cloud computing, can be applied to cloud platforms, and specifically relates to a core board reset method, device, equipment and storage medium.
背景技术Background technique
目前,ARM(Advanced RISC Machines,RISC微处理器)服务器核心板通常包含板内SOC(System on Chip,系统级芯片)、网络控制器和电源芯片。当核心板网络出现异常(如网络控制器或SOC出现异常)时,需要对核心板进行断电复位操作。At present, the ARM (Advanced RISC Machines, RISC microprocessor) server core board usually includes an on-board SOC (System on Chip, system-on-chip), network controller and power supply chip. When the core board network is abnormal (for example, the network controller or SOC is abnormal), it is necessary to perform a power-off reset operation on the core board.
发明内容Contents of the invention
本公开实施例提出了一种核心板复位方法、装置、设备、存储介质以及程序产品。Embodiments of the present disclosure provide a core board reset method, device, equipment, storage medium, and program product.
第一方面,本公开实施例提出了一种核心板复位方法,包括:通过微控制单元MCU监控核心板的工作状态;在检测到核心板工作状态异常的情况下,通过MCU向核心板输出电源复位信号;对核心板进行断电复位。In the first aspect, the embodiment of the present disclosure proposes a method for resetting the core board, including: monitoring the working state of the core board through a micro control unit MCU; when detecting an abnormal working state of the core board, outputting power to the core board through the MCU Reset signal; power off and reset the core board.
第二方面,本公开实施例提出了一种核心板复位装置,包括:监控模块,被配置成通过微控制单元MCU监控核心板的工作状态;输出模块,被配置成在检测到核心板工作状态异常的情况下,通过MCU向核心板输出电源复位信号;复位模块,被配置成对核心板进行断电复位。In the second aspect, the embodiment of the present disclosure proposes a core board reset device, including: a monitoring module configured to monitor the working state of the core board through a micro control unit MCU; an output module configured to detect the core board working state In case of abnormality, the MCU outputs a power reset signal to the core board; the reset module is configured to reset the core board after power-off.
第三方面,本公开实施例提出了一种电子设备,包括:至少一个 处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如第一方面中任一实现方式描述的方法。In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by Executed by at least one processor, so that at least one processor can execute the method described in any implementation manner of the first aspect.
第四方面,本公开实施例提出了一种存储有计算机指令的非瞬时计算机可读存储介质,计算机指令用于使计算机执行如第一方面中任一实现方式描述的方法。In a fourth aspect, the embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions, the computer instructions are used to make a computer execute the method described in any implementation manner in the first aspect.
第五方面,本公开实施例提出了一种计算机程序产品,包括计算机程序,计算机程序在被处理器执行时实现如第一方面中任一实现方式描述的方法。In a fifth aspect, the embodiments of the present disclosure provide a computer program product, including a computer program. When the computer program is executed by a processor, the method described in any implementation manner in the first aspect is implemented.
本公开实施例提供的核心板复位方法、装置、设备、存储介质以及程序产品,提供了一种基于MCU控制的低成本核心板复位的方案,能够实现核心板的工作状态异常时自动断电复位。不仅解决了SOC故障时无法自动复位的问题,还解决了核心板复位成本高的问题。The core board reset method, device, equipment, storage medium and program product provided by the embodiments of the present disclosure provide a low-cost core board reset solution based on MCU control, which can realize automatic power-off reset when the core board is in an abnormal working state . Not only solves the problem that the SOC cannot be automatically reset when the SOC fails, but also solves the problem of high cost of resetting the core board.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本公开的其它特征、目的和优点将会变得更明显。附图用于更好地理解本方案,不构成对本公开的限定。其中:Other features, objects and advantages of the present disclosure will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. The accompanying drawings are used to better understand the present solution, and do not constitute a limitation to the present disclosure. in:
图1是背景技术中的方案1的核心板复位的原理图;Fig. 1 is the schematic diagram of the reset of the core board of scheme 1 in the background technology;
图2是背景技术中的方案2的核心板复位的原理图;Fig. 2 is the schematic diagram of the core board reset of scheme 2 in the background technology;
图3是根据本公开的核心板复位方法的一个实施例的流程图;Fig. 3 is a flow chart according to an embodiment of the core board reset method of the present disclosure;
图4是根据本公开的核心板复位方法的又一个实施例的流程图;Fig. 4 is the flow chart of another embodiment of the core board resetting method according to the present disclosure;
图5是本公开的核心板复位的原理图;Fig. 5 is the schematic diagram of the reset of the core board of the present disclosure;
图6是根据本公开的核心板复位装置的一个实施例的结构示意图;6 is a schematic structural view of an embodiment of a core board reset device according to the present disclosure;
图7是用来实现本公开实施例的核心板复位方法的电子设备的框图。Fig. 7 is a block diagram of an electronic device used to implement the method for resetting a core board according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.
相关技术中,主要通过以下两种方案(方案1和方案2)对核心板进行断电复位操作。图1示出了方案1的核心板复位的原理图。如图1所示,板内SOC接电源控制信号到电源芯片,通过轮询检测的方式,发生异常时,对电源芯片进行断电复位。然而,当SOC本身失去控制时,将无法进行复位。图2示出了方案2的核心板复位的原理图。如图2所示,电源芯片的开关信号引出接到外部BMC(Baseboard Management Controller,基板管理控制器)控制模块,当检测到网络异常时,手动或自动对故障核心板进行断电复位。然而,BMC控制模块成本较高,需要较多的软硬件开发投入。In related technologies, the power-off reset operation of the core board is mainly performed through the following two schemes (Scheme 1 and Scheme 2). FIG. 1 shows a schematic diagram of core board reset in solution 1. As shown in Figure 1, the on-board SOC connects the power control signal to the power chip, and through polling detection, when an abnormality occurs, the power chip is powered off and reset. However, when the SOC itself is out of control, it cannot be reset. FIG. 2 shows a schematic diagram of core board reset in solution 2. As shown in Figure 2, the switching signal of the power chip is connected to the external BMC (Baseboard Management Controller, Baseboard Management Controller) control module. When an abnormality is detected in the network, the faulty core board is manually or automatically reset after power-off. However, the cost of the BMC control module is relatively high, requiring more investment in software and hardware development.
图3示出了根据本公开的核心板复位方法的一个实施例的流程300。该核心板复位方法包括以下步骤:FIG. 3 shows a process 300 of an embodiment of a method for resetting a core board according to the present disclosure. The method for resetting the core board includes the following steps:
步骤301,通过微控制单元MCU监控核心板的工作状态。 Step 301, monitor the working status of the core board through the micro control unit MCU.
在本实施例中,核心板复位方法的执行主体可以通过MCU(Micro Control Unit,微控制单元)监控核心板的工作状态。In this embodiment, the execution subject of the core board reset method can monitor the working state of the core board through an MCU (Micro Control Unit, Micro Control Unit).
通常,MCU的一端可以连接核心板的SOC,用于监控SOC和网络控制器的工作状态。当核心板正常工作时,SOC可以将心跳信号按正常的周期输出到MCU。当核心板发生故障时,SOC无法将心跳信号输出到MCU,或者超过一定时间才能将心跳信号输出到MCU。Usually, one end of the MCU can be connected to the SOC of the core board to monitor the working status of the SOC and the network controller. When the core board is working normally, the SOC can output the heartbeat signal to the MCU in a normal cycle. When the core board fails, the SOC cannot output the heartbeat signal to the MCU, or the heartbeat signal can only be output to the MCU after a certain period of time.
步骤302,在检测到核心板工作状态异常的情况下,通过MCU向核心板输出电源复位信号。 Step 302 , outputting a power reset signal to the core board through the MCU when an abnormal working state of the core board is detected.
在本实施例中,在检测到核心板工作状态异常的情况下,上述执行主 体可以通过MCU向核心板输出电源复位信号。In this embodiment, when an abnormal working state of the core board is detected, the execution subject may output a power reset signal to the core board through the MCU.
通常,MCU的另一端可以连接核心板的电源芯片,用于向电源芯片输出电源复位信号。当核心板正常工作时,MCU可以周期性地接收到来自SOC的心跳信号。此时,MCU可以确定核心板的工作状态正常,不会向电源芯片输出电源复位信号。当核心板发生故障时,MCU无法接收到来自SOC的心跳信号,或者超过一定时间才能接收到来自SOC的心跳信号。此时,MCU可以确定核心板的工作状态异常,会向电源芯片输出电源复位信号。Usually, the other end of the MCU can be connected to the power chip of the core board for outputting a power reset signal to the power chip. When the core board is working normally, the MCU can periodically receive the heartbeat signal from the SOC. At this time, the MCU can determine that the working state of the core board is normal, and will not output a power reset signal to the power chip. When the core board fails, the MCU cannot receive the heartbeat signal from the SOC, or can receive the heartbeat signal from the SOC after a certain period of time. At this time, the MCU can determine that the working state of the core board is abnormal, and will output a power reset signal to the power chip.
步骤303,对核心板进行断电复位。 Step 303, perform a power-off reset on the core board.
在本实施例中,在电源芯片接收到电源复位信号的情况下,上述执行主体可以对核心板进行断电复位。In this embodiment, when the power supply chip receives a power reset signal, the execution subject may perform a power-off reset on the core board.
通常,电源芯片可以自动重启其开关,完成对核心板的断电复位。Usually, the power chip can automatically restart its switch to complete the power-off reset of the core board.
本公开实施例提供的核心板复位方法,提供了一种基于MCU控制的低成本核心板复位的方案,能够实现核心板的工作状态异常时自动断电复位。不仅解决了SOC故障时无法自动复位的问题,还解决了核心板复位成本高的问题。The core board reset method provided by the embodiments of the present disclosure provides a low-cost core board reset solution based on MCU control, which can realize automatic power-off reset of the core board when the working state of the core board is abnormal. Not only solves the problem that the SOC cannot be automatically reset when the SOC fails, but also solves the problem of high cost of resetting the core board.
继续参考图4,其示出了根据本公开的核心板复位方法的又一个实施例的流程400。Continue to refer to FIG. 4 , which shows a process 400 of another embodiment of the core board reset method according to the present disclosure.
通常,服务器机箱内通过一个或多个网络交换模块(交换机)连接多个核心板的网络,并进行网络信号上下行传输。因此,本实施例在网络交换模块所在的交换机底板上设置MCU,MCU可以用于控制核心板的复位。在现有的交换机底板上增加MCU,无需额外占用空间。Usually, one or more network switching modules (switches) in the server chassis are connected to the network of multiple core boards, and the uplink and downlink transmission of network signals is performed. Therefore, in this embodiment, an MCU is provided on the switch backplane where the network switch module is located, and the MCU can be used to control the reset of the core board. Add an MCU to the existing switch chassis without occupying additional space.
通常,核心板可以包括SOC、网络控制器和电源芯片。MCU可以同时连接SOC和电源芯片。一方面,SOC输出的心跳信号可以接入MCU,用于对核心板的工作状态进行监控。另一方面,电源芯片的电源复位信号可以接入MCU,用于控制核心板断电复位。Generally, the core board can include SOC, network controller and power chip. MCU can connect SOC and power chip at the same time. On the one hand, the heartbeat signal output by the SOC can be connected to the MCU to monitor the working status of the core board. On the other hand, the power reset signal of the power chip can be connected to the MCU to control the power-off reset of the core board.
在实际应用中,SOC和MCU可以设置GPIO(General-purpose input/output,通用性输入输出)口。核心板的工作状态正常时,SOC可以通过GPIO输出心跳信号,心跳信号接入MCU的第一GPIO口,MCU可以对GPIO的状态进行监控,即对核心板的工作状态进行监控。同时,电 源复位信号接入MCU的第二GPIO口,MCU可以对GPIO脚进行输出控制,即控制核心板的电源复位。In practical applications, SOC and MCU can set GPIO (General-purpose input/output, general-purpose input and output) ports. When the working state of the core board is normal, the SOC can output the heartbeat signal through the GPIO, and the heartbeat signal is connected to the first GPIO port of the MCU, and the MCU can monitor the state of the GPIO, that is, the working state of the core board. At the same time, the power reset signal is connected to the second GPIO port of the MCU, and the MCU can control the output of the GPIO pin, that is, control the power reset of the core board.
在本实施例中,该核心板复位方法包括以下步骤:In this embodiment, the method for resetting the core board includes the following steps:
步骤401,通过轮询与中断的方式检测通过MCU的第一GPIO口输入的SOC的心跳信号。Step 401: Detect the heartbeat signal of the SOC input through the first GPIO port of the MCU by means of polling and interrupting.
在本实施例中,核心板复位方法的执行主体可以通过轮询与中断的方式检测通过MCU的第一GPIO口输入的SOC的心跳信号。In this embodiment, the execution subject of the core board reset method may detect the heartbeat signal of the SOC input through the first GPIO port of the MCU by polling and interrupting.
通常,SOC和MCU可以设置GPIO口。核心板的工作状态正常时,SOC可以通过GPIO输出心跳信号,心跳信号接入MCU的第一GPIO口,MCU可以对GPIO的状态进行监控,即对核心板的工作状态进行监控。Usually, SOC and MCU can set GPIO port. When the working state of the core board is normal, the SOC can output the heartbeat signal through the GPIO, and the heartbeat signal is connected to the first GPIO port of the MCU, and the MCU can monitor the state of the GPIO, that is, the working state of the core board.
步骤402,在SOC的心跳信号的状态异常的情况下,确定核心板故障。 Step 402, if the state of the heartbeat signal of the SOC is abnormal, it is determined that the core board is faulty.
在本实施例中,在SOC的心跳信号的状态异常的情况下,上述执行主体可以确定核心板故障。In this embodiment, when the state of the heartbeat signal of the SOC is abnormal, the execution subject may determine that the core board is faulty.
通常,当核心板正常工作时,MCU可以周期性地接收到来自SOC的心跳信号。此时,MCU可以确定核心板的工作状态正常。当核心板发生故障时,MCU无法接收到来自SOC的心跳信号,或者超过一定时间才能接收到来自SOC的心跳信号。此时,MCU可以确定核心板的工作状态异常。Usually, when the core board is working normally, the MCU can periodically receive the heartbeat signal from the SOC. At this time, the MCU can determine that the working state of the core board is normal. When the core board fails, the MCU cannot receive the heartbeat signal from the SOC, or can receive the heartbeat signal from the SOC after a certain period of time. At this time, the MCU may determine that the working state of the core board is abnormal.
在一些实施例中,在无法检测到SOC的心跳信号的情况下,上述执行主体可以确定SOC故障;在检测到SOC的心跳信号的频率异常的情况下,上述执行主体可以确定网络控制器故障。从而能够对核心板故障进行精准定位。In some embodiments, if the heartbeat signal of the SOC cannot be detected, the execution subject may determine that the SOC is faulty; if the frequency of the heartbeat signal of the SOC is abnormal, the execution subject may determine that the network controller is faulty. In this way, the core board fault can be accurately located.
步骤403,在检测到核心板工作状态异常的情况下,通过MCU的第二GPIO口向电源芯片输出电源复位信号。 Step 403 , outputting a power reset signal to the power chip through the second GPIO port of the MCU in the case of detecting that the working state of the core board is abnormal.
在本实施例中,在检测到核心板工作状态异常的情况下,上述执行主体可以通过MCU的第二GPIO口向电源芯片输出电源复位信号。In this embodiment, when an abnormal working state of the core board is detected, the execution subject may output a power reset signal to the power chip through the second GPIO port of the MCU.
通常,MCU可以设置GPIO口。电源复位信号接入MCU的第二GPIO口,MCU可以对GPIO脚进行输出控制,即控制核心板的电源复位。Usually, MCU can set GPIO port. The power reset signal is connected to the second GPIO port of the MCU, and the MCU can control the output of the GPIO pin, that is, control the power reset of the core board.
步骤404,对核心板进行断电复位。 Step 404, perform a power-off reset on the core board.
在本实施例中,步骤404的具体操作已在图3所示的实施例中步骤303中进行了详细的介绍,在此不再赘述。In this embodiment, the specific operation of step 404 has been introduced in detail in step 303 in the embodiment shown in FIG. 3 , and will not be repeated here.
从图4中可以看出,与图3对应的实施例相比,本实施例中的核心板复位方法突出了核心板监控的步骤。由此,本实施例描述的方案中的SOC和MCU可以设置GPIO口。SOC通过GPIO输出心跳信号,心跳信号接入MCU的第一GPIO口,MCU对GPIO的状态进行监控,从而实现对核心板的工作状态进行监控。It can be seen from FIG. 4 that, compared with the embodiment corresponding to FIG. 3 , the core board reset method in this embodiment highlights the steps of core board monitoring. Therefore, the SOC and the MCU in the solution described in this embodiment can set the GPIO port. The SOC outputs a heartbeat signal through the GPIO, and the heartbeat signal is connected to the first GPIO port of the MCU, and the MCU monitors the state of the GPIO, thereby realizing the monitoring of the working state of the core board.
进一步参考图5,其示出了本公开的核心板复位的原理图。如图5所示,网络交换模块包括多个端口:port 1,…,port N。网络交换模块通过端口连接多个核心板:核心板#1,…,核心板#N。其中,网络交换模块的一个端口连接一个核心板。在网络交换模块所在的交换机底板上设置MCU。MCU包括多个GPIO口。对于每个核心板,其SOC通过GPIO输出心跳信号,心跳信号接入MCU的第一GPIO口,MCU可以对GPIO的状态进行监控,即对核心板的工作状态进行监控。同时,其电源复位信号接入MCU的第二GPIO口,MCU可以对GPIO脚进行输出控制,即控制核心板的电源复位。Further referring to FIG. 5 , it shows a principle diagram of the reset of the core board of the present disclosure. As shown in Figure 5, the network switching module includes multiple ports: port 1,..., port N. The network switching module is connected to multiple core boards through ports: core board #1,..., core board #N. Wherein, one port of the network switching module is connected to one core board. Set the MCU on the switch chassis where the network switch module is located. The MCU includes multiple GPIO ports. For each core board, its SOC outputs a heartbeat signal through GPIO, and the heartbeat signal is connected to the first GPIO port of the MCU. The MCU can monitor the state of the GPIO, that is, monitor the working state of the core board. At the same time, the power reset signal is connected to the second GPIO port of the MCU, and the MCU can control the output of the GPIO pin, that is, control the power reset of the core board.
进一步参考图6,作为对上述各图所示方法的实现,本公开提供了一种核心板复位装置的一个实施例,该装置实施例与图3所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 6 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a core board reset device. The device embodiment corresponds to the method embodiment shown in FIG. 3 , and the device specifically It can be applied to various electronic devices.
如图6所示,本实施例的核心板复位装置600可以包括:监控模块601、输出模块602和复位模块603。其中,监控模块601,被配置成通过微控制单元MCU监控核心板的工作状态;输出模块602,被配置成在检测到核心板工作状态异常的情况下,通过MCU向核心板输出电源复位信号;复位模块603,被配置成对核心板进行断电复位。As shown in FIG. 6 , the core board reset device 600 of this embodiment may include: a monitoring module 601 , an output module 602 and a reset module 603 . Wherein, the monitoring module 601 is configured to monitor the working state of the core board through the micro control unit MCU; the output module 602 is configured to output a power reset signal to the core board through the MCU when an abnormal working state of the core board is detected; The reset module 603 is configured to perform a power-off reset on the core board.
在本实施例中,核心板复位装置600中:监控模块601、输出模块602和复位模块603的具体处理及其所带来的技术效果可分别参考图3对应实施例中的步骤301-303的相关说明,在此不再赘述。In this embodiment, in the core board reset device 600: the specific processing of the monitoring module 601, the output module 602 and the reset module 603 and the technical effects brought by them can refer to the steps 301-303 in the corresponding embodiment of FIG. Relevant descriptions will not be repeated here.
在本实施例的一些可选的实现方式中,服务器机箱内通过网络交换模块连接核心板的网络,在网络交换模块所在的交换机底板上设置MCU,MCU用于控制核心板的复位。In some optional implementations of this embodiment, the network switching module in the server chassis is connected to the network of the core board, and an MCU is set on the switch chassis where the network switching module is located, and the MCU is used to control the reset of the core board.
在本实施例的一些可选的实现方式中,核心板包括系统级芯片SOC、网络控制器和电源芯片,SOC输出的心跳信号接入MCU,用于对核心板的工作状态进行监控,电源芯片的电源复位信号接入MCU,用于控制核心板断电复位。In some optional implementations of this embodiment, the core board includes a system-on-chip SOC, a network controller, and a power chip. The heartbeat signal output by the SOC is connected to the MCU for monitoring the working status of the core board. The power chip The power reset signal connected to the MCU is used to control the power-off reset of the core board.
在本实施例的一些可选的实现方式中,SOC通过通用性输入输出GPIO输出心跳信号,心跳信号接入MCU的第一GPIO口,电源复位信号接入MCU的第二GPIO口。In some optional implementations of this embodiment, the SOC outputs a heartbeat signal through a general-purpose input and output GPIO, the heartbeat signal is connected to the first GPIO port of the MCU, and the power reset signal is connected to the second GPIO port of the MCU.
在本实施例的一些可选的实现方式中,监控模块601包括:检测子模块,被配置成通过轮询与中断的方式检测通过MCU的第一GPIO口输入的SOC的心跳信号;确定子模块,被配置成在SOC的心跳信号的状态异常的情况下,确定核心板故障。In some optional implementations of this embodiment, the monitoring module 601 includes: a detection submodule configured to detect the heartbeat signal of the SOC input through the first GPIO port of the MCU through polling and interruption; the determination submodule , configured to determine a failure of the core board when the state of the heartbeat signal of the SOC is abnormal.
在本实施例的一些可选的实现方式中,确定子模块进一步被配置成:在无法检测到SOC的心跳信号的情况下,确定SOC故障;在检测到SOC的心跳信号的频率异常的情况下,确定网络控制器故障。In some optional implementations of this embodiment, the determining submodule is further configured to: determine that the SOC is faulty when the heartbeat signal of the SOC cannot be detected; and determine that the frequency of the heartbeat signal of the SOC is abnormal , to determine network controller failure.
在本实施例的一些可选的实现方式中,输出模块602进一步被配置成:通过MCU的第二GPIO口向电源芯片输出电源复位信号。In some optional implementation manners of this embodiment, the output module 602 is further configured to: output a power reset signal to the power chip through the second GPIO port of the MCU.
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to the embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
图7示出了可以用来实施本公开的实施例的示例电子设备700的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 7 shows a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
如图7所示,设备700包括计算单元701,其可以根据存储在只读存储器(ROM)702中的计算机程序或者从存储单元708加载到随机访问存储器(RAM)703中的计算机程序,来执行各种适当的动作和处理。在RAM 703中,还可存储设备700操作所需的各种程序和数 据。计算单元701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7, the device 700 includes a computing unit 701 that can execute according to a computer program stored in a read-only memory (ROM) 702 or loaded from a storage unit 708 into a random-access memory (RAM) 703. Various appropriate actions and treatments. In the RAM 703, various programs and data necessary for the operation of the device 700 can also be stored. The computing unit 701, ROM 702, and RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to the bus 704 .
设备700中的多个部件连接至I/O接口705,包括:输入单元706,例如键盘、鼠标等;输出单元707,例如各种类型的显示器、扬声器等;存储单元708,例如磁盘、光盘等;以及通信单元709,例如网卡、调制解调器、无线通信收发机等。通信单元709允许设备700通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the device 700 are connected to the I/O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a magnetic disk, an optical disk, etc. ; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 709 allows the device 700 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
计算单元701可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元701的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元701执行上文所描述的各个方法和处理,例如核心板复位方法或核心板复位方法。例如,在一些实施例中,核心板复位方法或核心板复位方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元708。在一些实施例中,计算机程序的部分或者全部可以经由ROM 702和/或通信单元709而被载入和/或安装到设备700上。当计算机程序加载到RAM 703并由计算单元701执行时,可以执行上文描述的核心板复位方法或核心板复位方法的一个或多个步骤。备选地,在其他实施例中,计算单元701可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行核心板复位方法或核心板复位方法。The computing unit 701 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 701 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 executes various methods and processes described above, such as a core board reset method or a core board reset method. For example, in some embodiments, the core board reset method or the core board reset method may be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 708 . In some embodiments, part or all of the computer program may be loaded and/or installed on the device 700 via the ROM 702 and/or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, the core board reset method or one or more steps of the core board reset method described above can be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute a core board reset method or a core board reset method in any other appropriate manner (for example, by means of firmware).
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该 至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或 者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以是分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开提供的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution provided by the present disclosure can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The specific implementation manners described above do not limit the protection scope of the present disclosure. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.

Claims (17)

  1. 一种核心板复位方法,包括:A core board reset method, comprising:
    通过微控制单元MCU监控核心板的工作状态;Monitor the working status of the core board through the micro control unit MCU;
    在检测到所述核心板工作状态异常的情况下,通过所述MCU向所述核心板输出电源复位信号;In the case of detecting that the working state of the core board is abnormal, outputting a power reset signal to the core board through the MCU;
    对所述核心板进行断电复位。Perform a power-off reset on the core board.
  2. 根据权利要求1所述的方法,其中,服务器机箱内网络交换模块连接核心板网络,在所述网络交换模块所在的交换机底板上设置所述MCU,所述MCU用于控制所述核心板的复位。The method according to claim 1, wherein the network switching module in the server chassis is connected to the core board network, and the MCU is arranged on the switch chassis where the network switching module is located, and the MCU is used to control the reset of the core board .
  3. 根据权利要求2所述的方法,其中,所述核心板包括系统级芯片SOC、网络控制器和电源芯片,所述SOC输出的心跳信号接入所述MCU,用于对所述核心板的工作状态进行监控,所述电源芯片的电源复位信号接入所述MCU,用于控制所述核心板断电复位。The method according to claim 2, wherein the core board includes a system-on-chip (SOC), a network controller, and a power supply chip, and the heartbeat signal output by the SOC is connected to the MCU for working on the core board. The state is monitored, and the power reset signal of the power chip is connected to the MCU to control the power-off reset of the core board.
  4. 根据权利要求3所述的方法,其中,所述SOC通过通用性输入输出GPIO输出所述心跳信号,所述心跳信号接入所述MCU的第一GPIO口,所述电源复位信号接入所述MCU的第二GPIO口。The method according to claim 3, wherein the SOC outputs the heartbeat signal through a general-purpose input and output GPIO, the heartbeat signal is connected to the first GPIO port of the MCU, and the power reset signal is connected to the The second GPIO port of the MCU.
  5. 根据权利要求4所述的方法,其中,所述通过微控制单元MCU监控核心板的工作状态,包括:The method according to claim 4, wherein the monitoring of the operating state of the core board by a micro control unit MCU includes:
    通过轮询与中断的方式检测通过所述MCU的第一GPIO口输入的所述SOC的心跳信号;Detecting the heartbeat signal of the SOC input through the first GPIO port of the MCU by polling and interrupting;
    在所述SOC的心跳信号状态异常的情况下,确定所述核心板故障。If the state of the heartbeat signal of the SOC is abnormal, it is determined that the core board is faulty.
  6. 根据权利要求5所述的方法,其中,所述在所述SOC的心跳信号状态异常的情况下,确定所述核心板故障,包括:The method according to claim 5, wherein, in the case of an abnormal state of the heartbeat signal of the SOC, determining that the core board is faulty comprises:
    在无法检测到所述SOC的心跳信号的情况下,确定所述SOC故障;When the heartbeat signal of the SOC cannot be detected, determine that the SOC is faulty;
    在检测到所述SOC的心跳信号的频率异常的情况下,确定所述网络控制器故障。If it is detected that the frequency of the heartbeat signal of the SOC is abnormal, it is determined that the network controller is faulty.
  7. 根据权利要求5或6所述的方法,其中,所述通过所述MCU向所述核心板输出电源复位信号,包括:The method according to claim 5 or 6, wherein said outputting a power reset signal to said core board through said MCU comprises:
    通过所述MCU的第二GPIO口向所述电源芯片输出所述电源复位信号。Outputting the power reset signal to the power chip through the second GPIO port of the MCU.
  8. 一种核心板复位装置,包括:A core board reset device, comprising:
    监控模块,被配置成通过微控制单元MCU监控核心板的工作状态;The monitoring module is configured to monitor the working state of the core board through the micro control unit MCU;
    输出模块,被配置成在检测到所述核心板工作状态异常的情况下,通过所述MCU向所述核心板输出电源复位信号;The output module is configured to output a power reset signal to the core board through the MCU when an abnormal working state of the core board is detected;
    复位模块,被配置成对所述核心板进行断电复位。The reset module is configured to perform a power-off reset on the core board.
  9. 根据权利要求8所述的装置,其中,服务器机箱内网络交换模块连接核心板网络,在所述网络交换模块所在的交换机底板上设置所述MCU,所述MCU用于控制所述核心板的复位。The device according to claim 8, wherein the network switching module in the server chassis is connected to the core board network, and the MCU is arranged on the switch chassis where the network switching module is located, and the MCU is used to control the reset of the core board .
  10. 根据权利要求9所述的装置,其中,所述核心板包括系统级芯片SOC、网络控制器和电源芯片,所述SOC输出的心跳信号接入所述MCU,用于对所述核心板的工作状态进行监控,所述电源芯片的电源复位信号接入所述MCU,用于控制所述核心板断电复位。The device according to claim 9, wherein the core board includes a system-on-chip (SOC), a network controller, and a power supply chip, and the heartbeat signal output by the SOC is connected to the MCU for the operation of the core board. The state is monitored, and the power reset signal of the power chip is connected to the MCU to control the power-off reset of the core board.
  11. 根据权利要求10所述的装置,其中,所述SOC通过通用性输入输出GPIO输出所述心跳信号,所述心跳信号接入所述MCU的第一GPIO口,所述电源复位信号接入所述MCU的第二GPIO口。The device according to claim 10, wherein the SOC outputs the heartbeat signal through a general-purpose input and output GPIO, the heartbeat signal is connected to the first GPIO port of the MCU, and the power reset signal is connected to the The second GPIO port of the MCU.
  12. 根据权利要求11所述的装置,其中,所述监控模块包括:The device according to claim 11, wherein the monitoring module comprises:
    检测子模块,被配置成通过轮询与中断的方式检测通过所述MCU的第一GPIO口输入的所述SOC的心跳信号;The detection submodule is configured to detect the heartbeat signal of the SOC input through the first GPIO port of the MCU by means of polling and interruption;
    确定子模块,被配置成在所述SOC的心跳信号状态异常的情况下,确定所述核心板故障。The determining submodule is configured to determine that the core board is faulty when the state of the heartbeat signal of the SOC is abnormal.
  13. 根据权利要求12所述的装置,其中,所述确定子模块进一步被配置成:The device according to claim 12, wherein the determining submodule is further configured to:
    在无法检测到所述SOC的心跳信号的情况下,确定所述SOC故障;When the heartbeat signal of the SOC cannot be detected, determine that the SOC is faulty;
    在检测到所述SOC的心跳信号的频率异常的情况下,确定所述网络控制器故障。If it is detected that the frequency of the heartbeat signal of the SOC is abnormal, it is determined that the network controller is faulty.
  14. 根据权利要求12或13所述的装置,其中,所述输出模块进一步被配置成:The apparatus according to claim 12 or 13, wherein the output module is further configured to:
    通过所述MCU的第二GPIO口向所述电源芯片输出所述电源复位信号。Outputting the power reset signal to the power chip through the second GPIO port of the MCU.
  15. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7中任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform any one of claims 1-7. Methods.
  16. 一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使所述计算机执行权利要求1-7中任一项所述的方法。A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the method according to any one of claims 1-7.
  17. 一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现根据权利要求1-7中任一项所述的方法。A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
PCT/CN2022/124359 2021-10-12 2022-10-10 Core board reset method and apparatus, device, storage medium and program product WO2023061327A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111185662.7 2021-10-12
CN202111185662.7A CN113918383A (en) 2021-10-12 2021-10-12 Core board resetting method, device, equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
WO2023061327A1 true WO2023061327A1 (en) 2023-04-20

Family

ID=79239490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/124359 WO2023061327A1 (en) 2021-10-12 2022-10-10 Core board reset method and apparatus, device, storage medium and program product

Country Status (2)

Country Link
CN (1) CN113918383A (en)
WO (1) WO2023061327A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918383A (en) * 2021-10-12 2022-01-11 北京百度网讯科技有限公司 Core board resetting method, device, equipment, storage medium and program product
CN116841358A (en) * 2023-06-09 2023-10-03 启朔(深圳)科技有限公司 Server refreshing method, refreshing structure, system, computer equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203366017U (en) * 2013-05-24 2013-12-25 海尔集团公司 Building talk-back intelligent terminal and crash restart system for same
CN107704067A (en) * 2017-08-30 2018-02-16 全球能源互联网研究院有限公司 A kind of SoC chip repositioning method and reset system
US20200210205A1 (en) * 2018-12-27 2020-07-02 Texas Instruments Incorporated Independent operation of an ethernet switch integrated on a system on a chip
CN112148322A (en) * 2019-06-27 2020-12-29 杭州萤石软件有限公司 Method for upgrading firmware in single chip microcomputer connected with system on chip
CN112162188A (en) * 2020-09-24 2021-01-01 中电海康无锡科技有限公司 Test method, device and system for realizing SOC reset module
CN112748788A (en) * 2020-12-31 2021-05-04 美智光电科技股份有限公司 Reset method and device, single chip device, door lock and readable storage medium
CN113918383A (en) * 2021-10-12 2022-01-11 北京百度网讯科技有限公司 Core board resetting method, device, equipment, storage medium and program product

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038019B (en) * 2017-12-25 2021-06-11 曙光信息产业(北京)有限公司 Automatic fault recovery method and system for substrate management controller
CN110569148A (en) * 2019-09-09 2019-12-13 浪潮金融信息技术有限公司 system and method for realizing automatic restart recovery of dead halt of RK3399 mainboard
CN212675461U (en) * 2020-07-06 2021-03-09 上海银欣高新技术发展股份有限公司 Combined control circuit board

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203366017U (en) * 2013-05-24 2013-12-25 海尔集团公司 Building talk-back intelligent terminal and crash restart system for same
CN107704067A (en) * 2017-08-30 2018-02-16 全球能源互联网研究院有限公司 A kind of SoC chip repositioning method and reset system
US20200210205A1 (en) * 2018-12-27 2020-07-02 Texas Instruments Incorporated Independent operation of an ethernet switch integrated on a system on a chip
CN112148322A (en) * 2019-06-27 2020-12-29 杭州萤石软件有限公司 Method for upgrading firmware in single chip microcomputer connected with system on chip
CN112162188A (en) * 2020-09-24 2021-01-01 中电海康无锡科技有限公司 Test method, device and system for realizing SOC reset module
CN112748788A (en) * 2020-12-31 2021-05-04 美智光电科技股份有限公司 Reset method and device, single chip device, door lock and readable storage medium
CN113918383A (en) * 2021-10-12 2022-01-11 北京百度网讯科技有限公司 Core board resetting method, device, equipment, storage medium and program product

Also Published As

Publication number Publication date
CN113918383A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
WO2023061327A1 (en) Core board reset method and apparatus, device, storage medium and program product
CN106603265B (en) Management method, network device, and non-transitory computer-readable medium
CN109039733A (en) A kind of alarm method, system and electronic equipment and storage medium
US8538720B2 (en) Cold boot test system and method for electronic devices
US20140122931A1 (en) Performing diagnostic tests in a data center
CN107111595B (en) Method, device and system for detecting early boot errors
US20220358006A1 (en) Core Board, Server, Fault Repairing Method and Apparatus, and Storage Medium
KR102488582B1 (en) Method and apparatus for verifying operation state of application
US20100064164A1 (en) Autonomic Component Service State Management for a Multiple Function Component
EP4224317A1 (en) Method and apparatus for controlling distributed operation system, and device, medium and program product
US11308002B2 (en) Systems and methods for detecting expected user intervention across multiple blades during a keyboard, video, and mouse (KVM) session
CN105068763A (en) Virtual machine fault-tolerant system and method for storage faults
CN112702350B (en) Out-of-band management method and device, electronic equipment and readable medium
US8819484B2 (en) Dynamically reconfiguring a primary processor identity within a multi-processor socket server
US20150067139A1 (en) Agentless monitoring of computer systems
US10261937B2 (en) Method and system for communication of device information
CN112181942A (en) Time sequence database system and data processing method and device
US20200133752A1 (en) Prediction of power shutdown and outage incidents
TWI700583B (en) Servo method, servo system, main board and computer readable storage medium
US11249533B2 (en) Systems and methods for enabling power budgeting in an information handling system comprising a plurality of modular information handling systems
US20230305859A1 (en) Automatic systems devices rediscovery
US20240012651A1 (en) Enhanced service operating system capabilities through embedded controller system health state tracking
CN108733186A (en) Homing device and method
CN113596129B (en) Restarting method, restarting device, restarting equipment and restarting storage medium of cloud mobile phone
US20230112143A1 (en) Rapid appraisal of nic status for high-availability servers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22880266

Country of ref document: EP

Kind code of ref document: A1