CN100370749C - Method for assurng conformity of exchanger various monoboard software edition - Google Patents
Method for assurng conformity of exchanger various monoboard software edition Download PDFInfo
- Publication number
- CN100370749C CN100370749C CNB2005100027560A CN200510002756A CN100370749C CN 100370749 C CN100370749 C CN 100370749C CN B2005100027560 A CNB2005100027560 A CN B2005100027560A CN 200510002756 A CN200510002756 A CN 200510002756A CN 100370749 C CN100370749 C CN 100370749C
- Authority
- CN
- China
- Prior art keywords
- software
- version information
- version
- business board
- master control
- 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.)
- Expired - Fee Related
Links
Abstract
The present invention discloses a method for ensuring the consistent mono-board software version of a switchboard, which comprises the following steps: (1) when installing software, a service board saves software version information; (2) a master control board saves software version information of compatible service boards of the board software in a version matched data area; (3) when the service board sends register messages to the master control board, the messages contain version information of the software used by the service board; (4) after receiving the register messages, the master control board compares the version information of the service board software with the version information saved in the version matched data area; if the information is identical, the registration process can continue; if not, the registration process stops, and alarm information for inconsistent versions is reported. The software version checking operation is carried out in the registration process so as to avoid switchboard breakdown event caused by incompatible software of various service boards and the master control board and simultaneously ensure the long, stable and reliable operation of the switchboard.
Description
Technical field
The present invention relates to the control field and the communications field, relate in particular to a kind of method that guarantees each single board software edition unanimity of switch.
Background technology
Switch is very important a kind of network equipment in the current network, and it has functions such as exchanges data, signal relay amplification.At present, existing switch generally adopts distributed each building block of managing in the switch.Building block comprises some veneers, such as master control borad, power board, Line Processing Unit etc.See also Fig. 1, it is a kind of structural representation of the switch of employing distributed management pattern.It is divided into master control borad 11 and business board 12 with veneer.Each piece business board 12 connects master control borad 11 respectively, accepts the control of master control borad 11: add switch system, and participate in system works.
In Fig. 1, these business boards 12 move board software separately, have independently control ability.But these business boards 12 also need to be registered to separately in the master control borad 11 simultaneously, accept the unified control of master control borad 11.During every business board 12 electrifying startups, all need to send registration message, so that obtain configuration informations such as its hardware, software to master control borad 11.Adopt the switch of above-mentioned distributed management promptly can guarantee the work independence of each veneer, and can also guarantee that each business board 12 is subjected to the unified control in master control borad 11, so that finish all functions operation of switch.
Obviously, no matter be business board 12 or master control borad 11, in order to finish operation separately, all various softwares need be installed, so that under the control of software, finish operations.Because the quantity of various softwares is various, and every kind of software also has multiple version, therefore, the service engineer is when giving switch install software or upgrade software, often take place to have loaded wrong version, the consequence that causes the software version between the switch veneer not match thus for certain piece or a few veneers.
In the practical work process, the service engineer is difficult to the problem that the discovery software version does not match when install software, still, and after switch enters operating state, often take place not cause operation exception, even whole switch quits work owing to software version between the switch veneer matches.Such as, business board A sends certain message to business board B, because business board B and business board A use two softwares that do not match, therefore causes business board B can not understand this message, perhaps misexplains this message.If when business board B occurring and can not understand this message, then false alarm may appear in business board B, requires the service engineer to check.Not only time-consuming but also whole switch system is quit work.If when business board B occurring and misexplaining this message, then may carry out misoperation, thereby cause the whole switch system machine of delaying.This moment, the service engineer was when trouble shooting, and do not know that usually which kind of reason causes this fault, thereby cause maintenance time long, even the consequence that can't keep in repair.
Summary of the invention
The object of the present invention is to provide a kind of method of assurng conformity of exchanger various monoboard software edition, influence the technical problem of the reliable and stable work of switch owing to the inconsistent situation of each single board software edition of switch occurring to solve in the prior art.
For addressing the above problem, the invention discloses a kind of method of assurng conformity of exchanger various monoboard software edition, described switch comprises master control borad and some business boards, comprising:
(1) business board is preserved software version information when install software, if described software version information is not unique, further preserves dbase;
(2) master control borad can be kept at the supporting data field of version by every kind of compatible business board software version information with this plate software, if described software version information is not unique, further preserves dbase;
(3) when business board when master control borad is initiated registration message, comprise the version information that uses software on the described business board in the described message, if described software version information is not unique, comprise the version information of use software on the described business board and the title of software in the described message;
(4) master control borad is received registration message, and the version information of preserving in the version information of business board software and the supporting data field of version is compared; Perhaps version information and the dbase of preserving in the version information of business board software and dbase and the supporting data field of version compared, if having identically, then registration process continues; Otherwise withdraw from registration process, and report the inconsistent warning information of version.
Also comprise: when software that upgrading is used on the master control borad, upgrading software described in the supporting data field of version can every kind of compatible business board software version information.
Also comprise: when the software that uses on the staging business plate, business board upgrades the software version information of preserving in advance.
It is by manual type described software version information to be solidificated in the program that step (1) business board is preserved software version information.
Business board preservation software version information is specially in the step (1):
Obtain software version information by load software;
Described software version information is put into the assigned address of the nonvolatile storage on the business board.
Step (2) is to be kept in the version matching table of the supporting data field of version with the mode of static array every kind of business board software version information with the master control borad compatibility.
And step (2) also comprises: every kind of business board software address information that master control borad can be downloaded this plate compatibility in advance is kept in the supporting data field of version;
Step (4) also comprises afterwards: when the version information of preserving in the supporting data field of version information and version of business board software does not have when identical, the address information of utilizing the supporting data field of version to preserve is downloaded software and described software is installed in described business board.
Compared with prior art, the present invention has the following advantages: the invention provides the conforming method that guarantees each single board software edition of switch, if certain single board software edition does not meet system requirements, then refuse the register requirement (not allowing this veneer go into operation) of this veneer, notify the attendant to upgrade this single board software edition by rights simultaneously.The present invention's verification work whether software version is consistent is placed on registration process and carries out, and then avoid in the switch operation, cause the delay incident of machine of switch to take place owing to miscellaneous service plate in the switch and master control borad software are incompatible, guarantee simultaneously switch can be for a long time, stable, move reliably.
Description of drawings
Fig. 1 is a kind of structural representation that adopts the switch of distributed management pattern;
Fig. 2 is the flow chart of the method for a kind of assurng conformity of exchanger various monoboard software edition of the present invention.
Embodiment
Below in conjunction with accompanying drawing, specify the present invention.
The object of the present invention is to provide a kind of method to guarantee the consistency of each single board software edition of switch.If certain single board software edition does not meet system requirements, then refuse the register requirement (not allowing this veneer go into operation) of this veneer, notify the attendant to upgrade this single board software edition by rights simultaneously.
In the present invention, serve as to consider benchmark with the software of master control borad, the software version of mainly judging business board whether be master control borad software compatible software version, if not, then notify the attendant to upgrade operation.When the software version of described business board all is the compatible software version of master control borad software, then each single board software edition of switch can be consistent, and then avoids appearing in the switch running and to cause the switch machine incident of delaying to take place owing to certain two board software is incompatible.
In addition, after every business board in the switch starts, at first finish the initial work of this plate, initiate register requirement to master control borad then, report soft, the hardware information of this plate; Obtain system information from master control borad subsequently, so that add the work of switch system participation system.Because after finishing the registration operation, business board has just begun frame of reference work, therefore whether consistent verification work is placed on registration process carries out with software version in the present invention, and then avoid in the switch operation, cause the delay incident of machine of switch to take place owing to miscellaneous service plate in the switch and master control borad software are incompatible, guarantee simultaneously switch can be for a long time, stable, move reliably.
See also Fig. 2, it is the flow chart of the method for a kind of assurng conformity of exchanger various monoboard software edition of the present invention.Comprise:
S110: business board is preserved software version information when install software.When the business board install software, can preserve software version information in a lot of modes.Such as writing in the software code with the mode of the static array version information with this software, business board is when sending register requirement, and the version information that obtains software from described code writes described login request message and gets final product.When software version information can not the described software of unique identification, business board was not only preserved software version information when install software, but also preserved dbase.When the software that uses on the staging business plate, business board also needs to upgrade the software version information of preserving in advance;
S120: master control borad with this plate software can be kept at the supporting data field of version by every kind of compatible business board software version information.On master control borad, can preserve these compatible business board software version informations in a lot of modes, such as: with the mode of static array preserve this master control borad software the version information of the compatible every kind of board software of energy, and can in the data field, preserve with the form of the supporting tables of data of version.Such as: preserve the dbase of every kind of board software that master control borad software institute can be compatible and the version information of correspondence in the supporting tables of data of described version.Certainly, when the version information of each software when being unique, only preserve in the supporting tables of data of described version master control borad software can be compatible the version information of every kind of board software;
S130: when business board when master control borad is initiated registration message, comprise the version information that uses software on the described business board in the described message.When version information can not the described software of unique identification, also need in message, carry described dbase and corresponding version information;
S140: master control borad is received registration message, therefrom obtain the version information of this business board software, the version information of preserving in the version information of business board software and the supporting data field of version is compared, if have identical, then registration process continues, otherwise withdraw from registration process, and report the inconsistent warning information of version, so that the attendant reinstalls the software of business board.
When comprising dbase and version information in the registration message, master control borad can obtain the dbase and the version information of this business board from registration message, if only comprise software version information in the registration message, then master control borad can obtain the version information of this business board software from registration message.In fact, master control borad and each business board carry out mutual registration message structure and pre-define, and master control borad only needs can obtain corresponding informance according to described message structure.
For convenience the attendant re-mounts the software on the business board, and the warning information that master control borad sends comprises the sign of business board, such as the code name of business board etc., goes wrong so that the attendant is accurately known the software of which piece business board.
Below lift a specific embodiment, this programme is described.
At first, business board is solidificated in the program by the version information of manual type with software when install software.Pre-defined one static array is in order to preserving the version information of this business board, such as:
typedef?struct?DEV_SOFT_VER_S
{
char?szSoftwareName[20];
char?szVersion[50];
}DEV_SOFT_VER_T;
DEV_SOFT_VER_T?s_stSoftVer[]=
{
{
" neta.vfs ",-------------------dbase
" ESRV500R009B02D306 ",--------------------software version information
}
};
Because what adopt is that the global data mode is defined arrays, the version information of software can be stored in the data field.Directly this data field of inquiry just can obtain version information.
In addition, when the software that uses on the staging business plate, the software version information that business board only needs immediate updating to preserve in advance gets final product.
Then, master control borad can every kind of compatible business board software version information be kept at this plate software in the version matching table in the supporting district of version;
Also with the version information (version matching table) of in store other board software that oneself can be compatible of the mode of static array, a kind of possible C code way of realization is as follows on the master control borad:
DEV_SOFT_VER_T?g_stSoftVerTable[]=
{
{
" neta.vfs ",-------------------dbase
" ESRV500R009B02D306 ",--------------------software version information
},
{
“netb.vfs”,
“ESRV500R009B02D206”,
}
......
};
When software that upgrading is used on the master control borad, need the software described in the supporting data field of immediate updating version can every kind of compatible business board software version information.
Subsequently, when business board when master control borad is initiated registration message, comprise the version information that uses software on the described business board in the described message;
At last, master control borad is received registration message, and the version information of preserving in the version information of business board software and the supporting data field of version is compared, if having identically, then registration process continues; Otherwise withdraw from registration process, and report the inconsistent warning information of version.
In the present embodiment, master control borad can be kept at every kind of business board software address information can downloading this plate compatibility in the supporting data field of version in advance;
When the version information of preserving in the version information of business board software and the supporting data field of version does not have when identical, the address information of utilizing the supporting data field of version to preserve is downloaded software and described software is installed in described business board.
Such as: after the network board of switch starts, can initiate registration to master control borad, the dbase that comprises in the registration message is " netb.vfs ", and version information is " ESRV500R009C04B010 ".After master control borad receives registration message, obtain dbase and version information.In the version matching table that this plate is preserved, search for, find supporting version information " ESRV500R009C04B011 " according to keyword " netb.vfs ", inconsistent with the version information that network board reports, this moment, master control borad should be refused the register requirement of network board, and produce the alarming information report alarm subsystem, notify the attendant to intervene.
Beat release label also can in the present invention business board software, when software is write into business board, also this release label is kept in the nonvolatile storage on the business board (as hard disk, FLASH etc.).Like this, after business board starts, can read this version information, utilize this version information to go to the master control borad place to carry out the version checking from this nonvolatile storage.
How version information is beaten release label.Mainly be to pass through following steps: obtain software version information by load software, by described software version information being put into the assigned address of nonvolatile storage.Load software is that a kind of being used for is loaded into the tool software of specifying veneer with board software, and it can obtain correct software version information, thereby when loaded with traffic plate software, the software version letter information can be put into the assigned address of nonvolatile storage.
For instance, individual board software is arranged,, add the version information of 10 bytes and the CRC check information of 4 bytes, generate a new file net.vfs at the net.exe head by a loading tool software net.exe.Load software is when loading net.vfs file arrives the appointment veneer, check at first whether CRC check information is correct, if it is correct, just take out version information from top of file, this information is write the assigned address of specifying nonvolatile storage, and isolate the net.exe file, net.exe is write the memory of appointment.
The present invention mainly is each business board of switch when master control borad sends register requirement (request of going into operation), and master control borad need be checked the legitimacy of its business board software version, thereby guarantees the version unanimity of all softwares in the whole switch system.
More than disclosed only be several specific embodiment of the present invention, but the present invention is not limited thereto, those skilled in the art can think variation all should drop in protection scope of the present invention.
Claims (7)
1. the method for an assurng conformity of exchanger various monoboard software edition, described switch comprises master control borad and some business boards, it is characterized in that, comprising:
(1) business board is preserved software version information when install software, if described software version information is not unique, further preserves dbase;
(2) master control borad can be kept at the supporting data field of version by every kind of compatible business board software version information with this plate software, if described software version information is not unique, further preserves dbase;
(3) when business board when master control borad is initiated registration message, comprise the version information that uses software on the described business board in the described message, if described software version information is not unique, comprise the version information of use software on the described business board and the title of software in the described message;
(4) master control borad is received registration message, and the version information of preserving in the version information of business board software and the supporting data field of version is compared; Perhaps version information and the dbase of preserving in the version information of business board software and dbase and the supporting data field of version compared, if having identically, then registration process continues; Otherwise withdraw from registration process, and report the inconsistent warning information of version.
2. the method for assurng conformity of exchanger various monoboard software edition as claimed in claim 1, it is characterized in that, also comprise: when software that upgrading is used on the master control borad, upgrading software described in the supporting data field of version can every kind of compatible business board software version information.
3. the method for assurng conformity of exchanger various monoboard software edition as claimed in claim 1 or 2 is characterized in that, also comprises: when the software that uses on the staging business plate, business board upgrades the software version information of preserving in advance.
4. the method for assurng conformity of exchanger various monoboard software edition as claimed in claim 1 is characterized in that, it is by manual type described software version information to be solidificated in the program that step (1) business board is preserved software version information.
5. the method for assurng conformity of exchanger various monoboard software edition as claimed in claim 1 is characterized in that, business board preservation software version information is specially in the step (1):
Obtain software version information by load software;
Described software version information is put into the assigned address of the nonvolatile storage on the business board.
6. the method for assurng conformity of exchanger various monoboard software edition as claimed in claim 1 or 2, it is characterized in that step (2) is to be kept in the version matching table of the supporting data field of version with the mode of static array every kind of business board software version information with the master control borad compatibility.
7. the method for described assurng conformity of exchanger various monoboard software edition as claimed in claim 1 is characterized in that,
Step (2) also comprises: every kind of business board software address information that master control borad can be downloaded this plate compatibility in advance is kept in the supporting data field of version;
Step (4) also comprises afterwards: when the version information of preserving in the supporting data field of version information and version of business board software does not have when identical, the address information of utilizing the supporting data field of version to preserve is downloaded software and described software is installed in described business board.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100027560A CN100370749C (en) | 2005-01-26 | 2005-01-26 | Method for assurng conformity of exchanger various monoboard software edition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100027560A CN100370749C (en) | 2005-01-26 | 2005-01-26 | Method for assurng conformity of exchanger various monoboard software edition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1812332A CN1812332A (en) | 2006-08-02 |
CN100370749C true CN100370749C (en) | 2008-02-20 |
Family
ID=36845038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100027560A Expired - Fee Related CN100370749C (en) | 2005-01-26 | 2005-01-26 | Method for assurng conformity of exchanger various monoboard software edition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100370749C (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409633B (en) * | 2007-10-09 | 2011-06-22 | 中兴通讯股份有限公司 | Method for implementing business plate report and alarm in communication equipment |
CN101145960B (en) * | 2007-10-15 | 2010-04-21 | 中兴通讯股份有限公司 | A method for realizing software version compatibility after single board hardware change |
CN102238020A (en) * | 2010-04-21 | 2011-11-09 | 杭州华三通信技术有限公司 | Method for realizing unified management of equipment, convergence switch and access switch |
CN102244669B (en) * | 2010-05-12 | 2014-02-26 | 杭州华三通信技术有限公司 | Software upgrading method in stacking equipment and stacking equipment |
CN103235741B (en) * | 2013-04-15 | 2016-05-11 | 厦门亿联网络技术股份有限公司 | A kind of method that realizes hardware compatibility by chip |
CN104702633A (en) * | 2013-12-04 | 2015-06-10 | 北京信威通信技术股份有限公司 | Version updating method and version updating device |
CN103746840B (en) * | 2013-12-30 | 2017-05-17 | 迈普通信技术股份有限公司 | Method and system for automatic checking of software version information of network equipment |
CN105446987B (en) * | 2014-06-30 | 2019-03-26 | 北京金山安全软件有限公司 | Picture garbage file identification method and device and electronic equipment |
CN104156292B (en) * | 2014-08-04 | 2017-06-30 | 浪潮(北京)电子信息产业有限公司 | The management method and server of board in a kind of server |
CN105975284A (en) * | 2016-05-31 | 2016-09-28 | 京东方科技集团股份有限公司 | Automatic software version checking device and method |
CN107809320A (en) * | 2016-09-07 | 2018-03-16 | 中兴通讯股份有限公司 | A kind of method and apparatus of radio frequency version loading |
CN108008969B (en) * | 2017-12-28 | 2020-12-29 | 新华三技术有限公司 | Software version upgrading method and device and network equipment |
CN109032635A (en) * | 2018-07-16 | 2018-12-18 | 新华三技术有限公司 | Method for upgrading software, device and the network equipment |
CN109325838A (en) * | 2018-08-16 | 2019-02-12 | 深圳市佰仟金融服务有限公司 | Letter examines regular version monitoring method, device and storage medium |
CN110321979A (en) * | 2019-06-21 | 2019-10-11 | 上海翊视皓瞳信息科技有限公司 | A kind of management method and system applied to wisdom factory |
CN111273924B (en) * | 2020-01-10 | 2023-07-25 | 杭州迪普科技股份有限公司 | Software updating method and device |
CN111432085B (en) * | 2020-03-13 | 2021-05-25 | 深圳震有科技股份有限公司 | Method for controlling user account registration, storage medium and voice gateway |
CN112181930B (en) * | 2020-09-29 | 2023-04-25 | 杭州迪普科技股份有限公司 | File management method and device for virtual switching matrix |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1489357A (en) * | 2003-08-29 | 2004-04-14 | 北京港湾网络有限公司 | File-packaged down-load processing method |
CN1542612A (en) * | 2003-11-06 | 2004-11-03 | 中兴通讯股份有限公司 | Singleboard software automatic download method and device |
CN1543107A (en) * | 2003-11-04 | 2004-11-03 | 中兴通讯股份有限公司 | Method of singleboard Node B software download and upgrade |
-
2005
- 2005-01-26 CN CNB2005100027560A patent/CN100370749C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1489357A (en) * | 2003-08-29 | 2004-04-14 | 北京港湾网络有限公司 | File-packaged down-load processing method |
CN1543107A (en) * | 2003-11-04 | 2004-11-03 | 中兴通讯股份有限公司 | Method of singleboard Node B software download and upgrade |
CN1542612A (en) * | 2003-11-06 | 2004-11-03 | 中兴通讯股份有限公司 | Singleboard software automatic download method and device |
Also Published As
Publication number | Publication date |
---|---|
CN1812332A (en) | 2006-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100370749C (en) | Method for assurng conformity of exchanger various monoboard software edition | |
CN100571283C (en) | Be used for discovery of network node and method for communicating and system | |
CN100461699C (en) | Method for automatic updating of equipment | |
CN100354825C (en) | Software staging and back spacing method | |
US20080168434A1 (en) | Apparatus and method to update multiple devices disposed in a computing system | |
CN100549950C (en) | The dispositions method of distributed software system | |
US20110258302A1 (en) | System And Method For Remotely Determining Identification And Physical Location Of Equipment In A Rack | |
US20090303884A1 (en) | Monitoring system, monitoring device, monitored device, and monitoring method | |
US20100042852A1 (en) | Power-on protection method, module and system | |
CN101902361A (en) | Disaster tolerance business system and disaster tolerance method | |
CN102402441A (en) | System and method for configuring multiple computers | |
CN103475526A (en) | IP setting and detecting method supporting multi-VLAN virtual machine | |
CN100512474C (en) | Automatic synchronization method for master-slave board storage version of the communication system | |
CN101877655A (en) | Network management system, network management server and method | |
US6973412B2 (en) | Method and apparatus involving a hierarchy of field replaceable units containing stored data | |
CN100505614C (en) | System backup and recovery method, and backup and recovery server | |
GB2398405A (en) | Consolidating data regarding a hierarchy of field replaceable units containing stored data | |
CN100395727C (en) | MAC address burning method | |
CN101692210B (en) | Single board starting monitoring system and monitoring method | |
CN101650682A (en) | Method and system for monitoring software version obtaining state in single-board starting process | |
CN100464520C (en) | Method and system for realizing distributed data loading | |
CN101420329B (en) | Method for upgrading communication system and communication system therefor | |
CN100452725C (en) | Log backup method and system unit and device for implementing the same | |
CN100395706C (en) | Automatic start method of switchboard plate | |
CN114860494A (en) | SAS expander configuration self-adaptive system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080220 Termination date: 20220126 |
|
CF01 | Termination of patent right due to non-payment of annual fee |