WO2020037484A1 - Optical network unit management method and apparatus - Google Patents

Optical network unit management method and apparatus Download PDF

Info

Publication number
WO2020037484A1
WO2020037484A1 PCT/CN2018/101457 CN2018101457W WO2020037484A1 WO 2020037484 A1 WO2020037484 A1 WO 2020037484A1 CN 2018101457 W CN2018101457 W CN 2018101457W WO 2020037484 A1 WO2020037484 A1 WO 2020037484A1
Authority
WO
WIPO (PCT)
Prior art keywords
onu
matching
matching rule
olt
type field
Prior art date
Application number
PCT/CN2018/101457
Other languages
French (fr)
Chinese (zh)
Inventor
郑刚
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2018/101457 priority Critical patent/WO2020037484A1/en
Priority to CN201880095797.4A priority patent/CN112449744A/en
Publication of WO2020037484A1 publication Critical patent/WO2020037484A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/40Transceivers

Definitions

  • This application relates to communication technology, and in particular, to a method and device for managing an Optical Network Unit (ONU).
  • ONU Optical Network Unit
  • An optical access network usually includes three parts: an optical line terminal (OLT), an optical distribution network (ODN), and an ONU. Multiple ONUs can be connected to the Passive Optical Network (PON) port of the same OLT through ODN.
  • a physical access network can be divided into multiple logical access networks, and this logical access network is also called a virtual access network (Virtual Access Network, VAN). Each virtual access network is assigned independent access resources and uplink resources, which can be used for service configuration and operation and maintenance.
  • Each virtual access network corresponds to one or more virtual systems (Virtual Systems, VSs).
  • VSs can be divided into management VSs and business VSs according to their uses.
  • VS0 is created by the system by default for public basic management.
  • the user creates a service VS according to the planning of the virtual access network.
  • the division of the access resources of the virtual access network is related to the access means.
  • the OLT can be divided according to the board, port, ONU, or port of the ONU.
  • the ONU identity (ID) is manually numbered, and the ONU is added to the service VS according to the ONU authentication information.
  • the ONU is manually numbered and added, and the management efficiency of the ONU is low.
  • the present application provides a method and device for managing an optical network unit.
  • the ONU automatically discovers the ONU and adds it to the VS automatically, thereby improving the management efficiency of the ONU.
  • a first aspect of the present application provides a method for managing an optical network unit, including:
  • the OLT obtains at least one matching rule, where the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU;
  • Matching by the OLT, the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule;
  • the OLT executes a processing operation of an ONU included in the target matching rule.
  • the OLT obtains the matching rule of at least one ONU in advance, and then matches the matching type field of the ONU to be matched with the at least one matching rule, and executes the processing operation of the ONU included in the target matching rule with successful matching, thereby
  • the ONU can be automatically added to the corresponding VS or the ONU information can be automatically reported to the corresponding VS.
  • the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs. Through this matching rule, ONUs of the same type can be added to a VS for easy management of ONUs.
  • the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
  • the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
  • the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS
  • the processing action of the ONU included in the matching rule is also include:
  • the at least one matching rule has a priority
  • Matching, by the OLT, the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule includes:
  • the OLT determines the highest priority based on the priorities of the multiple candidate matching rules.
  • the candidate matching rule is the target matching rule.
  • a second aspect of the present application provides an OLT, including a processor, a memory, and a transceiver.
  • the memory is used to store instructions.
  • the transceiver is used to communicate with other devices.
  • the processor is used to execute instructions stored in the memory. To enable the OLT to perform the method described below:
  • the matching rule includes a correspondence between a matching type field of an optical network unit ONU and a processing operation of the ONU;
  • a processing operation of an ONU included in the target matching rule is performed.
  • the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs.
  • the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
  • the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
  • the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS
  • the processing action of the ONU included in the matching rule is also include:
  • the at least one matching rule has a priority
  • the candidate matching rule with the highest priority is determined according to the priorities of the multiple candidate matching rules. Match rules for the goal.
  • a third aspect of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores instructions, and when the instructions are executed, cause a computer to execute the method according to the first aspect of the present application.
  • a fourth aspect of the present application provides a management device for an optical network unit, including:
  • An obtaining module configured to obtain at least one matching rule, where the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU;
  • the obtaining module is further configured to obtain a matching type field of the ONU to be matched;
  • a matching module configured to match the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule
  • An execution module is configured to execute a processing operation of an ONU included in the target matching rule.
  • the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs.
  • the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
  • the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
  • the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS
  • the processing action of the ONU included in the matching rule is also include:
  • the at least one matching rule has a priority; the matching module is specifically configured to:
  • the OLT determines the highest priority based on the priorities of the multiple candidate matching rules.
  • the candidate matching rule is the target matching rule.
  • the method and device for managing an optical network unit include: the OLT obtains at least one matching rule, the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU, and the OLT obtains a match of the ONU to be matched
  • the type field matches the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule, and the OLT performs a processing operation of the ONU included in the target matching rule.
  • the method can automatically add the ONU to the corresponding VS or automatically report the information of the ONU to the corresponding VS.
  • FIG. 1 is a schematic diagram of an optical access network
  • FIG. 2 is a schematic diagram of virtualization of a physical access network and a virtual access network
  • 3 is another schematic diagram of virtualization of a physical access network and a virtual access network
  • FIG. 4 is a flowchart of an ONU management method provided by Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of an ONU management method provided by Embodiment 2 of the present invention.
  • FIG. 6 is a management device of an optical network unit provided in Embodiment 3 of the present application.
  • FIG. 7 is a schematic structural diagram of an OLT provided in Embodiment 4 of the present application.
  • FIG. 1 is a schematic diagram of the optical access network.
  • three ONUs are connected to the same network through an ODN.
  • One OLT the OLT is connected to the network, and one ONU can connect multiple terminal devices, such as mobile phones, fixed phones, tablet computers, personal computers (PCs), and mobile base stations. Terminal devices can perform voice, Internet, and video services.
  • the ONU may also be referred to as an Optical Network Termination (ONT), or an ONU and an ONT coexist in the optical access network, and the functions of the ONU and the ONT are the same.
  • ONT Optical Network Termination
  • the OLT is a core component of the optical access network, which is equivalent to a switch or router in a traditional communication network, and is also a multi-service providing platform.
  • the OLT is generally placed at the central office and provides a user-oriented PON fiber interface. Its main function is: uplink the upper-layer network to complete the uplink access of the PON network; connect the user-end device ONU through the ODN network (composed of optical fiber and passive optical splitter) to realize the control, management and ranging of the ONU Features.
  • ONU is a user-end device in the optical network. It is placed on the user end and used in conjunction with the OLT to implement Layer 2 and Layer 3 functions of the Ethernet and provide users with voice, data and multimedia services. Its main function is: choose to receive the data sent by the OLT; respond to the management command sent by the OLT and respond accordingly; buffer the user's Ethernet data and send it in the upstream direction in the transmission slot allocated by the OLT.
  • the services provided by the optical access network can be divided into three categories: home services, enterprise services, and operator services.
  • the first is an infrastructure provider who is responsible for infrastructure construction and provides hardware and related software facilities for the communication network.
  • the second is a basic service provider who is responsible for Enterprises provide basic services;
  • the third is a basic business contractor, also known as a virtual operator. They do not have their own basic business, but instead wholesale bandwidth and services from the basic service provider, and then retail to a large number of users.
  • a virtual operator can divide a physical access network into multiple virtual access networks (Virtual Access Networks, VANs). Each virtual access network is assigned independent access resources and uplink resources, which can be used for service configuration and operation and maintenance. Each virtual access network corresponds to one or more virtual systems (Virtual Systems, VSs). VSs can be divided into management VSs and service VSs, management VSs are used for public basic management, and business VSs are used to manage a service according to their uses.
  • FIG 2 is a schematic diagram of the virtualization of the physical access network and the virtual access network.
  • the physical access network has four services: fiber-to-the-home (FTTH) services, and Mobile (Fiber, The Mobile, FTTM) services, Fiber-to-the-Office (FTTO) services, Fiber-to-the-Building / Curb (FTTB / C).
  • FTTH fiber-to-the-home
  • FTTM Mobile
  • FTTO Fiber-to-the-Office
  • FTTB / C Fiber-to-the-Building / Curb
  • MDU Multi-link Trunking
  • a physical access network is virtualized into four VANs: VAN1, VAN2, VAN3, and VAN4.
  • the four VANs are respectively connected to the OLT.
  • the VANs can be divided according to the PON port and the Ethernet port, and can also be based on the Ethernet port.
  • VLAN Virtual Local Area Network
  • the VAN is divided according to the PON port and the Ethernet port in the physical access network shown in Figure 2.
  • FE Fast Ethernet
  • GE GigabitEthernet
  • the virtualized 4 VANs process one service, VAN1 processes FTTH services, VAN2 processes FTTM services, VAN3 processes FTTO services, and VAN4 processes FTTB / C business.
  • the speed of the Ethernet port is not limited to the precursor, it can also be 10GE or higher.
  • VAN can also be divided according to ONU or ONU port.
  • Figure 3 is another schematic diagram of the physical access network and virtual access network. As shown in Figure 3, there are three types of ONUs in the physical access network: public guest ONU The merchant ONU and the village ONU. The three types of ONUs are connected to the OLT through the ODN. The OLT virtualizes the physical access network into three VANs: the merchant VAN, the public VAN, and the village VAN.
  • the merchant VAN can be connected to the dedicated line service router (SR) through an independent 4K VLAN, the private line SR is connected to the backbone network, and the public VAN can be connected to the aggregation switch through an independent 4K VLAN Connection, the aggregation switch accesses the backbone network through SR (IPTV or voice) and broadband remote access server (Broadband Remote Access Server, BRAS).
  • SR dedicated line service router
  • BRAS broadband remote access server
  • the village VAN can be connected to the village private switch through an independent 4K VLAN, and the village private The switch is connected to the village's independent backbone network.
  • FIG. 4 is a flowchart of an ONU management method provided in Embodiment 1 of the present invention. As shown in FIG. 4, the method provided by this embodiment It includes the following steps:
  • Step S101 The OLT obtains at least one matching rule, where the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU.
  • the at least one matching rule may be manually configured on the OLT in advance, or may be configured by the network management system to the OLT, and different matching rules may be configured for different VSs.
  • the VS includes a management VS and a service VS, and the service VS is used for processing.
  • Business management VS is used for public basic management.
  • the management VS is numbered VS0, and the service VSs are numbered according to certain rules. Different service VSs have different purposes.
  • Each matching rule includes the correspondence between the match type field of the ONU and the processing operation of the ONU.
  • the match type field of the ONU can also be called a match field or a match condition.
  • the processing operation of the ONU is also called an action or an action set.
  • the processing operation of the ONU corresponding to the match type field of the ONU may be one or more operations (or actions).
  • the at least one matching rule includes a default matching rule.
  • the processing of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, adding the ONU to the management VS, or reporting the ONU information To Management VS.
  • the matching type field of the ONU included in the matching rule includes any one or more of the following information: device authentication information of the ONU, character authentication information of the ONU, device identification information of the ONU, and an Internet protocol of the ONU Internet Protocol (IP) address information.
  • IP Internet Protocol
  • the device authentication information of the ONU included in the matching rule includes any one of the following information: the range of the serial number (SN), the range of the media access control (MAC) address, the starting SN, and Number of ONUs, starting MAC address, and number of ONUs.
  • the range of the SN can be expressed in the following two ways: (1) Some fields of the SN. Assuming that the SN occupies 12 bits, the range of the SN can be expressed as AAAA-XXXXXXXX, XXXXX indicates that it can take any value, and the range of X is retrieved.
  • AAAA00000000-AAAA99999999 where the ranges indicated by AAAA-XXXXXXXX and AAAA00000000-AAAA99999999 are the same.
  • the ranges of other fields mentioned in the embodiments of the present application can be expressed in the above two ways.
  • the range of the MAC address is represented as BBBB-XXXXXXX.
  • the SN and MAC address of the ONU are consecutively numbered.
  • a range of SNs can be determined based on the starting SN of the ONU and the number of ONUs.
  • the match type field is the starting SN and the number of ONUs, it is assumed that the number of ONUs is N and the starting SN Is AAAA111111111, the range of SNs indicated by this match type field is N consecutive ONUs starting from AAAA11111111.
  • the matching type field is the starting MAC address and the number of ONUs, assuming that the number of ONUs is M and the starting MAC address is BBBB000000000, the range of the SN represented by the matching type field is M consecutive BBBB0000000000 beginning ONU.
  • the character authentication information of the ONU included in the matching rule includes any one of the following information: the range of the password of the ONU, the range of the LOID of the ONU, and the range of the registration code of the ONU.
  • the device identification information of the ONU included in the matching rule includes any one of the following information: the manufacturer identification of the ONU, the equipment ID of the ONU, and the model of the ONU.
  • the IP address information of the ONUs included in the matching rule may be: the range of IP addresses, the starting IP address, and the number of ONUs.
  • the at least one matching rule may be stored in the OLT in the form of a list.
  • Table 1 is a schematic diagram of the matching rule. Table 1 is as follows:
  • the match type field in the match rule table shown in Table 1 is the range of SN. Table 1 includes a total of 5 match rules. The last match rule is the default match rule. The match type field of the default match rule can use the wildcard ***** * Indicates.
  • the matching rule is used to add ONUs of the same type to the corresponding service VS.
  • Different service VSs manage different types of ONUs, and different types of ONUs access different services. It can be considered that different VSs manage different services.
  • Table 2 is another schematic diagram of the matching rules. Table 2 is as follows:
  • the type of the ONU may be HG8245 or MA5694S.
  • the ONU is added to VS1 according to the matching rule table.
  • the ONU is added according to the matching rule table.
  • the ONU of type HG8245 is used to access FTTH services
  • the ONU of type MA5694S is used to access FTTM services.
  • the match type field is a single field (such as SN or ONU type).
  • the match type field can also be a combination of multiple fields.
  • the match type field is: ONU Type 1 and SN is AAAA-XXXXX; or, the match type field is: ONU type 2 and the MAC address is BBBB-XXXXX; or, the match type field is: vendor A and the IP address is 64 from 10.9.8.2 ONU.
  • the at least one matching rule has a priority
  • the priority of the matching rule may be an indication displayed when the matching rule is configured.
  • Table 3 is a schematic diagram of the matching rule table with priority. Table 3 is as follows:
  • the larger the value of the priority column the higher the priority.
  • the smaller the value the higher the priority. This embodiment does not limit this.
  • the priority of the matching rules can also take effect according to the configuration order of the matching rules.
  • the matching rule configured first has the highest priority, and so on, and the matching rule configured last has the lowest priority.
  • the highest matching rule is the highest in the table
  • the matching rule at the end of the table has the lowest priority.
  • Step S102 The OLT obtains a matching type field of the ONU to be matched.
  • the ONU information includes one or more of the following information: ONU's device authentication information, ONU's character authentication information, and ONU's equipment.
  • the OLT obtains the matching type field from the information of the ONU.
  • Step S103 The OLT matches the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule.
  • the matching is performed in the order of the matching rules.
  • the matching type field of the ONU to be matched matches the matching type field of a certain matching rule, it is determined that the matching successful matching rule is the target matching rule. Stop matching. Subsequent matching rules will no longer match.
  • the matching of the matching type field of the ONU to be matched with the matching type field of the matching rule means that the matching type field of the ONU to be matched is the same as the matching type field of the matching rule, or that the matching type field of the ONU to be matched belongs to the match.
  • the match type field for the rule It is also possible to match the match type field of the ONU to be matched with all matching rules. If only one matching rule is successfully matched, the matching rule is determined to be the target matching rule. If multiple matching rules are successfully matched, then multiple matching rules are used. Select a matching rule as the target matching rule among the rules.
  • the matching rule can be matched according to the priority from high to low.
  • the match type field of the ONU to be matched matches the match type field of a certain match rule, the matching rule that the match succeeds is determined. If the target matches the rule, the matching is stopped, and subsequent matching rules are no longer matched. Of course, it is not necessary to match from the highest to the lowest according to the priority, but to match the matching type field of the ONU to be matched with all matching rules.
  • both the matching type field of the ONU to be matched and one candidate matching rule in the at least one matching rule are successfully matched, it is determined that the matched matching rule is the target matching rule.
  • the OLT determines the candidate matching rule with the highest priority as the target match according to the priorities of the multiple candidate matching rules. rule.
  • Step S104 The OLT performs a processing operation of the ONU included in the target matching rule.
  • the matching type field in the matching rule shown in Table 1 is the SN of the ONU. Therefore, the matching type field of the ONU to be matched is SN, and the SN of the ONU to be matched shown in Table 4 and the matching rule shown in Table 1 are respectively Make a match. Take the ONU to be matched whose SN is AAAA-12345678 as an example. The SN of the ONU to be matched belongs to the matching rule whose SN is AAAA-XXXXXXX shown in Table 1. Then, the ONU of the matching rule whose SN is AAAA-XXXXXXXX is executed. , Other types of matching processes of the ONUs to be matched are not repeated here.
  • the match type fields in the matching rule shown in Table 3 are the SN, IP address, and ONU device type of the ONU. Therefore, the match type fields of the ONU to be matched are the SN, IP address, and ONU device type.
  • the matching type field of the ONU to be matched is matched with the matching rule shown in Table 3.
  • the processing operation of the ONU is shown in Table 5.
  • the OLT obtains at least one matching rule
  • the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU.
  • the type field is matched with the at least one matching rule to obtain a target matching rule, and the OLT performs a processing operation of the ONU included in the target matching rule.
  • the method can automatically add the ONU to the corresponding VS or automatically report the information of the ONU to the corresponding VS.
  • the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS
  • the ONU included in the matching rule also includes: sending service configuration information to the OLT.
  • the OLT performs the processing action of the ONU of the target matching rule
  • the ONU is first added to the designated service VS, and the ONU service configuration information is sent to the ONU.
  • the service configuration information can be manually configured on the OLT in advance.
  • the service configuration information includes any one or more of the following configuration information: OLT VLAN configuration information, OLT traffic configuration information, OLT service flow configuration information, and dynamic broadband.
  • FIG. 5 is a flowchart of an ONU management method provided in Embodiment 2 of the present invention. As shown in FIG. 5, the method provided in this embodiment includes the following steps:
  • Step S201 The OLT receives at least one pre-configured matching rule.
  • the matching rule includes a correspondence between a matching type field of the ONU and a processing operation of the ONU.
  • the at least one configuration rule may be manually configured by the configuration engineer on the OLT.
  • Step S202 The OLT receives service configuration information of at least one pre-configured service VS.
  • the service configuration information of the at least one service VS may be each service manually configured by the configuration engineer on the OLT.
  • the service configuration information includes any one or more of the following configuration information: OLT VLAN configuration information, OLT traffic configuration information, OLT service flow configuration information, DBA configuration information, ONU line configuration information, and ONU service configuration.
  • Table 6 is a schematic diagram of service configuration items and configuration data. Table 6 is as follows:
  • Step S203 The ONU is powered on.
  • the field engineer can power on the ONU or remotely, which is not limited in this embodiment.
  • step S204 the ONU and the OLT perform a registration process.
  • the ONU registration process is: OLT broadcasts GATE periodically Discovery message. After the ONU receives the GATE message, if the ONU finds that it has not registered with the OLT, it sends a registration request message to the OLT at the specified sending time, and the ONU can send its own information to the OLT with the registration request message. After receiving the registration request message, the OLT allocates one or more logical link identity (LLID) to the ONU as the identity of the ONU, and returns a registration message to the ONU. The OLT also wants the ONU to send a nominal GATE authorization message. After receiving the GATE authorization message, the ONU sends a registration confirmation message to the OLT, and the registration process ends.
  • LLID logical link identity
  • Step S205 The OLT obtains a matching type field of the ONU to be matched, and matches the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule.
  • Step S206 The OLT performs a processing operation of the ONU included in the target matching rule.
  • Step S207 The OLT determines the service configuration information of the ONU according to the service VS to which the ONU belongs and the service configuration information of at least one pre-configured service VS.
  • Step S208 The OLT sends service configuration information to the ONU.
  • the service configuration information of the service VS is pre-configured on the OLT, and the ONU is subsequently added to the service VS, and then the service configuration information of the VS is sent to the ONU, so that the service information can be automatically configured.
  • FIG. 6 is an apparatus for managing an optical network unit provided in Embodiment 3 of the present application. As shown in FIG. 6, the apparatus in this embodiment includes:
  • the obtaining module 11 is configured to obtain at least one matching rule, where the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU;
  • the obtaining module 11 is further configured to obtain a matching type field of an ONU to be matched;
  • a matching module 12 configured to match a matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule
  • the execution module 13 is configured to execute a processing operation of an ONU included in the target matching rule.
  • the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs.
  • the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
  • the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
  • the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS
  • the processing action of the ONU included in the matching rule is also include:
  • the at least one matching rule has a priority; the matching module 12 is specifically configured to:
  • the OLT determines the highest priority based on the priorities of the multiple candidate matching rules.
  • the candidate matching rule is the target matching rule.
  • the apparatus in this embodiment may be used to execute the methods in Embodiment 1 and Embodiment 2. Specific implementation manners and technical effects are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of an OLT provided in Embodiment 4 of the present application.
  • the OLT provided in this embodiment includes a processor 21, a memory 22, and a transceiver 23.
  • the memory 33 is configured to store instructions.
  • the transceiver 23 is configured to communicate with other devices, and the processor 21 is configured to execute instructions stored in the memory 22 to enable the OLT to perform the following method:
  • the matching rule includes a correspondence between a matching type field of an optical network unit ONU and a processing operation of the ONU;
  • a processing operation of an ONU included in the target matching rule is performed.
  • the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs.
  • the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
  • the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
  • the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS
  • the processing action of the ONU included in the matching rule is also include:
  • the at least one matching rule has a priority
  • the candidate matching rule with the highest priority is determined according to the priorities of the multiple candidate matching rules. Match rules for the goal.
  • the apparatus in this embodiment may be used to execute the methods in Embodiment 1 and Embodiment 2. Specific implementation manners and technical effects are similar, and details are not described herein again.
  • Embodiment 5 of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores instructions. When the instructions are executed, the computer is caused to execute the methods described in Embodiments 1 and 2 of the application. .
  • the processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and a ready-made programmable gate array (FPGA). Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA ready-made programmable gate array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present invention may be directly embodied as being executed by a hardware decoding processor, or may be executed and completed by using a combination of hardware and software units in the decoding processor.
  • the software unit can be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc.
  • Storage media The storage medium is located in a memory, and the processor reads the instructions in the memory and completes the steps of the foregoing method in combination with its hardware.
  • the disclosed apparatus and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware, or in the form of hardware plus software functional units.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

Embodiments of the present application provide an optical network unit management method and apparatus, comprising: an OLT obtains at least one matching rule, the matching rule comprising a corresponding relationship between a matching type field of an ONU and a processing operation of the ONU; the OLT obtains the matching type field of an ONU to be matched; perform matching between the matching type field of the ONU to be matched and the at least one matching rule to obtain a target matching rule; and the OLT executes the processing operation of the ONU in the target matching rule. According to the method, an ONU is able to be automatically added to a corresponding VS, or information of the ONU is automatically reported to the corresponding VS.

Description

光网络单元的管理方法和装置Management method and device of optical network unit 技术领域Technical field
本申请涉及通信技术,尤其涉及一种光网络单元(Optical Network Unit,ONU)的管理方法和装置。This application relates to communication technology, and in particular, to a method and device for managing an Optical Network Unit (ONU).
背景技术Background technique
光接入网通常包括局端的光线路终端(Optical Line Termination,OLT)、光分配网络(Optical Distribute Network,ODN)和ONU三部分。多个ONU可以通过ODN连接到同一个OLT的无源光网络(Passive Optical Network,PON)端口。可以将一个物理的接入网划分为多个逻辑接入网,该逻辑接入网也称为虚拟接入网(Virtual Access Network,VAN)。每个虚拟接入网分配独立的接入资源和上行资源,可以单独进行业务配置和运维。An optical access network usually includes three parts: an optical line terminal (OLT), an optical distribution network (ODN), and an ONU. Multiple ONUs can be connected to the Passive Optical Network (PON) port of the same OLT through ODN. A physical access network can be divided into multiple logical access networks, and this logical access network is also called a virtual access network (Virtual Access Network, VAN). Each virtual access network is assigned independent access resources and uplink resources, which can be used for service configuration and operation and maintenance.
每个虚拟接入网对应一个或多个虚拟***(Virtual System,VS),VS根据用途可以分为管理VS和业务VS,通常由***缺省创建VS0,用于公共基础管理。用户根据虚拟接入网的规划,创建业务VS。虚拟接入网的接入资源的划分与接入手段相关,对于XPON接入,OLT可以根据单板、端口、ONU或者ONU的端口进行划分。当虚拟接入网的接入资源按照ONU划分时,由人工对ONU标识(identity,ID)进行编号,并根据ONU的认证信息将ONU添加到业务VS中。Each virtual access network corresponds to one or more virtual systems (Virtual Systems, VSs). VSs can be divided into management VSs and business VSs according to their uses. Usually, VS0 is created by the system by default for public basic management. The user creates a service VS according to the planning of the virtual access network. The division of the access resources of the virtual access network is related to the access means. For XPON access, the OLT can be divided according to the board, port, ONU, or port of the ONU. When the access resources of the virtual access network are divided according to the ONU, the ONU identity (ID) is manually numbered, and the ONU is added to the service VS according to the ONU authentication information.
但是,现有方式中,由人工对ONU进行编号和添加,ONU的管理效率低。However, in the existing method, the ONU is manually numbered and added, and the management efficiency of the ONU is low.
发明内容Summary of the Invention
本申请提供一种光网络单元的管理方法和装置,由OLT对ONU进行自动发现并自动添加到VS,提高了ONU的管理效率。The present application provides a method and device for managing an optical network unit. The ONU automatically discovers the ONU and adds it to the VS automatically, thereby improving the management efficiency of the ONU.
本申请第一方面提供一种光网络单元的管理方法,包括:A first aspect of the present application provides a method for managing an optical network unit, including:
OLT获取至少一个匹配规则,所述匹配规则包括ONU的匹配类型字段与ONU的处理操作的对应关系;The OLT obtains at least one matching rule, where the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU;
所述OLT获取待匹配的ONU的匹配类型字段;Obtaining, by the OLT, a matching type field of an ONU to be matched;
所述OLT将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则;Matching, by the OLT, the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule;
所述OLT执行所述目标匹配规则中包括的ONU的处理操作。The OLT executes a processing operation of an ONU included in the target matching rule.
所述方法OLT通过预先获取至少一个ONU的匹配规则,后续将待匹配的ONU的匹配类型字段与该至少一个匹配规则进行匹配,并执行匹配成功的目标匹配规则中包括的ONU的处理操作,从而能够自动将ONU添加到对应的VS或者自动将ONU的信息上报到对应的VS。In the method, the OLT obtains the matching rule of at least one ONU in advance, and then matches the matching type field of the ONU to be matched with the at least one matching rule, and executes the processing operation of the ONU included in the target matching rule with successful matching, thereby The ONU can be automatically added to the corresponding VS or the ONU information can be automatically reported to the corresponding VS.
在一个示例中,所述匹配规则用于将相同类型的ONU添加到对应的业务虚拟***VS中,不同业务VS管理不同类型的ONU。通过该匹配规则,可以将相同类型的 ONU添加到一个VS中,便于对ONU的管理。In one example, the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs. Through this matching rule, ONUs of the same type can be added to a VS for easy management of ONUs.
在另一个示例中,所述至少一个匹配规则中包括默认匹配规则,当所述至少一个匹配规则中除所述默认匹配规则外的其余匹配规则均匹配失败时,匹配到所述默认匹配规则。In another example, the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
在另一个示例中,所述匹配规则中ONU的处理动作包括以下动作中的任意一种:将ONU添加到指定的业务VS中、禁止将ONU添加到指定的业务VS中、将ONU添加到管理VS或者将ONU的信息上报到管理VS。In another example, the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
在另一个示例中,当所述匹配规则中ONU的处理动作包括将ONU添加到指定的业务VS中或者禁止将ONU添加到指定的业务VS中时,所述匹配规则包括的ONU的处理动作还包括:In another example, when the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS, the processing action of the ONU included in the matching rule is also include:
将业务配置信息发送给ONU。Send service configuration information to the ONU.
在另一个示例中,所述至少一个匹配规则具有优先级;In another example, the at least one matching rule has a priority;
所述OLT将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则,包括:Matching, by the OLT, the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule includes:
当所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则中的多个候选匹配规则均匹配成功时,所述OLT根据所述多个候选匹配规则的优先级,确定优先级最高的候选匹配规则为所述目标匹配规则。When the matching type field of the ONU to be matched matches multiple candidate matching rules in the at least one matching rule, the OLT determines the highest priority based on the priorities of the multiple candidate matching rules. The candidate matching rule is the target matching rule.
通过为该至少一个匹配规则设置优先级,根据优先级进行匹配,保证能够为待匹配的ONU匹配到最优的匹配规则。By setting a priority for the at least one matching rule and performing matching based on the priority, it is ensured that an optimal matching rule can be matched for the ONU to be matched.
本申请第二方面提供一种OLT,包括处理器、存储器和收发器,所述存储器用于存储指令,所述收发器用于和其他设备通信,所述处理器用于执行所述存储器中存储的指令,以使所述OLT执行如下所述方法:A second aspect of the present application provides an OLT, including a processor, a memory, and a transceiver. The memory is used to store instructions. The transceiver is used to communicate with other devices. The processor is used to execute instructions stored in the memory. To enable the OLT to perform the method described below:
获取至少一个匹配规则,所述匹配规则包括光网络单元ONU的匹配类型字段与ONU的处理操作的对应关系;Acquiring at least one matching rule, where the matching rule includes a correspondence between a matching type field of an optical network unit ONU and a processing operation of the ONU;
获取待匹配的ONU的匹配类型字段;Obtaining the matching type field of the ONU to be matched;
将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则;Matching the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule;
执行所述目标匹配规则中包括的ONU的处理操作。A processing operation of an ONU included in the target matching rule is performed.
在一个示例中,所述匹配规则用于将相同类型的ONU添加到对应的业务虚拟***VS中,不同业务VS管理不同类型的ONU。In one example, the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs.
在另一个示例中,所述至少一个匹配规则中包括默认匹配规则,当所述至少一个匹配规则中除所述默认匹配规则外的其余匹配规则均匹配失败时,匹配到所述默认匹配规则。In another example, the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
在另一个示例中,所述匹配规则中ONU的处理动作包括以下动作中的任意一种:将ONU添加到指定的业务VS中、禁止将ONU添加到指定的业务VS中、将ONU添加到管理VS或者将ONU的信息上报到管理VS。In another example, the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
在另一个示例中,当所述匹配规则中ONU的处理动作包括将ONU添加到指定的业务VS中或者禁止将ONU添加到指定的业务VS中时,所述匹配规则包括的ONU的处理动作还包括:In another example, when the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS, the processing action of the ONU included in the matching rule is also include:
将业务配置信息发送给ONU。Send service configuration information to the ONU.
在另一个示例中,所述至少一个匹配规则具有优先级;In another example, the at least one matching rule has a priority;
所述将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则,具体为:Matching the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule is specifically:
当所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则中的多个候选匹配规则均匹配成功时,根据所述多个候选匹配规则的优先级,确定优先级最高的候选匹配规则为所述目标匹配规则。When the matching type field of the ONU to be matched successfully matches multiple candidate matching rules in the at least one matching rule, the candidate matching rule with the highest priority is determined according to the priorities of the multiple candidate matching rules. Match rules for the goal.
本申请第三方面提供一种计算机可读存储介质,所述计算机可读存储介质存储有指令,当所述指令被执行时,使得计算机执行如本申请第一方面所述的方法。A third aspect of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores instructions, and when the instructions are executed, cause a computer to execute the method according to the first aspect of the present application.
本申请第四方面提供一种光网络单元的管理装置,包括:A fourth aspect of the present application provides a management device for an optical network unit, including:
获取模块,用于获取至少一个匹配规则,所述匹配规则包括ONU的匹配类型字段与ONU的处理操作的对应关系;An obtaining module, configured to obtain at least one matching rule, where the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU;
所述获取模块,还用于获取待匹配的ONU的匹配类型字段;The obtaining module is further configured to obtain a matching type field of the ONU to be matched;
匹配模块,用于将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则;A matching module, configured to match the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule;
执行模块,用于执行所述目标匹配规则中包括的ONU的处理操作。An execution module is configured to execute a processing operation of an ONU included in the target matching rule.
在一个示例中,所述匹配规则用于将相同类型的ONU添加到对应的业务虚拟***VS中,不同业务VS管理不同类型的ONU。In one example, the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs.
在另一个示例中,所述至少一个匹配规则中包括默认匹配规则,当所述至少一个匹配规则中除所述默认匹配规则外的其余匹配规则均匹配失败时,匹配到所述默认匹配规则。In another example, the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
在另一个示例中,所述匹配规则中ONU的处理动作包括以下动作中的任意一种:将ONU添加到指定的业务VS中、禁止将ONU添加到指定的业务VS中、将ONU添加到管理VS或者将ONU的信息上报到管理VS。In another example, the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
在另一个示例中,当所述匹配规则中ONU的处理动作包括将ONU添加到指定的业务VS中或者禁止将ONU添加到指定的业务VS中时,所述匹配规则包括的ONU的处理动作还包括:In another example, when the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS, the processing action of the ONU included in the matching rule is also include:
将业务配置信息发送给ONU。Send service configuration information to the ONU.
在另一个示例中,所述至少一个匹配规则具有优先级;所述匹配模块具体用于:In another example, the at least one matching rule has a priority; the matching module is specifically configured to:
当所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则中的多个候选匹配规则均匹配成功时,所述OLT根据所述多个候选匹配规则的优先级,确定优先级最高的候选匹配规则为所述目标匹配规则。When the matching type field of the ONU to be matched matches multiple candidate matching rules in the at least one matching rule, the OLT determines the highest priority based on the priorities of the multiple candidate matching rules. The candidate matching rule is the target matching rule.
本申请实施例提供的光网络单元的管理方法和装置,包括:OLT获取至少一个匹配规则,该匹配规则包括ONU的匹配类型字段与ONU的处理操作的对应关系,OLT获取待匹配的ONU的匹配类型字段,将待匹配的ONU的匹配类型字段与该至少一个匹配规则进行匹配,得到目标匹配规则,OLT执行目标匹配规则中包括的ONU的处理操作。所述方法能够自动将ONU添加到对应的VS或者自动将ONU的信息上报到对应的VS。The method and device for managing an optical network unit provided in the embodiments of the present application include: the OLT obtains at least one matching rule, the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU, and the OLT obtains a match of the ONU to be matched The type field matches the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule, and the OLT performs a processing operation of the ONU included in the target matching rule. The method can automatically add the ONU to the corresponding VS or automatically report the information of the ONU to the corresponding VS.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为光接入网的一种示意图;FIG. 1 is a schematic diagram of an optical access network;
图2为物理接入网和虚拟接入网的一种虚拟化示意图;2 is a schematic diagram of virtualization of a physical access network and a virtual access network;
图3为物理接入网和虚拟接入网的另一种虚拟化示意图;3 is another schematic diagram of virtualization of a physical access network and a virtual access network;
图4为本发明实施例一提供的ONU的管理方法的流程图;4 is a flowchart of an ONU management method provided by Embodiment 1 of the present invention;
图5为本发明实施例二提供的ONU的管理方法的流程图;FIG. 5 is a flowchart of an ONU management method provided by Embodiment 2 of the present invention; FIG.
图6为本申请实施例三提供的光网络单元的管理装置;FIG. 6 is a management device of an optical network unit provided in Embodiment 3 of the present application; FIG.
图7为本申请实施例四提供的OLT的结构示意图。FIG. 7 is a schematic structural diagram of an OLT provided in Embodiment 4 of the present application.
具体实施方式detailed description
本申请提供一种光网络单元的管理方法,本申请的方法应用在光接入网中,图1为光接入网的一种示意图,如图1所示,三个ONU通过ODN连接到同一个OLT,OLT与网络连接,一个ONU可以连接多个终端设备,例如手机、固定电话、平板电脑、个人电脑(personal computer,PC)、移动基站等,终端设备可以进行语音、上网、视频等业务。需要说明的是,ONU也可以称为光网络终端(Optical Network Termination,ONT),或者,光接入网中同时存在ONU和ONT,ONU和ONT的功能相同。This application provides a method for managing an optical network unit. The method of this application is applied to an optical access network. FIG. 1 is a schematic diagram of the optical access network. As shown in FIG. 1, three ONUs are connected to the same network through an ODN. One OLT, the OLT is connected to the network, and one ONU can connect multiple terminal devices, such as mobile phones, fixed phones, tablet computers, personal computers (PCs), and mobile base stations. Terminal devices can perform voice, Internet, and video services. . It should be noted that the ONU may also be referred to as an Optical Network Termination (ONT), or an ONU and an ONT coexist in the optical access network, and the functions of the ONU and the ONT are the same.
OLT是光接入网的核心部件,相当于传统通信网中的交换机或路由器,同时也是一个多业务提供平台。OLT一般放置在局端,提供面向用户的PON的光纤接口。它主要的功能是:上联上层网络,完成PON网络的上行接入;通过ODN网络(由光纤和无源分光器组成)下连用户端设备ONU,实现对ONU的控制、管理和测距等功能。The OLT is a core component of the optical access network, which is equivalent to a switch or router in a traditional communication network, and is also a multi-service providing platform. The OLT is generally placed at the central office and provides a user-oriented PON fiber interface. Its main function is: uplink the upper-layer network to complete the uplink access of the PON network; connect the user-end device ONU through the ODN network (composed of optical fiber and passive optical splitter) to realize the control, management and ranging of the ONU Features.
ONU是光网络中的用户端设备,放置在用户端,与OLT配合使用,实现以太网二层、三层功能,为用户提供语音、数据和多媒体业务。它主要的功能是:选择接收OLT发送的数据;响应OLT发出的管理命令,并作相应的响应;对用户的以太网数据进行缓存,并在OLT分配的发送时隙口中向上行方向发送。ONU is a user-end device in the optical network. It is placed on the user end and used in conjunction with the OLT to implement Layer 2 and Layer 3 functions of the Ethernet and provide users with voice, data and multimedia services. Its main function is: choose to receive the data sent by the OLT; respond to the management command sent by the OLT and respond accordingly; buffer the user's Ethernet data and send it in the upstream direction in the transmission slot allocated by the OLT.
光接入网提供的业务可以分为3大类:家庭业务、企业业务和运营商业务。光接入网的运营商分为3种,第一种是基础设施提供商,负责基础工程建设,提供通信网络的硬件和相关的软件设施;第二种是基础业务供应商,负责为家庭和企业提供基础业务;第三种是基础业务承包商,也称为虚拟运营商,他们没有自己的基础业务,而是从基础业务供应商这里批发带宽和服务,然后零售给广大用户。The services provided by the optical access network can be divided into three categories: home services, enterprise services, and operator services. There are three types of operators of optical access networks. The first is an infrastructure provider who is responsible for infrastructure construction and provides hardware and related software facilities for the communication network. The second is a basic service provider who is responsible for Enterprises provide basic services; the third is a basic business contractor, also known as a virtual operator. They do not have their own basic business, but instead wholesale bandwidth and services from the basic service provider, and then retail to a large number of users.
虚拟运营商可以将一个物理接入网划分为多个虚拟接入网(Virtual Access Network,VAN)。每个虚拟接入网分配独立的接入资源和上行资源,可以单独进行业务配置和运维。每个虚拟接入网对应一个或多个虚拟***(Virtual System,VS),VS根据用途可以分为管理VS和业务VS,管理VS用于公共基础管理,业务VS用于管理一种业务。A virtual operator can divide a physical access network into multiple virtual access networks (Virtual Access Networks, VANs). Each virtual access network is assigned independent access resources and uplink resources, which can be used for service configuration and operation and maintenance. Each virtual access network corresponds to one or more virtual systems (Virtual Systems, VSs). VSs can be divided into management VSs and service VSs, management VSs are used for public basic management, and business VSs are used to manage a service according to their uses.
图2为物理接入网和虚拟接入网的一种虚拟化示意图,如图2所示,该物理接入网共有4中业务:光纤到户(Fiber TO The Home,FTTH)业务、光纤到移动端(Fiber TO The Mobile,FTTM)业务、光纤到办公室(Fiber TO The Office,FTTO)业务、光纤到建筑/路边(Fiber TO The Building/Curb,FTTB/C)。其中,FTTM业务和FTTB/C业务通过多链路聚合(Multi-linkTrunking,MDU)接入到OLT。Figure 2 is a schematic diagram of the virtualization of the physical access network and the virtual access network. As shown in Figure 2, the physical access network has four services: fiber-to-the-home (FTTH) services, and Mobile (Fiber, The Mobile, FTTM) services, Fiber-to-the-Office (FTTO) services, Fiber-to-the-Building / Curb (FTTB / C). Among them, the FTTM service and the FTTB / C service are connected to the OLT through Multi-link Trunking (MDU).
一个物理接入网被虚拟化为4个VAN:VAN1、VAN2、VAN3和VAN4,4个VAN分别接入OLT,在虚拟化时可以根据PON端口和以太网端口划分VAN,还可以根据以太网端口+虚拟局域网(Virtual Local Area Network,VLAN)划分VAN。图2所示物理接入网中根据PON端口和以太网端口划分VAN,物理接入网中共有两个 GPON端口以及两个快速以太网(Fast Ethernet,FE)/千兆以太网(Gigabit Ethernet,GE)端口,因此,将物理接入网虚拟化为4个VAN,虚拟化后的4个VAN分别处理一种业务,VAN1处理FTTH业务,VAN2处理FTTM业务,VAN3处理FTTO业务,VAN4处理FTTB/C业务。当然,以太网端口的速率不限于前兆,还可以是10GE或者更高的速率。A physical access network is virtualized into four VANs: VAN1, VAN2, VAN3, and VAN4. The four VANs are respectively connected to the OLT. During virtualization, the VANs can be divided according to the PON port and the Ethernet port, and can also be based on the Ethernet port. + Virtual Local Area Network (VLAN) divides VAN. The VAN is divided according to the PON port and the Ethernet port in the physical access network shown in Figure 2. There are two GPON ports and two Fast Ethernet (FE) / Gigabit Ethernet (GigabitEthernet, GE) port, therefore, the physical access network is virtualized into 4 VANs. The virtualized 4 VANs process one service, VAN1 processes FTTH services, VAN2 processes FTTM services, VAN3 processes FTTO services, and VAN4 processes FTTB / C business. Of course, the speed of the Ethernet port is not limited to the precursor, it can also be 10GE or higher.
VAN还可以根据ONU划分或者ONU的端口划分,图3为物理接入网和虚拟接入网的另一种虚拟化示意图,如图3所示,物理接入网中共有三类ONU:公客ONU、商客ONU和村居ONU,三类ONU通过ODN与OLT连接,OLT将物理接入网虚拟化为三个VAN:商客VAN、公客VAN和村居VAN,三个VAN分别处理商客业务、公客业务和村居业务,商客VAN可以通过独立的4K VLAN与专线业务路由器(Service Router,SR)连接,专线SR接入骨干网络,公客VAN可以通过独立的4K VLAN与汇聚交换机连接,该汇聚交换机通过SR(IPTV或语音)和宽带远程接入服务器(Broadband Remote Access Serve,BRAS)接入骨干网络,村居VAN可以通过独立的4K VLAN与村居专用交换机连接,村居专用交换机连接到村居独立骨干网络。VAN can also be divided according to ONU or ONU port. Figure 3 is another schematic diagram of the physical access network and virtual access network. As shown in Figure 3, there are three types of ONUs in the physical access network: public guest ONU The merchant ONU and the village ONU. The three types of ONUs are connected to the OLT through the ODN. The OLT virtualizes the physical access network into three VANs: the merchant VAN, the public VAN, and the village VAN. Business, public guest service and village business, the merchant VAN can be connected to the dedicated line service router (SR) through an independent 4K VLAN, the private line SR is connected to the backbone network, and the public VAN can be connected to the aggregation switch through an independent 4K VLAN Connection, the aggregation switch accesses the backbone network through SR (IPTV or voice) and broadband remote access server (Broadband Remote Access Server, BRAS). The village VAN can be connected to the village private switch through an independent 4K VLAN, and the village private The switch is connected to the village's independent backbone network.
现有技术中,当有新的ONU上电时,需要人工将ONU的信息添加到对应的业务VS中,ONU的管理效率低。为了解决现有技术的问题,本发明实施例提供一种ONU的管理方法,图4为本发明实施例一提供的ONU的管理方法的流程图,如图4所示,本实施例提供的方法包括以下步骤:In the prior art, when a new ONU is powered on, the information of the ONU needs to be manually added to the corresponding service VS, and the management efficiency of the ONU is low. In order to solve the problems of the prior art, an embodiment of the present invention provides an ONU management method. FIG. 4 is a flowchart of an ONU management method provided in Embodiment 1 of the present invention. As shown in FIG. 4, the method provided by this embodiment It includes the following steps:
步骤S101、OLT获取至少一个匹配规则,该匹配规则包括ONU的匹配类型字段与ONU的处理操作的对应关系。Step S101: The OLT obtains at least one matching rule, where the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU.
该至少一个匹配规则可以是预先由人工配置在OLT上的,或者,由网络管理***配置给OLT,可以为不同的VS配置不同的匹配规则,VS包括管理VS和业务VS,业务VS用于处理业务,管理VS用于公共基础管理。通常情况下管理VS的编号为VS0,业务VS按照某种规则进行编号,不同业务VS具有不同的用途。The at least one matching rule may be manually configured on the OLT in advance, or may be configured by the network management system to the OLT, and different matching rules may be configured for different VSs. The VS includes a management VS and a service VS, and the service VS is used for processing. Business, management VS is used for public basic management. In general, the management VS is numbered VS0, and the service VSs are numbered according to certain rules. Different service VSs have different purposes.
每个匹配规则包括ONU的匹配类型字段和ONU的处理操作的对应关系,ONU的匹配类型字段也可以称为匹配字段或匹配条件,ONU的处理操作也称为动作(action)或者动作集,即ONU的匹配类型字段对应的ONU的处理操作可以为一个或者多个操作(或者动作)。Each matching rule includes the correspondence between the match type field of the ONU and the processing operation of the ONU. The match type field of the ONU can also be called a match field or a match condition. The processing operation of the ONU is also called an action or an action set. The processing operation of the ONU corresponding to the match type field of the ONU may be one or more operations (or actions).
该至少一个匹配规则中包括默认匹配规则,当该至少一个匹配规则中除默认匹配规则外的其余匹配规则均匹配失败时,匹配到默认匹配规则。其中,匹配规则中ONU的处理包括以下动作中的任意一种:将ONU添加到指定的业务VS中、禁止将ONU添加到指定的业务VS中、将ONU添加到管理VS或者将ONU的信息上报到管理VS。The at least one matching rule includes a default matching rule. When the matching rules other than the default matching rule in the at least one matching rule fail to match, the default matching rule is matched. Among them, the processing of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, adding the ONU to the management VS, or reporting the ONU information To Management VS.
示例性的,该匹配规则包括的ONU的匹配类型字段包括以下信息中的任意一种或者多种组合:ONU的设备认证信息、ONU的字符认证信息、ONU的设备标识信息和ONU的网际协议(Internet Protocol,IP)地址信息。Exemplarily, the matching type field of the ONU included in the matching rule includes any one or more of the following information: device authentication information of the ONU, character authentication information of the ONU, device identification information of the ONU, and an Internet protocol of the ONU Internet Protocol (IP) address information.
其中,匹配规则中包括的ONU的设备认证信息包括以下信息中的任意一种:序列号(Serial Number,SN)的范围、媒体介入控制(Media Access Control,MAC)地址的范围、起始SN以及ONU的数量、起始MAC地址以及ONU的数量。例如,SN的范围可以通过如下两种方式表示:(1)SN的部分字段,假设SN占用12位,则SN 的范围可以表示为AAAA-XXXXXXXX,XXXXXXXX表示可以取任意值,X的取回范围为0-9,即匹配类型字段为ONU的SN的前4位为AAAA,SN的后8位的取值可以任意。(2)AAAA00000000-AAAA99999999,其中,AAAA-XXXXXXXX与AAAA00000000-AAAA99999999表示的范围相同。同理本申请实施例中提到的其他字段的范围都可以通过上述两种方式表示,例如,MAC地址的范围表示为BBBB-XXXXXXXX。The device authentication information of the ONU included in the matching rule includes any one of the following information: the range of the serial number (SN), the range of the media access control (MAC) address, the starting SN, and Number of ONUs, starting MAC address, and number of ONUs. For example, the range of the SN can be expressed in the following two ways: (1) Some fields of the SN. Assuming that the SN occupies 12 bits, the range of the SN can be expressed as AAAA-XXXXXXXX, XXXXXXXX indicates that it can take any value, and the range of X is retrieved. It is 0-9, that is, the first 4 bits of the SN whose match type field is ONU is AAAA, and the last 8 bits of the SN can be arbitrarily selected. (2) AAAA00000000-AAAA99999999, where the ranges indicated by AAAA-XXXXXXXX and AAAA00000000-AAAA99999999 are the same. Similarly, the ranges of other fields mentioned in the embodiments of the present application can be expressed in the above two ways. For example, the range of the MAC address is represented as BBBB-XXXXXXXX.
通常ONU的SN和MAC地址连续编号,根据ONU的起始SN以及ONU的数量可以确定一个SN范围,当匹配类型字段为起始SN和ONU的数量时,假设ONU的数量为N,起始SN为AAAA111111111,则该匹配类型字段表示的SN的范围为从AAAA11111111开始后的连续N个ONU。同理,当匹配类型字段为起始MAC地址和ONU的数量时,假设ONU的数量为M,起始MAC地址为BBBB000000000,则该匹配类型字段表示的SN的范围为BBBB0000000000开始后的连续M个ONU。Generally, the SN and MAC address of the ONU are consecutively numbered. A range of SNs can be determined based on the starting SN of the ONU and the number of ONUs. When the match type field is the starting SN and the number of ONUs, it is assumed that the number of ONUs is N and the starting SN Is AAAA111111111, the range of SNs indicated by this match type field is N consecutive ONUs starting from AAAA11111111. Similarly, when the matching type field is the starting MAC address and the number of ONUs, assuming that the number of ONUs is M and the starting MAC address is BBBB000000000, the range of the SN represented by the matching type field is M consecutive BBBB0000000000 beginning ONU.
该匹配规则中包括的ONU的字符认证信息包括以下信息中的任意一种:ONU的密码(password)的范围、ONU的LOID的范围、ONU的注册码的范围。The character authentication information of the ONU included in the matching rule includes any one of the following information: the range of the password of the ONU, the range of the LOID of the ONU, and the range of the registration code of the ONU.
该匹配规则中包括的ONU的设备标识信息包括以下信息中的任意一种:ONU的厂商标识、ONU的设备标识(equipment ID)、ONU的类型(model)。The device identification information of the ONU included in the matching rule includes any one of the following information: the manufacturer identification of the ONU, the equipment ID of the ONU, and the model of the ONU.
该匹配规则中包括的ONU的IP地址信息可以为:IP地址的范围、起始IP地址和ONU的数量。The IP address information of the ONUs included in the matching rule may be: the range of IP addresses, the starting IP address, and the number of ONUs.
该至少一个匹配规则可以以列表的形式存储在OLT中,表一为匹配规则的一种示意图,表一如下所示:The at least one matching rule may be stored in the OLT in the form of a list. Table 1 is a schematic diagram of the matching rule. Table 1 is as follows:
表一Table I
Figure PCTCN2018101457-appb-000001
Figure PCTCN2018101457-appb-000001
表一所示匹配规则表中匹配类型字段为SN的范围,表一中共包括5个匹配规则,最后一个匹配规则为默认匹配规则,该默认匹配规则的匹配类型字段可以用通配符******表示。The match type field in the match rule table shown in Table 1 is the range of SN. Table 1 includes a total of 5 match rules. The last match rule is the default match rule. The match type field of the default match rule can use the wildcard ***** * Indicates.
当匹配类型字段为ONU的类型时,该匹配规则用于将相同类型的ONU添加到对应的业务VS,不同业务VS管理不同类型的ONU,而不同类型的ONU接入的业务不同,因此,也可以认为不同VS管理不同业务。表二为匹配规则的又一种示意图,表二如下所示:When the match type field is the type of the ONU, the matching rule is used to add ONUs of the same type to the corresponding service VS. Different service VSs manage different types of ONUs, and different types of ONUs access different services. It can be considered that different VSs manage different services. Table 2 is another schematic diagram of the matching rules. Table 2 is as follows:
表二Table II
匹配类型字段Match type field ONU的处理操作Processing operations of the ONU
ONU类型1ONU type 1 匹配则将ONU添加到VS1Match ONU to VS1
ONU类型2ONU type 2 匹配则将ONU添加到VS2Match ONU to VS2
ONU类型3ONU type 3 匹配则将ONU添加到VS3Matches then adds ONU to VS3
ONU类型4ONU type 4 匹配则将ONU添加到VS4Matches then adds ONU to VS4
如表二所示,OLT上配置有4个匹配规则,该4个匹配规则分别用于将ONU添加到不同的业务VS,不同类型的ONU用于接入不同的业务。示例性的,ONU的类型可以为HG8245或MA5694S,当ONU的类型为HG8245时,根据该匹配规则表将该ONU添加到VS1,当ONU的类型为MA5694S时,根据该匹配规则表将该ONU添加到VS2,其中,类型为HG8245的ONU用于接入FTTH业务,类型为MA5694S的ONU用于接入FTTM业务。As shown in Table 2, four matching rules are configured on the OLT. The four matching rules are used to add ONUs to different services VS, and different types of ONUs are used to access different services. Exemplarily, the type of the ONU may be HG8245 or MA5694S. When the type of the ONU is HG8245, the ONU is added to VS1 according to the matching rule table. When the type of the ONU is MA5694S, the ONU is added according to the matching rule table. To VS2, the ONU of type HG8245 is used to access FTTH services, and the ONU of type MA5694S is used to access FTTM services.
表一和表二所示匹配规则中,匹配类型字段都为单一的字段(例如SN或ONU类型),当然,该匹配类型字段也可以为多个字段的组合,例如,匹配类型字段为:ONU类型1,且SN为AAAA-XXXXXX;或者,匹配类型字段为:ONU类型2,且MAC地址为BBBB-XXXXXX;或者,匹配类型字段为:厂商A,且IP地址为10.9.8.2起的64个ONU。In the matching rules shown in Tables 1 and 2, the match type field is a single field (such as SN or ONU type). Of course, the match type field can also be a combination of multiple fields. For example, the match type field is: ONU Type 1 and SN is AAAA-XXXXXX; or, the match type field is: ONU type 2 and the MAC address is BBBB-XXXXXX; or, the match type field is: vendor A and the IP address is 64 from 10.9.8.2 ONU.
可选的,该至少一个匹配规则具有优先级,匹配规则的优先级可以在配置该匹配规则时显示的指示。表三为具有优先级的匹配规则表的示意图,表三如下所示:Optionally, the at least one matching rule has a priority, and the priority of the matching rule may be an indication displayed when the matching rule is configured. Table 3 is a schematic diagram of the matching rule table with priority. Table 3 is as follows:
表三Table three
Figure PCTCN2018101457-appb-000002
Figure PCTCN2018101457-appb-000002
可选的,优先级列的取值越大优先级越高,当然,也可以取值越小优先级越高,本实施例不对此进行限制。Optionally, the larger the value of the priority column, the higher the priority. Of course, the smaller the value, the higher the priority. This embodiment does not limit this.
可选的,匹配规则的优先级也可以按照匹配规则的配置顺序进行生效。例如,先配置的匹配规则的优先级最高,依次类推,最后配置的匹配规则的优先级最低,例如表一和表二所示的匹配规则表中,位于表的最前的匹配规则的优先级最高,位于表最后的匹配规则的优先级最低。Optionally, the priority of the matching rules can also take effect according to the configuration order of the matching rules. For example, the matching rule configured first has the highest priority, and so on, and the matching rule configured last has the lowest priority. For example, in the matching rule tables shown in Tables 1 and 2, the highest matching rule is the highest in the table The matching rule at the end of the table has the lowest priority.
步骤S102、OLT获取待匹配的ONU的匹配类型字段。Step S102: The OLT obtains a matching type field of the ONU to be matched.
ONU上电后,ONU向OLT进行注册,注册过程中ONU将自身的信发送给OLT,ONU的信息包括以下信息中一个或多个:ONU的设备认证信息、ONU的字符认证信息、ONU的设备标识信息和ONU的IP地址,OLT从ONU的信息中获取匹配类型字段。After the ONU is powered on, the ONU registers with the OLT. During the registration process, the ONU sends its own letter to the OLT. The ONU information includes one or more of the following information: ONU's device authentication information, ONU's character authentication information, and ONU's equipment. The identification information and the IP address of the ONU. The OLT obtains the matching type field from the information of the ONU.
步骤S103、OLT将待匹配的ONU的匹配类型字段与该至少一个匹配规则进行匹配,得到目标匹配规则。Step S103: The OLT matches the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule.
当匹配规则没有优先级时,按照匹配规则的顺序进行匹配,当待匹配的ONU的匹配类型字段与某个匹配规则的匹配类型字段匹配时,确定该匹配成功的匹配规则为 目标匹配规则,则停止匹配,后续的匹配规则不再进行匹配。其中,待匹配的ONU的匹配类型字段与匹配规则的匹配类型字段匹配是指:待匹配的ONU的匹配类型字段与匹配规则的匹配类型字段相同,或者,待匹配的ONU的匹配类型字段属于匹配规则的匹配类型字段。也可以将待匹配的ONU的匹配类型字段与所有匹配规则均匹配,如果只有一个匹配规则匹配成功,则确定该匹配规则为目标匹配规则,如果有多个匹配规则匹配成功,则从多个匹配规则中选择一个匹配规则作为目标匹配规则。When the matching rule has no priority, the matching is performed in the order of the matching rules. When the matching type field of the ONU to be matched matches the matching type field of a certain matching rule, it is determined that the matching successful matching rule is the target matching rule. Stop matching. Subsequent matching rules will no longer match. The matching of the matching type field of the ONU to be matched with the matching type field of the matching rule means that the matching type field of the ONU to be matched is the same as the matching type field of the matching rule, or that the matching type field of the ONU to be matched belongs to the match. The match type field for the rule. It is also possible to match the match type field of the ONU to be matched with all matching rules. If only one matching rule is successfully matched, the matching rule is determined to be the target matching rule. If multiple matching rules are successfully matched, then multiple matching rules are used. Select a matching rule as the target matching rule among the rules.
当匹配规则具有优先级时,可以按照优先级从高到低对匹配规则进行匹配,当待匹配的ONU的匹配类型字段与某个匹配规则的匹配类型字段匹配时,确定该匹配成功的匹配规则为目标匹配规则,则停止匹配,后续的匹配规则不再进行匹配。当然,也可以不按照优先级从高到底匹配,而是将待匹配的ONU的匹配类型字段与所有匹配规则都进行匹配。当待匹配的ONU的匹配类型字段与该至少一个匹配规则中的一个候选匹配规则均匹配成功时,确定该匹配成功的匹配规则为目标匹配规则。当待匹配的ONU的匹配类型字段与该至少一个匹配规则中的多个候选匹配规则均匹配成功时,OLT根据该多个候选匹配规则的优先级,确定优先级最高的候选匹配规则为目标匹配规则。When the matching rule has a priority, the matching rule can be matched according to the priority from high to low. When the match type field of the ONU to be matched matches the match type field of a certain match rule, the matching rule that the match succeeds is determined. If the target matches the rule, the matching is stopped, and subsequent matching rules are no longer matched. Of course, it is not necessary to match from the highest to the lowest according to the priority, but to match the matching type field of the ONU to be matched with all matching rules. When both the matching type field of the ONU to be matched and one candidate matching rule in the at least one matching rule are successfully matched, it is determined that the matched matching rule is the target matching rule. When the matching type field of the ONU to be matched matches multiple candidate matching rules in the at least one matching rule, the OLT determines the candidate matching rule with the highest priority as the target match according to the priorities of the multiple candidate matching rules. rule.
步骤S104、OLT执行目标匹配规则中包括的ONU的处理操作。Step S104: The OLT performs a processing operation of the ONU included in the target matching rule.
以表一所示匹配规则为例,如下待匹配的ONU的处理操作如表四所示:Taking the matching rules shown in Table 1 as an example, the processing operations of the ONUs to be matched are shown in Table 4:
表四Table four
Figure PCTCN2018101457-appb-000003
Figure PCTCN2018101457-appb-000003
表一所示匹配规则中匹配类型的字段为ONU的SN,因此,待匹配的ONU的匹配类型字段为SN,分别将表四所示的待匹配的ONU的SN与表一所示的匹配规则进行匹配。以SN为AAAA-12345678的待匹配的ONU为例,该待匹配的ONU的SN属于表一所示SN为AAAA-XXXXXXXX的匹配规则,则执行SN为AAAA-XXXXXXXX的匹配规则的ONU的处理操作,其他待匹配的ONU的匹配过程类型,这里不再赘述。The matching type field in the matching rule shown in Table 1 is the SN of the ONU. Therefore, the matching type field of the ONU to be matched is SN, and the SN of the ONU to be matched shown in Table 4 and the matching rule shown in Table 1 are respectively Make a match. Take the ONU to be matched whose SN is AAAA-12345678 as an example. The SN of the ONU to be matched belongs to the matching rule whose SN is AAAA-XXXXXXXX shown in Table 1. Then, the ONU of the matching rule whose SN is AAAA-XXXXXXXX is executed. , Other types of matching processes of the ONUs to be matched are not repeated here.
以表三所示匹配规则为例,如下待匹配的ONU的匹配结果如表五所示:Taking the matching rules shown in Table 3 as an example, the matching results of the ONUs to be matched are shown in Table 5 below:
表五Table five
Figure PCTCN2018101457-appb-000004
Figure PCTCN2018101457-appb-000004
Figure PCTCN2018101457-appb-000005
Figure PCTCN2018101457-appb-000005
表三所示匹配规则中匹配类型的字段为ONU的SN、IP地址和ONU的设备类型,因此,待匹配的ONU的匹配类型字段为SN、IP地址和ONU的设备类型,将表五所示的待匹配的ONU的匹配类型字段与表三所示的匹配规则进行匹配,ONU的处理操作如表五所示。The match type fields in the matching rule shown in Table 3 are the SN, IP address, and ONU device type of the ONU. Therefore, the match type fields of the ONU to be matched are the SN, IP address, and ONU device type. The matching type field of the ONU to be matched is matched with the matching rule shown in Table 3. The processing operation of the ONU is shown in Table 5.
本实施例提供的方法,OLT获取至少一个匹配规则,该匹配规则包括ONU的匹配类型字段与ONU的处理操作的对应关系,OLT获取待匹配的ONU的匹配类型字段,将待匹配的ONU的匹配类型字段与该至少一个匹配规则进行匹配,得到目标匹配规则,OLT执行目标匹配规则中包括的ONU的处理操作。所述方法能够自动将ONU添加到对应的VS或者自动将ONU的信息上报到对应的VS。In the method provided by this embodiment, the OLT obtains at least one matching rule, and the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU. The type field is matched with the at least one matching rule to obtain a target matching rule, and the OLT performs a processing operation of the ONU included in the target matching rule. The method can automatically add the ONU to the corresponding VS or automatically report the information of the ONU to the corresponding VS.
在实施例一的基础上,可选的,当匹配规则中ONU的处理动作包括将ONU添加到指定的业务VS中或者禁止将ONU添加到指定的业务VS中时,该匹配规则包括的ONU的处理动作还包括:将业务配置信息发送给OLT,相应的,OLT在执行目标匹配规则的ONU的处理动作时,先将ONU添加到指定的业务VS,在将ONU的业务配置信息发送给ONU。其中,业务配置信息可以由人工预先配置在OLT上,业务配置信息包括以下配置信息中的任意一种或多种:OLT VLAN配置信息、OLT的流量配置信息、OLT的业务流配置信息、动态宽带分配(Dynamic Bandwidth Allocation,DBA)配置信息、ONU线路配置信息和ONU业务配置信息等。OLT在根据匹配规则将ONU添加到指定的业务VS后,将ONU的业务配置信息发送给ONU。图5为本发明实施例二提供的ONU的管理方法的流程图,如图5所示,本实施例提供的方法包括以下步骤:Based on the first embodiment, optionally, when the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS, the ONU included in the matching rule The processing action also includes: sending service configuration information to the OLT. Correspondingly, when the OLT performs the processing action of the ONU of the target matching rule, the ONU is first added to the designated service VS, and the ONU service configuration information is sent to the ONU. The service configuration information can be manually configured on the OLT in advance. The service configuration information includes any one or more of the following configuration information: OLT VLAN configuration information, OLT traffic configuration information, OLT service flow configuration information, and dynamic broadband. Allocation (Dynamic Bandwidth, Allocation, DBA) configuration information, ONU line configuration information, ONU service configuration information, etc. After adding the ONU to the designated service VS according to the matching rule, the OLT sends the service configuration information of the ONU to the ONU. FIG. 5 is a flowchart of an ONU management method provided in Embodiment 2 of the present invention. As shown in FIG. 5, the method provided in this embodiment includes the following steps:
步骤S201、OLT接收预配置的至少一个匹配规则。Step S201: The OLT receives at least one pre-configured matching rule.
该匹配规则包括ONU的匹配类型字段与ONU的处理操作的对应关系,该至少一个配置规则可以是配置工程师手动配置在OLT上的,该匹配规则的描述参照实施例一,这里不再赘述。The matching rule includes a correspondence between a matching type field of the ONU and a processing operation of the ONU. The at least one configuration rule may be manually configured by the configuration engineer on the OLT. For a description of the matching rule, refer to the first embodiment, and details are not described herein again.
步骤S202、OLT接收预配置的至少一个业务VS的业务配置信息。Step S202: The OLT receives service configuration information of at least one pre-configured service VS.
该至少一个业务VS的业务配置信息可以是配置工程师手动配置在OLT上的每个业务。业务配置信息包括以下配置信息中的任意一种或多种:OLT VLAN配置信息、OLT的流量配置信息、OLT的业务流配置信息、DBA配置信息、ONU线路配置信息和ONU业务配置等。表六为业务配置项与配置数据的一种示意图,表六如下所示:The service configuration information of the at least one service VS may be each service manually configured by the configuration engineer on the OLT. The service configuration information includes any one or more of the following configuration information: OLT VLAN configuration information, OLT traffic configuration information, OLT service flow configuration information, DBA configuration information, ONU line configuration information, and ONU service configuration. Table 6 is a schematic diagram of service configuration items and configuration data. Table 6 is as follows:
表六Table six
Figure PCTCN2018101457-appb-000006
Figure PCTCN2018101457-appb-000006
Figure PCTCN2018101457-appb-000007
Figure PCTCN2018101457-appb-000007
步骤S203、ONU上电。Step S203: The ONU is powered on.
当网络中新增加一个ONU时,现场工程师对ONU进行上电,也可以远程上电,本实施例不对此进行限制。When an ONU is newly added to the network, the field engineer can power on the ONU or remotely, which is not limited in this embodiment.
步骤S204、ONU和OLT进行注册流程。In step S204, the ONU and the OLT perform a registration process.
ONU上电后,ONU向OLT进行注册,注册过程中ONU将自己的信息上报给OLT,注册流程中可能包括一条或多条信令,示例性的,ONU的注册流程为:OLT周期性广播GATE发现消息,ONU收到GATE消息后,如果ONU发现自身还没有注册到OLT,则在指定的发送时间向OLT发送注册请求消息,ONU可以将自身信息携带在注册请求消息中发送给OLT。OLT接收到注册请求消息后,为ONU分配一个或多个逻辑链路标识(logical link identity,LLID)作为ONU的标识,并向ONU返回注册消息。OLT还想ONU发送nomal GATE授权消息,ONU接收到GATE授权消息后,向OLT发送注册确认消息,注册流程结束。After the ONU is powered on, the ONU registers with the OLT. During the registration process, the ONU reports its information to the OLT. The registration process may include one or more signalings. For example, the ONU registration process is: OLT broadcasts GATE periodically Discovery message. After the ONU receives the GATE message, if the ONU finds that it has not registered with the OLT, it sends a registration request message to the OLT at the specified sending time, and the ONU can send its own information to the OLT with the registration request message. After receiving the registration request message, the OLT allocates one or more logical link identity (LLID) to the ONU as the identity of the ONU, and returns a registration message to the ONU. The OLT also wants the ONU to send a nominal GATE authorization message. After receiving the GATE authorization message, the ONU sends a registration confirmation message to the OLT, and the registration process ends.
步骤S205、OLT获取待匹配的ONU的匹配类型字段,将待匹配的ONU的匹配类型字段与该至少一个匹配规则进行匹配,得到目标匹配规则。Step S205: The OLT obtains a matching type field of the ONU to be matched, and matches the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule.
步骤S206、OLT执行目标匹配规则中包括的ONU的处理操作。Step S206: The OLT performs a processing operation of the ONU included in the target matching rule.
步骤S207、OLT根据ONU所属的业务VS和预配置的至少一个业务VS的业务配置信息,确定ONU的业务配置信息。Step S207: The OLT determines the service configuration information of the ONU according to the service VS to which the ONU belongs and the service configuration information of at least one pre-configured service VS.
步骤S208、OLT将业务配置信息发送给ONU。Step S208: The OLT sends service configuration information to the ONU.
本实施例中,通过在OLT上预先配置业务VS的业务配置信息,后续将ONU添加到业务VS后,将VS的业务配置信息发送给ONU,从而能够实现自动配置业务信息。In this embodiment, the service configuration information of the service VS is pre-configured on the OLT, and the ONU is subsequently added to the service VS, and then the service configuration information of the VS is sent to the ONU, so that the service information can be automatically configured.
图6为本申请实施例三提供的光网络单元的管理装置,如图6所示,本实施例的装置包括:FIG. 6 is an apparatus for managing an optical network unit provided in Embodiment 3 of the present application. As shown in FIG. 6, the apparatus in this embodiment includes:
获取模块11,用于获取至少一个匹配规则,所述匹配规则包括ONU的匹配类型字段与ONU的处理操作的对应关系;The obtaining module 11 is configured to obtain at least one matching rule, where the matching rule includes a correspondence between a match type field of the ONU and a processing operation of the ONU;
所述获取模块11,还用于获取待匹配的ONU的匹配类型字段;The obtaining module 11 is further configured to obtain a matching type field of an ONU to be matched;
匹配模块12,用于将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则;A matching module 12 configured to match a matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule;
执行模块13,用于执行所述目标匹配规则中包括的ONU的处理操作。The execution module 13 is configured to execute a processing operation of an ONU included in the target matching rule.
在一个示例中,所述匹配规则用于将相同类型的ONU添加到对应的业务虚拟***VS中,不同业务VS管理不同类型的ONU。In one example, the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs.
在另一个示例中,所述至少一个匹配规则中包括默认匹配规则,当所述至少一个匹配规则中除所述默认匹配规则外的其余匹配规则均匹配失败时,匹配到所述默认匹配规则。In another example, the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
在另一个示例中,所述匹配规则中ONU的处理动作包括以下动作中的任意一种:将ONU添加到指定的业务VS中、禁止将ONU添加到指定的业务VS中、将ONU添加到管理VS或者将ONU的信息上报到管理VS。In another example, the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
在另一个示例中,当所述匹配规则中ONU的处理动作包括将ONU添加到指定的业务VS中或者禁止将ONU添加到指定的业务VS中时,所述匹配规则包括的ONU 的处理动作还包括:In another example, when the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS, the processing action of the ONU included in the matching rule is also include:
将业务配置信息发送给ONU。Send service configuration information to the ONU.
在另一个示例中,所述至少一个匹配规则具有优先级;所述匹配模块12具体用于:In another example, the at least one matching rule has a priority; the matching module 12 is specifically configured to:
当所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则中的多个候选匹配规则均匹配成功时,所述OLT根据所述多个候选匹配规则的优先级,确定优先级最高的候选匹配规则为所述目标匹配规则。When the matching type field of the ONU to be matched matches multiple candidate matching rules in the at least one matching rule, the OLT determines the highest priority based on the priorities of the multiple candidate matching rules. The candidate matching rule is the target matching rule.
本实施例的装置,可用于执行实施例一和实施例二的方法,具体实现方式和技术效果类似,这里不再赘述。The apparatus in this embodiment may be used to execute the methods in Embodiment 1 and Embodiment 2. Specific implementation manners and technical effects are similar, and details are not described herein again.
图7为本申请实施例四提供的OLT的结构示意图,如图7所示,本实施例提供的OLT包括处理器21、存储器22和收发器23,所述存储器33用于存储指令,所述收发器23用于和其他设备通信,所述处理器21用于执行所述存储器22中存储的指令,以使所述OLT执行如下所述方法:FIG. 7 is a schematic structural diagram of an OLT provided in Embodiment 4 of the present application. As shown in FIG. 7, the OLT provided in this embodiment includes a processor 21, a memory 22, and a transceiver 23. The memory 33 is configured to store instructions. The transceiver 23 is configured to communicate with other devices, and the processor 21 is configured to execute instructions stored in the memory 22 to enable the OLT to perform the following method:
获取至少一个匹配规则,所述匹配规则包括光网络单元ONU的匹配类型字段与ONU的处理操作的对应关系;Acquiring at least one matching rule, where the matching rule includes a correspondence between a matching type field of an optical network unit ONU and a processing operation of the ONU;
获取待匹配的ONU的匹配类型字段;Obtaining the matching type field of the ONU to be matched;
将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则;Matching the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule;
执行所述目标匹配规则中包括的ONU的处理操作。A processing operation of an ONU included in the target matching rule is performed.
在一个示例中,所述匹配规则用于将相同类型的ONU添加到对应的业务虚拟***VS中,不同业务VS管理不同类型的ONU。In one example, the matching rule is used to add ONUs of the same type to a corresponding business virtual system VS, and different business VSs manage different types of ONUs.
在另一个示例中,所述至少一个匹配规则中包括默认匹配规则,当所述至少一个匹配规则中除所述默认匹配规则外的其余匹配规则均匹配失败时,匹配到所述默认匹配规则。In another example, the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, the default matching rule is matched.
在另一个示例中,所述匹配规则中ONU的处理动作包括以下动作中的任意一种:将ONU添加到指定的业务VS中、禁止将ONU添加到指定的业务VS中、将ONU添加到管理VS或者将ONU的信息上报到管理VS。In another example, the processing action of the ONU in the matching rule includes any of the following actions: adding the ONU to the designated service VS, prohibiting the addition of the ONU to the designated service VS, and adding the ONU to the management The VS or the information of the ONU is reported to the management VS.
在另一个示例中,当所述匹配规则中ONU的处理动作包括将ONU添加到指定的业务VS中或者禁止将ONU添加到指定的业务VS中时,所述匹配规则包括的ONU的处理动作还包括:In another example, when the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS, the processing action of the ONU included in the matching rule is also include:
将业务配置信息发送给ONU。Send service configuration information to the ONU.
在另一个示例中,所述至少一个匹配规则具有优先级;In another example, the at least one matching rule has a priority;
所述将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则,具体为:Matching the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule is specifically:
当所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则中的多个候选匹配规则均匹配成功时,根据所述多个候选匹配规则的优先级,确定优先级最高的候选匹配规则为所述目标匹配规则。When the matching type field of the ONU to be matched successfully matches multiple candidate matching rules in the at least one matching rule, the candidate matching rule with the highest priority is determined according to the priorities of the multiple candidate matching rules. Match rules for the goal.
本实施例的装置,可用于执行实施例一和实施例二的方法,具体实现方式和技术效果类似,这里不再赘述。The apparatus in this embodiment may be used to execute the methods in Embodiment 1 and Embodiment 2. Specific implementation manners and technical effects are similar, and details are not described herein again.
本申请实施例五提供一种计算机可读存储介质,所述计算机可读存储介质存储有指令,当所述指令被执行时,使得计算机执行如本申请实施例一和实施例二所述的方法。Embodiment 5 of the present application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed, the computer is caused to execute the methods described in Embodiments 1 and 2 of the application. .
上述各个实施例中处理器可以是通用处理器、数字信号处理器(digital signal  processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件单元组合执行完成。软件单元可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述方法的步骤。In the above embodiments, the processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and a ready-made programmable gate array (FPGA). Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present invention may be directly embodied as being executed by a hardware decoding processor, or may be executed and completed by using a combination of hardware and software units in the decoding processor. The software unit can be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. Storage media. The storage medium is located in a memory, and the processor reads the instructions in the memory and completes the steps of the foregoing method in combination with its hardware.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware, or in the form of hardware plus software functional units.

Claims (13)

  1. 一种光网络单元的管理方法,其特征在于,An optical network unit management method is characterized in that:
    光线路终端OLT获取至少一个匹配规则,所述匹配规则包括光网络单元ONU的匹配类型字段与ONU的处理操作的对应关系;The optical line terminal OLT obtains at least one matching rule, where the matching rule includes a correspondence between a matching type field of the ONU of the optical network unit and a processing operation of the ONU;
    所述OLT获取待匹配的ONU的匹配类型字段;Obtaining, by the OLT, a matching type field of an ONU to be matched;
    所述OLT将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则;Matching, by the OLT, the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule;
    所述OLT执行所述目标匹配规则中包括的ONU的处理操作。The OLT executes a processing operation of an ONU included in the target matching rule.
  2. 根据权利要求1所述的方法,其特征在于,所述匹配规则用于将相同类型的ONU添加到对应的业务虚拟***VS中,不同业务VS管理不同类型的ONU。The method according to claim 1, wherein the matching rule is used to add ONUs of the same type to a corresponding service virtual system VS, and different services VS manage different types of ONUs.
  3. 根据权利要求1或2所述的方法,其特征在于,所述至少一个匹配规则中包括默认匹配规则,当所述至少一个匹配规则中除所述默认匹配规则外的其余匹配规则均匹配失败时,匹配到所述默认匹配规则。The method according to claim 1 or 2, wherein the at least one matching rule includes a default matching rule, and when the matching rules of the at least one matching rule except the default matching rule all fail to match To match the default matching rule.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述匹配规则中ONU的处理动作包括以下动作中的任意一种:将ONU添加到指定的业务VS中、禁止将ONU添加到指定的业务VS中、将ONU添加到管理VS或者将ONU的信息上报到管理VS。The method according to any one of claims 1 to 3, wherein the processing action of the ONU in the matching rule comprises any one of the following actions: adding the ONU to the designated service VS, and prohibiting adding the ONU To the designated service VS, add the ONU to the management VS, or report the information of the ONU to the management VS.
  5. 根据权利要求4所述的方法,其特征在于,当所述匹配规则中ONU的处理动作包括将ONU添加到指定的业务VS中或者禁止将ONU添加到指定的业务VS中时,所述匹配规则包括的ONU的处理动作还包括:The method according to claim 4, characterized in that when the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS, the matching rule The processing actions of the included ONU also include:
    将业务配置信息发送给ONU。Send service configuration information to the ONU.
  6. 根据权利要求1-4任一项所述的方法,其特征在于,所述至少一个匹配规则具有优先级;The method according to any one of claims 1-4, wherein the at least one matching rule has a priority;
    所述OLT将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则,包括:Matching, by the OLT, the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule includes:
    当所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则中的多个候选匹配规则均匹配成功时,所述OLT根据所述多个候选匹配规则的优先级,确定优先级最高的候选匹配规则为所述目标匹配规则。When the matching type field of the ONU to be matched matches multiple candidate matching rules in the at least one matching rule, the OLT determines the highest priority based on the priorities of the multiple candidate matching rules. The candidate matching rule is the target matching rule.
  7. 一种光线路终端OLT,其特征在于,包括处理器、存储器和收发器,所述存储器用于存储指令,所述收发器用于和其他设备通信,所述处理器用于执行所述存储器中存储的指令,以使所述OLT执行如下所述方法:An optical line terminal OLT, comprising a processor, a memory, and a transceiver, the memory is used to store instructions, the transceiver is used to communicate with other equipment, and the processor is used to execute the memory stored in the memory. Instructions to cause the OLT to perform the method described below:
    获取至少一个匹配规则,所述匹配规则包括光网络单元ONU的匹配类型字段与ONU的处理操作的对应关系;Acquiring at least one matching rule, where the matching rule includes a correspondence between a matching type field of an optical network unit ONU and a processing operation of the ONU;
    获取待匹配的ONU的匹配类型字段;Obtaining the matching type field of the ONU to be matched;
    将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则;Matching the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule;
    执行所述目标匹配规则中包括的ONU的处理操作。A processing operation of an ONU included in the target matching rule is performed.
  8. 根据权利要求7所述的OLT,其特征在于,所述匹配规则用于将相同类型的ONU添加到对应的业务虚拟***VS中,不同业务VS管理不同类型的ONU。The OLT according to claim 7, wherein the matching rule is used to add ONUs of the same type to a corresponding service virtual system VS, and different services VS manage different types of ONUs.
  9. 根据权利要求7或8所述的OLT,其特征在于,所述至少一个匹配规则中包括默认匹配规则,当所述至少一个匹配规则中除所述默认匹配规则外的其余匹配规则均匹配失败时,匹配到所述默认匹配规则。The OLT according to claim 7 or 8, wherein the at least one matching rule includes a default matching rule, and when the other matching rules except the default matching rule in the at least one matching rule fail to match, To match the default matching rule.
  10. 根据权利妖气7-9任一项所述的OLT,其特征在于,所述匹配规则中ONU的处理动作包括以下动作中的任意一种:将ONU添加到指定的业务VS中、禁止将 ONU添加到指定的业务VS中、将ONU添加到管理VS或者将ONU的信息上报到管理VS。The OLT according to any one of the enchanting rights 7-9, wherein the processing action of the ONU in the matching rule includes any one of the following actions: adding the ONU to the designated service VS, and prohibiting the ONU Add to the specified service VS, add the ONU to the management VS, or report the information of the ONU to the management VS.
  11. 根据权利要求10所述的OLT,其特征在于,当所述匹配规则中ONU的处理动作包括将ONU添加到指定的业务VS中或者禁止将ONU添加到指定的业务VS中时,所述匹配规则包括的ONU的处理动作还包括:The OLT according to claim 10, wherein when the processing action of the ONU in the matching rule includes adding the ONU to the designated service VS or prohibiting the addition of the ONU to the designated service VS, the matching rule The processing actions of the included ONU also include:
    将业务配置信息发送给ONU。Send service configuration information to the ONU.
  12. 根据权利要7-10任一项所述的OLT,其特征在于,所述至少一个匹配规则具有优先级;The OLT according to any one of claims 7 to 10, wherein the at least one matching rule has a priority;
    所述将所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则进行匹配,得到目标匹配规则,具体为:Matching the matching type field of the ONU to be matched with the at least one matching rule to obtain a target matching rule is specifically:
    当所述待匹配的ONU的匹配类型字段与所述至少一个匹配规则中的多个候选匹配规则均匹配成功时,根据所述多个候选匹配规则的优先级,确定优先级最高的候选匹配规则为所述目标匹配规则。When the matching type field of the ONU to be matched successfully matches multiple candidate matching rules in the at least one matching rule, the candidate matching rule with the highest priority is determined according to the priorities of the multiple candidate matching rules. Match rules for the goal.
  13. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有指令,当所述指令被执行时,使得计算机执行如权利要求1-6任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores instructions, and when the instructions are executed, cause a computer to execute the method according to any one of claims 1-6.
PCT/CN2018/101457 2018-08-21 2018-08-21 Optical network unit management method and apparatus WO2020037484A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/101457 WO2020037484A1 (en) 2018-08-21 2018-08-21 Optical network unit management method and apparatus
CN201880095797.4A CN112449744A (en) 2018-08-21 2018-08-21 Management method and device of optical network unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/101457 WO2020037484A1 (en) 2018-08-21 2018-08-21 Optical network unit management method and apparatus

Publications (1)

Publication Number Publication Date
WO2020037484A1 true WO2020037484A1 (en) 2020-02-27

Family

ID=69592339

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101457 WO2020037484A1 (en) 2018-08-21 2018-08-21 Optical network unit management method and apparatus

Country Status (2)

Country Link
CN (1) CN112449744A (en)
WO (1) WO2020037484A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238130A (en) * 2011-08-05 2011-11-09 电子科技大学 OFDM (orthogonal frequency division multiplexing)-based WDM (wavelength division multiplexing)-PON (positive optical network) system and downlink data transmission method
CN104202229A (en) * 2014-09-13 2014-12-10 潍坊学院 Method and system for processing passive optical network (PON) optical line terminal (OLT) equipment QINQ messages
CN105981313B (en) * 2014-03-19 2018-07-20 华为技术有限公司 A kind of communication means, communication device and communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697555B (en) * 2009-11-12 2011-11-16 烽火通信科技股份有限公司 Solution to VLAN ID convergence conversion
CN102891805B (en) * 2011-07-20 2017-02-22 中兴通讯股份有限公司 Method and device for implementing priority mapping in network equipment
CN103701679B (en) * 2013-12-16 2017-10-13 上海斐讯数据通信技术有限公司 A kind of method for realizing VLAN conversions
CN105530156A (en) * 2014-10-22 2016-04-27 深圳市中兴微电子技术有限公司 Virtual local area network tag processing device and method of ONU (Optical Network Unit)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238130A (en) * 2011-08-05 2011-11-09 电子科技大学 OFDM (orthogonal frequency division multiplexing)-based WDM (wavelength division multiplexing)-PON (positive optical network) system and downlink data transmission method
CN105981313B (en) * 2014-03-19 2018-07-20 华为技术有限公司 A kind of communication means, communication device and communication system
CN104202229A (en) * 2014-09-13 2014-12-10 潍坊学院 Method and system for processing passive optical network (PON) optical line terminal (OLT) equipment QINQ messages

Also Published As

Publication number Publication date
CN112449744A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US11038751B2 (en) Information processing method, network node, authentication method, and server
US11671898B2 (en) Systems and methods for routing data
US9148781B2 (en) Wireless transmission of data packets based on client associations
US11405314B2 (en) Packet processing method and apparatus
WO2015070681A1 (en) Method for virtualizing access network, and proxy node
CN103797774A (en) Device and method for network address conversion
WO2016202086A1 (en) Network topology joining method and apparatus
WO2016150139A1 (en) Method and apparatus for establishing network service instance
CN109121026B (en) Method and system for realizing VOLT (Voice over Internet protocol) based on logic port
WO2023056856A1 (en) Device management method and apparatus in optical network, and device
CN103248431B (en) The transportable TWDM-PON system of a kind of ONU
WO2016169260A1 (en) Authentication and registration method, device and system for optical access module
US9900804B2 (en) Method and device for processing to share network resources, and method, device and system for sharing network resources
WO2015154458A1 (en) Node logic id allocation device, method and communication system
US10257118B2 (en) Implementation method and device for VLAN to access VF network, and FCF
CN111193969B (en) Data communication and communication management method based on DPU and DPU
WO2017167076A1 (en) Device management method and apparatus
WO2020037484A1 (en) Optical network unit management method and apparatus
US20180367235A1 (en) Method and System for Allocating Wavelength Channels in Passive Optical Network, and Optical Line Terminal
WO2021259113A1 (en) Onu registration method and apparatus, and network device and storage medium
CN106550060B (en) Network management interface address allocation method and device
WO2019061269A1 (en) Pspupv implementation for docsis access network
CN112565937B (en) Method, device and system for selecting BNG-UP device
WO2016202026A1 (en) Onu network access method and apparatus
WO2019161652A1 (en) Method and system for managing onu supporting multiple private protocols

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18930582

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18930582

Country of ref document: EP

Kind code of ref document: A1