Summary of the invention
In order to solve the above-mentioned technical problem, present applicant proposes a kind of Ethernet passive optical network application program push sides
Method, which comprises the ability information of optical network unit is obtained by operation management maintainance channel;According to optical network unit
When ability information is determined to optical network unit pushing application program, by operation management maintainance channel, and pass through operational administrative dimension
Shield pushes message to optical network unit pushing application program.
Further, described by operation management maintainance channel, and message is pushed to optical-fiber network by operation management maintainance
Unit pushing application program, comprising: application program is divided into n application program push segment, n application program after segmentation
Push segment be respectively application program push the first segment ..., application program push the n-th segment, wherein wherein n be greater than etc.
In 1 natural number.
Further, the operation management maintainance push message includes: App Write Request message, is used for light
Network unit sending application program write request;App Transfer Block message, after sending segmentation to optical network unit
N application program push segment;App Transfer Ack message, for App Write Request message and App
Transfer Block message is responded;End Download Resquest message is used for optical network unit sending application
The verification request of program accuracy;End Download Response message, for End Download Request message into
Row response;Activate Image Request message, for sending activation and executing application to optical network unit;
Activate Image Response message, for being responded to Activate Image Request message.
Further, described by operation management maintainance channel, and message is pushed to optical-fiber network by operation management maintainance
Unit pushing application program, further includes: by operation management maintainance channel to optical network unit sending application program write request App
Write Request message, and the application program push response App Transfer Ack0 for receiving optical network unit transmission disappears
Breath;The first segment is pushed to optical network unit sending application program by operation management maintainance channel, and receives optical network unit
The application program of transmission pushes the first segment and responds App Transfer Ack1 message;And so on, pass through operation management maintainance
Channel pushes the n-th segment to optical network unit sending application program, and receives the application program push n-th of optical network unit transmission
Segment responds App Transfer Ackn message;It is quasi- to optical network unit sending application program by operation management maintainance channel
True property verification request End Download Resquest message, and the application program accuracy for receiving optical network unit transmission is rung
Answer End Download Response message.
Further, the method also includes: receive optical network unit transmission the End Download
After Response message, activation and executing application Activate are sent to optical network unit by operation management maintainance channel
Image Request message, so as to optical network unit starting application program;And the application program for receiving optical network unit transmission swashs
Response Activate Image Response message living.
The application also proposes a kind of Ethernet passive optical network application program method for pushing, which comprises optical link
Terminal is requested by operation management maintainance channel to optical network unit transmitting capacity, and optical network unit is logical by operation management maintainance
The ability information of itself is sent to optical line terminal by road;Optical line terminal is according to the ability information of the optical network unit received
When determining to optical network unit pushing application program, by operation management maintainance channel, and pass through operation management maintainance push report
Text is to optical network unit pushing application program.
Further, the optical line terminal is by operation management maintainance channel, and is pushed and reported by operation management maintainance
Text is to optical network unit pushing application program, comprising: application program is divided into n application program to push by the optical line terminal
Segment, after segmentation n application program push segment be respectively application program push the first segment ..., application program push
N-th segment, wherein wherein n is the natural number more than or equal to 1.
Further, the operation management maintainance push message includes: App Write Request message, is used for light
Road terminal is to optical network unit sending application program write request;App Transfer Block message, for optical line terminal to
Optical network unit sends n application program after segmentation and pushes segment;App Transfer Ack message is used for optical network unit
The App Write Request message and App Transfer Block message that receive optical line terminal transmission are rung
It answers;End Download Resquest message is verified for optical line terminal to optical network unit sending application program accuracy
Request;End Download Response message, the End that the optical line terminal received is sent for optical network unit
Download Request message is responded;Activate Image Request message is used for optical line terminal to light net
Network unit sends activation and executing application;Activate Image Response message, for optical network unit to reception
To optical line terminal send Activate Image Request message responded.
Further, the optical line terminal is by operation management maintainance channel, and is pushed and reported by operation management maintainance
Text is to optical network unit pushing application program, further includes: optical line terminal is by operation management maintainance channel to optical network unit
Sending application program write request App Write Request message;Optical network unit receives the App of optical line terminal transmission
Write Request message pushes response App Transfer Ack0 message to optical line terminal sending application program;Light
Road terminal receives the application program push response App Transfer Ack0 message of optical network unit transmission, passes through operation pipe
It manages maintenance channel and pushes the first segment to optical network unit sending application program;Optical network unit receives optical line terminal transmission
Application program push the first segment, to optical line terminal sending application program push the first segment respond App Transfer
Ack1 message;And so on, optical line terminal receives the (n-1)th segment response App Transfer of optical network unit transmission
Ack n-1 message pushes the n-th segment to optical network unit sending application program by operation management maintainance channel;Optical-fiber network list
The application program that member receives optical line terminal transmission pushes the n-th segment, pushes n-th to optical line terminal sending application program
Section response App Transfer Ackn message;Optical line terminal receives the n-th segment response App of optical network unit transmission
Transfer Ackn message is verified to optical network unit sending application program accuracy by operation management maintainance channel and is requested
End Download Resquest message;Optical network unit receives the application program accuracy verification that optical line terminal is sent and asks
End Download Resquest message is sought, responds End Download to optical line terminal sending application program accuracy
Response message.
Further, the method also includes the End that: optical line terminal receives optical network unit transmission
After Download Response message, is sent by operation management maintainance channel to optical network unit and activate and execute using journey
Sequence Activate Image Request message, so as to optical network unit starting application program;Optical network unit receives light
The Activate Image Request message that road terminal is sent is responded to optical line terminal sending application program activation
Activate Image Response message.
The application also proposed a kind of optical line terminal, and the optical line terminal includes: data obtaining module, for passing through
The ability information of operation management maintainance channel acquisition optical network unit;Program determining module, for the energy according to optical network unit
Force information is determined to optical network unit pushing application program;Program pushing module for passing through operation management maintainance channel, and leads to
It crosses operation management maintainance and pushes message to optical network unit pushing application program.
Further, described program pushing module includes: program cutting unit, for being divided into n to answer application program
With program push segment, after segmentation n application program push segment be respectively application program push the first segment ..., answer
The n-th segment is pushed with program, wherein n is the natural number more than or equal to 1.
Further, the operation management maintainance push message includes: App Write Request message, is used for light
Network unit sending application program write request;App Transfer Block message, after sending segmentation to optical network unit
N application program push segment;App Transfer Ack message, for App Write Request message and App
Transfer Block message is responded;End Download Resquest message is used for optical network unit sending application
The verification request of program accuracy;End Download Response message, for End Download Request message into
Row response;Activate Image Request message, for sending activation and executing application to optical network unit;
Activate Image Response message, for being responded to Activate Image Request message.
Further, described program pushing module further include: PROGRAMMED REQUESTS writing unit, for passing through operation management maintainance
Channel receives optical network unit transmission to optical network unit sending application program write request App Write Request message
Application program push response App Transfer Ack0 message;Segment push unit, for passing through operation management maintainance channel
The first segment is pushed to optical network unit sending application program, and the application program for receiving optical network unit transmission pushes first
Section response App Transfer Ack1 message;And so on, for being sent by operation management maintainance channel to optical network unit
Application program pushes the n-th segment, and the application program for receiving optical network unit transmission pushes the n-th segment response App Transfer
Ackn message;Program ver-ify unit, for passing through operation management maintainance channel to optical network unit sending application program accuracy
Verification request End Download Resquest message, and receive the application program accuracy response End of optical network unit transmission
Download Response message.
Further, the optical line terminal further includes activation execution module, the activation execution module, for receiving
After the End Download Response message sent to optical network unit, by operation management maintainance channel to light net
Network unit sends activation and executing application Activate Image Request message, so as to optical network unit starting application
Program;And receive the application program activation response Activate Image Response message of optical network unit transmission.
The application also proposes a kind of passive optical network, including optical line terminal and optical network unit, optical line terminal
It is requested by operation management maintainance channel to optical network unit transmitting capacity, optical network unit will by operation management maintainance channel
The ability information of itself is sent to optical line terminal;Optical line terminal is determined according to the ability information of the optical network unit received
When to optical network unit pushing application program, by operation management maintainance channel, and by operation management maintainance push message to
Optical network unit pushing application program.
Further, the optical line terminal is by operation management maintainance channel, and is pushed and reported by operation management maintainance
Text is to optical network unit pushing application program, comprising: application program is divided into n application program to push by the optical line terminal
Segment, after segmentation n application program push segment be respectively application program push the first segment ..., application program push
N-th segment, wherein wherein n is the natural number more than or equal to 1.
Further, the operation management maintainance push message includes: App Write Request message, is used for light
Road terminal is to optical network unit sending application program write request;App Transfer Block message, for optical line terminal to
Optical network unit sends n application program after segmentation and pushes segment;App Transfer Ack message is used for optical network unit
The App Write Request message and App Transfer Block message that receive optical line terminal transmission are rung
It answers;End Download Resquest message is verified for optical line terminal to optical network unit sending application program accuracy
Request;End Download Response message, the End that the optical line terminal received is sent for optical network unit
Download Request message is responded;Activate Image Request message is used for optical line terminal to light net
Network unit sends activation and executing application;Activate Image Response message, for the optical link received
The Activate Image Request message that terminal is sent is responded.
Further, the optical line terminal is by operation management maintainance channel, and is pushed and reported by operation management maintainance
Text is to optical network unit pushing application program, further includes: optical line terminal is by operation management maintainance channel to optical network unit
Sending application program write request App Write Request message;Optical network unit receives the App of optical line terminal transmission
After Write Request message, response App Transfer Ack0 message is pushed to optical line terminal sending application program;Light
After line terminal receives the application program push response App Transfer Ack0 message of optical network unit transmission, pass through behaviour
Make management and maintenance channel and pushes the first segment to optical network unit sending application program;Optical network unit receives optical line terminal
The application program of transmission pushes the first segment, pushes the first segment to optical line terminal sending application program and responds App
Transfer Ack1 message;And so on, optical line terminal receives the (n-1)th segment response App of optical network unit transmission
Transfer Ack n-1 message pushes the n-th segment to optical network unit sending application program by operation management maintainance channel;
The application program that optical network unit receives optical line terminal transmission pushes the n-th segment, to optical line terminal sending application program
Push the n-th segment response App Transfer Ackn message;Optical line terminal receives the n-th segment of optical network unit transmission
App Transfer Ackn message is responded, by operation management maintainance channel to optical network unit sending application program accuracy
Verification request End Download Resquest message;It is accurate that optical network unit receives the application program that optical line terminal is sent
Property verification request End Download Resquest message, to optical line terminal sending application program accuracy respond End
Download Response message.
Further, the optical line terminal is by operation management maintainance channel, and is pushed and reported by operation management maintainance
Text is to optical network unit pushing application program, further includes: optical line terminal receives the End of optical network unit transmission
After Download Response message, is sent by operation management maintainance channel to optical network unit and activate and execute using journey
Sequence Activate Image Request message, so as to optical network unit starting application program;Optical network unit receives light
The Activate Image Request message that road terminal is sent is responded to optical line terminal sending application program activation
Activate Image Response message.
Technical scheme using operation management maintainance channel to optical network unit pushing application program, may be implemented by
Application program is rapidly handed down to optical network unit, after optical network unit receives application program, can directly execute using journey
Sequence.Therefore, the push of application program is unaware for a user, will not influence the normal development of customer service.
Specific embodiment
The technical issues of in order to keep the application solved, technical solution and beneficial effect are more clearly understood, below in conjunction with
The application is further elaborated in accompanying drawings and embodiments.It should be appreciated that specific embodiment described herein is only used
To explain the application, it is not used to limit the application.
As shown in Figure 1, a kind of process of embodiment of passive optical network application program method for pushing provided by the present application is illustrated
Figure, specific as follows:
Step S101 is logical by operation management maintainance (Operation, Administration&Maintenance, OAM)
Road obtains the chip information of optical network unit (ONU);
Specifically, optical line terminal (OLT) obtains the chip information of ONU by the channel OAM, wherein the ability information of ONU
It is as shown in table 1 below:
Table 1
Byte number |
Field |
Description |
1 |
Branch(0xC7) |
Extended attributes branch |
2 |
Leaf(0x0091) |
The embedded version identifier of ONU compiling |
1 |
Variable Width |
When being used to indicate Variable value field length, value is variable |
1 |
push |
Whether pushing application program is supported |
2 |
Chip Model |
Chip model, such as cpu, mips, arm |
x |
gccRevision |
Gcc version number |
Wherein, Branch (0xC7) field (1 byte) indicates extended attribute branch (Extended attributes
branch);
Leaf (0x0091) field (2 bytes) indicates the embedded version identifier of ONU compiling;
Variable Width field (1 byte) indicates that when being used to indicate Variable value field length, value can
Become;
Push field (1 byte) indicates whether to support pushing application program;
Chip Model field (2 bytes) indicates chip model, such as cpu processor chips model, mips processor
Chip model or arm processor chips model;
GccRevision field (x byte, x are natural number) indicates Gcc version number.
Step S102 is determined according to the ability information of ONU to ONU pushing application program;
Specifically, the Push field for including in ability information of the OLT according to the ONU of acquisition determines, when Push field indicates
When supporting pushing application program, it is determined that ONU pushing application program;When pushing application program is not supported in the expression of Push field
When, it is determined that not to ONU pushing application program.Wherein, application program has had been subjected to process of compilation in the side OLT.
Step S103 pushes message to ONU pushing application program by the channel OAM, and by OAM;
Specifically, OAM pushes message and is detailed in attached drawing 2:
The OAM push message of the application is extended to Payload field, i.e., on the basis of existing OAM message
By Payload field extension be Data the type field, Length field and Message format field,
Data the type field (1 eight hyte) indicates that the data type of the part payload, the data type include
0x01,0x02 and 0x03,0x01 indicate the data of pushing application program, and 0x02 indicates the data of verification Application process integrity,
0x03 indicates the data of load and executing application;
Length field (2 eight hytes), indicate payload field byte length, be Data the type field,
The sum of Length field and Message format field length;
Message format field (is greater than 1 eight hyte), indicates the message for being used for pushing application program.
Wherein, the message format of pushing application program is detailed in attached drawing 3:
Wherein, App Write Request message is indicated to ONU sending application program write request;
Specifically, comprising: function adjustment order Opcode=2 (2 bytes), character string file name Filename (1 word
Section), eight hyte mode Mode=" Octet " of character string (1 byte).
App Transfer Block message is indicated to ONU sending application program;
Specifically, function adjustment is ordered Opcode=3 (2 bytes), application program segment Block# (2 bytes), is answered
With program propelling data Block (0-1400 byte).
App Transfer Ack message is indicated to App Write Request message and App Transfer Block
Message is confirmed;
Specifically, function adjustment order Opcode=4 (2 bytes), application program segment Block# (2 bytes).
Error message indicates to report an error when server cannot handle read request or write request;
Specifically, function adjustment order Opcode=5 (2 bytes), character-string error code ErrCode (2 bytes),
Character-string error information ErrMsg (1 byte).
End Download Resquest message indicates the accuracy for the application program that verification is sent;
Specifically, function adjustment order Opcode=6 (2 bytes), file size (4 bytes).
End Download Response message, expression confirm End Download Request message;
Specifically, function adjustment order Opcode=7 (2 bytes), power code RPSCode (1 byte).
Activate Image Request message indicates to send activation and executing application to ONU;
Specifically, function adjustment order Opcode=8 (2 bytes), switching send and receive order Flag (1 word
Section).
Activate App Response message, expression respond Activate App Request message.
Specifically, function adjustment order Opcode=9 (2 bytes), transmission response ACK (1 byte).
When Data Type=0x01, the message of the data of pushing application program include App Write Request message,
App Transfer Block message, App Transfer ACK message and Error message;
When Data Type=0x02, the message for verifying file integrality includes: End Download Resquest message
With End Download Response message;
When Data Type=0x03, the message for loading and executing application downloaded includes: Activate App
Request message and Activate App Response message.
Wherein, step S103 detailed process as shown in figure 4, specifically:
Step 1, it by the channel OAM to ONU sending application program write request App Write Request message, and receives
The application program push response App Transfer Ack0 message that ONU is sent;
Specifically, OLT by the channel OAM to ONU sending application program write request App Write Request message, when
After ONU receives App Write Request message, response App Transfer Ack0 is pushed to OLT sending application program and is disappeared
Breath;
Before step 1, application program is divided into n application program push segment App Transfer Block by OLT,
N application program push segment after segmentation is respectively that application program pushes the first segment App Transfer
Block1 ..., application program push the n-th segment App Transfer Blockn.
Step 2, the first segment App Transfer Block1 is pushed to ONU sending application program by the channel OAM, and
It receives the application program that ONU is sent and pushes the first segment response App Transfer Ack1 message;And so on, it is logical by OAM
Road pushes the n-th segment App Transfer Blockn to ONU sending application program, and receives the application program push of ONU transmission
N-th segment responds App Transfer Ackn message;
Specifically, OLT pushes the first segment App Transfer to ONU sending application program by the channel OAM
Block1, when ONU receives App Transfer Block1, to OLT sending application program push the first segment response App
Transfer Ack1 message;And so on, OLT pushes the n-th segment App to ONU sending application program by the channel OAM
Transfer Blockn, when ONU receives App Transfer Blockn, to OLT sending application program push the n-th segment sound
Answer App Transfer Ackn message.
Step 3, request End Download Resquest is verified to ONU sending application program accuracy by the channel OAM
Message, and receive the application program accuracy response End Download Response message of ONU transmission.
Specifically, OLT verifies request End Download to ONU sending application program accuracy by the channel OAM
Resquest message, when ONU receives End Download Resquest message, to the response of OLT sending application program accuracy
End Download Response message.
In addition, simultaneously executing application can be activated by the channel OAM after the completion of application program push.Due to application program
Process of compilation is had already passed through, therefore, ONU can be executed directly after receiving the application program that OLT is pushed by the channel OAM
Application program.Need exist for, it is emphasized that specifically when activating and executing the application program pushed and controlled by OLT.
After the completion of application program push, OLT is activated and is executed the application program pushed, and process is detailed in Fig. 5, specific to wrap
It includes:
Step 4, activation and executing application Activate App Request message are sent to ONU by the channel OAM,
So that ONU starts application program;
Specifically, it after the End Download Response message for receiving ONU transmission, is sent out by the channel OAM to ONU
Send activation and executing application Activate App Request message.
Step 5, ONU updates the first management information bank MIB of itself;
Specifically, OAM message is defined for managing ONU, and the first management information bank being stored in ONU
(Management Information Base, MIB), when ONU receives Activate App Request message, starting is held
Row application program, and activate response to update the first management information bank MIB to itself application program, while answering to OLT transmission
Activate App Response message is responded with program activation;
Wherein, the first management information bank MIB is stored with: application program push response, application program push the first segment and ring
Answer, application program push the second segment response ... application program push the second segment response, application program accuracy response,
The Application Status such as application program activation response.
Step 6, OLT receives the application program activation response Activate App Response message that ONU is sent;
Step 7, OLT updates the second management information bank MIB of itself storage.
Specifically, OAM message is also defined for managing ONU, and stores the second management information bank MIB in the olt,
OLT, which has activated application program, to be updated into the second management information bank MIB of itself storage;
Wherein, the second management information bank MIB is stored with: application program is divided into n application program push segment, using journey
Sequence write request, sending application program push the first segment, sending application program pushes the second segment ... sending application program pushes away
The n-th segment, sending application program accuracy verification request are sent, activation is sent and executing application, application program have activated
Application Status.
The method for pushing that is interacted between the application OLT and ONU refering to what is shown in Fig. 1,
Step S101, OLT are requested by operation management maintainance channel to ONU transmitting capacity, and ONU will be certainly by the channel OAM
The ability information of body is sent to OLT;
Step S102, OLT are determined according to the ability information of the ONU received to ONU pushing application program;
Step S103, OLT push message to ONU pushing application program by the channel OAM, and by OAM.
Wherein, step S103, OLT push message by OAM and see Fig. 4 to ONU pushing application program by the channel OAM
It is shown, comprising:
Step 1, OLT passes through the channel OAM to ONU sending application program write request App Write Request message, ONU
The App Write Request message for receiving OLT transmission pushes response App Transfer to OLT sending application program
Ack0 message;
Specifically, OLT by the channel OAM to ONU sending application program write request App Write Request message it
Before, application program is divided into n application program push segment by OLT, and the n application program push segment after segmentation is respectively to answer
With program push the first segment App Transfer Block1 ..., application program push the n-th segment App Transfer
Blockn, wherein wherein n is the natural number more than or equal to 1.
Wherein, OAM push message includes:
App Write Request message is used for OLT to ONU sending application program write request;
App Transfer Block message sends n application program after segmentation to ONU for OLT and pushes segment;
App Transfer Ack message, for ONU to receive OLT transmission App Write Request message and
App Transfer Block message is responded;
End Download Resquest message is verified to ONU sending application program accuracy for OLT and is requested;
End Download Response message, the End Download that the OLT received is sent for ONU
Request message is responded;
Activate Image Request message sends activation and executing application to ONU for OLT;
Activate Image Response message, the Activate Image that the OLT received is sent for ONU
Request message is responded.
Step 2, OLT receives the application program push response App Transfer Ack0 message of ONU transmission, passes through OAM
Channel pushes the first segment App Transfer Block1 to ONU sending application program;ONU receives the application journey of OLT transmission
Sequence pushes the first segment App Transfer Block1, pushes the first segment to OLT sending application program and responds App
Transfer Ack1 message;And so on, OLT receives the (n-1)th segment response App Transfer of optical network unit transmission
Ack n-1 message pushes the n-th segment to ONU sending application program by the channel OAM;ONU receives the application journey of OLT transmission
Sequence pushes the n-th segment App Transfer Blockn, pushes the n-th segment to OLT sending application program and responds App Transfer
Ackn message;
Step 3, OLT receives the n-th segment response App Transfer Ackn message of ONU transmission, passes through the channel OAM
Request End Download Resquest message is verified to ONU sending application program accuracy;ONU receives the application that OLT is sent
Program accuracy verification request End Download Resquest message, responds End to OLT sending application program accuracy
Download Response message.
In addition, can be activated by the channel OAM after the completion of application program push and executing application, process are detailed in Fig. 5,
It specifically includes:
Step 4, OLT sends activation to ONU by the channel OAM and executing application Activate App Request disappears
Breath, so that ONU starts application program;
Specifically, after OLT receives the End Download Response message of ONU transmission, by the channel OAM to ONU
Send activation and executing application Activate App Request message.
Step 5, ONU updates the first management information bank MIB of itself;
Specifically, when ONU receives Activate App Request message, start executing application, and will apply
Program activation response updates the first management information bank MIB for arriving itself, while responding to OLT sending application program activation
Activate App Response message.
Step 6, ONU receives the Activate Image Request message of OLT transmission, to OLT sending application program
Activation response Activate Image Response message;
Step 7, OLT updates the second management information bank MIB of itself storage.
Specifically, OAM message is also defined for managing ONU, and stores the second management information bank MIB in the olt,
OLT, which has activated application program, to be updated into the second management information bank MIB of itself storage.
As shown in fig. 6, a kind of structural schematic diagram of embodiment of passive optical network provided by the present application;
Optical line terminal (OLT) includes: data obtaining module 401, program determining module 402,403 and of program pushing module
Execution module 404 is activated,
Data obtaining module 401, for obtaining the ability information of optical network unit by operation management maintainance channel;
Program determining module 402 is applied for determining to push to optical network unit according to the ability information of optical network unit
Program;
Program pushing module 403, for by operation management maintainance channel, and by operation management maintainance push message to
Optical network unit pushing application program.
Wherein, 403 specific structure of program pushing module is detailed in Fig. 7, comprising:
Program cutting unit 501, for application program to be divided into n application program push segment, n after segmentation are answered
With program push segment be respectively application program push the first segment App Transfer Block1 ..., application program push
N-th segment App Transfer Blockn, wherein n is the natural number more than or equal to 1.
Wherein, operation management maintainance push message (OAM pushes message) includes:
App Write Request message is used for ONU sending application program write request;
App Transfer Block message pushes segment for sending n application program after segmentation to ONU;
App Transfer Ack message, for App Write Request message and App Transfer Block
Message is responded;
End Download Resquest message is requested for verifying to optical network unit sending application program accuracy;
End Download Response message, for being responded to End Download Request message;
Activate Image Request message, for sending activation and executing application to optical network unit;
Activate Image Response message, for being responded to Activate Image Request message.
Program pushing module 403 further include:
PROGRAMMED REQUESTS writing unit 502, for passing through operation management maintainance channel to optical network unit sending application program
Write request App Write Request message, and receive the application program push response App of optical network unit transmission
Transfer Ack0 message;
Segment push unit 503, for being pushed by operation management maintainance channel to optical network unit sending application program
First segment App Transfer Block1, and the application program for receiving optical network unit transmission pushes the first segment response App
Transfer Ack1 message;
And so on, for pushing the n-th segment to optical network unit sending application program by operation management maintainance channel
App Transfer Blockn, and the application program for receiving optical network unit transmission pushes the n-th segment response App Transfer
Ackn message;
Program ver-ify unit 504, for accurate to optical network unit sending application program by operation management maintainance channel
Property verification request End Download Resquest message, and receive optical network unit transmission application program accuracy response
End Download Response message.
In addition, optical line terminal OLT further includes activation execution module 404,
Execution module 404 is activated, for passing through after the End Download Response message for receiving ONU transmission
The channel OAM sends activation and executing application Activate Image Request message to ONU, so that optical network unit opens
Dynamic application program;
And receive the application program activation response Activate Image Response message of ONU transmission.
It is point-to-multipoint that the application program method for pushing of passive optical network provided by the present application can be adapted for EPON system etc.
Optical access network.Referring to Fig. 8, it shows for a kind of structure of embodiment of EPON application program supplying system provided by the present application
It is intended to.The EPON system includes at least one optical line terminal (OLT) 101, multiple optical network unit (ONU1、ONU2……
ONUn) 103 and the Optical Distribution Network 102 between the OLT101 and multiple ONU103.
In the present embodiment, EPON can for support OLT101 by operation management maintainance (Operation,
Administration&Maintenance, abbreviation OAM) sublayer, come managing and controlling of being unified to multiple ONU103
EPON system.
OLT101 is usually located at the position central office (Central Office, CO), can serve as ONU101 and upper wire
Medium between network is forwarded using the data received from upper layer network as downlink data and by Optical Distribution Network (ODN) 102
The upper layer network is forwarded to the ONU103, and by the upstream data received from ONU103.
User resident position can be arranged in multiple ONU103 in a distributed manner.ONU103 is to realize that OLT101 and user are carried out
The network of communication specifically can serve as the medium between the OLT101 and user, for example will receive data from user
It is forwarded to OLT101 as upstream data and by Optical Distribution Network 102, and the downlink data received from OLT101 is turned
Issue user.
It is illustrated in figure 9 a kind of push link of embodiment of passive optical network application program supplying system provided by the present application
Figure, in the present embodiment, OLT101 can issue management control messages to ONU103 with the channel OAM between ONU103.Also,
OLT101 can preserve application program relevant to ONU103, and application program can be the application journey for having already passed through process of compilation
Sequence;
When ONU103 needs to add application program, OLT101 can by the channel OAM to ONU103 pushing application program,
Application program is rapidly handed down to ONU103 to realize.Also, since application program has already passed through process of compilation,
ONU103, can direct executing application after receiving the application program that OLT101 is pushed by the channel OAM.It that is to say
It says, the scheme using the above-mentioned channel OAM pushing application program is unaware for a user, will not influence customer service
Normal development, while the service quality of user can also be effectively promoted using application program.
Specifically, in EPON system provided by the present application, to realize that OLT101 is answered by the channel OAM to ONU103 push
With program, OLT101 and ONU103 are both needed to support OAM push message.
The application passive optical network, including OLT101 and ONU103,
OLT101 by the channel OAM 104 to ONU103 transmitting capacity request, ONU103 by the channel OAM 104 by itself
Ability information is sent to OLT101;
When OLT101 is determined according to the ability information of the ONU103 received to ONU103 pushing application program, pass through OAM
Channel 104, and message is pushed to ONU103 pushing application program by OAM.
Wherein, OLT101 pushes message to ONU103 pushing application program by the channel OAM 104, and by OAM, comprising:
Application program is divided into n application program push segment by OLT101, and n application program after segmentation pushes segment
Respectively application program push the first segment App Transfer Block1 ..., application program push the n-th segment App
Transfer Blockn, wherein wherein n is the natural number more than or equal to 1.
OAM pushes message
App Write Request message is used for OLT101 to ONU103 sending application program write request;
App Transfer Block message sends the n application program push after segmentation to ONU103 for OLT101
Segment;
App Transfer Ack message, for ONU103 to the App Write Request for receiving OLT101 transmission
Message and App Transfer Block message are responded;
End Download Resquest message is asked for OLT101 to the verification of ONU103 sending application program accuracy
It asks;
End Download Response message, the End that the OLT101 received is sent for ONU103
Download Request message is responded;
Activate Image Request message sends activation and executing application to ONU103 for OLT101;
Activate Image Response message, the Activate Image for being sent to the OLT101 received
Request message is responded.
OLT101 pushes message to optical network unit pushing application program by the channel OAM 104, and by OAM, also wraps
It includes:
OLT101 passes through the channel OAM 104 to ONU103 sending application program write request App Write Request message;
After ONU103 receives the App Write Request message of OLT101 transmission, to OLT101 sending application program
Push response App Transfer Ack0 message;
After OLT101 receives the application program push response App Transfer Ack0 message of ONU103 transmission, pass through
The channel OAM pushes the first segment App Transfer Block1 to ONU103 sending application program;
The application program that ONU103 receives OLT101 transmission pushes the first segment App Transfer Block1, to
OLT101 sending application program pushes the first segment and responds App Transfer Ack1 message;
And so on, the (n-1)th segment response App Transfer Ack n-1 that OLT101 receives ONU103 transmission disappears
Breath pushes the n-th segment App Transfer Blockn to ONU103 sending application program by the channel OAM 104;
The application program that ONU103 receives OLT101 transmission pushes the n-th segment App Transfer Blockn, to
OLT101 sending application program pushes the n-th segment and responds App Transfer Ackn message;
OLT101 receives the n-th segment response App Transfer Ackn message of ONU103 transmission, passes through the channel OAM
104 verify request End Download Resquest message to ONU103 sending application program accuracy;
ONU103 receives the application program accuracy verification request End Download Resquest that OLT101 is sent and disappears
Breath responds End Download Response message to OLT101 sending application program accuracy.
OLT101 receive ONU103 transmission End Download Response message after, by the channel OAM 104 to
ONU103 sends activation and executing application Activate Image Request message, so as to optical network unit starting application
Program;
ONU103 receives the Activate Image Request message of OLT101 transmission, answers to OLT101 transmission
Activate Image Response message is responded with program activation.
It should be appreciated that the functional module of OLT101 provided in this embodiment can be software module or software and hardware combining
Functional module can be executed by processor and realize function as described above.Also, the OLT101 can also have it
His functional module realizes each specific steps of application program method for pushing of the passive optical network, specifically can be refering to above
The corresponding description of embodiment of the method.
In addition, person of ordinary skill in the field is understood that all or part of step for realizing above method embodiment
Rapid this can be accomplished by hardware associated with program instructions, and program above-mentioned can store in computer-readable storage medium
In, and executed by the processor inside communication, processor can be executed including the above method reality program above-mentioned when executed
Apply all or part of step of example.Wherein, the processor can be used as the implementation of one or more processors chip, Huo Zheke
Think the one of one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC)
Part;And storage medium above-mentioned can include but is not limited to following kind of storage medium: flash memory (Flash Memory), only
Read memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), movement
The various media that can store program code such as hard disk, magnetic or disk.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, the range of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.