CN104133715B - A kind of power over Ethernet device firmware upgrade method and device - Google Patents

A kind of power over Ethernet device firmware upgrade method and device Download PDF

Info

Publication number
CN104133715B
CN104133715B CN201410398288.2A CN201410398288A CN104133715B CN 104133715 B CN104133715 B CN 104133715B CN 201410398288 A CN201410398288 A CN 201410398288A CN 104133715 B CN104133715 B CN 104133715B
Authority
CN
China
Prior art keywords
pse
version
upgrade
firmware
equipment
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
CN201410398288.2A
Other languages
Chinese (zh)
Other versions
CN104133715A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201410398288.2A priority Critical patent/CN104133715B/en
Publication of CN104133715A publication Critical patent/CN104133715A/en
Application granted granted Critical
Publication of CN104133715B publication Critical patent/CN104133715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of power over Ethernet device (PSE) firmware upgrade method, this method includes:PSE of the equipment as management upgrade, receives designated equipment family upgrade, and during the upgrade command of the specified target version being upgraded to, the corresponding PSE of the equipment chain is traveled through in the facility information table being locally stored;When corresponding version number is different from the version number of the target version in facility information table by the PSE traversed, the corresponding PSE firmware version upgrades file of the target version for the equipment chain being locally stored is handed down to the PSE, the PSE is carried out firmware upgrade.Based on same inventive concept, the application also proposes a kind of PSE device for upgrading firmware, saves the time of PSE firmware upgrades, improves upgrading efficiency.

Description

A kind of power over Ethernet device firmware upgrade method and device
Technical field
The present invention relates to field of communication technology, more particularly to a kind of power over Ethernet device firmware upgrade method and device.
Background technology
Power over Ethernet (Power Over Ethernet, POE) refers to connecting up basis in existing Ethernet Cat.5 In the case that framework does not make any changes, for some IP-based terminals (such as IP telephone machine, wireless local network connecting point AP, Web camera etc.) transmission data-signal while, moreover it is possible to for this kind equipment provide direct current supply technology.POE is also referred to as Electric power system (Power over LAN, POL) or active Ethernet (Active Ethernet) based on LAN.
PoE system includes PoE power supplys, power over Ethernet device (Power Sourcing Equipment, PSE), power supply Interface (Power Interface, PI) and power receiving equipment (PD).
Longitudinal fusion architecture (Vertical Converged Framework, VCF) is one of software virtualization technology.It Core concept be that more end mouth expansion equipments (Port Extender device, PEX) are connected to parent device (Parent Device on), carry out with postponing, one block of teleaction service plate by every PEX device virtualization into parent device is unified by parent device Management.Using this virtualization technology, the port density of parent device can be improved with relatively low cost, simplifies network topology, drop Low network operation cost.
Under VCF frames, every equipment can be the equipment for supporting PoE, and every equipment is powered as PSE for PD, and For so huge PSE groups, the operation for PSE firmware upgrades is very cumbersome, it is necessary to specify each PSE to carry out one by one Upgrading.
For VCF networkings, tens equipment may be included, no matter whether every style is identical, can only be upgraded by platform, Upgrade command is the serial operation on parent device, if every device upgrade takes 5 minutes, 30 device upgrades just take 150 Minute, so lose time very much and resource.
The content of the invention
In view of this, the application provides a kind of power over Ethernet device firmware upgrade method and device, to solve PSE firmwares The problem of upgrading inefficiency.
In order to solve the above technical problems, what the technical solution of the application was realized in:
One kind power supply PSE firmware upgrade methods, applied to any appliance in pile system, this method includes:
Power over Ethernet device PSE of the equipment as management upgrade, receives designated equipment family upgrade, and specifies and rise During the upgrade command for the target version that level arrives, the corresponding PSE of the equipment chain is traveled through in the facility information table being locally stored;
, will when corresponding version number is different from the version number of the target version in facility information table by the PSE traversed The corresponding PSE firmware version upgrades file of the target version for the equipment chain being locally stored is handed down to the PSE, makes the PSE Carry out firmware upgrade.
A kind of power over Ethernet device device for upgrading firmware, applied to any appliance in pile system, it is characterised in that The device includes:Storage unit, receiving unit, Traversal Unit, determination unit and issuance unit;
The storage unit, for storing device information table, the facility information table include equipment chain, version number and PSE is identified;Store the corresponding PSE firmware version upgrades file of each equipment chain;
The receiving unit, during for PSE of the present apparatus as management upgrade, receives upgrade command;
The Traversal Unit, when the receiving unit receives designated equipment family upgrade, and the specified target being upgraded to During the upgrade command of version, the corresponding PSE of the equipment chain is traveled through in the facility information table of storage unit storage;
The determination unit, for the definite PSE traversed when the Traversal Unit corresponding versions in facility information table Whether this number identical with the version number of the target version;
The issuing unit, for the PSE that determines to traverse when the determination unit in facility information table corresponding version This number when being differed with the version number of the target version, the target version pair for the equipment chain that the storage unit is stored The PSE firmware version upgrade files answered are handed down to the PSE, the PSE is carried out firmware upgrade.
In conclusion when needing to upgrade more PSE in the application, serially upgraded by platform by original, be optimized for more PSE parallel upgrades, and the PSE to that need not upgrade, so as to save the time of PSE firmware upgrades, is improved without upgrading Upgrading efficiency.
Brief description of the drawings
Fig. 1 is power over Ethernet device firmware upgrade method flow diagram in the embodiment of the present application;
Fig. 2 is that all upgrading flow diagrams are specified in the application specific embodiment;
Fig. 3 is designated equipment family upgrade flow diagram in the application specific embodiment;
Fig. 4 is the flow diagram that PSE upgradings are specified in the embodiment of the present application;
Fig. 5 is the firmware upgrade flow diagram that the PSE outside updating apparatus is managed in the embodiment of the present application;
Fig. 6 is the apparatus structure schematic diagram for being applied to above-mentioned technology in the application specific embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with the accompanying drawings and according to embodiment, Technical scheme is described in detail.
A kind of power over Ethernet device firmware upgrade method is provided in the embodiment of the present application, applied to appointing in pile system One equipment;During PSE of the equipment as management upgrade, designated equipment family upgrade is received, and specify and be upgraded to target version Upgrade command when, the corresponding PSE of the equipment chain is traveled through in the facility information table being locally stored, when the PSE traversed exists When corresponding version number is different from the version number of the target version in facility information table, by being somebody's turn to do for the equipment chain being locally stored The corresponding PSE firmware version upgrades file of target version is handed down to the PSE, the PSE is carried out firmware upgrade.Pass through the technical side Case can improve the efficiency of the PSE firmware upgrades in pile system.
Pile system in the application includes laterally stacked, vertical stack, and horizontal and vertical hybrid stack-ups.In transverse direction In pile system, the PSE for management upgrade can be any appliance in pile system;In vertical stack, or, longitudinal direction and horizontal stroke To hybrid stack-ups in, such as VCF, the PSE for management upgrade is parent device, that is, be used to receive the equipment of upgrade command must be Parent device, this point is compared with realization.
In being described below of the application, for convenience, set updating and management is known as the PSE of management upgrade It is standby.
The application can realize batch upgrade, and updating and management equipment is firstly the need of to facility information and PSE firmware upgrade versions This document carries out storage and maintenance, to need the PSE upgraded, finds correct PSE firmware upgrades version so that corresponding PSE Upgrading.
Can when the facility information of each equipment in its place pile system is stored in updating and management equipment, and being implemented To store the facility information of each equipment by equipment chain, to search.It is specific as follows:
1st, facility information, including equipment chain, the version number of PSE firmware versions, PSE marks, but according to practical application not It is confined to a little information.Referring to table 1, table 1 is the content that facility information includes.
Equipment chain The version number of PSE firmware versions PSE is identified
S1 258 4
S1 258 7
S1 260 10
S2 230 13
S3 231 16
S5 300 19
Table 1
(1), equipment chain:Equipment chain belonging to PSE device, can will to improve the efficiency of upgrading, during specific implementation It is arranged together with a series of product, easy to by series lookup be upgraded, avoids traveling through uncorrelated PSE.
(2), PSE firmware version numbers, identify the current PSE firmware versions of corresponding PSE, for identifying the new and old of version, are One of foundation of upgrading is judged whether to, if targeted update version is identical with current version, need not be upgraded.
(3), PSE is identified, and one equipment of unique mark in pile system, any operation for PSE is required for specifying Corresponding mark.
In specific implementation, PSE device type can be increased:During specific implementation, the form of device type can be " equipment Corresponding device series-specific features field ", such as S1-34C-PWR, illustrates this equipment for S1 series, is the pass of identification equipment series Key information, behind be its specific features, such as 34 be port number, and PWR is the equipment that PoE can be used to power.Naming method is only herein Illustrate for one kind, name of the application for PSE device type is not limited to this.
2nd, updating and management equipment also stores the PSE firmware upgrade version files of each equipment chain, for carrying out the firmware of PSE Upgrading, in storage, can be named as " equipment chain-POE- version numbers ", and version number value is bigger, and the version that represents is newer, Such as:" S1-POE-260.bin ", wherein, equipment chain is corresponding with the equipment chain in table 1, serial for same version one Equipment corresponds to a PSE firmware upgrade version file, if there are the PSE firmware version upgrades text of multiple versions for each equipment chain Part, then be all stored in local, so that PSE firmware upgrades use.The naming method of the firmware upgrade version file of the application not office It is limited to this, can be configured according to practical application.
Since batch upgrade is an order upgrading multiple devices, influence caused by avoiding maloperation, can with the addition of peace Total inspection operates, and is being risen before order is performed firstly the need of input updating and management person's username and password, this username and password Pre-set in level management equipment, the user of common authority can not be by verification, and only password correctly just performs updating operation, no It can not then upgrade.
For flexible operating, safety inspection is optional, and administrator can decide whether to enable according to the concrete condition of networking.
Referring to Fig. 1, Fig. 1 is power over Ethernet device firmware upgrade method flow diagram in the embodiment of the present application.Specifically Step is:
Step 101, updating and management equipment, which is worked as, receives designated equipment family upgrade, and specifies the target version being upgraded to During upgrade command, the corresponding PSE of the equipment chain is traveled through in the facility information table being locally stored.
Upgrade command can carry out batch upgrade in the application specific embodiment, be risen as specified under some equipment chain Level, specifies upgrading under several equipment chains, specifies whole PSE upgradings etc., different from the serial upgrading of existing realization, receives every time The order arrived after the PSE is upgraded successfully, then performs next upgrade command to specify a PSE upgrading.The batch of the application Each PSE during upgrading is upgraded locally, the process flow of updating and management equipment is not influenced, so as to improve PSE firmware upgrades Efficiency.
Step 102, when the PSE traversed corresponding version number and target version in facility information table version number not Meanwhile the updating and management equipment is literary by the corresponding PSE firmware version upgrades of the target version for the equipment chain being locally stored Part is handed down to the PSE, the PSE is carried out firmware upgrade.
When corresponding version number is identical with the version number of the target version in facility information table by the PSE traversed, no Corresponding PSE firmware version upgrades file is issued to the PSE, i.e., upgrades the PSE, efficiency when this point is than existing realize It is high.Without considering PSE current versions what is in existing realize, when receiving upgrade command, all can issue correspondence to the PSE PSE firmware upgrade files, make the PSE carry out firmware upgrade.
When receive all be upgraded to the upgrade command of latest edition when, the updating and management equipment is in the equipment being locally stored All PSE are traveled through in information table;
As the PSE traversed, corresponding version number and the equipment chain belonging to the PSE are corresponding most in facility information table When the version number of new version is different, by the corresponding PSE firmware version upgrades file of the latest edition of the equipment chain belonging to the PSE The PSE is handed down to, the PSE is carried out firmware upgrade.
The updating and management equipment, which is worked as, receives specified PSE upgradings, and specifies the upgrade command for the target version being upgraded to When, however, it is determined that the PSE corresponding version numbers in the facility information table being locally stored are different from the target version, then by the PSE The corresponding PSE firmware version upgrades file of the target version of affiliated equipment chain is handed down to the PSE, is consolidated the PSE Part upgrades.
When receiving the upgrade command of the not specified target version being upgraded to, determine to be upgraded to latest edition.
When the PSE for determining that needs upgrade is this updating and management equipment, directly using corresponding PSE firmware version upgrades text Part upgrades;
When upgrading successfully, update the corresponding version number of this equipment in the facility information table being locally stored and consolidate for the PSE The version number of the corresponding version of part edition upgrading file;During upgrading failure, the operation of original PSE firmware versions is maintained.
If not PSE device of the equipment for management upgrade, when receiving PSE firmware version upgrade files, carry out PSE upgrades;
When upgrading successfully, notify the equipment for issuing the PSE firmware version upgrade files updates in facility information table should The corresponding version number of equipment is the corresponding version number of PSE firmware version upgrade files, and deletes PSE firmware version upgrades text Part;When upgrading unsuccessful, the PSE firmware version upgrade files are deleted.
It is described in detail how the application realizes PSE firmware upgrades below by specific embodiment.
Referring to Fig. 2, Fig. 2 is that all upgrading flow diagrams are specified in the application specific embodiment.Concretely comprise the following steps:
Step 201, updating and management equipment receives upgrade command, when the definite upgrade command is upgraded to latest edition to be whole This when, travel through the PSE in facility information table.
Step 202, which determines the corresponding version numbers of PSE currently traversed and the equipment system belonging to the PSE Whether identical the version number of corresponding latest edition is arranged, if so, performing step 206;Otherwise, step 203 is performed.
Step 203, which determines whether the PSE is this equipment, if so, performing step 204;Otherwise, Perform step 205.
Step 204, which uses the PSE firmwares of the corresponding latest edition of equipment chain belonging to this equipment Update version document carries out firmware upgrade, performs step 206.
Step 205, the updating and management equipment is by the PSE firmware liters of the corresponding latest edition of equipment chain belonging to the PSE Level version file, which is handed down to corresponding PSE, makes the PSE carry out firmware upgrade.
Step 206, which determines with the presence or absence of the PSE not traveled through in the facility information table, if so, holding Row step 207;Otherwise, step 208 is performed.
Step 207, which travels through next PSE in facility information table, performs step 202.
Step 208, this flow is terminated.
Referring to Fig. 3, Fig. 3 is designated equipment family upgrade flow diagram in the application specific embodiment.Concretely comprise the following steps:
Step 301, updating and management equipment receives upgrade command, determines the PSE that the upgrade command is designated equipment series Firmware upgrade.
Step 302, when the target version being upgraded to is specified in the order, the updating and management equipment is in facility information table time Go through the PSE under designated equipment series.
In specific implementation, during the target version being upgraded to when the order is not specified, then this is specified to PSE's under series Firmware is all upgraded to latest edition.Concrete processing procedure is similar with process described in the flow chart, simply is determining to send to PSE During PSE firmware upgrade version files, the PSE firmware version upgrade files of latest edition are issued, if the PSE under the equipment chain During including this equipment, this equipment also uses the PSE firmware version upgrade files of latest edition.
Step 303, which determines the version of the corresponding version numbers of PSE currently traversed and target version It is number whether identical, if so, performing step 304;Otherwise, step 306 is performed.
Step 304, which determines with the presence or absence of the PSE not traversed under the equipment chain, if so, Perform step 305;Otherwise;Perform step 309.
Step 305, which travels through next PSE under the equipment chain, performs step 303.
Step 306, which determines whether the PSE is this equipment, if so, performing step 307;Otherwise, Perform step 308.
Step 307, which uses the PSE firmware upgrades of the target version of the equipment chain belonging to this equipment Version file carries out firmware upgrade, performs step 304.
Step 308, the updating and management equipment is by the corresponding PSE firmwares of the target version of the equipment chain belonging to the PSE Update version document, which is handed down to the PSE, makes the PSE carry out firmware upgrade, performs step 304.
Step 309, this flow is terminated.
The application is that batch performs PSE firmware upgrades in the flow chart of Fig. 2 and Fig. 3, for large-scale network-estabilishing, i.e., In pile system there are large number of equipment in the case of, the application provide PSE firmware upgrades mode serially risen by platform by original Level, is optimized for more parallel upgrades, saves update time, improve the efficiency of PSE firmware upgrades.
An original order one PSE of upgrading, can not upgrade other PSE in escalation process, operation interface can not yet Release, it is assumed that the time that updating and management equipment copies a PSE firmware upgrades version to PSE locals (it is big to ignore version herein for a Small difference, it is assumed that to be identical), sharing n platforms PSE in pile system will upgrade, and the separate unit PSE firmware upgrade times are b (product lines Difference, time length is variant, about 5~7 minutes, ignores difference herein, it is assumed that identical), then all PSE in whole pile system The time T=a*n+b*n of upgrading;
And the longest PSE firmware upgrades of holding time are issued to each PSE and go to operate by the application respectively, updating and management equipment Operation be by firmware upgrade version issue and according to each PSE return (being described in detail in Fig. 5) updating result safeguard PSE Facility information, update time of the holding time much smaller than a PSE, all upgrades end without waiting for all PSE and discharges again Operation interface, the time of all PSE upgradings is about T=a*n+b in the whole pile system realized of the present invention;
It is about b* (n-1) that the application and original scheme comparison, which save the time, and therefore, n is bigger, and the time of saving is more, This is also exactly the effect of batch upgrade caused by the application.
Referring to Fig. 4, Fig. 4 is the flow diagram that PSE upgradings are specified in the embodiment of the present application.Concretely comprise the following steps:
Step 401, updating and management equipment receives upgrade command.
Step 402, which determines that the upgrade command is when specifying the PSE firmware upgrades of PSE, it is determined whether Target version is specified, if so, performing step 403;Otherwise, step 406 is performed.
Step 403, which determines whether the PSE is this equipment, if so, performing step 404;Otherwise, Perform step 405.
Step 404, which uses the PSE firmware upgrades of the target version of the equipment chain belonging to this equipment Version file carries out firmware upgrade, terminates this flow.
Step 405, the updating and management equipment is by the corresponding PSE firmwares of the target version of the equipment chain belonging to the PSE Update version document, which is handed down to the PSE, makes the PSE carry out firmware upgrade, terminates this flow.
Step 406, which determines whether the PSE is this equipment, if so, performing step 407;Otherwise, Perform step 408.
Step 407, which uses the PoE firmware upgrades of the latest edition of the equipment chain belonging to this equipment Version file carries out firmware upgrade, terminates this flow.
Step 408, the updating and management equipment is by the PSE firmware liters of the corresponding latest edition of equipment chain belonging to the PSE Level version file, which is handed down to the PSE, makes the PSE carry out firmware upgrade, terminates this flow.
Any PSE is described below in detail when receiving the upgrade package that management upgrade equipment issues, specific escalation process is such as Under:
Referring to Fig. 5, Fig. 5 is the PSE firmware upgrades flow signal that the PSE outside updating apparatus is managed in the embodiment of the present application Figure.Concretely comprise the following steps:
Step 501, when PSE receives the PSE firmware upgrade files that management upgrade equipment issues, firmware upgrade is carried out.
Step 502, which determines whether upgrading succeeds, if so, performing step 503;Otherwise, step 504 is performed.
Step 503, which notifies the corresponding version numbers of the PSE in management upgrade renewal of the equipment facility information list, and will Local PSE firmware upgrades file is deleted, and terminates this flow.
Step 504, which deletes local PSE firmware upgrades file, terminates this flow.
If the equipment of upgrading is updating and management equipment, when upgrading successfully, directly by corresponding device information list Version number updates.
Based on same inventive concept, the application also proposes a kind of power over Ethernet device device for upgrading firmware, is applied to Any appliance in pile system.Referring to Fig. 6, Fig. 6 is the apparatus structure for being applied to above-mentioned technology in the application specific embodiment Schematic diagram.The device includes:Storage unit 601, receiving unit 602, Traversal Unit 603, determination unit 604 and issuance unit 605;
Storage unit 601, for storing device information table, which includes equipment chain, version number and PSE Mark;Store the corresponding PSE firmware version upgrades file of each equipment chain;
Receiving unit 602, during for PSE of the present apparatus as management upgrade, receives upgrade command;
Traversal Unit 603, when receiving unit 602 receives designated equipment family upgrade, and the specified target version being upgraded to During this upgrade command, the corresponding PSE of the equipment chain is traveled through in the facility information table that storage unit 601 stores;
Determination unit 604, for the definite PSE traversed when Traversal Unit 603 corresponding versions in facility information table It is number whether identical with the version number of the target version;
Issuance unit 605, for the PSE that determines to traverse when the determination unit 604 in facility information table it is corresponding When version number and the version number of the target version differ, the target version for the equipment chain that storage unit 601 is stored Corresponding PSE firmware version upgrades file is handed down to the PSE, the PSE is carried out firmware upgrade.
It is preferred that
Traversal Unit 603, is further used for when receiving unit 602 receives whole upgrade commands for being upgraded to latest edition When, all PSE are traveled through in the facility information table stored in storage unit 601;
Determination unit 604, is further used for determining that the PSE that Traversal Unit 603 traverses is corresponding in facility information table Whether version number is identical with the version number of the latest edition of the equipment chain belonging to the PSE;
Issuance unit 605, the PSE for being further used for determining to traverse by the determination unit 604 is in facility information table When corresponding version number is different from the version number of the corresponding latest edition of equipment chain belonging to the PSE, by setting belonging to the PSE The corresponding PSE firmware version upgrades file of latest edition of standby series is handed down to the PSE, the PSE is carried out firmware upgrade.
It is preferred that
The determination unit 604, is further used for upgrading when receiving unit 602 receives specified PSE, and specifies upgrading During the upgrade command of the target version arrived, the PSE corresponding version number and the mesh in the facility information table being locally stored are determined Whether identical mark version;
Issuance unit 605, further when the determination unit 604 determines the PSE in the facility information table being locally stored When corresponding version number is different from the target version, by the corresponding PSE firmwares of the target version of the equipment chain belonging to the PSE Edition upgrading file is handed down to the PSE, the PSE is carried out firmware upgrade.
It is preferred that
The determination unit 604, is further used for when receiving unit 602 receives the not specified target version liter being upgraded to During level order, determine to be upgraded to latest edition.
It is preferred that the device further comprises:Upgrade unit 606;
Whether the determination unit 604, the PSE for being further used for determining to need to upgrade are device where this unit;
Upgrade unit 606, when the PSE for determining to need to upgrade when the determination unit 604 is this equipment, uses correspondence PSE firmware version upgrade document upgradings;
Storage unit 601, is further used for, when upgrade unit 606 upgrades successfully, updating the facility information being locally stored The corresponding version number of this equipment is the version number of the corresponding version of the PSE firmware version upgrades file in table.
It is preferred that the device further comprises:Upgrade unit 606;
Receiving unit 602, be further used for the present apparatus for PSE device for management upgrade when, receive PSE firmware versions This upgrade file;
Upgrade unit 606, for when receiving unit 602 receives PSE firmware version upgrade files, carrying out PSE upgradings; When upgrading successfully, the equipment that notice issues the PSE firmware version upgrade files updates equipment correspondence in facility information table Version number be the corresponding version of PSE firmware version upgrade files version number, and delete the PSE firmware version upgrades text Part;When upgrading unsuccessful, the PSE firmware version upgrade files are deleted.
The unit of above-described embodiment can be integrated in one, and can also be deployed separately;A unit is can be merged into, also may be used To be further split into multiple subelements.
In conclusion when needing to upgrade more PSE in the application, serially upgraded by platform by original, be optimized for more PSE parallel upgrades, and the PSE to that need not upgrade, so as to save the time of PSE firmware upgrades, is improved without upgrading Upgrading efficiency.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of protection of the invention.

Claims (10)

1. a kind of power over Ethernet device PSE firmware upgrade methods, applied to any appliance in pile system, its feature exists In this method includes:
PSE of the equipment as management upgrade, receives designated equipment family upgrade, and specifies the liter for the target version being upgraded to During level order, the corresponding PSE of the equipment chain is traveled through in the facility information table being locally stored;
, will be local when corresponding version number is different from the version number of the target version in facility information table by the PSE traversed The corresponding PSE firmware version upgrades file of the target version of the equipment chain of storage is handed down to the PSE, carries out the PSE Firmware upgrade;
Wherein, the method is further included:
When the PSE for carrying out firmware upgrade is upgraded successfully, update and the version number of PSE is corresponded in the facility information table issue The corresponding version number of PSE firmware upgrade files;
Wherein, the method is further included:
If it is determined that when the PSE for needing to upgrade is this equipment, corresponding PSE firmware version upgrades document upgrading is used;
When upgrading successfully, it is the PSE firmwares version to update the corresponding version number of this equipment in the facility information table being locally stored The version number of the corresponding version of this upgrade file.
2. according to the method described in claim 1, it is characterized in that, the method is further included:
Receive all when being upgraded to the upgrade command of latest edition, all PSE are traveled through in the facility information table being locally stored;
As the PSE traversed in facility information table corresponding version number latest edition corresponding with the equipment chain belonging to the PSE When this version number is different, the corresponding PSE firmware version upgrades file of the latest edition of the equipment chain belonging to the PSE is issued The PSE is given, the PSE is carried out firmware upgrade.
3. according to the method described in claim 1, it is characterized in that, the method is further included:
When receiving specified PSE upgradings, and specifying the upgrade command for the target version being upgraded to, however, it is determined that the PSE is in local Corresponding version number is different from the target version in the facility information table of storage, then by the mesh of the equipment chain belonging to the PSE The corresponding PSE firmware version upgrades file of mark version is handed down to the PSE, the PSE is carried out firmware upgrade.
4. according to the method described in claim 1-3 any one, it is characterised in that the method is further included:
When receive it is not specified be upgraded to target version upgrade command when, determine to be upgraded to latest edition.
5. according to the method described in claim 1-3 any one, it is characterised in that the method is further included:
If not PSE device of the equipment for management upgrade, when receiving PSE firmware version upgrade files, upgraded;
When upgrading successfully, the equipment that notice issues the PSE firmware version upgrade files updates the equipment in facility information table Corresponding version number is the version number of the corresponding version of PSE firmware version upgrade files, and deletes the PSE firmware version upgrades File;
When upgrading unsuccessful, the PSE firmware version upgrade files are deleted.
6. a kind of power over Ethernet device PSE device for upgrading firmware, applied to any appliance in pile system, its feature exists In the device includes:Storage unit, receiving unit, Traversal Unit, determination unit and issuance unit;
The storage unit, for storing device information table, which includes equipment chain, version number and PSE marks Know;Store the corresponding PSE firmware version upgrades file of each equipment chain;When the determination unit determines to carry out firmware upgrade When PSE is upgraded successfully, update that the version number of PSE is corresponded in the facility information table is that the PSE firmware upgrades file that issues corresponds to Version number;
The receiving unit, during for PSE of the present apparatus as management upgrade, receives upgrade command;
The Traversal Unit, when the receiving unit receives designated equipment family upgrade, and the specified target version being upgraded to Upgrade command when, the storage unit storage facility information table in travel through the corresponding PSE of the equipment chain;
The determination unit, for determine PSE that the Traversal Unit traverses in facility information table corresponding version number with Whether the version number of the target version is identical;
The issuing unit, for the PSE that determines to traverse when the determination unit in facility information table corresponding version number When being differed with the version number of the target version, the target version for the equipment chain that the storage unit is stored is corresponding PSE firmware version upgrade files are handed down to the PSE, the PSE is carried out firmware upgrade;
Wherein, which further comprises:Upgrade unit;
Whether the determination unit, the PSE for being further used for determining to need to upgrade are device where this unit;
The upgrade unit, when the PSE for determining to need to upgrade when the determination unit is this equipment, uses corresponding PSE Firmware version upgrade document upgrading;
The storage unit, is further used for, when the upgrade unit upgrades successfully, updating the facility information table being locally stored The corresponding version number of middle equipment is the version number of the corresponding version of the PSE firmware version upgrades file.
7. device according to claim 6, it is characterised in that
The Traversal Unit, is further used for when the receiving unit receives whole upgrade commands for being upgraded to latest edition When, all PSE are traveled through in the facility information table stored in the storage unit;
The determination unit, is further used for determining the PSE that traverses of the Traversal Unit corresponding versions in facility information table Whether this number identical with the version number of the latest edition of the equipment chain belonging to the PSE;
The issuing unit, is further used for when the determination unit determines that the PSE traversed is corresponding in facility information table When version number is different from the version number of the corresponding latest edition of equipment chain belonging to the PSE, by the equipment chain belonging to the PSE The corresponding PSE firmware version upgrades file of latest edition be handed down to the PSE, make the PSE carry out firmware upgrade.
8. device according to claim 6, it is characterised in that
The determination unit, is further used for upgrading when the receiving unit receives specified PSE, and specifies the mesh being upgraded to When marking the upgrade command of version, the PSE corresponding version number and the target version in the facility information table being locally stored are determined It is whether identical;
The issuing unit, further when the determination unit determine the PSE in the facility information table being locally stored it is corresponding When version number is different from the target version, by the corresponding PSE firmware versions liter of the target version of the equipment chain belonging to the PSE Level file is handed down to the PSE, the PSE is carried out firmware upgrade.
9. according to the device described in claim 6-8 any one, it is characterised in that
The determination unit, is further used for when the receiving unit receives the not specified target version upgrade command being upgraded to When, determine to be upgraded to latest edition.
10. according to the device described in claim 6-8 any one, it is characterised in that the device further comprises:Upgrading is single Member;
The receiving unit, be further used for the present apparatus for PSE device for management upgrade when, receive PSE firmware versions Upgrade file;
The upgrade unit, for when the receiving unit receives PSE firmware version upgrade files, being upgraded;Work as liter During level success, the equipment that notice issues the PSE firmware version upgrade files updates the corresponding version of the equipment in facility information table This number is the version number of the corresponding version of PSE firmware version upgrade files, and deletes the PSE firmware version upgrade files;When When upgrading unsuccessful, the PSE firmware version upgrade files are deleted.
CN201410398288.2A 2014-08-13 2014-08-13 A kind of power over Ethernet device firmware upgrade method and device Active CN104133715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410398288.2A CN104133715B (en) 2014-08-13 2014-08-13 A kind of power over Ethernet device firmware upgrade method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410398288.2A CN104133715B (en) 2014-08-13 2014-08-13 A kind of power over Ethernet device firmware upgrade method and device

Publications (2)

Publication Number Publication Date
CN104133715A CN104133715A (en) 2014-11-05
CN104133715B true CN104133715B (en) 2018-05-11

Family

ID=51806401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410398288.2A Active CN104133715B (en) 2014-08-13 2014-08-13 A kind of power over Ethernet device firmware upgrade method and device

Country Status (1)

Country Link
CN (1) CN104133715B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI569604B (en) * 2015-01-21 2017-02-01 智邦科技股份有限公司 Network switch system and operating method thereof
CN105700927B (en) * 2016-01-15 2019-04-23 青岛海信移动通信技术股份有限公司 Version upgrading method, terminal device and version server
CN106068021A (en) * 2016-08-02 2016-11-02 杭州迪普科技有限公司 A kind of method and device of the AP that upgrades
CN106775841B (en) * 2016-11-29 2021-02-19 深圳广电银通金融电子科技有限公司 Method, system and device for upgrading plug-in
CN107291497B (en) * 2017-06-08 2021-02-05 Tcl通力电子(惠州)有限公司 Multi-firmware upgrading method and system and readable storage medium
CN110633096B (en) * 2018-06-21 2023-09-15 阿里巴巴集团控股有限公司 Node control method and device, version control method and device and distributed system
CN109660391B (en) * 2018-12-10 2022-03-08 浪潮电子信息产业股份有限公司 Method, system and related device for upgrading firmware of pooling server system
CN110750285B (en) * 2019-10-17 2023-08-04 和美(深圳)信息技术股份有限公司 Firmware upgrading method, device, computer equipment and storage medium
CN111475185A (en) * 2020-03-11 2020-07-31 苏州浪潮智能科技有限公司 Method and system for stably upgrading BMC (baseboard management controller) image across large versions
CN112506550A (en) * 2020-12-21 2021-03-16 江苏徐工信息技术股份有限公司 Vehicle controller rapid OTA method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953376A (en) * 2005-10-18 2007-04-25 河南省863软件孵化器有限公司 A system and method for updating remote software of wireless terminal equipment
CN101252458A (en) * 2008-01-30 2008-08-27 深圳市共进电子有限公司 Firmware batch upgrading method
CN102457784A (en) * 2010-10-28 2012-05-16 上海未来宽带技术及应用工程研究中心有限公司 Method for upgrading EoC equipment software in batches in EPON+EoC network
CN102843252A (en) * 2011-06-23 2012-12-26 中兴通讯股份有限公司 Method and device for updating network element through network management

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103354505B (en) * 2013-06-28 2016-08-10 国家电网公司 A kind of electronic installation group's software batch upgrade method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953376A (en) * 2005-10-18 2007-04-25 河南省863软件孵化器有限公司 A system and method for updating remote software of wireless terminal equipment
CN101252458A (en) * 2008-01-30 2008-08-27 深圳市共进电子有限公司 Firmware batch upgrading method
CN102457784A (en) * 2010-10-28 2012-05-16 上海未来宽带技术及应用工程研究中心有限公司 Method for upgrading EoC equipment software in batches in EPON+EoC network
CN102843252A (en) * 2011-06-23 2012-12-26 中兴通讯股份有限公司 Method and device for updating network element through network management

Also Published As

Publication number Publication date
CN104133715A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN104133715B (en) A kind of power over Ethernet device firmware upgrade method and device
CN103108262B (en) The method of optical network unit configuration file upgrading in GPON system
CN102185718B (en) System upgrading method and device
CN102437938A (en) Large-scale network monitoring oriented virtual deployment system and method
CN103701640A (en) Method and system of using intelligent management terminal to update ODN (optical distribution network) equipment
CN102098590A (en) Automatic upgrading method and system of firmware version of optical network unit
CN101605346A (en) The fault restoration method and apparatus
CN101877650A (en) Method and system for updating software version automatically
CN105763345A (en) Network element upgrade management method, device and system
CN101950253A (en) Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
CN104657841A (en) Express item delivery method, delivery processing method, express cabinet terminal and service system
CN103501391B (en) A kind of method and system managing user's brush machine behavior
CN101593119A (en) A kind of aerial firmware upgrade method of flash memory unit equipment and device monopolized
CN106598633A (en) Configuration file update method, client and server
CN102710436A (en) Network equipment management method, device, relative equipment and system
CN104618010A (en) Optical network resource information checking method
CN107203400A (en) A kind of method and device of remote deployment component
CN101656631A (en) Method and device for supporting multiple gateways in unified management platform
CN107071036A (en) A kind of method, the webserver and system for downloading driving file
CN104158905B (en) The creation method of web container
CN109189431A (en) A kind of client side upgrading method, device, equipment and readable storage medium storing program for executing
CN102299814A (en) Method and system for upgrading MIB (management information base) on SNMP (simple network management protocol) agent
CN105871568A (en) Software upgrading method and system
CN103023990B (en) Image file upgrade-system in pile system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant