Based on the implementation method of the passive light network maintaining-managing system of tunnel style
Technical field
The present invention relates to radio network technique field, specifically, it relates to the implementation method of a kind of passive light network maintaining-managing system based on tunnel style.
Background technology
Passive light network (PassiveOpticalNetwork, PON) it is that one is applied to connecting network, local side apparatus OLT (OpticalLineTerminal, light road terminal) and multiple ustomer premises access equipment ONU (OpticalNetworkUnit, optical-fiber network unit) between the network that connected by the ODN of the compositions such as passive optical cable, optical splitter, splicer, the feature of this passive light network is all to be made up of passive device, not containing any electron device and power supply.
At present in the long-range maintenance management of passive light network, the oam between OLT and ONU is realized by OAM. And OAM is a slow protocol, owing to passive light network also existing a large amount of ONU, carry out ONU the process of software upgrading has a large amount of data upload and download demand, other maintenance managements of this ONU can obviously be operated by the long-time like this OAM passage that takies in impact, making produces to block up by the data of OAM passage in network affects other maintenance managements operation, not supporting that ONU volume software is upgraded, therefore this kind of upgrading mode is not easy to engineer applied very much simultaneously.
Summary of the invention
It is an object of the invention to overcome in prior art by OAM passage carry out software upgrading affect other maintenance managements operation, and do not support that the upgrading of ONU volume software causes the defect being not easy to engineer applied, the implementation method of a kind of passive light network maintaining-managing system based on tunnel style is provided, set up separately tunnel and complete ONU software upgrading function, simultaneously for other maintenance managements operation provides expansion.
In order to realize above-mentioned purpose, the technical solution used in the present invention is as follows:
Based on the implementation method of the passive light network maintaining-managing system of tunnel style, comprise the following steps:
(1) in optical line terminal OLT, configuration management server is connected;
(2) on configuration management server, run Server end program, and make the resident optical network unit ONU of Client end program is run;
(3) Server broadcast finds message, and Client adopts mode of unicast to reply notice message responsively after receiving message, Server sets up the maintenance management tunnel between configuration management server and this ONU after receiving notice message;
(4) ONU software is carried out remote upgrade by maintenance management tunnel by Server;
(5), after completing previous step, Server discharges this maintenance management tunnel.
Further, the specific implementation of described step (3) is as follows:
(3a) Server broadcast finds message, after Client receives the message of Server broadcast, replys notice message responsively;
(3b) Server is according to the content of the notice message received, and terminal list write in the record generating ONU, completes the discovery of the ONU that this is online;
(3c) keep-alive timer is set on Server, if after now Server have received the MAC address of this Client, adopts mode of unicast timing to send keep-alive message to this Client, if now:
A.Client replys confirmation responsively after receiving keep-alive message, completes foundation and the maintenance in maintenance management tunnel between configuration management server and this ONU;
B.Client does not reply after receiving keep-alive message, and Server does not receive confirmation before keep-alive timer time-out, then think maintenance management tunnel failure, deletes the record of this ONU from terminal list.
Wherein, in described step (5), while this maintenance management tunnel of release, Server deletes the record with this ONU from terminal list.
Again further, in described step (3), Server broadcast finds that message has two kinds of modes, being a Client broadcast discovery message of all ONU in this passive light network, another kind is the Client broadcast discovery message determining ONU to this passive light network middle finger.
Further, in described step (4), specific implementation content to the remote upgrade of ONU is as follows:
Remote upgrade: Server compares the information of ONU in the version list of configuration and the terminal list of generation, if the current software version of ONU is lower than upgraded version, the MAC address of this ONU or product type are specified simultaneously, then downloading upgrading file by message transfer to this ONU, ONU receives upgrading file and upgrades; If ONU current software version is identical with upgraded version, then do not download upgrading file to this ONU.
In order to realize the present invention better, ONU is not only carried out remote upgrade by maintenance management tunnel by Server, is also proceeded as follows by ONU:
Extract or issue configuration file: when configuration data needs to change, Server issues configuration file by message transfer to this ONU, and ONU receives configuration file and reloads this Profile Up; When configuration data needs to back up, Server reads this ONU configuration file by message transfer, and ONU uploads its configuration file;
Extract daily record: when needing the operation conditions checking ONU, Server reads this ONU running log by message transfer, and ONU uploads its daily record file;
Configuration management: Server issues configuration messages to ONU, ONU resolves and completes corresponding configuration management operation, replys operating result by confirmation message to Server.
The present invention relatively prior art compare, have the following advantages and useful effect:
(1) by OLT is connected to configuration management server in the present invention, this configuration management server is mainly used in providing running environment and the webmaster personnel depaly management operation interface of Server end program, configuration management server and ONU are set up upgrading that tunnel realizes ONU software, avoid in prior art and software upgraded the problem that other maintenance managements of this ONU operate by the restricted impact due to OAM agreement itself by OAM passage, the mode that this kind carries out separately ONU software upgrading can not affect OAM management, and updating speed is fast.
(2) the ONU software upgrading in the present invention, after webmaster personnel depaly upgrades well strategy, whole process adopts automatic mode completely, it is achieved process is simple and convenient, has outstanding substantive distinguishing features and significant progress.
(3) the present invention is by issuing or extract the arrangements of steps upgrading strategies such as configuration file, ONU can be accurately specified to carry out software upgrading or the ONU of appointed product model is carried out volume software upgrading, its upgrading mode has more elasticity, is convenient to engineer applied, it is not necessary to bigger occupied bandwidth.
Accompanying drawing explanation
Fig. 1 is the topological diagram of this passive light network maintaining-managing system in the present invention.
Fig. 2 is the flowchart of passive light network maintaining-managing system in embodiment 1 in the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described, and embodiments of the present invention include but not limited to the following example.
Embodiment 1
Topological diagram of the present invention as shown in Figure 1, local side apparatus OLT, ustomer premises access equipment ONU, optical splitter, the ODN of the composition such as splicer. Wherein in order to complete foundation and the release in maintenance management tunnel in the present invention, being also connected with configuration management server on OLT, this configuration management server provides running environment and the webmaster personnel depaly management operation interface of Server end program. Configuration management server runs Server end program, the resident ONU of Client end program runs. The information interaction of configuration management server and ONU is completed by the communication between Server and Client.
Wherein as shown in Figure 2, it is achieved in the present invention, the main method of ONU upgrading is as follows:
A. first it is the discovery of ONU
(1) configuration management server runs Server end program, and Server broadcast finds ONU all in message to passive light network;
(2) the Client real-time sense of one of them ONU finds message, after listening to discovery message, obtain the MAC address of Server, adopting mode of unicast to reply notice message to Server, this notice message comprises the MAC address of Client end, the checking code for certification of this ONU generation, the MAC address of ONU, ONU type, ONU product type and the current software version number of ONU;
(3) Server receives the MAC address that notice message obtains Client, and generates a record write terminal list of this OUN according to notice message, completes the discovery to online ONU;
B., after completing the discovery of ONU, the maintenance management tunnel between Server and Client is set up
(4) Server is in study behind the MAC address of Client in this ONU, takes mode of unicast to send keep-alive message to this client, and the content of this keep-alive message is sequence number and the mark of message;
(5) if after Client receives keep-alive message:
Replying confirmation message responsively, the content of confirmation message comprises the message numbering of its keep-alive message confirmed and the message sequence number of keep-alive message band;
Not replying confirmation message responsively, Server thinks after keep-alive timer time-out and discharges this tunnel by maintenance management tunnel failure, and deletes the record of this ONU from terminal list;
(6) Server safeguards, after receiving this confirmation message, the maintenance management tunnel set up between ONU
Wherein step B is that timing repeats, and namely Server timing clean culture sends keep-alive message, and Client often receives this keep-alive message and just replys a confirmation message responsively, safeguards this maintenance management tunnel to continue;
Step B constantly repeats, and is continued until this maintenance management tunnel of release, carries out step C before this maintenance management tunnel of release.
C.Server specifies terminal by maintenance management tunnel remote upgrade
Wherein step C
(7) version list of webmaster personnel depaly Server end, and import upgrading file;
(8) webmaster personnel depaly Server end upgrading strategy is for specifying upgrading, and adds the information such as ONUMAC address that needs are upgraded in terminal list to be upgraded;
(9) Server compares the information of ONU in the version list of configuration and the terminal list of generation, if the current software version of ONU is lower than upgraded version, the MAC address of this ONU has added terminal list to be upgraded simultaneously, then downloading upgrading file by message transfer to this ONU, ONU receives upgrading file and upgrades; Otherwise do not download upgrading file to this ONU.
After completing steps C, Server deletes the record of ONU from terminal list, the maintenance management tunnel between release configuration management server and ONU.
Embodiment 2
It is with the difference of embodiment 1, described step:
(8) webmaster personnel depaly Server end upgrading strategy is batch upgrade, and adds the information such as ONU product type that needs are upgraded in product list to be upgraded;
(9) Server compares the information of ONU in the version list of configuration and the terminal list of generation, if the current software version of ONU is lower than upgraded version, the product type of this ONU has added product list to be upgraded simultaneously, then downloading upgrading file by message transfer to this ONU, ONU receives upgrading file and upgrades; Otherwise do not download upgrading file to this ONU.
Embodiment 3
Being with the difference of embodiment 1, after completing steps C, ONU is also extracted or issues configuration file, extracts daily record and configuration management by Server, and its main implementation method is as follows:
Extract or issue configuration file: when configuration data needs to change, Server issues configuration file by message transfer to this ONU, and ONU receives configuration file and reloads this Profile Up; When configuration data needs to back up, Server reads this ONU configuration file by message transfer, and ONU uploads its configuration file;
Extract daily record: when needing the operation conditions checking ONU, Server reads this ONU running log by message transfer, and ONU uploads its daily record file;
Configuration management: Server issues configuration messages to ONU, ONU resolves and completes corresponding configuration management operation, replys operating result by confirmation message to Server.
According to above-described embodiment, the present invention just can be realized well. What deserves to be explained is; under prerequisite based on above-mentioned principle of design; for solving same technical problem; even if some making in content basis disclosed in this invention are without substantive change or polishing; the essence of the technical scheme adopted is still the same with the present invention, therefore it also should in protection scope of the present invention.