CN102819444A - Method and system for loading program in base station - Google Patents

Method and system for loading program in base station Download PDF

Info

Publication number
CN102819444A
CN102819444A CN2012103089766A CN201210308976A CN102819444A CN 102819444 A CN102819444 A CN 102819444A CN 2012103089766 A CN2012103089766 A CN 2012103089766A CN 201210308976 A CN201210308976 A CN 201210308976A CN 102819444 A CN102819444 A CN 102819444A
Authority
CN
China
Prior art keywords
program
boot
starts
main
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103089766A
Other languages
Chinese (zh)
Other versions
CN102819444B (en
Inventor
牛宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Haiyun Technology Co ltd
Original Assignee
New Postcom Equipment 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 New Postcom Equipment Co Ltd filed Critical New Postcom Equipment Co Ltd
Priority to CN201210308976.6A priority Critical patent/CN102819444B/en
Publication of CN102819444A publication Critical patent/CN102819444A/en
Application granted granted Critical
Publication of CN102819444B publication Critical patent/CN102819444B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for loading a program in a base station. The method comprises the following steps of: storing a master start guide program and a backup start guide program; determining a start guide program address through a start source when the reset is started, and loading the master start guide program according to an address of the master start guide program; and loading the backup start guide program according to an address of the backup start guide program if the master start guide program is unsuccessfully loaded. According to the method, the problem that the whole board collapses because the start guide program is destroyed can be solved.

Description

The method and system of loading procedure in a kind of base station
Technical field
The present invention relates to the communications field, the method and system of loading procedure in particularly a kind of base station.
Background technology
In the applied environment of wireless access network, base station system all is arranged in independent machine room, and how far from the work working environment, so field maintemance is not too convenient.
For guaranteeing the stable operation of base station system, adopted the mode of double copies to carry out version protection design to system program and application program.Promptly, in the time of can't normally moving, can reload backup version, carry out system's operation with backup version when this run-time error of key plate.In the prior art scheme, mainly to kernel reflection, file system, other various application programs, application program comprises software and firmware (software of curing writes the program in the programmable read only memory), carries out the double copies storage.In program run: the execution key plate fatal mistake of kernel reflection startup operation appearance originally will be videoed with the backup version kernel and restarted; Execution key plate file system originally loads failure and will reload with the file system of backup version, and the types of applications program start loading originally of execution key plate fatal mistake occurs and will reload operation with the corresponding types of applications program of backup version.
But; There is not to realize version backup protection in the prior art to the startup boot (boot) of operating system; In case starting boot is destroyed; Direct result is whole integrated circuit board collapse, can only artificially change integrated circuit board or plug integrated circuit board to machine room to start boot with the replication tool programming again.
Summary of the invention
The invention provides the method and system of loading procedure in a kind of base station, destroyed to solve owing to starting boot, and the problem that causes whole integrated circuit board to collapse.
The invention discloses the method for loading procedure in a kind of base station, said method comprises:
The main boot that starts of storage starts boot with backup;
Reset when starting, load the main boot that starts according to the main address that starts boot;
If the main boot program loads that starts is failed, then the address according to backup startup boot loads backup startup boot.
Preferable, said address according to main startup boot loads the main boot that starts and specifically comprises:
In effective period, the loaded with hardware configuration words from master reset configuration words source navigates to the main bootstrap address that starts, and loads the main boot that starts by said address in reset signal.
Preferable, saidly in effective period, behind the loaded with hardware configuration words of master reset configuration words source, also comprise in reset signal:
When reset signal is all invalid, the input signal in reset configuration words source is switched to the used signal in backup reset configuration words source;
If the said main boot program loads that starts is failed, then load backup startup boot and specifically comprise according to the address of backing up the startup boot:
If the main boot program loads that starts is failed, when starting once more, will start bootstrap address from backing up reset configuration words source loaded with hardware configuration words, navigate to back up when resetting, back up the startup boot by the loading of said address.
Preferable, said master's startup bootstrap address that navigates to, by also comprising after the main startup of the said address loading boot:
If load the main boot success that starts by the main bootstrap address that starts, then the input signal with the reset configuration words source reverts to the used signal in master reset configuration words source.
Preferable, said method also comprises:
The minimum program of application storing, said minimum program is communicated by letter with far-end server for making the base station, safeguards and/or upgrade the program of application program;
Through loading minimum program, communicate by letter with far-end server, realize the maintenance and/or the renewal of application program.
Preferable, said method also comprises:
Storage space is divided into the erasable reserved area of use specific command word and uses the erasable general areas of generic command word;
To lead startup boot, backup startup boot and system program and be stored in reserved area;
With application program and file storage in general areas.
Preferable, said method also comprises:
The master routine of application storing and stand-by program;
Said passing through loads minimum program, communicates by letter with far-end server, safeguards and/or upgrade application program specifically to comprise:
When the loading system program, the master routine of loading system program is if load failure, the then stand-by program of loading system program;
When the master routine of loading application programs and stand-by program are all failed, then load minimum program, communicate by letter with far-end server through minimum program, realize the maintenance and/or the renewal of application program.
The invention also discloses the system of loading procedure in a kind of base station, said system comprises:
Memory module is used to store the main boot that starts and starts boot with backup;
The master routine load-on module is used to reset when starting, and loads the main boot that starts according to the main address that starts boot;
The stand-by program load-on module is used for when main startup boot program loads is failed, and loads according to the address of backing up the startup boot and backs up the startup boot.
Preferable; Said master routine load-on module mainly specifically is used for when starting boot loading according to the main address that starts boot: in reset signal in effective period; The loaded with hardware configuration words from master reset configuration words source; Navigate to the main bootstrap address that starts, load the main boot that starts by said address.
Preferable, said master routine load-on module also is used for: when reset signal is all invalid, the input signal in reset configuration words source is switched to the used signal in backup reset configuration words source;
Said stand-by program load-on module specifically is used for: if the main boot program loads that starts is failed; When starting once more when resetting; The loaded with hardware configuration words from backup reset configuration words source navigates to backup and starts bootstrap address, loads backup by said address and starts boot.
Preferable, said master routine load-on module also is used for: if load the main boot success that starts by the main bootstrap address that starts, then the input signal with the reset configuration words source reverts to the used signal in master reset configuration words source.
Preferable, memory module also is used for: the minimum program of application storing, and said minimum program is communicated by letter with far-end server for making the base station, safeguards and/or upgrade the program of application program;
Said system also comprises:
Minimum program load-on module is used for communicating by letter with far-end server through loading minimum program, realizes the maintenance and/or the renewal of application program.
Preferable, memory module also is used for: storage space is divided into uses the erasable reserved area of specific command word and use the erasable general areas of generic command word; To lead startup boot, backup startup boot and system program and be stored in reserved area; With application program and file storage in general areas.
The invention has the beneficial effects as follows: the present invention starts boot through the main boot that starts of storage with backup; Reset when starting; The main boot that starts loads the main boot that starts according to the main address that starts boot, starts, if can't normally start; Then start the address loading backup startup boot of boot, start according to backup; Can carry out double copies to starting boot, when the startup of main startup boot is failed, can use the backup boot to accomplish startup, avoid owing to the startup boot is destroyed, and caused whole integrated circuit board collapse.
Description of drawings
Fig. 1 is the process flow diagram that loads the method that starts boot in the embodiment of the invention one.
Fig. 2 is the process flow diagram that loads the method exemplary illustration that starts boot in the embodiment of the invention one.
Fig. 3 is the data flow diagram that loads the method exemplary illustration that starts boot in the embodiment of the invention one.
Fig. 4 is the process flow diagram of storage medium subregion in the method for loading procedure in the embodiment of the invention two.
Fig. 5 is the synoptic diagram of the exemplary illustration of storage medium subregion in the method for loading procedure in the embodiment of the invention two.
Fig. 6 is the process flow diagram of exemplary illustration in the method for loading application programs in the embodiment of the invention three.
Fig. 7 is the synoptic diagram of exemplary illustration in the method for loading application programs in the embodiment of the invention four.
Fig. 8 is the structural drawing that loads the system of boot in the embodiment of the invention five.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
Embodiment one
Referring to Fig. 1, be the process flow diagram of the method for the loading procedure that provides in the embodiment of the invention one.
Load starting boot in the present embodiment, specifically comprise the steps.
Step S100, the main boot that starts of storage starts boot with backup.
Step S200 resets when starting, and loads the main boot that starts according to the main address that starts boot.
Step S300, if the main boot program loads that starts is failed, then the address according to backup startup boot loads backup startup boot.
Be used to guide the entering system owing to start boot; To its can't application system in function realize the switching between key plate this and backup version, it can't adopt, and switching mode realizes switching between key plate this and the backup version of system program of the prior art and application program.
Further; Saidly load the main boot that starts according to the main address that starts boot and specifically comprise: in reset signal in effective period; The loaded with hardware configuration words from master reset configuration words source navigates to the main bootstrap address that starts, and loads the main boot that starts by said address.Resetting in effective period comprises: electrification reset, hardware reset and software reset.
Further, saidly in effective period, behind the loaded with hardware configuration words of master reset configuration words source, also comprise: when reset signal is all invalid, the input signal in reset configuration words source is switched to the used signal in backup reset configuration words source in reset signal.Can the input signal in reset configuration words source be switched to the used signal in backup reset configuration words source through selecting peripheral circuit.
If the said main boot program loads failure that starts; The address loading backup startup boot that starts boot according to backup specifically comprises: if the main boot program loads that starts is failed; When starting once more when resetting; The loaded with hardware configuration words from backup reset configuration words source navigates to backup and starts bootstrap address, loads backup by said address and starts boot.
Further; Said master's startup bootstrap address that navigates to; By also comprising after the main startup of the said address loading boot: start the boot success if load the master by main startup bootstrap address, then the input signal with the reset configuration words source reverts to the used signal in master reset configuration words source.Can revert to the used signal in master reset configuration words source through the input signal that IO (input and output) are provided with the reset configuration words source.
Referring to Fig. 2, for loading the process flow diagram of the method exemplary illustration that starts boot in the embodiment of the invention one.
In this exemplary embodiment, load the method that starts boot and comprise the steps.
Step S201, the main boot that starts of storage starts boot with backup.
Step S202 confirms that reset signal comes into force.
Step S203, the loaded with hardware configuration words from master reset configuration words source is confirmed the main bootstrap address that starts.
As shown in Figure 3, microprocessor is confirmed the main bootstrap address that starts according to the input signal in reset configuration words source.
Step S204 confirms that reset signal is invalid.
Step S205 switches to the used signal in backup reset configuration words source with the input signal in reset configuration words source.
At this moment, the reset configuration words source switches to backup reset configuration words source from master reset configuration words source.
Step S206 loads the main boot that starts by the main bootstrap address that starts.
As shown in Figure 3, microprocessor loads the main boot that starts according to the main bootstrap address of confirming that starts from flash memory.
Step S207 judges whether the main boot that starts loads success, if, execution in step S208, otherwise, execution in step S209.
Step S208 reverts to the used signal in master reset configuration words source with the input signal in reset configuration words source.
At this moment, the reset configuration words source reverts to master reset configuration words source.
Step S209, the input signal in hold reset configuration words source is the used signal in backup reset configuration words source, starting boot with backup is the main boot that starts.
Through this step, starting boot with the backup among Fig. 3 is the main boot that starts in the follow-up executable operations.
Step S210 resets and restarts, execution in step S202.
In the explanation of this illustrative embodiments; If the main boot program loads that starts is failed; After then passing through above-mentioned switching, reset once more after the startup, will load master reset configuration words (being former backup reset configuration words); Thereby confirm the main bootstrap address (being that former backup starts bootstrap address) that starts, start from the main bootstrap address that starts.So far, accomplishing once active and standby startup boot switches.
Embodiment two
In the prior art, exist permanent storage media file to lose the risk that the back system can't normally move.In the prior art; Because the requirement of mobile operator; To all kernel reflections, file system and other various application programs of base station, master routine and the stand-by program that comprises software document and firmware file all requires scalable, therefore; Deposit the corresponding block (such as flash memory) of permanent storage media of these programs, all requirement can be wiped and can be write.And permanent storage media of the prior art all is to wipe afterwards to write earlier by block operations to carry out file storage.Therefore, in the program updates process, may owing to program erasable when unusual or erasable situation such as abnormal electrical power supply cause some files to be lost, particularly master program file and stand-by program file all have when losing, and can cause system normally to start and to move.
In addition, the risk that in the normal course of operation of base station, also exists stored programme to lose.Because in the operational process of base station; Need carry out corresponding file write information operation (such as preserving relevant configuration information and log information etc.) to the permanent storage media; In case write error occurs or when writing under the situation such as abnormal electrical power supply, other some important procedure may be lost simultaneously.
Fig. 4 is the process flow diagram of storage medium subregion in the method for loading procedure in the embodiment of the invention two.Method also comprises the steps except that above-mentioned steps in the embodiment of the invention two.
Step S410 is divided into storage space the erasable reserved area of use specific command word and uses the erasable general areas of generic command word.
Step S420 will lead startup boot, backup startup boot and system program and be stored in reserved area.
Step S430, with application program and file storage in general areas.
Further, said system program comprises: kernel map program and file system program.
Further, said file comprises: move the required configuration file and the journal file of generation in service.
Said method also comprises: main startup boot, backup to storage start the master routine of boot, kernel reflection, stand-by program, the master routine of file system and the stand-by program of file system of kernel reflection, with the reserved area subregion.
The corresponding program of each subregion storage.
Further, said method also comprises: to the master routine and the stand-by program of the application of storing, and move used file, with the general areas subregion;
Corresponding program or the file of each subregion storage.
Referring to Fig. 5, be the synoptic diagram of the exemplary illustration of storage medium subregion in the method for loading procedure in the embodiment of the invention two.
Permanent storage media partition protecting technical scheme is described below, and is that embodiment explains with FLASH.
Be divided in the FLASH subregion:
Operating system partition comprises: main boot partition holding, backup startup boot partition holding, main kernel reflection partition holding, backup kernel reflection partition holding, host file system partition holding, the backup file system partition holding of starting.
The application memory subregion comprises: types of applications software and firmware master routine partition holding, types of applications software and firmware stand-by program partition holding, the minimum procedure stores subregion of all kinds of softwares and firmware.
The alternative document partition holding comprises: log store subregion, configuration file stores subregion.
The operating system partition division is described below said.
The main boot partition holding that starts: be used to deposit the main boot that starts.
Backup starts the boot partition holding: be used to deposit backup and start boot.
Main kernel reflection partition holding: the master routine that is used to deposit the kernel reflection.
Backup kernel reflection partition holding: the stand-by program that is used to deposit the kernel reflection.
Host file system partition holding: the master routine that is used for the store files system.
Backup file system partition holding: the stand-by program that is used for the store files system.
Operating system is that system normally moves the basic of startup, and therefore, cannot be random this zone be upgraded wiped.For avoiding wiping because of the renewal that maloperation is carried out, special erasable to the erasable definition specific command of the renewal in this zone, being different from general erasable order, thereby avoid because maloperation causes stored programly losing and damaging.
The division of application memory subregion is described below said.
Types of applications software and firmware master routine partition holding: be used to deposit the master routine of application software and firmware, the master routine of other application software.
Types of applications software and firmware stand-by program partition holding: be used to deposit application software and firmware stand-by program, other application software stand-by program.
The minimum procedure stores subregion of types of applications software and firmware: be used to deposit the minimum program of application software and firmware, the minimum program of other application software and firmware.
Minimum program is communicated by letter with far-end server for making the base station, realizes the program of application maintenance and/or renewal.
Wherein, divide independent partitions, the losing or damage of software of avoiding causing and firmware program because of maloperation or other abnormal conditions to other subregion for every type of application software and firmware.
The alternative document partition holding is described below.
Log store subregion: be used to deposit all kinds of journal files that operational process produces.
Configuration file stores subregion: be used for storage system and start and dispose all kinds of living documents that required configuration file and operational process produce.
Because log store and configuration file etc. often relate to the read-write operation of FLASH; In the time of may or writing owing to write error under the situation such as abnormal electrical power supply; Cause losing file or destroy the probability of file bigger; Therefore with its single-row being placed in the independent partitions, even the erasable normal startup operation that causes file destroyed also can not influence system.
Embodiment three
In practical application, the base station often is in remote, is difficult in the environment of near-end operation.In the prior art, use master routine and the stand-by program that adopts software and firmware in the base station, two version patterns, unusual situation appears in reply.But in the application of reality, still the phenomenon that master routine and stand-by program all are destroyed or lose can occur, system can't realize recovering voluntarily, causes system can't normally start operation.
For addressing the above problem, method also comprises the steps except that above-mentioned steps among the embodiment three.
The minimum program of application storing, said minimum program is communicated by letter with far-end server for making the base station, realizes the program of application maintenance and/or renewal.
Through loading minimum program, communicate by letter with far-end server, thus the maintenance and/or the renewal of realization application program.
Further, the master routine of application storing and stand-by program.
When the loading system program, the master routine of loading system program is if load failure, the then stand-by program of loading system program.
When the master routine of loading application programs and stand-by program were all failed, then the minimum program of loading application programs was communicated by letter with far-end server through minimum program, realizes the maintenance and/or the renewal of application program.
When keeping the software of using and the two version patterns of firmware master routine, software and firmware stand-by program, increase the minimum program of software and firmware.To guarantee that software and firmware master routine and stand-by program all occur under the unusual situation, still can normal load.
Because the permanent storage space of base station is limited, so that minimum program requires to realize is simple, the least possible permanent storage space that takies.Minimum program only need provide network service, and can realize through network operation and/or upgrade application program getting final product.
Referring to Fig. 6, be the process flow diagram of exemplary illustration in the method for loading application programs in the embodiment of the invention three.
Step S601, the os starting that powers on is accomplished.
Step S602, the load software master routine.
Step S603 judges that software main program loads whether success, if, execution in step S605 then, otherwise, execution in step S604.
Step S604, the load software stand-by program.
Step S604A judges that the software backup program loads whether success, if, execution in step S605 then, otherwise, execution in step S604B.
Step S604B, the minimum program of load software.
Step S604C judges that the minimum program of software loads whether success, if, execution in step S605 then, otherwise, execution in step S611.
Step S605, the loading firmware master routine.
Step S606 judges that the firmware master routine loads whether success, if, execution in step S608 then, otherwise, execution in step S607.
Step S607, the loading firmware stand-by program.
Step S607A judges whether the firmware stand-by program loads successful, if success, execution in step S608, otherwise, execution in step S607B.
Step S607B, the minimum program of loading firmware, execution in step S607C.
Step S607C judges that the minimum program of firmware loads whether success, if, execution in step S608 then, otherwise execution in step S611.
Step S608 realizes network service.
Step S609 judges whether network service is normal, if, execution in step S610 then, otherwise execution in step S610C.
Step S610 realizes the maintenance and/or the renewal of application program through network service.
Step S610A judges the maintenance of application program and/or upgrades whether success, if success, execution in step S610B then, otherwise, execution in step S610C.
Step S610B, the integrated circuit board startup new procedures that resets.
Step S610C, integrated circuit board reset to restart and carry out application maintenance and/or renewal.
Step S611 changes integrated circuit board or near-end maintaining.
To sum up, all start failure, then can realize network service, carry out far-end version updating and/or maintenance through network, the recovery system startup through the minimum program start of application software and firmware like the master routine and the stand-by program of application software or firmware.Then can only recover to start like application software and the minimum program start failure of firmware through changing integrated circuit board or near-end maintaining.
Minimum program can make the base station more healthy and stronger, and stronger self-recovery ability is arranged.The appearance of having avoided changing situation such as integrated circuit board or near-end maintaining of lower limit.
Embodiment four
Two version patterns of master routine and stand-by program are provided in the present embodiment; Storage master routine and stand-by program in the permanent storage media; If damaging or losing the normal startup that also can realize system through stand-by program appears in master routine, need not to change integrated circuit board or near-end maintaining.Therefore, provided by the invention pair of version pattern more hanged down the generation of having avoided changing integrated circuit board and near-end maintaining situation on the limit.
In permanent storage media operating system zone is that the master starts boot and backup startup boot division partition holding, is that kernel reflection master routine and stand-by program, file system master routine and stand-by program are divided partition holding simultaneously.During system start-up, load master reset configuration words source, thereby load the main boot that starts.If the main boot program loads that starts is failed, the reset configuration words source switches to backup reset configuration words source.System reset loads backup reset configuration words source, starts boot thereby load backup, realizes system start-up.
Referring to Fig. 7, be the synoptic diagram of exemplary illustration in the method for loading application programs in the embodiment of the invention four.
Step S701 powers on.
Step S702, the startup that resets loads master reset configuration words source.
Step S703 loads the main boot that starts.
Step S704 judges whether the main boot that starts loads success, if, execution in step S706 then, otherwise, execution in step S705.
Step S705 switches to backup and starts boot, execution in step S705A.
Step S705A judges that backup starts boot and whether loads success, if execution in step S706 then, otherwise, execution in step S718.
Step S706, the master routine of loading kernel mappings.
Step S707 judges whether the master routine of kernel mappings loads success, if, execution in step S709 then, otherwise, execution in step S708.
Step S708, the stand-by program of loading kernel mappings, execution in step S708A.
Step S708A, whether the stand-by program of kernel mappings loads success, if, execution in step S709 then, otherwise, execution in step S718.
Step S709, the master routine of load document system.
Step S710 judges whether the master routine of file system loads success, if, execution in step S712 then, otherwise, execution in step S711.
Step S711, the stand-by program of load document system.
Step S711A judges whether the stand-by program of file system loads success, if, execution in step S712 then, otherwise, execution in step S718.
Step S712, the load software master routine.
Step S713 judges that software main program loads whether success, if, execution in step S715 then, otherwise, execution in step S714.
Step S714, the stand-by program of load software.
Step S714A judges whether the stand-by program of software loads success, if, execution in step S715 then, otherwise, execution in step S714B.
Step S714B, the minimum program of load software.
Step S714C judges whether the minimum program of software loads success, if, execution in step S715 then, otherwise, execution in step S718.
Step S715, the master routine of loading firmware.
Step S716 judges whether the master routine of firmware loads success, if, execution in step S719 then, otherwise, execution in step S717.
Step S717, the stand-by program of loading firmware.
Step S717A judges that the firmware stand-by program loads whether success, if, execution in step S719 then, otherwise, execution in step S717B.
Step S717B, the minimum program of loading firmware.
Step S717C, the minimum program of judging firmware loads whether success, if, execution in step S719 then, otherwise, execution in step S718.
Step S718 changes integrated circuit board or near-end maintaining.
Step S719, system start-up is accomplished.
The design that starts active and standby pair of version pattern of boot has strengthened the self-recovery ability of base station, the MIN appearance of avoiding changing integrated circuit board and near-end maintaining situation.
In addition; Losing or damage for the operating system version avoiding causing because of maloperation; Special be operating system version division independent partitions, and be that the erasable definition specific command of renewal in this zone is erasable, to avoid losing or the generation of damaged condition of operating system version as far as possible.
The invention discloses the system of loading procedure in a kind of base station, as shown in Figure 8.
Said system comprises:
Memory module 100 is used to store the main boot that starts and starts boot with backup;
Master routine load-on module 200 is used to reset when starting, and loads the main boot that starts according to the main address that starts boot;
Stand-by program load-on module 300 is used for when main startup boot program loads is failed, and loads according to the address of backing up the startup boot and backs up the startup boot.
Further; Said master routine load-on module 200 mainly specifically is used for when starting boot loading according to the main address that starts boot: in reset signal in effective period; The loaded with hardware configuration words from master reset configuration words source; Navigate to the main bootstrap address that starts, load the main boot that starts by said address.
Further, said master routine load-on module 200 also is used for: when reset signal was all invalid, then the input signal with the reset configuration words source switched to the used signal in backup reset configuration words source;
Said stand-by program load-on module 300 specifically is used for: if the main boot program loads that starts is failed; When starting once more when resetting; The loaded with hardware configuration words from backup reset configuration words source navigates to backup and starts bootstrap address, loads backup by said address and starts boot.
Further, said master routine load-on module 200 also is used for: if load the main boot success that starts by the main bootstrap address that starts, then the input signal with the reset configuration words source reverts to the used signal in master reset configuration words source.
Further, said memory module 100 also is used for: the minimum program of application storing, and said minimum program is communicated by letter with far-end server for making the base station, safeguards and/or upgrade the program of application program;
Said system also comprises:
Minimum program load-on module is used for communicating by letter with far-end server through loading minimum program, realizes the maintenance and/or the renewal of application program.
Further, said memory module 100 also is used for: storage space is divided into uses the erasable reserved area of specific command word and use the erasable general areas of generic command word; To lead startup boot, backup startup boot and system program and be stored in reserved area; With application program and file storage in general areas.
Further, said memory module 100 also is used for the master routine and the stand-by program of application storing;
Said minimum program load-on module specifically is used for: when the loading system program, the master routine of loading system program is if load failure, the then stand-by program of loading system program; When the master routine of loading application programs and stand-by program are all failed, then load minimum program, communicate by letter with far-end server through minimum program, carry out the maintenance and/or the renewal of application program.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All any modifications of within spirit of the present invention and principle, being done, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (13)

1. the method for loading procedure in the base station is characterized in that said method comprises:
The main boot that starts of storage starts boot with backup;
Reset when starting, load the main boot that starts according to the main address that starts boot;
If the main boot program loads that starts is failed, then the address according to backup startup boot loads backup startup boot.
2. method according to claim 1 is characterized in that,
Said address according to main startup boot loads the main boot that starts and specifically comprises:
In effective period, the loaded with hardware configuration words from master reset configuration words source navigates to the main bootstrap address that starts, and loads the main boot that starts by said address in reset signal.
3. method according to claim 2 is characterized in that,
Saidly in effective period, behind the loaded with hardware configuration words of master reset configuration words source, also comprise in reset signal:
When reset signal is all invalid, the input signal in reset configuration words source is switched to the used signal in backup reset configuration words source;
If the said main boot program loads that starts is failed, then load backup startup boot and specifically comprise according to the address of backing up the startup boot:
If the main boot program loads that starts is failed, when starting once more, will start bootstrap address from backing up reset configuration words source loaded with hardware configuration words, navigate to back up when resetting, back up the startup boot by the loading of said address.
4. method according to claim 2 is characterized in that,
Said master's startup bootstrap address that navigates to, by also comprising after the main startup of the said address loading boot:
If load the main boot success that starts by the main bootstrap address that starts, then the input signal with the reset configuration words source reverts to the used signal in master reset configuration words source.
5. method according to claim 1 is characterized in that,
Said method also comprises:
The minimum program of application storing, said minimum program is communicated by letter with far-end server for making the base station, safeguards and/or upgrade the program of application program;
Through loading minimum program, communicate by letter with far-end server, realize the maintenance and/or the renewal of application program.
6. method according to claim 1 is characterized in that,
Said method also comprises:
Storage space is divided into the erasable reserved area of use specific command word and uses the erasable general areas of generic command word;
To lead startup boot, backup startup boot and system program and be stored in reserved area;
With application program and file storage in general areas.
7. method according to claim 5 is characterized in that,
Said method also comprises:
The master routine of application storing and stand-by program;
Said passing through loads minimum program, communicates by letter with far-end server, safeguards and/or upgrade application program specifically to comprise:
When the loading system program, the master routine of loading system program is if load failure, the then stand-by program of loading system program;
When the master routine of loading application programs and stand-by program are all failed, then load minimum program, communicate by letter with far-end server through minimum program, realize the maintenance and/or the renewal of application program.
8. the system of loading procedure in the base station is characterized in that said system comprises:
Memory module is used to store the main boot that starts and starts boot with backup;
The master routine load-on module is used to reset when starting, and loads the main boot that starts according to the main address that starts boot;
The stand-by program load-on module is used for when main startup boot program loads is failed, and loads according to the address of backing up the startup boot and backs up the startup boot.
9. system according to claim 8 is characterized in that,
Said master routine load-on module mainly specifically is used for when starting boot loading according to the main address that starts boot: in reset signal in effective period; The loaded with hardware configuration words from master reset configuration words source; Navigate to the main bootstrap address that starts, load the main boot that starts by said address.
10. system according to claim 9 is characterized in that,
Said master routine load-on module also is used for: when reset signal is all invalid, the input signal in reset configuration words source is switched to the used signal in backup reset configuration words source;
Said stand-by program load-on module specifically is used for: if the main boot program loads that starts is failed; When starting once more when resetting; The loaded with hardware configuration words from backup reset configuration words source navigates to backup and starts bootstrap address, loads backup by said address and starts boot.
11. system according to claim 10 is characterized in that,
Said master routine load-on module also is used for: if load the main boot success that starts by the main bootstrap address that starts, then the input signal with the reset configuration words source reverts to the used signal in master reset configuration words source.
12. system according to claim 8 is characterized in that,
Memory module also is used for: the minimum program of application storing, and said minimum program is communicated by letter with far-end server for making the base station, safeguards and/or upgrade the program of application program;
Said system also comprises:
Minimum program load-on module is used for communicating by letter with far-end server through loading minimum program, realizes the maintenance and/or the renewal of application program.
13. system according to claim 8 is characterized in that,
Memory module also is used for: storage space is divided into uses the erasable reserved area of specific command word and use the erasable general areas of generic command word; To lead startup boot, backup startup boot and system program and be stored in reserved area; With application program and file storage in general areas.
CN201210308976.6A 2012-08-27 2012-08-27 The method and system of loading procedure in a kind of base station Expired - Fee Related CN102819444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210308976.6A CN102819444B (en) 2012-08-27 2012-08-27 The method and system of loading procedure in a kind of base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210308976.6A CN102819444B (en) 2012-08-27 2012-08-27 The method and system of loading procedure in a kind of base station

Publications (2)

Publication Number Publication Date
CN102819444A true CN102819444A (en) 2012-12-12
CN102819444B CN102819444B (en) 2015-09-02

Family

ID=47303569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210308976.6A Expired - Fee Related CN102819444B (en) 2012-08-27 2012-08-27 The method and system of loading procedure in a kind of base station

Country Status (1)

Country Link
CN (1) CN102819444B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902338A (en) * 2014-03-21 2014-07-02 珠海市君天电子科技有限公司 Drive loading method, drive processing method, client side, server and system
CN104516791A (en) * 2013-09-30 2015-04-15 贝壳网际(北京)安全技术有限公司 Data processing method and device and electronic device
CN108471935A (en) * 2016-04-18 2018-08-31 奥林巴斯株式会社 Battery-driven medical treatment device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7024581B1 (en) * 2002-10-09 2006-04-04 Xpoint Technologies, Inc. Data processing recovery system and method spanning multiple operating system
CN101169727A (en) * 2007-11-12 2008-04-30 中兴通讯股份有限公司 CPU system starting method and system
CN101826057A (en) * 2009-03-02 2010-09-08 德晶电子股份有限公司 Setting method of hidden memory sections of flash memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7024581B1 (en) * 2002-10-09 2006-04-04 Xpoint Technologies, Inc. Data processing recovery system and method spanning multiple operating system
CN101169727A (en) * 2007-11-12 2008-04-30 中兴通讯股份有限公司 CPU system starting method and system
CN101826057A (en) * 2009-03-02 2010-09-08 德晶电子股份有限公司 Setting method of hidden memory sections of flash memory

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516791A (en) * 2013-09-30 2015-04-15 贝壳网际(北京)安全技术有限公司 Data processing method and device and electronic device
CN103902338A (en) * 2014-03-21 2014-07-02 珠海市君天电子科技有限公司 Drive loading method, drive processing method, client side, server and system
CN103902338B (en) * 2014-03-21 2017-08-04 珠海市君天电子科技有限公司 A kind of drive load and processing method, client, server and system
CN108471935A (en) * 2016-04-18 2018-08-31 奥林巴斯株式会社 Battery-driven medical treatment device

Also Published As

Publication number Publication date
CN102819444B (en) 2015-09-02

Similar Documents

Publication Publication Date Title
CN102165422B (en) Firmware update device and method
CN102597983B (en) Metadata virtual hard drive driver and difference virtual hard is used to back up
CN105700901B (en) Starting method, device and computer system
CN101840362B (en) Method and device for achieving copy-on-write snapshot
CN102150124A (en) Information backup/restoration processing apparatus and information backup/restoration processing system
CN100524219C (en) Configuration synchronization for redundant processors executing different versions of software
US20140201483A1 (en) Storage device and method for backing up source volume
CN103164342A (en) Mount-time reconciliation of data availability
CN104572229A (en) Firmware upgrade method and firmware upgrade device for embedded system
CN105183517A (en) Method and device for mounting external storage equipment in recovery mode and electronic device
CN101776984A (en) Method and device for processing disk roam in storage system
US11803412B2 (en) Containerized application management system and management method
CN102096561A (en) Hierarchical data storage processing method, device and storage equipment
CN104102535A (en) Process migration method and migratable operating system
CN104331318A (en) Embedded type dual system and working method thereof
CN101576966A (en) Method and device for reading and writing memory card
CN102819444B (en) The method and system of loading procedure in a kind of base station
CN111198780B (en) Apparatus and method for performing a restore operation of a memory system
CN102207905A (en) System recovery method, storage media controller and storage system
CN109324549B (en) Dual-master control equipment configuration method and dual-master control equipment
CN104915265A (en) Data backup method and electronic equipment
CN111124294B (en) Sector mapping information management method and device, storage medium and equipment
KR101576370B1 (en) System and method for remote restoration of computer system, and computer-readable recording medium with program therefor
CN114064352A (en) Memory storage device
CN113711189A (en) System and method for managing reduced power failure energy requirements on solid state drives

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170831

Address after: 100070, No. 188, building 25, No. eighteen, South Fourth Ring Road, Fengtai District, Beijing, 1, 101

Patentee after: Beijing Haiyun Technology Co.,Ltd.

Address before: 510663, No. 3, color road, Science City, Guangzhou Development Zone, Guangdong

Patentee before: NEW POSTCOM EQUIPMENT Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150902

CF01 Termination of patent right due to non-payment of annual fee