Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
In the description of the present application, it should be noted that the terms "upper", "lower", "inner", "outer", and the like indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings or orientations or positional relationships conventionally found in use of products of the application, and are used only for convenience in describing the present application and for simplification of description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present application.
In the description of the present application, it is also to be noted that, unless otherwise explicitly specified or limited, the terms "disposed" and "connected" are to be interpreted broadly, e.g., as being either fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
In a conventional Optical Network Unit (ONU) upgrade, an Optical Line Terminal (OLT) generally downloads an upgrade file of the ONU from an FTP server, and then an OAM (Operation Administration and Maintenance) message or an OMCI (ONU Management and Control Interface) message issued by the OLT transmits the upgrade file to the ONU. The upgrading mode needs to establish network layer connection among all devices, and the transmission rate of OAM and OMIC is low, which affects upgrading efficiency.
In order to overcome the above problems, embodiments of the present application provide an optical network unit upgrade system. As shown in fig. 1, the optical network unit upgrading system includes: anupgrade server 10, anoptical line terminal 20, and anoptical network unit 30.
The number of theoptical network units 30 is greater than or equal to 1, and 3optical network units 30 are illustrated as an example in fig. 1, but the number of theoptical network units 30 is not limited. Theupgrade server 10 may be a PC computer or other intelligent terminal. Optionally, when theupgrade server 10 has multiple network cards, one of the network cards is designated as an upgrade data transmission network card for decompressing the upgrade file in the designated path. It should be noted that the operating system of theupgrade server 10 may be a Windows operating system or a Linux operating system.
Theupgrade server 10 is communicatively connected to theoptical line terminal 20, and eachoptical network unit 30 is communicatively connected to theoptical line terminal 20.
Theupgrade server 10 is configured to send an upgrade data packet to theolt 20 through an ethernet frame, where the upgrade data packet carries an identifier of a target to be upgraded, and the identifier of the target to be upgraded corresponds to a unique identifier of theonu 30 to be upgraded. The unique identifier may be a MAC address.
Optionally, the upgrade data package is a configuration information upgrade data package or a software version upgrade data package.
Theoptical line terminal 20 is configured to send the upgrade data packet to theoptical network unit 30 to be upgraded via an ethernet frame.
The onu to be upgraded 30 is configured to activate an upgrade packet to complete the upgrade of the onu.
Optionally, on a production line of the ONU, when a large number of ONUs whose firmware has been programmed need to update software versions before shipment, the initial installation of ONU software is implemented by using an FTP server, compared with the conventional technique. The FTP server must be guaranteed to be connected to the network layer of the ONU, and in order to guarantee the network layer connection, network configuration needs to be performed on the ONU of the HGU (Home Gateway Unit), and the configured contents include but are not limited to: IP and VLAN. When the number of configurations is large, the configuration process takes a lot of time. In the embodiment of the application, the Ethernet frames are used for communication, and the ONU does not need to be configured in a network, so that the configuration time is saved, and the production efficiency is improved.
Optionally, currently, the commonly used ONUs are divided into a GPON ONU and an EPON ONU according to a protocol, and the GPON ONU and the EPON ONU follow different standard upgrading protocols, and need to correspond to different OLTs (the GPON ONU corresponds to the GPON OLT, and the EPON ONU corresponds to the EPON OLT), and different tool upgrading commands are used to upgrade the ONUs. In the embodiment of the application, the software upgrading of the GPON ONU and the GEPON ONU is realized uniformly by adopting the same tool upgrading process. And under the condition that the ONU is upgraded without using the FTP server, the TCP protocol of a network layer is not involved, so that the network attack related to the TCP protocol can be avoided, and the safety in the upgrading process is improved.
Optionally, in the conventional technology, only tens of bytes can be transmitted at most every second by downloading the upgrade image through the OMCI message or the OAM message, and the rate is slow. And the speed of downloading the upgrade image is not lower than 1Mbps and can reach 100Mbps at most by transmitting the upgrade data packet through the Ethernet frame. And only 30 seconds are needed for upgrading the ONU with the mirror image size of 30M, so that the transmission speed is greatly improved.
To sum up, an embodiment of the present application provides an optical network unit upgrading system, which includes: the system comprises an upgrading server, an optical line terminal and an optical network unit; the upgrading server is used for sending an upgrading data packet to the optical line terminal through an Ethernet frame, wherein the upgrading data packet carries a target identifier to be upgraded, and the target identifier to be upgraded corresponds to the unique identifier of the optical network unit to be upgraded; the optical line terminal is used for sending the upgrading data packet to the optical network unit to be upgraded through the Ethernet frame; and the optical network unit to be upgraded is used for activating the upgrade data packet so as to complete the upgrade of the optical network unit. Because the upgrade data packet is transmitted through the Ethernet frame, compared with the traditional upgrade scheme, the ONU does not need to be subjected to network configuration, so that the configuration time is saved, and the production efficiency is improved; the software upgrading of the ONUs with different specifications is realized uniformly by adopting the same tool upgrading process without involving a TCP (transmission control protocol) protocol of a network layer, so that network attacks related to the TCP protocol can be avoided, and the safety in the upgrading process is improved; and the transmission speed is greatly improved.
Optionally, regarding the format of the ethernet frame, the embodiment of the present application further provides a possible implementation manner, please refer to the following table.
The destination MAC is a unique identifier of theoptical network unit 30 to be upgraded in the downlink direction, for example: 01-80-c2-00-00-e0; the upstream direction is the unique identifier (MAC) of theupgrade server 10; and (3) source MAC: in the downstream direction is the unique identifier (MAC) of theupgrade server 10; the uplink direction is the unique identifier of the onu to be upgraded 30; the Ethernet type: 0x1234; the command identification bit is used for indicating the type of the interactive frame between theupgrade server 10 and theoptical network unit 30; the object is full FF or ONU MAC in the downlink direction, and is the MAC of the ONU sending the data frame in the uplink direction; the protocol data unit length represents the length of the following protocol data unit; the protocol data unit represents a load.
Optionally, the embodiment of the present application also provides a possible implementation manner on how to determine theoptical network unit 30 to be upgraded. Referring to fig. 2, fig. 2 is a schematic diagram of signaling interaction provided in an embodiment of the present application.
Before theupgrade server 10 sends the upgrade data packet to theolt 20 via the ethernet frame, theupgrade server 10 clears the first-generation to-be-upgraded list of the information of the last updated ONU.
Theupgrade server 10 is further configured to send an auto discovery frame to theoptical line terminal 20, where the auto discovery frame carries an identifier of a target to be discovered.
Alternatively, the target identifier may be a full FF address matching all network units in the system, or may be a MAC address of a certain optical network unit. Theupgrade server 10 transmits one auto discovery frame per second, and may set the maximum number of times of transmitting the auto discovery frame to three times by default.
Optionally, the auto discovery frame sent by theupgrade server 10 is configured, for example, a destination MAC of the auto discovery frame, an ethernet type, and the like are configured. The purpose of sending the automatic discovery frame is to obtain basic information of all or a designated ONU, and can also be used for testing whether the network is clear, wherein the basic information of the ONU includes but is not limited to the current version information of the ONU. For example, when the destination MAC in the auto discovery frame is set to the MAC of the designated ONU, it indicates that theupgrade server 10 desires to obtain basic information of the ONU of the designated MAC. When the destination MAC in the auto-discovery frame is set to the full FF address (FF: FF), it indicates that theupgrade server 10 wishes to obtain basic information of all ONUs.
Compared with the prior art that each ONU reports the information of the ONU actively, the upgradingserver 10 sends an automatic discovery frame to detect the ONU which meets the preset conditions, and the problem that the upgrading strategy is inflexible when the OLT is used for upgrading is solved.
Theoptical line terminal 20 is further configured to issue an auto discovery frame to eachoptical network unit 30.
Theoptical network unit 30 is further configured to determine whether the target identifier to be found matches with its own unique identifier; and if the answer is matched with the identifier, sending an automatic discovery response frame to theoptical line terminal 20, wherein the automatic discovery response frame contains basic information of the optical network unit, and the basic information comprises the unique identifier and the current version.
Optionally, the full FF address matches the unique identifier of eachoptical network unit 30; when the target identification is the MAC address of a certain onu, the target identification matches the unique identifier of theonu 30.
Theoptical line terminal 20 is further configured to send the received auto discovery response frame to theupgrade server 10.
Theupgrade server 10 adds a unique identifier in an auto discovery response frame whose current version is a version to be upgraded to the list to be upgraded of the first generation.
Possibly, all versions that are not the latest are upgraded, or only some specified versions are upgraded.
Theupgrade server 10 is further configured to send an upgrade request frame to theoptical line terminal 20, where the upgrade request frame includes basic information of an optical network unit corresponding to the unique identifier in the first-generation list to be upgraded.
Theoptical line terminal 20 is further configured to send the upgrade request frame to eachoptical network unit 30.
Theoptical network unit 30 is further configured to determine whether the basic information included in the upgrade request frame is the same as the basic information of the upgrade request frame; and if the two signals are the same, sending an upgrade request response frame to theoptical line terminal 20, wherein the upgrade request response frame contains the unique identifier of theoptical network unit 30. If the difference is not the same, discarding the data and not responding.
Theoptical line terminal 20 is further configured to send an upgrade request response frame to theupgrade server 10;
theupgrade server 10 is further configured to delete the unique identifier of theoptical network unit 30 that does not feed back the upgrade request response frame from the first-generation list to be upgraded.
The success rate of upgrading is further ensured by secondarily confirming whether theoptical network unit 30 to be upgraded is in a communicable state.
Theupgrade server 10 is further configured to use the unique identifier of the first generation list to be upgraded as an identifier of the target to be upgraded, and generate an upgrade data packet.
Optionally, as to how to further ensure the correctness of the upgrade object selection, the embodiment of the present application also provides a possible implementation manner, please continue to refer to fig. 2.
Theupgrade server 10 is further configured to transmit an upgrade file information frame to theoptical network unit 30 through theoptical line terminal 20, where the upgrade file information frame includes a size attribute, a version attribute, and a verification attribute of the upgrade data packet. Optionally, the check attribute is a check result obtained by performing CRC32 check.
Theoptical network unit 30 is further configured to determine whether the upgrade data is applicable according to the size attribute, the version attribute, and the check attribute of the upgrade data packet; and if the update file information response frame is applicable, feeding back the update file information response frame to theupdate server 10, wherein the update file information response frame contains the unique identifier of theoptical network unit 30. The upgrade file information response frame indicates that the attribute verification of the upgrade data packet by theonu 30 is successful and applicable.
When the upgrade file version is not right, and the upgrade file is too large or too small, it indicates that the upgrade data packet is not suitable, theonu 30 is further configured to return a response frame of the failed upgrade file information or do no feedback, and does not participate in the subsequent steps.
Theupgrade server 10 is further configured to delete the unique identifier of theoptical network unit 30 that does not feed back the upgrade file information response frame from the first-generation list to be upgraded.
Optionally, regarding how to issue the upgrade data packet, the embodiment of the present application further provides a possible implementation manner, please refer to the following description.
Theupgrade server 10 is further configured to sequentially send upgrade blocks to theoptical network units 30 to be upgraded through theoptical line terminal 20, where theoptical network units 30 to be upgraded are theoptical network units 30 whose unique identifiers are listed in the first-generation list to be upgraded. The upgrade data packet includes a plurality of upgrade blocks.
Optionally, theupgrade server 10 splits the upgrade data packet into a plurality of upgrade blocks according to the obtained basic information of the ONU.
Theoptical network unit 30 is further configured to feed back a corresponding upgrade block response frame to theupgrade server 10 after each time the upgrade block is received.
When the upgrade block response frame is not received within the preset time range, theupgrade server 10 is further configured to remove the unique identifier of theoptical network unit 30 of the upgrade block response frame that is not fed back within the preset time range from the first-generation list to be upgraded, and add the unique identifier to the error list.
After all the upgrade blocks are issued, theupgrade server 10 is further configured to update the second list to be upgraded into an error list, and empty the error list.
Theupgrade server 10 is further configured to sequentially send upgrade blocks to the second optical network unit to be upgraded 30 through theoptical line terminal 20, where the second optical network unit to be upgraded 30 is theoptical network unit 30 whose unique identifier is listed in the second list to be upgraded.
Theupgrade server 10 is further configured to add the unique identifier of the second optical network unit to be upgraded 30, which has fed back the upgrade block response frame each time, to the list to be upgraded again.
When the upgrade block response frame is not received within the preset time range, theupgrade server 10 is further configured to remove the unique identifier of theoptical network unit 30 of the upgrade block response frame that is not fed back within the preset time range from the second list to be upgraded, and add the unique identifier to the error list.
After all the upgrade blocks are issued, theupgrade server 10 is further configured to repeatedly update the second list to be upgraded into an error list, and empty the error list.
Until theupgrade server 10 receives the upgrade block response frame fed back by each secondoptical network unit 30 to be upgraded each time, or the repetition number exceeds the limited number.
Optionally, regarding how to issue the upgrade data packet, the embodiment of the present application further provides a possible implementation manner, please refer to the following description.
Theupgrade server 10 is further configured to sequentially send upgrade blocks to theoptical network units 30 to be upgraded through theoptical line terminal 20, where theoptical network units 30 to be upgraded are theoptical network units 30 whose unique identifiers are listed in the first generation list to be upgraded;
theoptical network unit 30 is further configured to feed back a corresponding upgrade block response frame to theupgrade server 10 after each time the upgrade block is received;
when the upgrade block response frame is not received within the preset time range, theupgrade server 10 is further configured to remove the unique identifier of theoptical network unit 30 that does not feed back the upgrade block response frame within the preset time range from the first-generation list to be upgraded, and add the unique identifier to the next-generation list to be upgraded, where the next-generation list to be upgraded includes the unique identifier of the optical network unit and a corresponding next-generation target upgrade block;
theupgrade server 10 is further configured to sequentially send next-generation target upgrade blocks to next-generationoptical network units 30 to be upgraded through theoptical line terminal 20, where the next-generationoptical network units 30 to be upgraded areoptical network units 30 whose unique identifiers are listed in a next-generation list to be upgraded;
theoptical network unit 30 is further configured to feed back a corresponding next-generation target upgrade block response frame to theupgrade server 10 after receiving the next-generation target upgrade block each time;
when the next-generation target upgrade block response frame is not received within the preset time range, theupgrade server 10 is further configured to remove the unique identifier of theoptical network unit 30 that does not feed back the next-generation target upgrade block response frame within the preset time range from the initial next-generation list to be upgraded, and add the unique identifier to the new next-generation list to be upgraded, where the new next-generation list to be upgraded includes the unique identifier of theoptical network unit 30 and the corresponding new next-generation target upgrade block;
theupgrade server 10 is further configured to repeat the step of sequentially sending the next-generation target upgrade block to theoptical network unit 30 to be upgraded of the next generation through theoptical line terminal 20 until the new list to be upgraded of the next generation is empty or the number of repetitions exceeds a limited number.
Optionally, the upgrade blocks corresponding to different lists to be upgraded can be sent in parallel through different threads, so that sending efficiency is improved.
Optionally, in a case that the target identifier to be found is a feature identifier matching unique identifiers of all optical network units, and the upgrade block includes the feature identifier, theupgrade server 10 is further configured to sequentially send the upgrade block to theoptical line terminal 20.
Theoptical line terminal 20 is further configured to flood the upgrade block to send to each subordinateoptical network unit 30.
The traditional technology adopts OAM/OMCI mode for upgrading, each ONU needs to have an independent upgrading channel, synchronous upgrading is not achieved, upgrading data needs to be pushed for each ONU respectively, and the occupancy rate of a communication link is high when the ONU needs to be upgraded in a large batch. In the embodiment of the application, the upgrading block is sent to the ONU in a flooding manner by setting the characteristic identifier matched with the unique identifiers of all the optical network units, and only one upgrading block needs to be transmitted when the upgrading block is transmitted from the upgradingserver 10 to the OLT, so that the occupation of a communication link is reduced. Meanwhile, a point-to-multipoint simultaneous upgrading mode is adopted from the OLT to the ONU, 1000 or more ONUs are upgraded, and only 30 seconds are needed.
Optionally, when the upgrade data package is an upgrade data package with a software version, a possible implementation manner is provided in the embodiments of the present application as to how to activate the upgrade data package, please refer to the following.
Theupgrade server 10 is further configured to send a download complete frame to theoptical network unit 30 corresponding to the unique identifier in the list to be upgraded;
theoptical network unit 30 is further configured to verify the upgrade data packet after receiving the download completion frame, and generate a verification result, where the verification result represents that the upgrade data packet is correct or incorrect.
Theoptical network unit 30 is further configured to feed back a download completion response frame to theupgrade server 10, where the download completion response frame includes the verification result.
Theupgrade server 10 is further configured to delete the unique identifier of theoptical network unit 30 whose feedback verification result indicates that the upgrade data packet is incorrect from the upgrade list.
Theupgrade server 10 is further configured to send an activation instruction to theoptical network unit 30 corresponding to the unique identifier in the list to be upgraded, so that theoptical network unit 30 to be upgraded, which receives the corresponding activation instruction, activates the upgrade data packet.
Wherein the activation instruction contains a unique identifier in the list to be upgraded.
Optionally, as to how to load the activated upgrade data package, the embodiment of the present application further provides a possible implementation manner, please refer to the following.
Theoptical network unit 30 to be upgraded is also used to activate the upgrade data packet and upgrade the software image of the backup storage area.
Theoptical network unit 30 to be upgraded is further configured to feed back an activation success response frame to theupgrade server 10 through the optical line terminal.
Theupgrade server 10 is further configured to send a load instruction to theoptical network unit 30.
Theoptical network unit 30 is further configured to, after receiving the loading instruction, use the original backup storage area as a new main storage area, and use the original software mirror image as new main running software.
Optionally, theupgrade server 10 is further configured to count and display upgrade result information, where the upgrade result information includes upgrade time consumption, upgrade success quantity, upgrade identification reason, and basic information of the optical network unit.
The embodiment of the application also provides an optical network unit upgrading method, which is applied to the optical network unit upgrading system. Referring to fig. 3, fig. 3 is a schematic flowchart of an optical network unit upgrading method according to an embodiment of the present disclosure. As shown in fig. 3, the method for upgrading an optical network unit includes:
s101, an upgrading server sends an upgrading data packet to an optical line terminal through an Ethernet frame, wherein the upgrading data packet carries a target identifier to be upgraded, and the target identifier to be upgraded corresponds to the unique identifier of the optical network unit to be upgraded.
S201, the optical line terminal sends the upgrading data packet to the optical network unit to be upgraded through the Ethernet frame.
S301, the optical network unit to be upgraded activates an upgrade data packet to complete the upgrade of the optical network unit.
Optionally, before the upgrade server sends the upgrade data packet to the olt through an ethernet frame, the method for upgrading the onu further includes:
the upgrading server sends an automatic discovery frame to the optical line terminal, wherein the automatic discovery frame carries a target identifier to be discovered;
the optical line terminal transmits the automatic discovery frame to each network unit;
the optical network unit judges whether the target identification to be found is matched with the unique identifier of the optical network unit; if the answer is matched with the basic information, an automatic discovery response frame is sent to the optical line terminal, wherein the automatic discovery response frame comprises the basic information of the optical network unit, and the basic information comprises the unique identifier and the current version;
the optical line terminal sends the received automatic discovery response frame to an upgrading server;
the upgrading server adds the unique identifier in the automatic discovery response frame of which the current version is the version to be upgraded to a list to be upgraded of the first generation;
the upgrading server sends an upgrading request frame to the optical line terminal, wherein the upgrading request frame comprises basic information of an optical network unit corresponding to a unique identifier in a first-generation list to be upgraded;
the optical line terminal transmits the upgrading request frame to each optical network unit;
the optical network unit judges whether the basic information contained in the upgrading request frame is the same as the basic information of the optical network unit; if the two signals are the same, sending an upgrading request response frame to the optical line terminal, wherein the upgrading request response frame comprises the unique identifier of the optical network unit;
the optical line terminal sends an upgrading request response frame to an upgrading server;
the upgrading server deletes the unique identifier of the optical network unit which does not feed back the upgrading request response frame from the first generation list to be upgraded;
and the upgrading server takes the unique identifier of the first generation list to be upgraded as the target identifier to be upgraded and generates an upgrading data packet.
Optionally, before the upgrade server uses the unique identifier of the first-generation list to be upgraded as the target identifier to be upgraded and generates the upgrade data packet, the optical network unit upgrade method further includes:
the upgrading server transmits an upgrading file information frame to the optical network unit through the optical line terminal, wherein the upgrading file information frame comprises the size attribute, the version attribute and the verification attribute of an upgrading data packet;
the optical network unit judges whether the upgrading data is applicable according to the size attribute, the version attribute and the check attribute of the upgrading data packet; if the update file information response frame is applicable, feeding back the update file information response frame to the update server, wherein the update file information response frame comprises the unique identifier of the optical network unit;
and the upgrading server deletes the unique identifier of the optical network unit which does not feed back the upgrading file information response frame from the first generation list to be upgraded.
Optionally, the upgrade data packet includes a plurality of upgrade blocks, and the step of sending the upgrade data packet to the optical network unit to be upgraded by the optical line terminal through an ethernet frame includes:
the upgrading server sequentially sends upgrading blocks to the optical network units to be upgraded through the optical line terminal, wherein the optical network units to be upgraded are optical network units with unique identifiers listed in a first-generation list to be upgraded;
after receiving the upgrade block each time, the optical network unit feeds back a corresponding upgrade block response frame to the upgrade server;
when the upgrade block response frame is not received within the preset time range, the upgrade server removes the unique identifier of the optical network unit of the upgrade block response frame which is not fed back within the preset time range from the first generation list to be upgraded and adds the unique identifier into the error list;
after all the upgrading blocks are issued, the upgrading server updates the second list to be upgraded into an error list and empties the error list;
the upgrading server sequentially sends upgrading blocks to a second optical network unit to be upgraded through the optical line terminal, wherein the second optical network unit to be upgraded is an optical network unit with a unique identifier listed in a second list to be upgraded;
the upgrading server adds the unique identifier of the second optical network unit to be upgraded of the upgrading block response frame fed back each time to the first generation list to be upgraded again;
when the upgrade block response frame is not received within the preset time range, the upgrade server removes the unique identifier of the optical network unit of the upgrade block response frame which is not fed back within the preset time range from the second list to be upgraded and adds the unique identifier to the error list;
after all the upgrading blocks are issued, the upgrading server repeatedly updates the second list to be upgraded into an error list and empties the error list;
and the upgrading server receives the upgrading block response frame fed back by each second optical network unit to be upgraded each time, or the repetition times exceed the limited times.
Optionally, the target identifier to be found is a feature identifier that matches unique identifiers of all optical network units, the upgrade block includes the feature identifier, and the step of the upgrade server sequentially sending the upgrade block to the optical network units to be upgraded through the optical line terminal includes:
the upgrading server sequentially sends upgrading blocks to the optical line terminal;
and the optical line terminal performs flooding processing on the upgrading block and sends the flooding processing to each subordinate optical network unit.
Optionally, when the upgrade server receives an upgrade block response frame fed back by each second optical network unit to be upgraded each time, or the repetition number exceeds a limited number, the method for upgrading an optical network unit further includes:
the upgrading server sends a downloading completion frame to the optical network unit corresponding to the unique identifier in the list to be upgraded;
after receiving the download completion frame, the optical network unit verifies the upgrade data packet and generates a verification result, wherein the verification result represents that the upgrade data packet is correct or incorrect;
the optical network unit feeds back a download completion response frame to the upgrade server, wherein the download completion response frame comprises a verification result;
the upgrading server deletes the unique identifier of the optical network unit with the fed back verification result representing that the upgrading data packet is incorrect from the upgrading list;
the upgrading server sends an activation instruction to the optical network unit corresponding to the unique identifier in the first generation list to be upgraded so that the optical network unit to be upgraded receiving the corresponding activation instruction activates an upgrading data packet;
wherein the activation instruction contains a unique identifier in the list to be upgraded of the first generation.
Optionally, the step of activating an upgrade data packet by the onu to be upgraded to complete the nervousness of the onu includes:
activating an upgrading data packet by the optical network unit to be upgraded, and upgrading the software mirror image of the backup storage area;
the optical network unit to be upgraded feeds back an activation success response frame to the upgrade server through the optical line terminal;
the upgrading server sends a loading instruction to the optical network unit;
after receiving the loading instruction, the optical network unit takes the original backup storage area as a new main storage area and takes the original software mirror image as new main running software.
On the basis of fig. 3, with respect to how to facilitate a user to observe an upgrade result, the embodiment of the present application further provides a possible implementation manner, please refer to fig. 4, where the method for upgrading an optical network unit further includes:
and S102, the upgrading server counts and displays upgrading result information, wherein the upgrading result information comprises upgrading time consumption, upgrading success quantity, upgrading identification reason and basic information of the optical network unit.
It should be noted that the optical network unit upgrading method provided in this embodiment may perform the function and purpose shown in the foregoing system embodiment, so as to achieve the corresponding technical effect. For the sake of brevity, the corresponding contents in the above embodiments may be referred to where not mentioned in this embodiment.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.