CN111866624A - ONU service migration method, device, equipment and readable storage medium - Google Patents

ONU service migration method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN111866624A
CN111866624A CN202010548548.5A CN202010548548A CN111866624A CN 111866624 A CN111866624 A CN 111866624A CN 202010548548 A CN202010548548 A CN 202010548548A CN 111866624 A CN111866624 A CN 111866624A
Authority
CN
China
Prior art keywords
onu
pon port
destination
service
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010548548.5A
Other languages
Chinese (zh)
Other versions
CN111866624B (en
Inventor
李超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202010548548.5A priority Critical patent/CN111866624B/en
Publication of CN111866624A publication Critical patent/CN111866624A/en
Application granted granted Critical
Publication of CN111866624B publication Critical patent/CN111866624B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Abstract

The invention provides an ONU service migration method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: detecting whether a target ONU is migrated from a source PON port to a destination PON port or not; and when a target ONU is migrated from the source PON port to the destination PON port, migrating the service of the target ONU from the source PON port to the destination PON port. By the invention, the ONU which is migrated can be automatically judged by a machine, and then the service of the migrated ONU is migrated correspondingly. For operation and maintenance personnel, when adjusting a part of ONUs and services to other PON ports, the adjusted ONUs do not need to be concerned, and only the number of the ONUs to be adjusted needs to be known, and then the optical fiber plugging and unplugging actions are carried out, so that the part of ONUs and services can be adjusted to other PON ports, and the workload of the operation and maintenance personnel is greatly reduced.

Description

ONU service migration method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of optical communication technologies, and in particular, to an ONU service migration method, apparatus, device, and readable storage medium.
Background
A PON (Passive Optical Network ) is composed of an Optical Line Terminal (OLT) at a central office end, an Optical Distribution Network (ODN) and an Optical Network Unit (ONU) at a user side, and is a single-fiber bidirectional system. The access mode can bear various service forms such as data, voice, IPTV and the like, and has the advantages of low manufacturing cost, easy maintenance, flexible service bearing mode and the like.
In practical applications, the operator may often make some adjustments to the current network traffic for the purpose of network optimization. For example, the traffic load under a single PON port is too high, and it is necessary to adjust a part of ONUs and traffic to other PON ports or OLT based on the ONU granularity. However, due to the passive characteristic of the ODN part, it is difficult to know the tree distribution relationship among the optical splitters, the optical fibers, and the ONUs, and therefore it is not clear which ONUs are involved in migration before the optical fibers are migrated. Therefore, it is necessary to manually identify which ONUs need to be cut, then configure a cut task based on the ONUs, and after the service cut task is completed, move the optical fiber to bring the ONUs on line. In this way, the workload of the operator is large, which results in a long time required to adjust a part of ONUs and traffic to other PON ports.
Disclosure of Invention
The invention mainly aims to provide an ONU service migration method, an ONU service migration device, ONU service migration equipment and a readable storage medium, and aims to solve the technical problem that the workload of adjusting ONU and service to other PON ports is large in the prior art.
In a first aspect, the present invention provides an ONU service migration method, where the ONU service migration method includes:
detecting whether a target ONU is migrated from a source PON port to a destination PON port or not;
And when a target ONU is migrated from the source PON port to the destination PON port, migrating the service of the target ONU from the source PON port to the destination PON port.
Optionally, the step of detecting whether there is a target ONU migrated from the source PON port to the destination PON port includes:
recording the ONU in an offline state on a source PON port to an offline ONU set;
detecting whether the ONU to be registered reported by a PON port of a destination terminal belongs to the offline ONU set or not;
if the ONU to be registered belongs to the offline ONU set, a target ONU is migrated from the source PON port to the destination PON port, and the target ONU is the ONU to be registered.
Optionally, the step of detecting whether the ONU to be registered reported by the destination PON port belongs to the offline ONU set includes:
detecting whether an ONU which is consistent with the identity identification information of the ONU to be registered reported by the destination PON port exists in the offline ONU set or not;
and if so, the ONU to be registered belongs to the offline ONU set.
Optionally, the step of migrating the traffic of the target ONU from the source PON port to the destination PON port includes:
and carrying out authorization processing and service opening processing on the target ONU at the destination PON port.
Optionally, after the step of migrating the traffic of the target ONU from the source PON port to the destination PON port, the method further includes:
detecting whether the current time reaches a cut-off time point,
detecting whether at least one ONU service exists in the offline ONU set and the service of the ONU is not transferred to the destination PON port from the source PON port;
and if the current time does not reach the end time point and the service of at least one ONU in the offline ONU set is not migrated from the source PON port to the destination PON port, returning to the step of detecting whether the target ONU is migrated from the source PON port to the destination PON port or not.
Optionally, after the step of detecting whether the current time reaches the deadline point, the method further includes:
if the current time reaches the end time point,
or, the service of each ONU in the offline ONU set has been migrated from the source-end PON port to the destination-end PON port;
detecting whether rollback processing is required;
if the rollback processing is required, performing de-authorization processing on the target ONU at a destination PON port;
and if the rollback processing is not required, performing de-authorization processing on the target ONU at the source PON port.
Optionally, the step of detecting whether a fallback processing is required includes:
detecting whether the number of times of errors occurring when the target ONU is subjected to authorization processing and service opening processing at the destination PON port is greater than or equal to a preset threshold value or not;
if the number of times of errors is larger than or equal to a preset threshold value, determining that rollback processing is required;
and if the error occurrence frequency is less than a preset threshold value, determining that the rollback processing is not required.
In a second aspect, the present invention further provides an ONU service migration apparatus, where the ONU service migration apparatus includes:
the detection module is used for detecting whether a target ONU is migrated from a source PON port to a destination PON port;
and the migration module is used for migrating the service of the target ONU from the source PON port to the destination PON port when the target ONU is migrated from the source PON port to the destination PON port.
In a third aspect, the present invention further provides an ONU service migration apparatus, where the ONU service migration apparatus includes a processor, a memory, and an ONU service migration program stored on the memory and executable by the processor, where the ONU service migration program, when executed by the processor, implements the steps of the ONU service migration method as described above.
In a fourth aspect, the present invention further provides a readable storage medium, where an ONU service migration program is stored on the readable storage medium, where the ONU service migration program, when executed by a processor, implements the steps of the ONU service migration method as described above.
In the invention, whether a target ONU is transferred from a source end PON port to a destination end PON port is detected; and when a target ONU is migrated from the source PON port to the destination PON port, migrating the service of the target ONU from the source PON port to the destination PON port. By the invention, the ONU which is migrated can be automatically judged by a machine, and then the service of the migrated ONU is migrated correspondingly. For operation and maintenance personnel, when adjusting a part of ONUs and services to other PON ports, the adjusted ONUs do not need to be concerned, and only the number of the ONUs to be adjusted needs to be known, and then the optical fiber plugging and unplugging actions are carried out, so that the adjustment of the part of ONUs and the services to other PON ports can be realized, and the workload of the operation and maintenance personnel is greatly reduced; for the user, in this way, if the ONU used by the user needs to be adjusted, the time required for the adjustment process is very short because the adjustment process almost does not need manual intervention, and therefore the poor perception caused to the user is very small.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an ONU service migration apparatus according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an embodiment of an ONU service migration method according to the present invention;
fig. 3 is a schematic diagram illustrating a connection between a source PON port and an ONU in an embodiment;
fig. 4 is a schematic flowchart of an ONU service migration method according to another embodiment of the present invention;
fig. 5 is a diagram illustrating ONU slicing in an embodiment.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In a first aspect, an embodiment of the present invention provides an ONU service migration apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of an ONU service migration apparatus according to an embodiment of the present invention. In this embodiment of the present invention, the ONU service migration apparatus may include a processor 1001 (e.g., a central processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WI-FI interface, WI-FI interface); the memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, a memory 1005, which is one type of computer storage medium in fig. 1, may include an operating system, a network communication module, a user interface module, and an ONU service migration program. The processor 1001 may call an ONU service migration program stored in the memory 1005, and execute the ONU service migration method provided in the embodiment of the present invention.
In a second aspect, an embodiment of the present invention provides an ONU service migration method.
Referring to fig. 2, fig. 2 is a flowchart illustrating an embodiment of an ONU service migration method according to the present invention. As shown in fig. 2, the ONU service migration method includes:
step S10, detecting whether a target ONU is transferred from a source PON port to a destination PON port;
in this embodiment, the user does not know which ONUs are migrated, but knows which PON port (source PON port) to migrate to which PON port (destination PON port). Therefore, the source PON port and the destination PON port can be set according to user operation. And some necessary pre-configurations, such as local VLAN, SNMP TRAP address, timing, NGN uplink interface, bandwidth template, service model template, etc., need to be configured manually on the destination PON port. The registration, authorization and service delivery of the ONU all need to be based on the basic configuration. And whether the pre-configuration meets the requirements, whether the authorization modes of the source end and the destination end PON port are consistent, whether the types of the source end and the destination end PON port are consistent, whether the configuration synchronization of the equipment to the network management is executed, and the like are checked. Then, the state of the ONU corresponding to the moved optical fiber is changed based on actual need to move the optical fiber, so as to detect whether or not the target ONU is migrated from the source PON port to the destination PON port based on the state of each ONU on the source PON port and the state of each ONU on the destination PON port.
Further, in one embodiment, step S10 includes:
step S101, recording the ONU in an off-line state on a source PON port to an off-line ONU set;
in this embodiment, when an operator moves an optical fiber from a source PON port to a destination PON port, the optical fiber is first pulled out from the source PON port, and at this time, the ONU device connected to the source PON port through the optical fiber is offline, so as to be in an offline state. Referring to fig. 3, fig. 3 is a schematic diagram illustrating a connection between a source PON port and an ONU in an embodiment. As shown in fig. 3, based on the existence of the optical splitter, several ONUs and source PON ports are in a tree connection style. The ONU1, the ONU2, the ONU3, the.
When part of ONUs and services on the source PON port need to be adjusted to the destination PON port, an operator may randomly select several optical fibers from the optical fibers 1, 2, 3, and N, and then plug the selected optical fibers into the destination PON port after pulling out the optical fibers. For example, optical fiber 1 and optical fiber 2 are selected, and when optical fiber 1 and optical fiber 2 are pulled out from the source PON port, ONU1 and ONU2 are in an offline state, and ONU1 and ONU2 are recorded in an offline ONU set. The offline ONU set may further include other ONUs in an offline state due to reasons (power outage, line fault). For example, if ONU3 is offline due to power outage and ONU4 is offline due to line disconnection, the offline ONU group includes ONU1, ONU2, ONU3, and ONU 4.
Step S102, detecting whether the ONU to be registered reported by the PON port of the destination terminal belongs to the offline ONU set or not;
in this embodiment, as in the above-described embodiment, the optical fibers 1 and 2 are pulled out from the optical splitter connected to the source PON port (that is, pulled out from the source PON port), and then inserted into the destination PON port or the optical splitter connected to the destination PON port in this order (that is, inserted into the destination PON port). At this time, the OLT device at the destination PON port reports a registration event 1 and a registration event 2 to the network manager in sequence (the device running the ONU service migration method in this embodiment), and the network manager can determine, based on the registration events 1 and 2, that the ONU to be registered is the inserted ONU connected to the optical fiber. And analogizing in sequence, when the subsequent network manager receives a new registration event, detecting whether the ONU to be registered corresponding to the new registration event belongs to the offline ONU set.
Further, in an embodiment, step S102 includes:
detecting whether an ONU which is consistent with the identity identification information of the ONU to be registered reported by the destination PON port exists in the offline ONU set or not; and if so, the ONU to be registered belongs to the offline ONU set.
In this embodiment, whether the ONUs are the same is determined by comparing the identification information. Because the registration event contains the identity identification information of the ONU to be registered, the network manager can determine the identity identification information of the ONU to be registered on the PON port of the destination end according to the registration event reported by the OLT equipment where the PON port of the destination end is located. For example, at this time, the registration event 1 includes the identification information of the ONU to be registered as identification information 1. If the offline ONU set includes ONU1, ONU2, and ONU3, identity information 1, identity information 2, and identity information 3 corresponding to ONU1, ONU2, and ONU3 are obtained based on the database. Through detection, the identity information of the ONU1 in the offline ONU set is consistent with the identity information of the ONU to be registered, and the ONU to be registered belongs to the offline ONU set. Similarly, when the registration event 2 includes that the identification information of the ONU to be registered is identification information 2, the identification information of the ONU2 in the offline ONU set is consistent with the identification information of the ONU to be registered through detection, and the ONU to be registered belongs to the offline ONU set.
Step S103, if the ONU to be registered belongs to the offline ONU set, a target ONU is migrated from the source PON port to the destination PON port, and the target ONU is the ONU to be registered.
In this embodiment, if the ONU to be registered belongs to the offline ONU set, it indicates that the optical fiber corresponding to the ONU to be registered migrates from the source-end PON port to the destination-end PON port, that is, it indicates that the ONU to be registered migrates from the source-end PON port to the destination-end PON port, and it is determined that the target ONU is the ONU to be registered.
Step S20, when there is a target ONU migrated from the source PON port to the destination PON port, migrating the traffic of the target ONU from the source PON port to the destination PON port.
In this embodiment, when a PON port to which a target ONU is connected is migrated from a source-end PON port to a destination-end PON port, corresponding migration work needs to be performed on a service of the PON port, so that the PON port to which the target ONU is connected can also work normally after being replaced.
In this embodiment, whether a target ONU is migrated from a source PON port to a destination PON port is detected; and when a target ONU is migrated from the source PON port to the destination PON port, migrating the service of the target ONU from the source PON port to the destination PON port. By the embodiment, the machine can be used for automatically judging which ONUs are migrated, and then the services of the migrated ONUs are migrated correspondingly. For operation and maintenance personnel, when adjusting a part of ONUs and services to other PON ports, the adjusted ONUs do not need to be concerned, and only the number of the ONUs to be adjusted needs to be known, and then the optical fiber plugging and unplugging actions are carried out, so that the adjustment of the part of ONUs and the services to other PON ports can be realized, and the workload of the operation and maintenance personnel is greatly reduced; for the user, in this way, if the ONU used by the user needs to be adjusted, the time required for the adjustment process is very short because the adjustment process almost does not need manual intervention, and therefore the poor perception caused to the user is very small.
Further, in an embodiment, the step of migrating traffic of the target ONU from the source PON port to the destination PON port includes:
and carrying out authorization processing and service opening processing on the target ONU at the destination PON port.
In this embodiment, first, specific information of a target ONU (e.g., ONU name, ONU type, identification identifier, authorization mode, etc.) and service configuration information of the ONU (e.g., voice service, data service, bandwidth configuration, WAN connection service, WiFi service, etc.) are read and cached in a pre-deployed database table so as to avoid loss.
The database configuration is then converted to the TL1 instruction, the basic principle of which is: first, ADD-ONU and DEL-ONU commands are generated based on the basic information of the ONU. Then, according to the ONU types, analyzing the configuration scene: if the type of the HGU is the QinQ domain binding information and the VEIP channel information, generating a corresponding ADD-PONVLAN instruction according to the number of the services and each VLAN value; if the SFU is a common SFU, acquiring LAN port service configuration information, voice port service configuration information, NGN uplink user information and the like besides QinQ domain binding information and VEIP channel information, and generating corresponding instructions such as ADD-PONVLAN, CFG-LANPORT, ADD-LANIPTVPORT and the like according to the number of services and various parameter values; if the ONU is other ONU, the configuration instructions of voice and data can be analyzed similarly. And then analyzing the bandwidth information of the ONU, and generating a CFG-ONUBW instruction according to the bound bandwidth template. If the ONU has WAN traffic, WiFi traffic, the corresponding TL1 command is generated according to several main parameters.
The TL1 instruction is only a business model, which is convenient for analysis and configuration, and when the instruction is actually issued, the background decomposes the TL1 instruction into SNMP protocol again, and issues the SNMP protocol to the equipment to which the destination PON port belongs. The method is used for executing an ADD-ONU instruction at the destination PON port, authorizing the target ONU to the destination PON port and waiting for the ONU authorization success event. After the event is reported, the background adds the ONU object to the network manager, and configures the information of the name, the alias and the like of the ONU to the ONU object. And after the ONU is successfully authorized, executing service instructions, such as ADD-PONVLAN, CFG-LANPORT and the like, sequentially issuing the service instructions, and after the equipment returns success, issuing the other service instruction. After the service is successfully issued, the ONU is successfully migrated.
In this embodiment, from the time of discovering that the ONU needs to be registered to the time of service activation, the time consumption can be controlled at the level of seconds, and the ONU user hardly feels.
Further, in an embodiment, after the step S20, the method further includes:
detecting whether the current time reaches a cut-off time point, and detecting whether at least one ONU service in the offline ONU set is not transferred from the source PON port to the destination PON port; and if the current time does not reach the end time point and the service of at least one ONU in the offline ONU set is not migrated from the source PON port to the destination PON port, returning to the step of detecting whether the target ONU is migrated from the source PON port to the destination PON port or not.
In this embodiment, an expiration time point may be set, and before the expiration time point arrives, or when there is an ONU that has not migrated in the offline ONU set, step S10 mentioned in the above embodiment is returned to be executed, so that the operation and maintenance staff has enough time to perform the fiber migration operation. And for the ONU which is temporarily in an offline state due to power failure or line reasons, a sufficient waiting time (the deadline is set sufficiently later) is given for further discriminating whether the service migration is possible.
Further, in an embodiment, after the step of detecting whether the current time reaches the deadline, the method further includes:
if the current time reaches the end time point,
or, the service of each ONU in the offline ONU set has been migrated from the source-end PON port to the destination-end PON port;
detecting whether rollback processing is required;
in this embodiment, when the current time reaches the end time point or the traffic of each ONU in the offline ONU set has been migrated from the source-side PON port to the destination-side PON port, it indicates that the traffic migration work of all the migrated ONUs has been completed. In order to avoid migration failure due to an exception occurring in the migration process or some details missing during configuration checking, it is necessary to detect whether rollback processing is required.
Further, in an embodiment, the step of detecting whether the rollback processing is required includes:
detecting whether the number of times of errors occurring when the target ONU is subjected to authorization processing and service opening processing at the destination PON port is greater than or equal to a preset threshold value or not; if the number of times of errors is larger than or equal to a preset threshold value, determining that rollback processing is required; and if the error occurrence frequency is less than a preset threshold value, determining that the rollback processing is not required.
In this embodiment, if an error is frequently reported (specifically, the error reporting number is greater than or equal to a preset threshold) when the destination PON port performs or opens the service to the target ONU in the migration process, it is determined that the fallback processing is required, otherwise, the fallback processing is not required.
If the rollback processing is required, performing de-authorization processing on the target ONU at a destination PON port; and if the rollback processing is not required, performing de-authorization processing on the target ONU at the source PON port.
In this embodiment, if the fallback processing is required, the DEL-ONU instruction is executed at the destination PON port, and the migrated ONU is deleted (de-authorized), so that the corresponding service is also automatically deleted. Therefore, rollback is completed, and the problems that some details are omitted or some abnormity occurs in the cutover process during configuration checking, so that the success is short by one step and data is lost are avoided. If the back-off processing is not needed, the source data of the ONUs migrated from the source PON port are deleted in batch, that is, the destination ONUs (ONUs migrated from the source PON port to the destination PON port) are subjected to de-authorization processing at the source PON port.
Referring to fig. 4, fig. 4 is a flowchart illustrating an ONU service migration method according to another embodiment of the present invention. As shown in fig. 4, the ONU service migration method includes:
step 101, network management configures a cutover task;
in the step, a source and a destination (terminal) PON port related to the cut-over are required to be set, and the discovery duration of the ONU which is not on-line is set, namely the duration of the waiting time of the cut-over task;
102, a user moves an optical fiber to a destination PON port;
in this step, the user moves the optical fiber of the ONU to be migrated from the source PON port to the destination PON port.
103, recording a physical SN, a logical SN and a password of an offline ONU of a source PON port;
in this step, the network manager records the physical SN, logical SN, password, etc. of the offline ONU at the source PON port, and these are used as identification identifiers for the destination to discover the ONU registration.
Step 104, waiting for the PON port of the destination end to be triggered by an ONU registration event;
in this step, the network manager waits for an ONU registration event reported by the PON port of the destination terminal.
105, detecting whether a new ONU is registered;
in this step, if the destination PON port has a newly registered ONU, continue to execute step 107, otherwise execute step 106;
step 106, detecting whether the ONU discovery time length is reached;
in the step, whether the discovery duration of ONU registration set in the step S101 is reached is detected, if not, the step 104 is executed, observation is continued, otherwise, the step 111 is executed, automatic cutover is finished, and the manual cutover is changed into user manual cutover;
Step 107, comparing ONU whose source PON port is not on-line according to the physical SN, logic SN, password and other identifications of the newly registered ONU to obtain ONU to be migrated;
in this step, according to the physical SN, logical SN, password, etc. of the newly registered ONU, these pieces of information are matched in the ONU offline at the source PON port, and only one identification is the same, the ONU is considered to be the ONU to be migrated;
step 108, starting a cut-over subtask, backing up ONU information and service data, and decomposing the ONU information and the service data into TL1 instructions;
in this step, the segmentation subtask is started with the ONU as the granularity, the basic information and the service data of the ONU are backed up, and the information is decomposed into TL1 instructions for adding the ONU and opening the service.
Step 109, the destination PON port issues the instruction of adding ONU and opening the service to complete the sub-task cut-over;
in this step, TL1 instructions for adding the ONU and opening the service are sequentially executed at the destination PON port, so as to realize the authorization, the tube loading, and the service opening of the ONU, and complete the sub-task of the ONU.
Step 110, judging whether all the offline ONUs of the source PON port complete the migration;
in this step, after the subtask of one ONU is completed, it is determined whether all ONUs offline from the source PON port have completed migration, if yes, step 115 is executed, otherwise, step 105 is executed, and observation is continued.
Step 111, stopping automatic cutting and jointing;
in the step, when the time is found to be expired, the automatic cutting can be stopped, and manual cutting is prepared.
Step 112, outputting the ONU list of which the source end is not on line;
in this step, after the cleft grafting is stopped, which offline ONUs are not cleft grafted under the PON port of the output source end, and are displayed to the user.
113, manually confirming by a user, and selecting the ONU needing to be cut;
in this step, the user manually confirms the remaining small number of offline ONUs, for example, by comparing the ONU names, friendly names, identification marks with the OSS system, and by combining with the daily maintenance experience, judges whether the ONU belongs to the range to be spliced.
Step 114, starting a manual cut-over task, and then performing cut-over of the ONU and the ONU services by the network manager according to the TL1 work order;
in this step, the user will manually confirm the ONUs to be spliced, establish a manual splicing task, and splice the ONUs to the destination PON port in the same manner and flow as the automatic splicing subtask.
Step 115, judging whether the cutting is successful;
in the step, whether the cutting is successful is judged by combining the state result in the cutting process, so that whether the backspacing is needed is determined.
Step 116, the destination PON port executes a fallback operation, i.e. deletes the authorized ONU;
In this step, if rollback is required, all the ONUs that have been spliced at the PON port of the destination terminal are de-authorized.
Step 117, deleting the authorized ONU by the source PON port;
in this step, if no rollback is needed, all ONUs cut away by the source-end PON port are de-authorized.
And (5) completing the cutting, stopping the task and outputting a task result.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating an embodiment of performing ONU slicing.
As shown in fig. 5, when the cutting operation starts, the user first configures a cutting task and waits for the fiber pulling and fiber moving operation to be performed on site. The background has continuous status polling and reporting so that the interface displays the task progress for the user in real time.
The background is provided with four independent task modules which are respectively as follows: 1) the device comprises an ONU discovery task module used for discovering ONU registration and judging whether the ONU needs to be cut or not, 2) an ONU cutting subtask module used for controlling a single ONU to cut from a source PON port to a destination PON port, 3) a source data clearing module used for deleting the ONUs cut away from the source PON port in batches after the cutting is successful, and 4) a backspace module used for deleting the ONUs cut away from the destination PON port in batches after the cutting is failed.
And the ONU discovery task module can continuously monitor ONU registration reporting events within the ONU discovery duration range, compare the ONU registration reporting events with the ONU which is offline from the PON port of the source end, and analyze the ONU which needs to migrate services.
And the ONU cutover subtask module is responsible for automatically or manually cutover the ONU and the service which the user needs to migrate. When the ONU needs to be migrated, the ONU cutover subtask is started, the ONU is authorized to the destination PON port, the service is decomposed into TL1 service instructions, and the TL1 service instructions are issued to the ONU on the destination PON port.
And after the ONU finding time length is exceeded, feeding back the information of the ONU which is offline but not spliced at the source end to the user, manually judging whether the ONU needs to be spliced or not by the user, restarting a splicing subtask by the ONU which needs to be spliced, and finishing manual part splicing.
And the source end data clearing module is responsible for clearing away the cut-away ONU objects and services under the PON port of the source end after all the cut-over is finished, and particularly, the ONU can be authorized.
And the backspacing module is used for clearing away the cut-over past ONU objects and services under the PON port of the destination terminal when the cut-over fails and needs backspacing, specifically to authorize the ONU of the destination terminal.
And after the whole task is completed, returning the result information of the cutting task.
In a third aspect, an embodiment of the present invention further provides an ONU service migration apparatus, where the ONU service migration apparatus includes:
the detection module is used for detecting whether a target ONU is migrated from a source PON port to a destination PON port;
And the migration module is used for migrating the service of the target ONU from the source PON port to the destination PON port when the target ONU is migrated from the source PON port to the destination PON port.
Further, in an embodiment, the detecting module is configured to:
recording the ONU in an offline state on a source PON port to an offline ONU set;
detecting whether the ONU to be registered reported by a PON port of a destination terminal belongs to the offline ONU set or not;
if the ONU to be registered belongs to the offline ONU set, a target ONU is migrated from the source PON port to the destination PON port, and the target ONU is the ONU to be registered.
Further, in an embodiment, the detecting module is configured to:
detecting whether an ONU which is consistent with the identity identification information of the ONU to be registered reported by the destination PON port exists in the offline ONU set or not;
and if so, the ONU to be registered belongs to the offline ONU set.
Further, in an embodiment, the migration module is configured to:
and carrying out authorization processing and service opening processing on the target ONU at the destination PON port.
Further, in an embodiment, the ONU service migration apparatus further includes: a circulation module to:
Detecting whether the current time reaches a cut-off time point,
detecting whether at least one ONU service exists in the offline ONU set and the service of the ONU is not transferred to the destination PON port from the source PON port;
and if the current time does not reach the end time point and the service of at least one ONU in the offline ONU set is not migrated from the source PON port to the destination PON port, returning to the step of detecting whether the target ONU is migrated from the source PON port to the destination PON port or not.
Further, in an embodiment, the ONU service migration apparatus further includes: a fallback processing module configured to:
if the current time reaches the end time point,
or, the service of each ONU in the offline ONU set has been migrated from the source-end PON port to the destination-end PON port;
detecting whether rollback processing is required;
if the rollback processing is required, performing de-authorization processing on the target ONU at a destination PON port;
and if the rollback processing is not required, performing de-authorization processing on the target ONU at the source PON port.
Further, in an embodiment, the rollback processing module is configured to:
detecting whether the number of times of errors occurring when the target ONU is subjected to authorization processing and service opening processing at the destination PON port is greater than or equal to a preset threshold value or not;
If the number of times of errors is larger than or equal to a preset threshold value, determining that rollback processing is required;
and if the error occurrence frequency is less than a preset threshold value, determining that the rollback processing is not required.
The function implementation of each module in the ONU service migration apparatus corresponds to each step in the ONU service migration method embodiment, and the function and implementation process are not described in detail herein.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium.
The readable storage medium of the present invention stores an ONU service migration program, where the ONU service migration program, when executed by the processor, implements the steps of the ONU service migration method as described above.
The method for implementing the ONU service migration program when executed may refer to each embodiment of the ONU service migration method of the present invention, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An ONU service migration method, characterized in that the ONU service migration method comprises:
Detecting whether a target ONU is migrated from a source PON port to a destination PON port or not;
and when a target ONU is migrated from the source PON port to the destination PON port, migrating the service of the target ONU from the source PON port to the destination PON port.
2. The ONU traffic migration method according to claim 1, wherein the step of detecting whether there is a target ONU migrated from a source PON port to a destination PON port comprises:
recording the ONU in an offline state on a source PON port to an offline ONU set;
detecting whether the ONU to be registered reported by a PON port of a destination terminal belongs to the offline ONU set or not;
if the ONU to be registered belongs to the offline ONU set, a target ONU is migrated from the source PON port to the destination PON port, and the target ONU is the ONU to be registered.
3. The ONU service migration method according to claim 2, wherein the step of detecting whether the ONU to be registered reported by the destination PON port belongs to the offline ONU set comprises:
detecting whether an ONU which is consistent with the identity identification information of the ONU to be registered reported by the destination PON port exists in the offline ONU set or not;
and if so, the ONU to be registered belongs to the offline ONU set.
4. The ONU traffic migration method according to claim 3, wherein the step of migrating the traffic of the target ONU from the source-side PON port to the destination-side PON port comprises:
and carrying out authorization processing and service opening processing on the target ONU at the destination PON port.
5. The ONU traffic migration method according to claim 4, wherein after the step of migrating the traffic of the target ONU from the source PON port to the destination PON port, further comprising:
detecting whether the current time reaches a cut-off time point,
detecting whether at least one ONU service exists in the offline ONU set and the service of the ONU is not transferred to the destination PON port from the source PON port;
and if the current time does not reach the end time point and the service of at least one ONU in the offline ONU set is not migrated from the source PON port to the destination PON port, returning to the step of detecting whether the target ONU is migrated from the source PON port to the destination PON port or not.
6. The ONU service migration method according to claim 5, wherein after the step of detecting whether the current time reaches the deadline point, further comprising:
If the current time reaches the end time point,
or, the service of each ONU in the offline ONU set has been migrated from the source-end PON port to the destination-end PON port;
detecting whether rollback processing is required;
if the rollback processing is required, performing de-authorization processing on the target ONU at a destination PON port;
and if the rollback processing is not required, performing de-authorization processing on the target ONU at the source PON port.
7. The ONU service migration method according to claim 6, wherein the step of detecting whether a fallback process is required comprises:
detecting whether the number of times of errors occurring when the target ONU is subjected to authorization processing and service opening processing at the destination PON port is greater than or equal to a preset threshold value or not;
if the number of times of errors is larger than or equal to a preset threshold value, determining that rollback processing is required;
and if the error occurrence frequency is less than a preset threshold value, determining that the rollback processing is not required.
8. An ONU service migration apparatus, comprising:
the detection module is used for detecting whether a target ONU is migrated from a source PON port to a destination PON port;
and the migration module is used for migrating the service of the target ONU from the source PON port to the destination PON port when the target ONU is migrated from the source PON port to the destination PON port.
9. An ONU service migration apparatus comprising a processor, a memory, and an ONU service migration program stored on the memory and executable by the processor, wherein the ONU service migration program when executed by the processor implements the steps of the ONU service migration method according to any one of claims 1 to 7.
10. A readable storage medium, having an ONU service migration program stored thereon, wherein the ONU service migration program, when executed by a processor, implements the steps of the ONU service migration method according to any one of claims 1 to 7.
CN202010548548.5A 2020-06-16 2020-06-16 ONU (optical network Unit) service migration method, device and equipment and readable storage medium Active CN111866624B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010548548.5A CN111866624B (en) 2020-06-16 2020-06-16 ONU (optical network Unit) service migration method, device and equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010548548.5A CN111866624B (en) 2020-06-16 2020-06-16 ONU (optical network Unit) service migration method, device and equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111866624A true CN111866624A (en) 2020-10-30
CN111866624B CN111866624B (en) 2022-09-02

Family

ID=72987673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010548548.5A Active CN111866624B (en) 2020-06-16 2020-06-16 ONU (optical network Unit) service migration method, device and equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111866624B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468897A (en) * 2020-11-13 2021-03-09 中盈优创资讯科技有限公司 PON port cut-over automatic configuration method and device
CN112671586A (en) * 2020-12-29 2021-04-16 中盈优创资讯科技有限公司 Automatic migration and guarantee method and device for service configuration
CN113132828A (en) * 2021-06-16 2021-07-16 武汉长光科技有限公司 Configuration method, device, equipment, system and storage medium
CN114007150A (en) * 2021-09-24 2022-02-01 中盈优创资讯科技有限公司 PON port splitting method and device based on port flow monitoring
CN114745270A (en) * 2022-05-13 2022-07-12 中国联合网络通信集团有限公司 Network planning method, device, equipment and storage medium
CN115190022A (en) * 2022-07-25 2022-10-14 武汉烽火技术服务有限公司 ONU configuration deployment method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615927A (en) * 2008-06-25 2009-12-30 华为技术有限公司 A kind of reverse method of multi-plexing light accessing system, device and system
CN101826928A (en) * 2009-03-03 2010-09-08 中兴通讯股份有限公司 Method and device for realizing PON (Passive Optical Network) system service recovery
CN102648590A (en) * 2011-05-27 2012-08-22 华为技术有限公司 Method, system and device for communication in the optical network system
CN102739624A (en) * 2011-04-15 2012-10-17 中兴通讯股份有限公司 Method and system for automatically migrating business of passive optical network unit
US20130022356A1 (en) * 2011-07-18 2013-01-24 Telefonaktiebolaget L M Ericsson (Publ) Energy Efficiency and Cost Efficient Protection in Passive Optical Networks
CN104980432A (en) * 2015-05-15 2015-10-14 深圳市双翼科技有限公司 Method for dual-PON port ONU to register and manage protocol stack at OLT
CN107547125A (en) * 2016-06-23 2018-01-05 南京中兴软件有限责任公司 Optical line terminal and optical link switching method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615927A (en) * 2008-06-25 2009-12-30 华为技术有限公司 A kind of reverse method of multi-plexing light accessing system, device and system
CN101826928A (en) * 2009-03-03 2010-09-08 中兴通讯股份有限公司 Method and device for realizing PON (Passive Optical Network) system service recovery
CN102739624A (en) * 2011-04-15 2012-10-17 中兴通讯股份有限公司 Method and system for automatically migrating business of passive optical network unit
CN102648590A (en) * 2011-05-27 2012-08-22 华为技术有限公司 Method, system and device for communication in the optical network system
US20130022356A1 (en) * 2011-07-18 2013-01-24 Telefonaktiebolaget L M Ericsson (Publ) Energy Efficiency and Cost Efficient Protection in Passive Optical Networks
CN104980432A (en) * 2015-05-15 2015-10-14 深圳市双翼科技有限公司 Method for dual-PON port ONU to register and manage protocol stack at OLT
CN107547125A (en) * 2016-06-23 2018-01-05 南京中兴软件有限责任公司 Optical line terminal and optical link switching method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陆敏: "PON业务端口敏捷迁移的探讨", 《通信企业管理》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468897A (en) * 2020-11-13 2021-03-09 中盈优创资讯科技有限公司 PON port cut-over automatic configuration method and device
CN112468897B (en) * 2020-11-13 2023-03-10 中盈优创资讯科技有限公司 PON port cut-over automatic configuration method and device
CN112671586A (en) * 2020-12-29 2021-04-16 中盈优创资讯科技有限公司 Automatic migration and guarantee method and device for service configuration
CN112671586B (en) * 2020-12-29 2023-04-21 中盈优创资讯科技有限公司 Automatic migration and guarantee method and device for service configuration
CN113132828A (en) * 2021-06-16 2021-07-16 武汉长光科技有限公司 Configuration method, device, equipment, system and storage medium
CN113132828B (en) * 2021-06-16 2021-08-17 武汉长光科技有限公司 Configuration method, device, equipment, system and storage medium
CN114007150A (en) * 2021-09-24 2022-02-01 中盈优创资讯科技有限公司 PON port splitting method and device based on port flow monitoring
CN114007150B (en) * 2021-09-24 2023-07-28 中盈优创资讯科技有限公司 PON port cracking method and device based on port flow monitoring
CN114745270A (en) * 2022-05-13 2022-07-12 中国联合网络通信集团有限公司 Network planning method, device, equipment and storage medium
CN114745270B (en) * 2022-05-13 2023-04-28 中国联合网络通信集团有限公司 Network planning method, device, equipment and storage medium
CN115190022A (en) * 2022-07-25 2022-10-14 武汉烽火技术服务有限公司 ONU configuration deployment method and device
CN115190022B (en) * 2022-07-25 2023-08-22 武汉烽火技术服务有限公司 ONU configuration deployment method and device

Also Published As

Publication number Publication date
CN111866624B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN111866624B (en) ONU (optical network Unit) service migration method, device and equipment and readable storage medium
CN103108262B (en) The method of optical network unit configuration file upgrading in GPON system
CA2773027C (en) Seamless configuration update for optical network unit in ethernet passive optical network
CN106656562B (en) A kind of OLT batch issues the detection method and device of ONU configuration
EP1950931A1 (en) Devices, system and method for distributing and synchronizing service data
EP3796667B1 (en) Optical fiber cut-over method and apparatus, and sdn controller, system and storage medium
CN103731205B (en) A kind of optical network unit automated testing method
EP3285411A1 (en) Method and apparatus for distributing optical network unit service information and optical line terminal
CN100466556C (en) Network device management method and system
US20040136394A1 (en) Bulk service configuration in communications networks
CN111885440A (en) Fault diagnosis and rapid processing method based on PON access network service
CN111786841A (en) Automatic operation method, system and device for optical network GPON equipment
CN106911510B (en) Usability monitoring system and method for network access system
CN112052227A (en) Data change log processing method and device and electronic equipment
CN109660887B (en) Method for adapting ONU to different OLTs
CN105323102A (en) Link polling method, link polling device and link polling system
CN108600004B (en) Video server configuration management method and system
CN114448710B (en) ONU authentication method, ONU authentication device, optical line terminal and readable storage medium
WO2017206690A1 (en) Method and apparatus for configuring optical network unit, and optical line terminal
CN115314358A (en) Method and device for monitoring dummy network element fault of home wide network
WO2016202026A1 (en) Onu network access method and apparatus
CN112689210B (en) Configuration system and method for accessing terminal equipment to EPON (Ethernet Passive optical network)
WO2016127760A1 (en) User end device changing method, network element management system, and optical network system
US20050207347A1 (en) Provisioning control apparatus
CN113872686A (en) Customer self-service troubleshooting processing method based on optical broadband network service

Legal Events

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