CN103905256B - Optical network unit data processing method and relevant device - Google Patents

Optical network unit data processing method and relevant device Download PDF

Info

Publication number
CN103905256B
CN103905256B CN201410171366.5A CN201410171366A CN103905256B CN 103905256 B CN103905256 B CN 103905256B CN 201410171366 A CN201410171366 A CN 201410171366A CN 103905256 B CN103905256 B CN 103905256B
Authority
CN
China
Prior art keywords
message
mac
register
onu
register address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410171366.5A
Other languages
Chinese (zh)
Other versions
CN103905256A (en
Inventor
朱玛
马平
徐志强
姚树建
张磊
高钧利
金乃正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HANGZHOU CHENXIAO TECHNOLOGIES CO LTD
State Grid Corp of China SGCC
State Grid Zhejiang Electric Power Co Ltd
Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
HANGZHOU CHENXIAO TECHNOLOGIES CO LTD
State Grid Corp of China SGCC
State Grid Zhejiang Electric Power Co Ltd
Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HANGZHOU CHENXIAO TECHNOLOGIES CO LTD, State Grid Corp of China SGCC, State Grid Zhejiang Electric Power Co Ltd, Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical HANGZHOU CHENXIAO TECHNOLOGIES CO LTD
Priority to CN201410171366.5A priority Critical patent/CN103905256B/en
Publication of CN103905256A publication Critical patent/CN103905256A/en
Application granted granted Critical
Publication of CN103905256B publication Critical patent/CN103905256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

This application provides a kind of optical network unit data processing method, including:ONU receives the MAC control messages that OLT is sent;And, when it is determined that the MAC controls the type of message for self-defined Remote configuration message, read the register address that the MAC controls message is carried;And, register corresponding to the register address carries out the operation being consistent with the action type that the command code that the MAC controls message to carry is characterized.Due to the participation in the application without ppu, ONU simplifies interaction without being interacted again with processor, reduces the complexity to ONU remote managements.And reduce the cost of EPON system.

Description

Optical network unit data processing method and relevant device
Technical field
The application is related to Ethernet passive optical network design field, more particularly to a kind of optical network unit data processing method And relevant device.
Background technology
OAM (Operation, Administration and Maintenance, Operations, Administration and Maintenance) is a kind of prison Control the instrument of network failure.It is operated in data link layer, and network is reported using OAM protocol massages are regularly interacted between equipment State, network manager is more effectively managed network.
In EPON (ethernet passive optical network, Ethernet passive optical network) system, at present Using the OAM protocol massages of extension, realize OLT (optical line terminal, optical line terminal) to ONU (optical Network units, optical network unit) equipment progress remote management, be specially:OLT processor encapsulation carries extension OAM Protocol massages, and send to ONU, ONU passes to extension OAM protocol massages the processor being connected with ONU, by being connected with ONU Processor parsing extension OAM protocol massages, obtain register configuration information, and be handed down to ONU, ONU is according to register configuration Information, is operated to corresponding register, so as to complete equipment of the OLT to ONU.It can be seen that, utilize the OAM agreement reports of extension Text, realizes that OLT carries out remote management to ONU equipment, interaction is complicated, adds the complexity of remote management, and due to needing The participation of processor is wanted, but ONU does not contain processor, it is necessary to additionally increase processor in itself, is connected with ONU, adds EPON The cost of system.
The content of the invention
In order to solve the above technical problems, the embodiment of the present application provides a kind of optical network unit data processing method and correlation is set Standby, to reach reduction to the complexity of ONU remote managements and the purpose for the cost for reducing EPON system, technical scheme is as follows:
A kind of optical network unit ONU data processing method, including:
ONU receives the medium access control MAC control messages that optical line terminal OLT is sent;And,
When it is determined that the MAC controls the type of message for self-defined Remote configuration message, the MAC controls message is read The register address of carrying;And,
Register corresponding to the register address, characterized with the command code that the MAC controls message to carry The operation that is consistent of action type.
It is preferred that, to the corresponding register of the register address, carrying out and command code class in MAC control messages After the corresponding operation of type, in addition to:
It is less than the deposit for the remote operation ONU that the MAC controls message to carry in the number of the register address read During device number, the step of performing the register address for reading the MAC controls message carrying is returned.
It is preferred that, the action type that the command code is characterized includes read operation or write operation;
It is described to register address correspondence in the case where the action type that the command code is characterized is read operation Register, carry out the process of operation being consistent with the action type that is characterized of command code that the MAC controls message to carry, wrap Include:
Read the content in the corresponding register of the register address;
It is described to register address correspondence in the case where the action type that the command code is characterized is write operation Register, carry out the process of operation being consistent with the action type that is characterized of command code that the MAC controls message to carry, wrap Include:
The corresponding write operation information of the corresponding register of the register address is read from MAC control messages;
The write operation information is write into the corresponding register of the register address.
It is preferred that, the process that the MAC controls message to be Remote configuration message is determined, including:
Read the type of message and command code in the MAC controls message;
When the type of message and command code and the type of message and command code of self-defined Remote configuration message match, Determine that the MAC controls the type of message to be self-defined Remote configuration message.
A kind of optical network unit data processing method, including:
OLT controls message to ONU transmission types for the MAC of self-defined Remote configuration message, and the MAC controls message is at least Register address and command code are carried, the corresponding register of the register address is carried out and the command code institute for ONU The operation that the action type of sign is consistent.
It is preferred that, before the MAC controls message is sent, generate the MAC according to following steps and control message:
Remote configuration information is obtained, the remote configuration information is with least including the operation instruction and register of register Location;
The MAC controls message is built, the operation instruction and register address of the register control message in the MAC Present position meets self-defined Remote configuration message format.
A kind of optical network unit data processing method, including:
OLT controls message to ONU transmission types for the MAC of self-defined Remote configuration message, and the MAC controls message is at least Carry register address and command code;
The ONU receives the Multi-point Control Protocol MAC control messages that OLT is sent;
The ONU reads the MAC when it is determined that the MAC controls the type of message for self-defined Remote configuration message The register address for controlling message to carry;
The ONU carries out the command code for controlling message to carry with the MAC to the corresponding register of the register address The operation that the action type characterized is consistent.
A kind of ONU, including:
Receiving module, the Multi-point Control Protocol MAC for receiving OLT transmissions controls message;
Read module, for when it is determined that the MAC controls the type of message for self-defined Remote configuration message, reading institute State the register address that MAC control messages are carried;
Operation module, for the corresponding register of the register address, carrying out controlling what message was carried with the MAC The operation that the action type that command code is characterized is consistent.
A kind of OLT, including:
Sending module, for controlling message, the MAC controls to ONU transmission types for the MAC of self-defined Remote configuration message Message processed at least carries register address and command code, the corresponding register of the register address is carried out for ONU and institute State the operation that the action type that command code characterized is consistent.
A kind of Ethernet passive optical network EPON system, including the ONU and OLT.
Compared with prior art, the application has the beneficial effect that:
In this application, because MAC controls message to be the message that ONU can directly be parsed, ONU is receiving MAC controls After message, it is determined that the MAC received controls message to be Remote configuration message, ONU controls what message was carried by reading the MAC Register address, register corresponding to the register address carries out the command code institute table for controlling message to carry with the MAC The operation that the action type levied is consistent, realizes remote managements of the OLT to ONU.Participation of the whole process without ppu, ONU simplifies interaction, reduces the complexity to ONU remote managements without being interacted again with processor.
Due to realizing to ONU remote management without ppu, the cost of EPON system is reduced.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of flow chart for the optical network unit data processing method that the application is provided;
Fig. 2 is another flow chart for the optical network unit data processing method that the application is provided;
Fig. 3 is another flow chart for the optical network unit data processing method that the application is provided;
Fig. 4 is a kind of sub-process figure for the optical network unit data processing method that the application is provided;
Fig. 5 is another flow chart for the optical network unit data processing method that the application is provided;
Fig. 6 is a kind of structural representation for the ONU that the application is provided;
Fig. 7 is a kind of structural representation for the EPON system that the application is provided.
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 clear, complete Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of the application protection.
Embodiment one
Fig. 1 is referred to, a kind of flow chart of the optical network unit data processing method provided it illustrates the application can be with Comprise the following steps:
Step S11:ONU receives MAC (medium access control, Media Access Control) the control reports that OLT is sent Text.
In EPON system, TYPE field be 0x8808 message, be referred to as MAC control message (or referred to as MAC control Frame).Under the major class that MAC controls message, there is subdivision again.Two classes are segmented at present:Opcode==0X00_01's is referred to as stream Control frame (PAUSE frames);Opcode==0x00_02~0x00_06's is referred to as MPCP messages, for EPON system.
And Opcode (i.e. command code) be other values when, not enabled, retain.
In the present embodiment, self-defined Remote configuration message is to control the message format of not enabled in message (to remove MAC Message format outside Opcode==0X00_01, Opcode==0x00_02~0x00_06), repartitioned 's.
The command code that MAC control messages are carried can characterize the type that MAC controls message.
Wherein, OLT, when carrying out remote management to ONU, can be self-defined Remote configuration message to ONU transmission types MAC controls message.Type at least carries type of message, command code, posted for the MAC control messages of self-defined Remote configuration message Storage address.Type is used for characterizing the behaviour to register for the command code in the MAC control messages of self-defined Remote configuration message Make type, including write operation or read operation.
It should be noted that the behaviour that type characterizes for the command code in the MAC control messages of self-defined Remote configuration message When making type for write operation, type at least carries type of message, operation for the MAC control messages of self-defined Remote configuration message Code, register address and the corresponding write operation information of the corresponding register of the register address, wherein, the register address The corresponding write operation information of corresponding register is to need the information to the corresponding register write-in of the register address, described The corresponding write operation information of the corresponding register of register address is stored in the MAC that type is self-defined Remote configuration message and controlled Register write data field in message.
In the present embodiment, ONU can perform the determination MAC controls after the MAC control messages of OLT transmissions are received The type of message whether be self-defined Remote configuration message process, be specially:
Step A11:Read the type of message and command code in the MAC controls message.
Step A12:In the type of message and command code and the type of message and command code of self-defined Remote configuration message When matching, determine that the MAC controls the type of message to be self-defined Remote configuration message.
If for example, control MAC command code in message to be repartitioned for 0x00_07 or 0x00_08 message format, Self-defined Remote configuration message is obtained, then the MAC read controls the type of message in message to be 0x8808, and command code is During 0x00_07 or 0x00_08, determine that the MAC controls the type of message to be self-defined Remote configuration message.
ONU performs step S12 when it is determined that the MAC controls the type of message for self-defined Remote configuration message.
Step S12:Read the register address that the MAC controls message is carried.
ONU is when it is determined that the MAC controls the type of message for self-defined Remote configuration message, and ONU starts to perform accordingly Operation, the register address that MAC control message is carried is read first.
Step S13:ONU carries out the behaviour for controlling message to carry with the MAC to the corresponding register of the register address Make the operation that the action type that code characterized is consistent.
In the present embodiment, ONU to the corresponding register of the register address take with MAC control messages The operation that the action type that the command code of band is characterized is consistent, operation completes the remote management to ONU after terminating.
In this application, carry out remote management to ONU to operate the register in ONU, such as read operation or write behaviour Make.
Specifically, in the case where the action type that the command code is characterized is read operation, it is described to the register The corresponding register in address, carries out the operation being consistent with the action type that the command code that the MAC controls message to carry is characterized Process, including:
Read the content in the corresponding register of the register address.
It is described to register address correspondence in the case where the action type that the command code is characterized is write operation Register, carry out the process of operation being consistent with the action type that is characterized of command code that the MAC controls message to carry, have Body is:
The corresponding write operation information of the corresponding register of the register address is read from MAC control messages;
The write operation information is write into the corresponding register of the register address.
In the present embodiment, ONU is read after register address, and the high-order portion of register address is decoded into inside ONU The piece of module selects information, using the low portion of register address as specific inside modules register manipulation offset.No matter It is read operation or write operation, operating result can be returned to OLT by ONU, whether is succeeded with informing that OLT is this time operated.If It is read operation, then each read register address is returned into OLT together with the data read back.If write operation, then write each Register address returns to OLT together with the new data of write-in.The remote operation results that ONU returns to OLT are also to be by type The MAC control messages of self-defined Remote configuration message are realized, that is, carry the MAC control reports that ONU returns to OLT remote operation results Text is Remote configuration response message, and simply Remote configuration response message form and the OLT types for being handed down to ONU are self-defined long-range The MAC control messages of configuration message are similar, and difference is that the MAC for carrying the remote operation results that ONU returns to OLT is controlled in message " register write data " domain replace with " read operation returned data " domain.
In this application, because MAC controls message to be the message that ONU can directly be parsed, ONU is receiving MAC controls After message, it is determined that the MAC received controls message to be Remote configuration message, ONU controls what message was carried by reading the MAC Register address, register corresponding to the register address carries out the command code institute table for controlling message to carry with the MAC The operation that the action type levied is consistent, realizes remote managements of the OLT to ONU.Participation of the whole process without ppu, ONU simplifies interaction, reduces the complexity of remote management without being interacted again with processor.
Due to realizing to ONU remote management without ppu, the cost of EPON system is reduced.
Embodiment two
In the present embodiment, another light net different from the optical network unit data processing method shown in Fig. 1 is shown Network cell data processing method, refers to Fig. 2, and it illustrates the another of the optical network unit data processing method of the application offer Flow chart is planted, be may comprise steps of:
Step S21:ONU receives the Multi-point Control Protocol MAC control messages that OLT is sent.
Step S22:ONU reads the register address that the MAC controls message is carried.
Step S23:ONU carries out the behaviour for controlling message to carry with the MAC to the corresponding register of the register address Make the operation that the action type that code characterized is consistent.
Step S21, step S22 and step S11 in optical network unit data processing method shown in step S23 and Fig. 1, Step S12 is identical with step S13, will not be repeated here.
Step S24:ONU judges whether the number of the register address read is less than the MAC and controls what message was carried Remote operation ONU register number.
If the number that judged result is the register address read is less than the remote operation that the MAC controls message to carry ONU register number, then return and perform step S22, otherwise, terminates currently processed process.
Embodiment three
In the present embodiment, using OLT as executive agent, optical network unit data processing method is illustrated, referred to Fig. 3, Fig. 3 show another flow chart for the optical network unit data processing method that the application is provided, and can include following step Suddenly:
Step S31:OLT controls message, the MAC controls to ONU transmission types for the MAC of self-defined Remote configuration message Message at least carries register address and command code, for ONU to the corresponding register of the register address carry out with it is described The operation that the action type that command code is characterized is consistent.
In the present embodiment, the MAC control messages that OLT is sent at least carry register address and command code.Certainly, at this In embodiment, MAC control messages carry target MAC (Media Access Control) address, source in addition to carrying register address and command code, also MAC Address OLT remote operations ONU register number and register write data, the wherein number of register address and OLT is long-range Operate ONU register number identical.The command code that MAC control messages are carried is used to indicate carry out register which kind of operation, Such as indicate to carry out read operation or write operation to register.When command code is used to indicate to carry out read operation to register, MAC controls The register write data carried in message are sky, i.e., invalid.
It should be noted that because type that OLT is sent to ONU for the MAC of self-defined Remote configuration message controls message In, register address, command code, register write data can be carried, therefore the type that OLT is sent to ONU is self-defined long-range ONU any one register address and relevant information can be carried in the MAC control messages of configuration message, so that OLT can be with ONU any one register is accessed, is not limited by extension OAM protocol massages.
In the present embodiment, OLT is before the MAC controls message is sent, and the process for generating the MAC controls message please Referring to Fig. 4, a kind of sub-process figure of the optical network unit data processing method provided it illustrates the application can include following Step:
Step S41:Remote configuration information is obtained, the remote configuration information at least includes the operation instruction of register and posted Storage address.
Which kind of operation is the operation instruction of register carry out to register, and register address is to posting that needs are operated The address of storage.
Step S42:The MAC controls message is built, the operation instruction and register address of the register are in the MAC Control message present position meets self-defined Remote configuration message format.
After the form of self-defined Remote configuration message is determined, OLT is just according to the form of self-defined Remote configuration message Build is used to realize that the MAC for carrying out ONU remote management controls message.
Specifically, the operation instruction present position of register is command code present position, command code is used to characterize to deposit Which kind of operation device carries out.
Certainly, the other information in remote configuration information in addition to the operation instruction and register address of register is in institute Stating MAC controls message present position is general to meet self-defined Remote configuration message format.
In the present embodiment, in step S41 specifically can by OLT CPU (central processing unit, Central Processing Unit) chip obtain remote configuration information, then cpu chip the remote configuration information got is passed through LOCAL BUS buses are sent to OLT FPGA (Field-Programmable Gate Array, field programmable gate array) Chip, builds the MAC by fpga chip and controls message, each information present position symbol in the MAC control messages built Close self-defined Remote configuration message format.
Self-defined Remote configuration message format is specifically that the blank payload part for controlling not enabled MAC message is carried out again After division, obtained form.
Self-defined Remote configuration message format specifically includes following domain:Target MAC (Media Access Control) address, source MAC, type (0x8808), command code, OLT remote operations ONU register number, quantity and OLT remote operations ONU register number phase With register address, the register number identical register write data of quantity and OLT remote operations ONU, filling (0x00), FCS.Wherein, it is that the domain of register write data is invalid when command code indicates to carry out read operation to register.
Wherein, command code is used to indicate to carry out read operation or write operation, OLT remote operations ONU register to register Number is is less than 11 integer more than 0, and the length of target MAC (Media Access Control) address is 6 bytes, and the length of source MAC is 6 bytes, The length of type is 2 bytes, and the length of command code is 2 bytes, and the length of OLT remote operations ONU register number is 1 Individual byte, the length of each register address is 2 bytes, and the length of each register write data is 2 bytes, the length of filling Alterable is spent, excursion is 3-39, and FCS length is 4 bytes.The total length of self-defined Remote configuration message is 64 bytes.
The related definition such as following table of self-defined Remote configuration message format:
For example, in special EPON system, command code is not activated for 0x00_07 and 0x00_08 MAC control messages, can Using obtain command code as 0x00_07 and 0x00_08 MAC control message, determine command code 0x00_07 be used for indicate to register Carry out read operation, determine command code 0x00_08 be used for indicate to register progress write operation.
Command code is repartitioned for 0x00_07 MAC control messages, following domain is obtained:Target MAC (Media Access Control) address, source MAC Address, type, command code (0x00_07, OLT remote operation ONU register number, quantity and OLT remote operations ONU The register number identical register write number of register number identical register address, quantity and OLT remote operations ONU According to, filling, FCS.When command code is 0x00_07, register write data invalid.
Command code is repartitioned for 0x00_08 MAC control messages, following domain is obtained:Target MAC (Media Access Control) address, source MAC Address, type, command code (0x00_08), OLT remote operations ONU register number, quantity and OLT remote operations ONU Register number identical register address, quantity and OLT remote operations ONU register number identical register write number According to, filling, FCS.
It is determined that command code 0x00_07, to register progress read operation, determines that command code 0x00_08 is used to refer to for indicating Show in the case of carrying out write operation to register, if ONU receives the MAC control messages that command code is 0x00_07, it is determined that should Message is that self-defined Remote configuration message and the corresponding register of the register address carried to the message carry out read operation.If When ONU receives the MAC control messages that command code is 0x00_08, determine the message for self-defined Remote configuration message and to this The corresponding register of register address that message is carried carries out write operation.
Certainly, in this application, it is not limited to which from command code be 0x00_07 and command code is not opening for 0x00_08 Message is controlled with MAC, message can be controlled from any two not enabled MAC, message format is carried out to it and repartitioned, with Obtain self-defined Remote configuration message format.
Private address space is assigned with OLT, the register data for storing ONU returns.OLT receives the up hairs of ONU After the Remote configuration response message come over, extract command code, OLT remote operations ONU register number, register address, write Or the information such as data that read operation is returned is verified, if consistent with the information that OLT cpu chip is issued, then it is assumed that this Remote configuration is operated successfully, and produces interrupt signal, informs OLT cpu chip, and this operation has been completed, and can read return Operating result.If OLT fails to receive the remote of ONU returns in predetermined maximum delay time (such as 1 millisecond, settable) Journey configures response message, then it is assumed that this operation failure simultaneously produces the cpu chip that interrupt signal informs OLT.
Example IV
In the present embodiment, show that OLT is interacted with ONU, complete the process to ONU remote management, refer to Fig. 5, Fig. 5 show another flow chart for the optical network unit data processing method that the application is provided, and can include following step Suddenly:
Step S51:OLT controls message, the MAC controls to ONU transmission types for the MAC of self-defined Remote configuration message Message at least carries register address and command code.
Step S51 is identical with the step S31 of the optical network unit data processing method shown in Fig. 3, will not be repeated here.
Step S52:The ONU receives the Multi-point Control Protocol MAC control messages that OLT is sent.
Step S53:The ONU is read when it is determined that the MAC controls the type of message for self-defined Remote configuration message The register address that the MAC controls message is carried.
Step S54:The ONU to the corresponding register of the register address carry with MAC control messages The operation that is consistent of the action type that is characterized of command code.
Step S52, step S53 and step S11 in optical network unit data processing method shown in step S54 and Fig. 1, Step S12 is identical with step S13, will not be repeated here.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but It is that those skilled in the art should know, the application is not limited by described sequence of movement, because according to the application, certain A little steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, be retouched in specification The embodiment stated belongs to preferred embodiment, necessary to involved action and module not necessarily the application.
Embodiment five
In the present embodiment, a kind of ONU is shown, Fig. 6 is referred to, Fig. 6 shows a kind of knot for the ONU that the application is provided Structure schematic diagram, ONU includes:Receiving module 61, read module 62 and operation module 63.
Receiving module 61, the MAC for receiving OLT transmissions controls message.
Read module 62, for when it is determined that the MAC controls the type of message for self-defined Remote configuration message, reading The register address that the MAC controls message is carried.
Operation module 63, for the corresponding register of the register address, carrying out carrying with MAC control messages The operation that is consistent of the action type that is characterized of command code.
In the present embodiment, the action type that the command code is characterized includes read operation or write operation.
The concrete structure of operation module 63 can be:Read operation unit, for reading, the register address is corresponding to be posted Content in storage.
The concrete structure of operation module 63 can also be:First reading unit, for being read from MAC control messages The corresponding write operation information of the corresponding register of the register address.
Writing unit, for the write operation information to be write into the corresponding register of the register address.
In the present embodiment, ONU is used to perform the structure for determining that the MAC controls the process that message is Remote configuration message Can be:Second reading unit, for reading type of message and command code in the MAC controls message.
Determining unit, for the type of message in the type of message and command code and self-defined Remote configuration message and behaviour When making code-phase matching, determine that the MAC controls the type of message to be self-defined Remote configuration message.
Embodiment six
In the present embodiment, show that a kind of OLT, OLT include sending module, for being self-defined to ONU transmission types The MAC control messages of Remote configuration message, the MAC controls message at least carries register address and command code, for ONU pairs The corresponding register of the register address carries out the operation that action type is consistent characterized with the command code.
OLT generation types are that the structure of the MAC control messages of self-defined Remote configuration message is specially:
Acquiring unit, for obtaining remote configuration information, the remote configuration information at least operation including register refers to Show and register address.
Construction unit, for building the MAC controls message, the operation instruction and register address of the register are in institute State MAC control messages present position and meet self-defined Remote configuration message format.
Embodiment seven
In the present embodiment, a kind of EPON system is shown, Fig. 7 is referred to, Fig. 7 shows the EPON systems that the application is provided A kind of structural representation of system, EPON system includes:ONU71 and OLT72.
ONU71 concrete structure is identical with the ONU shown in embodiment five, will not be repeated here.
OLT72 concrete structure is identical with the OLT shown in embodiment six, will not be repeated here.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to. For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, 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 entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can Realized by the mode of software plus required general hardware platform.Understood based on such, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment (can be personal computer, server, or network equipment etc.) performs some of each embodiment of the application or embodiment Method described in part.
Optical network unit data processing method provided herein and relevant device are described in detail above, this Apply specific case in text to be set forth the principle and embodiment of the application, the explanation of above example is only intended to Help understands the present processes and its core concept;Simultaneously for those of ordinary skill in the art, the think of according to the application Think, will change in specific embodiments and applications, in summary, this specification content should not be construed as pair The limitation of the application.

Claims (7)

1. a kind of optical network unit ONU data processing method, it is characterised in that including:
ONU receives the medium access control MAC control messages that optical line terminal OLT is sent;And,
When it is determined that the MAC controls the type of message for self-defined Remote configuration message, read the MAC controls message and carry Register address, determine the MAC control message be Remote configuration message process, including:Read the MAC controls message In type of message and command code;In the type of message and behaviour of the type of message and command code and self-defined Remote configuration message When making code-phase matching, determine that the MAC controls the type of message to be self-defined Remote configuration message;And,
Register corresponding to the register address, carries out the behaviour characterized with the command code that the MAC controls message to carry The operation being consistent as type;
It is less than the register for the remote operation ONU that the MAC controls message to carry in the number of the register address read During number, return to perform and read the step of MAC controls the register address that message is carried.
2. according to the method described in claim 1, it is characterised in that the action type that the command code is characterized includes read operation Or write operation;
It is described corresponding to the register address to post in the case where the action type that the command code is characterized is read operation Storage, carries out the process of operation being consistent with the action type that the command code that the MAC controls message to carry is characterized, including:
Read the content in the corresponding register of the register address;
It is described corresponding to the register address to post in the case where the action type that the command code is characterized is write operation Storage, carries out the process of operation being consistent with the action type that the command code that the MAC controls message to carry is characterized, including:
The corresponding write operation information of the corresponding register of the register address is read from MAC control messages;
The write operation information is write into the corresponding register of the register address.
3. a kind of optical network unit data processing method, it is characterised in that including:
OLT controls message to ONU transmission types for the MAC of self-defined Remote configuration message, and the MAC controls message is at least carried Register address and command code, the register address that MAC control message is carried is read for ONU, to the register The operation that the action type that the corresponding register in location is carried out with the command code that the MAC controls message to carry is characterized is consistent, and When the number of the register address read is less than the register number for the remote operation ONU that the MAC controls message to carry, Return to the step of performing the register address for reading the MAC controls message carrying;
The MAC controls the generating process of message to be:Remote configuration information is obtained, the remote configuration information at least includes deposit The operation instruction and register address of device;Build the MAC controls message, the operation instruction and register address of the register Meet self-defined Remote configuration message format in MAC control messages present position.
4. a kind of optical network unit data processing method, it is characterised in that including:
OLT controls message to ONU transmission types for the MAC of self-defined Remote configuration message, and the MAC controls message is at least carried Register address and command code, the MAC control the generating process of message to be:Obtain remote configuration information, the Remote configuration Operation instruction and register address of the information at least including register;Build the MAC controls message, the operation of the register Indicate and register address meets self-defined Remote configuration message format in MAC control messages present position;
The ONU receives the Multi-point Control Protocol MAC control messages that OLT is sent;
The ONU reads the MAC controls when it is determined that the MAC controls the type of message for self-defined Remote configuration message The register address that message is carried, determines the process that the MAC controls message to be Remote configuration message, including:Read the MAC Control the type of message and command code in message;In the type of message and command code and the message of self-defined Remote configuration message When type and command code match, determine that the MAC controls the type of message to be self-defined Remote configuration message;
The ONU carries out the command code institute table for controlling message to carry with the MAC to the corresponding register of the register address The operation that the action type levied is consistent;
The ONU is less than posting for the remote operation ONU that the MAC controls message to carry in the number of the register address read During storage number, the step of performing the register address for reading the MAC controls message carrying is returned.
5. a kind of ONU, it is characterised in that including:
Receiving module, the Multi-point Control Protocol MAC for receiving OLT transmissions controls message;
Read module, for when it is determined that the MAC controls the type of message for self-defined Remote configuration message, reading described The register address that MAC control messages are carried, determines the process that the MAC controls message to be Remote configuration message, including:Read Type of message and command code in the MAC controls message;In the type of message and command code and self-defined Remote configuration report When the type of message and command code of text match, determine that the MAC controls the type of message to be self-defined Remote configuration message;
Operation module, for the corresponding register of the register address, carrying out the operation for controlling message to carry with the MAC The operation that the action type that code is characterized is consistent, and it is less than MAC control messages in the number of the register address read During the remote operation ONU of carrying register number, return to perform and read the register address that the MAC controls message is carried Step.
6. a kind of OLT, it is characterised in that including:
Sending module, for controlling message, the MAC controls report to ONU transmission types for the MAC of self-defined Remote configuration message Text at least carries register address and command code, the register address that the MAC controls message is carried is read for ONU, to institute The action type that the corresponding register of register address is carried out with the command code that the MAC controls message to carry is characterized is stated to be consistent Operation, and the register address read number be less than the MAC control message carry remote operation ONU deposit During device number, the step of performing the register address for reading the MAC controls message carrying is returned;
The MAC controls the generating process of message to be:Remote configuration information is obtained, the remote configuration information at least includes deposit The operation instruction and register address of device;Build the MAC controls message, the operation instruction and register address of the register Meet self-defined Remote configuration message format in MAC control messages present position.
7. a kind of Ethernet passive optical network EPON system, it is characterised in that including ONU as claimed in claim 5 and as weighed Profit requires the OLT described in 6.
CN201410171366.5A 2014-04-25 2014-04-25 Optical network unit data processing method and relevant device Active CN103905256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410171366.5A CN103905256B (en) 2014-04-25 2014-04-25 Optical network unit data processing method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410171366.5A CN103905256B (en) 2014-04-25 2014-04-25 Optical network unit data processing method and relevant device

Publications (2)

Publication Number Publication Date
CN103905256A CN103905256A (en) 2014-07-02
CN103905256B true CN103905256B (en) 2017-08-11

Family

ID=50996413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410171366.5A Active CN103905256B (en) 2014-04-25 2014-04-25 Optical network unit data processing method and relevant device

Country Status (1)

Country Link
CN (1) CN103905256B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959140A (en) * 2016-04-29 2016-09-21 北京东土科技股份有限公司 Online debugging method and device of non-network-management type switching equipment
CN113452538B (en) * 2020-03-26 2022-12-13 华为技术有限公司 Control device, execution device, device management method, and device management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248431A (en) * 2013-04-26 2013-08-14 上海交通大学 ONU(Optical Network Unit)-transferable TWDM-PON (Time and Wavelength Division Multiplexed Passive Optical Network) system
CN103593270A (en) * 2013-11-29 2014-02-19 龙迅半导体科技(合肥)有限公司 Method and device for processing data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8929396B2 (en) * 2008-07-07 2015-01-06 Futurewei Technologies, Inc. Ethernet media access control organization specific extension
US8442398B2 (en) * 2008-10-21 2013-05-14 Broadcom Corporation Performance monitoring in passive optical networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248431A (en) * 2013-04-26 2013-08-14 上海交通大学 ONU(Optical Network Unit)-transferable TWDM-PON (Time and Wavelength Division Multiplexed Passive Optical Network) system
CN103593270A (en) * 2013-11-29 2014-02-19 龙迅半导体科技(合肥)有限公司 Method and device for processing data

Also Published As

Publication number Publication date
CN103905256A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN111182025B (en) Message processing method, device, server and storage medium
CN107302443A (en) Equipment configuration method and device based on network configuration protocol
CN104899085B (en) A kind of data processing method and device
CN105471917A (en) Data transmission method and system
US11687747B2 (en) Electronic shelf label wake-up method and system and related assembly
CN106610789B (en) A kind of data processing method, apparatus and system
CN105450588A (en) RDMA-based data transmission method and RDMA network cards
US11847091B2 (en) Data transmission method and device for network on chip and electronic apparatus
CN108255614A (en) A kind of interface calling system and method based on micro services framework
EP4195598A1 (en) In-vehicle signal transmission method and system
CN101867490A (en) Maintenance operation system and method
CN108848162A (en) Show connection method, display equipment and the system of equipment
CN110381051A (en) A kind of method of packet parsing, system, equipment and computer readable storage medium
CN106844471A (en) A kind of electronic operation and maintenance system form data processing method and server
CN103905256B (en) Optical network unit data processing method and relevant device
CN104731650A (en) Acquisition method and device for system interface call information
CN109347685A (en) A kind of network equipment, logic device and notification information transmission method
CN109977052A (en) System, medium, chip and the electronic equipment of method for converting protocol and application this method
CN113079041A (en) Service stream transmission method, device, equipment and storage medium
Arokkiam et al. Design, implementation, and evaluation of an XG-PON module for the ns-3 network simulator
CN110825538A (en) MQ-based method for dynamically interacting data by self-defining data types
CN106027189A (en) Method and system for providing message timestamp of Internet of things equipment
CN109257185A (en) A kind of network equipment, service card, logic device and notification information transmission method
WO2022227484A1 (en) Data communication method and apparatus, computer device, and storage medium
CN109657471B (en) Cloud equipment management system and method

Legal Events

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