Summary of the invention
One of them object of the application is that another object of the application is to provide a kind of passive optical network equipment and the passive optical network that adopt above-mentioned application program method for pushing in order to solve the problem and to provide a kind of application program method for pushing of EPON.
The application program method for pushing of the EPON that the application provides, comprising: the chip information being obtained ONU equipment by OMCI passage; Judge whether to described ONU equipment pushing application program according to the chip information of described ONU equipment; If so, described application program is pushed by described OMCI passage to described ONU equipment; After described application program has pushed, described ONU equipment has been indicated to perform described application program immediately or after a while.
The one of the application program method for pushing of the EPON provided as the application is improved, and it also comprises: before the chip information obtaining described ONU equipment, check whether described ONU equipment supports pushing application program by described OMCI passage.
The one of the application program method for pushing of the EPON provided as the application is improved, and the chip information of described ONU equipment comprises chip type and the GCC version number of described ONU equipment.
The one of the application program method for pushing of the EPON provided as the application is improved, and described application program is divided into multiple usability of program fragments, and is pushed to described ONU equipment to usability of program fragments one by one respectively by OMCI message.
The one of the application program method for pushing of the EPON provided as the application is improved, and pushes described application program comprise by described OMCI passage to described ONU equipment: send the OMCI message starting to push to described ONU equipment; Receive described ONU equipment start push response after, application program to be pushed is divided into multiple usability of program fragments, and by the OMCI message that fragment pushes, described application program is pushed to described ONU equipment to usability of program fragments one by one; After all usability of program fragments have pushed, send the OMCI message terminating to push to described ONU equipment, to notify that described ONU equipment carries out end operation.
The passive optical network equipment that the application provides, it supports OMCI agreement, and described passive optical network equipment comprises: data obtaining module, for being obtained the chip information of ONU equipment by OMCI passage; First judge module, for judging whether to described ONU equipment pushing application program according to the chip information of described ONU equipment; Program pushing module, for pushing described application program by described OMCI passage to described ONU equipment; Perform notification module, after having pushed in described application program, indicate described ONU equipment to perform described application program immediately or after a while.
As the one improvement of the passive optical network equipment that the application provides, it also comprises: the second judge module, for obtain described ONU equipment at described data obtaining module chip information before, judge whether described ONU equipment supports pushing application program by described OMCI passage.
As the one improvement of the passive optical network equipment that the application provides, the chip information of described ONU equipment comprises chip type and the GCC version number of described ONU equipment.
As the one improvement of the passive optical network equipment that the application provides, described program pushing module comprises: start push unit, for sending the OMCI message starting to push to described ONU equipment; Fragment push unit, for receive described ONU equipment start push response after, application program to be pushed is divided into multiple usability of program fragments, and by the OMCI message that fragment pushes, described application program is pushed to described ONU equipment to usability of program fragments one by one; Terminate push unit, after having pushed in all usability of program fragments, send the OMCI message terminating to push to described ONU equipment, to notify that described ONU equipment carries out end operation.
The passive optical network that the application provides, comprise OLT device and ONU equipment, wherein said OLT device is carried out management by OMCI passage to described ONU equipment and is controlled, and described OMCI passage comprises the passage providing described OLT device to obtain the chip information of described ONU equipment, described OLT device and application program is pushed to the passage of described ONU equipment and described OLT device controls the passage that described ONU equipment runs described application program.
Compared to prior art, the application program method for pushing of the EPON that the application provides, system and equipment can utilize OMCI passage to carry out the propelling movement of application program to described ONU equipment, described application program can be realized to be handed down to described ONU equipment rapidly, and can directly perform described application program after application program described in described ONU equipment, therefore, the propelling movement of described application program is unaware for user, normally carrying out of customer service can't be affected, described ONU equipment can also promote the service quality of user effectively by described application program simultaneously.
Embodiment
The technical problem solved to make the application, technical scheme and beneficial effect are clearly understood, below in conjunction with drawings and Examples, are further elaborated to the application.Should be appreciated that specific embodiment described herein only in order to explain the application, and be not used in restriction the application.
The application program method for pushing of the EPON that the application provides goes for the point-to-multipoint intelligent acess networks such as EPON (PON) system.Refer to Fig. 1, the structural representation of its a kind of embodiment of PON system provided for the application.Described PON system 100 comprises at least one optical line terminal (OLT) equipment 110, multiple optical network unit (ONU) equipment 120 and the Optical Distribution Network 130 between described OLT device 110 and described multiple ONU equipment 120.Wherein, down direction is defined as from described OLT device 110 to the direction of described ONU equipment 120; And be defined as up direction from described ONU equipment 120 to the direction of described OLT device 110.
Described PON system 100 can be without any need for active device to realize the communication network of the Data dissemination between described OLT device 110 and described ONU equipment 120.In the present embodiment, described PON system 100 can for supporting that described OLT device 110 is by optical network unit management control interface (ONUManagementandControlInterface, OMCI) unified management and the PON system of control are carried out to described multiple ONU equipment 120, such as broadband passive optical network (the BroadbandPON of ITU-TG.983 series standard definition, BPON) system, gigabit passive optical network (the GagabitPON of ITU-TG.984 series standard definition, GPON) next-generation passive optical network (XGPON) system etc. of system or the definition of ITU-TG.987 series standard, the full content of the various PON system of above-mentioned standard definition is combined in present specification by reference.
Described OLT device 110 is usually located at central office (CentralOffice, CO) position, it can serve as the medium between described ONU equipment 120 and upper layer network, the data received from described upper layer network are transmitted to described ONU equipment 120 as downlink data by described Optical Distribution Network 130, and the upstream data received from described ONU equipment 120 is forwarded to described upper layer network.
Described multiple ONU equipment 120 can be arranged on user resident position in a distributed manner.The network equipment that described ONU equipment 120 carries out communicating for realizing described OLT device 110 and subscriber equipment, particularly, it can serve as the medium between described OLT device 110 and subscriber equipment, such as will receive data as upstream data from subscriber equipment and be forwarded to described OLT device 110 by described Optical Distribution Network 130, and the downlink data received from described OLT device 110 will be transmitted to subscriber equipment.Be to be understood that, described ONU equipment 120 and Optical Network Terminal (OpticalNetworkTerminal, ONT) device structure is close, therefore, in the scheme that present specification provides, can exchanging between described ONU equipment 120 and ONT equipment, for ease of describing, being below referred to as ONU equipment 120.Described Optical Distribution Network 130 is data distribution systems, and it can comprise optical fiber, optical coupler, optical branching device and/or other optical devices.Described optical fiber, described optical coupler, described optical branching device and/or other optical devices described can be passive device, namely just can realize the device of the Data dissemination between described OLT device 110 and described ONU equipment 120 without the need to power supply support.In the PON system 100 shown in Fig. 1, described Optical Distribution Network 130 concrete configuration becomes to adopt two-stage beam-splitting structure; Alternately, described Optical Distribution Network 130 also can adopt other any point-to-multipoint network configurations such as single-stage light splitting or multistage light splitting.Particularly, in the embodiment shown in fig. 1, described Optical Distribution Network 130 comprises first order optical splitter 131 and multiple second level optical splitter 132.Wherein, the common port of described first order optical splitter 131 is connected to described OLT device 110 by trunk optical fiber (TrunkFiber), and its branch end is connected to the common port of described second level optical splitter 132 accordingly respectively by profile fiber (DistributedFiber), the branch end of each second level optical splitter 132 is connected to corresponding ONU equipment 120 further by branch optical fiber (BranchFiber).
In the present embodiment, described OLT device 110 can issue management control messages to described ONU equipment 120 by the OMCI passage between itself and described ONU equipment 120.Further, described OLT device can preserve the application program relevant to described ONU equipment 120, and described application program can be through the application program of process of compilation; When described ONU equipment 120 needs to add described application program, described OLT device 110 can push described application program by described OMCI passage to described ONU equipment 120, to realize described application program to be handed down to described ONU equipment 120 rapidly.Further, because described application program is through process of compilation, therefore described ONU equipment 120 is after receiving the application program that described OLT device 110 pushed by described OMCI passage, can directly perform described application program.In other words, the scheme adopting above-mentioned OMCI passage pushing application program is unaware for user, can't affect normally carrying out of customer service, described application program can also be utilized effectively to promote the service quality of user simultaneously.
Particularly, in the PON system 100 that the application provides, for realizing described OLT device 110 by described OMCI passage to described ONU equipment 120 pushing application program, described OLT device 110 and described ONU equipment 120 all support OMCI agreement, the management information bank (ManagementInformationBase, MIB) of described OMCI protocol definition for managing described ONU equipment 120.Described management information bank comprises multiple management entity (ManagedEntity, ME), or is called managed entity; In the present embodiment, described management information bank on a series of management entity bases of ITU-TG.984.4 and the standard definition such as G.988, newly-increased following two management entities further: Push Service (pushservices) and pushing application program (pushimage).
1, Push Service (pushservices) management entity
(1) attribute of described Push Service management entity comprises:
Management entity mark (ManagedEntityID): this attribute is that each example (Instance) of described Push Service management entity provides unique numbering; Described Push Service management entity only has an example, and it is numbered 0; (R), (pressure), (2 bytes).
Cpu type mark (CPUTypeID): the cpu type of this attribute-bit ONU, such as MIPS or ARM; (R), (pressure), (2 bytes).
GCC type identification (GCCTypeID): GCC (GNUCompilerCollection, the GNU compiler external member) version number of this attribute-bit ONU; (2 bytes).
(2) action of described Push Service management entity support comprises:
Obtain (GET).
2, pushing application program (pushimage) management entity
(1) attribute of described pushing application program management entity comprises:
Management entity mark (ManagedEntityID): this attribute is that each example (Instance) of described pushing application program management entity provides unique numbering; Described pushing application program management entity only has an example, and it is numbered 0; (R), (pressure), (2 bytes).
Start to push (StartPush): initiate software and push sequence (SoftwarePushSequence), this action only software application file example (SoftwareAPPImageInstance) both do not come into force (Active) there is no submitted (Committed) just effectively yet.
Push fragment (PushSection): a fragment of pushing software application file, this action is only current just effective in pushed ability at software application file example.
Terminate to push (EndPush): instruction pushing files sequence (PushImageSequence) completes, there is provided CRC and version information for final checking, this action is only current just effective in pushed ability at software application file example.
Activate and push (ActivatePush): loading/executive software application program, when when the value of this attribute is set to 1, software application file needs to be performed immediately, and when the value of this attribute is set to 0, software application file performs after waiting for again.
(2) action of described pushing application program management entity support comprises:
Obtain (GET), (SET) is set.
Corresponding with above-mentioned Push Service management entity and pushing application program management entity, the OMCI passage described in the PON system 100 that the application provides between OLT device 110 and described ONU equipment 120 can comprise the passage providing described OLT device to obtain the chip information of described ONU equipment, the passage providing described OLT device application program to be pushed to described ONU equipment and provide described OLT device to control the passage that described ONU equipment runs described application program.
Based on Push Service management entity and the pushing application program management entity of above-mentioned OMCI agreement, below in conjunction with the Signalling exchange between the OLT device shown in Fig. 2 and ONU equipment, introduce the application program method for pushing of the EPON that the application provides in detail.Refer to Fig. 2, the schematic flow sheet of a kind of embodiment of application program method for pushing of its EPON provided for the application, the application program method for pushing of described EPON goes for the PON system 100 shown in Fig. 1.Particularly, the application program method for pushing of described EPON can mainly comprise the following steps:
Step S1, checks whether ONU equipment supports pushing application program;
Particularly, when application program is pushed to ONU equipment 120 by needs, described OLT device 110 by the OMCI passage between itself and described ONU equipment 120, can check whether described ONU equipment 120 supports pushing application program; If so, then this method can jump to step S2.
Step S2, if described ONU equipment supports pushing application program, obtains the chip information of described ONU equipment;
If described OLT device 120 judges the propelling movement of described ONU equipment 120 support application program, it can by obtaining the OMCI message of chip information, and such as GET (PushService), assigns chip information to described ONU equipment 120 and report instruction; Described ONU equipment 120 by obtaining response GETResponse message, can return the OMCI message of the chip information carrying described ONU equipment 120 to described OLT device 110.Wherein, described chip information can comprise chip type and the GCC version number of described ONU equipment.
Step S3, judges whether to described ONU equipment pushing application program according to the chip information of described ONU equipment;
Particularly, the chip information that the chip informations such as the chip type of described ONU equipment 120 and GCC version number and its inside are preserved in advance, after the chip information receiving described ONU equipment 120, can compare by described OLT device 110; If the chip type of described ONU equipment 120 and GCC version number and the described chip information preserved in advance match, then can judge can to described ONU equipment 120 pushing application program for described OLT device 110.
Step S4, if so, by OMCI passage to described ONU equipment pushing application program;
In the present embodiment, step S4 can be specific as follows:
First, described OLT device 110 can send to described ONU equipment 120 the OMCI message starting to push, and such as SET (StartPush), to notify that described ONU equipment 120 is about to the propelling movement starting to carry out application program; Described ONU equipment 120 can, by arranging response SETResponse message, start to push response, to inform that described OLT device 110 can carry out application program propelling movement to described OLT device 110.
Then, receive described ONU equipment 120 start push response after, application program to be pushed can be divided into multiple usability of program fragments (Section) by described OLT device 110, and by OMCI message that fragment pushes, such as SET (PushSection), is pushed to fragment described ONU equipment 120 one by one by described application program; Described ONU equipment 120, after receiving each usability of program fragments, can be preserved described usability of program fragments, and carries out fragment propelling movement response by arranging response SETResponse message to described OLT.
After all usability of program fragments have pushed, described OLT device 110 has sent the OMCI message terminating to push to described ONU equipment 120, such as SET (EndPush), notifies that the propelling movement of application program described in described ONU equipment 120 completes; Described ONU equipment 120 carries out end propelling movement response by arranging response SETResponse message to described OLT device 110, and carries out end operation to described application program.
Step S5, after described application program has pushed, has indicated described ONU equipment to perform described application program immediately or after a while;
Particularly, described OLT device 110 can send to described ONU equipment 120 the OMCI message activating and push, and such as SET (ActivatePush), indicates described ONU equipment 120 to perform described application program; Described ONU equipment 120 can determine whether perform described application program immediately according to the instruction of described OLT device 110, or performs described application program more after a while.And, after described ONU equipment 120 completes the executable operations of described application program, activation propelling movement response can be carried out, to report the execution result of described application program to described OLT device 110 to described OLT device 110 by arranging response SETResponse message.
Compared to prior art, in the application program method for pushing of the EPON provided in the application, described OLT device can utilize OMCI passage to carry out the propelling movement of application program to described ONU equipment, described application program can be realized to be handed down to described ONU equipment rapidly, and can directly perform described application program after application program described in described ONU equipment, therefore, the propelling movement of described application program is unaware for user, normally carrying out of customer service can't be affected, described ONU equipment can also promote the service quality of user effectively by described application program simultaneously.
Based on the application program method for pushing of above-mentioned EPON, the application also provides a kind of passive optical network equipment further, refers to Fig. 3, the structural representation of its a kind of embodiment of passive optical network equipment provided for the application.Described passive optical network equipment 300 can for supporting the OLT device of OMCI agreement, and described OMCI protocol definition has Push Service management entity as above and pushing application program management entity, and particularly, it mainly comprises following functions module:
Data obtaining module 310, for obtaining the chip information of ONU equipment 120 by OMCI passage;
First judge module 320, for judging whether to described ONU equipment 120 pushing application program according to the chip information of described ONU equipment 120;
Program pushing module 330, for pushing described application program by described OMCI passage to described ONU equipment 120;
Perform notification module 340, after having pushed in described application program, indicate described ONU equipment 120 to perform described application program immediately or after a while.
In a particular embodiment, described passive optical network equipment 300 can further include:
Second judge module 350, for obtain described ONU equipment at described data obtaining module chip information before, judge whether described ONU equipment supports pushing application program by described OMCI passage.
In a particular embodiment, described program pushing module 330 can comprise:
Start push unit 331, for sending the OMCI message starting to push to described ONU equipment 120;
Fragment push unit 332, for receive described ONU equipment 120 start push response after, application program to be pushed is divided into multiple usability of program fragments, and by the OMCI message that fragment pushes, described application program is pushed to usability of program fragments described ONU equipment 120 one by one;
Terminate push unit 333, after having pushed in all usability of program fragments, send the OMCI message terminating to push to described ONU equipment 120, to notify that described ONU equipment 120 carries out end operation.
Should be appreciated that the functional module of the passive optical network equipment 300 that the present embodiment provides can be the functional module of software module or software and hardware combining, it can be performed by processor and realize function as above.Further, described passive optical network equipment 300 can also have other functional modules to realize each concrete steps of application program method for pushing of described EPON, specifically can consult the corresponding description of above embodiment of the method.
In addition, person of ordinary skill in the field is understood that all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in computer read/write memory medium, and performed by the processor of communication apparatus inside, aforesaid program processor when being performed can perform all or part of step comprising said method embodiment.Wherein, described processor can be implemented as one or more processor chips, or can be a part for one or more application-specific integrated circuit (ASIC) (ApplicationSpecificIntegratedCircuit, ASIC); And aforesaid storage medium can include but not limited to the storage medium with Types Below: flash memory (FlashMemory), read-only memory (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate the technical scheme of the application, be not intended to limit; Although with reference to previous embodiment to present application has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of each embodiment technical scheme of the application.