CN100484038C - Network element version switching method and device - Google Patents

Network element version switching method and device Download PDF

Info

Publication number
CN100484038C
CN100484038C CNB2007100740519A CN200710074051A CN100484038C CN 100484038 C CN100484038 C CN 100484038C CN B2007100740519 A CNB2007100740519 A CN B2007100740519A CN 200710074051 A CN200710074051 A CN 200710074051A CN 100484038 C CN100484038 C CN 100484038C
Authority
CN
China
Prior art keywords
veneer
omu
service area
check information
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2007100740519A
Other languages
Chinese (zh)
Other versions
CN101035022A (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.)
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 CNB2007100740519A priority Critical patent/CN100484038C/en
Publication of CN101035022A publication Critical patent/CN101035022A/en
Application granted granted Critical
Publication of CN100484038C publication Critical patent/CN100484038C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a network element and the method and device for version switching of its operating and maintaining unit, implementing a simple and reliable switching process by switching the operating and maintaining unit and single plate by steps. And the invention discloses a single plate loading method, using check information of loading file to make the single plate able to load and run an accurate version file when started up.

Description

Network element version switching method and device
Technical field
The present invention relates to the communications field, relate in particular to network management technology.
Background technology
In the telecommunication management network, network element is because new version is often issued in edition upgrading, what's new or the defective modification etc. of communication protocol standard.Therefore network element need be from old edition upgrading to new version; Also may find important defective or other reason owing to the redaction operation is back, need be from redaction rollback version until old.The edition upgrading of network element and rollback are very important functions.
For guaranteeing that network element upgrades and rollback reliably, fast, the network element of most manufacturers all provides two version functions, also claims two service areas, the corresponding service area of version.Be that network element has been preserved a version that is moving and one and is in standby version, each version all has required software program of the normal operation of network element and data etc., and network element uses software and the data in this version just can provide normal business.During network element updating, standby version is the version that network element is about to be upgraded to; During the network element version rollback, standby version then is the early version that network element had before moved.Realize the edition upgrading and the rollback of network element by the switching of version.
Network element is generally by OMU (Operation ﹠amp; Maintenance Unit, Operation and Maintenance Unit) and the veneer composition, OMU provides the oam function of network element, and veneer provides the service processing function of network element.Provide the OMU and the veneer of multi-work space network element generally all to preserve many versions.Do not have the solution that simple and reliable network element version switches at present.
The prior art relevant with the present invention provides a kind of method of single board edition automatic loading, comprise the steps: (1) Board Power up before, be connected veneer normal with the version machine and to remain this connection in the veneer running normal; (2) Board Power up behind the boot end of run, before the version file that directly jumps to flash memory FLASH place brings into operation, carries out validity check to the version file at flash memory Flash place; (3) if validity check is not passed through, then carry out the process of loading version from the version machine; If version loads success or validity check is passed through, then jump to the version file place and continue operation.This scheme directly copies version on this machine of plate to, if the version file and the version file on the version machine that detect behind the Board Power up on the veneer are inconsistent, the version file operation on the load application version machine must just can not finished automatically in manual intervention automatically.
But how to load version files such as correct program, data and patch for the veneer based on multi-work space, and accordingly how program, data and the patch file of different editions carried out consistency relatively, prior art does not provide solution.
Summary of the invention
The technical scheme that the technical problem that the embodiment of the invention will solve is to provide the version of a kind of network element and Operation and Maintenance Unit thereof to switch, with realize network element and Operation and Maintenance Unit thereof can from the operation version simple and reliable switch to standby version.The another technical problem that the embodiment of the invention will solve is to provide a kind of loading method of veneer, can load and move correct version file when making single board starting.The another technical problem that the embodiment of the invention will solve is to provide a kind of Operation and Maintenance Unit monitoring module, be used to realize to Operation and Maintenance Unit software startup, reset and monitor.
For solving the problems of the technologies described above, be achieved through the following technical solutions:
The method that the embodiment of the invention provides a kind of version of network element to switch comprises:
The startup catalogue of OMU Software is revised as standby version place catalogue;
Restarting OMU Software switches with the version of realizing OMU;
Send reset command to veneer;
Veneer sends the message that carries this single board information to described OMU after receiving described reset command;
OMU returns the message of the check information that carries the required load document of this veneer;
Described veneer loads required version file according to the described message that carries check information from the service area of this veneer or described OMU.
The embodiment of the invention also provides a kind of veneer loading method, comprising:
Send the request message that carries single board information to Operation and Maintenance Unit OMU;
Described veneer receives the response message that described 0MU sends, and wherein, comprises in the described response message that described OMU inserts, the check information of this veneer load document that described OMU obtains according to described single board information;
Described veneer loads required version file according to the check information of described load document from its service area or described OMU.
Technique scheme can effectively be controlled the network element version handoff procedure by switching the version of OMU and veneer step by step, and the network element version risk of handover is little; The business that OMU version handoff procedure does not influence network element provides, and short to the net element business influence time in the veneer handoff procedure; Thereby realize the version of simple and reliable switch net element.Technique scheme can load and move correct version file by utilizing the check information of veneer load document when making single board starting.The Operation and Maintenance Unit monitoring module that technique scheme provides, can effectively realize to Operation and Maintenance Unit software startup, reset and monitor.
Description of drawings
Fig. 1 is that the OMU Software of the embodiment of the invention starts schematic flow sheet;
The OMU version switching flow schematic diagram that Fig. 2 provides for the embodiment of the invention;
Fig. 3 loads schematic flow sheet for the veneer that the embodiment of the invention provides;
The request of the BOOTP agreement that Fig. 4 provides for the embodiment of the invention and reply the form schematic diagram;
Embodiment
Network element in the telecommunication management network generally all is made up of an Operation and Maintenance Unit OMU and some veneers, and Operation and Maintenance Unit is responsible for providing the Operation and Maintenance function of network element, and veneer is responsible for the processing of net element business function.
The hardware that the Operation and Maintenance Unit of general network element adopts is general carrier class PC server, and the operating system of employing is general operating system, as windows operating system and linux operating system etc.The operating system of the veneer of network element is real time operating system, as Vxworks operating system etc.The boot sequence of network element is that Operation and Maintenance Unit starts earlier, and veneer reloads program and data are restarted then.
The embodiment of the invention provides a kind of version of Operation and Maintenance Unit of network element to switch way and a kind of Operation and Maintenance Unit monitoring module, and concrete technical scheme is as follows:
The embodiment of the invention realizes that by the method that increases an indirect layer version of OMU switches.As at OMU monitoring module of OMU deploy.This module comprises: monitoring unit is used for revising the startup catalogue of the OMU Software of OMU configuration file; Start unit, be used for reading the OMU configuration file OMU Software the startup directory information and start OMU Software according to described startup directory information.This module be used to realize to OMU Software startup, reset and monitor, so this module can not upgraded with the upgrading of OMU Software.This OMU monitoring module can be used as service registry and advances operating system, start with os starting, and OMU Software can be started by the OMU monitoring module.Described OMU Software starts flow process as shown in Figure 1, comprising:
Step 101, os starting service, the OMU monitoring module starts;
Step 102, OMU monitoring module obtain the directory information of operation version in the configuration file;
The OMU Software of step 103, startup operation version.
It is that example is set forth concrete technical scheme that present embodiment has two service areas with OMU, and then the catalogue at the related software place of OMU can be planned to three parts: public directory is used to deposit switching monitoring unit software, edition configuration file, other public directory etc.; Main with service area (operation the release directory), be used to deposit the program file, data file, patch file of the required loading of operation version etc.; Standby service area (standby the release directory) is used to deposit program file, data file, patch file of the required loading of standby version etc.Wherein moving the release directory is relative with standby the release directory, and the catalogue at the current OMU Software place of moving is operation the release directory, and corresponding catalogue is standby the release directory.The OMU Software run duration, can not make amendment to the software in standby the release directory, file and data, after OMU Software is upgraded to redaction like this, state before the software of early version and data keep switching, in case when needing rollback, can return to the state before early version switches fully, not influence the business function of network element.
As shown in Figure 2, OMU version switching flow specifically comprises:
Step 201, user send the switching version command;
Step 202, operation version OMU Software check whether standby version is complete, and in this way, then execution in step 203, and step 202 is an optional step;
Step 203, operation version OMU Software send the switching version command to the OMU monitoring module;
Step 204, OMU monitoring module are revised as current standby version place catalogue with the startup catalogue of the OMU Software in the configuration file;
Step 205, OMU monitoring module order OMU Software withdraw from process;
Step 206, according to order end process, stop the OMU Software of current operation version;
The OMU Software that step 207, OMU monitoring module read in the amended configuration file starts directory information;
Step 208, restart OMU Software, revise because the OMU Software in the configuration file starts catalogue, the OMU Software that reruns is the OMU Software in former standby the release directory, has therefore realized the version switching.
The method that the embodiment of the invention also provides a kind of veneer to load.
For veneer, can not establish the service area, also can be provided with more than one service area, being provided with two service areas with veneer in the present embodiment is that example is set forth.For example, veneer is provided with two FLASH flash memory service areas, also can adopt other storage medium.Described FLASH space can be divided into two parts: the master promptly moves version space with the service area, and standby service area is standby version space.Operation version space and standby version space also are comparatively speaking, can deposit files such as program file, data file, patch file in each version space.
Veneer can adopt no disc system startup method commonly used in the present embodiment, for example, adopts BOOTP (Bootstrap Protocol, boot protocol) channeling conduct to start.Board Power up or reset after, boot can be broadcasted the BOOTP request message to OMU, OMU gives veneer loopback BOOTP response message.When veneer loads version file such as required program and data from OMU or the flash memory of self, the related versions file is carried out consistency relatively according to the check information of load application version file.Described check information can be carried by the BOOTP response message that OMU issues veneer.
Described check information generates by following method: add a file header to All Files, file content is attached to the file header back, file content draws a check value according to checking algorithm, fills out in file header.Whether the check value by comparison document is consistent judges whether the related versions file is the version file of required loading.For example, with CRC (Cyclic Redundancy Check, cyclic redundancy check (CRC)) algorithm comes the calculation check value, network element is when making version and making patch, go out the CRC check value of BIN file and patch file according to the CRC algorithm computation, and add the file header that carries described CRC check value for described file.The data of network element can be managed concentratedly by OMU, as OMU data file of data generation with veneer, veneer can obtain its required configuration data from OMU, be operation version file and the standby version file of preserving veneer among the OMU, veneer can learn that the file preserved among self FLASH and OMU go up corresponding file and whether be consistent and then can obtain its required file from OMU by the CRC check value of comparison document.
Come concrete implementation procedure is described below in conjunction with accompanying drawing, as shown in Figure 3, the flow process that veneer loads specifically comprises:
Step 301, Board Power up;
When step 302, single board starting, boot broadcast transmission BOOTP request message, the essential information that contains veneer in the message, information such as type as the shelf number at veneer place, frame number, groove number, veneer, these information can be carried in the particular vendor information field, also can utilize other field to carry;
Step 303, OMU obtain the single board information in the described request message after receiving this BOOTP request message.According to the relevant configuration information that described single board information is inquired about this veneer, obtain the IP address of veneer, the CRC check information in the file header of the main files such as program file, data file and patch with, standby service area that read the described veneer preserved among the OMU.
Step 304, OMU insert described CRC check information and veneer IP address in the BOOTP response message, this BOOTP response message of broadcasting loopback.The request of BOOTP agreement and response format are as shown in Figure 4, described CRC check information and veneer IP address can be inserted in the field of BOOTP response message, for example, can insert the particular vendor information field of this message, promptly utilize described particular vendor information field to carry the check information of version files such as the program of the required loading of veneer, data, patch.
After step 305, veneer are received response message, read the above-mentioned CRC check information of wherein carrying, load required file according to described CRC check information.For example, can be preferential according to the primary area, maximum match principle mates: promptly pay the utmost attention to the primary area and load from FLASH, to reduce from time that OMU loads and to write the FLASH time, so that veneer can start as early as possible; Lack loading as far as possible,, reduce influence, prolong the useful life of FLASH simultaneously other task to write FLASH less as far as possible from OMU.Specific implementation can comprise one of following mode:
(1) if has at least the test value of the operation version file of the described veneer of preserving among the CRC check value of described load document of a service area and the OMU to be consistent in two FLASH service areas of veneer, the FLASH service area load application version file that is consistent from described and OMU of veneer then, and this service area is set to the main service area of using; Perhaps,
(2) if two service areas of veneer all have the test value of the operation version file of the described veneer of preserving among the CRC check value of part load document and the OMU to be consistent, then from two service areas of veneer, select one to use the service area as the veneer master, the consistent file of preserving with described OMU from the FLASH master of this selected veneer with loading the service area, inconsistent file loads from OMU, so that the file amount minimum that loads from OMU; Perhaps,
(3) if the CRC check value of all load document of two FLASH service areas of described veneer all with OMU in the test value of operation version file of the described veneer preserved inconsistent, the test value of then checking the standby version file of the described veneer of preserving among CRC check value that whether described load document is arranged in two service areas of described veneer and the OMU is consistent, if having then selecting this FLASH service area is the standby service area of veneer, from OMU, load required version file; Perhaps,
(4) select a service area to use the service area arbitrarily, from OMU, load required version file as the main of veneer.
Step 306, operation monoboard programme.
Step 307, veneer are in the mode of background task, and the operation version file that will load from OMU writes the veneer master and uses service area FLASH, make the main consistent with what preserve among service area file and the OMU of veneer.This step is an optional step.
Step 308, veneer load the standby version file of required veneer in the mode of background task from OMU, write the standby service area FLASH of veneer, make preserve among standby service area file and the OMU of veneer consistent.This step is an optional step.
The method that the embodiment of the invention also provides a kind of network element version to switch.In the described network element of the embodiment of the invention, OMU and veneer are all supported many versions, present embodiment all is provided with two service areas with OMU and veneer and supports that two versions are that example illustrates concrete technical scheme, when this moment, version switched, veneer does not need from OMU load software and data, thereby guarantees to realize that version switches fast.
The network element version handoff procedure specifically comprises:
(1) user sends OMU version switching command;
(2) OMU carries out the version switching, and the concrete grammar of switching is identical with the method that OMU version described in the embodiment of front switches, and no longer repeats herein;
(3) after the switching of OMU version is finished, send reset command to veneer;
(4) board resetting, boot can be to OMU broadcast request message, OMU gives veneer back response message, thereafter the loading procedure of veneer is identical with the process that veneer described in the embodiment of front loads, no longer repeat herein, then veneer has loaded and the corresponding version file of the current operation version of OMU, thereby the version of having realized veneer switches.
In sum, the network element version switching method that the embodiment of the invention provides switches OMU and veneer by substep, carries out the OMU version earlier and switches, if the OMU handoff failure, then veneer is not affected, and continues normally to provide the net element business function; Behind the OMU handover success, part veneer handoff failure then can carry out Operation and Maintenance to veneer by OMU, gets rid of single board default, makes veneer continue operation.Thereby the network element version switching method that the embodiment of the invention provides effectively controls handoff procedure, and risk of handover is little, and is simple and reliable fast.The method that the OMU version of the network element that the embodiment of the invention provides switches has realized quick, simple and reliable switching version by an OMU monitoring module is set in OMU, providing of net element business is not provided yet.The OMU monitoring module that the embodiment of the invention provides realized to OMU Software startup, reset and monitor.The veneer loading method that the embodiment of the invention provides adds the file header that includes check information in version file, even make under the situation of multi-work space, also can load and move correct version file during single board starting; Simultaneously, veneer has improved the starting efficiency of network element preferentially from self load document; Behind the single board starting, the mode that starts with the backstage writes the corresponding work district of veneer from the OMU load document and with described file, reduces the influence that single board service is handled, and has guaranteed that simultaneously the version of veneer and OMU are consistent.
Obviously, those skilled in the art can carry out various changes and distortion to the present invention and not break away from the spirit and scope of the present invention.Like this, if these modifications of the present invention and distortion belong within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and is out of shape interior.

Claims (12)

1, a kind of method of network element version switching, described network element comprises Operation and Maintenance Unit OMU and veneer, it is characterized in that, comprising:
The startup catalogue of OMU Software is revised as standby version place catalogue;
Restarting OMU Software switches with the version of realizing OMU;
Send reset command to veneer;
Veneer sends the message that carries this single board information to described OMU after receiving described reset command;
OMU returns the message of the check information that carries the required load document of this veneer;
Described veneer loads required version file according to the described message that carries check information from the service area of this veneer or described OMU.
2, a kind of loading method of veneer is characterized in that, comprising:
Send the request message that carries single board information to Operation and Maintenance Unit OMU;
Described veneer receives the response message that described OMU sends, and wherein, comprises in the described response message that described OMU inserts, the check information of this veneer load document that described OMU obtains according to described single board information;
Described veneer loads required version file according to the check information of described load document from its service area or described OMU.
3, method as claimed in claim 2 is characterized in that, the described request message is a boot protocol BOOTP request message, and described single board information is arranged in the particular vendor information field of described boot protocol BOOTP request message; Described response message is the BOOTP response message, and described veneer load document check information is arranged in the particular vendor information field of described BOOTP response message.
4, method as claimed in claim 2 is characterized in that, the version file that described veneer loads comprises one of following type or its combination in any: program file, data file and patch file.
5, method as claimed in claim 2 is characterized in that, generates described load document check information and it is added in the file header of described load document according to checking algorithm.
6, method as claimed in claim 5 is characterized in that, described checking algorithm comprises cyclic redundancy CRC check algorithm.
7, method as claimed in claim 2 is characterized in that, described veneer specifically comprises according to described load document check information loads required version file from its service area or described OMU process:
If the check information of the described veneer operation version file of preserving among the load document check information that described veneer has a service area at least and the described OMU is consistent, load application version file in the consistent service area of the check information of the described veneer operation version file that then described veneer is preserved from its described and OMU, and this service area is set to the main service area of using.
8, method as claimed in claim 2 is characterized in that, described veneer specifically comprises according to described load document check information loads required version file from its service area or described OMU process:
If described veneer has at least the check information of the described veneer operation version file of preserving among check information that the part load document is arranged in the service area and the OMU consistent, select one to use the service area in the consistent service area of the check information of the described veneer operation version file that then described veneer is preserved from its described check information that the part load document arranged and OMU as the veneer master, with loading the service area, inconsistent file loads from OMU the consistent version file of the check information of the described veneer operation version file of preserving among described and the OMU from this veneer master.
9, method as claimed in claim 2 is characterized in that, described veneer specifically comprises according to described load document check information loads required version file from its service area or described OMU process:
If the check information of the load document in the described veneer all workspaces all with OMU in the check information of the described veneer operation version file preserved inconsistent, the check information of then checking the standby version file of preserving among check information that whether load document is arranged in the described service area of this veneer and the OMU of described veneer is consistent, if the consistent service area of check information of the standby version file of described veneer that has then select to preserve among the described and OMU of this veneer is the standby service area of veneer, from OMU, load required version file.
10, method as claimed in claim 2 is characterized in that, described veneer specifically comprises according to described load document check information loads required version file from its service area or described OMU process:
Select a service area of veneer to use the service area arbitrarily, from OMU, load required version file as the main of veneer.
11, as any described method in claim 9 or 10, it is characterized in that, veneer load application version file and move monoboard programme after, further comprise: in the mode of background task, the master who the operation version file of the described veneer that loads is write this veneer from OMU uses the service area.
12, as claim 7,8 or 10 described methods, it is characterized in that, veneer load application version file and move monoboard programme after, further comprise: in the mode of background task, according to the standby version file of load document check information loading monoboard from OMU, write the standby service area of veneer.
CNB2007100740519A 2007-04-13 2007-04-13 Network element version switching method and device Active CN100484038C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100740519A CN100484038C (en) 2007-04-13 2007-04-13 Network element version switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100740519A CN100484038C (en) 2007-04-13 2007-04-13 Network element version switching method and device

Publications (2)

Publication Number Publication Date
CN101035022A CN101035022A (en) 2007-09-12
CN100484038C true CN100484038C (en) 2009-04-29

Family

ID=38731341

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100740519A Active CN100484038C (en) 2007-04-13 2007-04-13 Network element version switching method and device

Country Status (1)

Country Link
CN (1) CN100484038C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179624B (en) * 2007-11-22 2010-09-22 上海华为技术有限公司 Method and device of implementing network element updating
CN101383724B (en) * 2008-08-29 2011-04-13 上海华为技术有限公司 Network updating method and operation maintaining element, and network element updating system
CN103049423A (en) * 2011-10-13 2013-04-17 上海可鲁系统软件有限公司 Method for configuration management of client application platforms and function modules and device thereof

Also Published As

Publication number Publication date
CN101035022A (en) 2007-09-12

Similar Documents

Publication Publication Date Title
CN100525206C (en) Realizing method and system for automatic restoring equipment fault
CN100421071C (en) Updating method for distance equipment system software
CN101232397B (en) Apparatus and method for renovating multi controller systems
CN101383724B (en) Network updating method and operation maintaining element, and network element updating system
CN103533027B (en) A kind of distributed apparatus and the method for software version compatibility maintenance, system
JP5560373B2 (en) Self-relief method and self-relief device for damaged file system
CN102073517A (en) Upgrading and backup method and device for embedded system
CN108934033B (en) Base station upgrading and returning method and device
CN102541604A (en) Remote upgrading method, remote upgrading terminal equipment and remote upgrading system
CN104915226A (en) Network device software starting method, device and network device
WO2011088701A1 (en) Method and device for online upgrading cross-platform version
WO2013040906A1 (en) Method and system for managing software version of base station
CN112612524A (en) Method, device and equipment for starting Linux system and storage medium
CN100512474C (en) Automatic synchronization method for master-slave board storage version of the communication system
CN102300239B (en) Base station and self-starting method thereof
CN100484038C (en) Network element version switching method and device
CN101119188B (en) Single board updating method for implementing uninterruptive service
CN108874410B (en) Patch management method and device
CN100558178C (en) Data-erasure method and terminal
CN110753040B (en) Request processing method and device
CN111897543A (en) Software management method, device, management equipment and storage medium
CN110597532A (en) Data acquisition module, firmware upgrading method thereof and storage medium
WO2011158367A1 (en) Technology for updating active program
CN101420329B (en) Method for upgrading communication system and communication system therefor
JP2002123398A (en) Device and method for version up processing of software in communication equipment

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