CN1740971A - Basic inputting and outputting system program and primary machine program staging method - Google Patents

Basic inputting and outputting system program and primary machine program staging method Download PDF

Info

Publication number
CN1740971A
CN1740971A CN 200410075305 CN200410075305A CN1740971A CN 1740971 A CN1740971 A CN 1740971A CN 200410075305 CN200410075305 CN 200410075305 CN 200410075305 A CN200410075305 A CN 200410075305A CN 1740971 A CN1740971 A CN 1740971A
Authority
CN
China
Prior art keywords
program
bios
output system
basic input
rompaq
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200410075305
Other languages
Chinese (zh)
Inventor
樊宏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200410075305 priority Critical patent/CN1740971A/en
Publication of CN1740971A publication Critical patent/CN1740971A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invented method includes the following steps: firstly, creating basic input and output system upgrade program for processing difference between original main machine program and upgraded main machine program; then, when the network equipment is started, the basic input and output system program can call the described basic input and output system upgrade program and can start the upgraded main machine program.

Description

The upgrade method of Basic Input or Output System (BIOS) program and mainframe program
Technical field
The present invention relates to network communications technology field, relate in particular to the Basic Input or Output System (BIOS) program in a kind of network equipment and the upgrade method of mainframe program.
Background technology
At present, the network equipment quantity of moving in network is more, and distributed more widely, and is therefore also very big to the maintenance workload of each network equipment.For reducing maintenance cost, progressively adopt pattern to manage by the management of Network Management Equipment remote centralized for various network device.As shown in Figure 1, need concentrate or utilize network remote login (for example telnet) that far-end or local network device are carried out maintenance management by Network Management Equipment usually, to reduce maintenance and maintenance cost.The management of the network equipment is comprised updating and management to software programs such as the mainframe program in the network equipment, BIOS (Basic Input or Output System (BIOS)) programs.
Described bios program is the program of at first moving after the network equipment starts, and as shown in Figure 2, the reflection of this program burns in EEPROM (electricallyerasable ROM (EEROM)) usually, can call in during operation to move or reside among the EEPROM in the internal memory and move.The effect of BIOS mainly is that guiding device starts, its major function of finishing has initialization CPU (central processing unit) register, configuration CPU, and the initialization of system hardware (for example initialization of serial ports, network interface) etc., at last the mainframe program file [as FLASH (flash memory), hard disk] from nonvolatile memory of certain format is read, with the reflection graftabl appointed positions of program, and will give mainframe program to the control of the network equipment.
Mode and form that mainframe program leaves on the nonvolatile memory are various, for example preserve by compression or unpacked format, preserve and alternative document breaks into bag and preserves or the like with document form or non-document form, wherein compression algorithm and packing form also can be varied.The mainframe program that moves in the internal memory must be deposited by the runtime host program image, and the bios program on the network equipment must be that runtime images and being encased in the internal memory moves from a certain format conversion with mainframe program.
In network equipment operational process, may need upgrade to the mainframe program that moves in the network equipment because the increase of network equipment function changes or remedies corresponding defective.Mainframe program upgraded realize remote upgrade on the long-range nonvolatile memory that is loaded into the network equipment of mainframe program after upgrading by TFTP (TFTP) and FTP (file transfer protocol (FTP)) usually.Support remote upgrade to need the network equipment that functions such as Telnet, ftp server are provided, the bios program function is limited, can't realize these functions, and functions such as therefore corresponding Telnet, ftp server need realize in mainframe program usually.
That is to say, for realizing remote maintenance management and remote software upgrade at the network equipment, each network equipment need be realized TFTP or File Transfer Protocol and TELNET agreement in its mainframe program, the control command of Network Management Equipment is by the TELNET agreement operated from a distance network equipment, or NMS user is remotely logged on the network equipment by the various command remote operation apparatus.By TFTP or File Transfer Protocol, the mainframe program after NMS user will be upgraded is long-range to be loaded on the nonvolatile memory of equipment, and new mainframe program can override old mainframe program and preserve and also can preserve in addition.After the mainframe program upgrading, also need bios program can recognize new mainframe program if still can guarantee the normal operation of the network equipment, and after restarting the network equipment, mainframe program after will being upgraded by the bios program of the network equipment is encased in the internal memory and moves, and finishes the upgrading of host software.But owing to be subjected to the restriction of original mainframe program function, mainframe program that possibly can't long-range loading new is to nonvolatile memory, incompatible such as file system and the file system after the upgrading that original mainframe program is deposited, perhaps do not have file system originally and the aft engine program of upgrading has realized file system, information still needs deposit or the like by document form on the nonvolatile memory.
Even mainframe program is upgraded successfully; if mainframe program after the upgrading and original mainframe program location mode and form are incompatible; inconsistent such as compressed format; original bios program can't be discerned new mainframe program; will cause new mainframe program correctly can't being converted to runtime images is encased in the content and moves; therefore, for guaranteeing the mainframe program after bios program can be discerned upgrading, also need usually bios program is upgraded.At present, bios program is upgraded, the scene of need arriving is usually opened cover and is changed the BOOTROOM that is used to preserve bios program in the network equipment, this bios program upgrading mode wastes time and energy, upgrade cost is higher, and can't realize remote upgrade, can not satisfy the maintenance needs of centralized management.
Summary of the invention
Shortcoming in view of above-mentioned prior art existence, the upgrade method that the purpose of this invention is to provide a kind of Basic Input or Output System (BIOS) program and mainframe program, thereby make Basic Input or Output System (BIOS) program and mainframe program in the network equipment all can realize remote upgrade comparatively easily, and the program after can guaranteeing to upgrade all can normally be moved.
The objective of the invention is to be achieved through the following technical solutions:
The upgrade method of a kind of Basic Input or Output System (BIOS) program of the present invention and mainframe program comprises:
A, set up the Basic Input or Output System (BIOS) ROMPaq of difference between the mainframe program be used to handle after original mainframe program and the upgrading;
When B, network equipment startup, the described Basic Input or Output System (BIOS) ROMPaq of Basic Input or Output System (BIOS) routine call, and the mainframe program after the startup upgrading.
Described steps A also comprises:
A1, the mainframe program binding with described Basic Input or Output System (BIOS) ROMPaq and after upgrading.
Described steps A 1 comprises:
With the data field information binding of the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading, perhaps with the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading as the integrated binding of subroutine.
Described data field information binding with the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading further comprises:
Mainframe program after the upgrading that generates is in the same place with Basic Input or Output System (BIOS) ROMPaq code compile as the data of Basic Input or Output System (BIOS) ROMPaq, generate a Basic Input or Output System (BIOS) ROMPaq that includes the mainframe program after the upgrading, and described Basic Input or Output System (BIOS) ROMPaq need be deposited in the position of nonvolatile memory Central Plains mainframe program correspondence.
It is described that integrated binding further comprises as subroutine with the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading:
Mainframe program after compiling the Basic Input or Output System (BIOS) ROMPaq separately and upgrade respectively;
The executable instruction File Compress of two programs is become two son files;
The form of these two son files being pressed big APMB package synthesizes a big APMB package, and wherein the deposit position and the compressed format of Basic Input or Output System (BIOS) ROMPaq son file must be consistent with original host program son file.
Described Basic Input or Output System (BIOS) ROMPaq is the program consistent with the Basic Input or Output System (BIOS) program form.
Described step B comprises
When B1, network equipment startup, described Basic Input or Output System (BIOS) ROMPaq is called in the internal memory by the Basic Input or Output System (BIOS) program, and operation;
Mainframe program after B2, Basic Input or Output System (BIOS) ROMPaq will be upgraded is called in the internal memory and is moved.
Described step B1 also comprises:
After the Basic Input or Output System (BIOS) ROMPaq is finished hardware configuration to, the memory headroom that takies with mainframe program in the internal memory nonoverlapping position operation will self be copied;
And described step B2 comprises:
Mainframe program after the Basic Input or Output System (BIOS) ROMPaq will be upgraded is called in the memory headroom that mainframe program should take and is moved.
Described step B1 also comprises:
From the Basic Input or Output System (BIOS) ROMPaq brought into operation the process that self copy finishes, described Basic Input or Output System (BIOS) ROMPaq need be moved in the memory headroom that mainframe program takies.
Described step B1 also comprises:
From the Basic Input or Output System (BIOS) ROMPaq brings into operation the process that self copy finishes, do not use the instruction that contains relative address and realize.
In the upgrade method of described Basic Input or Output System (BIOS) program and mainframe program, when with the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading during as the integrated file of binding big packet form of subroutine, described step B1 comprises:
When the network equipment starts, read the head of the file of big packet form, and obtain the information of Basic Input or Output System (BIOS) ROMPaq son file in described file;
From described file, read out Basic Input or Output System (BIOS) ROMPaq son file, and separate and be pressed into the executable instruction file, be transferred in the internal memory mainframe program operation as former bios program.
The upgrade method of described Basic Input or Output System (BIOS) program and mainframe program comprises:
With long-range the sending in the network equipment of main program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading.
The upgrade method of described Basic Input or Output System (BIOS) program and mainframe program also comprises:
By original mainframe program in the network equipment with described Basic Input or Output System (BIOS) ROMPaq and the upgrading after mainframe program be stored in the nonvolatile memory of the network equipment.
By technical scheme that the invention described above provided as can be seen, realization of the present invention makes and just can realize the remote upgrade bios program under the situation of the BOOTROOM that need not change the network equipment, but also can be when the remote upgrade mainframe program, be not subjected to new and old mainframe program to leave restriction on the difference such as mode on the nonvolatile memory and form in.Therefore, the cost of upgrading BIOS program reduces greatly than the upgrading mode that prior art adopted among the present invention.Simultaneously, bios program and mainframe program all can remote upgrades, also significantly reduced the maintenance workload to described program.And the upgrading of mainframe program no longer is subjected to the restriction with the legacy version compatibility, like this, provides convenience for redaction realizes new function on the one hand, also provides possibility for old version remote upgrade on the other hand.
Description of drawings
Fig. 1 is a remote maintenance networking structure of the network synoptic diagram;
Fig. 2 is the operation synoptic diagram of bios program and mainframe program in the network equipment start-up course in the prior art;
Fig. 3 is the process flow diagram of method of the present invention;
Fig. 4 is the operation synoptic diagram one of bios program and mainframe program in the network equipment start-up course among the present invention:
Fig. 5 is the operation synoptic diagram two of bios program and mainframe program in the network equipment start-up course among the present invention:
Embodiment
Core of the present invention is to increase BIOS+ (Basic Input or Output System (BIOS) upgrading) program that is provided with in the network equipment, this program is used to realize the function that BIOS need upgrade and realize, comprise the mainframe program handled after the upgrading and the difference between original mainframe program, as location mode and stylistic difference etc., in addition also comprise and handle other new functions that need realize.
Described difference and new function comprise:
(1) the original host program directly leaves certain fixed address place of FLASH (flash memory) in, and during startup, bios program is directly moved in the internal memory to certain fixed position taking-up mainframe program of FLASH and moved; If as required, the position change that the mainframe program after the upgrading is deposited in FLASH, BIOS does not move if do not upgrade just can not correctly directly mainframe program be moved in the internal memory;
(2) former bios program is not realized the file management system function owing to be subjected to storage space ground restriction (it leaves among the BOOTROOM), and its Starting mode is to read the mainframe program operation to FLASH fixed address place; For the convenience file management, set up file system on FLASH now, mainframe program leaves in the file system, therefore, it is read and need be undertaken by the mode of operation of file system; Former like this bios program is if the mainframe program that just can not correctly read on the FLASH of not upgrading moves in internal memory;
(3) increase audit function if desired to mainframe program version licence, inconsistent if version sequence number of preserving in the mainframe program and operational outfit are preserved, will refuse to move mainframe program, and not have this function in the former bios program;
Comprise the multiple demand of above 3 kinds of demands in content, the present invention all can use a BIOS+ program and realize under the situation of not changing bios program.
The specific implementation of method of the present invention may further comprise the steps as shown in Figure 3:
Step 31: determine the mainframe program after the upgrading, set up the BIOS+ program, and this program is the program that original bios program can be discerned in the network equipment, thereby make that original bios program can be by the mainframe program after this BIOS+ procedure identification upgrading;
The program that described original bios program can be discerned is the program consistent with the form of original host program.
Step 32: the mainframe program after BIOS+ program and the upgrading is bound together, thereby be made into the file of the original host program form that original bios program can be discerned in the network equipment;
Wherein, the mainframe program binding mode after BIOS+ program and the upgrading can have multiple, for example the data field information of new mainframe program as the BIOS+ program can be bound together; If the original host program form is the integrated of a plurality of programs, BIOS+ program and new mainframe program can also be integrated by original form as subroutine; But need the principle of the binding followed to be in the binding procedure: former bios program can be discerned the BIOS+ program, and it can be encased in the operation of internal memory; Simultaneously, position that need the BIOS+ program is set to identical with the deposit position of original host program, so that former bios program can be carried out the BIOS+ program as the original host program;
With two kinds of concrete binding processing procedures is that example describes binding mode:
First kind of mode is for to bind together the data field information of new mainframe program as the BIOS+ program, be specially: make the mainframe program after the upgrading earlier, its form is not limited by former bios program, as long as the BlOS+ program can be discerned, mainframe program after the upgrading that will make as the code compile of the data (as an overall array) of BIOS+ program and BIOS+ program together then, be made into the executable instruction file, the BIOS+ program that promptly includes the mainframe program after the upgrading, thereby make former bios program can discern BIOS+ program after the binding and the mainframe program after the upgrading, simultaneously, also need to make the mainframe program deposit position after BIOS+ program and the upgrading after the binding identical with the deposit position of original host program;
The second way is for integrating as subroutine BIOS+ program and new mainframe program by original form, be specially: the mainframe program after compiling the BIOS+ program separately and upgrade at first respectively, and the executable instruction file of these two programs is compressed into two son files by certain compressed format, then with the file of these two son files by the synthetic big packet form of form of original big APMB package, wherein the deposit position of BIOS+ program son file and compressed format must be consistent with original host program son file, former like this bios program just can identify BIOS+ program son file, and can will read decompress(ion) and call in the internal memory as the original host program run.
Step 33: by original mainframe program in the network equipment (promptly the mainframe program before the upgrading) with on the long-range nonvolatile memory that is loaded in the network equipment of new program that is bound into of mainframe program after BIOS+ program and the upgrading, on FLASH (flash memory) or hard disk, so that the network equipment when starting, can be realized the updating operation at bios program and mainframe program;
Described loading can be long-range loading, also can then can realize long-range updating operation at bios program in the network equipment and mainframe program by long-range loading for this locality loads;
At this moment, for original bios program in the network equipment, the BIOS+ program can be equivalent to original mainframe program.
Step 34: when the network equipment restarts, original bios program is encased in the BIOS+ program in the internal memory and moves in the network equipment, as shown in Figure 4, at first the BIOS+ program is accessed from the FLASH/ hard disk and the RAM that packs into (random access memory) in, and move in the space of the original host program run of packing into;
Promptly in the BIOS+ program run, it at first finishes the function that bios program need be upgraded, handle new and old mainframe program (mainframe program after original mainframe program and the upgrading) then in location mode and stylistic difference, such as setting up file system, change location mode and the form etc. of new mainframe program on nonvolatile memory;
Mainframe program after the binding mode of mainframe program after described BIOS+ program and the upgrading is to upgrade is during as the data field information of BIOS+ program, because the position of BIOS+ program is identical with the original host program, therefore, directly according to original implementation, promptly the BIOS+ program can be called in internal memory and execution in this step;
When the binding mode of the mainframe program after described BIOS+ program and the upgrading integrates by the form of former bios program as subroutine for adopting, the concrete processing procedure of this step comprises: former bios program is handled mainframe program as one in the file of big packet form compression son file, when former bios program need call mainframe program and moves in internal memory, at first read the head of the file of big packet form, to obtain the position of mainframe program son file at the file of big packet form, information such as compressed format, from big APMB package, read out the mainframe program son file then and be pressed into the executable instruction file, be transferred in the internal memory and move by certain formal solution; In this step, former bios program be with the BIOS+ program as mainframe program, therefore, be transferred to the BIOS+ program in the file that the mainframe program that moves in the internal memory is described big packet form herein;
Like this,, carry out the function code that increases newly, can finish the new function that former bios program need increase, such as check to new mainframe program version licence in the BIOS+ program run stage; Handle new and old mainframe program then in location mode and stylistic difference, such as setting up file system, change location mode and the form of new mainframe program on nonvolatile memory, the mainframe program after will upgrading at last is encased in the internal memory and moves; For the mainframe program after the upgrading, the status of BIOS+ program and effect just are equivalent to the status and the effect of former bios program.
Step 35: finish the start-up course of which directs network equipment by the BIOS+ program, the mainframe program after the treated upgrading is encased in the space of mainframe program in the internal memory and moves;
That is to say that for the mainframe program after the upgrading, the BIOS+ program function is equivalent to former bios program function, promptly the mainframe program correspondence after BIOS+ program and the upgrading becomes through bios program and mainframe program after the upgrading;
Because original bios program has taken the space of mainframe program operation during with BIOS+ program graftabl, as shown in Figure 4, cause again the mainframe program after the upgrading to be encased in the space motion of the mainframe program of should packing in the internal memory, so the BIOS+ program needs to have the function that oneself is transported to a new memory headroom operation, thereby with a new space motion that oneself is transported in the internal memory, as shown in Figure 5, after the carrying, the BIOS+ program is in the space, high address in the internal memory, mainframe program after the upgrading is in the low order address space in the internal memory, as can be seen, finish at the updating operation of bios program in the network equipment and mainframe program.
Finish after the carrying copy function of BIOS+ program, in the BIOS+ program realizes, directly use function name to call and to jump to new memory address space operation; After the BIOS+ program run is intact, just can discerns and read out the mainframe program after the upgrading and be transferred in the internal memory and move, and no longer be subjected to the restriction of original bios program according to certain mode.
To the concrete processing procedure of carrying operation of BIOS+ program be described below:
Usually the program execution is depositing in sequence of follow procedure instruction, and its operation can be carried out relative redirect (promptly jumping to apart from the operation of present instruction somewhere) or absolute redirect (promptly jumping to certain fixed address place moves) according to carrying out different jump instructions.Among the present invention, the execution of programs of instructions of employing is the program of an absolute fix, that is to say that the destination address of the absolute jump instruction in this program is all definite, and this execution of programs of instructions must directly be loaded into specified location operation of internal memory; This assigned address, promptly the initial operation address of execution of programs of instructions is to be specified by the user when program compilation connects; The compiling connector of code is according to the initial operation of the target instruction target word of user's appointment address, and the programmed instruction of last generation is carried out absolute fix; When compiling connects the BIOS+ program, specifies the initial operation of a new target instruction target word address, make the memory headroom of BIOS+ instruction repertorie operation and memory headroom that mainframe program takies not overlapping, thereby guarantee that the BIOS+ program moves at a new address space.
Start address such as mainframe program operation is 0 * 1000, and the length of mainframe program is 0 * 40000, so we to specify the initial operation address of BIOS+ program be 0 * 45000, get final product greater than (0 * 1000+0 * 40000).When device start, former bios program is used as the BIOS+ program as mainframe program and is identified and be transferred to internal memory 0 * 1000 place operation, then during the BIOS+ program run, at first finish the basic configuration of hardware such as CPU, and then copy whole BIOS+ program image to 0 * 45000 place, jump to certain function place operation of BIOS+ program then.Because having specified initial operation address when compiling connects the BIOS+ program is 0 * 45000, so the later space, all absolute fixs to 0 of address * 45000 of inner all call functions of BIOS+ program.Instructing self copy to finish all instructions of preparing the redirect from first in the BIOS+ program must move original host program run space, promptly since the address space at 0 * 1000 place.This can not use relative address by all instructions of instructing self copy to finish to prepare the redirect (promptly bringing into operation self copy tailend from the BIOS+ program) from first and realizes, is the same because do not contain the result of the machine instruction of relative address where place, location operation in office.When writing this section code, to note wherein can not directly using function call, because the function call code can include the instruction of relative address after being compiled into machine instruction.
For example, copying instruction repertorie to 0 * 45000 function from 0 * 1000 and can adopt in following { } one section code to realize wherein, this section copy function code compile can not produce the instruction that comprises relative address after connecting, and the instruction after this section compiling connects can any position operation in internal memory.After finishing instruction self copy, calling the somewhere operation after a function jumps to copy at last, is 0 * 45000 owing to compile the start address of appointment when connecting, so the relative address that last function call is used is certain address with respect to 0 * 45000.
{
Unsigned int*uldestination=0 * initial the operation of 45000/*BIOS+ program address be 0 * 45000*/;
Unsigned int*ulsource=0 * initial the operation of 1000/* mainframe program address be 0 * 1000*/;
Unsigned int*uldstend=(0 * 45000+0 * 5000)/* BIOS+ program length be 0 * 5000*/;
while(uldestination<uldstend)
*uldestination++=*ulsource++;
}
(absEntry) (startType); / * jumps to relative 0 * 45000 absEntry function place operation,
AbsEntry is the function name of operation, and startType is for starting
Type parameter */
As can be seen, just can realize the BIOS+ program is copied to the function of new memory address space by the epimere instruction.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.

Claims (13)

1, the upgrade method of a kind of Basic Input or Output System (BIOS) program and mainframe program is characterized in that, comprising:
A, set up the Basic Input or Output System (BIOS) ROMPaq of difference between the mainframe program be used to handle after original mainframe program and the upgrading;
When B, network equipment startup, the described Basic Input or Output System (BIOS) ROMPaq of Basic Input or Output System (BIOS) routine call, and the mainframe program after the startup upgrading.
2, the upgrade method of Basic Input or Output System (BIOS) program according to claim 1 and mainframe program is characterized in that, described steps A also comprises:
A1, the mainframe program binding with described Basic Input or Output System (BIOS) ROMPaq and after upgrading.
3, the upgrade method of Basic Input or Output System (BIOS) program according to claim 2 and mainframe program is characterized in that, described steps A 1 comprises:
With the data field information binding of the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading, perhaps with the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading as the integrated binding of subroutine.
4, the upgrade method of Basic Input or Output System (BIOS) program according to claim 3 and mainframe program is characterized in that, described data field information binding with the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading further comprises:
Mainframe program after the upgrading that generates is in the same place with Basic Input or Output System (BIOS) ROMPaq code compile as the data of Basic Input or Output System (BIOS) ROMPaq, generate a Basic Input or Output System (BIOS) ROMPaq that includes the mainframe program after the upgrading, and described Basic Input or Output System (BIOS) ROMPaq need be deposited in the position of nonvolatile memory Central Plains mainframe program correspondence.
5, the upgrade method of Basic Input or Output System (BIOS) program according to claim 3 and mainframe program, it is characterized in that described integrated binding further comprises as subroutine with the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading:
Mainframe program after compiling the Basic Input or Output System (BIOS) ROMPaq separately and upgrade respectively;
The executable instruction File Compress of two programs is become two son files;
The form of these two son files being pressed big APMB package synthesizes a big APMB package, and wherein the deposit position and the compressed format of Basic Input or Output System (BIOS) ROMPaq son file must be consistent with original host program son file.
6, the upgrade method of Basic Input or Output System (BIOS) program according to claim 1 and mainframe program is characterized in that, described Basic Input or Output System (BIOS) ROMPaq is the program consistent with the Basic Input or Output System (BIOS) program form.
7, according to the upgrade method of claim 1,2,3,4,5 or 6 described Basic Input or Output System (BIOS) programs and mainframe program, it is characterized in that described step B comprises
When B1, network equipment startup, described Basic Input or Output System (BIOS) ROMPaq is called in the internal memory by the Basic Input or Output System (BIOS) program, and operation;
Mainframe program after B2, Basic Input or Output System (BIOS) ROMPaq will be upgraded is called in the internal memory and is moved.
8, the upgrade method of Basic Input or Output System (BIOS) program according to claim 7 and mainframe program is characterized in that, described step B1 also comprises:
After the Basic Input or Output System (BIOS) ROMPaq is finished hardware configuration to, the memory headroom that takies with mainframe program in the internal memory nonoverlapping position operation will self be copied;
And described step B2 comprises:
Mainframe program after the Basic Input or Output System (BIOS) ROMPaq will be upgraded is called in the memory headroom that mainframe program should take and is moved.
9, the upgrade method of Basic Input or Output System (BIOS) program according to claim 8 and mainframe program is characterized in that, described step B1 also comprises:
From the Basic Input or Output System (BIOS) ROMPaq brought into operation the process that self copy finishes, described Basic Input or Output System (BIOS) ROMPaq need be moved in the memory headroom that mainframe program takies.
10, the upgrade method of Basic Input or Output System (BIOS) program according to claim 8 and mainframe program is characterized in that, described step B1 also comprises:
From the Basic Input or Output System (BIOS) ROMPaq brings into operation the process that self copy finishes, do not use the instruction that contains relative address and realize.
11, the upgrade method of Basic Input or Output System (BIOS) program according to claim 7 and mainframe program, it is characterized in that, when with the mainframe program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading during as the integrated file of binding big packet form of subroutine, described step B1 comprises:
When the network equipment starts, read the head of the file of big packet form, and obtain the information of Basic Input or Output System (BIOS) ROMPaq son file in described file;
From described file, read out Basic Input or Output System (BIOS) ROMPaq son file, and separate and be pressed into the executable instruction file, be transferred in the internal memory mainframe program operation as former bios program.
12, according to the upgrade method of claim 1,2,3,4,5 or 6 described Basic Input or Output System (BIOS) programs and mainframe program, it is characterized in that this method comprises:
With long-range the sending in the network equipment of main program after described Basic Input or Output System (BIOS) ROMPaq and the upgrading.
13, the upgrade method of Basic Input or Output System (BIOS) program according to claim 12 and mainframe program is characterized in that, this method also comprises:
By original mainframe program in the network equipment with described Basic Input or Output System (BIOS) ROMPaq and the upgrading after mainframe program be stored in the nonvolatile memory of the network equipment.
CN 200410075305 2004-08-27 2004-08-27 Basic inputting and outputting system program and primary machine program staging method Pending CN1740971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410075305 CN1740971A (en) 2004-08-27 2004-08-27 Basic inputting and outputting system program and primary machine program staging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410075305 CN1740971A (en) 2004-08-27 2004-08-27 Basic inputting and outputting system program and primary machine program staging method

Publications (1)

Publication Number Publication Date
CN1740971A true CN1740971A (en) 2006-03-01

Family

ID=36093373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410075305 Pending CN1740971A (en) 2004-08-27 2004-08-27 Basic inputting and outputting system program and primary machine program staging method

Country Status (1)

Country Link
CN (1) CN1740971A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214106A (en) * 2010-04-08 2011-10-12 三星电子(中国)研发中心 Automatic dual-system guide method of embedded device
CN102316073A (en) * 2010-06-30 2012-01-11 鸿富锦精密工业(深圳)有限公司 Method for achieving UEFI (unified extensible firmware interface) BIOS (basic input output system) remote upgrade by utilizing sever and server
CN104281443A (en) * 2013-07-12 2015-01-14 重庆重邮信科通信技术有限公司 Methods for implementing code and data replacement by TCM (tightly coupled memory)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214106A (en) * 2010-04-08 2011-10-12 三星电子(中国)研发中心 Automatic dual-system guide method of embedded device
CN102214106B (en) * 2010-04-08 2014-03-26 三星电子(中国)研发中心 Automatic dual-system guide method of embedded device
CN102316073A (en) * 2010-06-30 2012-01-11 鸿富锦精密工业(深圳)有限公司 Method for achieving UEFI (unified extensible firmware interface) BIOS (basic input output system) remote upgrade by utilizing sever and server
CN104281443A (en) * 2013-07-12 2015-01-14 重庆重邮信科通信技术有限公司 Methods for implementing code and data replacement by TCM (tightly coupled memory)
CN104281443B (en) * 2013-07-12 2020-06-26 锐迪科(重庆)微电子科技有限公司 Method for realizing code and data replacement by using TCM (trusted cryptography module)

Similar Documents

Publication Publication Date Title
CN1291313C (en) System and method for the automatic installation and configuration of an operating system
CN1302381C (en) Method and appts for automatic matching, setting and spreading small microsoft windows applied program for calculating equipment
CN1577271A (en) System and method for intra-package delta compression of data
CN100343807C (en) Upgrading method for Boot software and recovering method for Boot software
CN101425018A (en) Embedded firmware upgrading method and device based on sectional form
CN1928825A (en) Server implementing method and server system
WO2012142798A1 (en) Method and apparatus for loading application program
CN1918932A (en) Updating of the preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card.
CN105278999A (en) Safe and efficient method for deploying virtual machine software
CN114816417B (en) Cross compiling method, device, computing equipment and storage medium
US9141400B2 (en) Technique for deploying operating systems in a virtualized environment
CN100343808C (en) Method for realizing embedded system run based on start loading programme
CN1617496A (en) Method for automaticall updating configuration for next generation network terminal
EP1866758A2 (en) Method, system and apparatus for launching an interface with an electronic device
CN1178131C (en) Modular system and method of updating application software in execution
CN1696910A (en) Efficient software patching
CN1313925C (en) Construction member self description packaging method and method of operation
CN1740971A (en) Basic inputting and outputting system program and primary machine program staging method
CN1892597A (en) Method for renewing hand-held device operation function through insert-and-use storage device
CN1295601C (en) Time-optimized replacement of software application
CN1786910A (en) BIOS on-line upgrading method
CN1928821A (en) Online updating method for electronic appliances
CN1811709A (en) Infinite update method and apparatus for operating system in hand-held equipment
CN1238211C (en) Flush operating system startup method for vehicle apparatus
CN1968098A (en) Method for configuring network element device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication