CN109976493B - Multi-mode submodule startup and shutdown control method and device - Google Patents
Multi-mode submodule startup and shutdown control method and device Download PDFInfo
- Publication number
- CN109976493B CN109976493B CN201910190893.3A CN201910190893A CN109976493B CN 109976493 B CN109976493 B CN 109976493B CN 201910190893 A CN201910190893 A CN 201910190893A CN 109976493 B CN109976493 B CN 109976493B
- Authority
- CN
- China
- Prior art keywords
- sub
- mode
- startup
- module
- modules
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004891 communication Methods 0.000 claims abstract description 10
- 230000008569 process Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- 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/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Power Sources (AREA)
- Safety Devices In Control Systems (AREA)
Abstract
The embodiment of the invention discloses a multi-mode submodule startup and shutdown control method and a device, wherein the method comprises the steps of obtaining and analyzing startup and shutdown mode information; judging the in-place state of the sub-module in the current mode according to the analysis result; and under the condition that the sub-modules are all in place, acquiring a startup and shutdown instruction and controlling the sub-modules to perform startup and shutdown operations. According to the invention, through the communication between the on-off control system and the host system, the server realizes the independent control of the on-off of the plurality of sub-modules, the on-off mode of the sub-modules can be switched by the host system according to the requirement, the on-off time of the sub-modules can be adjusted, and the state of each module can be controlled independently. Therefore, the control mode diversity and the operation simplicity of the sub-module of the host system can be realized, and the labor is saved.
Description
Technical Field
The invention relates to the technical field of startup and shutdown control of a server board card, in particular to a multimode submodule startup and shutdown control method and device.
Background
With the increasing demand of the current society for servers, the server system is also more and more complex; a server complete machine can be composed of a plurality of modules, the plurality of modules need to be started and shut down according to fixed sequence conditions, and the function implementation mode is more and more tedious for operators. The traditional server system is configured to complete the corresponding required work by manual operation of staff.
The conventional design of the existing server is that the whole server controls each module system through interconnection between cables or board cards, and the connection between the server and the sub-modules is completed through pre-designed hardware circuits. When the startup and shutdown operation is carried out, the whole machine system sends corresponding commands to all the modules, and each submodule executes the startup and shutdown operation of the submodule after receiving the commands.
The implementation function and the implementation mode of the method are relatively single and fixed, the controllability of the management system is poor, the orderly work of the whole system can be ensured only by requiring all modules to be normally stable, and once a certain module has a problem, the whole server system is crashed and crashed. Meanwhile, after the implementation scheme at the early stage is determined, the control mode can not be changed any more, and free adjustment and mode switching can not be realized when problems occur at the later stage. Can bring very big inconvenience to the later maintenance personnel like this, in case the very big risk that will have the design of needs reprinting appears in a problem, very big extravagant manpower and materials have still increased the degree of difficulty and the cost of later maintenance simultaneously.
Disclosure of Invention
The embodiment of the invention provides a multi-mode submodule startup and shutdown control method and device, and aims to solve the problems that the existing server is low in startup and shutdown control performance of each module, and large in maintenance difficulty.
In order to solve the technical problem, the embodiment of the invention discloses the following technical scheme:
the invention provides a multi-mode submodule startup and shutdown control method in a first aspect, which comprises the following steps:
obtaining and analyzing the mode information of the startup and shutdown;
judging the in-place state of the sub-module in the current mode according to the analysis result;
and under the condition that the sub-modules are all in place, acquiring a startup and shutdown instruction and controlling the sub-modules to perform startup and shutdown operations.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the mode information includes a full power on/off mode, a sequential power on/off mode, and a partial power on/off mode.
With reference to the first aspect, in a second possible implementation manner of the first aspect, if the sub-module in the current mode is not in place, feeding back error information, and repairing the sub-module that is not in place.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the repairing the non-bitwise submodule specifically includes:
and resetting the sub-module which is not in the position.
The invention provides a multi-mode submodule on-off control device which is characterized by comprising a host system, an on-off control system and a plurality of submodules;
the host system is used for issuing a mode information control instruction; the startup and shutdown control system is used for acquiring startup and shutdown mode information, processing the mode information and controlling the startup and shutdown process of the submodule.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the apparatus further includes a storage module, where the storage module is configured to store the startup and shutdown control codes in different modes and log information of the startup and shutdown control process.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the power on/off control system includes an analysis unit and a control unit, where the analysis unit analyzes communication information with the host system, the storage module, and the sub-module, respectively; the control unit is used for receiving the analysis result of the analysis unit and controlling the sub-module according to the analysis result.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the parsing unit includes an I2C parser, an SPI parser, and an LPC parser;
the I2C parser is used for parsing communication information with a host system; the SPI resolver is used for resolving communication information of the storage module; the LPC resolver is used for resolving LPC signals of the host system, the control unit and the sub-modules.
The multimode switch controller according to the second aspect of the present invention can realize the methods according to the first aspect and the respective implementation manners of the first aspect, and achieve the same effects.
The effect provided in the summary of the invention is only the effect of the embodiment, not all the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
through the communication of the startup and shutdown control system and the host system, the server realizes the independent control of the startup and shutdown of the plurality of sub-modules, the startup and shutdown modes of the sub-modules can be switched by the host system according to requirements, the startup and shutdown time of the sub-modules can be adjusted, and the state of each module can be controlled independently. Therefore, the control mode diversity and the operation simplicity of the sub-module of the host system can be realized, and the labor is saved. And when the submodule fails, the submodule can be automatically repaired, the server cannot be crashed and crashed, and the startup and shutdown process of the submodule is smoothly carried out.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of the process of the present invention;
FIG. 2 is a schematic diagram of the construction of the apparatus of the present invention;
fig. 3 is a schematic diagram of an embodiment of the apparatus of the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
As shown in fig. 1, the multi-mode sub-module power on/off control method of the present invention includes the following steps:
s1, obtaining and analyzing the mode information of the startup and shutdown;
the mode information of the on/off operation is issued by a BMC (Baseboard Management Controller) of the host system, and the on/off operation mode includes various modes, such as a full on/off operation mode, a sequential on/off operation mode, and a partial on/off operation mode, and respectively corresponds to different application scenarios:
full on-off mode: when the new system is started for the first time, all the sub-modules are started to complete the scanning and recording work of the host system on the sub-module equipment, and the startup and shutdown system sends a startup command to the sub-modules at the same time.
Sequential power on and off mode: if the external system needs to access the data stored in the server, the network switching submodule is started first, and then the hard disk storage submodule is started, so that the internal hard disk storage data is accessed through the network.
Partial on-off mode: the operation of different sub-modules is not interfered and influenced, and at the moment, when the server calls one sub-module, the other sub-module which does not need to work can be closed, so that the functions of saving energy and electricity are achieved.
The sub-modules comprise a GPU system board card, a USB system board card, a hard disk storage system board card and a network switching system board card.
S2, judging the in-place state of the sub-module in the current mode according to the analysis result;
and if the sub-module in the current mode is not in place, feeding back error information to the host system, receiving a repair command sent by the host system, and resetting the corresponding fault sub-module.
And S3, under the condition that the sub-modules are all in place, acquiring a startup and shutdown instruction and controlling the sub-modules to perform startup and shutdown operations.
And after the submodules in the current mode are all in place, acquiring a startup and shutdown code in the current mode, sending a startup and shutdown command to the corresponding submodules, and controlling the startup and shutdown actions of the submodules. And simultaneously detecting whether the startup and shutdown operations of the sub-modules are normally finished, if the startup and shutdown operations of the sub-modules are not normally finished, feeding back error information to the host system, displaying the error information on a display by the host system, sending an error repairing command to the startup and shutdown control system, resetting the failed sub-modules by the startup and shutdown control system according to the repairing command, and continuing to perform startup actions. If the sub-module normally performs the on-off action, the on-off control system feeds back a normal working signal to the host system, and the on-off operation of the whole system is completed.
As shown in fig. 2 and 3, the multi-mode sub-module on/off control device of the present invention includes a host system, an on/off control system, a plurality of sub-modules, and a storage module. The host system is used for selecting and sending a control instruction of the mode information; the startup and shutdown control system is used for acquiring startup and shutdown mode information, processing the mode information and controlling the startup and shutdown process of the submodule. The storage module is a Flash ROM, interactive communication is carried out between the startup and shutdown control system and the Flash ROM through an SPI signal protocol, and the ROM particles are mainly used for caching data received and sent in the startup and shutdown system and control codes in different modes.
The host system and the on-off control system are connected through an I2C and LPC signal line, the on-off control system can feed back the number and the in-place state of the sub-modules to the host system through an I2C, and meanwhile, the host system sends on-off control commands of different modes to the on-off control system; the LPC signal line is mainly used for feeding back sub-module error information detected by the startup and shutdown system. The on-off control system detects the on-position state among the submodules through the Present signal; when the sub-module has errors, resetting the sub-module by the on-off control system through a Reset signal, and restarting the sub-module to repair the errors; the Power Button signal is used for the on-off control system to carry out on-off operation on the sub-module; the LPC signal is mainly used to transmit error information inside the sub-module.
The on-off control system comprises an analysis unit and a control unit, wherein the analysis unit is used for respectively analyzing the communication information with the host system, the storage module and the sub-modules; the control unit is used for receiving the analysis result of the analysis unit and controlling the on-off of the submodule according to the analysis result.
The parsing unit comprises an I2C parser, an SPI parser and an LPC parser.
The I2C parser is responsible for parsing the transmission and host system I2C signals, reading the number of sub-modules and the status information in place from the control unit. The SPI resolver is responsible for reading data information of an external Flash ROM and storing a working log of a switch machine control system and configurations of different modes in the external Flash ROM. The LPC resolver is used for completing LPC signal transmission and resolution of the host system, the control unit and the sub-module and collecting error information of the sub-module. The control unit is the inner core, it will integrate and process the command information sent to it by I2C parser, SPI parser and LPC parser, then send Reset signal and Power Button on-off signal to the sub-module according to the command information of different on-off modes, at the same time, it also needs to detect the on-position information of the sub-module. The internal modules of the whole startup and shutdown control system work cooperatively, control over the whole startup and shutdown process is completed according to the set configuration, and the server is helped to realize automatic startup and shutdown switching in various modes. The function of the control unit can be realized by the CPLD.
The foregoing is only a preferred embodiment of the present invention, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the invention, and such modifications and improvements are also considered to be within the scope of the invention.
Claims (3)
1. A multi-mode submodule startup and shutdown control method is characterized by comprising the following steps:
obtaining and analyzing the mode information of the startup and shutdown;
judging the in-place state of the sub-module in the current mode according to the analysis result;
under the condition that the sub-modules are all in place, acquiring a power-on and power-off instruction and controlling the sub-modules to carry out power-on and power-off operation;
if the sub-module in the current mode is not in place, feeding back error information and repairing the sub-module which is not in place;
the repairing of the off-bit sub-module specifically comprises:
resetting the sub-module which is not in position, and then continuing to start up;
the mode information comprises a full power-on and power-off mode, a sequential power-on and power-off mode and a partial power-on and power-off mode; when the external system needs to access the data stored in the server, the network switching submodule is started first, then the hard disk storage submodule is started, and the internal hard disk storage data is accessed through the network; when a new system is started for the first time, the full startup and shutdown mode simultaneously sends a startup command to the sub-modules and performs startup operation on all the sub-modules; and in the partial on-off mode, when the operation of different sub-modules is not influenced by interference, one sub-module is called, and the other sub-module which does not need to work is closed.
2. A multi-mode submodule on-off control device is characterized by comprising a host system, an on-off control system and a plurality of submodules;
the host system is used for issuing a mode information control instruction; the startup and shutdown control system is used for acquiring startup and shutdown mode information, processing the mode information and controlling the startup and shutdown process of the submodule;
the device also comprises a storage module, wherein the storage module is used for storing the startup and shutdown control codes in different modes and the log information of the startup and shutdown control process;
the on-off control system comprises an analysis unit and a control unit, wherein the analysis unit is used for analyzing the communication information of the host system, the storage module and the sub-modules respectively; the control unit is used for receiving the analysis result of the analysis unit and controlling the sub-module according to the analysis result; judging the in-place state of the sub-module in the current mode according to the analysis result; under the condition that the sub-modules are all in place, acquiring a power-on and power-off instruction and controlling the sub-modules to carry out power-on and power-off operation; if the sub-module in the current mode is not in place, feeding back error information, resetting the sub-module which is not in place, and continuing to start up;
the mode information comprises a full power-on and power-off mode, a sequential power-on and power-off mode and a partial power-on and power-off mode; when the external system needs to access the data stored in the server, the network switching submodule is started first, then the hard disk storage submodule is started, and the internal hard disk storage data is accessed through the network; when a new system is started for the first time, the full startup and shutdown mode simultaneously sends a startup command to the sub-modules and performs startup operation on all the sub-modules; and in the partial on-off mode, when the operation of different sub-modules is not influenced by interference, one sub-module is called, and the other sub-module which does not need to work is closed.
3. The multimode switch gear control device of claim 2, wherein said parsing unit comprises I2C parser, SPI parser and LPC parser;
the I2C parser is used for parsing communication information with a host system; the SPI resolver is used for resolving communication information of the storage module; the LPC resolver is used for resolving LPC signals of the host system, the control unit and the sub-modules.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190893.3A CN109976493B (en) | 2019-03-14 | 2019-03-14 | Multi-mode submodule startup and shutdown control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190893.3A CN109976493B (en) | 2019-03-14 | 2019-03-14 | Multi-mode submodule startup and shutdown control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109976493A CN109976493A (en) | 2019-07-05 |
CN109976493B true CN109976493B (en) | 2020-09-04 |
Family
ID=67078824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910190893.3A Active CN109976493B (en) | 2019-03-14 | 2019-03-14 | Multi-mode submodule startup and shutdown control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109976493B (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5874944A (en) * | 1996-11-13 | 1999-02-23 | Vlsi Technology, Inc. | Variable voltage detector power-up and power-down circuit for a joystick interface |
CN100541395C (en) * | 2006-01-13 | 2009-09-16 | 英业达股份有限公司 | The system of control hard disk sequential start |
KR20140052505A (en) * | 2012-10-24 | 2014-05-07 | 삼성전자주식회사 | Electronic apparatus and control method thereof |
CN103648026A (en) * | 2013-11-29 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Power-on-mode-selectable television apparatus and method |
CN106708640A (en) * | 2015-11-16 | 2017-05-24 | 研祥智能科技股份有限公司 | On-off control method and system of mainboard |
CN106200854B (en) * | 2016-07-04 | 2018-12-25 | 山东超越数控电子有限公司 | A kind of dual master control modular system starting-up method based under a variety of powering modes |
CN106649006B (en) * | 2016-09-30 | 2020-05-19 | 广州视源电子科技股份有限公司 | Method and system for starting automatic test of board card |
CN108304299A (en) * | 2018-03-02 | 2018-07-20 | 郑州云海信息技术有限公司 | Server power-up state monitors system and method, computer storage and equipment |
-
2019
- 2019-03-14 CN CN201910190893.3A patent/CN109976493B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109976493A (en) | 2019-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102722420B (en) | Self-diagnosis terminal, detection method and remote maintenance system | |
CN103136048B (en) | Computer system | |
CN101364193A (en) | BIOS automatic recovery method and computer and system using the method | |
CN100492305C (en) | Fast restoration method of computer system and apparatus | |
CN101882097A (en) | Main control board, embedded system and backup method for embedded system | |
CN102880527B (en) | Data recovery method of baseboard management controller | |
CN102571498A (en) | Fault injection control method and device | |
CN112073263B (en) | Method, system, equipment and medium for testing and monitoring reliability of white box switch | |
CN107818032A (en) | A kind of mainboard, information Method of printing, system, device and storage medium | |
CN109976493B (en) | Multi-mode submodule startup and shutdown control method and device | |
CN102169442A (en) | Method, equipment, device and system for performing system boot by using USB (universal serial bus) device | |
CN111427259B (en) | Main and standby switching method of machine frame slot type, intelligent equipment and storage medium | |
CN101739320A (en) | Error detection device of server and error detection method thereof | |
CN110688263B (en) | Application method of hard disk automatic switching device based on FPGA | |
CN117251401A (en) | Serial port information output control system, method and device | |
CN109649446B (en) | Multiple redundant networked computer interlocking man-machine interaction system | |
CN116521081A (en) | Method, device, equipment and storage medium for assembling on-board redundant array of independent disks | |
CN105094899A (en) | Distributed-type intelligent apparatus sub-module program automatic configuration method | |
CN112152736B (en) | Client front-end device, failure detection method for client front-end device, and storage medium | |
US6522936B1 (en) | Control apparatus, control method, and interface device for information processing device | |
CN101853062A (en) | Server | |
CN111260501B (en) | Remote online maintenance system and method for distributed acquisition terminal | |
CN115981880B (en) | Method, device, system, storage medium and chip for avoiding deadlock of host access slave | |
CN114328044B (en) | AIC+box topology testing method, device and system | |
CN215729734U (en) | Core board and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |