CN106789144A - A kind of configuration file update method and device - Google Patents
A kind of configuration file update method and device Download PDFInfo
- Publication number
- CN106789144A CN106789144A CN201610188645.1A CN201610188645A CN106789144A CN 106789144 A CN106789144 A CN 106789144A CN 201610188645 A CN201610188645 A CN 201610188645A CN 106789144 A CN106789144 A CN 106789144A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- message
- onu
- version identifier
- olt
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application discloses a kind of configuration file update method and device, is related to communication technical field, is applied to optical line terminal OLT interface board, wherein, the above method includes:Obtain the configuration file version identifier before the OLT interface boards are restarted;Update notification message is sent by each OLT interface of the OLT interface boards;Wherein, the update notification message at least includes the configuration file version identifier for obtaining;Receive and update confirmation message, acknowledge receipt of the ONU more new configuration files of the OLT interfaces connection of the renewal confirmation message;Receive and update request message, version updating message is sent by the OLT interfaces for receiving the renewal request message;Wherein described version updating message carries the corresponding configuration file of configuration file version identifier of acquisition.The scheme provided using the embodiment of the present application carries out configuration file renewal, improves ONU sides configuration file and updates efficiency.
Description
Technical field
The application is related to communication technical field, more particularly to a kind of configuration file update method and device.
Background technology
Typical EPON (Ethernet Passive Optical Network, Ethernet passive optical network) system
Mainly by OLT (Optical Line Terminal, optical line terminal) interface board, ONU (Optical Network
Unit, optical network unit) and ODN (Optical Distribution Network, Optical Distribution Network) three
It is grouped into, structural representation shown in Figure 1.Wherein, ODN is by optical fiber and one or more POS
Passive Optical Components such as (Passive Optical Splitter, passive fiber splitter) is constituted, in OLT and ONU
Between provide optical signal transmission passage, can be coupled to upstream data on an optical fiber by POS, by downlink data
It is distributed to each ONU.
For OLT interface boards, it is typically communicated to connect with master control borad, when OLT interface boards are due to various
After reason is restarted, OLT interface boards can obtain the configuration of the latest configuration version for ONU from master control borad side
Fileinfo.
In addition, it is necessary to couple ONU communicated to connect with the OLT interface boards is carried out after OLT interface boards are restarted
Configuration file recovers, and also referred to as configuration file updates.In the prior art, configuration file is carried out to above-mentioned ONU
During renewal, usually the configuration file of above-mentioned latest configuration version is sent to the company of communicating with by OLT interface boards
Each ONU for connecing, realizes that the configuration file on each ONU updates.
Can realize that ONU sides configuration files updates using aforesaid way, yet with one piece of OLT interface
The ONU quantity of board communications connection is more, when updating the configuration file of ONU sides using aforesaid way, data
Interactive quantity is big, is easily caused whole configuration file renewal process up to dozens of minutes even a few hours, configuration file
Update efficiency low, thereby increases and it is possible to ONU regular traffics can be caused to interrupt for a long time, Consumer's Experience is had a strong impact on.
The content of the invention
The embodiment of the present application discloses a kind of service restoration method and device, to improve ONU sides configuration file more
New efficiency, shortens the break period of ONU regular traffics, improves Consumer's Experience.
To reach above-mentioned purpose, the embodiment of the present application discloses a kind of configuration file update method, is applied to light
Line terminal OLT interface boards, methods described includes:
Obtain the configuration file version identifier before the OLT interface boards are restarted;
Update notification message is sent by each OLT interface of the OLT interface boards;Wherein, it is described to update logical
Know that message at least includes the configuration file version identifier for obtaining;
Receive and update confirmation message, acknowledge receipt of the optical-fiber network list of the OLT interfaces connection of the renewal confirmation message
First ONU more new configuration files;
Receive and update request message, sending version updating by the OLT interfaces for receiving the renewal request message disappears
Breath;Wherein described version updating message carries the corresponding configuration file of configuration file version identifier of acquisition.
In a kind of specific implementation of the application, the configuration file update method also includes:
Obtain the configuration file version identifier for updating;
By each OLT interface send configuration file notice message of the OLT interface boards;Wherein, it is described to match somebody with somebody
Put the file notice message at least configuration file version identifier including the renewal.
It is described to update the request message at least configuration including OUN in a kind of specific implementation of the application
File version identifier;It is described by receive the OLT interfaces of the renewal request message send version updating message it
Before, methods described also includes:
Compare OUN configuration files version identifier and the configuration file version identifier for obtaining, if inconsistent, lead to
Cross the OLT interfaces transmission version updating message for receiving the renewal request message.
To reach above-mentioned purpose, the embodiment of the present application discloses a kind of configuration file update method, is applied to light
NE ONU, methods described includes:
Receive update notification message;The update notification message at least includes configuration file version identifier;
Compare configuration file version identifier with the ONU configuration file version identifiers being locally stored;
Confirm that configuration file version identifier is inconsistent with the ONU configuration file version identifiers being locally stored, send
Update request message;It is described to update the ONU configuration file version identifiers being locally stored described in request message carrying;
Receive version updating message;Wherein described version updating message carries the configuration file version identifier
Corresponding configuration file.
In a kind of specific implementation of the application, the configuration file update method also includes:
Confirm that configuration file version identifier is consistent with the ONU configuration file version identifiers being locally stored,
Send and update confirmation message.
In a kind of specific implementation of the application, the configuration file update method also includes:
Receive configuration file notice message;Wherein, the configuration file notice message at least includes that what is updated matches somebody with somebody
Put file version identifier;
Configuration file version identifier according to the renewal replaces the ONU configuration file version marks being locally stored
Know.
To reach above-mentioned purpose, the embodiment of the present application discloses a kind of configuration file updating device, is applied to light
Line terminal OLT interface boards, described device includes:
First identifier acquisition module, for obtaining the configuration file version mark before the OLT interface boards are restarted
Know;
First message sending module, update notification is sent for each the OLT interface by the OLT interface boards
Message;Wherein, the update notification message at least includes the configuration file version identifier for obtaining;
Update and confirm module, confirmation message is updated for receiving, acknowledge receipt of the OLT of the renewal confirmation message
The optical network unit ONU more new configuration file of interface connection;
Second message transmission module, updates request message, by receiving the renewal request message for receiving
OLT interfaces send version updating message;Wherein described version updating message carries the configuration file version of acquisition
The corresponding configuration file of this mark.
In a kind of specific implementation of the application, the configuration file updating device also includes:
Second identifier acquisition module, for obtaining the configuration file version identifier for updating;
3rd message transmission module, for each the OLT interface send configuration file by the OLT interface boards
Notice message;Wherein, the configuration file notice message at least configuration file version mark including the renewal
Know.
It is described to update the request message at least configuration including OUN in a kind of specific implementation of the application
File version identifier;
Second message transmission module, request message is updated specifically for receiving, and compares OUN configuration files
Version identifier and the configuration file version identifier for obtaining, if inconsistent, are disappeared by receiving the renewal request
The OLT interfaces of breath send version updating message.
To reach above-mentioned purpose, the embodiment of the present application discloses a kind of configuration file updating device, is applied to light
NE ONU, described device includes:
First message receiver module, for receiving update notification message;The update notification message at least includes
Configuration file version identifier;
Mark comparison module, for the ONU configuration files version for comparing configuration file version identifier be locally stored
This mark;
First message sending module, for confirming that configuration file version identifier configures text with the ONU being locally stored
Part version identifier is inconsistent, sends and updates request message;The renewal request message is locally stored described in carrying
ONU configuration file version identifiers;
Second message reception module, for receiving version updating message;Wherein described version updating message is carried
The configuration file version identifier corresponding configuration file.
In a kind of specific implementation of the application, the configuration file updating device also includes:
Identity validation module, for the ONU configuration files version for confirming configuration file version identifier be locally stored
This mark is consistent,
Second message transmission module, confirmation message is updated for sending.
In a kind of specific implementation of the application, the configuration file updating device also includes:
3rd message reception module, for receiving configuration file notice message;Wherein, the configuration file leads to
Accusing message at least includes the configuration file version identifier for updating;
Mark replacement module, for replacing what is be locally stored according to the configuration file version identifier of the renewal
ONU configuration file version identifiers.
As seen from the above, in the scheme that the embodiment of the present application is provided, obtained before it restarts in OLT interface boards
After configuration file version identifier, update notification message is sent by each OLT interface of OLT interface boards, and lead to
The mode for receiving and updating confirmation message is crossed, the ONU of the OLT interfaces connection for updating confirmation message has been acknowledged receipt of
More new configuration file, request message is updated by receiving, and the OLT interfaces hair of request message is updated by receiving
Send version updating message.It can be seen that in the scheme of the embodiment of the present application offer, OLT is only receiving renewal request
During message, just sent to ONU and update request message so that the configuration file that ONU sends according to OLT is carried out
Configuration file updates, therefore, when updating the configuration file of ONU sides, interactive data volume greatly reduces, and carries
The efficiency that ONU sides configuration file high updates, and then the break period of ONU regular traffics can be shortened, carry
Consumer's Experience high.
Brief description of the drawings
In order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art, below will be to implementing
Example or the accompanying drawing to be used needed for description of the prior art are briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present application, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of EPON system in the prior art;
A kind of schematic flow sheet of configuration file update method that Fig. 2 is provided for the embodiment of the present application;
The schematic flow sheet of another configuration file update method that Fig. 3 is provided for the embodiment of the present application;
A kind of signaling process schematic diagram of configuration file update method that Fig. 4 is provided for the embodiment of the present application;
A kind of structural representation of configuration file updating device that Fig. 5 is provided for the embodiment of the present application;
The structural representation of another configuration file updating device that Fig. 6 is provided for the embodiment of the present application.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clearly
Chu, it is fully described by, it is clear that described embodiment is only some embodiments of the present application, rather than
Whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making creation
Property work under the premise of the every other embodiment that is obtained, belong to the scope of the application protection.
A kind of schematic flow sheet of configuration file update method that Fig. 2 is provided for the embodiment of the present application, the method should
For optical line terminal OLT interface board, including:
S201:Obtain the configuration file version identifier before above-mentioned OLT interface boards are restarted.
Specifically, above-mentioned OLT interface boards may be restarted due to many reasons, its restart after for ensure with and its
The ONU proper communications of communication connection, the configuration file that need to ensure all ONU is the configuration file of latest edition.
And although OLT interface boards are restarted under certain situation in practical application, ONU is not restarted, and ONU
Would generally cached configuration file, so the configuration file that is currently stored with ONU in this case, but
The configuration file that ONU is locally stored is probably the configuration file of latest edition, it is also possible to be not latest edition
Configuration file.The configuration file of above-mentioned latest edition is that can be understood as before foregoing OLT interface boards restart
Configuration file.
In a kind of optional implementation of the application, OLT interface boards be typically with master control borad communicate to connect,
The general configuration information preserved with the ONU of OLT interface board communications in master control borad, therefore, OLT interface boards are restarted
Afterwards, the configuration file before it is restarted can be obtained from master control borad by communication between plates mechanism.
S202:Update notification message is sent by each OLT interface of above-mentioned OLT interface boards.
Wherein, above-mentioned update notification message at least includes the configuration file version identifier for obtaining.
In a kind of specific implementation of the application, above-mentioned OLT interface boards by each OLT interface to it is each
After the ONU of individual OLT interface boards communication connection sends update notification message, ONU can be according to being locally stored
Configuration file carries out configuration file renewal, specifically, after ONU receives update notification message, however, it is determined that on
State the configuration file version identifier of the acquisition that notification message includes and the version mark of the configuration file being locally stored
Know unanimously, then configuration file renewal can be carried out according to the configuration file being locally stored.
In another specific implementation of the application, configuration can also be carried in above-mentioned update notification message
Self refresh is identified, and the configuration self refresh is identified for notifying that ONU is matched somebody with somebody according to the configuration file being locally stored
Put file renewal.In view of the foregoing, above-mentioned OLT interface boards are connect by each OLT interface to each OLT
After the ONU of oralia communication connection sends update notification message, ONU is carried out according to the configuration file being locally stored
When configuration file updates, if ONU can parse configuration self refresh mark from the update notification message for receiving
Know, then can check the configuration file being locally stored version identifier whether with the configuration file of above-mentioned acquisition version
This mark is consistent, if unanimously, illustrate the configuration file being locally stored as OLT interface boards restart before configuration
File, can carry out configuration file renewal with the configuration file being locally stored.
Because once OLT interface boards are restarted in current mechanism, each ONU for communicating with connection need to enter again
Row registration, it is possible to understand that, ONU re-starts registration and need to be awarded in the discovery for receiving the broadcast of OLT interface boards
Power message can just be carried out, in consideration of it, in a kind of specific implementation of the application, above-mentioned update notification disappears
Breath can be sent to ONU with the discovery authorization messages that OLT interface boards are broadcasted.
Those skilled in the art are it is understood that for one piece of OLT interface board, it typically has
Multiple OLT interfaces, and an OLT interface may be communicated to connect with multiple ONU, may in these ONU
Can there is the available ONU of configuration file being locally stored, it is also possible to can there is the configuration file being locally stored not
Available ONU, two kinds of different places of following S203 and S204 can be given for above-mentioned two classes ONU, OLT
Reason mode.
S203:Receive and update confirmation message, acknowledge receipt of the light of the OLT interfaces connection of above-mentioned renewal confirmation message
NE ONU more new configuration files.
Wherein, can include in above-mentioned renewal confirmation message:Config update success flag, it is, of course, also possible to
Including:The information such as the version identifier of ONU sides configuration file, the application is defined not to this.
Specifically, after the broadcast of OLT interface boards finds authorization messages, ONU is according to the discovery authorization messages to OLT
Interface board sends login request message, to complete ONU registrations, in consideration of it, in a kind of specific reality of the application
In existing mode, ONU sends when updating confirmation message to above-mentioned OLT interface boards, and the renewal confirmation message can be with
Sent together with login request message to OLT interface boards.
S204:Receive and update request message, version is sent by the OLT interfaces for receiving above-mentioned renewal request message
New information.
Wherein, above-mentioned version updating message carries the corresponding configuration file of configuration file version identifier of acquisition.
OLT receives above-mentioned renewal request message, then can illustrate that the configuration file that ONU sides are locally stored is
Disabled, to ensure that ONU sides configuration file is updated successfully, OLT need to be by the configuration file of above-mentioned acquisition version
The corresponding configuration file of this mark is sent to ONU, to cause that ONU is successfully updated configuration file.
Can include in above-mentioned renewal request message:Config update is unsuccessfully identified, it is, of course, also possible to including:
The information such as the version identifier of ONU sides configuration file, the application is defined not to this.
In a kind of relatively good implementation of the application, after OLT receives above-mentioned renewal request message, Ke Yi
Config update is therefrom parsed unsuccessfully to identify and determine the version identifier of ONU sides configuration file and above-mentioned acquisition
In the case that configuration file version identifier is inconsistent, just sent out by receiving the OLT interfaces of above-mentioned renewal request message
Send version updating message.
It is of course also possible to only when parsing config update and unsuccessfully identifying, or only determine that ONU sides are matched somebody with somebody
Put file version identifier it is inconsistent with the configuration file version identifier of above-mentioned acquisition when, it is just above-mentioned by receiving
The OLT interfaces for updating request message send version updating message.
It is similar with above-mentioned renewal confirmation message in a kind of specific implementation of the application, update request and disappear
Breath can also together send to OLT interface boards with login request message.
In a kind of specific implementation of the application, at least configuration including OUN of above-mentioned renewal request message
File version identifier;By receive the OLT interfaces of above-mentioned renewal request message send version updating message it
Before, OUN configuration files version identifier and the configuration file version identifier for obtaining can also be compared, if inconsistent,
Just version updating message is sent by receiving the OLT interfaces of above-mentioned renewal request message.
In another specific implementation of the application, above-mentioned configuration file update method can also include:
Obtain the configuration file version identifier for updating;
By each OLT interface send configuration file notice message of OLT interface boards;Wherein, configuration file leads to
Accusing message at least includes the configuration file version identifier for updating.
As seen from the above, in the scheme that the present embodiment is provided, matching somebody with somebody before it is restarted is obtained in OLT interface boards
After putting file version identifier, update notification message is sent by each OLT interface of OLT interface boards, and lead to
The mode for receiving and updating confirmation message is crossed, the ONU of the OLT interfaces connection for updating confirmation message is acknowledged receipt of
More new configuration file, request message is updated by receiving, and is connect by receiving the OLT of renewal request message
Mouth sends version updating message.It can be seen that in the scheme of the embodiment of the present application offer, OLT is only being received more
During new request message, just sent to ONU and update request message so that the configuration that ONU sends according to OLT
File carries out configuration file renewal, therefore, when updating the configuration file of ONU sides, interactive data volume is significantly
Reduce, improve the efficiency that ONU sides configuration files updates, and then can shorten ONU regular traffics
The disconnected time, improve Consumer's Experience.
The schematic flow sheet of another configuration file update method that Fig. 3 is provided for the embodiment of the present application, the method
Optical network unit ONU is applied to, including:
S301:Receive update notification message.
Wherein, above-mentioned update notification message at least includes configuration file version identifier, certainly, above-mentioned configuration text
The information such as configuration self refresh mark can also be carried in part new information, the application is defined not to this.
The configuration file version identifier that above-mentioned update notification message includes can be:OLT is obtained after it is restarted
Its configuration file version identifier before restarting.
Above-mentioned configuration self refresh is identified for notifying that ONU carries out configuration file according to the configuration file being locally stored
Update.
In a kind of specific implementation of the application, above-mentioned update notification message can be with OLT interface boards
The discovery authorization messages of broadcast are sent to ONU's.
S302:Compare configuration file version identifier with the ONU configuration file version identifiers being locally stored.
In a kind of specific implementation of the application, self refresh is configured when being carried in above-mentioned update notification message
During mark, this step can be after ONU parses configuration self refresh mark from above-mentioned update notification message
Just perform.
S303:Confirm that configuration file version identifier is inconsistent with the ONU configuration file version identifiers being locally stored,
Send and update request message.
ONU confirms that configuration file version identifier is inconsistent with the ONU configuration file version identifiers being locally stored
When, it is believed that the configuration file that ONU is locally stored is disabled, that is, using matching somebody with somebody for being locally stored
Putting file carries out configuration file renewal failure.
Wherein, above-mentioned renewal request message carries the ONU configuration file version identifiers being locally stored, certainly,
Config update can also be carried in the renewal request message and the information such as unsuccessfully identifies, the application is carried out not to this
Limit.
In a kind of specific implementation of the application, above-mentioned renewal request message can disappear with registration request
Breath sends to OLT interface boards together.
S304:Receive version updating message.
Wherein, above-mentioned version updating message carries the corresponding configuration file of above-mentioned configuration file version identifier.
After ONU receives above-mentioned version updating message, above-mentioned configuration file version identifier can be therefrom parsed
Corresponding configuration file, and configuration file renewal is carried out by the configuration file for parsing.
In a kind of relatively good implementation of the application, ONU confirms configuration file version identifier and is locally stored
ONU configuration file version identifiers it is consistent when, send update confirmation message, can so inform OLT ONU
The configuration file being locally stored is available configuration file, without OLT send configuration files.
Specifically, can include in above-mentioned renewal confirmation message:Config update success flag, certainly, may be used also
To include:The information such as the version identifier of ONU sides configuration file, the application is defined not to this.
In addition, similar with above-mentioned renewal request message, updating confirmation message can also be with login request message
Send together to OLT interface boards.
In a kind of optional implementation of the application, above-mentioned configuration file update method can also include:
Receive configuration file notice message;Wherein, the configuration file notice message at least includes that what is updated matches somebody with somebody
Put file version identifier;
Configuration file version identifier according to the renewal replaces the ONU configuration file version marks being locally stored
Know.
As seen from the above, in the scheme that the present embodiment is provided, after ONU receives update notification message, compare
Configuration file version identifier and the ONU configuration file version identifiers being locally stored, in above-mentioned two version identifier not
Just sent in the case of consistent and update request message, and receive version updating message, therefore, update ONU sides
Configuration file when, interactive data volume greatly reduces, and improves the efficiency that ONU sides configuration files updates,
And then break period of ONU regular traffics can be shortened, improve Consumer's Experience.
With reference to ONU registration processes, the configuration file provided above-mentioned Fig. 2 and embodiment illustrated in fig. 3 is more
New method carries out review paper.
Referring to Fig. 4, there is provided a kind of signaling process schematic diagram of configuration file update method.
It is each with what each OLT interface communication of the OLT interface boards was connected after one OLT interface board is restarted
Individual ONU need to re-start registration, and detailed process is as follows:
First, after OLT interface boards are restarted, generation carries the discovery of self refresh mark and latest configuration version identifier
Authorization messages (S401), and the discovery authorization messages (S402) are broadcasted, ONU receives above-mentioned discovery mandate
After message, the message is parsed, according to the self refresh mark and latest configuration version that are included in the message
Mark carries out configuration file self refresh (S403), then updates result according to configuration file and local ONU matches somebody with somebody
Configuration version mark generation login request message (S404) of file is put, and the login request message is sent to
OLT interface boards (S405), after OLT interface boards receive above-mentioned login request message, according to what is wherein carried
Configuration file updates result and whether configuration version mark in ONU sides judges the successful self refresh configuration files of ONU
(S406), if success self refresh, OLT interface boards complete follow-up ONU registrations according to prior art
(S409);If failed self refresh, the corresponding configuration file of latest configuration version identifier is sent to ONU
Side (S407), ONU carries out configuration file renewal (S408) after receiving the configuration file, then according to existing
There is technology to complete ONU registrations (S409).
Above-mentioned latest configuration version identifier can be understood as:OLT restart after obtain its restart before configuration file
Version identifier.
It can be that configuration file is updated successfully that above-mentioned configuration file updates result, at this moment comprising configuration in the result
Mark is updated successfully, at this point it is possible to what is carried in being interpreted as registration request is to update confirmation message, OLT can be with
According to the message carried in registration request, ONU more new configuration files are confirmed.
Above-mentioned configuration file updates result and can also be that configuration file updates failure, is at this moment included in the result and matched somebody with somebody
Put renewal unsuccessfully to identify, at this point it is possible to what is carried in being interpreted as registration request is to update request message, OLT
Version updating message can be sent to ONU according to the message carried in registration request.
Specifically, no matter finding that authorization messages or login request message are usually to specify according to related specifications
What form was transmitted.
Those skilled in the art are it is understood that it has been specified that in corresponding agreement in common specification
The value of each flag, but during specification is worked out, it is contemplated that it is easy to the factors such as later stage extension pre-
Some bits are stayed, when receiving terminal receives analytic message data after message data, these can have been ignored pre-
Stay the value of bit, that is, according to specification for, the value of reserved bit position does not influence the parsing of message
As a result.
In view of the foregoing, the setting self refresh mark and latest configuration version in above-mentioned discovery authorization messages
During mark, it may be considered that these reserved bits position specified in specification, above-mentioned letter is represented by reserved bit position
Breath, but in this case unlike the prior art ONU receive discovery authorization messages after to the message
When being parsed, the value of reserved bit position is no longer ignored completely, but need to be according to agreement from reserved bit position
In parse above-mentioned self refresh mark and latest configuration version identifier.
In a kind of relatively good implementation of the application, above-mentioned self refresh mark may be located at MPCP
Compare in the discovery message field of (Multipoint Control Protocol, Multi-point Control Protocol) discovery authorization messages
Special bit-identify is the bit of the first default value, wherein, bit is designated the bit of the first default value
Position is reserved bit position;
Above-mentioned latest configuration version identifier may be located at MPCP find authorization messages discovery message field in bit
First predetermined number bit of the bit-identify since the second default value, wherein, the first predetermined number
Bit is reserved bit position.
Specifically, referring to table 1, there is provided MPCP has found the information that the discovery message field of authorization messages is included.
Table 1
" bit " row can be understood as the hair that each identification field finds authorization messages in MPCP in above-mentioned table 1
Position in existing message field, that is, the bit bit-identify that can be understood as each identification field.From the table
As can be seen that 2-3 bits and 6-15 bits are reservation bit position, or referred to as reserved bit position,
Then above-mentioned self refresh mark and latest configuration version identifier may be located at any bit in these reserved bits position
Position.
It should be understood that when generally representing above-mentioned self refresh mark and latest configuration version identifier, adopting
Being easy to ONU with continuous bit carries out information analysis, in addition, the bit that latest configuration version identifier needs
Bit comparison is more, it is possible to represents that above-mentioned self refresh is identified using above-mentioned 2-3 bits, and uses 6-15
Bit represents latest configuration version identifier.
Preferably, the above-mentioned first default value can be 2, it is of course also possible to be 3 etc..
In addition, when representing above-mentioned latest configuration version identifier using more bit, the mark is corresponding to be taken
Value scope can than larger, so, preferably, the above-mentioned second default value can be 6, the first predetermined number can
To be 10 (15-6+1=10), certainly, the above-mentioned second default value can be 7,8 etc., the first present count
Amount can be 9,8 etc., and the application is defined not to this.
Based on description above, ONU sides configuration version mark is set in above-mentioned login request message and is configured
When being updated successfully mark/config update and unsuccessfully identifying, it is also possible to consider these reserved bits position specified in specification,
Above- mentioned information is represented by reserved bit position, but OLT is received unlike the prior art in this case
When being parsed to the message after login request message, the value of reserved bit position is no longer ignored completely, but
Need to be parsed from reserved bit position according to agreement and be updated successfully mark/config update and unsuccessfully identify and ONU sides
Configuration version is identified.
It is above-mentioned to be updated successfully that mark/config update is unsuccessfully identified in a kind of relatively good implementation of the application
The bit of the 3rd default value is designated with the bit in the discovery message field of MPCP login request messages
Position, wherein, the bit that bit is designated the 3rd default value is reserved bit position;
Above-mentioned ONU sides configuration version compares in identifying the discovery message field that may be located at MPCP login request messages
Second predetermined number bit of the special bit-identify since the 4th default value, wherein, the second predetermined number
Individual bit is reserved bit position.
Preferably, above-mentioned second predetermined number is equal with foregoing first predetermined number.
Specifically, referring to table 2, there is provided the information that the discovery message field of MPCP login request messages is included.
Table 2
" bit " row can be understood as hair of each identification field in MPCP login request messages in above-mentioned table 2
Position in existing message field, that is, the bit bit-identify that can be understood as each identification field.From the table
As can be seen that 2-3 bits and 6-15 bits are reservation bit position, or referred to as reserved bit position,
Then it is above-mentioned be updated successfully mark/config update unsuccessfully identify with ONU sides configuration version mark may be located at these
Any bit in reserved bit position.
It should be understood that generally representing ONU sides configuration version mark and config update success flag/match somebody with somebody
Renewal is put when unsuccessfully identifying, be easy to the OLT to carry out information analysis using continuous bit, in addition, configuration version
Identify the bit bit comparison for needing many, it is possible to represent that config update is successfully marked using above-mentioned 2-3 bits
Knowledge/config update is unsuccessfully identified, and represents that ONU sides configuration version is identified using 6-15 bits.
Preferably, the above-mentioned 3rd default value can be 2, it is of course also possible to be 3 etc..
In addition, when representing that above-mentioned ONU sides configuration version is identified using more bit, the mark is corresponding
Span can than larger, so, preferably, the above-mentioned 4th default value can be 6, the second predetermined number
Can be 10 (15-6+1=10), certainly, the above-mentioned 4th default value can be 7,8 etc., and second presets
Quantity can be 9,8 etc., and the application is defined not to this.
Above-mentioned latest configuration version identifier can be understood as:OLT restart after obtain its restart before configuration file
Version identifier.
Corresponding with above-mentioned configuration file update method, the embodiment of the present application additionally provides a kind of configuration file more
New equipment.
A kind of structural representation of configuration file updating device that Fig. 5 is provided for the embodiment of the present application, the device should
For optical line terminal OLT interface board, including:
First identifier acquisition module 501, for obtaining the configuration file version before the OLT interface boards are restarted
Mark;
First message sending module 502, sends for each the OLT interface by the OLT interface boards and updates
Notification message;Wherein, the update notification message at least includes the configuration file version identifier for obtaining;
Update and confirm module 503, confirmation message is updated for receiving, acknowledge receipt of the renewal confirmation message
The optical network unit ONU more new configuration file of OLT interfaces connection;
Second message transmission module 504, request message is updated for receiving, and is disappeared by receiving the renewal request
The OLT interfaces of breath send version updating message;Wherein described version updating message carries the configuration file of acquisition
The corresponding configuration file of version identifier.
In a kind of specific implementation of the application, above-mentioned configuration file updating device can also include:
Second identifier acquisition module, for obtaining the configuration file version identifier for updating;
3rd message transmission module, for each the OLT interface send configuration file by the OLT interface boards
Notice message;Wherein, the configuration file notice message at least configuration file version mark including the renewal
Know.
It is described to update the request message at least configuration including OUN in a kind of specific implementation of the application
File version identifier;
Second message transmission module, request message is updated specifically for receiving, and compares OUN configuration files
Version identifier and the configuration file version identifier for obtaining, if inconsistent, are disappeared by receiving the renewal request
The OLT interfaces of breath send version updating message.
As seen from the above, in the scheme that the present embodiment is provided, the configuration before it is restarted is obtained in OLT interface boards
After file version identifier, update notification message is sent by each OLT interface of OLT interface boards, and by connecing
The mode for updating confirmation message is received, the ONU for acknowledging receipt of the OLT interfaces connection for updating confirmation message has updated
Configuration file, request message is updated by receiving, and the OLT interfaces transmission version of request message is updated by receiving
This new information.It can be seen that in the scheme of the embodiment of the present application offer, OLT is only receiving renewal request message
When, just sent to ONU and update request message so that ONU is configured according to the configuration file that OLT sends
File updates, therefore, when updating the configuration file of ONU sides, interactive data volume greatly reduces, and improves
The efficiency that ONU sides configuration file updates, and then the break period of ONU regular traffics can be shortened, improve
Consumer's Experience.
The structural representation of another configuration file updating device that Fig. 6 is provided for the embodiment of the present application, the device
Optical network unit ONU is applied to, including:
First message receiver module 601, for receiving update notification message;The update notification message is at least wrapped
Include configuration file version identifier;
Mark comparison module 602, for the ONU configuration files for comparing configuration file version identifier be locally stored
Version identifier;
First message sending module 603, for confirming that configuration file version identifier is configured with the ONU being locally stored
File version identifier is inconsistent, sends and updates request message;The renewal request message carrying is described locally to deposit
The ONU configuration file version identifiers of storage;
Second message reception module 604, for receiving version updating message;Wherein described version updating message
Carry the corresponding configuration file of the configuration file version identifier.
In a kind of specific implementation of the application, above-mentioned configuration file updating device can also include:
Identity validation module, for the ONU configuration files version for confirming configuration file version identifier be locally stored
This mark is consistent,
Second message transmission module, confirmation message is updated for sending.
In a kind of specific implementation of the application, above-mentioned configuration file updating device can also include:
3rd message reception module, for receiving configuration file notice message;Wherein, the configuration file leads to
Accusing message at least includes the configuration file version identifier for updating;
Mark replacement module, for replacing what is be locally stored according to the configuration file version identifier of the renewal
ONU configuration file version identifiers.
As seen from the above, in the scheme that the present embodiment is provided, after ONU receives update notification message, compare
Configuration file version identifier and the ONU configuration file version identifiers being locally stored, in above-mentioned two version identifier not
Just sent in the case of consistent and update request message, and receive version updating message, therefore, update ONU sides
Configuration file when, interactive data volume greatly reduces, and improves the efficiency that ONU sides configuration files updates,
And then break period of ONU regular traffics can be shortened, improve Consumer's Experience.
For device embodiment, because it is substantially similar to embodiment of the method, so the comparing of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these
There is any this actual relation or order between entity or operation.And, term " including ", "comprising"
Or any other variant thereof is intended to cover non-exclusive inclusion, so that a series of mistake including key elements
Journey, method, article or equipment not only include those key elements, but also other including being not expressly set out
Key element, or it is this process, method, article or the intrinsic key element of equipment also to include.Do not having
In the case of more limitations, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, article or the equipment of element.
One of ordinary skill in the art will appreciate that realizing all or part of step in above method implementation method
Program be can be by instruct the hardware of correlation to complete, described program can be stored in computer-readable
In taking storage medium, storage medium designated herein, such as:ROM/RAM, magnetic disc, CD etc..
The preferred embodiment of the application is the foregoing is only, the protection domain of the application is not intended to limit.
All any modification, equivalent substitution and improvements made within spirit herein and principle etc., are all contained in
In the protection domain of the application.
Claims (12)
1. a kind of configuration file update method, is applied to optical line terminal OLT interface board, it is characterised in that institute
The method of stating includes:
Obtain the configuration file version identifier before the OLT interface boards are restarted;
Update notification message is sent by each OLT interface of the OLT interface boards;Wherein, it is described to update logical
Know that message at least includes the configuration file version identifier for obtaining;
Receive and update confirmation message, acknowledge receipt of the optical-fiber network list of the OLT interfaces connection of the renewal confirmation message
First ONU more new configuration files;
Receive and update request message, sending version updating by the OLT interfaces for receiving the renewal request message disappears
Breath;Wherein described version updating message carries the corresponding configuration file of configuration file version identifier of acquisition.
2. method according to claim 1, it is characterised in that methods described also includes:
Obtain the configuration file version identifier for updating;
By each OLT interface send configuration file notice message of the OLT interface boards;Wherein, it is described to match somebody with somebody
Put the file notice message at least configuration file version identifier including the renewal.
3. method according to claim 1, it is characterised in that the renewal request message at least includes OUN
Configuration file version identifier;It is described to send version updating by receiving the OLT interfaces of the renewal request message
Before message, methods described also includes:
Compare OUN configuration files version identifier and the configuration file version identifier for obtaining, if inconsistent, lead to
Cross the OLT interfaces transmission version updating message for receiving the renewal request message.
4. a kind of configuration file update method, is applied to optical network unit ONU, it is characterised in that methods described
Including:
Receive update notification message;The update notification message at least includes configuration file version identifier;
Compare configuration file version identifier with the ONU configuration file version identifiers being locally stored;
Confirm that configuration file version identifier is inconsistent with the ONU configuration file version identifiers being locally stored, send
Update request message;It is described to update the ONU configuration file version identifiers being locally stored described in request message carrying;
Receive version updating message;Wherein described version updating message carries the configuration file version identifier
Corresponding configuration file.
5. method according to claim 4, it is characterised in that methods described also includes:
Confirm that configuration file version identifier is consistent with the ONU configuration file version identifiers being locally stored,
Send and update confirmation message.
6. method according to claim 4, it is characterised in that methods described also includes:
Receive configuration file notice message;Wherein, the configuration file notice message at least includes that what is updated matches somebody with somebody
Put file version identifier;
Configuration file version identifier according to the renewal replaces the ONU configuration file version marks being locally stored
Know.
7. a kind of configuration file updating device, is applied to optical line terminal OLT interface board, it is characterised in that institute
Stating device includes:
First identifier acquisition module, for obtaining the configuration file version mark before the OLT interface boards are restarted
Know;
First message sending module, update notification is sent for each the OLT interface by the OLT interface boards
Message;Wherein, the update notification message at least includes the configuration file version identifier for obtaining;
Update and confirm module, confirmation message is updated for receiving, acknowledge receipt of the OLT of the renewal confirmation message
The optical network unit ONU more new configuration file of interface connection;
Second message transmission module, updates request message, by receiving the renewal request message for receiving
OLT interfaces send version updating message;Wherein described version updating message carries the configuration file version of acquisition
The corresponding configuration file of this mark.
8. device according to claim 7, it is characterised in that described device also includes:
Second identifier acquisition module, for obtaining the configuration file version identifier for updating;
3rd message transmission module, for each the OLT interface send configuration file by the OLT interface boards
Notice message;Wherein, the configuration file notice message at least configuration file version mark including the renewal
Know.
9. device according to claim 7, it is characterised in that the renewal request message at least includes OUN
Configuration file version identifier;
Second message transmission module, request message is updated specifically for receiving, and compares OUN configuration files
Version identifier and the configuration file version identifier for obtaining, if inconsistent, are disappeared by receiving the renewal request
The OLT interfaces of breath send version updating message.
10. a kind of configuration file updating device, is applied to optical network unit ONU, it is characterised in that the dress
Put including:
First message receiver module, for receiving update notification message;The update notification message at least includes
Configuration file version identifier;
Mark comparison module, for the ONU configuration files version for comparing configuration file version identifier be locally stored
This mark;
First message sending module, for confirming that configuration file version identifier configures text with the ONU being locally stored
Part version identifier is inconsistent, sends and updates request message;The renewal request message is locally stored described in carrying
ONU configuration file version identifiers;
Second message reception module, for receiving version updating message;Wherein described version updating message is carried
The configuration file version identifier corresponding configuration file.
11. devices according to claim 10, it is characterised in that described device also includes:
Identity validation module, for the ONU configuration files version for confirming configuration file version identifier be locally stored
This mark is consistent,
Second message transmission module, confirmation message is updated for sending.
12. devices according to claim 10, it is characterised in that described device also includes:
3rd message reception module, for receiving configuration file notice message;Wherein, the configuration file leads to
Accusing message at least includes the configuration file version identifier for updating;
Mark replacement module, for replacing what is be locally stored according to the configuration file version identifier of the renewal
ONU configuration file version identifiers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610188645.1A CN106789144B (en) | 2016-03-29 | 2016-03-29 | Configuration file updating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610188645.1A CN106789144B (en) | 2016-03-29 | 2016-03-29 | Configuration file updating method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106789144A true CN106789144A (en) | 2017-05-31 |
CN106789144B CN106789144B (en) | 2021-06-18 |
Family
ID=58972209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610188645.1A Active CN106789144B (en) | 2016-03-29 | 2016-03-29 | Configuration file updating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789144B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107634858A (en) * | 2017-09-25 | 2018-01-26 | 新华三信息安全技术有限公司 | Feature database update method and controller |
CN107783770A (en) * | 2017-08-25 | 2018-03-09 | 上海壹账通金融科技有限公司 | Page configuration update method, device, server and medium |
CN107911764A (en) * | 2017-12-29 | 2018-04-13 | 武汉长光科技有限公司 | A kind of method for accelerating intensity EPON ONU service management |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859182A (en) * | 2005-12-25 | 2006-11-08 | 华为技术有限公司 | Method for edition upgrading of optical network unit ONU |
WO2010121529A1 (en) * | 2009-04-21 | 2010-10-28 | 华为技术有限公司 | Method, system and device for transmitting ipv6 protocol message in passive optical network |
CN103108262A (en) * | 2013-03-07 | 2013-05-15 | 烽火通信科技股份有限公司 | Method for upgrading configuration file of optical network unit in GPON system |
-
2016
- 2016-03-29 CN CN201610188645.1A patent/CN106789144B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859182A (en) * | 2005-12-25 | 2006-11-08 | 华为技术有限公司 | Method for edition upgrading of optical network unit ONU |
WO2010121529A1 (en) * | 2009-04-21 | 2010-10-28 | 华为技术有限公司 | Method, system and device for transmitting ipv6 protocol message in passive optical network |
CN103108262A (en) * | 2013-03-07 | 2013-05-15 | 烽火通信科技股份有限公司 | Method for upgrading configuration file of optical network unit in GPON system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783770A (en) * | 2017-08-25 | 2018-03-09 | 上海壹账通金融科技有限公司 | Page configuration update method, device, server and medium |
CN107783770B (en) * | 2017-08-25 | 2020-06-05 | 深圳壹账通智能科技有限公司 | Page configuration updating method, device, server and medium |
CN107634858A (en) * | 2017-09-25 | 2018-01-26 | 新华三信息安全技术有限公司 | Feature database update method and controller |
CN107911764A (en) * | 2017-12-29 | 2018-04-13 | 武汉长光科技有限公司 | A kind of method for accelerating intensity EPON ONU service management |
CN107911764B (en) * | 2017-12-29 | 2021-05-28 | 武汉长光科技有限公司 | Method for accelerating business management of intensive EPON ONU |
Also Published As
Publication number | Publication date |
---|---|
CN106789144B (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101534460B (en) | Method for identifying remote ONU down-linked terminal equipment in PON system automatically | |
CN110460371B (en) | Optical resource checking method and system | |
CN112994938B (en) | Optical network unit upgrading system and method | |
CN103763148B (en) | ONU automatic authorization configuration recovery method | |
CN103701640A (en) | Method and system of using intelligent management terminal to update ODN (optical distribution network) equipment | |
CN106789144A (en) | A kind of configuration file update method and device | |
US10084894B2 (en) | Method, apparatus, and system for managing terminal device in passive optical network | |
WO2010148686A1 (en) | Method, device and system for detecting link failure | |
EP2458811B1 (en) | Method, apparatus and system for processing user identity information in gigabit passive optical network system | |
KR101961053B1 (en) | Method, device and system for detecting rogue optical network unit | |
CN107911764B (en) | Method for accelerating business management of intensive EPON ONU | |
CN101227236A (en) | Method for automatic synchronization of optical network unit management data in Ethernet passive optical network | |
CN106162386A (en) | A kind of method and apparatus realizing registration | |
CN116634310A (en) | Household all-optical network gateway version upgrading method, electronic equipment and storage medium | |
CN101212346B (en) | Software version management method and device for network element management system | |
CN110597226A (en) | Abnormity early warning method and device for vehicle-mounted Ethernet | |
CN100417090C (en) | Method and system for positioning DoS attack source | |
CN108243050B (en) | Method and equipment for configuring routing table | |
CN105791023B (en) | The method, apparatus and system of optical network unit ONU management | |
CN105323661A (en) | Optical network unit (ONU) service activating method and device | |
CN102970221A (en) | Redundancy communication method among nodes based on multiple networks | |
CN105991323B (en) | User equipment replacing method, network element management system and optical network system | |
US20060073822A1 (en) | Methods, systems, and computer program products for time-based inhibiting of alarms and time-based removal of inhibited alarms | |
CN109981166B (en) | Method and device for positioning optical fiber in error connection | |
CN103166756A (en) | Method for carrying out authentication announcing on optical network unit and corresponding equipment |
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 |