CN1851644A - Frame loading method - Google Patents

Frame loading method Download PDF

Info

Publication number
CN1851644A
CN1851644A CN 200510114513 CN200510114513A CN1851644A CN 1851644 A CN1851644 A CN 1851644A CN 200510114513 CN200510114513 CN 200510114513 CN 200510114513 A CN200510114513 A CN 200510114513A CN 1851644 A CN1851644 A CN 1851644A
Authority
CN
China
Prior art keywords
version
board
file
server
system
Prior art date
Application number
CN 200510114513
Other languages
Chinese (zh)
Other versions
CN100365573C (en
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 华为技术有限公司
Priority to CN 200510114513 priority Critical patent/CN100365573C/en
Publication of CN1851644A publication Critical patent/CN1851644A/en
Application granted granted Critical
Publication of CN100365573C publication Critical patent/CN100365573C/en

Links

Abstract

The present invention includes A, version server single board obtaining version of version server single board, system board, interface board and pinch plate from temporary server; B, version server single board saves version server single board version file to own FLASH; system board obtaining system board version file from version server single board and saving to own FLASH; interface board obtaining interface board version file from version server single board through system board and saving to own FLASH; pinch plate obtaining pinch plate version file from version server single board through interface board and system board and saving to own FLASH. The present invention can realize machine frame start work loading and on-line loading, and greatly raising machine frame loading efficiency.

Description

一种加载机框的方法 A method of loading the machine frame

技术领域 FIELD

本发明涉及通信领域的加载技术,特别涉及一种加载机框的方法。 The present invention relates to communication field loading techniques, particularly to a method of loading chassis.

背景技术 Background technique

所谓加载就是将单板所需要的版本文件从保存版本文件的设备传输到单板的闪存(FLASH)中,使单板在重新启动后能够以新的版本开始工作。 The so-called board is to load the required version of the file from the device saved version of the file to board flash (FLASH), the board can make a new version to work after a reboot.

在现有机框中有系统板、接口板和扣板三种类型的单板,所有单板都可以直接通过同一条总线与机框外接的作为版本服务器的独立服务器进行通信。 In the prior system board on the chassis, interface board and pinch three types of boards, all cards can communicate directly with an external server independent bus chassis as the version of the server. 在对现有机框中的单板进行加载时,作为版本服务器的独立服务器可以直接通过总线以传输控制协议/互联网络协议(TCP/IP)方式将各单板所需的版本文件传输给需要加载的各个单板,由各个单板将接收的版本文件保存到自身的FLASH中,实现对现有机框中所有单板的加载。 When loading on board existing machine frame, as a standalone server version of the server directly via the bus to the Transmission Control Protocol / Internet Protocol (TCP / IP) mode version of the desired file transfer each board to be loaded of each board, each board will be kept by the received version of the file to its own FLASH, to achieve loaded on board all existing machine box.

在上述对现有机框中单板加载的过程中,由于现有机框将一台外接的独立服务器作为版本服务器,每个机框在加载时都需要配置一台独立的服务器,所以对现有机框进行加载的硬件成本很高。 In the process of the prior board loading the machine frame, since the conventional chassis of an external independent server as the server version, each shelf must be configured upon loading a separate server, so prior to the machine frame the high cost of hardware loaded. 为节约成本,目前使用了一种新机框,新机框无须外接专门的版本服务器,直接利用自身的版本服务器单板来实现外接版本服务器存储版本文件的功能,大大节约了加载所需的硬件成本。 To save costs, currently uses a new chassis, new chassis without an external dedicated server version, directly using its own version of the server board to implement functions as an external storage server version version of the file, a significant reduction in the required hardware load cost.

新机框自身的版本服务器单板与用于存储版本文件的临时服务器通过网线连接,版本服务器单板可以通过网线与临时版本服务器进行通信,从临时版本服务器上获取新机框中各单板所需的版本文件,然后将获取的版本文件保存到自身的硬盘中,实现外接版本服务器存储版本文件的功能。 The new version of the server chassis itself is connected to the board for storing temporary version of the file server through a network cable, the server version of the board may communicate through a network cable and the temporary version of the server, acquires the new machine frame of boards from a temporary version of the server required version of the file, and then save the file to get its own version of the hard drive, an external version to achieve functional version of the file server storage.

新机框与现有机框在结构上有很大的区别。 The new chassis with the existing chassis is quite different in structure. 如图1所示,图1为新机框的结构框图。 As shown in FIG. 1, a block diagram of the new machine frame of Figure 1. 新机框中共有版本服务器单板、系统板、接口板和扣板等4种类型的单板25块,其中版本服务器单板1块,系统板2块,接口板11块,扣板11块。 The new version of the chassis There are four types of server board, system boards, interface boards, and pinch the board 25 and the like, wherein the server version of the board 1, two system boards, interface boards 11, 11 pinch . 在新机框中有16个插槽,即0~15号插槽,其中0~5号与10~15号插槽中任意一个插槽可以插版本服务器单板,0~5号与10~15号插槽中除了插版本服务器单板以外的其它插槽用来插接口板,6号和8号插槽用来插系统板,7号和9号插槽为空,扣板不单独占插槽,直接扣在接口板上。 In the new machine frame has 16 slots, i.e. slot 0 to 15, wherein the numbers 0 through 5 and 10 to 15 slots can be inserted to any version of a server card slot, and 0 ~ 10 ~ 5 in addition to slot 15, the server version of the card insertion slot for inserting other interface board, No. 6 and No. 8 slots for inserting the system board, 7 and 9 slot is empty, not occupying inserted daughter board slot, direct debit on the interface board.

新机框中的版本服务器单板通过光纤与2块系统板连接,直接通过光纤与2块系统板进行通信,但版本服务器单板不能直接与接口板或扣板进行通信。 Veneer new version of the server machine frame through an optical fiber connected to the system board 2, and communicates directly with fiber system board 2, the server version of the board but can not communicate directly with the interface board or pinch. 系统板与接口板以共享内存方式连接,通过外围设备接口(PCI)总线直接进行通信,但系统板不能与扣板直接进行通信。 System board and the interface board in a shared memory connected directly communicate via peripheral interface (PCI) bus, the system board can not communicate directly with the card. 接口板与扣板也以共享内存方式连接,通过PCI总线直接进行通信。 Also with the card interface board shared memory connected to communicate directly through the PCI bus.

针对新机框的上述结构,在对新机框中所有单板加载时无法采用外接版本服务器对现有机框中所有单板进行加载的模式,因此无法实现对新机框中所有单板的加载。 In response to these new chassis structure, and when all the board loading of the new version of the chassis can not use an external server for all existing machine frame boards were loaded mode, and therefore can not be loaded on board all of the new machine box .

发明内容 SUMMARY

有鉴于此,本发明的主要目的在于提供一种加载机框的方法,以实现对新机框中所有单板的加载。 In view of this, the main object of the present invention is to provide a method for loading the machine frame, in order to achieve loading of all boards of the new machine frame.

为达到上述目的,本发明提供了一种加载机框的方法,包括以下步骤:A、版本服务器单板从临时服务器上获取版本服务器单板、系统板、接口板和扣板的版本文件;其中,所述版本服务器单板、系统板、接口板和扣板为机框中四种类型的单板;B、版本服务器单板将版本服务器单板的版本文件保存到自身的FLASH中;系统板从版本服务器单板获取系统板的版本文件,并将获取的系统板的版本文件保存到自身的FLASH中;接口板通过系统板从版本服务器单板获取接口板的版本文件,并将获取的接口板的版本文件保存到自身的FLASH中;扣板通过接口板和系统板从版本服务器单板获取扣板的版本文件,并将获取的扣板的版本文件保存到自身的FLASH中。 To achieve the above object, the present invention provides a method of loading the machine frame, comprising the steps of: A, a server version of the board acquired from the temporary server card version server, the system boards, interface boards and pinch version file; wherein the board version of the server, the system boards, interface boards, and four types of machine pinch box board; B, the server version of the board to board version of the server to save the file to its own version of the FLASH; system board Get file save version version of the file system from the server version veneer board, and the acquisition of the system board to the FLASH itself; interface board to obtain the version of the file from the version of the interface board through the system server veneer board, and acquiring interface save the file version to the plate itself in FLASH; pinch pinch version of the file acquired from the server version of the board through the interface board and the system board, and the acquired saved version of the file to pinch itself FLASH.

上述方案中,所述加载采用开工加载,预先在版本服务器单板的基本输入输出系统(BIOS)软件中配置文件传输协议(FTP)功能和加载功能,在系统板、接口板和扣板的BIOS软件中配置基本通信功能和加载功能,所述步骤A之前进一步包括:A01、版本服务器单板在机框启动过程中的BIOS阶段执行FTP功能,向临时服务器发送携带有请求获取版本服务器单板版本文件的FTP请求;A02、临时服务器接收到FTP请求后,向版本服务器单板下发版本服务器单板的版本文件,版本服务器单板执行加载功能,将接收的版本服务器单板的版本文件保存到自身的FLASH中;A03、系统板、接口板或扣板在机框启动过程中的BIOS阶段执行基本通信功能和加载功能,向版本服务器单板发送携带有自身所需版本文件的加载请求,版本服务器单板接收到系统板、接口板或扣板发送的加载请求后执行 In the above solution, loading the loading start using preconfigured File Transfer Protocol (FTP) function, and the function of loading the BIOS version of the server board (BIOS) software, the BIOS in the system boards, interface boards and daughter board basic configuration software loading function and a communication function, before the step a further comprises: A01, the server version of the chassis board BIOS startup phase is performed during FTP functions, acquires transmission request carrying the temporary version of the server version of the server board FTP requests a file; A02, temporary FTP server after receiving the request, the server version of the board to board version of the server send the version of the file, loading saved version of the server performs the function board, the board version of the server version of the file to be received FLASH in itself; A03, system boards, interface boards or pinch BIOS startup phase of the chassis during loading and to perform basic communication functions, which sends a load request carrying its own version of the desired file to the server version of the board, version after the server receives the load request board system boards, interface boards or pinch transmitted performed 骤A。 Step A.

上述方案中,步骤A03中所述系统板、接口板或扣板向版本服务器单板发送携带有自身所需版本文件的加载请求包括:系统板直接向版本服务器单板发送携带有系统板所需版本文件的加载请求;接口板先将携带有接口板所需版本文件的加载请求发送给系统板,再由系统板作为接口板的代理向版本服务器单板发送携带有接口板所需版本文件的加载请求;扣板先将携带有扣板所需版本文件的加载请求发送给接口板,再由接口板作为扣板的代理通过系统板向版本服务器单板发送携带有扣板所需版本文件的加载请求。 In the above embodiment, in step A03 the system boards, interface boards, or the server version is sent to pinch the board itself carries a load request including the desired version of the file: sending directly to the system board carries a version of the server system board sheet with a desired version of the file load request; interface board carries a first version of the file to load the required interface board requests to the system board, the system board then transmits proxy interface board interface board carries the desired version of the file to the server version of the board as load request; first pinch carries load the required version of the file request to the LPU gusset, the gusset plate and then by the interface proxy sends the required version file carries gusset boards by the server version of the system board as loading request.

上述方案中,步骤B中所述系统板从版本服务器单板获取系统板的版本文件,并将获取的系统板的版本文件保存到自身的FLASH中包括:B11、版本服务器单板接收到的携带有系统板所需版本文件的加载请求,判断是否为第一次读取系统板的版本文件,如果是,则从自身的硬盘中读取系统板的版本文件,并将读取的版本文件保存到自身的内存(RAM)中;否则,从自身的RAM中读取系统板的版本文件;B12、版本服务器单板在读取的系统板版本文件的尾部添加循环冗余校验(CRC)校验码,将读取的系统板版本文件按读取的先后顺序划分为消息帧,并采用停等方式按读取的先后顺序依次向发送加载请求的系统板下发划分系统板版本文件的消息帧;B13、系统板接收到版本服务器单板下发的划分系统板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收 Version of the file stored in the above-described embodiment, Step B, the system board to obtain the version of the file system from the server version veneer board, and the acquired system board itself to FLASH include: B11, the server version of the received board carrying a system board on the desired version of the file load request, determines whether the first version of the file system reads the first board, and if so, the system version of the file from the hard disk board itself read, the read saved version of the file to its own memory (RAM); otherwise, the file system reads the version from the plate in its own RAM; B12, the server version of the board cyclic redundancy check (CRC) at the end of the school board system version of the file read check code, the system board version of the file to be read divided by the order of the message frame is read, and stop using the system board, etc. hair divided version file system board read sequentially according to the order to send a message requesting loading frame; after delivered by the B13, the server version of the system board receives a message frame is divided veneer board version of the file system, each message frame received CRC check, and determines the received 的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件保存到自身的FLASH中;否则,接收的版本文件不正确,系统板再次向版本服务器单板发送加载请求,重新获取系统板的版本文件。 The last message frame CRC check whether the obtained check code is 0. If yes, then the version of the file received correctly, the received frame message according to the received sequence into a complete version of the file, and the combined saved version of the file to its own FLASH; otherwise, received an incorrect version of the file, load the system board to send another request to the server version of the board, retrieve versions of files on the system board.

上述方案中,预先在接口板的BIOS软件中配置将RAM中的版本文件保存到自身FLASH功能,步骤B中所述接口板通过系统板从版本服务器单板获取接口板的版本文件,并将获取的接口板的版本文件保存到自身的FLASH中包括:B21、版本服务器单板接收到的携带有接口板所需版本文件的加载请求,判断是否为第一次读取接口板的版本文件,如果是,则从自身的硬盘中读取接口板的版本文件,并将读取的版本文件保存到自身的RAM中;否则,从自身的RAM中读取接口板的版本文件;B22、版本服务器单板在读取的接口板版本文件的尾部添加CRC校验码,将读取的接口板版本文件按读取的先后顺序划分为消息帧,并采用停等方式按读取的先后顺序依次向作为接口板代理的系统板下发划分接口板版本文件的消息帧;B23、作为接口板代理的系统板接收到版本服务器单板下发的划 The above-described embodiment, the pre-configured software interface board BIOS stored in the RAM to its own version of the file in the FLASH function, Step B, the interface board to obtain the version of the file from the version of the interface board through the system server veneer board, and acquires saved version of the file to the interface board FLASH itself comprises: B21, the server version of the received board carries LPU requested version of the desired file, determining whether the first version of the interface board to read files, if It is read from the version of the file itself interface board of the hard disk, and stores the read file to the version of its own RAM; otherwise, interface board to read the file from the version of its own RAM; B22, single-server version adding tail plate interface board to read the file versions of the CRC code, interface board to read the version of the file is read by the order of the message frame is divided, and the like using the stop mode to sequentially read in chronological order as Interface Interface board hair divided message frame version of the file system agent plate of the lower plate; hair B23, version received proxy server card as an interface board in the system board underlined 接口板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件通过共享内存的方式直接写入接口板的RAM中;否则,接收的版本文件不正确,系统板再次向版本服务器单板转发接口板的加载请求,重新获取接口板的版本文件;B24、接口板的BIOS执行自身BIOS软件中配置的将RAM中的版本文件保存到自身FLASH的功能,将系统板写入自身RAM中的版本文件保存到自身的FLASH中。 Message Interface rear frame plate version of the file, a message for each received frame the CRC check, and determines whether the last received message frame is a CRC check whether the obtained check code is 0. If yes, then the received correct version of the file, the received message frame is received by the order into a complete version of the file, and the combined version of the file is written to the RAM interface board directly by way of shared memory; otherwise, the received version of the file is incorrect the system board again forwarded to the version of the server board loading request interface board, version retrieve the file interface board; B24, interface board's BIOS does its own BIOS software configuration is saved in RAM FLASH version of the file to its own function, save the system board itself is written to the RAM version of the file itself FLASH.

上述方案中,预先在扣板的BIOS软件中配置将RAM中的版本文件保存到自身FLASH功能,步骤B中所述扣板通过接口板和系统板从版本服务器单板获取扣板的版本文件,并将获取的扣板的版本文件保存到自身的FLASH中包括:B31、版本服务器单板接收到的携带有扣板所需版本文件的加载请求,判断是否为第一次读取扣板的版本文件,如果是,则从自身的硬盘中读取扣板的版本文件,并将读取的版本文件保存到自身的RAM中;否则,从自身的RAM中读取扣板的版本文件;B32、版本服务器单板在读取的扣板版本文件的尾部添加CRC校验码,将读取的扣板版本文件按读取的先后顺序划分为消息帧,并采用停等方式按读取的先后顺序依次向系统板下发划分扣板版本文件的消息帧,由系统板将划分扣板版本文件的消息帧转发给作为扣板代理的接口板;B33、作为扣板代理的接口 In the above-described embodiment, the pre-configured version of the file stored in RAM to FLASH their BIOS software function in the pinch, the pinch step B to obtain the version of the file from the server version gusset boards through the interface board and the system board, and stores the acquired version of the file to pinch itself FLASH comprises: B31, the server version of the board received load request carries a gusset desired version of the file, determines whether the first version of the first daughter board to read file, if it is, from reading the pinch of hard disk version of the file itself, and the saved version of the file to read its own RAM; otherwise, read the version of the file from the pinch of its own RAM; B32, version server card at the end of the CRC adding pinch version of the file is read, the read pinch version of the file is read according to the order of the message frame is divided, and by using other means to stop reading the order sequentially dividing gusset version of the file sent to the message frame in the system board, the system board version of the file will be divided pinch message frame is forwarded to the interface board as pinch agent; B33, a pinch proxy interfaces 接收到版本服务器单板下发的划分扣板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件通过共享内存的方式直接写入扣板的RAM中;否则,接收的版本文件不正确,接口板再次通过系统板向版本服务器单板转发扣板的加载请求,重新获取扣板的版本文件;B34、扣板的BIOS执行自身BIOS软件中配置的将RAM中的版本文件保存到自身FLASH的功能,将接口板写入自身RAM中的版本文件保存到自身的FLASH中。 Issued after the board received message frame is divided version of the server version of the file gusset, each message frame received CRC check, and determines whether a message for the last received frame the CRC check code obtained is 0, and if so, then the document version received correctly, the received message frame is received by the order into a complete version of the file, and the combined version of the file is written to pinch directly through shared memory RAM ; otherwise, the received version of the file is incorrect, the interface board is loaded once again forwarded the request to the gusset plate version of the server board through the system, retrieve versions of files gusset; B34, pinch the BIOS does its own BIOS software configuration the version of the file stored in RAM to FLASH their function, the interface board will write its own version of the file stored in the RAM to its own FLASH.

上述方案中,所述加载采用在线加载,预先在版本服务器单板、系统板、接口板和扣板的主机软件中配置加载功能,所述步骤A之前进一步包括:在机框中各单板正常运行过程中,系统板、接口板或扣板执行在自身主机软件中配置的加载功能,向版本服务器单板发送携带有各自所需版本文件的加载请求,版本服务器单板接收到系统板、接口板或扣板发送的加载请求后执行步骤A。 In the above embodiment, the line is loaded using loading, loading preconfigured software version at the host server boards, system boards, interface boards and the daughter board, the prior step A further comprising: a machine frame in the normal veneer during operation, the system boards, interface boards or pinch perform configuration in the own host software loading function, the server sends a release request to load the board carries a respective version of the desired file, the server version of the system board to the board receiving interface after step gusset plates or load request sent by A.

上述方案中,步骤B中所述系统板从版本服务器单板获取系统板的版本文件、接口板通过系统板从版本服务器单板获取接口板的版本文件以及扣板通过接口板和系统板从版本服务器单板获取扣板的版本文件,并将各自获取的版本文件保存到自身的FLASH中包括:B41、版本服务器单板接收到的携带有系统板、接口板或扣板所需版本文件的加载请求,判断是否为第一次读取系统板、接口板或扣板的版本文件,如果是,则从自身的硬盘中读取系统板、接口板或扣板的版本文件,将读取的版本文件保存在自身的RAM中;否则,从自身的RAM中读取系统板、接口板或扣板的版本文件;B42、版本服务器单板在读取的系统板、接口板或扣板版本文件的尾部添加CRC校验码,将读取的系统板、接口板或扣板版本文件按读取的先后顺序划分为消息帧,并分别采用停等方式按读取 In the above embodiment, the step of acquiring the system board B in the board version of the file system from the server version of the board, the interface board version of the file obtaining interface board and daughter board through the interface board and the system board from the board by the server version version from the system board version of the file storage server acquires gusset boards, and each version of the file to acquire its own FLASH comprises: B41, the server version of the received board carrying system board, load the required version of the file interface board or pinch request, it is determined whether the read first version of the file system boards, interface boards, or pinch once, if it is, from the version of the file system boards, interface boards pinch itself or the hard disk is read, the read version files are stored in its own RAM; otherwise, reading system boards, interface boards, or pinch version of the file from its own RAM; B42, the server version of the system board in the plate reader, interface board or pinch version of the file CRC is added tail, the read system board, interface board or pinch version of the file is divided according to the order of the message frame is read, and by other means were used to stop reading 先后顺序依次向发送加载请求的系统板、接口板或扣板下发划分系统板、接口板或扣板版本文件的消息帧;B43、系统板、接口板或扣板分别接收到版本服务器单板下发的划分系统板、接口板或扣板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件分别保存到自身的FLASH中;否则,接收的版本文件不正确,系统板、接口板或扣板再次向版本服务器单板发送加载请求,重新获取系统板、接口板或扣板的版本文件。 Sequentially order the system board transmits a load request, the system board hair divided or pinch the interface board, interface board or pinch message frame version of the file; B43, system boards, interface boards or pinch receive the version of the server board after the message frame issued division system boards, interface boards, or pinch version of the file, a message for each received frame the CRC check, and determines whether a message for the last received frame the CRC check code obtained it is 0, and if so, then the document version received correctly, the received message frame is received by the order into a complete version of the file, and the combined versions of files are saved to the FLASH itself; otherwise, the received version of the file is incorrect, system boards, interface boards or load pinch send another request to the server version of the board, re-acquisition system boards, interface boards or pinch the version of the file.

上述方案中,预先在版本服务器单板的主机软件中配置FTP重试功能,所述步骤A包括:A1、版本服务器单板接收到携带有系统板、接口板或扣板三种类型单板中任一单板所需版本文件的加载请求后,执行FTP重试功能,向临时版本服务器发送携带有机框中各单板所需全部版本文件的FTP请求;A2、临时服务器接收到FTP请求后,读取机框中各单板所需全部版本文件的总字节数,向版本服务器单板下发机框中各单板所需全部版本文件的总字节数和机框中各单板所需的全部版本文件;A3、版本服务器单板接收临时版本服务器下发的机框中各单板所需全部版本文件的总字节数和机框中各单板所需的全部版本文件,实时记录获取的每个版本文件的字节数,并依次累加得到已获取版本文件的总字节数,在执行完一次FTP操作后判断已获取版本文件的总字节数是否等于机框 The above-described embodiment, the pre-configured FTP retry function version of the server software in the host board, the step A comprises: A1, the server version of the veneer carrying system receives boards, interface boards or veneer pinch three types after a board of any version of the file required for the load request, performing retry function FTP, FTP transmission request carrying the desired full box of cards organic temporary version of the file version to the server; A2, temporary FTP server receives the request, each board reads the chassis total number of bytes required for all versions of files, each board to board version of the server delivers the chassis all required versions of the files and the total number of bytes of each blade is the chassis all versions of documents required; A3, issued a temporary version of the server receives the server version of the chassis board of cards each board all the required version of the file and the total number of bytes needed for all the chassis version of the file, the real-time if the number of bytes per record the acquired version of the file, and sequentially accumulating the total number of bytes has been acquired version of the file, determines the version acquired after performing a file operation FTP total number of bytes equal to the machine frame 中各单板所需全部版本文件的总字节数,如果是,则获取了机框中各单板所需的全部版本文件;否则,未获取机框中各单板所需的全部版本文件,再次向临时服务器发送FTP请求,直至获取了机框中各单板所需的全部版本文件为止。 All in all boards total number of bytes required version of the file, and if so, get all the files required for the chassis version of each board; otherwise, did not get all the files required version of the chassis each board , send a request to the FTP server again temporarily, until a date to obtain all the documents required version of the chassis each board.

上述方案中,步骤A3中所述版本服务器单板依次累加得到已获取版本文件的总字节数之后进一步包括:版本服务器单板将已获取版本文件的总字节数和机框中各单板所需全部版本文件的总字节数实时发送给临时服务器,临时服务器将已获取版本文件的总字节数与机框中各单板所需全部版本文件的总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上。 After the above-described embodiment, the step A3, the version of the server board obtained total number of bytes sequentially accumulating the acquired version of the file further comprises: a server version of each board to board version of the file has acquired the total number of bytes and the chassis real-time required to transmit all of the total number of bytes to the temporary version of the file server, the server will have acquired a temporary version of the file and the total number of bytes of all the chassis ratio of the total number of cards bytes required for real-time version of the file is converted into get used to represent the progress of the graphic version of the file is displayed on the display screen of the temporary server.

上述方案中,步骤A与步骤B之间进一步包括版本服务器单板将获取的版本服务器单板、系统板、接口板和扣板的版本文件全部保存到自身的硬盘中,步骤B中所述版本服务器单板将版本服务器单板的版本文件保存到自身的FLASH中为:版本服务器单板从自身硬盘中读取版本服务器单板的版本文件,将读取的版本服务器单板的版本文件保存到自身的FLASH中。 In the above embodiment, between step A and step B, further comprising a server version of the board acquired version server boards, system boards, interface boards and pinch version of the file to save all of the hard disk itself, in the version Step B server version of the board to save files to the server version of the board itself as FLASH: version server card and read the version of the file server version of the board from its own hard drive, server board saved version of the file to read version own FLASH.

上述方案中,步骤A与步骤B之间进一步包括版本服务器单板将获取的系统板、接口板和扣板的版本文件保存到自身的硬盘中,步骤B中所述版本服务器单板将版本服务器单板的版本文件保存到自身的FLASH中为:版本服务器单板直接将获取的版本服务器单板的版本文件保存到自身的FLASH中。 In the above embodiment, between step A and step B, further comprising a server version of the acquired system board boards, interface boards and pinch saved version of the file to the hard disk itself, Step B, the server version of the server version of the board save the file to a version of the board itself as FLASH: save version of the server board version of the server board directly to obtain the version of the file to its own FLASH.

上述方案中,所述版本服务器单板在判断是否为第一次读取系统板、接口板或扣板的版本文件之前进一步包括:版本服务器单板读取自身硬盘上保存的系统板、接口板和扣板的版本文件的总字节数;版本服务器单板将划分系统板、接口板或扣板版本文件的消息帧分别下发给系统板、接口板或扣板之后进一步包括:版本服务器单板实时记录下发给系统板、接口板或扣板的版本文件的字节数,并依次累加得到已下发版本文件的总字节数,将已下发版本文件的总字节数和读取的系统板、接口板和扣板版本文件的总字节数实时发送给临时服务器,临时服务器将已下发版本文件的总字节数与系统板、接口板和扣板的版本文件总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上。 The above-described embodiment, the server version is determined whether the board is in the first reading the system board, or the previous version of the file pinch interface board further comprises: a server version of the board to read stored on the hard disk itself system boards, interface boards version of the file and the total number of bytes of the gusset; later versions of the message frame into a server card system boards, interface boards, or pinch version of the file system are distributed to the lower boards, interface boards, or pinch further comprising: a single version of the server delivers the real time recording plate system board, the number of bytes of the version of the file interface board or daughter board, and sequentially accumulated to give a total number of versions of a file has been issued bytes will have been read and the total number of bytes sent version of the file taken system boards, interface boards and pinch total number of bytes transmitted in real time version of the file to the staging server, the server will have the temporary total number of bytes sent to the version of the file system boards, interface boards, and the total word pinch version file the ratio of the number of sections for real-time conversion to obtain a graphical representation of the progress version of the file is displayed on the display screen of the temporary server.

上述方案中,所述采用停等方式按读取的先后顺序依次向系统板、接口板或扣板下发划分版本文件的消息帧包括:C1、版本服务器单板按读取的先后顺序向系统板、接口板或扣板下发划分版本文件的第一个消息帧,系统板、接口板或扣板接收到划分版本文件的第一个消息帧后,向版本服务器单板返回第一个消息帧的接收确认响应;C2、版本服务器单板判断在设定的时间间隔内是否接收到当前消息帧的接收确认响应,如果是,则向系统板、接口板或扣板下发下一个消息帧;否则,再次向系统板、接口板或扣板下发当前的消息帧;C3、重复执行步骤C2中的判断,按读取的先后顺序依次向系统板、接口板或扣板下发划分版本文件的下一个消息帧,直至将所述划分版本文件的消息帧全部下发完为止。 In the above embodiment, the use of stops, etc. sequentially read in chronological order to the system board, hair divided version file interface board or pinch the message frame comprising: C1, the server version of the board to a system order according to the reading after the boards, interface boards, or a message frame over the first gusset divided version of a file, the system boards, interface boards or pinch a received message frame is divided into the first version of the file, and returns the first message to the server version of the board reception confirmation response frame; C2, the server version of the receive acknowledgment board determines whether the current message frame is received within a set time interval, and if so, then, the interface board or system board to pinch send a message frame ; otherwise, once again to the system board, the current message frame is sent on the interface board or pinch; a C3, determination is repeatedly executed in step C2, the read sequentially according to the order to the system board hair divided version of the interface board or pinch the next message frame of the file, the message frame until all the divided version of the file, the far end.

因此,本发明提供的这种加载机框的方法,版本服务器单板从临时版本服务器上获取版本服务器单板、系统板、接口板和扣板的版本文件,将版本服务器单板的版本文件保存到自身的FLASH中,实现对版本服务器单板的加载;系统板、接口板和扣板分别从版本服务器单板获取各自的版本文件,并将各自获取的版本文件保存到自身的FLASH中,实现对系统板、接口板和扣板的加载,进而实现对新机框中所有单板的加载。 Thus, this method of loading the machine frame of the present invention provides, the server version of the server obtains the version veneer boards, system boards, interface boards and pinch temporary version of the file from the server version, the version of the server to save board version of the file the FLASH to itself, to achieve the loading of the server version of the board; system boards, interface boards, respectively, and pinch the respective version of the file acquired from the version of the server board, and the acquired saved version of the file to each in its own FLASH, implemented system boards, interface boards and pinch load, thus achieving load all the new boards on the chassis.

利用本发明,由于在版本服务器单板的BIOS软件中配置了FTP功能和加载功能,以及在版本服务器单板的主机软件中配置了FTP重试功能,所以版本服务器单板在新机框启动过程中的BIOS阶段,通过执行FTP功能和加载功能可以从临时服务器获取自身的版本文件,并将获取的版本文件保存到自身的FLASH中,实现对版本服务器单板的开工加载。 With the present invention, since the FTP function and the load function arranged in the version of the server board BIOS software, and configuring the FTP host software retry function in the server version of the board, the board version of the server process is started in the new chassis the BIOS stage, can be obtained by performing FTP features and add features from the temporary version of the file server itself, and save the file to get its own version of FLASH, started the construction of the loading of the server version of the board. 版本服务器单板在自身正常运行后,通过执行FTP重试功能从临时服务器获取新机框中各单板所需的全部版本文件。 Version of the server board after their normal operation, by performing FTP retry feature to get all the documents needed for the new version of the machine box of cards from the temporary server. 由于在系统板的BIOS软件中配置了基本通信功能和加载功能,所以系统板可以在新机框启动过程中的BIOS阶段,通过执行基本通信功能和加载功能从版本服务器单板上获取自身的版本文件,并将获取的版本文件保存到自身的FLASH中,实现对系统板的开工加载。 Since the basic communication function and a function of loading the BIOS configure the software on the system board, the system board BIOS startup phase of the process may be in the new machine, and the board acquired its own version from version server and a communication function by executing the basic function of load save the file and get its own version of the file to FLASH, started the construction of load on the system board. 另外,由于在接口板和扣板的BIOS软件中配置了基本通信功能和加载功能,所以在新机框启动过程中的BIOS阶段,接口板采用系统板代理接口板,扣板采用接口板代理扣板,并执行基本通信功能和加载功能分别从版本服务器单板获取自身的版本文件,并将获取的版本文件保存到自身的FLASH中,实现对接口板和扣板的开工加载。 Further, since the basic communication function and a function arranged at the loading interface board and the daughter board BIOS software, the BIOS boot block new machine stage process, the system board using the proxy interface board interface board, the interface board using pinch buckle Agent plate, and perform basic communication function and a self-loading functions are acquired from the version of the server file version board, saving the acquired file to its own version of the FLASH, the realization of the interface board and start loading the pinch. 因此,本发明可以实现对新机框中所有单板的开工加载。 Accordingly, the present invention may be implemented on all boards to start loading the new machine frame.

由于在版本服务器单板的主机软件中配置了FTP重试功能和加载功能,所以版本服务器单板可以在新机框正常运行的过程中,通过执行FTP重试功能从临时服务器获取新机框中各单板所需的全部版本文件,并通过执行加载功能将获取的自身版本文件保存到自身的FLASH中,实现对版本服务器单板的在线加载。 Because FTP retry features and add functionality to configure the host software version of the server board, so the board can server version, obtain a new temporary server from the chassis during normal operation of the new chassis by executing FTP retry function all versions of documents required for each board, save and load functions through the implementation of the acquired its own version of the file to its own FLASH, the realization of the online version of the server board is loaded. 由于在系统板、接口板和扣板的主机软件中配置了加载功能,所以系统板、接口板和扣板可以在新机框正常运行的过程中,通过执行加载功能从版本服务器单板上获取各自的版本文件,并将获取的版本文件分别保存到自身的FLASH中,实现对系统板、接口板和扣板的在线加载。 Since the functional configuration of loading the software on the host system boards, interface boards and the pinch, the system boards, interface boards and can pinch block during normal operation of the new machine, the version acquired from the board loading function performed by the server their version of the file and get the version of the file are saved to its own FLASH, the realization of the system boards, interface boards and pinch-line load. 因此,本发明可以实现对新机框中所有单板的在线加载。 Accordingly, the present invention can be achieved for all the boards of the new line to load the chassis. 采用在线加载完成后,新机框中的各单板复位,新版本生效。 After using the online loading is complete, each board reset, the new version of the new machine box effect.

由于在版本服务器单板的主机软件中配置了FTP重试功能,版本服务器单板通过执行加载命令从临时版本服务器上获取新机框中各单板所需全部版本文件时,如果执行一次FTP操作不能获取新机框中各单板所需全部版本文件,将再次执行FTP操作,直至获取了新机框中各单板所需全部版本文件为止。 Due to the configuration of the FTP retry function in the host software version of the server board, the server version of the board of cards get a new machine box all the required version of the file from the temporary version of the server load by executing the command, if the operation is performed once FTP each board can not get new versions of all documents required for the chassis, FTP operations will be performed again, until the date of each acquisition board new version the chassis all required documents. 所以版本服务器单板执行一次加载命令就可以获取所需要的全部版本文件,不必执行多次加载命令,大大提高了从临时版本服务器上获取版本文件的效率。 So version of the server board to perform a load command can get all the required version of the file, without having to perform multiple load commands, greatly improving the get versions of files from the temporary version of server efficiency.

由于版本服务器单板在接收到系统板、接口板或扣板发送的加载请求之后,进一步判断是否为第一次读取系统板、接口板或扣板的版本文件,如果是,则从自身的硬盘中读取系统板、接口板或扣板的版本文件,将读取的版本文件保存到自身的RAM中;否则,从自身的RAM中读取系统板、接口板或扣板的版本文件,所以大大提高了对新机框加载的效率,节约了对新机框加载的时间。 Since the version of the server receiving the load request board system boards, interface boards or sent after pinch, further determines whether the first reading system boards, interface boards, or pinch the version of the file, and if so, from own hard disk reading system boards, interface boards, or pinch the version of the file, the file version to save the read to own RAM; otherwise, reading system boards, interface boards, or pinch version of the file from its own RAM, so greatly improving the efficiency of the new chassis is loaded, saving time on the new chassis loaded.

在版本服务器单板将读取的版本文件传输给系统板、接口板或扣板的过程中,由于版本服务器单板将读取的版本文件划分为消息帧,按读取的先后顺序依次对每一个消息帧进行编号,并采用停等方式依次将划分系统板、接口板或扣板版本文件的消息帧按编号的先后顺序分别下发给发送加载请求的系统板、接口板或扣板,所以本发明大大提高了传输版本文件的可靠性。 File transfer server version version board the read process to the system boards, interface boards, or pinch, since the version of the file server card and the read version of the message frame is divided, according to the order of sequentially reading each a message frame number, and the like stop using the message frame division manner sequentially system boards, interface boards, or pinch version of the file are numbered according to the order issued under the loading requests transmission system boards, interface boards, or pinch, so the present invention greatly improves the reliability of the transmission version of the file. 在接收版本服务器单板下发的消息帧时,由于系统板、接口板或扣板对接收的每个消息帧都进行CRC校验,并判断对每个版本文件最后一个消息帧进行校验所得到的校验码是否为0,如果是,则接收的版本文件正确;否则,接收的版本文件不正确,系统板、接口板或扣板再次向版本服务器单板发送加载请求,重新获取系统板、接口板或扣板的版本文件,所以本发明大大提高了传输版本文件的准确性。 In the version of the server receiving a message frame board when issued, since the system boards, interface boards or pinch each message frame received CRC check are performed, and determines whether the last message frame checksum for each version of the file the resulting checksum is zero, if so, correct version of the file received; otherwise, the received version of the file is not correct, the system boards, interface boards or pinch resending request to load the server version of the board, the system board reacquisition , interface board or pinch version of the file, the present invention greatly improves the accuracy of the version of the file transfer.

另外,在版本服务器单板从临时版本服务器上获取新机框中各单板所需全部版本文件的过程中,由于临时服务器可以将版本服务器单板已获取版本文件的总字节数与全部版本文件总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上,所以用户可以实时了解版本服务器单板获取版本文件的进度。 In addition, the boards get a new machine from the box on the temporary version of the server version of the file server card and all required version of the process, due to a temporary server can be the total number of bytes version of the file server board versions and all versions have been acquired the ratio of the total number of bytes in the file is converted into real-time graphical version of the file is used to indicate the progress of the acquisition, it is displayed on the display screen of the temporary server, so users can get real-time visibility version server card and progress version of the file. 在系统板、接口板和扣板分别从版本服务器单板获取各自的版本文件的过程中,由于临时服务器可以将版本服务器单板已下发版本文件的总字节数与系统板、接口板和扣板的版本文件总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上,所以用户可以实时了解各单板从版本服务器单板获取版本文件的进度。 In the system boards, interface boards, respectively, and pinch the respective version of the file acquired from the version of the server process board, due to a temporary server can be a server version of the board is the total number of bytes of the system boards, interface boards and hair version of the file ratio of the total number of bytes pinch version file is converted into a real-time version of the file retrieves graphics progress, displayed on the display interface of the staging server, the user can obtain real-time understanding of cards from the release version of the file server card schedule.

附图说明 BRIEF DESCRIPTION

图1为新机框的结构框图;图2为本发明对新机框加载总体技术方案的实现流程图;图3为依照本发明第一个实施例对新机框加载的方法流程图;图4为依照本发明第二个实施例对新机框加载的方法流程图。 Figure 1 is a block diagram of the new machine frame; FIG. 2 is a flowchart of the overall invention achieves technical solutions of the new block loading machine; FIG. 3 is a flowchart illustrating a method of loading the new machine frame in accordance with a first embodiment of the present invention; FIG. 4 is a flowchart of a method of loading the new machine frame according to the second embodiment of the present invention.

具体实施方式 detailed description

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体的实施例,并参照附图,对本发明进一步详细说明。 For purposes of this invention, the technical solution and merits thereof more apparent hereinafter in conjunction with specific embodiments, and with reference to the accompanying drawings, the present invention is further described in detail.

本发明的核心内容是:版本服务器单板从临时版本服务器上获取版本服务器单板、系统板、接口板和扣板的版本文件,将版本服务器单板的版本文件保存到自身的FLASH中,实现对版本服务器单板的加载;系统板、接口板和扣板分别从版本服务器单板获取各自的版本文件,并将各自获取的版本文件保存到自身的FLASH中,实现对系统板、接口板和扣板的加载,进而实现对新机框中所有单板的加载。 The core of the present invention is: the server obtains the version version server card board, the system board from the temporary version of the server, the interface board and the daughter board version of the file, the server version is saved to board version of the file itself FLASH, implemented loading the server version of the board; system boards, interface boards, respectively, and pinch the respective version of the file acquired from the version of the server board, and saves the acquired file to its own version of the FLASH itself, achieve the system boards, interface boards, and pinch load, thus achieving load for all new board machine box.

如图2所示,图2为本发明对新机框加载总体技术方案的实现流程图,该方法包括以下步骤:步骤201:版本服务器单板从临时服务器上获取版本服务器单板、系统板、接口板和扣板的版本文件;步骤202:版本服务器单板将版本服务器单板的版本文件保存到自身的FLASH中;系统板从版本服务器单板获取系统板的版本文件,并将获取的系统板的版本文件保存到自身的FLASH中;接口板通过系统板从版本服务器单板获取接口板的版本文件,并将获取的接口板的版本文件保存到自身的FLASH中;扣板通过接口板和系统板从版本服务器单板获取扣板的版本文件,并将获取的扣板的版本文件保存到自身的FLASH中;实现对新机框中所有单板的加载。 2, FIG. 2 of the present invention achieves a flowchart of the overall aspect of loading the new machine frame, the method comprising the following steps: Step 201: Server version veneer board version of the server acquires, from the temporary server system board, Interface board & Batten version of the file; step 202: server version veneer board version of the server to save the file to its own version of the FLASH; acquisition board system version of the file system from the server version veneer board, the acquired system save the file version to the plate itself in FLASH; interface board to obtain the version of the file from the version of the interface board through the system server veneer board, save a version of the acquired file interface board to the FLASH itself; via interface board and daughter board obtained from the system board veneer version of the file server version of pinch, pinch and save the captured files to their own version of the FLASH; implement new machine is loaded on all boards box.

在上述步骤201中,所述版本服务器单板从临时服务器上获取版本服务器单板、系统板、接口板和扣板的版本文件,是版本服务器单板通过执行在自身主机软件中配置的FTP重试功能实现的。 In the step 201, the server version of the board acquired from the temporary server card version server, the system boards, interface boards and the daughter board version of the file, the server version of the board is disposed in the own host software executed by FTP weight test functions implemented. 新机框中各单板所需的全部版本文件包括版本服务器单板、系统板、接口板和扣板的版本文件。 All versions of the new machine frame required for each board file server versions including single board, system boards, interface boards and pinch version of the file.

在版本服务器单板正常运行的情况下,由于版本服务器单板从临时服务器上获取的新机框中各单板所需的全部版本文件中包含有多个版本文件,执行一次FTP操作很可能无法获取新机框中各单板所需的全部版本文件。 In the case of normal operation of the version of the server board, since all versions of a file server version of the board acquired from the temporary server box, the new machine required for each board contains multiple versions of files, perform an FTP operation is probably not get all the new version of the file box machine required for each board. 另外,如果是远程获取版本文件或者网络环境差,则版本服务器单板执行一次FTP操作更加不可能获取新机框中各单板所需的全部版本文件。 In addition, if a remote access files, or poor network environment, the version of FTP server boards perform a more operational version could not get all the documents required for each new machine box board.

因此,本发明为版本服务器单板配置了FTP重试功能,使版本服务器单板在执行加载命令从临时服务器上获取新机框中各单板所需全部版本文件的过程中,如果在执行一次FTP操作后不能获取所需的全部版本文件,将再次执行FTP操作,直至获取了新机框中各单板所需的全部版本文件为止。 Accordingly, the present invention is configured to retry function version FTP server card, so that the server version of the board acquired from the temporary server executes the load command box new machine required to process all of the boards in the version of the file, if the execution time after the FTP operation can not obtain all the required version of the file, FTP operations will be performed again until obtaining a new version of the file until the entire machine frame required for each board. 这样版本服务器单板执行一次加载命令就可以获取所需的全部版本文件,不必执行多次加载命令。 This version of the server board to perform a load command can get all the version of the file you want, without having to perform multiple load command.

上述版本服务器单板执行FTP重试功能从临时服务器上获取版本服务器单板、系统板、接口板和扣板的版本文件,在采用开工加载或在线加载情况下具体的实现方式是不同的。 FTP server card version described above performs a function of acquiring the retry version server card from staging server, the system boards, interface boards and pinch version of the file, the loaded or started using specific implementation in the case of different load line.

其中,在版本服务器单板由于版本错误或其他原因无法正常运行时,需要对版本服务器单板采用开工加载。 Among them, the server version of the board due to the wrong version or is otherwise unable to function properly, you need to start using the version loaded on the server board. 在采用开工加载情况下,预先在版本服务器单板的BIOS软件中配置FTP功能和加载功能,在版本服务器单板的主机软件中配置FTP重试功能,版本服务器单板在新机框启动过程中的BIOS阶段执行在自身BIOS软件中配置的FTP功能,从临时版本服务器上获取版本服务器单板的版本文件,并执行加载功能将获取的版本文件保存到自身的FLASH中,使自身能够正常运行。 In the case of using start loading, and loading preconfigured function FTP server function board BIOS version software, configure the FTP retry function version of the server software in the host board, the start board in the new version of the server process chassis BIOS phase of implementation of FTP functions configured in the BIOS software itself, gets the version of the file server version of the board from the temporary version of the server, and perform load function to save the file to get its own version of FLASH, make their own to run properly. 在版本服务器单板能够正常运行并接收到系统板、接口板或口板发送的加载请求后,版本服务器单板执行在自身主机软件中配置的FTP重试功能,从临时服务器获取新机框中各单板所需的全部版本文件。 The ability to run the system and receives a load request boards, interface boards or interface board correctly transmitted version of the server board, the board version server host itself performs the configuration software FTP retry function, acquiring new temporary server from the chassis all versions of documents required for each board.

在版本服务器单板正常运行时,需要对版本服务器单板采用在线加载。 In the version of the server board is operating normally, you need to load the online version of the server board. 在采用在线加载情况下,预先在版本服务器单板的主机软件中配置FTP重试功能,版本服务器单板在接收到系统板、接口板或口板发送的加载请求后,执行在自身主机软件中配置的FTP重试功能,从临时版本服务器上获取新机框中各单板所需的全部版本文件。 In the case of using online loading preconfigured FTP retry function version of the server software in the host board, the board version server receiving the load request system boards, interface boards or interface board transmission is performed in its own host software Configuring the FTP retry function to get all of the new version of the file box required for each machine on board from the temporary version of the server.

在版本服务器单板获取了新机框中各单板所需的全部版本文件后,可以将获取的全部版本文件保存到自身的硬盘中,也可以将获取的系统板、接口板和扣板的版本文件保存到自身的硬盘中,将获取的版本服务器单板的版本文件直接保存到自身的FLASH中。 After obtaining all the saved version of the file box, the new machine required for each board in the server version of the board, you can get the full version of the file to their hard drive, you can also get the system board, interface board and daughter board saved version of the file to their hard drive, the server version of the board will get a version of the file is saved directly to its own FLASH.

在上述步骤202中,所述版本服务器单板将版本服务器单板的版本文件保存到自身的FLASH中,有以下两种实现方式:方式一、如果版本服务器单板将获取的全部版本文件保存到自身的硬盘中,则版本服务器单板需要先从自身的硬盘中读取版本服务器单板的版本文件,然后再将读取的版本服务器单板的版本文件保存到自身的FLASH中,实现对版本服务器单板的加载。 In step 202, the server version of the board to board version of the server to save the file to its own version of the FLASH, the following two ways: a way to save the server version of the board if the acquired version of the file to all its own hard disk, you need to start their own version of the server board hard disk read version of the file server version of the board, and then save the version of the server board and then read the version of the file to its own FLASH, the implementation of the version server load board.

方式二、如果版本服务器单板将获取的系统板、接口板和扣板的版本文件保存到自身的硬盘中,则可以直接将获取的版本服务器单板的版本文件保存到自身的FLASH中,实现对版本服务器单板的加载。 Save Second way, if the server version of the board will get the system boards, interface boards and pinch version of the file is saved to the server version of the board's own hard disk, you can directly get the version of the file to its own FLASH, achieve load version of the server board.

在上述步骤202中,所述系统板、接口板和扣板分别从版本服务器单板获取各自的版本文件,并将各自获取的版本文件保存到自身的FLASH中,在采用开工加载或在线加载情况下具体的实现方式是不同的。 In step 202, the system boards, interface boards, respectively, and pinch the respective version of the file acquired from the version of the server board, and saves the acquired version of the file to each of its own FLASH, line loading or loading the operating case of the specific implementation is different.

其中,在采用开工加载情况下,预先在系统板、接口板和扣板的BIOS软件中配置基本通信功能和加载功能,并在接口板和扣板的BIOS软件中配置将RAM中的版本文件保存到自身FLASH功能。 Wherein, in the case of using start loading preconfigured basic communication function and a function of loading in the system boards, interface boards and the daughter board BIOS software and configuration files stored in the RAM version of the interface board and the daughter board BIOS software FLASH function to itself.

系统板在新机框启动过程中的BIOS阶段,执行基本通信功能和加载功能,向版本服务器单板发送加载请求。 System board BIOS boot block in the new machine-stage process, and perform basic communication function and a function of loading, loading sending a request to the server version of the board. 在版本服务器单板能够正常运行并将从临时服务器获取的新机框中各单板所需的全部版本文件保存到自身的硬盘后,版本服务器单板将从自身硬盘中读取系统板的版本文件,并将读取的系统板的版本文件下发给发送加载请求的系统板。 In the version of the server board to run properly and save all versions of files from the temporary server to get a new machine frame required for each board to its own hard disk, the server version of the board read the version of the system board from the hard drive itself file and the version of the document by the system board to read the system board transmits a request to load. 系统板接收到版本服务器单板下发的版本文件后,将接收的版本文件保存到自身的FLASH中,实现对系统板的开工加载。 The system board receives the server version of the file version issued under the board, the received version of the file is saved to its own FLASH, to achieve loading of the operating system board.

接口板在新机框启动过程中的BIOS阶段将系统板作为自身的代理,执行基本通信功能和加载功能,向版本服务器单板发送加载请求。 Start new interface board in the chassis of the BIOS-stage process system board as its own proxy, perform basic communication function and a function of loading, loading sending a request to the server version of the board. 在系统板将从版本服务器单板获取的接口板的版本文件写入接口板的RAM中后,接口板执行将RAM中的版本文件保存到自身FLASH功能,将系统板作为接口板代理从版本服务器单板获取并写入接口板RAM中的版本文件保存到自身的FLASH中,实现对接口板的开工加载。 After the interface board RAM file version of the system board from the server version of the board to obtain written interface board, the interface board to perform RAM will be saved in its own version of the file to FLASH function, the system board interface board as a proxy server from version veneer and get written version of the file interface board RAM is saved to its own FLASH, started the construction of the loading of the interface board.

扣板在新机框启动过程中的BIOS阶段将接口板作为自身的代理,执行基本通信功能和加载功能,向版本服务器单板发送加载请求。 Gusset BIOS startup phase of the new chassis during the interface board itself as a proxy to perform basic communication function and a function of loading, loading sending a request to the server version of the board. 在接口板将从版本服务器单板获取的扣板的版本文件写入扣板的RAM中后,扣板执行将RAM中的版本文件保存到自身FLASH功能,将接口板作为扣板代理从版本服务器单板获取并写入扣板RAM中的版本文件保存到自身的FLASH中,实现对扣板的开工加载。 After the interface board from the server version of the board acquired pinch version of the file is written pinch of RAM, a pinch execution will be saved in RAM FLASH version of the file to their function, the interface board as a pinch proxy server from version save veneer obtain and write pinch RAM, FLASH version of the file to itself, the realization started to pinch the load.

在采用在线加载情况下,预先在系统板、接口板和扣板的主机软件中配置加载功能。 In the case of using online loading preconfigured software loading at the host system boards, interface boards and the pinch. 在新机框中的各单板都正常运行时,系统板、接口板或扣板执行在自身主机软件中配置的加载功能,向版本服务器单板发送加载请求。 In the new machine frame of each board are operating normally, the system boards, interface boards or pinch perform configuration in the own host software loading, which sends a request to load the server version of the board. 版本服务器单板接收到加载请求后,从临时服务器获取新机框中各单板所需的全部版本文件,并将获取的新机框中各单板所需的全部版本文件保存到自身的硬盘中。 Save all version version of the server board receives a load request to obtain all versions of documents required for each new machine box board from the temporary server and get a new machine frame required for each board to its own hard disk file in. 版本服务器单板从自身的硬盘中读取系统板、接口板或扣板的版本文件,并将读取的版本文件下发给发送加载请求的系统板、接口板或扣板。 Board itself read from the version of the server's hard drive system boards, interface boards, or pinch version of the file, version of the read document issued load request to the transmission system board, the interface board or pinch. 系统板、接口板或扣板接收到版本服务器单板下发的版本文件后,将接收的版本文件保存到自身的FLASH中,实现对系统板、接口板或扣板的在线加载。 After the system boards, interface boards or pinch the received version of the file server version issued under the board, the received version of the file is saved to its own FLASH, to achieve the system board, the pinch line interface board or loading.

另外,由于系统板、接口板或扣板的版本文件都很大,在上述版本服务器单板将读取的版本文件下发给发送加载请求的系统板、接口板或扣板的过程中,为提高传输版本文件的可靠性,版本服务器单板将读取的系统板、接口板或扣板版本文件按读取的先后顺序划分为消息帧,并分别采用停等方式按读取的先后顺序依次向发送加载请求的系统板、接口板或扣板下发划分系统板、接口板或扣板版本文件的消息帧。 Further, since the system boards, interface boards, or daughter board are large versions of files, in the version of the server version of the document by the read board to send a load request system board, or the interface board during the pinch, is improve reliability of transmission version of the file, the server version of the system board to read the board, interface board or pinch version of the file according to the order read message is divided into frames, and stop, etc. respectively read sequentially according to the order sending a load request to the system board, or the interface board hair divided gusset plate system, the message frame interface board or pinch version of the file.

上述版本服务器单板采用停等方式按读取的先后顺序依次向系统板、接口板或扣板下发划分版本文件的消息帧包括:C1、版本服务器单板按读取的先后顺序向系统板、接口板或扣板下发划分版本文件的第一个消息帧,系统板、接口板或扣板接收到划分版本文件的第一个消息帧后,向版本服务器单板返回第一个消息帧的接收确认响应;C2、版本服务器单板判断在设定的时间间隔内是否接收到当前消息帧的接收确认响应,如果是,则向系统板、接口板或扣板下发下一个消息帧;否则,再次向系统板、接口板或扣板下发当前的消息帧;C3、重复执行步骤C2中的判断,按读取的先后顺序依次向系统板、接口板或扣板下发划分版本文件的下一个消息帧,直至将所述划分版本文件的消息帧全部下发完为止。 Using the above-described version of the server board stop, etc. are sequentially read in chronological order to the system board, hair divided version of the file on the interface board or pinch message frame comprising: C1, the server version of the system board to the board according to the order read after hair divided version of the file on the interface board or pinch the first message frame, the system boards, interface boards or pinch a received message frame is divided into the first version of the file, and returns a message frame to the first version of the server board receiving acknowledgment; C2, the server version of the board is determined whether the currently received frame reception confirmation response message within a set time period, if yes, to the system board, the next message frame sent or pinch the interface board; otherwise, the system board once again, send a current message frame interface board or pinch; a C3, determination is repeatedly executed in step C2, the read sequentially according to the order to the system board, the interface board hair divided version of the file or pinch the next message frame, the message frame until all the divided version of the file until the End made.

另外,为提高传输版本数据的准确性,在上述版本服务器单板将读取的版本文件下发给发送加载请求的系统板、接口板或扣板的过程中,本发明进一步在每个版本文件的尾部添加CRC校验码,系统板、接口板或扣板在接收到版本服务器单板下发的消息帧后进一步对接收的每个消息帧进行CRC校验,具体对接收的每个消息帧进行CRC校验的步骤如下:(1)、系统板、接口板或扣板在接收到划分版本文件的第一个消息帧后,对划分版本文件的第一个消息帧的内容进行CRC校验,得到划分版本文件第一个消息帧的CRC校验码;(2)、系统板、接口板或扣板在接收到划分版本文件的第二个消息帧后,对划分版本文件第二个消息帧的内容和划分版本文件第一个消息帧的CRC校验码一起进行CRC校验,得到划分版本文件第二个消息帧的CRC校验码;(3)、依此类推,直至系统板、接口 Further, in order to improve the accuracy of the transmitted version data, the process of the system boards, interface boards or pinch the server version of the document by the board version of the read request to the transmission of load, the present invention further in each version of the file adding tail CRC of each message frame further CRC check is performed after the received system boards, interface boards, or pinch the hair in the received message frame board version of the server, specific for each message frame received CRC check step as follows: (1), the system boards, interface boards or pinch upon receiving a message frame is divided into the first version of the file, the contents of the message frame into a first version of the file CRC check , CRC check code of the first message frame to obtain a divided version of the file; (2), the system boards, interface boards or pinch after receiving the second version of the file divided message frame, the divided version of the second message file version of the file content and dividing the first frame of a message frame with the CRC check code CRC check, the second version of the file is divided to obtain the CRC of the message frame; (3), and so on, until the system board, interface 或扣板在接收到划分版本文件的最后一个消息帧后,对划分版本文件最后一个消息帧的内容、划分版本文件倒数第二个消息帧的CRC校验码和在版本文件尾部添加的CRC校验码一起进行CRC校验,得到划分版本文件最后一个消息帧的CRC校验码;(4)、系统板、接口板或扣板判断划分版本文件最后一个消息帧的CRC校验码是否为0,如果是,则接收的版本文件正确;否则,接收的版本文件不正确,再次向版本服务器单板发送加载请求,重新获取该版本文件。 Or gusset after receiving the last message frame is divided version of the file, the contents of the divided version of a message frame is the last file, the file is divided penultimate version of the message frame and the CRC added in the end of the file versions of the CRC together with the CRC check code carried out to obtain the final version of a message into frames the CRC file; (4), the system boards, interface boards or the divided version of the file is determined pinch last message frame check code CRC is 0 If so, then received the correct version of the file; otherwise, received an incorrect version of the file, load again send a request to the server version of the board, retrieve the version of the file.

另外,在实际应用中,一般都是十几个新机框在一起共用同一个版本服务器单板,十几个新机框中有上百块系统板、接口板或扣板等单板,如果这些单板都需要加载,版本服务器单板每加载一块单板都从自身的硬盘中读取相应单板的版本文件,则加载的时间将会很长,加载的效率也将会很低。 Further, in practical applications, generally more than a dozen new share the same chassis with a server version of the board, there are hundreds of other system boards, an interface board or veneer dozen new machine pinch box, if these boards are to be loaded, the server version of the board one board per load version of the file are read from the respective boards of their own hard disk, it will be a long time to load, load efficiency will be very low.

本发明为了提高加载的效率,在系统板、接口板或扣板分别从版本服务器单板获取各自版本文件的过程中,版本服务器单板接收到单板发送的加载请求后进一步判断版本服务器单板是否为第一次读取系统板、接口板或扣板的版本文件,如果是,则从自身的硬盘中读取系统板、接口板或扣板的版本文件,并将读取的版本文件保存到自身的RAM中,然后将读取的版本文件下发给发送加载请求的系统板、接口板或扣板;否则,从自身的RAM中读取系统板、接口板或扣板的版本文件,并将读取的版本文件下发给发送加载请求的系统板、接口板或扣板。 After loading of the present invention to improve the efficiency of the system boards, each interface board or get their pinch version of the file from the server version of the process of the board, the board version of the server receives a request to load the board is further transmitted version server card determines whether for the first time to read the system boards, interface boards or pinch the version of the file, and if so, from the system board, interface board or pinch of their own hard disk version of the file is read, and read the version of the file is saved to its own RAM, and the read version document by loading to the transmission system boards, interface boards, or pinch request; otherwise, the system board to read from its own RAM, interface board or daughter board version of the file, version of the read document by sending a load request to the system boards, interface boards or pinch.

为了能够更加清楚地说明本发明提供的这种对新机框加载的方法,以下结合两个具体的实施例,并参照附图对此进行详细说明。 In order to more clearly illustrate this invention provides a method of loading the new machine frame, two specific embodiments in conjunction with the following embodiments, and detailed further below with reference to the accompanying drawings.

如图3所示,图3为依照本发明第一个实施例对新机框加载的方法流程图。 As shown in FIG. 3, FIG. 3 is a first embodiment in accordance with the present invention, a flowchart of a method of loading the new machine frame. 在本实施例中对新机框采用开工加载,预先在版本服务器单板的BIOS软件中配置FTP功能和加载功能,在系统板、接口板和扣板的BIOS软件中配置基本通信功能和加载功能,在接口板和扣板的BIOS软件中配置将RAM中的版本文件保存到自身FLASH功能,在版本服务器单板的主机软件中配置FTP重试功能。 In the present embodiment uses the loading of the new operating chassis, preconfigured function and load function FTP server board BIOS version software, configure the basic communication function and a function of loading in the system boards, interface boards and the daughter board BIOS software configurations are saved in the RAM version of the file to their FLASH function interface board and the daughter board BIOS software, arranged in the retry function FTP host software in the server board. 该方法包括以下步骤:步骤301:给新机框上电启动新机框,在新机框启动过程中的BIOS阶段,版本服务器单板执行在自身BIOS软件中配置的FTP功能,向临时版本服务器发送FTP请求,请求临时服务器向版本服务器单板下发版本服务器单板的版本文件。 The method comprises the following steps: Step 301: to power up a new chassis on the new chassis, new chassis BIOS stage in the boot process, the server version of the board to perform FTP functions are configured in their BIOS software, the temporary version of the server FTP requests, the server sends a request temporary version of the file server version of the board to the next version of the server board.

步骤302:临时版本服务器接收到FTP请求,将版本服务器单板的版本文件下发给版本服务器单板,版本服务器单板执行在自身BIOS软件中配置的加载功能,将接收的版本文件保存到自身的FLASH中,使自身能够正常运行。 Step 302: temporary version FTP server receives the request, the server version of the document by performing the board loading function arranged in the own BIOS software, the version of the file to save the received version of the server itself to the board, the board version server the FLASH, make their own to run properly.

步骤303:系统板、接口板或扣板在新机框启动过程中的BIOS阶段执行在自身BIOS软件中配置的基本通信功能和加载功能,向版本服务器单板发送携带有自身所需的版本文件的加载请求,请求版本服务器单板向系统板、接口板或扣板下发各自所需的版本文件;其中,系统板、接口板或扣板为了实现对自身的加载,在新机框启动过程中的BIOS阶段都会向版本服务器单板发送加载请求,系统板、接口板或扣板可以同时向版本服务器单板发送加载请求,也可以以任意顺序向版本服务器单板发送加载请求;在发送加载请求的过程中,如果是系统板向版本服务器单板请求下发系统板的版本文件,则系统板直接向版本服务器单板发送加载请求;如果是接口板向版本服务器单板请求下发接口板的版本文件,则接口板将系统板作为自身的代理,先将加载请求发送给系统板 Step 303: the system boards, interface boards or pinch BIOS startup phase of the new chassis during loading and to perform basic communication functions in its own functional configuration of the BIOS software, the server sends a version of the board itself carries the desired version of the file load request, the server version of the request to the system board plate, issued respectively required version of the file on the interface board or pinch; wherein the system boards, interface boards, or in order to achieve loading of the pinch itself, the process starts in the new machine frame the BIOS loading stage will send a request to the server version of the board, the system boards, interface boards, or pinch can send a request to load the server version of the board, a load request may be transmitted in any order to the server version of the board; sending loading the process request issued from the system board, the system board if the board is a request to the server version of the version of the file, the system board transmits a request to load directly to the server version of the board; send interface board if the board is an interface board requests to the server version of the the version of the file, the interface board to the system board as its own proxy, the first load request is sent to the system board 再由系统板将加载请求转发给版本服务器单板;如果是扣板向版本服务器单板请求下发扣板的版本文件,则扣板将接口板作为自身的代理,先将加载请求发送给接口板,再由接口板将加载请求通过系统板转发给版本服务器单板。 The system board then forwards the request to the load server card version; version of the file if a request is issued gusset gusset to the server version of the board, the interface board will pinch itself as the agent, the first request to the charging interface plate, and then by the interface board will forward the request to load the server version of the system board via the board.

步骤304:版本服务器单板接收到携带有系统板、接口板或扣板三种类型单板中任意一单板所需版本文件的加载请求后,执行在自身主机软件中配置的FTP重试功能,向临时版本服务器发送携带有新机框中各单板所需全部版本文件的FTP请求,请求临时服务器向版本服务器单板下发新机框中各单板所需的全部版本文件;在本步骤中,版本服务器单板向临时版本服务器发送携带有新机框中各单板所需全部版本文件的FTP请求,是在第一次接收到系统板、接口板或扣板三种类型单板中任意一单板所需版本文件的加载请求后进行的,在从临时版本服务器获取了新机框中各单板所需全部版本文件后,版本服务器单板再接收到加载请求将不再向临时版本服务器发送FTP请求。 Step 304: Server version received FTP board carries a retry function system boards, interface boards or boards of any of the three types pinch the board after a request for loading the desired version of the file, in which the configuration of the host software itself , the server sends a temporary version of the chassis carrying the new FTP requests all the boards of the desired version of the file, requesting a temporary version of the file server sends all new machines required for each board box to the server version of the board; in the present step, the version of the server sends a temporary board carrying the new version of the server machine box of cards all FTP requests desired version of the file, it is received in the first system boards, interface boards or veneer pinch three types after loading request the required version of the file in any of the board, each board after acquiring a new version of the chassis all the required files from the temporary version of the server, the server version of the board will no longer be followed by a request to receive the load interim version of the server FTP requests.

步骤305:临时版本服务器接收到FTP请求后,读取新机框中各单板所需全部版本文件的总字节数,向版本服务器单板下发新机框中各单板所需全部版本文件的总字节数和新机框中各单板所需的全部版本文件。 Step 305: after receiving the temporary version FTP server request, read the new machine frame of boards required total number of bytes of all versions of files, send all required new boards each version to the version of the server machine frame board the total number of bytes in the file box, and the new machine required for each board all versions of files.

步骤306:版本服务器单板接收临时版本服务器下发的新机框中各单板所需全部版本文件的总字节数和新机框中各单板所需的全部版本文件,实时记录获取的每个版本文件的字节数,并依次累加得到已获取版本文件的总字节数。 Step 306: receive a temporary version of the server issued the new version of the chassis of each server card board all the required version of the file versions of all the files and the total number of bytes required for each new machine box board, real-time recording of the acquired the number of bytes for each version of a file, and in turn receive cumulative total number of bytes to obtain the version of the file.

步骤307:在执行完一次FTP操作后,版本服务器单板判断已获取版本文件的总字节数是否等于新机框中各单板所需全部版本文件的总字节数,如果是,则获取了新机框中各单板所需的全部版本文件;否则,未获取新机框中各单板所需的全部版本文件,再次向临时服务器发送FTP请求,直至获取了新机框中各单板所需的全部版本文件为止。 Step 307: After completion of FTP operation is performed once, the server version of the board is determined whether the total number of bytes of the acquired version of the file is equal to the desired total number of bytes of all the new version of the file each board machine frame, if so, obtaining all versions of the documents required for each new machine box board; otherwise, the new version of the file did not get all the machines required for each box board, once again sends a request to the FTP server temporarily, until acquiring a new machine each single box all versions of the board until the required documents.

步骤308:版本服务器单板将获取的新机框中各单板所需的全部版本文件保存到自身的硬盘中。 Step 308: Save all server version of the board will get a new machine frame required for each board to file its own hard disk.

步骤309:版本服务器单板执行在自身主机软件中配置的加载功能,从自身的硬盘中读取版本服务器单板的版本文件,将读取的版本服务器单板的版本文件保存到自身的FLASH中,实现对版本服务器单板的加载;由于在步骤302中,版本服务器单板执行在自身主机软件中配置的加载功能,将从临时服务器上获取的版本服务器单板的版本文件保存到自身的FLASH中,实现了对版本服务器单板的加载,所以本步骤是一个可选步骤,在实际应用中可以省略。 Step 309: The version of the server board to perform load in its own host of features to configure the software, read the version of the file server version of the board from its own hard disk, the server version of the board will read the version of the file saved to the FLASH in itself , to achieve loaded version of the server board; due in step 302, the server version of the board to perform configuration in its own host software is loaded with features saved version of the server board obtained a temporary version of the file from the server to its own FLASH , the realization of the loading board version of the server, so this step is an optional step, can be omitted in practical applications.

步骤310:版本服务器单板根据接收系统板、接口板或扣板加载请求中携带的内容,即请求下发系统板、接口板或扣板的版本文件,判断是否为第一次读取系统板、接口板或扣板的版本文件,如果是,则从自身的硬盘中读取系统板、接口板或扣板的版本文件,并将读取的版本文件保存到自身的RAM中;否则,从自身的RAM中读取系统板、接口板或扣板的版本文件。 Step 310: The board version of the content server receiving system boards, interface boards or pinch load carried in the request, i.e. a request issued by the system boards, interface boards, or pinch version of the file, determines whether a second read system board , interface board or daughter board version of the file, if it is, read from the hard disk itself system boards, interface boards, or pinch version of the file, and save the version of the file to read its own RAM; otherwise, from system boards, interface boards, or pinch version of the file is read in its own RAM.

步骤311:版本服务器单板在读取的版本文件的尾部添加CRC校验码,将读取的版本文件按读取的先后顺序划分为消息帧,并采用停等方式按读取的先后顺序依次向系统板下发划分版本文件的消息帧;在本步骤中,如果版本服务器单板下发的是系统板的版本文件,则版本服务器单板将划分系统板版本文件的消息帧直接下发给发送加载请求的系统板;如果版本服务器单板下发的是接口板的版本文件,由于此时系统板作为接口板的代理,所以版本服务器单板将划分接口板版本文件的消息帧下发给作为接口板代理的系统板;如果版本服务器单板下发的是扣板的版本文件,由于此时接口板作为扣板的代理,所以版本服务器单板将划分扣板版本文件的消息帧下发给系统板,再由系统板将划分扣板版本文件的消息帧转发给作为扣板代理的接口板。 Step 311: Add at the end of the board version server version of the file is read the CRC, version of the file to be read by the reading order of the message frame is divided, and the use of stops, etc. read sequentially according to the order send a message frame is divided version of the file to the system board; in this step, if the version of the board delivered by the server version of the file is the system board, the board version of the message frame into the server system board version of the file sent directly under loading request transmission system board; if delivered by the server version is the version of the file board interface board, since at this time the system board as a proxy interface board, the board version of the server delivers the message frame is divided version of a file interface board Acting as an interface board in the system board; if the version of the board delivered by the server version of the file is the gusset, at this time since the pinch as a proxy interface board, the board version of the server version of the file will be divided message pinch frame issued to the system board, and then dividing the gusset plate system version of the file to the message frame is forwarded as a pinch proxy interface board.

步骤312:如果版本服务器单板下发的是系统板的版本文件,则系统板接收到版本服务器单板下发的划分系统板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件保存到自身的FLASH中,实现对系统板的加载;否则,接收的版本文件不正确,系统板再次向版本服务器单板发送加载请求,重新获取系统板的版本文件;如果版本服务器单板下发的是接口板的版本文件,则作为接口板代理的系统板接收到版本服务器单板下发的划分接口板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果 Step 312: If the server card issued version is the version of the file system board, the system board receives the message frame is sent to the server version of the veneer board is divided version of the file system, a message for each received frame the CRC experience and judgment of the last message received frame the CRC check code obtained is 0, if so, the version of the file received correctly, the received message frame is received by the sequence are combined into a complete version of the file, and save the file to the combination of its own version of FLASH, the realization of the load on the system board; otherwise, received an incorrect version of the file, load the system board sends a request to the server version of the board again, to re-obtain the version of the system board file; issued if the version of the server version of the file is the board of the interface board, the interface board as a proxy server version of the system board to the board receives a message frame sent by the interface board is divided version of the file, each of the received message frame CRC check, and determines whether the last received message frame is a CRC check whether the obtained check code is 0, if 是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件通过共享内存的方式直接写入接口板的RAM中;否则,接收的版本文件不正确,系统板再次向版本服务器单板转发接口板的加载请求,重新获取接口板的版本文件;接口板的BIOS执行自身BIOS软件中配置的将RAM中的版本文件保存到自身FLASH的功能,将系统板写入自身RAM中的版本文件保存到自身的FLASH中,实现对接口板的加载;如果版本服务器单板下发的是扣板的版本文件,则系统板接收到版本服务器单板下发的划分扣板版本文件的消息帧后,将接收的划分扣板版本文件的消息帧转发给作为扣板代理的接口板,接口板对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文 Is the version of the file received correctly, the received frame message according to the received sequence into a complete version of the file, and the combined version of the file is written to the RAM interface board directly by way of shared memory; otherwise, receiving the version of the file is incorrect, the system board is loaded once again forwarded the request to the interface board version of the server board, retrieve versions of a file interface board; interface board's BIOS does its own BIOS software configuration is saved in RAM version of the file to its own FLASH function, the system board RAM write version of the file itself is stored in the FLASH to itself, to achieve loading of the interface board; if delivered by the server version of the file version pinch board is the system board receives a version of the server after the board delivered by the message frame is divided pinch version of the file, the message frame is divided version of the file received pinch forwarded to the proxy interface board as pinch, interface boards for each message frame received CRC check, and determining a last frame received message if the CRC check code obtained as 0. If yes, then the received version of the article 件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件通过共享内存的方式直接写入扣板的RAM中;否则,接收的版本文件不正确,接口板再次向版本服务器单板转发扣板的加载请求,重新获取扣板的版本文件;扣板的BIOS执行自身BIOS软件中配置的将RAM中的版本文件保存到自身FLASH的功能,将接口板写入自身RAM中的版本文件保存到自身的FLASH中,实现对扣板的加载。 Member correctly, the received message frame is received by the order into a complete version of the file, and the combined version of the file is written directly to the RAM daughter board through shared memory mode; otherwise, the received version of the file is not correct, Interface board again forwarded to the server version of the board loading request pinch, pinch retrieve versions of a file; pinch the BIOS does its own BIOS software configuration is saved in RAM FLASH version of the file to its own functions, the interface board save the RAM write their own version of the file to its own FLASH, to achieve loaded gusset.

如图4所示,图4为依照本发明第二个实施例对新机框加载的方法流程图。 4, FIG. 4 is a flowchart of a method of loading the new machine frame in accordance with a second embodiment of the present invention. 在本实施例中对新机框采用在线加载,预先在版本服务器单板的主机软件中配置FTP重试功能,在版本服务器单板、系统板、接口板和扣板的主机软件中配置加载功能。 In this embodiment, the load line using the new chassis, FTP preconfigured retry function version of the server software in the host board, the configuration software is loaded at the host server version boards, system boards, interface boards and the pinch . 该方法包括以下步骤:步骤401:在新机框中各单板正常运行的过程中,系统板、接口板或扣板执行在自身主机软件中配置的加载功能,向版本服务器单板发送携带有各自所需版本文件的加载请求,请求版本服务器单板向系统板、接口板或扣板下发各自所需的版本文件。 The method comprises the following steps: Step 401: the new machine frame during normal operation of the respective boards, system boards, interface boards or pinch perform configuration in the own host software loading function, the server version of the message carrying the board has required to load each version of the file request, the request server version of the system board to the board, each of the desired version of the file sent on the interface board or pinch.

步骤402:版本服务器单板接收到携带有系统板、接口板或扣板三种类型单板中任意一单板所需版本文件的加载请求后,执行在自身主机软件中配置的FTP重试功能,向临时版本服务器发送携带有新机框中各单板所需全部版本文件的FTP请求,请求临时服务器向版本服务器单板下发新机框中各单板所需的全部版本文件;在本步骤中,版本服务器单板向临时版本服务器发送携带有新机框中各单板所需全部版本文件的FTP请求,是在第一次接收到系统板、接口板或扣板三种类型单板中任意一单板所需版本文件的加载请求后进行的,在从临时版本服务器获取了新机框中各单板所需全部版本文件后,版本服务器单板再接收到加载请求将不再向临时版本服务器发送FTP请求。 Step 402: Server version received FTP board carries a retry function system boards, interface boards or boards of any of the three types pinch the board after a request for loading the desired version of the file, in which the configuration of the host software itself , the server sends a temporary version of the chassis carrying the new FTP requests all the boards of the desired version of the file, requesting a temporary version of the file server sends all new machines required for each board box to the server version of the board; in the present step, the version of the server sends a temporary board carrying the new version of the server machine box of cards all FTP requests desired version of the file, it is received in the first system boards, interface boards or veneer pinch three types after loading request the required version of the file in any of the board, each board after acquiring a new version of the chassis all the required files from the temporary version of the server, the server version of the board will no longer be followed by a request to receive the load interim version of the server FTP requests.

步骤403:临时版本服务器接收到FTP请求,读取新机框中各单板所需全部版本文件的总字节数,向版本服务器单板下发新机框中各单板所需全部版本文件的总字节数和新机框中各单板所需的全部版本文件。 Step 403: temporary version FTP server receives the request, reads the new machine frame of boards required total number of bytes of all versions of the file, the new machine frame made of boards required to release all of the server version of the file at the board the total number of bytes required for the chassis and the new board all versions of each file.

步骤404:版本服务器单板接收临时版本服务器下发的新机框中各单板所需全部版本文件的总字节数和新机框中各单板所需的全部版本文件,实时记录获取的每个版本文件的字节数,并依次累加得到已获取版本文件的总字节数。 Step 404: receive a temporary version of the server issued the new version of the chassis of each server card board all the required version of the file versions of all the files and the total number of bytes required for each new machine box board, real-time recording of the acquired the number of bytes for each version of a file, and in turn receive cumulative total number of bytes to obtain the version of the file.

步骤405:在执行完一次FTP操作后,版本服务器单板判断已获取版本文件的总字节数是否等于新机框中各单板所需全部版本文件的总字节数,如果是,则获取了新机框中各单板所需的全部版本文件;否则,未获取新机框中各单板所需的全部版本文件,再次向临时服务器发送FTP请求,直至获取了新机框中各单板所需的全部版本文件为止。 Step 405: After completion of FTP operation is performed once, the server version of the board is determined whether the total number of bytes of the acquired version of the file is equal to the desired total number of bytes of all the new version of the file each board machine frame, if so, obtaining all versions of the documents required for each new machine box board; otherwise, the new version of the file did not get all the machines required for each box board, once again sends a request to the FTP server temporarily, until acquiring a new machine each single box all versions of the board until the required documents.

步骤406:版本服务器单板将获取的新机框中各单板所需的全部版本文件保存到自身的硬盘中。 Step 406: Save all server version of the board will get a new machine frame required for each board to file its own hard disk.

步骤407:版本服务器单板执行在自身主机软件中配置的加载功能,从自身的硬盘中读取版本服务器单板的版本文件,将读取的版本服务器单板的版本文件保存到自身的FLASH中,实现对版本服务器单板的加载。 Step 407: The server version of the board of the loading function configured in its own host software, read the version of the file server version of the board from its own hard drive, server board saved version of the file to read its own version of the FLASH , to achieve loaded version of the server board.

步骤408:版本服务器单板根据接收系统板、接口板或扣板发送的载请求中携带的内容,即请求下发系统板、接口板或扣板的版本文件,判断是否为第一次读取系统板、接口板或扣板的版本文件,如果是,则从自身的硬盘中读取系统板、接口板或扣板的版本文件,并将读取的版本文件保存到自身的RAM中;否则,从自身的RAM中读取系统板、接口板或扣板的版本文件。 Step 408: The board version of the content upload server request receiving system boards, interface boards, or carried in pinch sent, i.e., request issued system boards, interface boards, or pinch version of the file, determines whether the read for the first time system boards, interface boards, or pinch the version of the file, and if so, reading from the storage system boards, interface boards, or pinch own version of the file in the hard disk, and the version of the file to read its own RAM; otherwise, , reading system boards, interface boards, or daughter board from the RAM version of the file itself.

步骤409:版本服务器单板在读取的系统板、接口板或扣板版本文件的尾部添加CRC校验码,将读取的系统板、接口板或扣板版本文件按读取的先后顺序划分为消息帧,并分别采用停等方式按读取的先后顺序依次向发送加载请求的系统板、接口板或扣板下发划分系统板、接口板或扣板版本文件的消息帧。 Step 409: Server version of the system board in the plate reader, interface board or tail pinch version of the file to add the CRC, the read system boards, interface boards or the version of the file according to the order read pinch divided message frame, and stop, etc. respectively according to the order of sequentially sends the read request to load the system board, the system board hair divided or pinch the interface board, interface board or pinch message frame version of the file.

步骤410:系统板、接口板或扣板分别接收到版本服务器单板下发的划分系统板、接口板或扣板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件分别保存到自身的FLASH中,实现对系统板、接口板或扣板的加载;否则,接收的版本文件不正确,系统板、接口板或扣板再次向版本服务器单板发送加载请求,重新获取系统板、接口板或扣板的版本文件。 Step 410: After the system boards, interface boards or pinch the respectively received message frame is sent to the server version of the system is divided veneer boards, interface boards, or pinch version of the file, each message frame received CRC check, and Analyzing the last received message frame is a CRC check is performed whether the obtained check code is 0. If yes, then the version of the file received correctly, the received frame message according to the received sequence into a complete version of the file, and the combined versions of files are saved to its own FLASH, to achieve loaded on the system board, interface board or pinch; otherwise, received an incorrect version of the file, system boards, interface boards or pinch to re-board server version sending a load request, version of the file system reacquisition boards, interface boards, or daughter board.

在本发明所举第一个实施例的步骤306和第二个实施例的步骤404中,版本服务器单板依次累加得到已获取版本文件的总字节数之后,将已获取版本文件的总字节数和新机框中各单板所需全部版本文件的总字节数放在同一个消息包中实时发送给临时服务器,临时服务器接收到消息包后将已获取版本文件的总字节数与新机框中各单板所需全部版本文件的总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上。 For the present invention, after the first step 306 of the embodiment and the second embodiment of the step 404, the server version of the board are sequentially accumulated to give a total number of bytes of the acquired version of the file, the total word acquired version of the file the number of sections and the new machine box of cards total number of bytes required for all versions of a file on the total number of bytes in the packets sent in real time with a message to the staging server, staging server receives the message packet will have to obtain the version of the file veneer dryer box with new total ratio of the entire number of bytes required to convert the real-time version of the file to acquire the graphic for indicating the progress of the version of the file, is displayed on the display screen of the temporary server. 这样的技术方案是在本发明技术方案的基础上对本发明技术方案的进一步优化,与本发明提供的技术方案在思路上是一致的,应包含在本发明的保护范围之内。 Such technical solution is to further optimize the aspect of the present invention, in the aspect of the present invention, the present invention provides a technical solution on the idea is the same, to be included within the scope of the present invention.

在本发明所举第一个实施例的步骤310中,版本服务器单板在判断是否为第一次读取系统板、接口板或扣板的版本文件之前进一步读取自身硬盘上保存的系统板、接口板和扣板的版本文件的总字节数。 310, the version of the server hard disk board itself further reads stored prior to determining whether the first read system boards, interface boards or gusset plate version of the file system of the first embodiment in a step of the present invention, cited the total number of bytes in the file version of the interface board and the daughter board. 在步骤311中,版本服务器单板将划分系统板、接口板或扣板版本文件的消息帧分别下发给系统板、接口板或扣板之后,进一步记录下发给系统板、接口板或扣板的版本文件的字节数,并依次累加得到已下发版本文件的总字节数,将已下发版本文件的总字节数与步骤310中读取的系统板、接口板和扣板版本文件的总字节数放在同一个消息包中实时发送给临时服务器;临时服务器接收到消息包后将已下发版本文件的总字节数与系统板、接口板和扣板的版本文件总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上。 After step 311, the server version of the message frame into a board system boards, interface boards, or pinch version of the file system are distributed to the lower boards, interface boards, or pinch, further record distributed system boards, interface boards or snap bytes plate version of the file, and sequentially accumulating the total number of bytes has been issued a version of the file, the total number of bytes has been issued in step version of the file system 310 reads the boards, interface boards and pinch total number of bytes in the file version of the package to send real-time with a temporary message server; total bytes after the system board staging server receives the message packet has issued a version of the file, the interface board and daughter board version of the file ratio of the number of total bytes is converted into a real-time version of the file retrieves graphics progress, displayed on the display screen in the temporary server. 这样的技术方案是在本发明技术方案的基础上对本发明技术方案的进一步优化,与本发明提供的技术方案在思路上是一致的,应包含在本发明的保护范围之内。 Such technical solution is to further optimize the aspect of the present invention, in the aspect of the present invention, the present invention provides a technical solution on the idea is the same, to be included within the scope of the present invention.

在本发明所举第二个实施例的步骤408中,版本服务器单板在判断是否为第一次读取系统板、接口板或扣板的版本文件之前进一步读取自身硬盘上保存的系统板、接口板和扣板的版本文件的总字节数。 The second step in the embodiment of the present invention cited in 408, the server version of the board is further stored on the hard disk reads the system board itself before the system determines whether the boards, interface boards, or pinch the version of the file read first the total number of bytes in the file version of the interface board and the daughter board. 在步骤409中,版本服务器单板将划分系统板、接口板或扣板版本文件的消息帧分别下发给系统板、接口板或扣板之后,进一步记录下发给系统板、接口板或扣板的版本文件的字节数,并依次累加得到已下发版本文件的总字节数,将已下发版本文件的总字节数与步骤408中读取的系统板、接口板和扣板版本文件的总字节数放在同一个消息包中实时发送给临时服务器;临时服务器接收到消息包后将已下发版本文件的总字节数与系统板、接口板和扣板的版本文件总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上。 In Step 409, the server version of the message frame into a board system boards, interface boards, or pinch version of the file system are distributed to the lower boards, interface boards, or pinch, further record distributed system boards, interface boards or snap bytes plate version of the file, and sequentially accumulating the total number of bytes has been issued a version of the file, the total number of bytes read in the step 408 has issued a version of the file system boards, interface boards and pinch total number of bytes in the file version of the package to send real-time with a temporary message server; total bytes after the system board staging server receives the message packet has issued a version of the file, the interface board and daughter board version of the file ratio of the number of total bytes is converted into a real-time version of the file retrieves graphics progress, displayed on the display screen in the temporary server. 这样的技术方案是在本发明技术方案的基础上对本发明技术方案的进一步优化,与本发明提供的技术方案在思路上是一致的,应包含在本发明的保护范围之内。 Such technical solution is to further optimize the aspect of the present invention, in the aspect of the present invention, the present invention provides a technical solution on the idea is the same, to be included within the scope of the present invention.

在本发明所举的这两个实施例中,版本服务器单板从临时服务器上获取了新机框中所有单板的版本文件后,将获取的版本文件全部保存到自身的硬盘中。 In this embodiment the two embodiments of the invention cited, acquires a new version of the server board machine version of the file box, all cards from the staging server, the acquired version of the file to save all of the hard disk itself. 在实现对版本服务器单板的加载时,版本服务器单板需要从自身的硬盘中读取版本服务器单板的版本文件,再将读取的版本服务器单板的版本文件保存到自身的FLASH中。 When implementing load on the server version of the board, the board needs to read the version of the server version of the file server version of the board from its own hard disk, saved version of the server board and then read the version of the file to its own FLASH. 在实际应用中,版本服务器单板从临时服务器上获取了新机框中所有单板的版本文件后,也可以将系统板、接口板和扣板的版本文件保存到自身的硬盘中,而将版本服务器单板的版本文件直接保存到自身的FLASH中,实现对版本服务器单板的加载。 In actual application, the server version of the chassis board acquired new version of the file of all the boards from the staging server, you can save the system boards, interface boards and pinch version of the file to their hard drive, but will version of the server board versions of files saved directly to its own FLASH, to achieve loaded version of the server board. 这样的技术方案与本发明提供的技术方案是一致的,应包含在本发明的保护范围之内。 This aspect of the present invention provides a technical solution is the same, to be included within the scope of the present invention.

Claims (14)

1.一种加载机框的方法,其特征在于,包括以下步骤:A、版本服务器单板从临时服务器上获取版本服务器单板、系统板、接口板和扣板的版本文件;其中,所述版本服务器单板、系统板、接口板和扣板为机框中四种类型的单板;B、版本服务器单板将版本服务器单板的版本文件保存到自身的闪存FLASH中;系统板从版本服务器单板获取系统板的版本文件,并将获取的系统板的版本文件保存到自身的FLASH中;接口板通过系统板从版本服务器单板获取接口板的版本文件,并将获取的接口板的版本文件保存到自身的FLASH中;扣板通过接口板和系统板从版本服务器单板获取扣板的版本文件,并将获取的扣板的版本文件保存到自身的FLASH中。 1. A method of loading the machine frame, characterized by comprising the following steps: A, a server version of the board acquired from the temporary server card version server, the system boards, interface boards and pinch version of the file; wherein said version of the server board, system boards, interface boards, and four types of machine pinch box board; B, the server version of the board to board version of the server to save the file to its own version of the FLASH memory; release from the system board Get the server version of the file system veneer board, the system board of the file version to save the acquired FLASH to itself; and the interface board to obtain the version of the file from the version of the interface board through the system server veneer board, and the acquired interface board save the file to its own version of the FLASH; pinch pinch version of the file acquired from the server version of the board through the interface board and the system board, and the acquired saved version of the file to pinch itself FLASH.
2.根据权利要求1所述的方法,其特征在于,所述加载采用开工加载,预先在版本服务器单板的基本输入输出系统BIOS软件中配置文件传输协议FTP功能和加载功能,在系统板、接口板和扣板的BIOS软件中配置基本通信功能和加载功能,所述步骤A之前进一步包括:A01、版本服务器单板在机框启动过程中的BIOS阶段执行FTP功能,向临时服务器发送携带有请求获取版本服务器单板版本文件的FTP请求;A02、临时服务器接收到FTP请求后,向版本服务器单板下发版本服务器单板的版本文件,版本服务器单板执行加载功能,将接收的版本服务器单板的版本文件保存到自身的FLASH中;A03、系统板、接口板或扣板在机框启动过程中的BIOS阶段执行基本通信功能和加载功能,向版本服务器单板发送携带有自身所需版本文件的加载请求,版本服务器单板接收到系统板、接口板或扣 2. The method according to claim 1, characterized in that, using the loading start loading, File Transfer Protocol (FTP) preconfigured function and load function in the basic input output system BIOS software version of the server board, the system board, Interface board & Batten's BIOS software configuration basic communication function and a function of loading, prior to said step a further comprises: A01, the server version of the chassis board BIOS startup stage during execution of the FTP function, the server has transmitted the provisional carrying the FTP requests request version board version of the file server; after A02, temporary FTP server receives the request, the server version of the board to board version of the server send the version of the file, the server version of the board perform functions of loading, the server version of the received save board version of the file in the FLASH to itself; A03, system boards, interface boards or pinch BIOS startup phase of the chassis during loading and to perform basic communication functions, which sends to the server version of the board itself carries the desired loading request version of the file, the server version of the system board receives boards, interface boards or snap 板发送的加载请求后执行步骤A。 After loading request transmitting plate performing Step A.
3.根据权利要求2所述的方法,其特征在于,步骤A03中所述系统板、接口板或扣板向版本服务器单板发送携带有自身所需版本文件的加载请求包括:系统板直接向版本服务器单板发送携带有系统板所需版本文件的加载请求;接口板先将携带有接口板所需版本文件的加载请求发送给系统板,再由系统板作为接口板的代理向版本服务器单板发送携带有接口板所需版本文件的加载请求;扣板先将携带有扣板所需版本文件的加载请求发送给接口板,再由接口板作为扣板的代理通过系统板向版本服务器单板发送携带有扣板所需版本文件的加载请求。 3. The method according to claim 2, characterized in that, said system A03 boards, interface boards or pinch transmission request carrying its own version of the file comprises loading the desired version of the server board steps: directly to the system board version server card transmits a load request carries the required version of the file system board; first interface board interface board carries a load request transmitted to the system board of the desired version of the file, then the system board as a single interface board to the proxy server version plate load request message carrying the desired version of the file interface board; pinch carries first gusset plate load request sent to the interface version of the desired file, then the interface card through the system as a pinch plate single proxy server to the version send board carrying the required version of the file load request pinch.
4.根据权利要求2所述的方法,其特征在于,步骤B中所述系统板从版本服务器单板获取系统板的版本文件,并将获取的系统板的版本文件保存到自身的FLASH中包括:B11、版本服务器单板接收到的携带有系统板所需版本文件的加载请求,判断是否为第一次读取系统板的版本文件,如果是,则从自身的硬盘中读取系统板的版本文件,并将读取的版本文件保存到自身的内存RAM中;否则,从自身的RAM中读取系统板的版本文件;B12、版本服务器单板在读取的系统板版本文件的尾部添加循环冗余校验CRC校验码,将读取的系统板版本文件按读取的先后顺序划分为消息帧,并采用停等方式按读取的先后顺序依次向发送加载请求的系统板下发划分系统板版本文件的消息帧;B13、系统板接收到版本服务器单板下发的划分系统板版本文件的消息帧后,对接收的每一个消息帧 4. The method according to claim 2, wherein the step of acquiring the system board B in the board version of the file system from the server version of the board, the system board saved version of the file to itself and the acquired include FLASH : B11, the server version of the veneer carrying system of the received load request board version of the desired file, determining whether the first version of the file to read the system board, if it is, read from the hard disk itself system board version of the file, and save the version of the file to read its own RAM memory; otherwise, the file system reads the version from the plate in its own RAM; B12, the server version of the board at the end of the system board is added version of the file read system board cyclic redundancy check code CRC check, the system board version of the file to be read by the reading order of the message frame is divided, and the like using the stop mode according to the order of sequentially sends read requests issued loaded message into a frame version of the file system board; B13 delivered by post, the server version of the system board receives a message frame is divided veneer board version of the file system, each of the received message frame 行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件保存到自身的FLASH中;否则,接收的版本文件不正确,系统板再次向版本服务器单板发送加载请求,重新获取系统板的版本文件。 OK CRC check, and determines whether the last received message frame is a CRC check is performed whether the obtained check code is 0. If yes, then the version of the file received correctly, the received frame message according to the received sequence into a combination of a complete version of the file, and save the file to the combination of its own version of the FLASH; otherwise, received an incorrect version of the file, load the system board to send another request to the server version of the board, retrieve versions of files on the system board.
5.根据权利要求2所述的方法,其特征在于,预先在接口板的BIOS软件中配置将RAM中的版本文件保存到自身FLASH功能,步骤B中所述接口板通过系统板从版本服务器单板获取接口板的版本文件,并将获取的接口板的版本文件保存到自身的FLASH中包括:B21、版本服务器单板接收到的携带有接口板所需版本文件的加载请求,判断是否为第一次读取接口板的版本文件,如果是,则从自身的硬盘中读取接口板的版本文件,并将读取的版本文件保存到自身的RAM中;否则,从自身的RAM中读取接口板的版本文件;B22、版本服务器单板在读取的接口板版本文件的尾部添加CRC校验码,将读取的接口板版本文件按读取的先后顺序划分为消息帧,并采用停等方式按读取的先后顺序依次向作为接口板代理的系统板下发划分接口板版本文件的消息帧;B23、作为接口板代理的系统板接 5. The method according to claim 2, wherein the pre-configured version of the file stored in RAM to FLASH their function in the interface board BIOS software, Step B, the server version of the interface board from a single system board through the Get file save version plate version of the file interface board, and to obtain the interface board FLASH itself comprises: B21, the server version of the received board carries LPU requested version of the desired file, it determines whether the first the first reading version of the file interface board, and if so, read from the interface board hard disk version of the file itself, and the saved version of the file to read its own RAM; otherwise, read from its own RAM version of the file interface board; B22, the server version of the board at the end of the CRC adding the interface board to read the version of the file, interface board to read the file version is divided by the order of the message frame is read, and the use of stop etc. are sequentially sent according to the order read partitioning interface board version of the file as a message frame to the next LPU proxy system board; B23, as an interface board connected to the proxy system board 到版本服务器单板下发的划分接口板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件通过共享内存的方式直接写入接口板的RAM中;否则,接收的版本文件不正确,系统板再次向版本服务器单板转发接口板的加载请求,重新获取接口板的版本文件;B24、接口板的BIOS执行自身BIOS软件中配置的将RAM中的版本文件保存到自身FLASH的功能,将系统板写入自身RAM中的版本文件保存到自身的FLASH中。 After the message frame is divided into an interface board version of the file sent by the server version of the board, for each message frame received CRC check, and determines whether the last received message frame is a CRC check is performed whether the obtained check code is 0, and if so, then the document version received correctly, the received message frame is received by the order into a complete version of the file, and the combined version of the file is written directly to the interface board by way of shared memory in RAM ; otherwise, received an incorrect version of the file, the system board is loaded once again forwarded the request to the interface board version of the server board, retrieve versions of a file interface board; B24, interface board BIOS performs in the RAM itself BIOS software configuration of FLASH own version of the file to save function, the system board RAM write version of the file itself is stored in the FLASH to itself.
6.根据权利要求2所述的方法,其特征在于,预先在扣板的BIOS软件中配置将RAM中的版本文件保存到自身FLASH功能,步骤B中所述扣板通过接口板和系统板从版本服务器单板获取扣板的版本文件,并将获取的扣板的版本文件保存到自身的FLASH中包括:B31、版本服务器单板接收到的携带有扣板所需版本文件的加载请求,判断是否为第一次读取扣板的版本文件,如果是,则从自身的硬盘中读取扣板的版本文件,并将读取的版本文件保存到自身的RAM中;否则,从自身的RAM中读取扣板的版本文件;B32、版本服务器单板在读取的扣板版本文件的尾部添加CRC校验码,将读取的扣板版本文件按读取的先后顺序划分为消息帧,并采用停等方式按读取的先后顺序依次向系统板下发划分扣板版本文件的消息帧,由系统板将划分扣板版本文件的消息帧转发给作为扣板代理的接口 6. The method according to claim 2, wherein the pre-configured version of the file stored in RAM to FLASH their BIOS software function in the gusset, said gusset Step B through the interface board and the system board from version of the server version of the file board pinch acquired, and the acquired saved version of the file to pinch itself FLASH comprises: B31, the server version of the board that carries the received load request gusset desired version of the file, determines whether the first reading of pinch version of the file, and if so, from its own hard disk read pinch version of the file, and save the file version to read its own RAM; otherwise, from its own RAM read pinch version file; B32, the server version of the board at the end of the CRC adding pinch version of the file is read, pinch version of the file to be read by the read order is divided into message frames, and the use of stops, etc. sent sequentially according to the order read gusset divided version of a file to the message frame in the system board, the system board dividing pinch version of the file as a message frame is forwarded to the proxy interface daughter board ;B33、作为扣板代理的接口板接收到版本服务器单板下发的划分扣板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件通过共享内存的方式直接写入扣板的RAM中;否则,接收的版本文件不正确,接口板再次通过系统板向版本服务器单板转发扣板的加载请求,重新获取扣板的版本文件;B34、扣板的BIOS执行自身BIOS软件中配置的将RAM中的版本文件保存到自身FLASH的功能,将接口板写入自身RAM中的版本文件保存到自身的FLASH中。 ; B33, after receiving the version delivered by the server card as an interface board pinch agent gusset divided version of the file message frames, each message frame received CRC check, and determines whether the last frame of a received message CRC check is performed whether the obtained check code is 0. If yes, then the version of the file received correctly, the received frame message according to the received sequence into a complete version of the file, and the combined version of the file sharing by direct memory write pinch of RAM; otherwise, received an incorrect version of the file, the interface board is loaded once again forwarded the request to the gusset plate version of the server board through the system, retrieve versions of files gusset; B34, buckle the BIOS itself performs plate BIOS software configured saved version of the file in RAM to FLASH their function, the interface board will write its own version of the file stored in the RAM to its own FLASH.
7.根据权利要求1所述的方法,其特征在于,所述加载采用在线加载,预先在版本服务器单板、系统板、接口板和扣板的主机软件中配置加载功能,所述步骤A之前进一步包括:在机框中各单板正常运行过程中,系统板、接口板或扣板执行在自身主机软件中配置的加载功能,向版本服务器单板发送携带有各自所需版本文件的加载请求,版本服务器单板接收到系统板、接口板或扣板发送的加载请求后执行步骤A。 Before 7. The method according to claim 1, wherein said loading using online loading, loading preconfigured software version at the host server boards, system boards, interface boards and the daughter board, the step A further comprising: during normal operation of the boards in the chassis, the system boards, interface boards or pinch perform configuration in the own host software loading function, the server version of the board carries a load request transmitted respectively required version of the file after the server version of the system board receives a request to load boards, interface boards or pinch transmission step A.
8.根据权利要求7所述的方法,其特征在于,步骤B中所述系统板从版本服务器单板获取系统板的版本文件、接口板通过系统板从版本服务器单板获取接口板的版本文件以及扣板通过接口板和系统板从版本服务器单板获取扣板的版本文件,并将各自获取的版本文件保存到自身的FLASH中包括:B41、版本服务器单板接收到的携带有系统板、接口板或扣板所需版本文件的加载请求,判断是否为第一次读取系统板、接口板或扣板的版本文件,如果是,则从自身的硬盘中读取系统板、接口板或扣板的版本文件,将读取的版本文件保存在自身的RAM中;否则,从自身的RAM中读取系统板、接口板或扣板的版本文件;B42、版本服务器单板在读取的系统板、接口板或扣板版本文件的尾部添加CRC校验码,将读取的系统板、接口板或扣板版本文件按读取的先后顺序划分为消息帧 8. The method according to claim 7, wherein the step of acquiring the system board B in the board version of the file system from the server version of the board, the interface board to obtain the version of the file from the version of the interface board by the board server system board and obtaining pinch release version of the file from the server gusset boards through the interface board and the system board, and each of the acquired file to its own version of the FLASH comprises: B41, the server version of the received board carrying system board, pinch load request interface board or the desired version of the file, determines whether the version of the file system boards, interface boards or pinch the first reading, and if so, reading from the hard disk itself system boards, interface boards, or pinch version file, the read file version stored in its own RAM; otherwise, reading the version of the file system boards, interface boards, or daughter board from its own RAM; B42, the server version of the reading board system board, interface board or tail pinch version of the file to add the CRC, the read system board, interface board or pinch version of the file is divided according to the order of the message frame is read 并分别采用停等方式按读取的先后顺序依次向发送加载请求的系统板、接口板或扣板下发划分系统板、接口板或扣板版本文件的消息帧;B43、系统板、接口板或扣板分别接收到版本服务器单板下发的划分系统板、接口板或扣板版本文件的消息帧后,对接收的每一个消息帧进行CRC校验,并判断对接收的最后一个消息帧进行CRC校验所得到的校验码是否为0,如果是,则接收的版本文件正确,将接收的消息帧按接收的先后顺序组合成一个完整的版本文件,并将组合的版本文件分别保存到自身的FLASH中;否则,接收的版本文件不正确,系统板、接口板或扣板再次向版本服务器单板发送加载请求,重新获取系统板、接口板或扣板的版本文件。 And stop, etc. respectively according to the order of sequentially sends the read request to load the system board, issued gusset divided interface board or system board, interface board or pinch message frame version of the file; B43, system boards, interface boards after the message frame sent by the gusset or board receives the divided version of the server system boards, interface boards, or pinch version of the file, a message for each received frame the CRC check, and determines whether the last frame of a received message CRC check is performed whether the obtained check code is 0. If yes, then the version of the file received correctly, the received frame message according to the received sequence into a complete version of the file, and the files are stored version of the combined FLASH to itself; otherwise, the received version of the file is not correct, the system boards, interface boards or loaded pinch send another request to the server version of the board, re-acquiring the system boards, interface boards, or pinch version of the file.
9.根据权利要求1所述的方法,其特征在于,预先在版本服务器单板的主机软件中配置FTP重试功能,所述步骤A包括:A1、版本服务器单板接收到携带有系统板、接口板或扣板三种类型单板中任一单板所需版本文件的加载请求后,执行FTP重试功能,向临时版本服务器发送携带有机框中各单板所需全部版本文件的FTP请求;A2、临时服务器接收到FTP请求后,读取机框中各单板所需全部版本文件的总字节数,向版本服务器单板下发机框中各单板所需全部版本文件的总字节数和机框中各单板所需的全部版本文件;A3、版本服务器单板接收临时版本服务器下发的机框中各单板所需全部版本文件的总字节数和机框中各单板所需的全部版本文件,实时记录获取的每个版本文件的字节数,并依次累加得到已获取版本文件的总字节数,在执行完一次FTP操作后判断已获取版本 9. The method according to claim 1, wherein the pre-configured FTP retry function version of the server software in the host board, the step A comprises: A1, the server version of the board carrying receiving system board, after three types of interface board or pinch a veneer board load request any desired version of the file, execute the FTP retry function, all carrying the desired version of the file transmission FTP requests each board to the interim version of the server box organic ; total A2, the temporary FTP server receives the request, reads the chassis of each board all the required total number of bytes of the version of the file, the server version of the boards at the board machine made all required versions of a file box, all versions of the desired number of bytes of each board and the chassis file; A3, issued a temporary version of the server receives the server version of the chassis board of cards all required versions of the files and the total number of bytes of the chassis all files required versions board, real-time version of the file number of bytes per record acquired, and sequentially accumulating the total number of bytes has been acquired version of the file, determines the version acquired after performing a FTP operation 文件的总字节数是否等于机框中各单板所需全部版本文件的总字节数,如果是,则获取了机框中各单板所需的全部版本文件;否则,未获取机框中各单板所需的全部版本文件,再次向临时服务器发送FTP请求,直至获取了机框中各单板所需的全部版本文件为止。 Whether the total number of bytes in the file is equal to the total number of bytes required of all versions of a file each board machine box, and if so, get all the files required for the chassis version of each board; otherwise, did not get the machine frame all versions of the required documents in each board, once again sends a request to the FTP server temporarily, until a date to obtain all the documents required version of the chassis each board.
10.根据权利要求9所述的方法,其特征在于,步骤A3中所述版本服务器单板依次累加得到已获取版本文件的总字节数之后进一步包括:版本服务器单板将已获取版本文件的总字节数和机框中各单板所需全部版本文件的总字节数实时发送给临时服务器,临时服务器将已获取版本文件的总字节数与机框中各单板所需全部版本文件的总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上。 10. The method according to claim 9, wherein, in the step A3 version server card sequentially obtained after a total accumulated number of bytes of the acquired version of the file further comprises: a server version of the board acquired version of the file the total number of bytes and the chassis of cards sent in real time to a temporary server total number of bytes required for all versions of files, temporary version of the file server has acquired the total number of bytes required for each board and the chassis Full version ratio of the total number of bytes is converted into a real-time file represents a version of the file acquiring a graphical progress, it displayed on the display screen of the temporary server.
11.根据权利要求1所述的方法,其特征在于,步骤A与步骤B之间进一步包括版本服务器单板将获取的版本服务器单板、系统板、接口板和扣板的版本文件全部保存到自身的硬盘中,步骤B中所述版本服务器单板将版本服务器单板的版本文件保存到自身的FLASH中为:版本服务器单板从自身硬盘中读取版本服务器单板的版本文件,将读取的版本服务器单板的版本文件保存到自身的FLASH中。 , System boards, interface boards and pinch version file save all 11. The method according to claim 1, characterized in that, further comprising a server version of the server version of the board between the board acquired to step A and step B the hard disk itself, step B, the server version of the board to board version of the server to save the file to its own version of the FLASH: version version server card and read from server card version of the file in the hard disk itself, read take saved version of the server board versions of files to its own FLASH.
12.根据权利要求1所述的方法,其特征在于,步骤A与步骤B之间进一步包括版本服务器单板将获取的系统板、接口板和扣板的版本文件保存到自身的硬盘中,步骤B中所述版本服务器单板将版本服务器单板的版本文件保存到自身的FLASH中为:版本服务器单板直接将获取的版本服务器单板的版本文件保存到自身的FLASH中。 12. The method according to claim 1, characterized in that, the system further comprising a server version of the board between the board acquired in step A and step B, and save the interface board and the daughter board version of the file to the hard disk itself, step B, the server version of the board to board version of the server to save the file to its own version of the FLASH: saved version of the server version of the server card directly to the board to obtain the version of the file itself FLASH.
13.根据权利要求4、5、6或8所述的方法,其特征在于,所述版本服务器单板在判断是否为第一次读取系统板、接口板或扣板的版本文件之前进一步包括:版本服务器单板读取自身硬盘上保存的系统板、接口板和扣板的版本文件的总字节数;版本服务器单板将划分系统板、接口板或扣板版本文件的消息帧分别下发给系统板、接口板或扣板之后进一步包括:版本服务器单板实时记录下发给系统板、接口板或扣板的版本文件的字节数,并依次累加得到已下发版本文件的总字节数,将已下发版本文件的总字节数和读取的系统板、接口板和扣板版本文件的总字节数实时发送给临时服务器,临时服务器将已下发版本文件的总字节数与系统板、接口板和扣板的版本文件总字节数的比值实时转换成用于表示获取版本文件进度的图形,显示在临时服务器的显示界面上。 13. The method of claim 4,5,6 or claim 8, characterized in that, in the version server card first determines whether a reading system board, or the previous version of the file interface board further comprises pinch : server version stored on the hard board reads its own system board, the total number of bytes in the file version of the interface board and the daughter board; version server, respectively the board frame division system message boards, interface boards, or pinch version of the file after distributed system boards, interface boards, or pinch further comprising: a version delivers the real time recording server card system board, the number of bytes of the version of the file interface board or daughter board, and sequentially accumulating the total obtained has issued a version of the file system board bytes, total number of bytes that has been sent to the version of the file and read the total number of bytes in the interface board and pinch version of the file in real time to the temporary server, the server will always send the temporary version of the file is lower the number of bytes from the system board, the ratio of the total number of bytes of the interface board and pinch version of the file is converted into a real-time version of the file retrieves graphics progress, displayed on the display screen in the temporary server.
14.根据权利要求4、5、6或8所述的方法,其特征在于,所述采用停等方式按读取的先后顺序依次向系统板、接口板或扣板下发划分版本文件的消息帧包括:C1、版本服务器单板按读取的先后顺序向系统板、接口板或扣板下发划分版本文件的第一个消息帧,系统板、接口板或扣板接收到划分版本文件的第一个消息帧后,向版本服务器单板返回第一个消息帧的接收确认响应;C2、版本服务器单板判断在设定的时间间隔内是否接收到当前消息帧的接收确认响应,如果是,则向系统板、接口板或扣板下发下一个消息帧;否则,再次向系统板、接口板或扣板下发当前的消息帧;C3、重复执行步骤C2中的判断,按读取的先后顺序依次向系统板、接口板或扣板下发划分版本文件的下一个消息帧,直至将所述划分版本文件的消息帧全部下发完为止。 Message 14. The method of claim 5, 6 or according to claim 8, wherein said stop, etc. using the read sequentially according to the order to the system board, hair divided version file interface board or daughter board frame comprises: C1, the server version of the system board to the board according to the order read, send a message frame is divided into a first version of the file on the interface board or pinch, system boards, interface boards or pinch the divided version of the file received after the first frame message, the first message frame is returned to the server version of the board receive acknowledgment; C2, the server version of the board is determined within a set time interval has received the reception confirmation message of the current frame in response, if , to the system board, the interface board or pinch issued a message frame; otherwise, once again to the system board, the current message frame is sent on the interface board or pinch; a C3, determination is repeatedly executed in step C2, by reading order followed to the system board, issued a message frame is divided version of the file on the interface board or daughter board, the message frame until all the divided version of the file at the far end.
CN 200510114513 2005-10-24 2005-10-24 Frame loading method CN100365573C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510114513 CN100365573C (en) 2005-10-24 2005-10-24 Frame loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510114513 CN100365573C (en) 2005-10-24 2005-10-24 Frame loading method

Publications (2)

Publication Number Publication Date
CN1851644A true CN1851644A (en) 2006-10-25
CN100365573C CN100365573C (en) 2008-01-30

Family

ID=37133123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510114513 CN100365573C (en) 2005-10-24 2005-10-24 Frame loading method

Country Status (1)

Country Link
CN (1) CN100365573C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347955A (en) * 2011-11-01 2012-02-08 杭州依赛通信有限公司 Reliable data transmission protocol based on virtual channels
CN102707976A (en) * 2012-05-14 2012-10-03 中兴通讯股份有限公司 ATCA (advanced telecom computing architecture) system and method for managing firmware versions by ATCA system
WO2015184846A1 (en) * 2014-10-27 2015-12-10 中兴通讯股份有限公司 Router configuration method and router, router controlling apparatus and communication system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347955A (en) * 2011-11-01 2012-02-08 杭州依赛通信有限公司 Reliable data transmission protocol based on virtual channels
CN102707976A (en) * 2012-05-14 2012-10-03 中兴通讯股份有限公司 ATCA (advanced telecom computing architecture) system and method for managing firmware versions by ATCA system
CN102707976B (en) * 2012-05-14 2017-02-08 中兴通讯股份有限公司 ATCA (advanced telecom computing architecture) system and method for managing firmware versions by ATCA system
WO2015184846A1 (en) * 2014-10-27 2015-12-10 中兴通讯股份有限公司 Router configuration method and router, router controlling apparatus and communication system

Also Published As

Publication number Publication date
CN100365573C (en) 2008-01-30

Similar Documents

Publication Publication Date Title
US6144992A (en) Method and system for client/server and peer-to-peer disk imaging
CN101208671B (en) Managing message queues
DE60030181T2 (en) System, method and manufactured article for accessing and processing smart card data
US7007142B2 (en) Network data storage-related operations
US8868803B2 (en) Managing data communication between a peripheral device and a host
DE69923243T2 (en) Dynamic and consistent name management of storage connected to a communication station
JP2835637B2 (en) How to load the operating system via the network
US20030158746A1 (en) Method and system for collecting and circulating data derived from medical appliances, useful in particular in intensive care units
JP5364773B2 (en) System and method for managing a connection between a client and a server
US9398072B2 (en) Virtual media systems, methods and devices
AU2002322624B2 (en) Block data storage within a computer network
EP1630726B1 (en) Memory card, memory-card control method, memory-card access control method and computer programs
CN1237455C (en) Data transmission controlling system, electronic apparatus, and data transmission controlling method
US5577210A (en) Remote booting of an operating system by a network
TWI239160B (en) Remote booting method and apparatus applied in WAN based on IP technique
US9483357B2 (en) Selective restore from incremental block level backup
CN101655813A (en) Storage System
JP3516344B2 (en) Multiple data processing method for distributed processing system
CN101162445A (en) Method and system promoting the input/output process for processing surroundings
CN1731738A (en) Automated quick deployment method for large-scale computer cluster node
CN101589592B (en) Multi-protocol removable storage device
KR20050071358A (en) Operating method for distributed computing system using simplified paxos algorithm
US6386979B1 (en) Methods and systems for transferring game saves between a game system memory card and a computer
TWI261436B (en) System and method for managing and transporting virtual disks over a network to networked stations
US20070136401A1 (en) Apparatus and method for garbage collection

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted
C17 Cessation of patent right