CN117135502B - Method and device for upgrading ONU in batches, OLT and storage medium - Google Patents

Method and device for upgrading ONU in batches, OLT and storage medium Download PDF

Info

Publication number
CN117135502B
CN117135502B CN202311407718.8A CN202311407718A CN117135502B CN 117135502 B CN117135502 B CN 117135502B CN 202311407718 A CN202311407718 A CN 202311407718A CN 117135502 B CN117135502 B CN 117135502B
Authority
CN
China
Prior art keywords
onu
upgrade
wavelength
upgraded
onus
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
CN202311407718.8A
Other languages
Chinese (zh)
Other versions
CN117135502A (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.)
Wuhan Yangtze Optical Technology Co ltd
Original Assignee
Wuhan Yangtze Optical Technology 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 Wuhan Yangtze Optical Technology Co ltd filed Critical Wuhan Yangtze Optical Technology Co ltd
Priority to CN202311407718.8A priority Critical patent/CN117135502B/en
Publication of CN117135502A publication Critical patent/CN117135502A/en
Application granted granted Critical
Publication of CN117135502B publication Critical patent/CN117135502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Abstract

The invention provides a method, a device, an OLT and a storage medium for upgrading ONU in batches, which relate to the technical field of optical communication, and the method comprises the following steps: the OLT negotiates wavelength channels with various ONU to be upgraded based on upgrade configuration respectively associated with different ONU equipment types, and determines upgrade exclusive wavelength channels respectively corresponding to the various ONU to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, an ONU version number corresponding to the upgrade file after the upgrade file is used for upgrade, a used wavelength and an upgrade switch; based on the upgrade exclusive wavelength channels respectively corresponding to the ONU of the different types to be upgraded, an upgrade file of the corresponding ONU equipment type is issued to the ONU of the different types to be upgraded. Therefore, the batch upgrading efficiency of different types of ONUs is greatly improved.

Description

Method and device for upgrading ONU in batches, OLT and storage medium
Technical Field
The present invention relates to the field of optical communications technologies, and in particular, to a method and an apparatus for upgrading ONUs in batches, an OLT, and a storage medium.
Background
In a passive optical network (Passive Optical Network, PON) system, an optical line terminal (Optical Line Terminal, OLT) is an important remote management function for software upgrades of optical network units (Optical Network Unit, ONUs).
In actual operation, a large number of ONUs need to be upgraded with software. At present, the ONU is upgraded in batches by using the OLT, and only one type of ONU can be upgraded at a time based on the one-to-one response relationship between the OLT and the ONU, so that the upgrading efficiency is low.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a method and a device for upgrading ONU in batches, an OLT and a storage medium.
In a first aspect, the present invention provides a method for upgrading optical network units ONU in batches, applied to an optical line terminal OLT, including:
based on upgrade configuration respectively associated with different ONU equipment types, negotiating wavelength channels with various ONU types to be upgraded, and determining upgrade exclusive wavelength channels respectively corresponding to the various ONU types to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, an ONU version number corresponding to the upgrade file after the upgrade file is used for upgrade, a used wavelength and an upgrade switch;
based on the upgrade exclusive wavelength channels respectively corresponding to the ONU of the different types to be upgraded, an upgrade file of the corresponding ONU equipment type is issued to the ONU of the different types to be upgraded.
In some embodiments, the negotiating wavelength channels between the upgrade configuration respectively associated with different ONU device types and the ONUs of different types to be upgraded includes:
according to the upgrade switch and the ONU version numbers respectively associated with different ONU equipment types, determining a plurality of different types of ONUs to be upgraded;
and selecting idle wavelength and negotiating wavelength channels between the ONU of different types to be upgraded according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded.
In some embodiments, the determining the plurality of different types of ONUs to be upgraded according to the upgrade switch and the ONU version number respectively associated with different ONU device types includes:
according to the upgrading switch respectively associated with different ONU equipment types, determining the ONU equipment type of which the upgrading switch is started;
traversing each ONU corresponding to the ONU equipment type started by the upgrading switch, and determining the ONU of various different types to be upgraded according to the ONU of which the version number in each ONU is inconsistent with the ONU version number associated with the corresponding ONU equipment type.
In some embodiments, the selecting an idle wavelength according to the used wavelength associated with the ONU device type of the ONU to be upgraded and negotiating wavelength channels between the ONU of multiple different types to be upgraded includes:
according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded, determining idle wavelengths respectively corresponding to the ONU equipment type of the ONU to be upgraded;
and aiming at any ONU equipment type, randomly selecting a wavelength from idle wavelengths corresponding to the ONU equipment type, carrying out negotiation of a wavelength channel between the selected wavelength and the corresponding ONU to be upgraded, and if the negotiation fails, reselecting the wavelength to carry out negotiation until the negotiation is successful or all idle wavelengths corresponding to the ONU equipment type fail to negotiate.
In some embodiments, the used wavelength is associated with an ONU identity in an upgrade configuration associated with any ONU device type.
In some embodiments, after determining the upgrade specific wavelength channels to which the ONUs of the multiple different types to be upgraded respectively correspond, the method further includes:
and updating the used wavelength associated with the corresponding ONU equipment type according to the upgrade exclusive wavelength channels respectively corresponding to the plurality of different types of ONU to be upgraded.
In some embodiments, after the issuing the upgrade file of the corresponding ONU device type to the multiple different types of ONUs to be upgraded, the method further includes:
and if the upgrade confirmation information sent by any ONU is received, recovering the wavelength of the upgrade exclusive wavelength channel corresponding to the ONU, and removing the recovered wavelength from the used wavelength associated with the ONU equipment type of the ONU.
In a second aspect, the present invention further provides a device for upgrading optical network units ONU in batches, which is applied to an optical line terminal OLT, and includes:
the system comprises a wavelength channel negotiation module, a wavelength channel processing module and a wavelength channel processing module, wherein the wavelength channel negotiation module is used for negotiating wavelength channels with various different types of ONUs to be upgraded based on upgrading configuration respectively associated with different ONU equipment types, and determining upgrading exclusive wavelength channels respectively corresponding to the various different types of ONUs to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, an ONU version number corresponding to the upgrade file after the upgrade file is used for upgrade, a used wavelength and an upgrade switch;
and the upgrade file sending module is used for sending upgrade files of corresponding ONU equipment types to the plurality of different types of ONUs to be upgraded based on upgrade exclusive wavelength channels respectively corresponding to the plurality of different types of ONUs to be upgraded.
In some embodiments, the negotiating wavelength channels between the upgrade configuration respectively associated with different ONU device types and the ONUs of different types to be upgraded includes:
according to the upgrade switch and the ONU version numbers respectively associated with different ONU equipment types, determining a plurality of different types of ONUs to be upgraded;
and selecting idle wavelength and negotiating wavelength channels between the ONU of different types to be upgraded according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded.
In some embodiments, the determining the plurality of different types of ONUs to be upgraded according to the upgrade switch and the ONU version number respectively associated with different ONU device types includes:
according to the upgrading switch respectively associated with different ONU equipment types, determining the ONU equipment type of which the upgrading switch is started;
traversing each ONU corresponding to the ONU equipment type started by the upgrading switch, and determining the ONU of various different types to be upgraded according to the ONU of which the version number in each ONU is inconsistent with the ONU version number associated with the corresponding ONU equipment type.
In some embodiments, the selecting an idle wavelength according to the used wavelength associated with the ONU device type of the ONU to be upgraded and negotiating wavelength channels between the ONU of multiple different types to be upgraded includes:
according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded, determining idle wavelengths respectively corresponding to the ONU equipment type of the ONU to be upgraded;
and aiming at any ONU equipment type, randomly selecting a wavelength from idle wavelengths corresponding to the ONU equipment type, carrying out negotiation of a wavelength channel between the selected wavelength and the corresponding ONU to be upgraded, and if the negotiation fails, reselecting the wavelength to carry out negotiation until the negotiation is successful or all idle wavelengths corresponding to the ONU equipment type fail to negotiate.
In some embodiments, the used wavelength is associated with an ONU identity in an upgrade configuration associated with any ONU device type.
In some embodiments, the apparatus further comprises:
and the updating module is used for updating the used wavelength associated with the corresponding ONU equipment type according to the upgrade exclusive wavelength channel respectively corresponding to the plurality of different types of ONUs to be upgraded after determining the upgrade exclusive wavelength channel respectively corresponding to the plurality of different types of ONUs to be upgraded.
In some embodiments, the apparatus further comprises:
and the wavelength recovery module is used for recovering the wavelength of the exclusive wavelength channel of the upgrade corresponding to any ONU after the upgrade file of the corresponding ONU equipment type is issued to the plurality of ONU of different types to be upgraded, and removing the recovered wavelength from the used wavelength associated with the ONU equipment type of the ONU.
In a third aspect, the present invention further provides an OLT, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the method for upgrading ONUs in batches according to the first aspect as described above when executing the program.
In a fourth aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of upgrading ONUs in bulk as described in the first aspect.
According to the method, the device, the OLT and the storage medium for upgrading the ONUs in batches, through configuring upgrading configuration associated with different ONU equipment types in the OLT equipment, the OLT can conduct negotiation of wavelength channels between the upgrading configuration and various ONUs to be upgraded, determine upgrading exclusive wavelength channels of the ONUs, and then issue upgrading files to the ONUs through the upgrading exclusive wavelength channels, so that the function of upgrading various ONUs in the negotiated different wavelength channels at the same time is achieved, and the batch upgrading efficiency of the ONUs in different types is greatly improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions in the related art, the following description will briefly explain the drawings used in the embodiments or the related art description, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a flow chart of a method for upgrading ONUs in batches provided by the invention;
fig. 2 is a schematic structural diagram of an apparatus for upgrading ONUs in batches provided by the present invention;
fig. 3 is a schematic structural diagram of an OLT according to the present invention.
Detailed Description
The term "and/or" in the present invention describes an association relationship of association objects, which means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The term "plurality" in the present invention means two or more, and other adjectives are similar thereto.
The terms "first," "second," and the like, herein, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention are capable of operation in sequences other than those illustrated or otherwise described herein, and that the "first" and "second" distinguishing between objects generally are not limited in number to the extent that the first object may, for example, be one or more.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flow chart of a method for upgrading ONUs in batches, which is provided by the invention, and the method can be applied to an OLT, as shown in fig. 1, and comprises the following steps:
step 100, based on upgrade configuration respectively associated with different ONU equipment types, negotiating wavelength channels with various different types of ONUs to be upgraded, and determining upgrade exclusive wavelength channels respectively corresponding to the various different types of ONUs to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, a corresponding ONU version number after being upgraded by using the upgrade file, a used wavelength and an upgrade switch.
Step 101, based on the upgrade exclusive wavelength channels respectively corresponding to the various different types of ONUs to be upgraded, issuing upgrade files of the corresponding ONU equipment types to the various different types of ONUs to be upgraded.
Specifically, in order to realize batch upgrading of various different types of ONUs, the invention can pre-configure the association relation between upgrading configuration and ONU equipment types in the OLT equipment, each ONU equipment type is associated with corresponding upgrading configuration, when the ONU is upgraded, the OLT can carry out negotiation of wavelength channels with various different types of ONUs to be upgraded based on the upgrading configuration respectively associated with different ONU equipment types, so as to determine the upgrading exclusive wavelength channel of each ONU, and then issue upgrading files to each ONU through the upgrading exclusive wavelength channels, thereby realizing the function of simultaneously upgrading various types of ONUs in the negotiated different wavelength channels of the local side equipment OLT and the terminal equipment ONU.
For example, assuming that the ONU to be upgraded includes ONU1 of ONU device type 1, ONU2 of ONU device type 2, and ONU3 of ONU device type 3, the OLT may respectively negotiate wavelength channels with ONU1, ONU2, and ONU3, and the successfully negotiated wavelength channel is the upgrade dedicated wavelength channel of the 3 ONUs, and then the OLT may simultaneously issue upgrade files associated with respective device types to the 3 different types of ONUs through the successfully negotiated 3 wavelength channels, respectively.
In some embodiments, the OLT and the ONUs may negotiate the wavelength channel via an extended dynamic communication wavelength protocol (EDWP) based on Operation Administration and Maintenance (OAM) or an ONU Management Control Interface (OMCI).
In some embodiments, in an upgrade configuration associated with any ONU device type, the used wavelengths may be associated with ONU identities in order to more quickly determine the upgrade-specific wavelength channels to which the ONUs correspond.
In some embodiments, an upgrade configuration management function may be added in advance to the OLT, for managing upgrade configurations respectively associated with different ONU device types, where the design in the upgrade configuration management function is as shown in table 1 below.
Table 1 design example table in upgrading configuration management function
According to the method for upgrading the ONU in batches, the upgrading configuration associated with different ONU equipment types is configured in the OLT equipment, the OLT can negotiate the wavelength channels between the upgrading configuration and the ONU of different types to be upgraded based on the upgrading configuration, the upgrading exclusive wavelength channel of each ONU is determined, and then the upgrading file is issued to each ONU through the upgrading exclusive wavelength channel, so that the functions of the ONU of different types can be simultaneously upgraded in the negotiated different wavelength channels at the same time, and the batch upgrading efficiency of the ONU of different types is greatly improved.
In some embodiments, negotiating wavelength channels with a plurality of different types of ONUs to be upgraded based on upgrade configurations respectively associated with different ONU device types includes:
according to the upgrading switch and the ONU version number respectively associated with different ONU equipment types, determining a plurality of different types of ONUs to be upgraded;
and selecting idle wavelength and negotiating wavelength channels between various different types of ONUs to be upgraded according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded.
Specifically, before upgrading, the OLT may determine which ONUs are upgraded according to the upgrade switch and the ONU version number in the upgrade configuration respectively associated with different ONU device types. For example, it may be determined which ONUs to upgrade based on Status, on_version, and onu_type fields in table 1.
In some embodiments, determining a plurality of different types of ONUs to be upgraded according to upgrade switches and ONU version numbers respectively associated with different ONU device types includes:
according to the upgrade switches respectively associated with different ONU equipment types, determining the ONU equipment type of which the upgrade switch is started;
traversing each ONU corresponding to the ONU equipment type started by the upgrade switch, and determining various different types of ONUs to be upgraded according to the ONUs of which the version numbers in each ONU are inconsistent with the ONU version numbers associated with the corresponding ONU equipment types.
For example, it may be determined which ONU device Type upgrade switches are on based on the Status field and the onu_type field in table 1. Assuming that the upgrade switches of the type 1, the type 2 and the type 3 are on, the ONU Version numbers of the ONUs of the type 1, the type 2 and the type 3 can be respectively matched with the ONU Version numbers in the Onu _version fields corresponding to the respective ONU device types, if the ONU Version numbers are consistent, the processing is not performed (i.e. no upgrade is required), and if the ONU Version numbers are inconsistent, the upgrade is required.
In some embodiments, selecting an idle wavelength to negotiate a wavelength channel with a plurality of different types of ONUs to be upgraded according to a used wavelength associated with an ONU device type of the ONU to be upgraded, including:
according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded, determining idle wavelengths corresponding to the ONU equipment types of the ONU to be upgraded respectively;
and for any ONU equipment type, randomly selecting a wavelength from idle wavelengths corresponding to the ONU equipment type, carrying out negotiation of a wavelength channel between the selected wavelength and the corresponding ONU to be upgraded, and if the negotiation fails, re-selecting the wavelength to carry out negotiation until the negotiation is successful or all idle wavelengths corresponding to the ONU equipment type fail.
For example, assuming that the device types of the ONU to be upgraded include type 1, type 2 and type 3, which respectively correspond to a wavelength range, the OLT may determine, according to the wavelengths already Used in the used_wave array objects (for example, table 1) respectively corresponding to type 1, type 2 and type 3, idle wavelengths currently respectively corresponding to these 3 types, that is, other wavelengths than the Used wavelengths in the wavelength range corresponding to each type.
For any ONU equipment type, taking type 1 as an example, after determining the idle wavelength, the OLT can randomly select one wavelength from the current idle wavelength of type 1 and negotiate a wavelength channel between one ONU to be upgraded of type 1, after successful negotiation, the successfully negotiated wavelength channel can be used as the exclusive wavelength channel for upgrading of the ONU, and if the negotiation fails, the idle wavelength can be reselected for negotiation until the negotiation is successful. Of course, if all the idle wavelengths currently have failed negotiation, the ONU is temporarily not upgraded.
In some embodiments, after determining the upgrade specific wavelength channels respectively corresponding to the plurality of different types of ONUs to be upgraded, the method further includes:
and updating the used wavelength associated with the corresponding ONU equipment type according to the upgrade exclusive wavelength channels respectively corresponding to the plurality of different types of ONU to be upgraded.
Specifically, after the wavelength channel negotiation is successful, the OLT may issue an upgrade file by using the negotiated wavelength channel, and update the wavelength used in the upgrade configuration associated with the corresponding ONU device type in time, so as to avoid a problem in a subsequent upgrade stage. In some embodiments, the ONU identity may be updated into the upgrade configuration along with the used wavelength.
In some embodiments, after issuing the upgrade file of the corresponding ONU device type to the multiple different types of ONUs to be upgraded, the method further includes:
and if the upgrade confirmation information sent by any ONU is received, recovering the wavelength of the upgrade exclusive wavelength channel corresponding to the ONU, and removing the recovered wavelength from the used wavelength associated with the ONU equipment type of the ONU.
Specifically, after the upgrade file is transmitted, the ONU may send upgrade confirmation information to the OLT, and if the OLT receives the upgrade confirmation information, the OLT may recover the corresponding wavelength, and remove the corresponding wavelength and the associated ONU identifier (if the ONU identifier is associated with the corresponding wavelength and the ONU identifier) from the upgrade configuration, so as to timely release the wavelength resource. In some embodiments, the OLT may remove the associated wavelength based on the ONU identity.
The above method provided by the invention is illustrated by way of example of a specific application scenario.
The present example is based on a channel binding technology of a PON system supporting multi-wavelength transmission, and when a terminal device ONU is on-line, a local side device OLT and the ONU perform negotiation of a wavelength channel through an extended dynamic communication wavelength protocol EDWP based on OAM or OMCI. The association relation between upgrade configuration (including upgrade file, upgrade switch, etc.) and ONU equipment type is preconfigured in the OLT equipment. After the OLT starts the upgrading function, the OLT transmits a message of an upgrading file associated with the configured ONU equipment type to the ONU through the binding channel, so that the functions of the ONU of various types are upgraded simultaneously in different negotiated wavelength channels by the local side equipment OLT of the G/EPON system and the terminal equipment ONU. The main process of this example includes:
and S1, upgrading configuration management functions shown in table 1 are added in advance on the local side equipment OLT of the G/EPON system.
S2, after an upgrade switch of one or more ONUs is turned on the OLT, the OLT traverses the on-line ONU types and detects the ONU types on the subsequent on-line ONU types, if the ONU types are matched with the ONU Type in the upgrade configuration management function, whether the ONU Version number is consistent with the Onu _version of the upgrade configuration management is judged, if so, the ONU Version number is not processed, and if not, the ONU Version number is upgraded, and then the ONU is entered into S3.
S3, the OLT traverses Wave in the Used wavelength used_wave array object in the upgrade configuration management function, and randomly selects wavelength from idle wavelength as an upgrade exclusive wavelength channel of the ONU equipment. Negotiating wavelength channels through an extended dynamic communication wavelength protocol EDWP based on OAM or OMCI, starting upgrading after successful negotiation, and entering S4; and if the negotiation fails, reselecting the idle wavelength to carry out the negotiation until the negotiation is successful.
And S4, the OLT acquires an upgrade file from the upgrade configuration management function through the ONU equipment type, starts to transmit the upgrade file by using the wavelength channel negotiated in the S3, and records ONU information and the Used wavelength into a used_wave array.
And S5, after the transmission of the upgrade file is completed, the ONU transmits upgrade confirmation information to the OLT, the OLT recovers the wavelength, and the Used wavelength is removed from the used_wave array according to the ONU information.
And when the upgrade switch is closed, the ONU is not subjected to upgrade processing, and when the upgrade switch is opened, the S2 operation is repeated.
According to the method for upgrading the ONU in batches, provided by the invention, the type of the ONU to be upgraded is not single any more in the same time by utilizing the characteristics and advantages of multi-wavelength transmission, each ONU can independently share a wavelength channel to transmit an upgrade file for upgrading, the transmission speed of the upgrade file is high, and a plurality of versions of ONUs are upgraded at the same time without interference.
The device for upgrading the ONUs in batches provided by the invention is described below, and the device for upgrading the ONUs in batches described below and the method for upgrading the ONUs in batches described above can be correspondingly referred to each other.
Fig. 2 is a schematic structural diagram of an apparatus for batch upgrading an ONU according to the present invention, where the apparatus may be applied to an OLT, as shown in fig. 2, and the apparatus includes:
the wavelength channel negotiation module 200 is configured to perform negotiation of wavelength channels with ONUs of multiple different types to be upgraded based on upgrade configurations respectively associated with different ONU device types, and determine upgrade dedicated wavelength channels respectively corresponding to the ONUs of multiple different types to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, an ONU version number corresponding to the upgrade file after the upgrade file is used for upgrade, a used wavelength and an upgrade switch;
the upgrade file sending module 210 is configured to send an upgrade file of a corresponding ONU device type to multiple different types of ONUs to be upgraded, based on upgrade dedicated wavelength channels corresponding to the multiple different types of ONUs to be upgraded, respectively.
In some embodiments, negotiating wavelength channels with a plurality of different types of ONUs to be upgraded based on upgrade configurations respectively associated with different ONU device types includes:
according to the upgrading switch and the ONU version number respectively associated with different ONU equipment types, determining a plurality of different types of ONUs to be upgraded;
and selecting idle wavelength and negotiating wavelength channels between various different types of ONUs to be upgraded according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded.
In some embodiments, determining a plurality of different types of ONUs to be upgraded according to upgrade switches and ONU version numbers respectively associated with different ONU device types includes:
according to the upgrade switches respectively associated with different ONU equipment types, determining the ONU equipment type of which the upgrade switch is started;
traversing each ONU corresponding to the ONU equipment type started by the upgrade switch, and determining various different types of ONUs to be upgraded according to the ONUs of which the version numbers in each ONU are inconsistent with the ONU version numbers associated with the corresponding ONU equipment types.
In some embodiments, selecting an idle wavelength to negotiate a wavelength channel with a plurality of different types of ONUs to be upgraded according to a used wavelength associated with an ONU device type of the ONU to be upgraded, including:
according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded, determining idle wavelengths corresponding to the ONU equipment types of the ONU to be upgraded respectively;
and for any ONU equipment type, randomly selecting a wavelength from idle wavelengths corresponding to the ONU equipment type, carrying out negotiation of a wavelength channel between the selected wavelength and the corresponding ONU to be upgraded, and if the negotiation fails, re-selecting the wavelength to carry out negotiation until the negotiation is successful or all idle wavelengths corresponding to the ONU equipment type fail.
In some embodiments, in an upgrade configuration associated with any ONU device type, the used wavelength is associated with an ONU identity.
In some embodiments, the apparatus further comprises:
and the updating module is used for updating the used wavelength associated with the corresponding ONU equipment type according to the upgrade exclusive wavelength channel respectively corresponding to the plurality of different types of ONU to be upgraded after determining the upgrade exclusive wavelength channel respectively corresponding to the plurality of different types of ONU to be upgraded.
In some embodiments, the apparatus further comprises:
and the wavelength recovery module is used for recovering the wavelength of the exclusive wavelength channel of the upgrade corresponding to the ONU after the upgrade file of the corresponding ONU equipment type is issued to the plurality of ONU of different types to be upgraded and receiving upgrade confirmation information sent by any ONU, and removing the recovered wavelength from the used wavelength associated with the ONU equipment type of the ONU.
It should be noted that, the device provided by the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effects, and the parts and beneficial effects that are the same as those of the method embodiment in the present embodiment are not described in detail herein.
Fig. 3 is a schematic structural diagram of an OLT according to the present invention, and as shown in fig. 3, the OLT may include: processor 310, communication interface (Communications Interface) 320, memory 330 and communication bus 340, wherein processor 310, communication interface 320, memory 330 accomplish communication with each other through communication bus 340. Processor 310 may invoke logic instructions in memory 330 to perform any of the methods of batch upgrading ONUs provided by the embodiments described above, such as: based on upgrade configuration respectively associated with different ONU equipment types, negotiating wavelength channels with various ONU types to be upgraded, and determining upgrade exclusive wavelength channels respectively corresponding to the various ONU types to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, an ONU version number corresponding to the upgrade file after the upgrade file is used for upgrade, a used wavelength and an upgrade switch; based on the upgrading exclusive wavelength channels respectively corresponding to the various different types of ONUs to be upgraded, issuing upgrading files of the corresponding ONU equipment types to the various different types of ONUs to be upgraded.
Further, the logic instructions in the memory 330 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that, the OLT provided by the present invention can implement all the method steps implemented by the method embodiments and achieve the same technical effects, and specific details of the same parts and beneficial effects as those of the method embodiments in the present embodiment are not repeated here.
In another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, can implement a method for upgrading ONUs in batches according to any one of the foregoing embodiments, for example: based on upgrade configuration respectively associated with different ONU equipment types, negotiating wavelength channels with various ONU types to be upgraded, and determining upgrade exclusive wavelength channels respectively corresponding to the various ONU types to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, an ONU version number corresponding to the upgrade file after the upgrade file is used for upgrade, a used wavelength and an upgrade switch; based on the upgrading exclusive wavelength channels respectively corresponding to the various different types of ONUs to be upgraded, issuing upgrading files of the corresponding ONU equipment types to the various different types of ONUs to be upgraded.
It should be noted that, the non-transitory computer readable storage medium provided by the present invention can implement all the method steps implemented by the method embodiments and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those of the method embodiments in this embodiment are omitted.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The method for upgrading the Optical Network Units (ONU) in batches is characterized by being applied to an Optical Line Terminal (OLT), and comprises the following steps:
based on upgrade configuration respectively associated with different ONU equipment types, negotiating wavelength channels with various ONU types to be upgraded, and determining upgrade exclusive wavelength channels respectively corresponding to the various ONU types to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, an ONU version number corresponding to the upgrade file after the upgrade file is used for upgrade, a used wavelength and an upgrade switch;
based on the upgrade exclusive wavelength channels respectively corresponding to the ONU of the different types to be upgraded, an upgrade file of the corresponding ONU equipment type is issued to the ONU of the different types to be upgraded.
2. The method for batch upgrading of ONUs according to claim 1, wherein the negotiating wavelength channels with the ONUs of the plurality of different types to be upgraded based on upgrade configurations respectively associated with different ONU device types includes:
according to the upgrade switch and the ONU version numbers respectively associated with different ONU equipment types, determining a plurality of different types of ONUs to be upgraded;
and selecting idle wavelength and negotiating wavelength channels between the ONU of different types to be upgraded according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded.
3. The method for batch upgrading of ONUs according to claim 2, wherein said determining the plurality of ONUs of different types to be upgraded according to the upgrading switch and the ONU version number respectively associated with different ONU device types includes:
according to the upgrading switch respectively associated with different ONU equipment types, determining the ONU equipment type of which the upgrading switch is started;
traversing each ONU corresponding to the ONU equipment type started by the upgrading switch, and determining the ONU of various different types to be upgraded according to the ONU of which the version number in each ONU is inconsistent with the ONU version number associated with the corresponding ONU equipment type.
4. The method for batch upgrading of ONUs according to claim 2, wherein the selecting an idle wavelength according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded and negotiating wavelength channels between the ONUs of a plurality of different types to be upgraded comprises:
according to the used wavelength associated with the ONU equipment type of the ONU to be upgraded, determining idle wavelengths respectively corresponding to the ONU equipment type of the ONU to be upgraded;
and aiming at any ONU equipment type, randomly selecting a wavelength from idle wavelengths corresponding to the ONU equipment type, carrying out negotiation of a wavelength channel between the selected wavelength and the corresponding ONU to be upgraded, and if the negotiation fails, reselecting the wavelength to carry out negotiation until the negotiation is successful or all idle wavelengths corresponding to the ONU equipment type fail to negotiate.
5. The method of batch upgrading ONUs of claim 1, wherein the used wavelength is associated with an ONU identity in an upgrade configuration associated with any ONU device type.
6. The method for batch upgrading of ONUs according to any one of claims 1 to 5, wherein after determining upgrade-specific wavelength channels to which the ONUs of the plurality of different types to be upgraded respectively correspond, the method further comprises:
and updating the used wavelength associated with the corresponding ONU equipment type according to the upgrade exclusive wavelength channels respectively corresponding to the plurality of different types of ONU to be upgraded.
7. The method for batch upgrading of ONUs according to any one of claims 1 to 5, wherein after the issuing of the upgrade file of the corresponding ONU device type to the ONUs of the plurality of different types to be upgraded, the method further comprises:
and if the upgrade confirmation information sent by any ONU is received, recovering the wavelength of the upgrade exclusive wavelength channel corresponding to the ONU, and removing the recovered wavelength from the used wavelength associated with the ONU equipment type of the ONU.
8. The device for upgrading the Optical Network Units (ONU) in batches is characterized by being applied to an Optical Line Terminal (OLT), and comprising the following components:
the system comprises a wavelength channel negotiation module, a wavelength channel processing module and a wavelength channel processing module, wherein the wavelength channel negotiation module is used for negotiating wavelength channels with various different types of ONUs to be upgraded based on upgrading configuration respectively associated with different ONU equipment types, and determining upgrading exclusive wavelength channels respectively corresponding to the various different types of ONUs to be upgraded; the upgrade configuration associated with any ONU equipment type comprises an upgrade file, an ONU version number corresponding to the upgrade file after the upgrade file is used for upgrade, a used wavelength and an upgrade switch;
and the upgrade file sending module is used for sending upgrade files of corresponding ONU equipment types to the plurality of different types of ONUs to be upgraded based on upgrade exclusive wavelength channels respectively corresponding to the plurality of different types of ONUs to be upgraded.
9. An optical line terminal OLT comprising a memory, a processor and a computer program stored on said memory and running on said processor, characterized in that said processor implements a method of upgrading ONUs in batches according to any one of claims 1 to 7 when executing said program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a method of bulk upgrading an ONU according to any of claims 1 to 7.
CN202311407718.8A 2023-10-27 2023-10-27 Method and device for upgrading ONU in batches, OLT and storage medium Active CN117135502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311407718.8A CN117135502B (en) 2023-10-27 2023-10-27 Method and device for upgrading ONU in batches, OLT and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311407718.8A CN117135502B (en) 2023-10-27 2023-10-27 Method and device for upgrading ONU in batches, OLT and storage medium

Publications (2)

Publication Number Publication Date
CN117135502A CN117135502A (en) 2023-11-28
CN117135502B true CN117135502B (en) 2024-01-12

Family

ID=88860445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311407718.8A Active CN117135502B (en) 2023-10-27 2023-10-27 Method and device for upgrading ONU in batches, OLT and storage medium

Country Status (1)

Country Link
CN (1) CN117135502B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1863204A2 (en) * 2006-06-02 2007-12-05 Fujitsu Limited System and method for transmitting traffic in a plurality of passive optical networks
CN102104810A (en) * 2009-12-21 2011-06-22 中兴通讯股份有限公司 Method and system for upgrading software versions of passive optical network unit in batch
CN102223256A (en) * 2011-07-26 2011-10-19 烽火通信科技股份有限公司 Method and system for multi-ONU (optical network unit) automatic upgrading in GPON (gigabit-capable passive optical network) access system
WO2014008659A1 (en) * 2012-07-13 2014-01-16 华为技术有限公司 Wavelength negotiation method, system, and device for multi-wavelength passive optical network
CN104270688A (en) * 2014-10-31 2015-01-07 上海斐讯数据通信技术有限公司 System and method for upgrading ONUs (optical network units) on EPON (Ethernet passive optical network) in batch
WO2016106573A1 (en) * 2014-12-30 2016-07-07 华为技术有限公司 Method, device and system for wavelength configuration in passive optical network
CN106412730A (en) * 2016-09-09 2017-02-15 武汉长光科技有限公司 Method for carrying out remote batch upgrading on ONU (Optical Network Unit) system software in Boot environment
WO2020041977A1 (en) * 2018-08-28 2020-03-05 华为技术有限公司 Multi-mode optical network terminal (ont) and passive optical network (pon) system
CN111064542A (en) * 2019-12-27 2020-04-24 武汉长光科技有限公司 Method for dynamically allocating wavelength based on PON system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1863204A2 (en) * 2006-06-02 2007-12-05 Fujitsu Limited System and method for transmitting traffic in a plurality of passive optical networks
CN102104810A (en) * 2009-12-21 2011-06-22 中兴通讯股份有限公司 Method and system for upgrading software versions of passive optical network unit in batch
CN102223256A (en) * 2011-07-26 2011-10-19 烽火通信科技股份有限公司 Method and system for multi-ONU (optical network unit) automatic upgrading in GPON (gigabit-capable passive optical network) access system
WO2014008659A1 (en) * 2012-07-13 2014-01-16 华为技术有限公司 Wavelength negotiation method, system, and device for multi-wavelength passive optical network
CN104270688A (en) * 2014-10-31 2015-01-07 上海斐讯数据通信技术有限公司 System and method for upgrading ONUs (optical network units) on EPON (Ethernet passive optical network) in batch
WO2016106573A1 (en) * 2014-12-30 2016-07-07 华为技术有限公司 Method, device and system for wavelength configuration in passive optical network
CN106412730A (en) * 2016-09-09 2017-02-15 武汉长光科技有限公司 Method for carrying out remote batch upgrading on ONU (Optical Network Unit) system software in Boot environment
WO2020041977A1 (en) * 2018-08-28 2020-03-05 华为技术有限公司 Multi-mode optical network terminal (ont) and passive optical network (pon) system
CN111064542A (en) * 2019-12-27 2020-04-24 武汉长光科技有限公司 Method for dynamically allocating wavelength based on PON system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
EPON中ONU大规模软件升级技术研究与设计;张利;刘德明;张传浩;吴广生;;光通信技术(01);全文 *

Also Published As

Publication number Publication date
CN117135502A (en) 2023-11-28

Similar Documents

Publication Publication Date Title
CN102098590B (en) Automatic upgrading method and system of firmware version of optical network unit
CN103108262B (en) The method of optical network unit configuration file upgrading in GPON system
CN102223256B (en) Method and system for multi-ONU (optical network unit) automatic upgrading in GPON (gigabit-capable passive optical network) access system
CN107529100B (en) Passive optical network mode switching method and device, passive optical network equipment and system
CN104270688A (en) System and method for upgrading ONUs (optical network units) on EPON (Ethernet passive optical network) in batch
US10819708B2 (en) Method for authenticating optical network unit, optical line terminal, and optical network unit
EP3869768B1 (en) Device management and control method, apparatus, and storage medium
EP2717513B1 (en) Method, optical network device, and system for acquiring association relationship between pon ports
CN103763148B (en) ONU automatic authorization configuration recovery method
CN101848101A (en) Method, device and system for network element management in network system
EP3280093A1 (en) Registration method and apparatus
CN117135502B (en) Method and device for upgrading ONU in batches, OLT and storage medium
CN109714653B (en) Method for accelerating CTC OAM upgrading efficiency
CN106657168A (en) Method, device and system for synchronizing data
WO2023151428A1 (en) Home all-optical network gateway version upgrading method, electronic device, and storage medium
CN110677747B (en) Method for managing ONU, OLT, ONU, system and storage medium
CN115086061B (en) Authentication and network access control method and system for FTTR
JP2018023005A (en) Optical network unit, optical line terminal, optical communication system, and control method of optical communication system
CN107094271B (en) Method and system for realizing butt joint of optical network unit and optical line terminal
CN101931830A (en) Method for upgrading secret key in Gigabit passive optical network and optical line terminal
CN102195820A (en) Telecommunication equipment upgrading and maintenance method for telecommunication network transmission system
US11838703B2 (en) Method for establishing communication in an optical access network
KR20130049137A (en) Method, apparatus and system of concurrent control for user device using tr-069 protocol
US11804902B2 (en) Optical line terminal configured to operate with optical network terminals that require different sets of OMCI parameters
US10396890B2 (en) Information processing apparatus, method and non-transitory computer-readable storage medium

Legal Events

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