CN105024839B - A kind of method and device of software release upgrade - Google Patents

A kind of method and device of software release upgrade Download PDF

Info

Publication number
CN105024839B
CN105024839B CN201410158885.8A CN201410158885A CN105024839B CN 105024839 B CN105024839 B CN 105024839B CN 201410158885 A CN201410158885 A CN 201410158885A CN 105024839 B CN105024839 B CN 105024839B
Authority
CN
China
Prior art keywords
veneer
upgrading
software
subrack
board
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
CN201410158885.8A
Other languages
Chinese (zh)
Other versions
CN105024839A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410158885.8A priority Critical patent/CN105024839B/en
Priority to PCT/CN2014/088627 priority patent/WO2015158120A1/en
Publication of CN105024839A publication Critical patent/CN105024839A/en
Application granted granted Critical
Publication of CN105024839B publication Critical patent/CN105024839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/34Signalling channels for network management communication

Landscapes

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

Abstract

The present invention provides a kind of method and device of software release upgrade, for the master control borad on boss's frame, the master control borad corresponds to respectively from least one intermediate veneer in subrack, the intermediate veneer is the select veneer from the veneer from subrack, the intermediate veneer corresponds to described from least one veneer in subrack, the method of the software release upgrade includes: the first transmitting step: the first software is transmitted to the intermediate veneer, so that the intermediate single board updating is upgrading agency board;Second transmitting step: transmitting the second software to the upgrading agency board, so that the upgrading agency board provides second software to the corresponding veneer, realizes the software upgrading from the veneer in subrack.The present invention has shared the part upgrading task of the master control borad, so that the work load of the master control borad reduces, the success rate for upgrading of whole system is improved by being that version is acted on behalf of in upgrading by the single board updating from subrack.

Description

A kind of method and device of software release upgrade
Technical field
The present invention relates to field of communication technology more particularly to a kind of method for upgrading software version and device.
Background technique
With the development of the times with the progress of information technology, the speed of the update of communication equipment software and hardware is more next Faster, the business that a website is opened is more and more, and the quantity of the function veneer of the website demand is also increasing.Many years ago one Boss's frame is only accessed under a network element can meet business demand, and the case where accessing multiple subracks under a present network element is Very universal.
For the upgrading index of communication apparatus software, it is primarily to see the efficiency and success rate for upgrading of software upgrading.Upgrading Complete consumption time it is fewer, the veneer upgraded successfully is more, it is meant that the time of service disconnection is fewer, fault recovery when Between it is shorter, the influence to user will be fewer, will be less to the extraneoas loss of entire Communications Market.Therefore it provides a height Stable device software version upgrading method is imitated, the target that each network operator competitively chases is become.
Board software upgrade method used at present is that network management passes through FTP (File Transfer Protocol-File Transfer Protocol), the software document upgraded will be needed all to download to a master control borad, then need to rise by these by the master control borad The software of grade is issued on corresponding veneer, is activated veneer later, is completed the upgrading of software version.It is all under one network element Veneer will control the scheduling and execution of software upgrading task by this master control borad.Due to being connect under the previous network element of mesh The subrack number entered is more and more, and the veneer quantity of the same type may be more and more.The same type veneer of parallel upgrade Quantity increase, inevitably result in the decline of success rate for upgrading because master control borad only one, and it also needs to handle simultaneously Other non-upgrading tasks, since the total amount of other non-upgrading tasks is not reduced, even if artificial limitation parallel upgrade is total The case where amount is also likely to appearance upgrading task schedule and does not come, or upgrading task influences other non-upgrading task schedules.Cause This, is upgraded, it is likely that success rate for upgrading will receive significantly if existing upgrading mode is put under large scale equipment environment Decline, or even such as normal operation for configuring, alerting of other basic functions is influenced, this is clearly unacceptable.
Summary of the invention
In view of this, the present invention provides a kind of method and device of communication equipment software edition upgrading, it is existing to solve In technology, the decline of veneer parallel upgrade bring success rate for upgrading and influence other equipment manage function under large scale equipment environment The problem of capable of operating normally.
To solve the above problems, the present invention provides a kind of method of software release upgrade, for the master control on boss's frame Plate, the master control borad correspond to respectively from least one intermediate veneer in subrack, the intermediate veneer be from described from subrack Veneer in select veneer, the intermediate veneer corresponds to described from least one veneer in subrack, the software The method of edition upgrading includes:
First transmitting step: the first software is transmitted to the intermediate veneer, so that the intermediate single board updating is upgrading generation Manage plate;
Second transmitting step: transmitting the second software to the upgrading agency board, so that the upgrading agency board is to corresponding The veneer provides second software, realizes the software upgrading from the veneer in subrack.
Preferably, the intermediate veneer is the veneer with exterior storage medium, described to select intermediate veneer specifically:
Query steps: issuing inquiry request to each veneer from subrack, obtains each described have from subrack respectively The veneer set being made of the veneer of the exterior storage medium;
First executes step: the smallest list of slot number is selected from the veneer in master state in the veneer set Plate is as intermediate veneer.
Preferably, first transmitting step specifically includes:
Identification of steps: addition upgrading is acted on behalf of standby field and is identified in the configuration file of the intermediate veneer;
First transmission sub-step: the first software is transmitted to the intermediate veneer with the mark;
First activation step: intermediate single board activated order is transmitted to the intermediate veneer with the mark, so that in described Between single board updating be upgrading agency board.
Preferably, the intermediate veneer is multiple, and the master control borad obtains the first upgrading configuration, first upgrading Upgrading priority of the intermediate veneer place from subrack, the first activation step specifically: root are preserved in configuration file According to first upgrading configuration, intermediate single board updating order successively is transmitted to the intermediate veneer with the mark, so that The intermediate veneer successively upgrades to upgrading agency board according to the upgrading priority.
Preferably, the upgrading agency board is multiple, the upgrading agency board the first upgrading configuration of acquisition, described the Upgrading priority of the upgrading agency board place from subrack, the second transmitting step tool are preserved in one upgrading configuration Body includes:
Second transmission sub-step: the second software is transmitted to the upgrading agency board corresponding from subrack;
First load step: to the upgrading agency board transmitting single plate software loading command, so that the upgrading agency board Second software is transmitted to the corresponding veneer;
Second activation step: successively soft to the upgrading agency board transmitting single plate according to first upgrading configuration Part activation command realizes institute so that the upgrading agency board sends the board software activation command to the corresponding veneer State the software upgrading from the veneer in subrack.
Preferably, the method for the software release upgrade further comprises:
Third transmitting step: all veneers on boss's Xiang Suoshu frame transmit third software, realize on boss's frame The software upgrading of the veneer;
4th transmitting step: transmitting the 4th software from all veneers in subrack to described in no upgrading agency board, real The existing software upgrading from the veneer in subrack.
Preferably, the method for the software release upgrade further comprises:
Receiving step: the upgrading progress of the veneer corresponding from subrack of the upgrading agency board transmission is received With software load progress.
The present invention also provides a kind of methods of software release upgrade, and for an intermediate veneer from subrack, feature exists In the intermediate veneer corresponds to the master control borad on boss's frame, and the intermediate veneer is to choose from the veneer from subrack The veneer elected, the intermediate veneer correspond to it is described from least one veneer in subrack, the software release upgrade Method includes:
First receiving step: the first software of the master control borad transmission is received, is upgrading using first software upgrading Agency board;
Second receiving step: the second software of the master control borad transmission is received, and to described in the corresponding veneer offer Second software realizes the software upgrading from the veneer in subrack.
Preferably, the intermediate veneer is the veneer with exterior storage medium, described to select intermediate veneer specifically: to connect The inquiry request that the master control borad issues is received, and there is the message of exterior storage medium to return to the master control borad oneself.
Preferably, the upgrading agency board is multiple, the upgrading agency board the second upgrading configuration of acquisition, described the It is preserved in two upgrading configurations where the upgrading agency board from the upgrading priority of each veneer in subrack, described second Receiving step specifically includes:
Second reception sub-step: the second upgrading software of the master control borad transmission is received;
Second load step: receiving the board software loading command that the master control borad is sent, and to the corresponding veneer Transmit second software;
Third activates step: receiving the board software activation command of the master control borad transmission, and according to second upgrading Configuration file successively sends the board software activation command to the corresponding veneer, realize it is described from subrack described in The software upgrading of veneer.
Preferably, the method for the software release upgrade further comprises:
Transmitting step: the upgrading progress and software load progress of the veneer corresponding from subrack are received, and will The upgrading progress and software load progress are transferred to the master control borad.
The present invention also provides a kind of devices of software release upgrade, for the master control borad on boss's frame, the master control borad pair It should be in respectively from least one intermediate veneer in subrack, the intermediate veneer is to pick out from the veneer from subrack Veneer, the intermediate veneer corresponds to described from least one veneer in subrack, the device packet of the software release upgrade It includes:
First transmission module: the first software is transmitted to the intermediate veneer, so that the intermediate single board updating is upgrading generation Manage plate;
Second transmission module: transmitting the second software to the upgrading agency board, so that the upgrading agency board is to corresponding The veneer provides second software, realizes the software upgrading from the veneer in subrack.
Preferably, the intermediate veneer is the veneer with exterior storage medium, described to select intermediate veneer specifically:
Query unit: issuing inquiry request to each veneer from subrack, obtains each described have from subrack respectively The veneer set being made of the veneer of the exterior storage medium;
First execution unit: the smallest list of slot number is selected from the veneer in master state in the veneer set Plate is as intermediate veneer.
Preferably, first transmission module specifically includes:
Mark unit: addition upgrading is acted on behalf of standby field and is identified in the configuration file of the intermediate veneer;
First transmission unit: the first software is transmitted to the intermediate veneer with the mark;
First activation unit: intermediate single board activated order is transmitted to the intermediate veneer with the mark, so that in described Between single board updating be upgrading agency board.
Preferably, the intermediate veneer is multiple, and the master control borad obtains the first upgrading configuration, first upgrading Upgrading priority of the intermediate veneer place from subrack, the first activation unit specifically: root are preserved in configuration file According to first upgrading configuration, intermediate single board updating order successively is transmitted to the intermediate veneer with the mark, so that The intermediate veneer successively upgrades to upgrading agency board according to the upgrading priority.
Preferably, the upgrading agency board is multiple, the upgrading agency board the first upgrading configuration of acquisition, described the Upgrading priority of the upgrading agency board place from subrack, the second transmission module tool are preserved in one upgrading configuration Body includes:
Second transmission unit: the second software is transmitted to the upgrading agency board corresponding from subrack;
First loading unit: to the upgrading agency board transmitting single plate software loading command, so that the upgrading agency board Second software is transmitted to the corresponding veneer;
Second activation unit: successively soft to the upgrading agency board transmitting single plate according to first upgrading configuration Part activation command realizes institute so that the upgrading agency board sends the board software activation command to the corresponding veneer State the software upgrading from the veneer in subrack.
Preferably, the device of the software release upgrade further comprises:
Third transmission module: all veneers on boss's Xiang Suoshu frame transmit third software, realize on boss's frame The software upgrading of the veneer;
4th transmission module: transmitting the 4th software from all veneers in subrack to described in no upgrading agency board, real The existing software upgrading from the veneer in subrack.
The present invention also provides a kind of devices of software release upgrade, for an intermediate veneer from subrack, the centre Veneer corresponds to the master control borad on boss's frame, and the intermediate veneer is the select list from the veneer from subrack Plate, corresponding to described from least one veneer in subrack, the device of the software release upgrade includes: the intermediate veneer
First receiving module: the first software of the master control borad transmission is received, is upgrading using first software upgrading Agency board;
Second receiving module: the second software of the master control borad transmission is received, and to described in the corresponding veneer offer Second software realizes the software upgrading from the veneer in subrack.
Preferably, the intermediate veneer is the veneer with exterior storage medium, described to select intermediate veneer specifically: to connect The inquiry request that the master control borad issues is received, and there is the message of exterior storage medium to return to the master control borad oneself.
Preferably, the upgrading agency board is multiple, the upgrading agency board the second upgrading configuration of acquisition, described the It is preserved in two upgrading configurations where the upgrading agency board from the upgrading priority of each veneer in subrack, described second Receiving module specifically includes:
Second receiving unit: the second upgrading software of the master control borad transmission is received;
Second loading unit: receiving the board software loading command that the master control borad is sent, and to the corresponding veneer Transmit second software;
Third activates unit: receiving the board software activation command of the master control borad transmission, and according to second upgrading Configuration file successively sends the board software activation command to the corresponding veneer, realize it is described from subrack described in The software upgrading of veneer.
Being no longer rely on boss's frame master control borad the beneficial effects of the present invention are: the veneer under from subrack, directly to carry out veneer soft Part issuing and activating, but the upgrading task of master control borad a part is shared with multiple upgrading agency boards, greatly alleviates The pressure for upgrading of master control borad enables to master control borad when carrying out large scale equipment software upgrading, can also guarantee to will not influence it The equipment Management Function of his non-upgrading, the present invention can also be significantly reduced the total quantity of master control borad processing parallel upgrade veneer And there is the probability that time-out leads to the failure in single board updating, therefore can largely improve success rate for upgrading.
Detailed description of the invention
Fig. 1 is a flow diagram of the method for the software release upgrade of the embodiment of the present invention;
Fig. 2 is another flow diagram of the method for the software release upgrade of the embodiment of the present invention;
Fig. 3 is a structural schematic diagram of the device of the software release upgrade of the embodiment of the present invention;
Fig. 4 is another structural schematic diagram of the device of the software release upgrade of the embodiment of the present invention;
Fig. 5 is that the intermediate single board updating of the embodiment of the present invention is the flow diagram for upgrading the process of agency board;
Fig. 6 is the software upgrade equipment structure chart of the embodiment of the present invention;
Fig. 7 is a flow diagram of the escalation process of each veneer from subrack of the embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical scheme and beneficial effects clearer, below in conjunction with attached drawing And specific embodiment is described in detail.
Fig. 1 is a flow diagram of the method for the software release upgrade of the embodiment of the present invention.As shown in Figure 1, this hair Bright to provide a kind of method of software release upgrade, for the master control borad on boss's frame, the master control borad corresponds to respectively from subrack At least one intermediate veneer, the intermediate veneer be from the veneer from subrack select veneer, it is described in Between veneer correspond to described from least one veneer in subrack, the method for the software release upgrade includes:
First transmitting step 101: the first software is transmitted to the intermediate veneer, so that the intermediate single board updating is upgrading Agency board;
Second transmitting step 102: transmitting the second software to the upgrading agency board, so that the upgrading agency board is to correspondence The veneer second software is provided, realize the software upgrading from the veneer in subrack.
The method for upgrading software version of the present embodiment, by being upgrading agency by the single board updating from subrack Version has shared the part upgrading task of the master control borad, so that the work load of the master control borad reduces, the upgrading of whole system Success rate improves.
The intermediate veneer is the veneer with exterior storage medium, described to select intermediate veneer specifically:
Query steps: issuing inquiry request to each veneer from subrack, obtains each described have from subrack respectively The veneer set being made of the veneer of the exterior storage medium;
First executes step: the smallest list of slot number is selected from the veneer in master state in the veneer set Plate is as intermediate veneer.
Above-described embodiment is the preferred embodiment of the present invention, wherein can be understood as one kind for the restriction of slot number Specific embodiment, that is, it is also feasible for carrying out the selection of any veneer from the veneer in master state.Pass through The technical solution of above-described embodiment can be selected determining scalable for upgrading from numerous veneers with exterior storage medium The intermediate veneer of agency board.
It is the process for upgrading agency board that first transmitting step, which is by the intermediate single board updating, is specifically included:
Identification of steps: addition upgrading is acted on behalf of standby field and is identified in the configuration file of the intermediate veneer;
First transmission sub-step: the first software is transmitted to the intermediate veneer with the mark;
First activation step: intermediate single board activated order is transmitted to the intermediate veneer with the mark, so that in described Between single board updating be upgrading agency board.
It is the preferred embodiment for upgrading agency board that the present embodiment, which is shown in particular the intermediate single board updating, described the One software can be the component with upgrade function.Activation can be regarded as the software installation process of ordinary meaning.
Boss's frame corresponds to multiple from subrack, and each upgrading agency board that can have oneself from subrack works as institute When to state intermediate veneer be multiple, the master control borad obtains the first upgrading configuration, saves in first upgrading configuration There are upgrading priority of the intermediate veneer place from subrack, the first activation step specifically: according to first upgrading Configuration file successively transmits intermediate single board updating order to the intermediate veneer with the mark, so that the intermediate veneer is pressed Successively upgrade to upgrading agency board according to the upgrading priority.
First upgrading configuration specifically include from subrack number, from subrack priority, upgrading agency board address.According to Successively upgrade the intermediate veneer from the upgrading priority of subrack, upgrading can be made orderly, and mitigate the liter of the master control borad Stage pressure, other upgrading tasks of processing and the management role of non-upgrading so that the master control borad is had the ability.
Second transmitting step is to act on behalf of the step of version upgrades each veneer by the upgrading, when the upgrading agency board When being multiple, the upgrading agency board obtains the first upgrading configuration, preserves in first upgrading configuration described Upgrade upgrading priority of the agency board place from subrack, second transmitting step specifically includes:
Second transmission sub-step: the second software is transmitted to the upgrading agency board corresponding from subrack;
First load step: to the upgrading agency board transmitting single plate software loading command, so that the upgrading agency board Second software is transmitted to the corresponding veneer;
Second activation step: successively soft to the upgrading agency board transmitting single plate according to first upgrading configuration Part activation command realizes institute so that the upgrading agency board sends the board software activation command to the corresponding veneer State the software upgrading from the veneer in subrack.
In the above-described embodiments, the board software activation life is successively issued also according to from the upgrading priority of subrack It enables, successively sends the board software activation command to the upgrading agency board, alleviate the pressure for upgrading of master control borad.
While the master control borad carries out the upgrading of each board software by the upgrading agency board, other non-upgradings are also handled Management role and other upgrading tasks, the method for the software release upgrade further comprises:
Third transmitting step: all veneers on boss's Xiang Suoshu frame transmit third software, realize on boss's frame The software upgrading of the veneer;
4th transmitting step: transmitting the 4th software from all veneers in subrack to described in no upgrading agency board, real The existing software upgrading from the veneer in subrack.
Other described upgrading tasks include the upgrading task of the veneer of boss's frame and the slave son without upgrading agency board The upgrading task of veneer on frame.It can be seen that the upgrading agency board has shared the upgrading task of a large portion.
While the veneer from subrack carries out the load and activation of software, the method for the software release upgrade Further comprise: receiving step: receiving the upgrading of the veneer corresponding from subrack of the upgrading agency board transmission Progress and software activation progress.
The upgrading progress of the veneer received and software activation progress are reported to NM server by the master control borad, So that NM server understands upgrading progress at any time.
Fig. 2 is another flow diagram of the method for the software release upgrade of the embodiment of the present invention.As shown in Fig. 2, this Invention also provides a kind of method of software release upgrade, and for an intermediate veneer from subrack, the intermediate veneer corresponds to Master control borad on boss's frame, the intermediate veneer are select veneer, the centre from the veneer from subrack Corresponding to described from least one veneer in subrack, the method for the software release upgrade includes: veneer
First receiving step 201: the first software of the master control borad transmission is received, is to rise using first software upgrading Grade agency board.
Second receiving step 202: the second software of the master control borad transmission is received, and provides institute to the corresponding veneer The second software is stated, realizes the software upgrading from the veneer in subrack.
The embodiment by the responsible place of the escalation process of the intermediate veneer itself and the upgrading agency board from The escalation process of the veneer of subrack.The upgrading agency board has shared the part upgrading task of the master control borad, so that the master The work load for controlling plate reduces, and the success rate for upgrading of whole system improves.
Preferably, the intermediate veneer is the veneer with exterior storage medium, described to select intermediate veneer specifically: to connect The inquiry request that the master control borad issues is received, and there is the message of exterior storage medium to return to the master control borad oneself.
Preferably, the upgrading agency board is multiple, the upgrading agency board the second upgrading configuration of acquisition, described the It is preserved in two upgrading configurations where the upgrading agency board from the upgrading priority of each veneer in subrack, described second Receiving step specifically includes:
Second reception sub-step: the second upgrading software of the master control borad transmission is received;
Second load step: receiving the board software loading command that the master control borad is sent, and to the corresponding veneer Transmit second software;
Third activates step: receiving the board software activation command of the master control borad transmission, and according to second upgrading Configuration file successively sends the board software activation command to the corresponding veneer, realize it is described from subrack described in The software upgrading of veneer.
Preferably, the method for the software release upgrade further comprises:
Transmitting step: the upgrading progress and software load progress of the veneer corresponding from subrack are received, and will The upgrading progress and software load progress are transferred to the master control borad.
Fig. 3 is a structural schematic diagram of the device of the software release upgrade of the embodiment of the present invention.As shown in figure 3, this hair Bright also to provide a kind of device of software release upgrade, for the master control borad on boss's frame, the master control borad corresponds to respectively from subrack On at least one intermediate veneer, the intermediate veneer be from the veneer from subrack select veneer, it is described Corresponding to described from least one veneer in subrack, the device of the software release upgrade includes: intermediate veneer
First transmission module: the first software is transmitted to the intermediate veneer, so that the intermediate single board updating is upgrading generation Manage plate;
Second transmission module: transmitting the second software to the upgrading agency board, so that the upgrading agency board is to corresponding The veneer provides second software, realizes the software upgrading from the veneer in subrack.
Preferably, the intermediate veneer is the veneer with exterior storage medium, described to select intermediate veneer specifically:
Query unit: issuing inquiry request to each veneer from subrack, obtains each described have from subrack respectively The veneer set being made of the veneer of the exterior storage medium;
First execution unit: the smallest list of slot number is selected from the veneer in master state in the veneer set Plate is as intermediate veneer.
Preferably, first transmission module specifically includes:
Mark unit: addition upgrading is acted on behalf of standby field and is identified in the configuration file of the intermediate veneer;
First transmission unit: the first software is transmitted to the intermediate veneer with the mark;
First activation unit: intermediate single board activated order is transmitted to the intermediate veneer with the mark, so that in described Between single board updating be upgrading agency board.
Preferably, the intermediate veneer is multiple, and the master control borad obtains the first upgrading configuration, first upgrading Upgrading priority of the intermediate veneer place from subrack, the first activation unit specifically: root are preserved in configuration file According to first upgrading configuration, intermediate single board updating order successively is transmitted to the intermediate veneer with the mark, so that The intermediate veneer successively upgrades to upgrading agency board according to the upgrading priority.
Preferably, the upgrading agency board is multiple, the upgrading agency board the first upgrading configuration of acquisition, described the Upgrading priority of the upgrading agency board place from subrack, the second transmission module tool are preserved in one upgrading configuration Body includes:
Second transmission unit: the second software is transmitted to the upgrading agency board corresponding from subrack;
First loading unit: to the upgrading agency board transmitting single plate software loading command, so that the upgrading agency board Second software is transmitted to the corresponding veneer;
Second activation unit: successively soft to the upgrading agency board transmitting single plate according to first upgrading configuration Part activation command realizes institute so that the upgrading agency board sends the board software activation command to the corresponding veneer State the software upgrading from the veneer in subrack.
Preferably, the device of the software release upgrade further comprises:
Third transmission module: all veneers on boss's Xiang Suoshu frame transmit third software, realize on boss's frame The software upgrading of the veneer;
4th transmission module: transmitting the 4th software from all veneers in subrack to described in no upgrading agency board, real The existing software upgrading from the veneer in subrack.
Preferably, the device of the software release upgrade further comprises:
Receiving module: the upgrading progress of the veneer corresponding from subrack of the upgrading agency board transmission is received With software load progress.
Fig. 4 is another structural schematic diagram of the device of the software release upgrade of the embodiment of the present invention.As shown in figure 4, this Invention also provides a kind of device of software release upgrade, and for an intermediate veneer from subrack, the intermediate veneer corresponds to Master control borad on boss's frame, the intermediate veneer are select veneer, the centre from the veneer from subrack Corresponding to described from least one veneer in subrack, the device of the software release upgrade includes: veneer
First receiving module: the first software of the master control borad transmission is received, is upgrading using first software upgrading Agency board;
Second receiving module: the second software of the master control borad transmission is received, and to described in the corresponding veneer offer Second software realizes the software upgrading from the veneer in subrack.
Preferably, the intermediate veneer is the veneer with exterior storage medium, described to select intermediate veneer specifically: to connect The inquiry request that the master control borad issues is received, and there is the message of exterior storage medium to return to the master control borad oneself.
Preferably, the upgrading agency board is multiple, the upgrading agency board the second upgrading configuration of acquisition, described the It is preserved in two upgrading configurations where the upgrading agency board from the upgrading priority of each veneer in subrack, described second Receiving module specifically includes:
Second receiving unit: the second upgrading software of the master control borad transmission is received;
Second loading unit: receiving the board software loading command that the master control borad is sent, and to the corresponding veneer Transmit second software;
Third activates unit: receiving the board software activation command of the master control borad transmission, and according to second upgrading Configuration file successively sends the board software activation command to the corresponding veneer, realize it is described from subrack described in The software upgrading of veneer.
Preferably, the device of the software release upgrade further comprises:
Transmission module: the upgrading progress and software load progress of the veneer corresponding from subrack are received, and will The upgrading progress and software load progress are transferred to the master control borad.
Above-described embodiment is merely a preferred embodiment of the present invention, and to any combination and modification of above-described embodiment, should all be contained Lid is within protection scope of the present invention.
Fig. 5 is that the intermediate single board updating of the embodiment of the present invention is the flow diagram for upgrading the process of agency board.Such as Shown in Fig. 5, intermediate single board updating provided by the invention is the method for upgrading agency board, described for the master control borad on boss's frame Master control borad corresponds to respectively from least one intermediate veneer in subrack, and the intermediate veneer is the list with exterior storage medium Plate, the intermediate single board updating, which is the step of upgrading agency board, includes:
Step 301: issuing inquiry request to each veneer from subrack, obtain each described has respectively from subrack The veneer set of the veneer composition of the exterior storage medium.It is same perhaps to there are multiple lists for meeting querying condition from subrack Plate, at this time, it may be necessary to select a list from the veneer set that the veneers with exterior storage medium all in subrack form from described Plate is as the intermediate veneer for preparing upgrading.
Step 302:
Select the smallest veneer of slot number as intermediate veneer from the veneer in master state.
Step 303: addition upgrading is acted on behalf of standby field and is identified in the configuration file of the intermediate veneer.And by institute The routing information for stating intermediate veneer is sent to the NM server and is stored.Standby field is acted on behalf of with the upgrading to identify The veneer of the type has the ability for becoming upgrading agency board.
Step 304: according to the intermediate single board updating order received, transmitting first to having the tagged intermediate veneer Software, so that the intermediate single board updating is upgrading agency board.First software is the component with upgrade function.In described Between single board updating order include intermediate veneer loading command and intermediate single board activated order.Wherein, according to the intermediate veneer institute Slave subrack upgrading priority, according to priority sequence, successively activate first software;Priority is identical from subrack, First software is then activated simultaneously.
Fig. 6 is the software upgrade equipment structure chart of the embodiment of the present invention;Fig. 7 is each from subrack of the embodiment of the present invention On veneer escalation process a flow diagram.It as shown in Figure 6, Figure 7, is upgrading agency board by the intermediate single board updating Afterwards, so that it may carry out respectively from the upgrade job of the veneer in subrack, master control borad obtains upgrading configuration, described respectively from subrack The escalation process of veneer specifically comprise the following steps:
Step 401: master control borad receives the first upgrading software package and the first upgrade command that NM server issues.
The NM server first inquires whether the master control borad currently contains before issuing the first upgrading software package One is otherwise issued on the master control borad if it is present not issuing with identical upgrading software in the first upgrading software package Under newly-built upgrading catalogue, while it will not issue and be present in the upgrading software in the master control borad, in a manner of hard link These are upgraded under software link to newly-built upgrading catalogue.
Wherein, third upgrading configuration includes the software name for including under all types of Monoplacophora models, all types of veneers Title and the path that software default is stored under newly-built upgrading catalogue.
Step 402: the master control borad splits the first upgrading software package, will split the second upgrading software package obtained and passes It is defeated by corresponding upgrading agency board.
According to the upgrade command of NM server and respectively from the board type in subrack, the master control borad is according to fractionation institute It states the first software package and obtains the second upgrading software package, and by second package transfer to corresponding upgrading agency board.
Master control borad inquires the board type for respectively including under subrack, and the type list is got from third upgrading configuration The all types of softwares that need to upgrade under plate and under newly-built upgrading catalogue software default storage path, from newly-built upgrading It is searched, the software found out is all handed down to corresponding from the upgrading agency board under subrack under catalogue.
Step 403: the master control borad transmitting single plate software upgrading order is given respectively from the upgrading agency board in subrack.
The upgrade command includes board software loading command and board software activation command.
Step 404: after the upgrading agency board receives the board software upgrade command, splitting the second upgrading software Packet, and software upgrading is carried out to the veneer from subrack.
It, will be by described according to the second configuration file after the upgrading agency board receives the board software loading command Upgrading software after second upgrading software package fractionation is handed down to rear described from the veneer in subrack.Second upgrading configuration Include all types of veneers style number, the upgrading priority of all types of veneers, all types of veneers under all types of software upgradings The path of all types of dbases and software default storage under priority, all types of veneers.
Respectively under subrack all board softwares load after, master control borad is according to corresponding in the first upgrading configuration Subrack number, subrack priority, upgrading agency board address, issuing to respectively from the upgrading agency board under subrack in order are sharp from subrack Life enables.The upgrading agency board is according to all types of Monoplacophora models corresponding in second upgrading configuration, all types of Software upgrading priority under single board updating priority, all types of veneers activates all types of veneer sequences, priority phase With, then it is activated simultaneously;Under same veneer, component priority is identical, while being activated, and is otherwise swashed in order It is living.
Step 405: the upgrading agency board receives the software upgrading progress of each veneer, and the entirety of place from subrack is single Plate software upgrading progress is sent to the master control borad.
The upgrading progress includes load progress and activation progress.The upgrading agency board receives the software activation of each veneer Progress, and place is sent to the master control borad from the whole board software of subrack activation progress.
Step 406: the whole board software upgrading progress received is sent to the network management and taken by the master control borad Business device.
It is total from subrack to be finally only reported to network management without reporting for the load progress information of the veneer single from subrack The load progress of body can report detailed board software load shape under each subrack respectively after the completion of subrack load to network management State.
Then, the whole board software activation progress received is sent to the network manager service by the master control borad Device.With report as board software load progress, be only reported to network management respectively from one of subrack overall board software activation progress, After the completion of activation, report a detailed board software state of activation under subrack to NM server.
During being carried out by upgrading agency board from single board updating in subrack, the master control borad is also responsible for boss's frame On veneer upgrading task and without upgrading agency board slave subrack on veneer upgrading task.The master control borad is responsible for Veneer and other software load and activation carried out by the responsible veneer of the upgrading agency board simultaneously.
Method for upgrading software version advantage of the invention is as follows:
1. the master control borad that the veneer under from subrack is no longer rely on boss's frame directly carries out the load and activation of board software, and It is the upgrading task for sharing master control borad a part with multiple upgrading agency boards, realizes the distributed veneer in a network element Upgrading.
2. this distributed single board updating mode greatly alleviates the pressure for upgrading of master control borad, master control borad is enabled to When carrying out large scale equipment software upgrading, it can also guarantee the equipment Management Function that will not influence other non-upgradings.
3. the total quantity that this distributed upgrading mode can also be significantly reduced master control borad processing parallel upgrade veneer And there is the probability that time-out leads to the failure in single board updating, therefore can largely improve success rate for upgrading.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (17)

1. a kind of method of software release upgrade, for the master control borad on boss's frame, which is characterized in that the master control borad corresponds to Respectively from least one intermediate veneer in subrack, the intermediate veneer is the select list from the veneer from subrack Plate, corresponding to described from least one veneer in subrack, the method for the software release upgrade includes: the intermediate veneer
First transmitting step: transmitting the first software to the intermediate veneer, so that the intermediate single board updating is upgrading agency board;
Second transmitting step: transmitting the second software to the upgrading agency board, so that the upgrading agency board is to corresponding described Veneer provides second software, realizes the software upgrading from the veneer in subrack.
2. the method according to claim 1, wherein the intermediate veneer is the list with exterior storage medium Plate, it is described to select intermediate veneer specifically:
Query steps: issuing inquiry request to each veneer from subrack, and obtain each described has institute respectively from subrack State the veneer set of the veneer composition of exterior storage medium;
First executes step: the smallest veneer of slot number being selected to make from the veneer in master state in the veneer set For intermediate veneer.
3. the method according to claim 1, wherein first transmitting step specifically includes:
Identification of steps: addition upgrading is acted on behalf of standby field and is identified in the configuration file of the intermediate veneer;
First transmission sub-step: the first software is transmitted to the intermediate veneer with the mark;
First activation step: transmitting intermediate single board activated order to the intermediate veneer with the mark, so that described intermediate single Plate upgrades to upgrading agency board.
4. according to the method described in claim 3, it is characterized in that, the intermediate veneer be it is multiple, the master control borad obtains the One upgrading configuration, the upgrading preserved in first upgrading configuration where the intermediate veneer from subrack are preferential Grade, the first activation step specifically: according to first upgrading configuration, successively to intermediate single with the mark Plate transmits intermediate single board updating order, so that the intermediate veneer successively upgrades to upgrading agency according to the upgrading priority Plate.
5. the method according to claim 1, wherein the upgrading agency board is multiple, the upgrading agency board The first upgrading configuration is obtained, liter of the upgrading agency board place from subrack is preserved in first upgrading configuration Grade priority, second transmitting step specifically include:
Second transmission sub-step: the second software is transmitted to the upgrading agency board corresponding from subrack;
First load step: to the upgrading agency board transmitting single plate software loading command, so that the upgrading agency board is to right The veneer answered transmits second software;
Second activation step: according to first upgrading configuration, successively swash to the upgrading agency board transmitting single plate software Life enables so that the upgrading agency board sends the board software activation command to the corresponding veneer, realize described in from The software upgrading of the veneer in subrack.
6. the method according to claim 1, wherein the method for the software release upgrade further comprises:
Third transmitting step: all veneers on boss's Xiang Suoshu frame transmit third software, realize described on boss's frame The software upgrading of veneer;
4th transmitting step: the 4th software is transmitted from all veneers in subrack to described in no upgrading agency board, realizes institute State the software upgrading from the veneer in subrack.
7. according to the method described in claim 5, it is characterized in that, the method for the software release upgrade further comprises:
Receiving step: the upgrading progress of the veneer corresponding from subrack of the upgrading agency board transmission and soft is received Part load progress.
8. a kind of method of software release upgrade, for an intermediate veneer from subrack, which is characterized in that the intermediate veneer Corresponding to the master control borad on boss's frame, the intermediate veneer is select veneer, institute from the veneer from subrack Intermediate veneer is stated corresponding to described from least one veneer in subrack, the method for the software release upgrade includes:
First receiving step: receiving the first software of the master control borad transmission, is upgrading agency using first software upgrading Plate;
Second receiving step: the second software of the master control borad transmission is received, and provides described second to the corresponding veneer Software realizes the software upgrading from the veneer in subrack.
9. according to the method described in claim 8, it is characterized in that, the intermediate veneer is the list with exterior storage medium Plate, it is described to select intermediate veneer specifically: to receive the inquiry request that the master control borad issues, and oneself is situated between with external storage The message of matter returns to the master control borad.
10. according to the method described in claim 8, it is characterized in that, the upgrading agency board is multiple, the upgrading agency board The second upgrading configuration is obtained, the upgrading agency board place is preserved in second upgrading configuration from subrack The upgrading priority of each veneer, second receiving step specifically include:
Second reception sub-step: the second upgrading software of the master control borad transmission is received;
Second load step: the board software loading command that the master control borad is sent is received, and is transmitted to the corresponding veneer Second software;
Third activates step: receiving the board software activation command of the master control borad transmission, and is configured according to second upgrading File successively sends the board software activation command to the corresponding veneer, realizes described from the veneer in subrack Software upgrading.
11. according to the method described in claim 10, it is characterized in that, the method for the software release upgrade further comprises:
Transmitting step: the upgrading progress and software load progress of the veneer corresponding from subrack are received, and will be described Upgrading progress and software load progress are transferred to the master control borad.
12. a kind of device of software release upgrade, for the master control borad on boss's frame, which is characterized in that the master control borad is corresponding In respectively from least one intermediate veneer in subrack, the intermediate veneer is select from the veneer from subrack Veneer, corresponding to described from least one veneer in subrack, the device of the software release upgrade includes: the intermediate veneer
First transmission module: transmitting the first software to the intermediate veneer, so that the intermediate single board updating is upgrading agency board;
Second transmission module: transmitting the second software to the upgrading agency board, so that the upgrading agency board is to corresponding described Veneer provides second software, realizes the software upgrading from the veneer in subrack.
13. device according to claim 12, which is characterized in that the intermediate veneer is the list with exterior storage medium Plate, it is described to select intermediate veneer specifically:
Query unit: issuing inquiry request to each veneer from subrack, and obtain each described has institute respectively from subrack State the veneer set of the veneer composition of exterior storage medium;
First execution unit: the smallest veneer of slot number is selected to make from the veneer in master state in the veneer set For intermediate veneer.
14. device according to claim 12, which is characterized in that first transmission module specifically includes:
Mark unit: addition upgrading is acted on behalf of standby field and is identified in the configuration file of the intermediate veneer;
First transmission unit: the first software is transmitted to the intermediate veneer with the mark;
First activation unit: transmitting intermediate single board activated order to the intermediate veneer with the mark, so that described intermediate single Plate upgrades to upgrading agency board.
15. device according to claim 12, which is characterized in that the upgrading agency board is multiple, the upgrading agency Plate obtains the first upgrading configuration, and the upgrading agency board place is preserved in first upgrading configuration from subrack Upgrade priority, second transmission module specifically includes:
Second transmission unit: the second software is transmitted to the upgrading agency board corresponding from subrack;
First loading unit: to the upgrading agency board transmitting single plate software loading command, so that the upgrading agency board is to right The veneer answered transmits second software;
Second activation unit: according to first upgrading configuration, successively swash to the upgrading agency board transmitting single plate software Life enables so that the upgrading agency board sends the board software activation command to the corresponding veneer, realize described in from The software upgrading of the veneer in subrack.
16. a kind of device of software release upgrade, for an intermediate veneer from subrack, which is characterized in that described intermediate single Plate corresponds to the master control borad on boss's frame, and the intermediate veneer is the select veneer from the veneer from subrack, Corresponding to described from least one veneer in subrack, the device of the software release upgrade includes: the intermediate veneer
First receiving module: receiving the first software of the master control borad transmission, is upgrading agency using first software upgrading Plate;
Second receiving module: the second software of the master control borad transmission is received, and provides described second to the corresponding veneer Software realizes the software upgrading from the veneer in subrack.
17. device according to claim 16, which is characterized in that the upgrading agency board is multiple, the upgrading agency Plate obtains the second upgrading configuration, and the upgrading agency board place is preserved in second upgrading configuration from subrack Each veneer upgrading priority, second receiving module specifically includes:
Second receiving unit: the second upgrading software of the master control borad transmission is received;
Second loading unit: the board software loading command that the master control borad is sent is received, and is transmitted to the corresponding veneer Second software;
Third activates unit: receiving the board software activation command of the master control borad transmission, and is configured according to second upgrading File successively sends the board software activation command to the corresponding veneer, realizes described from the veneer in subrack Software upgrading.
CN201410158885.8A 2014-04-18 2014-04-18 A kind of method and device of software release upgrade Active CN105024839B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410158885.8A CN105024839B (en) 2014-04-18 2014-04-18 A kind of method and device of software release upgrade
PCT/CN2014/088627 WO2015158120A1 (en) 2014-04-18 2014-10-15 Method and apparatus for upgrading software version

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410158885.8A CN105024839B (en) 2014-04-18 2014-04-18 A kind of method and device of software release upgrade

Publications (2)

Publication Number Publication Date
CN105024839A CN105024839A (en) 2015-11-04
CN105024839B true CN105024839B (en) 2019-12-03

Family

ID=54323452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410158885.8A Active CN105024839B (en) 2014-04-18 2014-04-18 A kind of method and device of software release upgrade

Country Status (2)

Country Link
CN (1) CN105024839B (en)
WO (1) WO2015158120A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915362A (en) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 Method for controlling system upgrading according to version information and device thereof
CN105915363A (en) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 Transition upgrading method and device
CN109032635A (en) * 2018-07-16 2018-12-18 新华三技术有限公司 Method for upgrading software, device and the network equipment
CN109189449B (en) * 2018-10-24 2022-02-15 天津津航计算技术研究所 Multi-FPGA remote upgrading method based on CAN bus
CN110704081A (en) * 2019-09-23 2020-01-17 超讯通信股份有限公司 Remote software upgrading system and method based on 5G distributed small base station
CN110633094B (en) * 2019-10-22 2023-06-27 宁波三星医疗电气股份有限公司 Remote upgrading method for power terminal, main station and power system
CN112769589B (en) * 2019-11-06 2022-03-11 大唐移动通信设备有限公司 Base station upgrading method and device
CN114448799B (en) * 2022-01-30 2023-06-30 合肥美的电冰箱有限公司 Remote upgrading method, device, main control board, household electrical appliance and storage medium
CN115348172B (en) * 2022-07-28 2024-05-14 鹿马智能科技(上海)有限公司 Method, equipment and medium for upgrading versions of different parts of edge network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267344A (en) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 An upgrade method and device for network element single-board software
CN101277223A (en) * 2008-05-07 2008-10-01 中兴通讯股份有限公司 Method for obtaining veneer software
CN101753352A (en) * 2008-12-12 2010-06-23 华为技术有限公司 Method, system for loading business single plate and main control single plate
WO2010142092A1 (en) * 2009-06-10 2010-12-16 中兴通讯股份有限公司 Upgrade method and system of single-board software in equipment in communication system
CN102831000A (en) * 2012-09-11 2012-12-19 华为技术有限公司 System upgrading method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267344A (en) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 An upgrade method and device for network element single-board software
CN101277223A (en) * 2008-05-07 2008-10-01 中兴通讯股份有限公司 Method for obtaining veneer software
CN101753352A (en) * 2008-12-12 2010-06-23 华为技术有限公司 Method, system for loading business single plate and main control single plate
WO2010142092A1 (en) * 2009-06-10 2010-12-16 中兴通讯股份有限公司 Upgrade method and system of single-board software in equipment in communication system
CN101924643A (en) * 2009-06-10 2010-12-22 中兴通讯股份有限公司 Updating method and system of card software in communication system equipment
CN102831000A (en) * 2012-09-11 2012-12-19 华为技术有限公司 System upgrading method and system

Also Published As

Publication number Publication date
CN105024839A (en) 2015-11-04
WO2015158120A1 (en) 2015-10-22

Similar Documents

Publication Publication Date Title
CN105024839B (en) A kind of method and device of software release upgrade
CN102460393B (en) Systems and methods for establishing a cloud bridge between virtual storage resources
CN109829308A (en) The management method and device of control strategy, storage medium, electronic device
CN100552679C (en) Regular text data is imported the method for database
CN108876201A (en) Development approach, platform and the system quickly delivered
CN103209223A (en) Distributed application conversation information sharing method and system and application server
CN102521044A (en) Distributed task scheduling method and system based on messaging middleware
CN104160376A (en) Offline provisioning of virtual machines
CN110391993A (en) A kind of data processing method and system
US10481890B2 (en) Environment mapping and patching synthesis
CN103425511A (en) System and method of installing and deploying application software in cloud computing environment
CN106453576B (en) A kind of exchange method, system and control centre based on mixing cloud platform
CN101267344B (en) An upgrade method and device for network element single-board software
USRE46770E1 (en) Computer managing method
CN108667639A (en) A kind of method for managing resource under privately owned cloud environment and management server
CN110247951A (en) A kind of file transfer control method, device, equipment and storage medium
CN105404530B (en) It is a kind of to realize easy deployment and the system and method using private clound
CN107682460A (en) A kind of distributed storage trunked data communication method and system
CN105656661B (en) Single board software management method and system
CN107547591A (en) Upgrade server, set top box, set top box upgrading file delivery method and system
CN111510428B (en) Security resource operation and maintenance platform system and control method
CN111447076B (en) Container deployment method and network element of network function virtualization (NVF) system
CN101867484A (en) Method and system for upgrading equipment
CN103138961B (en) server control method, controlled server and central control server
CN109218259B (en) License management method and device, APPLM functional entity and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant