CN108551395A - Upgrade method for communication device, communication equipment and computer storage media - Google Patents

Upgrade method for communication device, communication equipment and computer storage media Download PDF

Info

Publication number
CN108551395A
CN108551395A CN201810214877.9A CN201810214877A CN108551395A CN 108551395 A CN108551395 A CN 108551395A CN 201810214877 A CN201810214877 A CN 201810214877A CN 108551395 A CN108551395 A CN 108551395A
Authority
CN
China
Prior art keywords
upgraded
software module
board
upgrading
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810214877.9A
Other languages
Chinese (zh)
Inventor
侯磊
谢虎
李琳
吴志远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xinnuo Communication Technology Ltd By Share Ltd
Original Assignee
Shanghai Xinnuo Communication Technology Ltd By Share 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 Shanghai Xinnuo Communication Technology Ltd By Share Ltd filed Critical Shanghai Xinnuo Communication Technology Ltd By Share Ltd
Priority to CN201810214877.9A priority Critical patent/CN108551395A/en
Publication of CN108551395A publication Critical patent/CN108551395A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Upgrade method for communication device, communication equipment and the computer storage media of the present invention, by from each software module for one or more communication equipment upgradings to prestore, it is connected and the type of each board to be upgraded obtains respective software module and constituted software module set in each of one or more jumps communication equipment to be upgraded according to being communicated in a manner of serial or parallel with local communication device;Wherein, each software module is extracted from each upgrade file upgraded for one or more described communication equipments, and then the software module set can be integrated and form integration upgrade file, the communication equipment is upgraded according to this, realization more accurately upgrades data management, ascending series are simplified significantly and save its used network bandwidth of transmission according to this, solve problem of the prior art.

Description

Upgrade method for communication device, communication equipment and computer storage media
Technical field
The present invention relates to fields of communication technology, are deposited more particularly to upgrade method for communication device, communication equipment and computer Storage media.
Background technology
Communications industry competition globalization is increasingly acute with market competition to become a kind of trend, and product and service are also more Diversification, the demand of client is added also to make rapid progress.
The update of the diversity and the communication technology of demand is constantly accelerated, and communication equipment and related software is caused to make With gradually shortening for period.This also just proposes new requirement to the exploitation of communications industry Products:It is required that communication equipment with it is soft Part supplier is while ensureing product high standard high quality, it is necessary to which the service life for extending oneself product supports lasting production Product software upgrading constantly allows the function of product support to be weeded out the old and bring forth the new.But during carrying out software upgrading to network element device, For various reasons, the interruption of network communication such as in document transmission process, such as hardware storage device during file copy Damage, such as some artificial operating mistakes can all cause network element device software upgrading to fail, and may cause system that can not open It is dynamic etc. to seriously affect the failure that client uses.
Although having many schemes for promoting software updating efficiency and safety at present, it is all based on upgrade file Mode, each for there is various boards in machine frame type equipment, many board functions are similar, difference be only support Port communication rate and port number difference, result in these equipment and board quantity more, the software document number needed in this way Amount and type are also more, and these software documents are all much like, if all required software versions of board are packaged in one It rises, is required for downloading much not necessarily then downloading to network element main control card from network management system and being still synchronized to Line cards from main control card The upgrade file needed occupies network bandwidth.
Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide upgrade method for communication device, communications Equipment and computer storage media solve the problems of the prior art.
In order to achieve the above objects and other related objects, the present invention provides a kind of upgrade method for communication device, including:From pre- In each software module for one or more communication equipment upgradings deposited, according to local communication device with serial or parallel side Formula communication is connected and the type of each board to be upgraded obtains corresponding software in each of one or more jumps communication equipment to be upgraded Module composition software module set;Wherein, each software module is risen from for one or more described communication equipments It is extracted in each upgrade file of grade;The software module set is sent to each communication equipment to be upgraded for executing upgrading.
In order to achieve the above objects and other related objects, the present invention provides a kind of upgrade method for communication device, is applied to packet The communication equipment for including at least one board to be upgraded, the method includes:Receive the software mould needed for the communication equipment upgrading Set of blocks;Wherein, each software module in the software assembly is determined according to the type of at least one board to be upgraded , and each software module is extracted from each upgrade file for being upgraded to one or more communication equipments; It integrates the software module set and forms integration upgrade file, the communication equipment is upgraded according to this.
In one embodiment of the invention, the upgrade method for communication device further includes:The case where upgrading failure Under, enable the software version of the upgrading failure restore to target software release by the upgrade file that prestores.
In one embodiment of the invention, the target software release can normally start before being not carried out the upgrading Software version.
In one embodiment of the invention, the upgrade method for communication device, including:In the case where upgrading successfully, Prestore upgrade file described in integration upgrade file covering by the version upgraded successfully.
In one embodiment of the invention, the upgrade method for communication device, including:It is risen before executing upgrading to integrating Grade file or each software module received are verified.
In order to achieve the above objects and other related objects, the present invention provides a kind of communication equipment, including:Communication unit leads to Letter connects equipment to be upgraded;Processing unit;Wherein, the communication unit is used to be used for one or more communication equipment liters from what is prestored In each software module of grade, it is connected and at a distance of one or more jumps according to being communicated in a manner of serial or parallel with local communication device The type of each board to be upgraded obtains respective software module and constitutes software module set in each communication equipment to be upgraded;Wherein, Each software module is extracted from each upgrade file upgraded for one or more described communication equipments.
In order to achieve the above objects and other related objects, the present invention provides a kind of communication equipment, including at least one board, The board includes:Communication unit is connect with PERCOM peripheral communication, for receiving the software module collection needed for the communication equipment upgrading It closes;Wherein, each software module in the software assembly is the type according to the board to be upgraded at least one board Determining, and each software module is extracted from each upgrade file for being upgraded to one or more communication equipments 's;Processing unit forms integration upgrade file for integrating the software module set, is risen according to this to the communication equipment Grade.
In one embodiment of the invention, the processing unit is additionally operable to, in the case where upgrading failure, pass through the liter that prestores Grade file enables the software version of the upgrading failure restore to target software release.
In one embodiment of the invention, the target software release can normally start before being not carried out the upgrading Software version.
In one embodiment of the invention, the processing unit is additionally operable in the case where upgrading successfully, and will be upgraded successfully Version the covering of integration upgrade file described in prestore upgrade file.
In one embodiment of the invention, the processing unit, be additionally operable to execute upgrading before to integrate upgrade file or The each software module received is verified.
In one embodiment of the invention, each board to be upgraded includes:Storage unit, including mutually independent multiple deposit Storage area domain comprising:Be stored with the first area of the software of current institute's runs software version, be stored with it is soft for the target of recovery The third area of each software module or integration upgrade file that the second area of the upgrade file that prestores of part version and storage are received Domain.
In one embodiment of the invention, the board has at least two, including:It primary board and is formed with it active and standby The spare board of protection;The primary board is stored with the integration upgrade file needed for upgrading;The spare board, is used for It is synchronized from the primary board and integrates upgrade file, to be upgraded;The primary board, be additionally operable to detect it is described standby After the completion of being upgraded with board, masterslave switchover is carried out with the standby plate card, and then itself is carried out by the integration upgrade file Upgrading, and after the completion of upgrading masterslave switchover is carried out with the standby plate card again.
In order to achieve the above objects and other related objects, the present invention provides a kind of computer storage media, is stored thereon with Computer program, the program realize the upgrade method for communication device when being executed by processor.
As described above, upgrade method for communication device, communication equipment and the computer storage media of the present invention, by from prestoring Each software module for one or more communication equipment upgradings in, according to local communication device in a manner of serial or parallel Communication is connected and the type of each board to be upgraded obtains corresponding software mould in each of one or more jumps communication equipment to be upgraded Block constitutes software module set;Wherein, each software module is upgraded from for one or more described communication equipments Each upgrade file in extract, and then the software module set can be integrated formed and integrate upgrade file, according to this to described Communication equipment is upgraded, and realization more accurately upgrades data management, is simplified ascending series significantly and is saved its transmission according to this and is used Network bandwidth solves problem of the prior art.
Description of the drawings
Fig. 1 is shown as the structural schematic diagram of communication system in one embodiment of the invention.
Fig. 2 is shown as the flow diagram of upgrade method for communication device in one embodiment of the invention.
Fig. 3 is shown as the flow diagram of upgrade method for communication device in one embodiment of the invention.
Fig. 4 is shown as the structural schematic diagram of machine frame communication device in one embodiment of the invention.
Fig. 5 is shown as the stream that the communication equipment comprising primary board and spare board in one embodiment of the invention is upgraded Journey schematic diagram.
Fig. 6 is shown as the structural schematic diagram of board in one embodiment of the invention.
Fig. 7 is shown as a communication equipment in one embodiment of the invention and treats the structure that upgrade communication equipment carries out upgrading scene Schematic diagram.
Specific implementation mode
Illustrate that embodiments of the present invention, those skilled in the art can be by this specification below by way of specific specific example Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that the diagram provided in following embodiment only illustrates the basic structure of the present invention in a schematic way Think, component count, shape and size when only display is with related component in the present invention rather than according to actual implementation in schema then Draw, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel It is likely more complexity.
The present invention design be about communication equipment upgrading, especially with respect to the upgrading of machine frame communication device, so-called machine Frame communication device plugs the board of identical or different business that is, in machine frame by electrical interface.
As shown in Figure 1, the structural schematic diagram for the communication system being made of communication equipment in displaying one embodiment of the invention. In the communication system, including:Network Management Equipment 101 (NMS) and multiple network element devices 102,103,104, the multiple network element device In there are one connecting with Network Management Equipment 101, be known as Gateway Network Element 102, Gateway Network Element 102 and other network element devices 103,104 Between pass through data communication network channel (DCN) connection.
Gateway Network Element 102 can download upgrade file from the Network Management Equipment 101, so that itself is upgraded or be passed through net Network is sent to other network element devices 103,104 and is upgraded.
Since there are the identical boards of a large amount of types between each network element device, the type of the board is according to board business Come what is distinguished, such as distinguished according to transmission rate, 40G, 100G etc., can also be distinguished according to purposes, such as applied to OLT device is alternatively, applied to ONU equipment etc.;Since those board functions are similar, and difference may be only that port transmission rate Difference, will have the part much repeated between the upgrade file of these network element devices, can by those upgrade files into Row dismantling, to the Partial filtration that will be repeated, the part for therefrom extracting needs carries out network transmission and can occupy smaller transmission again Bandwidth, and disassemble the obtained various parts of those upgrade files we term it software module, the upgradings of each network element device It is only necessary to the relevant necessary software module of its board type, it is other original upgrade files in software module can not It needs, in this way, for network, it is only necessary to which the transmission all network element device upgradings to be upgraded to be reached are required soft Part module avoids and is required for transmitting and may being transmitted several times with the multiple software documents for repeating software module part The case where, bandwidth is greatly saved, the transmission path the long, and it is more apparent to save bandwidth product.
For example, scene settings are optical transport network, it is assumed that the communication equipment to be upgraded is OTN equipment, such as Device A is the OTN network elements of 1U;Equipment B is the OTN network elements of 5U, and equipment C is the OTN network elements of 10U, and 16 conduits, they distinguish master If network element size dimension is different, the conduit quantity of support is different, but the board type supported is all similar, while these equipment All support following board:Board D:1 port 100G, 10 ports 10G;Board E:1 port 100G, 2 ports 40G;Plate Block F:20 ports 10G;These board functions are similar, and difference is only that the port communication rate supported and port number are different, Result in these equipment and board quantity more in this way, the upgrade file number amount and type needed are also more, and these software documents Content it is all much like, it is possible to from the software document extraction of the software document of device A, the software document of equipment B and equipment C Software module, such as the software module that device A software document can extract have " needed for configuration module+alarm module+board Hardware driving ";The software module that equipment B software documents can extract have " configuration module+alarm module+board management module+ Hardware driving needed for board ";The software module that equipment C software documents can extract has " configuration module+alarm module+plate Hardware driving needed for card management module+board ".So in escalation process, there is no need to be come with the granularity of upgrade file It operates, but uses software module granularity mode, it, can will be all to be upgraded if to upgrade to three equipment Software module needed for network element device upgrading, which is collected, merges duplicate removal, to which the upgrading data after being simplified are transmitted again, Save Internet resources.
For example, network element device A is as the Gateway Network Element 102 in Fig. 1, network element device B and C is respectively as in Fig. 1 embodiments Network element device 103 and 104, have board F on network element device A, have board D on equipment B, there is board E on equipment C, to A, B, C upgrades, and device A can download " configuration module+alarm module+board management+100G hardware drive from Network Management Equipment 101 In dynamic+40G hardware driving+10G hardware drivings " to device A, device A selection is therein, and " configuration module+alarm module+10G is hard Part drives ", device A is upgraded;It is interacted simultaneously with equipment C, will " configuration module+alarm module+board management+ 100G hardware driving+10G hardware drivings " are transmitted to device A by DCN and are upgraded;Similarly incite somebody to action " configuration module+alarm module+ Board management+100G hardware driving+40G hardware drivings " are transmitted to equipment B and are upgraded.
Although the Gateway Network Element is also upgraded in the present embodiment, in other embodiments, the Gateway Network Element 102 can not also need to upgrade and other network element devices 103,104 to be upgraded is only helped to be upgraded.
As shown in Fig. 2, showing the flow diagram of upgrade method for communication device in one embodiment of the invention.It can be applied to Such as the Gateway Network Element in Fig. 1, certain application scenarios are not so limited;The method includes:
Step S201:From each software module for one or more communication equipment upgradings to prestore, according to local Communication equipment is communicated connected and each to be upgraded in each of one or more jumps communication equipment to be upgraded in a manner of serial or parallel The type of board obtains respective software module and constitutes software module set.
Wherein, each software module is from each upgrade file upgraded for one or more described communication equipments Middle extraction, the Network Management Equipment that each software module can be stored in Fig. 1 embodiments or the other nets for communicating with connection Element device can also be stored in local.
For example, storage has software module 1~10, Gateway Network Element upgrading to need software module therein on Network Management Equipment 1,2 and 3, the first network element device upgrading of connection needs software module 1,2,4,5 and 6 therein, Gateway Network Element connection The upgrading of second network element device needs software module 1,2,3,7 and 8 therein, thus Gateway Network Element downloaded from Network Management Equipment it is soft The set of part module 1,2,3,4,5,6,7 and 8.
Step S202:The software module set is sent to each communication equipment to be upgraded for executing upgrading.
Accept the example above, network element gateway by software module 1,2,3 therein for itself upgrading use, will wherein software mould Block 1,2,4,5 and 6 is sent to the first network element device for its upgrading, and software module 1,2,3,7 and 8 is sent to the second network element and is set Its upgrading of available.
As shown in figure 3, the flow diagram of upgrade method for communication device of the displaying present invention in an embodiment.It can be answered Network element device 102,103 and 104 for the communication equipment to be upgraded including one or more boards, such as in Fig. 1 is applied certainly Scene is not so limited;The method includes:
Step S301:Receive the software module set needed for the communication equipment upgrading.
Wherein, each software module in the software assembly is determined according to the type of at least one board to be upgraded , and each software module is extracted from each upgrade file for being upgraded to one or more communication equipments.
For example, software module 1,2,3 is needed in the communication equipment upgrading to be upgraded, it can be logical from having in a network Believe and receives the software module 1,2,3 on one or more other network element devices of connection.
Step S302:It integrates the software module set and forms integration upgrade file, the communication equipment is carried out according to this Upgrade.
Since communication equipment usually upgrades upgraded in a manner of upgrade file, then forming the integration by this specification upgrades File, for upgrading, the integration upgrade file can be identical with the communication equipment original upgrade file to be upgraded, only simultaneously Non- is to reach the communication equipment to be upgraded with document form, but the communication to be upgraded is reached in the form of multiple software modules Equipment is integrated into upgrade file by it.
In one embodiment of the invention, the upgrade method for communication device further includes:The case where upgrading failure Under, enable the software version of the upgrading failure restore to target software release by the upgrade file that prestores.Specifically, the target Software version is preferably not carried out the software version that can normally start before the upgrading, for example, the version from V0 edition upgrading to V1 This, if be unable to operate normally (such as can not stable operation, or to enter system time long etc.), then judge upgrading failure, restore To V0 versions;Alternatively, being upgraded to V1 from V0, then it is upgraded to V2 from V1, if being unable to operate normally, judges upgrading failure, restore Ensure to upgrade successfully to V0 versions so that it is guaranteed that system is in a kind of controllable state always in escalation process.
In one embodiment of the invention, the upgrade method for communication device further includes:
In the case where upgrading successfully, prestore upgrading text described in the integration upgrade file covering by the version upgraded successfully Part.
Specifically, the board on communication equipment to be upgraded includes memory, one piece of region can be marked off in the memory, For storing the upgrade file that prestores, think when upgrading successfully current integrations upgrade file for recently can upgrade at The upgrade file of work(version, to be stored in the region to cover original upgrade file that prestores.
In one embodiment of the invention, the upgrade method for communication device, including:It is risen before executing upgrading to integrating Grade file or each software module received are verified.
Such as MD5 checking algorithms progress may be used in the verification, for example, after former upgrade file is completed in compiling, A MD5 can be to former upgrade file to calculate, and compile out a MD5 verification file;In turn, the behaviour of online upgrading is in Network Management Equipment In work, communication equipment to be upgraded is in each software module for having downloaded upgrading and is integrated into integration identical with the original upgrade file Corresponding MD5 verification file downloads can be got off simultaneously after upgrade file, and MD5 is calculated to the integration upgrade file, and will meter It calculates result and the MD5 downloaded verification files compares, if difference is exactly MD5 verification failures, can report an error to user, if It is identical just to illustrate that each software module is not damaged in transmission or reproduction process.
Alternatively, each software module on Network Management Equipment generates MD5 verification files, communication equipment to be upgraded is being downloaded After each software module, the MD5 for downloading corresponding each downloaded software module respectively verifies file with to each software mould downloaded Block is verified respectively, if being exactly MD5 verification failures there are one difference, can be reported an error to user;All identical success then illustrates Each software module is not damaged in transmission or reproduction process, then is integrated into the integration upgrade file again, to upgrade.
As shown in figure 4, show the structure of machine frame communication device 400 in one embodiment of the invention, each network element in Fig. 1 Equipment 102,103 and 104 can through this embodiment in machine frame communication device realize.
The type of various boards in the machine frame communication device 400 is divided into smart card and non intelligent card, smart card and Non intelligent card the difference is that smart card has processor (such as central processing unit (CPU), on-chip system chip (SoC), microcontroller (MCU) etc.) rather than smart card does not have processor, and the smart card includes:Main control card, Line cards etc., the non intelligent Ka Bao It includes:Power card, fan card and certain interface cards etc..
In the present embodiment, what is shown is smart card, wherein having the main main control card 401 for constituting protection group, standby master control Upgrading data needed for upgrading can be stored in the storage on board by card 402 and Line cards 403,404,405, each smart card In device, and then run by the processor on board to control upgrading;Rather than the upgrading data of smart card are there are in its memory, By smart card its upgrading can be helped to read its memory.
It should be noted that if there are different types of boards to need to upgrade in communication equipment, such as main control card, Line cards Type is different, then the software module that the integration upgrade file generated is included is also different;Utilize aforementioned citing, it is assumed that in device A There are board F and D to be required to upgrade, " configuration module+alarm module+board management+100G is hard then device A obtains software module Part driving+10G hardware drivings ", device A utilize software module " configuration module+alarm module+board management+10G hardware drivings " It constitutes integration upgrade file to board F to upgrade, and " configuration module+alarm module+board management+100G is hard using software module Part driving+10G hardware drivings " give board D upgradings.
In addition, the structure for the communication equipment that Fig. 4 is shown is merely illustrative, it is not limited thereto, for example, in other embodiments In, the Line cards and non intelligent card can not also need.
Due to the upgrading of machine frame communication device, be by storing upgrade file into the memory of its board into Row upgrading.And main-apparatus protection is formed there are two main control card in the fig. 4 embodiment, on machine frame type equipment, one is main main control card 401, another one is standby main control card 402;The standby main control card 402 is referred to the behavior of smart card to realize, such as:Timing is supervised The software version on main main control card 401 is controlled, if it find that can be downloaded from network management system with the non-uniformity of software versions of itself Software module is simultaneously integrated into integration upgrade file or downloads integration upgrade file from main main control card 401 and carry out upgrading update;It presses This mechanism, if first upgrading main main control card 401, it is restarted after the completion of upgrading, then detects main main control card 401 for main control card 402 Version updating is then downloaded software and is updated, but during main main control card 401 is restarted, system is disabled, main Control card 401 restart needs how long so system unavailable time just need how long, usually a few minutes.
This mechanism can be optimized, as shown in figure 5, utilizing primary board and standby plate in displaying one embodiment of the invention The flow chart that the characteristics of card optimizes, the primary board and spare board can be the main main control cards in Fig. 4 embodiments 401 and standby main control card 402;The flow includes:
Step S501:Integration upgrade file needed for the primary board storage upgrading, the spare board is from the master It is synchronized with board and integrates upgrade file;
Step S502:The standby plate card is upgraded, and upgrading is completed to restart;
Step S503:The primary board is additionally operable to after the completion of detecting the standby plate card upgrade, and described spare Board carries out masterslave switchover;
Step S504:The main board card carries out itself upgrading by the integration upgrade file, restarts after the completion of upgrading;
Step S505:After the completion of the main board card upgrade masterslave switchover is carried out with the standby plate card again.
By this optimization it can be found that when standby plate is stuck in upgrading, main board is stuck in operation;And main board is stuck in upgrading When, spare board, which has upgraded, to be run;And the time that system can not be run is led twice for primary board and standby plate card The standby time switched, generally several milliseconds, compared to the time for a few minutes that main control card is restarted, it is unavailable to substantially reduce system Time.
As shown in fig. 6, showing the structural schematic diagram of board 600 in an embodiment, the board 600 in the present embodiment can be used Communication equipment in Fig. 1 or Fig. 4 embodiments.
The board 600 includes:Communication unit 601 and processing unit 602.
In one embodiment of the invention, the communication unit, such as communicator are realized, for example, the interface of certain fixing model Circuit is realized or by programmable logic circuit such as CPLD, FPGA by programming the interface circuit realized;The processing unit 602 Bus or direct-connected mode connection communication device can be passed through by realizations such as processors (CPU, SoC, MCU, DSP);The board It may also include storage unit 603, can be realized by memory, the processor is connected by bus or direct-connected mode;Such as ROM, RAM etc., it is preferred to use Flash ROM.
Wherein, it can have program stored therein in memory, the processor is by reading and running program come for communication equipment Realize the method in such as Fig. 2 or Fig. 3 embodiments.
Preferably, the storage unit 603 includes mutually independent multiple storage regions comprising:It is stored with current The first area of the software of institute's runs software version, be stored with target software release for recovery the upgrade file that prestores The third region of each software module or integration upgrade file that two regions and storage are received;To enable Current software, restore Software and upgrading software independently preserve, and avoid mixed storage when one of which is capped, in addition one is also accidentally covered Lid, for only having the 1U communication equipments of a board, memory partitioning domain and avoid accidentally cover be even more important.
As shown in fig. 7, in one embodiment of this invention, a kind of communication equipment 700 can be provided comprising at least one Board, which is used as the Gateway Network Element 102 in Fig. 1 embodiments, and realizes method shown in Fig. 2;It is described Board includes:Communication unit 701 communicates to connect equipment to be upgraded;Processing unit 702;Wherein, the communication unit 701 is used for From each software module for one or more communication equipment upgradings to prestore, according to local communication device with serially or simultaneously Line mode communication is connected and each plate to be upgraded in each of one or more jumps communication equipment to be upgraded (such as 700 and/or 800) The type of card obtains respective software module and constitutes software module set;Wherein, each software module is from for described one Or extracted in each upgrade file for being upgraded of multiple communication equipments.
In the present embodiment, a kind of communication equipment 800 of connection communication equipment 700 can also be provided comprising at least one Board, which is used as the network element device 103,104 in Fig. 1 embodiments, and realizes method shown in Fig. 3;Institute Stating board includes:Communication unit 801, connect with PERCOM peripheral communication, upgrades required software mould for receiving the communication equipment 800 Set of blocks;Wherein, each software module in the software assembly is according to the board to be upgraded at least one board What type determined, and each software module is from each upgrade file for being upgraded to one or more communication equipments Extraction;Processing unit 802 forms integration upgrade file for integrating the software module set, is set according to this to the communication Standby 800 are upgraded.
It should be noted that although storage unit is not shown in the diagram of the present embodiment, it is not meant to be not present;Separately Outside, communication equipment 700 and 800 is also not limited only to include a board, can also include multiple boards, such as shown in Fig. 4 Embodiment, be not limited with the present embodiment.
In other embodiments, the present invention can also provide computer storage media, be stored with computer program, the journey Such as Fig. 2 or shown in Fig. 3 methods are realized when sequence is executed by processor.The computer storage media is, for example, ROM, RAM, magnetic The various media that can store program code such as dish or CD.
In conclusion upgrade method for communication device, communication equipment and the computer storage media of the present invention, by from prestoring Each software module for one or more communication equipment upgradings in, according to local communication device in a manner of serial or parallel Communication is connected and the type of each board to be upgraded obtains corresponding software mould in each of one or more jumps communication equipment to be upgraded Block constitutes software module set;Wherein, each software module is upgraded from for one or more described communication equipments Each upgrade file in extract, and then the software module set can be integrated formed and integrate upgrade file, according to this to described Communication equipment is upgraded, and realization more accurately upgrades data management, is simplified ascending series significantly and is saved its transmission according to this and is used Network bandwidth solves problem of the prior art.
The present invention effectively overcomes various shortcoming in the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology can all carry out modifications and changes to above-described embodiment without violating the spirit and scope of the present invention.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should by the present invention claim be covered.

Claims (15)

1. a kind of upgrade method for communication device, which is characterized in that including:
From each software module for one or more communication equipment upgradings to prestore, according to local communication device with serial Or parallel mode communication is connected and the type of each board to be upgraded obtains in each of one or more jumps communication equipment to be upgraded Respective software module constitutes software module set;Wherein, each software module is set from for one or more described communications It is extracted in the standby each upgrade file upgraded;
The software module set is sent to each communication equipment to be upgraded for executing upgrading.
2. a kind of upgrade method for communication device, which is characterized in that be applied to include at least one board to be upgraded communication equipment, The method includes:
Receive the software module set needed for the communication equipment upgrading;Wherein, each software module in the software assembly is It is determined according to the type of at least one board to be upgraded, and each software module is from for logical to one or more It is extracted in each upgrade file that letter equipment is upgraded;
It integrates the software module set and forms integration upgrade file, the communication equipment is upgraded according to this.
3. upgrade method for communication device according to claim 2, which is characterized in that further include:The case where upgrading failure Under, enable the software version of the upgrading failure restore to target software release by the upgrade file that prestores.
4. upgrade method for communication device according to claim 3, which is characterized in that the target software release is to be not carried out The software version that can normally start before the upgrading.
5. upgrade method for communication device according to claim 3, which is characterized in that including:In the case where upgrading successfully, Prestore upgrade file described in integration upgrade file covering by the version upgraded successfully.
6. upgrade method for communication device according to claim 2, which is characterized in that including:To integrating before executing upgrading Upgrade file or each software module received are verified.
7. a kind of communication equipment, which is characterized in that including:At least one board;
The board includes:
Communication unit communicates to connect equipment to be upgraded;
Processing unit;
Wherein, the communication unit is used for from each software module for one or more communication equipment upgradings to prestore, root It is connected and in each of one or more jumps communication equipment to be upgraded according to being communicated in a manner of serial or parallel with local communication device The type of each board to be upgraded obtains respective software module and constitutes software module set;Wherein, each software module be from It is extracted in each upgrade file upgraded for one or more described communication equipments.
8. a kind of communication equipment, which is characterized in that including at least one board, the board includes:
Communication unit is connect with PERCOM peripheral communication, for receiving the software module set needed for the communication equipment upgrading;Wherein, Each software module in the software assembly be determined according to the type of the board to be upgraded at least one board, and Each software module is extracted from each upgrade file for being upgraded to one or more communication equipments;
Processing unit forms integration upgrade file for integrating the software module set, is carried out according to this to the communication equipment Upgrading.
9. communication equipment according to claim 8, which is characterized in that the processing unit is additionally operable in upgrading failure In the case of, enable the software version of the upgrading failure restore to target software release by the upgrade file that prestores.
10. communication equipment according to claim 9, which is characterized in that the target software release is to be not carried out the liter The software version that can normally start before grade.
11. communication equipment according to claim 9, which is characterized in that the processing unit is additionally operable to upgrading successfully In the case of, prestore upgrade file described in the integration upgrade file covering by the version upgraded successfully.
12. the communication equipment according to any one of claim 9 to 11, which is characterized in that each board to be upgraded includes: Storage unit, including mutually independent multiple storage regions comprising:It is stored with the of the software of current institute's runs software version One region, be stored with target software release for recovery the upgrade file that prestores second area and storage received it is each Software module or the third region for integrating upgrade file.
13. communication equipment according to claim 8, which is characterized in that the processing unit is additionally operable to before executing upgrading The each software module integrated upgrade file or received is verified.
14. communication equipment according to claim 8, which is characterized in that the board has at least two, including:Main board Block and forms the spare board of main-apparatus protection with it;
The primary board is stored with the integration upgrade file needed for upgrading;
The spare board integrates upgrade file, to be upgraded for being synchronized from the primary board;
The primary board is additionally operable to after the completion of detecting the standby plate card upgrade, is carried out with the standby plate card active and standby It switches, and then itself upgrading is carried out by the integration upgrade file, and led again with the standby plate card after the completion of upgrading It is standby to switch.
15. a kind of computer storage media, which is characterized in that be stored thereon with computer program, which is characterized in that the program quilt Any one of claim 1 to 6 upgrade method for communication device is realized when processor executes.
CN201810214877.9A 2018-03-15 2018-03-15 Upgrade method for communication device, communication equipment and computer storage media Pending CN108551395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810214877.9A CN108551395A (en) 2018-03-15 2018-03-15 Upgrade method for communication device, communication equipment and computer storage media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810214877.9A CN108551395A (en) 2018-03-15 2018-03-15 Upgrade method for communication device, communication equipment and computer storage media

Publications (1)

Publication Number Publication Date
CN108551395A true CN108551395A (en) 2018-09-18

Family

ID=63516331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810214877.9A Pending CN108551395A (en) 2018-03-15 2018-03-15 Upgrade method for communication device, communication equipment and computer storage media

Country Status (1)

Country Link
CN (1) CN108551395A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062914A1 (en) * 2018-09-27 2020-04-02 华为技术有限公司 Method and device for updating algorithm
CN111694584A (en) * 2020-05-20 2020-09-22 武汉烽火技术服务有限公司 Software upgrading system and method for communication transmission equipment
CN113407217A (en) * 2021-06-30 2021-09-17 迈普通信技术股份有限公司 Chip program upgrading method, communication device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859174A (en) * 2005-12-06 2006-11-08 上海华为技术有限公司 Upgrading method and its system for remote equipment in communication network
US20130117681A1 (en) * 2013-01-02 2013-05-09 Sylvain Veys Method and Apparatus for Targeting Updated Personal Data to Providers

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859174A (en) * 2005-12-06 2006-11-08 上海华为技术有限公司 Upgrading method and its system for remote equipment in communication network
US20130117681A1 (en) * 2013-01-02 2013-05-09 Sylvain Veys Method and Apparatus for Targeting Updated Personal Data to Providers

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062914A1 (en) * 2018-09-27 2020-04-02 华为技术有限公司 Method and device for updating algorithm
US11740886B2 (en) 2018-09-27 2023-08-29 Huawei Technologies Co., Ltd. Algorithm update method and apparatus
CN111694584A (en) * 2020-05-20 2020-09-22 武汉烽火技术服务有限公司 Software upgrading system and method for communication transmission equipment
CN113407217A (en) * 2021-06-30 2021-09-17 迈普通信技术股份有限公司 Chip program upgrading method, communication device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106227605B (en) A kind of the dynamic micro services expansion method and device of multilingual cloud compiling
US9166692B1 (en) Network fabric reconfiguration
CN106227611A (en) The dynamic micro services call method of a kind of multilingual cloud compiling and device
CN108551395A (en) Upgrade method for communication device, communication equipment and computer storage media
CN101968744B (en) Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment
CN106250199A (en) The dynamic micro services call method of a kind of multilingual cloud compiling and device
CN104615455B (en) A kind of the IPMC program remote upgrading methods and device of ATCA frameworks
CN108876619B (en) Processing method, device, equipment and medium based on block chain intelligent contract
CN106293704A (en) Dynamic micro services edit methods, device and the server of multilingual cloud compiling
CN103559053A (en) Board system and FPGA (Field Programmable Logic Array) online update method of communication interface cards
CN104331318B (en) A kind of Embedded Double system and its method of work
CN107947981B (en) Network equipment management method and device
CN112477919B (en) Dynamic redundancy backup method and system suitable for train control system platform
CN103257694A (en) Monitoring power source redundancy via power distribution unit
CN110515637A (en) A kind of programme upgrade method, system and terminal device
CN105204880A (en) Computer system and setting method of basic input and output system
WO2012113196A1 (en) Method and apparatus for realizing upgrade of master single-board and slave single-board
CN108540225B (en) Board working mode switching method, communication equipment, control board and storage medium
CN105718299A (en) Virtual machine configuration method, device and system
CN112087516A (en) Storage upgrading method and device based on Docker virtualization technology
CN103559063A (en) Update method and update system of application, application system and parameter configuration system
CN109032635A (en) Method for upgrading software, device and the network equipment
CN106569858B (en) A kind of update method and circuit board of configuration file
CN111078463A (en) Data backup method, device and system
CN111984287A (en) Equipment upgrading method and system

Legal Events

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

Application publication date: 20180918