A PON optical module automatic detection configuration method and system, and storage medium

By reading the optical module information and verifying the synchronization status, and automatically detecting and configuring the PON optical module, the problem of not being able to automatically detect the type of optical module when the ONU is inserted into the optical module is solved, and the convenience of use is improved.

CN114745619BActive Publication Date: 2024-12-03GENEW TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210410362.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-19
Publication Date
2024-12-03
Estimated Expiration
2042-04-19

AI Technical Summary

Technical Problem

When the ONU is inserted into the optical module, it cannot automatically detect the type of optical module and perform the corresponding PON configuration, which causes inconvenience to users.

Method used

By reading the module information of the optical module, determining the wan type it supports, obtaining the corresponding PON configuration parameters, and verifying whether the configuration is successful or not based on the synchronization status, and realizing automatic configuration.

Benefits of technology

No manual configuration is required for technicians, which improves the convenience of use of optical modules and realizes automatic detection and configuration of optical modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114745619B_ABST
    Figure CN114745619B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for automatic detection and configuration of a PON optical module and its system and storage medium, comprising: when an optical module is inserted into an interface of an ONU, the module information of the optical module is read; the wan type supported by the optical module is determined according to the module information; the PON configuration parameters of the corresponding type are obtained according to the wan type, and the PON configuration of the optical module is performed according to the PON configuration parameters; a preset time is delayed to obtain the synchronization state of the ONU and the OLT connected thereto; and whether the wan type is correct is verified according to the synchronization state, if so, the automatic configuration is determined to be successful, and if not, the automatic configuration is determined to be failed. The present invention can solve the technical problem that the type of optical module cannot be automatically detected and the corresponding PON configuration cannot be performed when the ONU is inserted into the optical module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a PON optical module automatic detection configuration method and a system and storage medium thereof. Background Art

[0002] Passive Optical Network (PON) technology is a point-to-multipoint fiber access technology. A PON system can include an optical line terminal (OLT), an optical distribution network (ODN) and multiple optical network units (ONUs). OLT is connected to ODN, and ODN is connected to multiple ONUs. Specifically, PON includes GPON, XGPON and XGSPON. ONU, as the terminal device of the PON access network, has different device types, such as SFU, HGU, SBU, MDU, etc.

[0003] When ONU is used, there are different application requirements such as GPON, XGPON, and XGSPON. In order to enable an ONU to meet these requirements at the same time, pluggable optical modules are used to implement optical interfaces, that is, different types of optical modules are selected according to different requirements, and then inserted into the interface of the ONU. At present, when inserting an optical module into the ONU, technicians are required to determine the type of optical module in advance, and then manually configure it to start the optical module system. When in use, the type of optical module cannot be automatically detected and the corresponding PON configuration cannot be performed, which brings inconvenience to users. Summary of the invention

[0004] The purpose of the present invention is to provide a PON optical module automatic detection configuration method and system, and a computer-readable storage medium, so as to solve the technical problem that the type of optical module cannot be automatically detected and the corresponding PON configuration cannot be performed when the ONU is inserted into the optical module.

[0005] To achieve the purpose of the present invention, a first aspect of the present invention provides a PON optical module automatic detection configuration method, comprising:

[0006] When the interface of the ONU is inserted into the optical module, the module information of the optical module is read;

[0007] Determine the WAN type supported by the optical module according to the module information;

[0008] Acquire a PON configuration parameter of a corresponding type according to the wan type, and perform PON configuration of the optical module according to the PON configuration parameter;

[0009] Delaying a preset time to obtain the synchronization status of the ONU and the OLT connected thereto;

[0010] Verify whether the WAN type is correct according to the synchronization status. If so, determine that the automatic configuration is successful. If not, determine that the automatic configuration fails.

[0011] According to the first aspect of the present invention, the step of verifying whether the WAN type is correct according to the synchronization state includes:

[0012] When the ONU is synchronized with the OLT, it is determined that the wan type is correct; when the ONU is not synchronized with the OLT, it is determined that the wan type is wrong.

[0013] According to the first aspect of the present invention, the method further comprises:

[0014] When it is determined that the automatic configuration is successful, the wan type wan type is stored in a storage device for subsequent use in starting a PON protocol stack according to the wan type to perform PON communication.

[0015] According to the first aspect of the present invention, determining the WAN type of the optical module according to the module information includes:

[0016] Matching the module information with a plurality of pre-stored optical module information files to obtain an optical module information file that matches the module information;

[0017] Read the wan type supported by the optical module from the optical module information file;

[0018] Determine whether the optical module is a single-mode optical module according to the WAN type supported by the optical module. If so, output the WAN type supported by the read optical module. If not, determine that the automatic configuration fails.

[0019] According to the first aspect of the present invention, the module information includes one or more of a manufacturer name, a model, and a version of the optical module.

[0020] According to the first aspect of the present invention, the WAN type includes one or more of GPON, XGPON, and XGSPON.

[0021] To achieve the purpose of the present invention, a second aspect of the present invention provides a PON optical module automatic detection and configuration system, comprising:

[0022] A module information reading unit, used for reading module information of the optical module when the interface of the ONU is inserted into the optical module;

[0023] a wan type determining unit, configured to determine the wan type supported by the optical module according to the module information;

[0024] A PON configuration unit, configured to obtain a PON configuration parameter of a corresponding type according to the wan type, and perform PON configuration of the optical module according to the PON configuration parameter;

[0025] A synchronization state acquisition unit, used to delay a preset time to acquire the synchronization state of the ONU and the OLT connected thereto; and

[0026] The verification unit is used to verify whether the wan type is correct according to the synchronization state, and if so, it is determined that the automatic configuration is successful, and if not, it is determined that the automatic configuration fails.

[0027] According to a second aspect of the present invention, the system further comprises:

[0028] The storage unit is used for storing the wan type in a storage device when the verification unit determines that the automatic configuration is successful, so as to start the PON protocol stack according to the wan type for PON communication later.

[0029] According to a second aspect of the present invention, the wan type determination unit includes:

[0030] A matching subunit, used for matching the module information with a plurality of pre-stored optical module information files to obtain an optical module information file matching the module information;

[0031] a type reading subunit, configured to read the wan type supported by the optical module from the optical module information file; and

[0032] The determination subunit is used to determine whether the optical module is a single-mode optical module according to the WAN type supported by the optical module. If so, output the WAN type supported by the read optical module; if not, determine that the automatic configuration fails.

[0033] To achieve the purpose of the present invention, the third aspect of the present invention proposes a computer-readable storage medium, which stores one or more computer programs. When the one or more computer programs are executed by one or more processors, the steps of the PON optical module automatic detection configuration method according to the first aspect of the present invention are implemented.

[0034] The present invention has at least the following beneficial effects:

[0035] The above-mentioned method for automatic detection and configuration of a PON optical module and its system and computer-readable storage medium, when applied, when the interface of an ONU is inserted into an optical module, the module information of the optical module is read, and the wan type supported by the optical module is determined according to the module information; the corresponding type of PON configuration parameters are obtained according to the wan type, and the PON configuration of the optical module is performed according to the PON configuration parameters. After the configuration is completed, a certain time is delayed, and the synchronization status of the ONU and the OLT connected thereto is monitored to verify whether the wan type is correct, thereby realizing automatic detection and configuration of the PON optical module. There is no need for technical personnel to determine the specific type of the optical module in advance and then perform manual configuration to realize the start-up of the optical module system. The technical problem that the ONU cannot automatically detect the type of the optical module and perform the corresponding PON configuration when the optical module is inserted is effectively solved, thereby improving the convenience of using the ONU optical module.

[0036] Other features and advantages of the embodiments of the present invention will be further described in the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 This is a schematic diagram of the PON system structure.

[0039] Figure 2 The figure is a flow chart of a method for automatic detection and configuration of a PON optical module in one embodiment of the present invention.

[0040] Figure 3 This is a specific flow chart of determining the WAN type supported by the optical module according to the module information in another embodiment of the present invention.

[0041] Figure 4 The present invention is a schematic diagram of the structure of a PON optical module automatic detection and configuration system in one embodiment of the present invention.

[0042] Figure 5 It is a structural diagram of a PON optical module automatic detection and configuration system in another embodiment of the present invention.

[0043] Figure 6 It is a structural schematic diagram of a WAN type determination unit in another embodiment of the present invention. DETAILED DESCRIPTION

[0044] Various exemplary embodiments, features and aspects of the present invention will be described in detail below with reference to the accompanying drawings. In addition, in order to better illustrate the present invention, numerous specific details are provided in the specific embodiments below. It should be understood by those skilled in the art that the present invention can also be implemented without certain specific details. In some instances, means well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present invention.

[0045] An embodiment of the present invention provides a PON optical module automatic detection configuration method, which is applied to a passive optical network (Passive Optical Network, PON), such as Figure 1 As shown, the PON system may include an optical line terminal (Optical Line Terminal, OLT), an optical distribution network (Optical Distribution Network, ODN) and multiple optical network units (Optical Network Unit, ONU), the OLT is connected to the ODN, and the ODN is connected to the multiple ONUs;

[0046] See also Figure 2 , the method of this embodiment includes the following steps:

[0047] Step S1: When the interface of the ONU is inserted into the optical module, the module information of the optical module is read.

[0048] Specifically, the optical module of this embodiment specifically refers to a pluggable PON optical module, which is an optoelectronic device for photoelectric and electro-optical conversion, a high-performance optical module for a PON system, also known as a PON module, which complies with the ITU-TG.984.2 standard and the Multi-Source Agreement (MSA), and uses different wavelengths to send and receive signals between OLT (optical line terminal) and ONT (optical network terminal); generally speaking, ONU is provided with multiple interfaces, such as Ethernet interfaces, to facilitate the plugging and removal of pluggable optical modules. In this embodiment, when the interface of the ONU is plugged into the optical module, the automatic detection configuration process of the PON optical module is triggered, and at this time, the ONU automatically reads the module information of the optical module, and the module information refers to the properties of the optical module.

[0049] Step S2: Determine the WAN type supported by the optical module according to the module information.

[0050] Specifically, the module information of the optical module supported by the ONU and the WAN type it supports are pre-stored in an information file. After reading the module information of the optical module, the pre-stored information file can be queried according to the module information to obtain the WAN type supported by the optical module.

[0051] Step S3: acquiring a PON configuration parameter of a corresponding type according to the wan type, and performing PON configuration of the optical module according to the PON configuration parameter.

[0052] Specifically, the steps are to load the microcode of the corresponding PON type and configure the driving parameters of the corresponding PON type according to the wan type, wherein the wan type corresponds to the PON type, and the microcodes of various PON types and the driving parameters of the PON type to be configured are pre-stored in the storage device of the ONU.

[0053] Step S4: Delay for a preset time to obtain the synchronization status of the ONU and the OLT connected thereto.

[0054] Specifically, after completing the PON configuration of step S3, the synchronization process of the PON frame is started, and the synchronization status of the ONU and the OLT connected thereto is monitored; it is understandable that since it takes a certain amount of time to reach the frame synchronization state, a delay of a preset time is required in step S4 before the synchronization state detection; it should be noted that the preset time is set according to specific technical conditions. At this time, the optical signal is transmitted between the ONU and the OLT through the optical module, such as a downlink optical signal, that is, the OLT sends an optical signal to the optical module, the optical module receives the optical signal, and then forwards it to the ONU through the ONU interface connected thereto. The synchronization state in step S4 specifically refers to whether the downlink optical signal sent by the OLT when received by the ONU reaches the frame synchronization state.

[0055] Step S5: Verify whether the wan type is correct according to the synchronization status. If so, determine that the automatic configuration is successful; if not, determine that the automatic configuration fails.

[0056] Specifically, if the downstream optical signal sent by the OLT and received by the ONU reaches the frame synchronization state, it means that the automatically detected WAN type is correct, and the automatic configuration of the optical module is valid, then the automatic configuration is judged to be successful; otherwise, it means that the automatically detected WAN type is wrong, then the automatic configuration fails, and manual configuration or other processing procedures are required.

[0057] It can be known from the description of the above embodiments that in the embodiments of the present invention, when the interface of the ONU is inserted into an optical module, the module information of the optical module is read, and the wan type supported by the optical module is determined according to the module information; the PON configuration parameters of the corresponding type are obtained according to the wan type, and the PON configuration of the optical module is performed according to the PON configuration parameters. After the configuration is completed, a certain time is delayed, and the synchronization status of the ONU and the OLT connected thereto is monitored to verify whether the wan type is correct, thereby realizing automatic detection and configuration of the PON optical module. There is no need for technical personnel to determine the specific type of the optical module in advance and then perform manual configuration to realize the start-up of the optical module system. The technical problem that the ONU cannot automatically detect the type of the optical module and perform the corresponding PON configuration when the optical module is inserted is effectively solved, thereby improving the convenience of using the ONU optical module.

[0058] In some specific examples, the verifying whether the wan type is correct according to the synchronization state includes:

[0059] When the ONU is synchronized with the OLT, it is determined that the wan type is correct; when the ONU is not synchronized with the OLT, it is determined that the wan type is wrong.

[0060] In some specific examples, the step S5 further includes:

[0061] When it is determined that the automatic configuration is successful, the wan type wan type is stored in a storage device for subsequent use in starting a PON protocol stack according to the wan type to perform PON communication.

[0062] Specifically, after the optical module is configured successfully, in the subsequent optical signal communication, the wan type is read from the storage device, and the protocol stack of the corresponding type of PON is run according to the wan type, so that the PON communication works.

[0063] For some specific examples, see Figure 3 , the step S2 comprises:

[0064] Step S21, matching the module information with a plurality of pre-stored optical module information files to obtain an optical module information file matching the module information;

[0065] Specifically, before implementing the method of this embodiment, the relevant information of the optical module supported by the ONU in this embodiment is pre-stored in an optical module information file. The structure of the optical module information file is not limited to a certain type, and it may include information such as the manufacturer name, product serial number, burst mode high valid / low valid, polarity of the valid bit of the sending signal, power control polarity, whether the control of the sending signal is supported, bit supported by the wan type, etc., wherein the module information in step S21 may be information such as the manufacturer name and product serial number that can distinguish the identity of the optical module, that is, the matching in step S21 refers to finding an optical module information file having the same manufacturer name and product serial number as the module information;

[0066] Step S22, reading the WAN type supported by the optical module from the optical module information file;

[0067] Specifically, as shown in the above information file, the WAN type supported by the optical module refers to the supported type recorded in the "bit supported by WAN type" in the information file. The "bit supported by WAN type" records all WAN types supported by the optical module, which may support one WAN type or multiple WAN types.

[0068] Step S23, determining whether the optical module is a single-mode optical module according to the WAN type supported by the optical module, if so, outputting the WAN type supported by the read optical module, if not, determining that the automatic configuration fails;

[0069] Specifically, the single-mode optical module refers to supporting only one wan type, such as only supporting XGSPON; the other case is a multi-mode optical module, which refers to being able to support multiple wan types, such as GPON and EPON; in this embodiment, the automatic configuration of the optical module only supports single-mode optical modules. If it is a multi-mode optical module, it needs to enter manual configuration or other processing procedures;

[0070] For example, after reading the "bits supported by WAN type" in the information file, it is possible to determine whether it supports only one WAN type by polling multiple WAN types, that is, matching each WAN type with the information content (support type) of the "bits supported by WAN type" in turn. If they match, it is supported; if not, it is not supported.

[0071] In some specific examples, the module information includes one or more of the manufacturer name, model, and version of the optical module.

[0072] In some specific examples, the WAN type includes one or more of GPON, XGPON, and XGSPON.

[0073] In some specific examples, the ONU is one of SFU, HGU, SBU, and MDU, and F5G can be applied.

[0074] See also Figure 4 Another embodiment of the present invention provides a PON optical module automatic detection and configuration system, including:

[0075] The module information reading unit 1 is used to read the module information of the optical module when the interface of the ONU is inserted into the optical module;

[0076] A wan type determination unit 2, configured to determine the wan type supported by the optical module according to the module information;

[0077] A PON configuration unit 3, configured to obtain a PON configuration parameter of a corresponding type according to the wan type, and perform PON configuration of the optical module according to the PON configuration parameter;

[0078] A synchronization state acquisition unit 4, used to delay a preset time to acquire the synchronization state of the ONU and the OLT connected thereto; and

[0079] The verification unit 5 is used to verify whether the wan type is correct according to the synchronization state. If so, it is determined that the automatic configuration is successful; if not, it is determined that the automatic configuration fails.

[0080] For some specific examples, see Figure 5 , the system further comprises:

[0081] The storage unit 6 is used for storing the wan type in a storage device when the verification unit determines that the automatic configuration is successful, so as to start the PON protocol stack according to the wan type to perform PON communication later.

[0082] In some specific examples, the verification unit 5 is specifically used to:

[0083] When the ONU is synchronized with the OLT, it is determined that the wan type is correct; when the ONU is not synchronized with the OLT, it is determined that the wan type is wrong.

[0084] For some specific examples, see Figure 6 The wan type determination unit 2 comprises:

[0085] A matching subunit 21, used for matching the module information with a plurality of pre-stored optical module information files to obtain an optical module information file matching the module information;

[0086] A type reading subunit 22, configured to read the WAN type supported by the optical module from the optical module information file; and

[0087] The determination subunit 23 is used to determine whether the optical module is a single-mode optical module according to the WAN type supported by the optical module. If yes, output the read WAN type supported by the optical module. If not, determine that the automatic configuration fails.

[0088] In some specific examples, the module information includes one or more of the manufacturer name, model, and version of the optical module.

[0089] In some specific examples, the WAN type includes one or more of GPON, XGPON, and XGSPON.

[0090] In some specific examples, the ONU is one of SFU, HGU, SBU, and MDU.

[0091] The PON optical module automatic detection configuration system of the embodiment described above is only illustrative, wherein 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, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the PON optical module automatic detection configuration system of the embodiment.

[0092] It should be noted that the PON optical module automatic detection and configuration system of the above-mentioned embodiment corresponds to the PON optical module automatic detection and configuration method of the above-mentioned embodiment. Therefore, the undescribed part of the PON optical module automatic detection and configuration system of the above-mentioned embodiment can be obtained by referring to the content of the PON optical module automatic detection and configuration method of the above-mentioned embodiment, that is, the specific steps recorded in the PON optical module automatic detection and configuration method of the above-mentioned embodiment can be understood as the functions that can be achieved by the PON optical module automatic detection and configuration system of the above-mentioned embodiment, and will not be repeated here.

[0093] Furthermore, if the automatic detection and configuration system for PON optical modules of the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0094] To achieve the purpose of the present invention, the third aspect of the present invention proposes a computer-readable storage medium, which stores one or more computer programs. When the one or more computer programs are executed by one or more processors, the steps of the PON optical module automatic detection configuration method as described in the above embodiment are implemented.

[0095] Specifically, the computer-readable storage medium may include: any entity or recording medium that can carry the computer program instructions, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0096] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for automatic detection and configuration of a PON optical module, characterized in that: include: When the interface of the ONU is inserted into the optical module, the module information of the optical module is read; Matching the module information with a plurality of pre-stored optical module information files to obtain an optical module information file that matches the module information; Reading the WAN type supported by the optical module from the optical module information file, where the WAN type supported by the optical module refers to all WAN types supported by the optical module recorded in the bit of WAN type support; Matching the multiple WAN types with the supported types of the bit in sequence, and determining whether the optical module is a single-mode optical module according to the matching result, and if so, outputting the WAN type supported by the read optical module; Acquire a PON configuration parameter of a corresponding type according to the wan type, and perform PON configuration of the optical module according to the PON configuration parameter; Delaying a preset time to obtain the synchronization status of the ONU and the OLT connected thereto; Verify whether the WAN type is correct according to the synchronization status. If so, determine that the automatic configuration is successful. If not, determine that the automatic configuration fails.

2. The automatic detection and configuration method for a PON optical module according to claim 1, characterized in that: The verifying whether the wan type is correct according to the synchronization state includes: When the ONU is synchronized with the OLT, it is determined that the wan type is correct; when the ONU is not synchronized with the OLT, it is determined that the wan type is wrong.

3. The PON optical module automatic detection configuration method according to claim 1, characterized in that: The method further comprises: When it is determined that the automatic configuration is successful, the wan type wan type is stored in a storage device for subsequent use in starting a PON protocol stack according to the wan type to perform PON communication.

4. The method for automatic detection and configuration of a PON optical module according to claim 1, characterized in that: include: If the optical module is not a single-mode optical module, it is determined that the automatic configuration fails.

5. The method for automatic detection and configuration of a PON optical module according to any one of claims 1 to 4, characterized in that: The module information includes one or more of the manufacturer name, model, and version of the optical module.

6. The method for automatic detection and configuration of a PON optical module according to any one of claims 1 to 4, characterized in that: The WAN type includes one or more of GPON, XGPON, and XGSPON.

7. A PON optical module automatic detection and configuration system, characterized in that: include: A module information reading unit, used for reading module information of the optical module when the interface of the ONU is inserted into the optical module; The wan type determination unit is used to match the module information with a plurality of pre-stored optical module information files to obtain an optical module information file that matches the module information; read the wan type supported by the optical module from the optical module information file, the wan type supported by the optical module refers to all wan types supported by the optical module recorded by the bit position supported by the wan type; sequentially match the plurality of wan types with the supported types of the bit position, determine whether the optical module is a single-mode optical module according to the matching result, and if so, output the wan type supported by the read optical module; A PON configuration unit, configured to obtain a PON configuration parameter of a corresponding type according to the wan type, and perform PON configuration of the optical module according to the PON configuration parameter; A synchronization state acquisition unit, used to delay a preset time to acquire the synchronization state of the ONU and the OLT connected thereto; as well as The verification unit is used to verify whether the wan type is correct according to the synchronization state, and if so, it is determined that the automatic configuration is successful, and if not, it is determined that the automatic configuration fails.

8. The automatic detection and configuration system for PON optical modules according to claim 7, characterized in that: The system further comprises: The storage unit is used to store the wan type in a storage device when the verification unit determines that the automatic configuration is successful, so as to start the PON protocol stack according to the wan type to perform PON communication later.

9. The automatic detection and configuration system for PON optical modules according to claim 7, characterized in that: The wan type determination unit includes: The determination subunit is used to determine that the automatic configuration fails if the optical module is not a single-mode optical module.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more computer programs, and when the one or more computer programs are executed by one or more processors, the steps of the PON optical module automatic detection and configuration method according to any one of claims 1 to 6 are implemented.