Nothing Special   »   [go: up one dir, main page]

CN107870776A - A kind of IPMC online upgradings method and device - Google Patents

A kind of IPMC online upgradings method and device Download PDF

Info

Publication number
CN107870776A
CN107870776A CN201711069386.1A CN201711069386A CN107870776A CN 107870776 A CN107870776 A CN 107870776A CN 201711069386 A CN201711069386 A CN 201711069386A CN 107870776 A CN107870776 A CN 107870776A
Authority
CN
China
Prior art keywords
ipmc
board
upgraded
upgrading
rompaqs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711069386.1A
Other languages
Chinese (zh)
Other versions
CN107870776B (en
Inventor
牛跃华
万月亮
王梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN201711069386.1A priority Critical patent/CN107870776B/en
Publication of CN107870776A publication Critical patent/CN107870776A/en
Application granted granted Critical
Publication of CN107870776B publication Critical patent/CN107870776B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of IPMC online upgradings method and device.Wherein method includes:Master controller obtains IPMC ROMPaqs from server, and sends upgrade command to PLD;The PLD enters upgrade mode according to the upgrade command, and controls board to be upgraded to enter system programming mode;The master controller sends the IPMC ROMPaqs to the board to be upgraded;The board to be upgraded is upgraded according to the IPMC ROMPaqs.The embodiment of the present invention solves the problems, such as that IPMC updating operations must have operating personnel on the scene in the prior art, realize the automatic remote online upgrading to board to be upgraded in ATCA cabinets, improve the intellectuality of equipment.

Description

A kind of IPMC online upgradings method and device
Technical field
The present embodiments relate to computer technology, more particularly to a kind of IPMC online upgradings method and device.
Background technology
Advanced telecom computing architecture (Advanced Telecommunication Computing Architecture, ATCA it is) a kind of open, interoperable telecommunications industry standard, mainly for telecom operation level application, it is by a series of rule Model forms, and defines mechanical structure, radiating management, power distribution and system administration, supports flexibly to develop and the repetition of configuration makes With.ATCA using open, general platform architecture, for communication and data network application provide a high performance-price ratio, modularization, Compatible strong and expansible hardware architecture, it is the Main way of telecommunication apparatus development.
ATCA cabinets pass through intelligent platform management controller (Intelligent Platform Management Controller, IPMC) system can to the units such as the veneer in cabinet, power supply, fan, temperature sensor carry out Intelligent adjustment And management.With ATCA frameworks in the increase of telecommunications industry occupation rate and the reason such as function upgrading of system, cabinet veneer Work PMC programs upgrading renewal it is also more frequent.
IPMC upgrading mode mainly has following two in current technology:
One kind is upgraded using JTAG (Joint Test Action Group, joint test working group) fever writes mode IPMC, under this kind of upgrading mode, need to pull board to be upgraded from cabinet in this method, use JTAG link boards IPMC DLLs, it is online to complete upgrading.After the completion of upgrading, then board inserted into cabinet, re-power work.In the above method The upgrading of IPMC boards needs to carry out the plug operation of veneer, it is also necessary to and insert JTAG fever writes and upgraded, it is cumbersome, and It in the case of field, can not complete to upgrade without attendant for the veneer disposed at the scene.Second of upgrade method is to make With PC (Personal Computer, PC) machine online upgrading IPMC of outside.Under this kind of upgrading mode, IPMC strings Join UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) interfaces with PC is connected, and operating personnel open upgrading software and corresponding ROMPaq on PC, and upgrading loading instruction is sent to IPMC, ROMPaq is handed down to IPMC and upgraded.But though veneer need not be plugged in above-mentioned upgrade method, still need to operate PC is connected by personnel with IPMC communication interfaces, corresponding situation of the scene without operating personnel, can not equally complete to upgrade.
The content of the invention
The present invention provides a kind of IPMC online upgradings method and device, automatic right in the case of without operating personnel to realize Board to be upgraded carries out IPMC online upgradings.
In a first aspect, the embodiments of the invention provide a kind of IPMC online upgradings method, this method includes:
Master controller obtains IPMC ROMPaqs from server, and sends upgrade command to PLD;
The PLD enters upgrade mode according to the upgrade command, and controls board to be upgraded to enter system System programming mode;
The master controller sends the IPMC ROMPaqs to the board to be upgraded;
The board to be upgraded is upgraded according to the IPMC ROMPaqs.
Further, after the PLD enters upgrade mode, in addition to:
The PLD obtains the control authority of preset function according to upgrade command;
Accordingly, after the board to be upgraded is upgraded according to the IPMC ROMPaqs, in addition to:
The master controller sends upgrading to the PLD and completes instruction;
The PLD completes instruction according to the upgrading and the board after upgrading is resetted;
Whether the board that the master controller detects after the upgrading upgrades successfully;
If so, then starting the board after the upgrading, and the PLD is controlled to exit the upgrade mode;
If it is not, then the master controller sends upgrade command to the PLD, so that after the upgrading Board re-starts upgrading.
Further, detect whether the board after the upgrading upgrades successfully, including:
The master controller obtains the first IPMC version numbers of the board after the upgrading, by the IPMC version numbers and institute The 2nd IPMC version numbers for stating IPMC ROMPaqs are compared;
If the first IPMC version numbers are identical with the 2nd IPMC version numbers, it is determined that the board liter after the upgrading Level success;
If the first IPMC version numbers and the 2nd IPMC version numbers differ, or can not obtain the first IPMC Version number, it is determined that the board upgrading failure after the upgrading.
Further, the master controller sends the IPMC ROMPaqs to the board to be upgraded, so that described treat Upgrading board is upgraded according to the IPMC ROMPaqs, including:
The master controller is based on default communication interface and carries out handshake communication with the board to be upgraded, determines information transfer Rule;
The master controller initializes to the default communication interface, and based on the default communication interface after initialization The IPMC ROMPaqs are sent to the board to be upgraded according to described information transmission rule;
The board to be upgraded receives the IPMC ROMPaqs, stores to preset memory, and by the default storage IPMC ROMPaqs write-in flash regions in device.
Further, after the IPMC ROMPaqs write-in flash regions in by the preset memory, also wrap Include:
Upgrading checking information is determined according to each IPMC ROMPaq in write-in flash regions;
The upgrading checking information is matched with criterion validation information;
If the match is successful, it is determined that the order in said write flash regions is correct, and continues to write in the flash regions Enter next IPMC ROMPaq;
If it fails to match, the board to be upgraded receives the IPMC ROMPaqs again.
Second aspect, the embodiment of the present invention additionally provide a kind of IPMC online upgradings device, and the device includes:
Master controller, electrically connected respectively with PLD and board to be upgraded, for obtaining IPMC from server ROMPaq, to PLD send upgrade command, and the board to be upgraded enter system programming mode after to The board to be upgraded sends IPMC ROMPaqs;
The PLD, board electrical connection to be upgraded adjacent with the master controller and described, is used for respectively Upgrade mode is entered according to the upgrade command that the master controller is sent, and controls board to be upgraded to enter system programming mode;
The board to be upgraded, for being upgraded according to the IPMC ROMPaqs.
Further, the PLD is used for after upgrade mode is entered, and is obtained according to upgrade command pre- If the control authority of function, it is additionally operable to after the board to be upgraded is upgraded according to the IPMC ROMPaqs, according to The upgrading that master controller is sent completes instruction and the board after upgrading is resetted;
The master controller is used for after the reset of the board after the upgrading, detects whether the board after the upgrading rises Level success, if so, then starting the board after the upgrading, and controls the PLD to exit the upgrade mode; If it is not, upgrade command then is sent to the PLD, so that the board after the upgrading re-starts upgrading.
Further, the master controller is specifically used for:
After the board upgrading to be upgraded, the first IPMC version numbers of the board after the upgrading are obtained, by described in First IPMC version numbers are compared with the 2nd IPMC version numbers of the IPMC ROMPaqs;If the first IPMC version numbers It is identical with the 2nd IPMC version numbers, it is determined that the board after the upgrading upgrades successfully;If the first IPMC version numbers Differed with the 2nd IPMC version numbers, or the first IPMC version numbers can not be obtained, it is determined that the plate after the upgrading Card upgrade fails.
Further, the master controller is specifically used for:
Handshake communication is carried out based on default communication interface and the board to be upgraded, determines information transfer rule;
The default communication interface is initialized, and based on the default communication interface after initialization according to described information Transmission rule sends the IPMC ROMPaqs to the board to be upgraded;
Accordingly, the board to be upgraded is used to receive the IPMC ROMPaqs, stores to preset memory, and by institute State the IPMC ROMPaqs write-in flash regions in preset memory.
Further, the board to be upgraded is specifically used for:
After IPMC ROMPaqs write-in flash regions in by the preset memory, according to write-in flash The each IPMC ROMPaq in region determines upgrading checking information;
The upgrading checking information is matched with criterion validation information;
If the match is successful, it is determined that the order in said write flash regions is correct, and continues to write in the flash regions Enter next IPMC ROMPaq;
If it fails to match, the IPMC ROMPaqs are received again.
The embodiment of the present invention obtains IPMC ROMPaqs by network interface by master controller from server, to FPGA Device sends upgrade command, and after controlling board to be upgraded to enter system programming mode, master controller is sent to board to be upgraded IPMC ROMPaqs so that board to be upgraded receives IPMC ROMPaqs and upgraded, without being torn open to board to be upgraded Unload or other external equipments auxiliary, solve the problems, such as that IPMC updating operations must have that operating personnel are on the scene in the prior art, The automatic remote online upgrading to board to be upgraded in ATCA cabinets is realized, improves the intellectuality of equipment.
Brief description of the drawings
Fig. 1 is a kind of flow chart for IPMC online upgradings method that the embodiment of the present invention one provides;
Fig. 2A is a kind of schematic diagram for control word that the embodiment of the present invention one provides;
Fig. 2 B are the signals that a kind of master controller that the embodiment of the present invention one provides carries out handshake communication with board to be upgraded Figure;
Fig. 2 C are the connection diagram in the ATCA cabinets that the embodiment of the present invention one provides;
Fig. 3 A are a kind of flow charts for IPMC online upgradings method that the embodiment of the present invention two provides;
Fig. 3 B are the control sequential figures for the PLD that the embodiment of the present invention two provides;
Fig. 4 is a kind of structural representation for IPMC online upgradings device that the embodiment of the present invention three provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart for IPMC online upgradings method that the embodiment of the present invention one provides, and the present embodiment is applicable When intervening without operating personnel, the situation of IPMC online upgradings is carried out to the board to be upgraded in ATCA cabinets, this method can To be performed by IPMC online upgradings device provided in an embodiment of the present invention, the device can be by the way of software and/or hardware Realize.Referring to Fig. 1, this method specifically includes:
S110, master controller obtain IPMC ROMPaqs from server, and send upgrade command to PLD.
CPU (Central Processing Unit, central processing unit) master controller in ATCA cabinets in the present embodiment, PLD and burning have the board of IPMC programs, wherein, in PLD burning have IPMC upgrading patrol Code is collected, exemplary, PLD can be but not limited to PLD, and (Programmable Logic Device, can Programmed logic device) and CPLD (Complex Programmable Logic Device, CPLD).
Wherein, master controller can be previously provided with upgrade information, and wherein upgrade information can be when containing upgrading Between and upgraded version, corresponding to master controller according to the update time from server obtains upgraded version automatically by network interface IPMC ROMPaqs, board to be upgraded is upgraded automatically according to IPMC ROMPaqs.Master controller can also be periodically IPMC programs are detected with the presence or absence of renewal, if so, obtaining the IPMC upgrading journeys of latest edition from server automatically by network interface Sequence, board to be upgraded is upgraded automatically according to the IPMC ROMPaqs of latest edition.Master controller can also be that reception is remote Journey command information, the upgrade version included in teleinstruction information is obtained from server by network interface according to the teleinstruction information IPMC ROMPaqs corresponding to this, or the IPMC ROMPaqs of latest edition are obtained, board to be upgraded is upgraded.
PLD be it is a kind of can the autonomous digital integrated electronic circuit of constitutive logic function according to demand, inside can be by Macroelement matrix composition is programmed, is connected using the metal wire of regular length.
Wherein, master controller can send upgrading to PLD by channel bus (LOCALBUS) to refer to Order, optionally, upgrade command includes at least one control word.
S120, PLD enter upgrade mode according to upgrade command, and control board to be upgraded to enter system Programming mode.
Wherein, PLD receives the upgrade command that master controller is sent, the control word in upgrade command Into upgrade mode, and board to be upgraded is further controlled to enter System Programming (In System Programming, ISP) Pattern.Exemplary, referring to Fig. 2A, Fig. 2A is a kind of schematic diagram for control word that the embodiment of the present invention one provides.Wherein, Fig. 2A In control word include control bit, wherein 4 control bits in the control word are used to control whether PLD enters Upgrade mode, 1 control bit in the control word are used to control whether board to be upgraded enters system programming mode.Exemplary, If 4 control bits in control word are set to 1, PLD enters upgrade mode;If 4 control positions in control word For 0 when, then PLD exits upgrade mode.When 1 control bit in control word is set to 0, then PLD Board to be upgraded is controlled to enter system programming mode;When 1 control bit in control word is set to 1, then PLD controls Board to be upgraded logs off programming mode.
S130, master controller send IPMC ROMPaqs to board to be upgraded.
In the present embodiment, when master controller detects that board to be upgraded enters system programming mode, to board to be upgraded Send IPMC ROMPaqs.
Optionally, master controller sends IPMC ROMPaqs to board to be upgraded, so that board to be upgraded is according to IPMC liters Level program is upgraded, including:Master controller is based on default communication interface and carries out handshake communication with board to be upgraded, determines information Transmission rule;Master controller initializes to default communication interface, and based on the default communication interface after initialization to waiting to rise Level board sends IPMC ROMPaqs;Board to be upgraded receives IPMC ROMPaqs, stores to preset memory, and is deposited default IPMC ROMPaqs write-in flash regions in reservoir.
Wherein, the transmission of any practical application information invariably accompanies the transmission of some control information between communication apparatus, They work according to set communications protocol, by application message it is safe, reliable, efficient be sent to destination.Handshake communication is just Be two equipment before a communication, be mutual recognize, could mutually be transferred after determining information transfer rule.It is exemplary , referring to Fig. 2 B, Fig. 2 B are that a kind of master controller that the embodiment of the present invention one provides carries out handshake communication with board to be upgraded Schematic diagram.
Exemplary, carrying out the information transfer rule of handshake communication determination with board to be upgraded by master controller can be Size including transmitting data each time, for example, 1K.Wherein master controller is based on UART (Universal with board to be upgraded Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) interface progress information transfer.It is exemplary , referring to Fig. 2 C, Fig. 2 C are the connection diagram in the ATCA cabinets that the embodiment of the present invention one provides.Wherein master controller UART2 interfaces are connected with the UART0 interfaces of board to be upgraded.
After master controller and board to be upgraded carry out handshake communication, master controller carries out initial to default communication interface Change, in the present embodiment, it is UART2 interfaces to preset communication interface.
Master controller sends IPMC ROMPaqs based on default communication interface according to information transfer rule to board to be upgraded. Exemplary, master controller sends the data of 1K sizes to board to be upgraded each time, and board to be upgraded is by above-mentioned data storage Into RAM (random access memory, random access memory), further the data in RAM are written to specified Flash regions.After the flash regions specified are write data into, master controller sends next to board to be upgraded The data of 1K sizes, circulation perform above-mentioned write operation, until all IPMC ROMPaqs are all write in board to be upgraded The flash regions specified.
Optionally, after the IPMC ROMPaqs write-in flash regions in by preset memory, in addition to:According to writing Each IPMC ROMPaq for entering flash regions determines upgrading checking information;Will upgrading checking information and criterion validation information Matched;If the match is successful, it is determined that the order in write-in flash regions is correct, and continues to write next in flash regions IPMC ROMPaqs;If it fails to match, board to be upgraded receives IPMC ROMPaqs again.
In the present embodiment, criterion validation letter corresponding to each program is included in the IPMC ROMPaqs that master controller obtains Breath, such as can be check value.After each program is write flash regions by board to be upgraded, each of write-in is calculated The upgrading checking information of bar program, wherein upgrading checking information can be true based on identical calculation with criterion validation information It is fixed.Upgrading checking information is matched with criterion validation information, if upgrading checking information is identical with criterion validation information, really Fixed the match is successful, it is determined that the order in write-in flash regions is correct, and continues to write next IPMC upgrading journey in flash regions Sequence;If it is different from criterion validation information to upgrade checking information, it is determined that it fails to match, and board to be upgraded receives IPMC upgradings again Program.
In the present embodiment, by determining that each program in write-in flash regions is verified, it is to be upgraded to improve write-in The correctness of IPMC ROMPaqs in board, avoid the upgrading failure due to board to be upgraded caused by write error.
S140, board to be upgraded are upgraded according to IPMC ROMPaqs.
In the present embodiment, treated by the way that IPMC ROMPaqs are write in board to be upgraded into the flash regions specified realization Upgrade the upgrading of board.
The technical scheme of the present embodiment, IPMC ROMPaqs, Xiang Ke are obtained from server by network interface by master controller Programmed logic device sends upgrade command, and after controlling board to be upgraded to enter system programming mode, master controller is to plate to be upgraded Card sends IPMC ROMPaqs so that board to be upgraded receives IPMC ROMPaqs and upgraded, without to board to be upgraded Dismantled or other external equipments aid in, solving IPMC updating operations in the prior art there must be operating personnel on the scene Problem, the automatic remote online upgrading to board to be upgraded in ATCA cabinets is realized, improves the intellectuality of equipment.
Embodiment two
Fig. 3 A are a kind of flow charts for IPMC online upgradings method that the embodiment of the present invention two provides, in above-described embodiment On the basis of, IPMC online upgrading methods are optimized.Accordingly, this method specifically includes:
S210, master controller obtain IPMC ROMPaqs from server, and send upgrade command to PLD.
In the present embodiment, fire have the boards of IPMC programs be used to controlling in ATCA cabinets the power supply of ATCA cabinets, when The key messages such as clock, can not normal use if firing electricity failure on the board upgrading failure ATCA cabinets for have IPMC programs.And work as Board to be upgraded enters after ISP patterns the control function that can not have power supply, clock etc., and master controller can not be to ISP moulds The reading worked as board to be upgraded and carry out any information under formula.
Optionally, master controller to PLD send upgrade command before, including:Master controller is obtained and treated Upgrade the initial IPMC version numbers of board and store.Wherein, initial IPMC version numbers refer to board to be upgraded before upgrading The version number of IPMC programs.
S220, PLD enter upgrade mode according to upgrade command and obtain the control authority of preset function, And board to be upgraded is controlled to enter system programming mode.
In the present embodiment, preset function includes but is not limited to power supply, clock, the IPMC of board to be upgraded and resets, be to be upgraded ISP pins of board etc..Optionally, PLD sends different control word realities by receiving different master controllers Now to the control combination of different GPIO (General Purpose Input Output, universal input/output) interface.
Referring to Fig. 3 B, Fig. 3 B are the control sequential figures for the PLD that the embodiment of the present invention two provides.It is exemplary , PLD enters upgrade mode after " 11 " order is performed, and board to be upgraded enters system programming mode.Its In, it be " 00010001 " that " 11 " order, which is converted to control word, and it is " 00010011 " that " 13 ", which order and are converted to control word, the present embodiment In, when order is converted to control word, each character in order is respectively converted into binary number, and according to former sequential combination Form control word.Exemplary, it is " 0001 " that character " 1 ", which is converted to binary number, in " 13 " order, and character " 3 " is converted to two and entered Number processed is " 0011 ", and corresponding binary number is combined to obtain by the order of " 1 " and " 3 " in being ordered according to " 13 " “00010011”。
S230, master controller send IPMC ROMPaqs to board to be upgraded.
S240, board to be upgraded are upgraded according to IPMC ROMPaqs.
S250, master controller send upgrading to PLD and complete instruction.
Optionally, after IPMC ROMPaqs are transmitted, master controller sends print command, main control to board to be upgraded Device determines that board upgrading to be upgraded is completed, to programmable logic device after detecting that board to be upgraded performs the print command Part sends upgrading and completes instruction.
S260, PLD complete instruction according to upgrading and the board after upgrading are resetted.
Wherein, control word of the PLD in upgrade command resets to board to be upgraded.
After the board of S270, master controller after upgrading is resetted, whether the board after detection upgrading upgrades successfully.If It is then to perform step S280, step S210 is performed if it is not, then returning.
Optionally, whether the board after detection upgrading upgrades successfully, including:
Master controller obtains the first IPMC version numbers of the board after upgrading, by IPMC version numbers and IPMC ROMPaqs 2nd IPMC version numbers are compared;If the first IPMC version numbers are identical with the 2nd IPMC version numbers, it is determined that the plate after upgrading Card upgrade success;If the first IPMC version numbers and the 2nd IPMC version numbers differ, or can not obtain the first IPMC version numbers, then It is determined that the board upgrading failure after upgrading.In the present embodiment, obtained automatically by master controller and compare the board after upgrading First IPMC version numbers and the 2nd IPMC version numbers of IPMC ROMPaqs, it is determined that whether the upgrading of board succeeds after upgrading, keep away The situation of the board after being upgraded by operating personnel's hand inspection is exempted from, has reduced cost of labor, realized automatically to board to be upgraded Remote upgrade.Wherein, if the first IPMC version numbers are identical with initial IPMC version numbers, it is determined that write into board to be upgraded IPMC ROMPaqs fail.
S280, start the board after upgrading, and control PLD to exit upgrade mode.
In the present embodiment, judge whether board upgrades successfully by the IPMC version numbers of board after upgrading, only in plate The board after upgrading can be just restarted after card upgrade success, and cancels control of the PLD to preset function Limit, otherwise, PLD continues the control authority with preset function, and the board of upgrading failure is risen again Level, when the board upgrades successfully, and avoids the functions such as the uncontrollable power supply of board and the clock of upgrading failure, IPMC boards ATCA cabinets caused by can not starting can not normal work the problem of, improve IPMC upgrading reliabilities.
In one alternate embodiment, master controller obtains IPMC ROMPaqs from network interface;Sent out to PLD The upgrade command for including control word 13,12,10,11 is sent, control PLD enters upgrade mode, obtains preset function Control authority, and further control board to be upgraded to enter ISP patterns;Master controller is by UART interface to board to be upgraded Transmit IPMC ROMPaqs so that board to be upgraded is upgraded;After the completion of upgrading, master controller is to PLD Send comprising control word 10,12,13 upgrading complete instruction so that PLD according to above-mentioned control word to upgrading after Board resetted, record upgrading after board the first IPMC version numbers;By contrasting the first IPMC version numbers and IPMC 2nd IPMC version numbers of ROMPaq judge whether the board after the upgrading upgrades successfully;If upgrading failure, master controller Again the upgrade command for including control word 13,12,10,11 is sent to PLD, and circulates execution aforesaid operations, it is right The board of upgrading failure is upgraded again, until the board upgrades successfully;If upgrading successfully, master controller is patrolled to programmable Collect device transmission and exit upgrade mode instruction, and cancel control authority of the PLD to preset function, by rising The functions such as the power supply and clock of the board control ATCA cabinets after level.
The technical scheme of the present embodiment, by before board to be upgraded is upgraded, being obtained by PLD The control authority of preset function, and the first IPMC version numbers after being upgraded according to board and the 2nd IPMC versions of IPMC ROMPaqs Whether this number detection board upgrades successfully, if board upgrading failure, upgrades, until upgrading successfully, true again to the board After fixed board card upgrade success, main controller controls PLD exits upgrade mode, starts the board after upgrading, and take Disappear the control authority of preset function so that and PLD controls preset function normal operation in board escalation process, Solve the problems, such as due to board upgrading or board upgrading failure caused by ATCA cabinets can not normal use, reduce due to The waste of ATCA cabinets, saves engineering cost caused by upgrading failure, improves IPMC upgrading reliabilities and industrial intelligent Change.
Embodiment three
Fig. 4 is a kind of structural representation for IPMC online upgradings device that the embodiment of the present invention three provides, and the device is specific Including:
Master controller 310, electrically connected respectively with PLD and board to be upgraded, for being obtained from server IPMC ROMPaqs, to PLD send upgrade command, and board to be upgraded enter system programming mode after to Board to be upgraded sends IPMC ROMPaqs;
PLD 320, board electrical connection adjacent and to be upgraded with master controller respectively, for according to main control The upgrade command that device is sent enters upgrade mode, and controls board to be upgraded to enter system programming mode;
Board 330 to be upgraded, for being upgraded according to IPMC ROMPaqs.
Optionally, PLD 320 is used for after upgrade mode is entered, and default work(is obtained according to upgrade command The control authority of energy, is additionally operable to after board to be upgraded is upgraded according to IPMC ROMPaqs, is sent according to master controller Upgrading complete instruction the board after upgrading is resetted;
Master controller 310 is used for after the reset of the board after upgrading, and whether the board after detection upgrading upgrades successfully, if It is then to start the board after upgrading, and control PLD to exit upgrade mode;If it is not, then to programmable logic device Part sends upgrade command, so that the board after upgrading re-starts upgrading.
Optionally, master controller 310 is specifically used for:
After board to be upgraded upgrading, the first IPMC version numbers of the board after upgrading are obtained, by the first IPMC versions Number it is compared with the 2nd IPMC version numbers of IPMC ROMPaqs;If the first IPMC version numbers and the 2nd IPMC version numbers phase Together, it is determined that the board after upgrading upgrades successfully;If the first IPMC version numbers and the 2nd IPMC version numbers differ, or can not obtain Take the first IPMC version numbers, it is determined that the board upgrading failure after upgrading.
Optionally, master controller 310 is specifically used for:
Handshake communication is carried out based on default communication interface and board to be upgraded, determines information transfer rule;
Default communication interface is initialized, and based on the default communication interface after initialization according to information transfer rule IPMC ROMPaqs are sent to board to be upgraded;
Accordingly, board to be upgraded is used to receive IPMC ROMPaqs, stores to preset memory, and by preset memory Interior IPMC ROMPaqs write-in flash regions.
Optionally, board 330 to be upgraded is specifically used for:
After IPMC ROMPaqs write-in flash regions in by preset memory, according to the every of write-in flash regions One IPMC ROMPaq determines upgrading checking information;
Upgrading checking information is matched with criterion validation information;
If the match is successful, it is determined that the order in write-in flash regions is correct, and continues to write next in flash regions IPMC ROMPaqs;
If it fails to match, IPMC ROMPaqs are received again.
IPMC online upgradings device provided in an embodiment of the present invention can perform the IPMC that any embodiment of the present invention is provided Online upgrading method, possess and perform the corresponding functional module of IPMC online upgrading methods and beneficial effect.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. IPMC online upgradings method, it is characterised in that including:
    Master controller obtains IPMC ROMPaqs from server, and sends upgrade command to PLD;
    The PLD enters upgrade mode according to the upgrade command, and controls board to be upgraded to be compiled into system Journey pattern;
    The master controller sends the IPMC ROMPaqs to the board to be upgraded;
    The board to be upgraded is upgraded according to the IPMC ROMPaqs.
  2. 2. according to the method for claim 1, it is characterised in that the PLD enter upgrade mode it Afterwards, in addition to:
    The PLD obtains the control authority of preset function according to upgrade command;
    Accordingly, after the board to be upgraded is upgraded according to the IPMC ROMPaqs, in addition to:
    The master controller sends upgrading to the PLD and completes instruction;
    The PLD completes instruction according to the upgrading and the board after upgrading is resetted;
    Whether the board that the master controller detects after the upgrading upgrades successfully;
    If so, then starting the board after the upgrading, and the PLD is controlled to exit the upgrade mode;
    If it is not, then the master controller sends upgrade command to the PLD, so that the board after the upgrading Re-start upgrading.
  3. 3. according to the method for claim 2, it is characterised in that detect whether the board after the upgrading upgrades successfully, wrap Include:
    The master controller obtains the first IPMC version numbers of the board after the upgrading, by the IPMC version numbers with it is described 2nd IPMC version numbers of IPMC ROMPaqs are compared;
    If the first IPMC version numbers are identical with the 2nd IPMC version numbers, it is determined that the upgrading of board after the upgrading into Work(;
    If the first IPMC version numbers and the 2nd IPMC version numbers differ, or can not obtain the first IPMC versions Number, it is determined that the board upgrading failure after the upgrading.
  4. 4. according to any described methods of claim 1-3, it is characterised in that the master controller is sent out to the board to be upgraded The IPMC ROMPaqs are sent, so that the board to be upgraded is upgraded according to the IPMC ROMPaqs, including:
    The master controller is based on default communication interface and carries out handshake communication with the board to be upgraded, determines that information transfer is advised Then;
    The master controller initializes to the default communication interface, and based on the default communication interface after initialization according to Described information transmission rule sends the IPMC ROMPaqs to the board to be upgraded;
    The board to be upgraded receives the IPMC ROMPaqs, stores to preset memory, and by the preset memory IPMC ROMPaqs write-in flash regions.
  5. 5. according to the method for claim 4, it is characterised in that the IPMC upgrading journeys in by the preset memory After sequence write-in flash regions, in addition to:
    Upgrading checking information is determined according to each IPMC ROMPaq in write-in flash regions;
    The upgrading checking information is matched with criterion validation information;
    If the match is successful, it is determined that the order in said write flash regions is correct, and continues under being write in the flash regions One IPMC ROMPaq;
    If it fails to match, the board to be upgraded receives the IPMC ROMPaqs again.
  6. A kind of 6. IPMC online upgradings device, it is characterised in that including:
    Master controller, electrically connected respectively with PLD and board to be upgraded, for obtaining IPMC upgradings from server Program, upgrade command is sent to PLD, and to described after the board to be upgraded enters system programming mode Board to be upgraded sends IPMC ROMPaqs;
    The PLD, board electrical connection to be upgraded adjacent with the master controller and described respectively, for basis The upgrade command that the master controller is sent enters upgrade mode, and controls board to be upgraded to enter system programming mode;
    The board to be upgraded, for being upgraded according to the IPMC ROMPaqs.
  7. 7. device according to claim 6, it is characterised in that
    The PLD is used for after upgrade mode is entered, and the control of preset function is obtained according to upgrade command Limit, is additionally operable to after the board to be upgraded is upgraded according to the IPMC ROMPaqs, is sent according to master controller The upgrading completes instruction and the board after upgrading is resetted;
    The master controller is used for after the reset of the board after the upgrading, detects whether the board after the upgrading upgrades into Work(, if so, then starting the board after the upgrading, and the PLD is controlled to exit the upgrade mode;If it is not, Upgrade command then is sent to the PLD, so that the board after the upgrading re-starts upgrading.
  8. 8. device according to claim 7, it is characterised in that the master controller is specifically used for:
    After the board upgrading to be upgraded, the first IPMC version numbers of the board after the upgrading are obtained, by described first IPMC version numbers are compared with the 2nd IPMC version numbers of the IPMC ROMPaqs;If the first IPMC version numbers and institute It is identical to state the 2nd IPMC version numbers, it is determined that the board after the upgrading upgrades successfully;If the first IPMC version numbers and institute State the 2nd IPMC version numbers to differ, or the first IPMC version numbers can not be obtained, it is determined that the board liter after the upgrading Level failure.
  9. 9. according to any described devices of claim 6-8, it is characterised in that the master controller is specifically used for:
    Handshake communication is carried out based on default communication interface and the board to be upgraded, determines information transfer rule;
    The default communication interface is initialized, and transmitted based on the default communication interface after initialization according to described information Rule sends the IPMC ROMPaqs to the board to be upgraded;
    Accordingly, the board to be upgraded is used to receive the IPMC ROMPaqs, stores to preset memory, and will be described pre- If the IPMC ROMPaqs write-in flash regions in memory.
  10. 10. device according to claim 9, it is characterised in that the board to be upgraded is specifically used for:
    After IPMC ROMPaqs write-in flash regions in by the preset memory, according to write-in flash regions Each IPMC ROMPaq determine upgrading checking information;
    The upgrading checking information is matched with criterion validation information;
    If the match is successful, it is determined that the order in said write flash regions is correct, and continues under being write in the flash regions One IPMC ROMPaq;
    If it fails to match, the IPMC ROMPaqs are received again.
CN201711069386.1A 2017-11-03 2017-11-03 IPMC online upgrading method and device Expired - Fee Related CN107870776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711069386.1A CN107870776B (en) 2017-11-03 2017-11-03 IPMC online upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711069386.1A CN107870776B (en) 2017-11-03 2017-11-03 IPMC online upgrading method and device

Publications (2)

Publication Number Publication Date
CN107870776A true CN107870776A (en) 2018-04-03
CN107870776B CN107870776B (en) 2021-01-12

Family

ID=61752627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711069386.1A Expired - Fee Related CN107870776B (en) 2017-11-03 2017-11-03 IPMC online upgrading method and device

Country Status (1)

Country Link
CN (1) CN107870776B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032639A (en) * 2018-07-19 2018-12-18 郑州云海信息技术有限公司 A kind of complete machine flogic system upgrade method, system and independent logical device
CN111427602A (en) * 2020-04-10 2020-07-17 扬州万方电子技术有限责任公司 Method for upgrading firmware on line of intelligent platform management controller of VPX case
CN114115947A (en) * 2021-11-26 2022-03-01 北京锐安科技有限公司 Frame type equipment upgrading method, device, equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858706A (en) * 2006-04-12 2006-11-08 华为技术有限公司 Method and system for 51 one-chip computer on-system upgrading
KR20080051471A (en) * 2006-12-05 2008-06-11 한국전자통신연구원 Method and apparatus for providing the board status to the main processor by using ipmi messages over the advancedtca system
CN100472442C (en) * 2006-03-02 2009-03-25 中兴通讯股份有限公司 Device and method for on-line updating fastener programm
CN101448050A (en) * 2008-12-29 2009-06-03 华为技术有限公司 Firmware update device of ATCA system and method thereof
CN101493778A (en) * 2009-02-27 2009-07-29 华为技术有限公司 Programmable logic device upgrading method, apparatus and system
CN101605189A (en) * 2008-06-13 2009-12-16 大唐移动通信设备有限公司 The online upgrade system of intelligent platform management controller and method
CN101782857A (en) * 2010-01-19 2010-07-21 福建三元达软件有限公司 Payment terminal, software upgrading method and system thereof
CN101894029A (en) * 2010-06-21 2010-11-24 中兴通讯股份有限公司 Method and device for upgrading complex programmable logic device on line
US20120216001A1 (en) * 2011-02-22 2012-08-23 Noor Hazlina Ramly Integrated circuit with tamper-detection and self-erase mechanisms
CN103226334A (en) * 2013-04-28 2013-07-31 东方电气集团东方汽轮机有限公司 Hardware safety chain control method in upgrade process of control system of wind generating set
CN104881286A (en) * 2015-05-28 2015-09-02 烽火通信科技股份有限公司 Programmable device configuration system and method
CN105224345A (en) * 2014-05-28 2016-01-06 株洲变流技术国家工程研究中心有限公司 A kind of programmable logic device (PLD) remote update system and method thereof

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100472442C (en) * 2006-03-02 2009-03-25 中兴通讯股份有限公司 Device and method for on-line updating fastener programm
CN1858706A (en) * 2006-04-12 2006-11-08 华为技术有限公司 Method and system for 51 one-chip computer on-system upgrading
KR20080051471A (en) * 2006-12-05 2008-06-11 한국전자통신연구원 Method and apparatus for providing the board status to the main processor by using ipmi messages over the advancedtca system
CN101605189A (en) * 2008-06-13 2009-12-16 大唐移动通信设备有限公司 The online upgrade system of intelligent platform management controller and method
CN101448050A (en) * 2008-12-29 2009-06-03 华为技术有限公司 Firmware update device of ATCA system and method thereof
CN101493778A (en) * 2009-02-27 2009-07-29 华为技术有限公司 Programmable logic device upgrading method, apparatus and system
CN101782857A (en) * 2010-01-19 2010-07-21 福建三元达软件有限公司 Payment terminal, software upgrading method and system thereof
CN101894029A (en) * 2010-06-21 2010-11-24 中兴通讯股份有限公司 Method and device for upgrading complex programmable logic device on line
US20120216001A1 (en) * 2011-02-22 2012-08-23 Noor Hazlina Ramly Integrated circuit with tamper-detection and self-erase mechanisms
CN103226334A (en) * 2013-04-28 2013-07-31 东方电气集团东方汽轮机有限公司 Hardware safety chain control method in upgrade process of control system of wind generating set
CN105224345A (en) * 2014-05-28 2016-01-06 株洲变流技术国家工程研究中心有限公司 A kind of programmable logic device (PLD) remote update system and method thereof
CN104881286A (en) * 2015-05-28 2015-09-02 烽火通信科技股份有限公司 Programmable device configuration system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘富强: "SJTAG技术在ATCA体系的应用", 《今日电子》 *
王庆: "税控收款机专用微型打印机研制", 《中国优秀博硕士学位论文全文数据库 (硕士) 工程科技Ⅱ辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032639A (en) * 2018-07-19 2018-12-18 郑州云海信息技术有限公司 A kind of complete machine flogic system upgrade method, system and independent logical device
CN111427602A (en) * 2020-04-10 2020-07-17 扬州万方电子技术有限责任公司 Method for upgrading firmware on line of intelligent platform management controller of VPX case
CN111427602B (en) * 2020-04-10 2021-08-06 扬州万方电子技术有限责任公司 Method for upgrading firmware on line of intelligent platform management controller of VPX case
CN114115947A (en) * 2021-11-26 2022-03-01 北京锐安科技有限公司 Frame type equipment upgrading method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107870776B (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN103414741B (en) A kind of method and system of remote upgrade PLC
US20110179211A1 (en) Bios architecture
CN107820603A (en) A kind of firmware update and controller
JPH0525332B2 (en)
CN109976767B (en) Software burning method and device
CN102279756A (en) CPLD (Complex Programmable Logic Device) firmware updating method
CN107870776A (en) A kind of IPMC online upgradings method and device
US7038798B2 (en) Method and apparatus for multi-function processing capable of performing a program downloading using a common single connection, and a medium storing the method
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
CN111104139A (en) Firmware upgrading method, device, equipment and storage medium
CN102253845B (en) Server system
CN116132009A (en) Clock switching device, server and clock switching method
CN108196861B (en) Data upgrading method and diagnostic equipment thereof
US9779037B2 (en) Establishing connectivity of modular nodes in a pre-boot environment
CN111427602B (en) Method for upgrading firmware on line of intelligent platform management controller of VPX case
CN102081526B (en) Basic input/output system architecture
US20200341750A1 (en) Method of upgrading inverter software, system and electronic device using the same
WO2024113767A1 (en) Power-on method and power-on apparatus for smart network interface cards
CN112003723A (en) Method and system for realizing firmware batch upgrading of Expander chip
CN111221554A (en) DSP circuit structure, DSP online program upgrading method and device
CN116541026A (en) Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium
CN116700751A (en) Upgrading method of server firmware and computing device
CN109885329B (en) Upgrading method and system and electronic equipment
CN111723038B (en) Signal compensation method and device, electronic equipment and storage medium
JP2006277733A (en) Programmable controller system

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210112