Business processing method and device, computer equipment, storage medium and product
By using the uplink optical signal of ONU to exit the OLT energy-saving state and selecting a candidate ONU for service recovery in the 10G PON system, the problem that ONU cannot recover registration and service flow forwarding in time when the OLT side optical module enters the energy-saving state is solved, and timely transmission of service data and avoiding data loss is achieved.
Patent Information
- Application Number
- CN202411684246.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-11-22
AI Technical Summary
In the 10G PON system, when the OLT side optical module enters the energy-saving state, ONU cannot notify OLT in time, resulting in the inability to quickly restore ONU registration and online service flow forwarding.
When the OLT is in the energy-saving implementation state, it receives the uplink optical signal of the ONU, exits the energy-saving state, and selects the candidate ONU from the associated ONU based on the characteristic information of the optical signal, sends a static window to the PON system, receives the terminal registration information of the ONU, determines that the target ONU belongs to the candidate ONU and issues a parameter allocation message to enable the ONU to resume service.
It realizes the rapid exit of the energy-saving state of OLT and activates the target ONU, ensuring timely transmission of service data, and avoiding the problems of data cache overflow and business data loss.
Smart Images

Figure CN119653266A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to a service processing method, device, computer equipment, storage medium and product. Background Art
[0002] Green energy saving and low carbonization of communication systems are common concerns of domestic and foreign operators today. Since the access network is huge in scale and has many devices, the research and development and promotion of green energy-saving technologies in the access network field has good economic and social value. The average traffic of the existing 10G PON (Passive Optical Network) system is generally between 5% and 10%, and there are a considerable number of PON ports. There is a tidal effect. At night or in a specific time period, there are only management messages between OLT (Optical Line Terminal) / ONU (Optical Network Unit), but no actual business flow data.
[0003] Currently, there is an energy-saving mechanism applied to the OLT side optical module, which supports the OLT port to predict the business occurrence in a certain period of time in the future; and when the prediction result shows that there is no business flow, it is allowed to shut down the transmitter of the OLT side optical module to achieve energy saving (at this time, the ONU will be kicked offline and wait for the OLT port to be opened before going back online).
[0004] However, when the transmitter of the optical module on the OLT side is turned off, a certain ONU temporarily needs to forward business traffic locally, but the ONU is kicked offline at this time and the OLT cannot be notified in time, so the ONU registration and business flow forwarding cannot be restored as soon as possible. Summary of the invention
[0005] Based on this, it is necessary to provide a service processing method, device, computer equipment, storage medium and product that can quickly restore ONU registration and service flow forwarding in response to the above technical problems.
[0006] In a first aspect, the present application provides a service processing method, which is applied to an optical line terminal OLT, comprising:
[0007] When the OLT is in an energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, exit the energy-saving implementation state and select a candidate ONU from the ONUs associated with the OLT according to characteristic information of the optical signal;
[0008] Send a static window for ONU registration to the ONU in the PON system;
[0009] After receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0010] In one of the embodiments, the characteristic information includes a received optical power value;
[0011] The selecting a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal includes:
[0012] Determining a reference optical power range according to the received optical power value and a preset optical power error;
[0013] From the ONUs associated with the OLT, an ONU whose received optical power value is within the reference optical power range is selected as a candidate ONU.
[0014] In one of the embodiments, the parameter allocation message includes an identification allocation message and a balanced delay allocation message;
[0015] The sending of a parameter allocation message to the target ONU includes:
[0016] Obtaining a target identifier and a target balanced delay allocated to the target ONU during the last service processing;
[0017] An identifier allocation message carrying the target identifier and a balanced delay allocation message carrying the target balanced delay are sequentially sent to the target ONU.
[0018] In one of the embodiments, sending a static window for ONU registration to an ONU in a PON system includes:
[0019] An exclusive corresponding static window for ONU registration is issued to the candidate ONU, or a common static window for ONU registration is issued to all ONUs in the PON system; wherein the static window corresponding to each candidate ONU is used for the candidate ONU to perform ONU registration.
[0020] In one of the embodiments, the terminal registration information includes a target serial number of the target ONU; and determining that the target ONU belongs to the candidate ONU according to the terminal registration information includes:
[0021] Obtaining a candidate sequence number of the candidate ONU;
[0022] If the target sequence number exists in the candidate sequence numbers, it is determined that the target ONU belongs to the candidate ONU.
[0023] In one embodiment, the method further comprises:
[0024] When it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONU, generating a new identifier for the target ONU according to the identifier of the ONU associated with the OLT;
[0025] Sending an identifier allocation message carrying the new identifier to the target ONU;
[0026] Performing a windowing ranging operation on the target ONU, and obtaining a target balanced delay of the target ONU;
[0027] A balanced delay allocation message carrying the target balanced delay is sent to the target ONU, so that the target ONU performs service transmission.
[0028] In a second aspect, the present application also provides a service processing device, including:
[0029] The energy-saving exit module is used to exit the energy-saving implementation state when the OLT is in the energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, and select a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal;
[0030] A window delivery module is used to deliver a static window for ONU registration to the ONU in the PON system;
[0031] The service processing module is used for, after receiving the terminal registration information reported by the target ONU, determining according to the terminal registration information that the target ONU belongs to the candidate ONU, sending a parameter allocation message to the target ONU to enable the target ONU to perform service recovery.
[0032] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] When the OLT is in an energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, exit the energy-saving implementation state and select a candidate ONU from the ONUs associated with the OLT according to characteristic information of the optical signal;
[0034] Send a static window for ONU registration to the ONU in the PON system;
[0035] After receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0037] When the OLT is in an energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, exit the energy-saving implementation state and select a candidate ONU from the ONUs associated with the OLT according to characteristic information of the optical signal;
[0038] Send a static window for ONU registration to the ONU in the PON system;
[0039] After receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0040] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0041] When the OLT is in an energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, exit the energy-saving implementation state and select a candidate ONU from the ONUs associated with the OLT according to characteristic information of the optical signal;
[0042] Send a static window for ONU registration to the ONU in the PON system;
[0043] After receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0044] The above-mentioned service processing method, device, computer equipment, storage medium and product, when the OLT is in the energy-saving implementation state, sends an optical signal to the OLT through the uplink transmitter of any optical network terminal ONU, so that the OLT can exit the energy-saving implementation state in time; further, the OLT selects a candidate ONU from the ONU associated with the OLT according to the characteristic information of the optical signal, and sends a static window for ONU registration to the ONU in the PON system; after the OLT receives the terminal registration information reported by the target ONU, if it is determined that the target ONU belongs to the candidate ONU according to the terminal registration information, it sends a parameter allocation message to the target ONU to activate the target ONU in time, so that the target ONU can quickly restore the service. At the same time, the above-mentioned scheme avoids the overflow problem of the local cache of the data to be transmitted by the target ONU by timely controlling the OLT to exit the energy-saving implementation state and quickly activating the target ONU to transmit the service data, thereby avoiding the loss of service data. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1A is a state diagram of an energy-saving mechanism on the OLT side in an embodiment;
[0047] Figure 1B An application environment diagram of a business processing method in an embodiment;
[0048] Figure 2A A flowchart of a business processing method in an embodiment;
[0049] Figure 2B is a state diagram of an energy-saving mechanism on the OLT side in another embodiment;
[0050] Figure 3 A schematic diagram of a process of selecting a candidate ONU in an embodiment;
[0051] Figure 4 A schematic diagram of a process of sending a parameter allocation message to a target ONU in an embodiment;
[0052] Figure 5 A schematic diagram of a process of determining that a target ONU belongs to a candidate ONU in one embodiment;
[0053] Figure 6 A schematic diagram of a flow chart of a service transmission method in an embodiment;
[0054] Figure 7 is a flowchart of a business processing method in another embodiment;
[0055] Figure 8 is a structural block diagram of a service processing device in an embodiment;
[0056] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0058] In the prior art, such as Figure 1A The following is a state diagram of the energy-saving mechanism on the OLT side. Figure 1A It can be seen that when the OLT is in working state, the OLT port predicts the business occurrence in a certain period of time in the future; and when the prediction result shows that there is no business flow, it is allowed to shut down the transmitter of the optical module on the OLT side and enter the energy-saving state, and when the prediction result shows that there is only traffic management, it enters the energy-saving implementation state. In this case, the OLT will only exit the energy-saving implementation state and enter the working state when the possible time period ends. However, at this time, if a certain ONU temporarily has a business traffic forwarding demand locally (for example, a business flow enters the UNI port), it is limited by the fact that the ONU is offline at this time and there is no corresponding upstream burst transmission time slot allocation. Therefore, the ONU cannot notify the OLT in time and restore the ONU registration and online and business flow forwarding as soon as possible.
[0059] Based on this, the service processing method provided in the embodiment of the present application can be applied to Figure 1B In the application environment shown. The optical line terminal OLT101 is an optical line terminal in the PON system; the optical network terminal ONU102 is an optical network terminal in the PON system. In the embodiment of the present application, the optical network terminal ONU102 may be a terminal hung under the OLT. Optionally, when the OLT is in the energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, it exits the energy-saving implementation state, and selects a candidate ONU from the ONU associated with the OLT according to the characteristic information of the optical signal; sends a static window for ONU registration to the ONU in the PON system; after receiving the terminal registration information reported by the target ONU, when it is determined that the target ONU belongs to the candidate ONU according to the terminal registration information, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0060] In an exemplary embodiment, Figure 2A As shown, a business processing method is provided, which is applied to Figure 1B Taking the optical line terminal OLT101 in the example as an example, the specific steps include:
[0061] S201, when the OLT is in an energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, it exits the energy-saving implementation state and selects a candidate ONU from the ONUs associated with the OLT according to characteristic information of the optical signal.
[0062] The characteristic information of the optical signal is information characterizing the transmission characteristics and attribute characteristics of the optical signal; in the embodiment of the present application, the characteristic information of the optical signal includes but is not limited to the received optical power value of the optical signal. The ONU associated with the OLT is the ONU attached to the OLT.
[0063] Optionally, when the OLT is in the energy-saving implementation state, the optical module transmitter on the OLT side is turned off, and the ONUs under the OLT are offline. At this time, if a certain ONU temporarily has a business traffic forwarding demand locally, the ONU will send an optical signal lasting 5-10 microseconds to the optical module receiver on the OLT side through the upstream transmitter.
[0064] Further, after receiving the optical signal sent by the ONU, the optical module receiver of the OLT detects the characteristic information of the received optical signal and reports the characteristic information to the OLT port. After receiving the characteristic information of the optical signal sent by the ONU, the OLT will exit the energy-saving implementation state, and compare and analyze the characteristic information of the optical signal with the characteristic information of the ONU hanging under the OLT, and use the ONU corresponding to the characteristic information of the ONU hanging under the OLT and the characteristic information of the optical signal as a candidate ONU. It should be noted that the number of candidate ONUs can be one or more.
[0065] S202: Send a static window for ONU registration to the ONU in the PON system.
[0066] The length of the static window is determined according to the distance between the OLT and the ONU, and is expressed as a time length.
[0067] Optionally, a common static window for registration may be issued to all ONUs in the PON system.
[0068] Optionally, in order to ensure the pertinence of the static window sent, the corresponding static window for ONU registration can also be sent to the candidate ONU. Wherein, it should be noted that each candidate ONU corresponds to a static window. It is understandable that, since the received optical power of the determined candidate ONU is very close, there may be at least two candidate ONUs with the same distance from the OLT. For this situation, the same static window can be sent to the at least two candidate ONUs, that is, each candidate ONU corresponds to a static window, and a static window corresponds to at least one candidate ONU.
[0069] S203, after receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0070] The terminal registration information is information reported by the target ONU for ONU registration; in the embodiment of the present application, the terminal registration information includes but is not limited to the target sequence number of the target ONU. The parameter allocation message is a message for allocating parameters to the target ONU, and in the embodiment of the present application, the parameter allocation message includes but is not limited to an identification allocation message and a balanced delay allocation message.
[0071] Optionally, after receiving the terminal registration information reported by the target ONU, the terminal registration information can be compared with the characteristic information of the candidate ONU, and whether the target ONU belongs to the candidate ONU is determined according to the comparison result. If it is determined that the target ONU belongs to the candidate ONU, an identification allocation message and a balanced delay allocation message are sent to the target ONU at one time to support the target ONU to go online and restore the transmission and forwarding of the service.
[0072] It should be noted that, combined with Figure 1A The state diagram of the energy-saving mechanism on the OLT side of the service processing method provided in the embodiment of the present application is as follows: Figure 2B As shown. Figure 2B It can be seen that when the OLT is in the energy-saving implementation state, upon receiving an uplink service alarm signal (i.e., an electrical signal sent by any ONU), the OLT will also exit the energy-saving implementation state and enter the working state.
[0073] In the above service processing method, when the OLT is in the energy-saving implementation state, an optical signal is sent to the OLT through the uplink transmitter of any optical network terminal ONU, so that the OLT can exit the energy-saving implementation state in time; further, the OLT selects a candidate ONU from the ONU associated with the OLT according to the characteristic information of the optical signal, and sends a static window for ONU registration to the ONU in the PON system; after the OLT receives the terminal registration information reported by the target ONU, it determines that the target ONU belongs to the candidate ONU according to the terminal registration information, and sends a parameter allocation message to the target ONU to activate the target ONU in time, so that the target ONU can quickly restore the service. At the same time, the above scheme avoids the overflow problem of the data to be transmitted by the target ONU in the local cache by timely controlling the OLT to exit the energy-saving implementation state and quickly activating the target ONU to transmit the service data, thereby avoiding the loss of service data.
[0074] Optionally, the characteristic information includes a received optical power value; in this case, in one embodiment, Figure 3 As shown, a method for selecting a candidate ONU from an ONU associated with an OLT is provided to refine S201, specifically comprising the following steps:
[0075] S301, determining a reference optical power range according to a received optical power value and a preset optical power error.
[0076] The preset optical power error is a preset error that allows the received optical power value to fluctuate.
[0077] Optionally, the difference between the received optical power value and the preset optical power error is used as the optical power lower limit, and the sum of the received optical power value and the preset optical power error is used as the optical power upper limit, and the reference optical power range is determined based on the optical power lower limit and the optical power upper limit.
[0078] Exemplarily, if the received optical power value is -26.55 dB and the preset optical power error is 0.5 dB, the reference optical power range may be [-26.55-0.5, -26.55+0.5].
[0079] S302 : Select an ONU whose received optical power value is within a reference optical power range from the ONUs associated with the OLT as a candidate ONU.
[0080] Among them, the ONUs associated with the OLT whose received optical power values are within the reference optical power range under normal working conditions are taken as candidate ONUs.
[0081] In this embodiment, by introducing a preset optical power error, the situation in which the candidate ONU is determined incorrectly due to the error between the received optical power of the ONU in normal working conditions and the received optical power in the energy-saving implementation state is avoided, that is, the accuracy of the determined candidate ONU is guaranteed.
[0082] Optionally, in one embodiment, Figure 4 As shown, a method for sending a parameter allocation message to a target ONU is provided to refine S203, specifically comprising the following steps:
[0083] S401, obtaining a target identifier and a target balanced delay allocated to a target ONU in the last service processing process.
[0084] The target identifier is an identifier assigned to the target ONU, that is, ONU-ID (ONU-Identity document). The target balanced delay is the balanced delay assigned to the target ONU, that is, the EqD parameter.
[0085] Optionally, the target identifier and target equalization delay allocated to the target ONU in the last service processing process may be obtained from the memory.
[0086] S402 , sending an identifier allocation message carrying a target identifier and a balanced delay allocation message carrying a target balanced delay to a target ONU in sequence.
[0087] Optionally, an identifier assignment message (Assign_ONU-ID message) carrying a target identifier and a balancing delay assignment message (Ranging_Time message) carrying a target balancing delay are sequentially sent to the target ONU.
[0088] In this embodiment, the target ONU is activated to perform service recovery by sequentially sending the target identifier and target equalization delay allocated to the target ONU during the last service processing to ensure that the target ONU performs service transmission in a timely manner.
[0089] Optionally, in one embodiment, Figure 5 As shown, a method for determining that a target ONU belongs to a candidate ONU is provided, which specifically includes the following steps:
[0090] S501, obtaining a candidate serial number of a candidate ONU.
[0091] The candidate serial number is the serial number of the candidate ONU, which is the unique identifier of the candidate ONU, that is, ONU SN (Serial Number).
[0092] Optionally, the candidate serial number of the candidate ONU may be obtained from a stored downstream ONU list.
[0093] S502: If the target sequence number exists in the candidate sequence numbers, it is determined that the target ONU belongs to the candidate ONU.
[0094] Optionally, the target sequence number is compared with the candidate sequence number, and if the target sequence number exists in the candidate sequence number, it can be determined that the target ONU belongs to the candidate ONU.
[0095] In this embodiment, by introducing the target sequence number and the candidate sequence number, since the sequence number is a unique identifier of the ONU in the OLT, it can be accurately determined whether the target ONU belongs to the candidate ONU.
[0096] Optionally, it can be seen from the steps described in the above embodiment that after the static window for registration is issued to all ONUs in the PON system, terminal registration information reported by unregistered ONUs may be received. In this case, in one embodiment, Figure 6 As shown, a service transmission method is provided, which specifically includes the following steps:
[0097] S601: When it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONU, a new identifier is generated for the target ONU according to the identifier of the ONU associated with the OLT.
[0098] Optionally, if it is determined that the target ONU does not belong to the candidate ONU according to the target serial number of the target ONU in the terminal registration information, it means that the target ONU is a new ONU. At this time, a new identifier needs to be generated for the target ONU according to the identifier of the ONU associated with the OLT.
[0099] Exemplarily, if the identifiers of the ONUs associated with the OLT are 1, 2, 3, 4, 5, and 6 respectively, a new identifier 7 may be generated for the target ONU in numerical order.
[0100] S602: Send an identifier allocation message carrying a new identifier to the target ONU.
[0101] S603, performing a windowing ranging operation on the target ONU, and obtaining a target balanced delay of the target ONU.
[0102] Optionally, after suspending the services of all ONUs connected to the OLT, a windowing ranging operation may be performed on the target ONU to obtain a target balanced delay of the target ONU.
[0103] S604: Send a balanced delay allocation message carrying a target balanced delay to a target ONU, so that the target ONU performs service transmission.
[0104] Optionally, a balanced delay allocation message may be generated according to the target balanced delay, and the generated balanced delay allocation message may be sent to the target ONU.
[0105] In this embodiment, when the target ONU does not belong to the candidate ONU, the registration process of the ONU can be completed in time by allocating information identifier and target balanced delay to the target ONU, so as to ensure that the target ONU performs service transmission in time.
[0106] Optionally, in order to intuitively and clearly describe the specific implementation process of the service processing method provided by the present application, in one embodiment, an application example is provided. In the embodiment of the present application, the application background is that 10 ONUs are hung under the OLT port in the PON system, namely ONU1, ONU2, ..., ONU10, and their corresponding received optical powers are shown in the following Table 1:
[0107] Table 1 Received optical power corresponding to the ONU connected to the OLT port
[0108]
[0109] At this time, the OLT port is in the energy-saving implementation state, and ONU1~ONU10 are all offline. At this time, ONU1 has an upstream service flow transmission demand. ONU1 turns on the upstream transmitter and sends a continuous optical signal lasting 10 microseconds; the optical module receiver of the OLT port receives the optical signal sent by ONU1, records the received optical power information Rz as -26.55dB, and reports it to the OLT port; based on the table record in the background setting, the OLT port selects the ONUs within the range of (-26.55dB±0.5) (sets the preset optical power error = 0.5, and obtains the corresponding ONU terminal set (ONU1, ONU5, ONU6, ONU9); the OLT port exits its own energy-saving implementation state and sends down a static window for ONU registration; when the OLT receives the Serial_Number_ONU message reported by the ONU registration, which contains SN=SN1, the OLT sends an Assign_ONU-ID message in the downstream direction, which carries the ONU-ID = 3 that has been assigned in the previous work, and then sends down a Ranging_Time message (carrying the EqD parameter that has been assigned in the previous work).
[0110] Figure 7 FIG. 1 is a flow chart of a service processing method in another embodiment. Based on the above embodiment, this embodiment provides an optional example of a service processing method. Figure 7 The specific implementation process is as follows:
[0111] S701, when the OLT is in the energy-saving implementation state and receives an optical signal sent by an uplink transmitter of any optical network terminal ONU, exit the energy-saving implementation state.
[0112] S702: Determine a reference optical power range according to a received optical power value of an optical signal and a preset optical power error.
[0113] S703 : Select an ONU whose received optical power value is within a reference optical power range from the ONUs associated with the OLT as a candidate ONU.
[0114] S704: Send the corresponding static window to the candidate ONU.
[0115] The static window corresponding to each candidate ONU is used for the candidate ONU to perform ONU registration.
[0116] S705, after receiving the terminal registration information reported by the target ONU, obtain the candidate serial number of the candidate ONU.
[0117] S706: If the target sequence number in the terminal registration information exists in the candidate sequence number, it is determined that the target ONU belongs to the candidate ONU.
[0118] S707 , obtaining a target identifier and a target balanced delay allocated to the target ONU in the last service processing process.
[0119] S708 , sending an identifier allocation message carrying a target identifier and a balanced delay allocation message carrying a target balanced delay to the target ONU in sequence, so that the target ONU can perform service recovery.
[0120] The specific process of the above S701-S708 can be found in the description of the above method embodiment. The implementation principle and technical effect are similar and will not be repeated here.
[0121] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0122] Based on the same inventive concept, the embodiment of the present application also provides a business processing device for implementing the business processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more business processing device embodiments provided below can refer to the limitations on the business processing method above, and will not be repeated here.
[0123] In an exemplary embodiment, Figure 8 As shown, a service processing device 800 is provided, including: an energy-saving exit module 810, a window delivery module 820 and a service processing module 830, wherein:
[0124] The energy-saving exit module 810 is used to exit the energy-saving implementation state when the OLT is in the energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, and select a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal.
[0125] The window sending module 820 is used to send a static window for ONU registration to the ONU in the PON system.
[0126] The service processing module 830 is used to send a parameter allocation message to the target ONU after receiving the terminal registration information reported by the target ONU and determining that the target ONU belongs to the candidate ONU according to the terminal registration information, so that the target ONU can perform service recovery.
[0127] The above-mentioned service processing device, when the OLT is in the energy-saving implementation state, sends an optical signal to the OLT through the uplink transmitter of any optical network terminal ONU, so that the OLT can exit the energy-saving implementation state in time; further, the OLT selects a candidate ONU from the ONU associated with the OLT according to the characteristic information of the optical signal, and sends a static window for ONU registration to the ONU in the PON system; after the OLT receives the terminal registration information reported by the target ONU, if it determines that the target ONU belongs to the candidate ONU according to the terminal registration information, it sends a parameter allocation message to the target ONU to activate the target ONU in time, so that the target ONU can quickly restore the service. At the same time, the above-mentioned scheme avoids the overflow problem of the local cache of the data to be transmitted by the target ONU by timely controlling the OLT to exit the energy-saving implementation state and quickly activating the target ONU to transmit the service data, thereby avoiding the loss of service data.
[0128] In one embodiment, the characteristic information includes a received optical power value; the energy-saving exit module 810 is specifically used to:
[0129] A reference optical power range is determined according to a received optical power value and a preset optical power error; and an ONU whose received optical power value is within the reference optical power range is selected from ONUs associated with the OLT as a candidate ONU.
[0130] In one embodiment, the parameter allocation message includes an identification allocation message and a balanced delay allocation message; the service processing module 830 is specifically used to:
[0131] Obtain the target identifier and target balanced delay allocated to the target ONU during the last service processing; and sequentially send an identifier allocation message carrying the target identifier and a balanced delay allocation message carrying the target balanced delay to the target ONU.
[0132] In one embodiment, the window sending module 820 is specifically used for:
[0133] An exclusive static window for ONU registration is issued to the candidate ONU, or a common static window for ONU registration is issued to all ONUs in the PON system; wherein each candidate ONU corresponds to an exclusive static window.
[0134] In one embodiment, the terminal registration information includes the target serial number of the target ONU; the service processing module 830 is specifically used to:
[0135] The candidate sequence number of the candidate ONU is obtained; if the target sequence number exists in the candidate sequence number, it is determined that the target ONU belongs to the candidate ONU.
[0136] In one embodiment, the service processing module 830 is further configured to:
[0137] When it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONU, a new identifier is generated for the target ONU according to the identifier of the ONU associated with the OLT; an identification allocation message carrying the new identifier is sent to the target ONU; a windowing ranging operation is performed on the target ONU, and a target balanced delay of the target ONU is obtained; and a balanced delay allocation message carrying the target balanced delay is sent to the target ONU, so that the target ONU can perform service transmission.
[0138] Each module in the above-mentioned business processing device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0139] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a business processing method is implemented.
[0140] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0141] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0142] When the OLT is in the energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, the OLT exits the energy-saving implementation state and selects a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal;
[0143] Send a static window for ONU registration to the ONU in the PON system;
[0144] After receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0145] In one embodiment, the characteristic information includes a received optical power value; when the processor executes the computer program to select a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal, the following steps are also implemented:
[0146] A reference optical power range is determined according to a received optical power value and a preset optical power error; and an ONU whose received optical power value is within the reference optical power range is selected from ONUs associated with the OLT as a candidate ONU.
[0147] In one embodiment, the parameter allocation message includes an identification allocation message and a balanced delay allocation message; when the processor executes the computer program to send the parameter allocation message to the target ONU, the following steps are also implemented:
[0148] Obtain the target identifier and target balanced delay allocated to the target ONU during the last service processing; and sequentially send an identifier allocation message carrying the target identifier and a balanced delay allocation message carrying the target balanced delay to the target ONU.
[0149] In one embodiment, when the processor executes the computer program to send a static window for ONU registration to the ONU in the PON system, the following steps are also implemented:
[0150] An exclusive static window for ONU registration is issued to the candidate ONU, or a common static window for ONU registration is issued to all ONUs in the PON system; wherein each candidate ONU corresponds to an exclusive static window.
[0151] In one embodiment, the terminal registration information includes a target serial number of the target ONU; when the processor executes the computer program to determine that the target ONU belongs to the candidate ONU according to the terminal registration information, the following steps are also implemented:
[0152] The candidate sequence number of the candidate ONU is obtained; if the target sequence number exists in the candidate sequence number, it is determined that the target ONU belongs to the candidate ONU.
[0153] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0154] When it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONU, a new identifier is generated for the target ONU according to the identifier of the ONU associated with the OLT; an identification allocation message carrying the new identifier is sent to the target ONU; a windowing ranging operation is performed on the target ONU, and a target balanced delay of the target ONU is obtained; and a balanced delay allocation message carrying the target balanced delay is sent to the target ONU, so that the target ONU can perform service transmission.
[0155] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0156] When the OLT is in the energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, the OLT exits the energy-saving implementation state and selects a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal;
[0157] Send a static window for ONU registration to the ONU in the PON system;
[0158] After receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0159] In one embodiment, the characteristic information includes a received optical power value; when the processor executes the computer program to select a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal, the following steps are also implemented:
[0160] A reference optical power range is determined according to a received optical power value and a preset optical power error; and an ONU whose received optical power value is within the reference optical power range is selected from ONUs associated with the OLT as a candidate ONU.
[0161] In one embodiment, the parameter allocation message includes an identification allocation message and a balanced delay allocation message; when the processor executes the computer program to send the parameter allocation message to the target ONU, the following steps are also implemented:
[0162] Obtain the target identifier and target balanced delay allocated to the target ONU during the last service processing; and sequentially send an identifier allocation message carrying the target identifier and a balanced delay allocation message carrying the target balanced delay to the target ONU.
[0163] In one embodiment, when the processor executes the computer program to send a static window for ONU registration to the ONU in the PON system, the following steps are also implemented:
[0164] An exclusive static window for ONU registration is issued to the candidate ONU, or a common static window for ONU registration is issued to all ONUs in the PON system; wherein each candidate ONU corresponds to an exclusive static window.
[0165] In one embodiment, the terminal registration information includes a target serial number of the target ONU; when the processor executes the computer program to determine that the target ONU belongs to the candidate ONU according to the terminal registration information, the following steps are also implemented:
[0166] The candidate sequence number of the candidate ONU is obtained; if the target sequence number exists in the candidate sequence number, it is determined that the target ONU belongs to the candidate ONU.
[0167] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0168] When it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONU, a new identifier is generated for the target ONU according to the identifier of the ONU associated with the OLT; an identification allocation message carrying the new identifier is sent to the target ONU; a windowing ranging operation is performed on the target ONU, and a target balanced delay of the target ONU is obtained; and a balanced delay allocation message carrying the target balanced delay is sent to the target ONU, so that the target ONU can perform service transmission.
[0169] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0170] When the OLT is in the energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, the OLT exits the energy-saving implementation state and selects a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal;
[0171] Send a static window for ONU registration to the ONU in the PON system;
[0172] After receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
[0173] In one embodiment, the characteristic information includes a received optical power value; when the processor executes the computer program to select a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal, the following steps are also implemented:
[0174] A reference optical power range is determined according to a received optical power value and a preset optical power error; and an ONU whose received optical power value is within the reference optical power range is selected from ONUs associated with the OLT as a candidate ONU.
[0175] In one embodiment, the parameter allocation message includes an identification allocation message and a balanced delay allocation message; when the processor executes the computer program to send the parameter allocation message to the target ONU, the following steps are also implemented:
[0176] Obtain the target identifier and target balanced delay allocated to the target ONU during the last service processing; and sequentially send an identifier allocation message carrying the target identifier and a balanced delay allocation message carrying the target balanced delay to the target ONU.
[0177] In one embodiment, when the processor executes the computer program to send a static window for ONU registration to the ONU in the PON system, the following steps are also implemented:
[0178] An exclusive static window for ONU registration is issued to the candidate ONU, or a common static window for ONU registration is issued to all ONUs in the PON system; wherein each candidate ONU corresponds to an exclusive static window.
[0179] In one embodiment, the terminal registration information includes a target serial number of the target ONU; when the processor executes the computer program to determine that the target ONU belongs to the candidate ONU according to the terminal registration information, the following steps are also implemented:
[0180] The candidate sequence number of the candidate ONU is obtained; if the target sequence number exists in the candidate sequence number, it is determined that the target ONU belongs to the candidate ONU.
[0181] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0182] When it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONU, a new identifier is generated for the target ONU according to the identifier of the ONU associated with the OLT; an identification allocation message carrying the new identifier is sent to the target ONU; a windowing ranging operation is performed on the target ONU, and a target balanced delay of the target ONU is obtained; and a balanced delay allocation message carrying the target balanced delay is sent to the target ONU, so that the target ONU can perform service transmission.
[0183] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0184] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0185] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0186] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A business processing method, characterized in that: Applied to an optical line terminal OLT, the method comprises: When the OLT is in an energy-saving implementation state and receives an optical signal sent by an upstream transmitter of any optical network terminal ONU, exit the energy-saving implementation state and select a candidate ONU from the ONUs associated with the OLT according to characteristic information of the optical signal; Sending static windows for ONU registration to ONUs in a passive optical network (PON) system; After receiving the terminal registration information reported by the target ONU, if it is determined according to the terminal registration information that the target ONU belongs to the candidate ONU, a parameter allocation message is sent to the target ONU to enable the target ONU to perform service recovery.
2. The method according to claim 1, characterized in that: The characteristic information includes a received optical power value; The selecting a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal includes: Determining a reference optical power range according to the received optical power value and a preset optical power error; From the ONUs associated with the OLT, an ONU whose received optical power value is within the reference optical power range is selected as a candidate ONU.
3. The method according to claim 1, characterized in that The parameter allocation message includes an identification allocation message and a balanced delay allocation message; The sending of a parameter allocation message to the target ONU includes: Obtaining a target identifier and a target balanced delay allocated to the target ONU during the last service processing; An identifier allocation message carrying the target identifier and a balanced delay allocation message carrying the target balanced delay are sequentially sent to the target ONU.
4. The method according to any one of claims 1 to 3, characterized in that: The sending of a static window for ONU registration to an ONU in a passive optical network PON system includes: A corresponding static window is issued to the candidate ONU, or a common static window for ONU registration is issued to all ONUs in the PON system; wherein the static window corresponding to each candidate ONU is used for the candidate ONU to perform ONU registration.
5. The method according to any one of claims 1 to 3, characterized in that: The terminal registration information includes the target serial number of the target ONU; The determining, according to the terminal registration information, that the target ONU belongs to the candidate ONU comprises: Obtaining a candidate sequence number of the candidate ONU; If the target sequence number exists in the candidate sequence numbers, it is determined that the target ONU belongs to the candidate ONU.
6. The method according to claim 1, characterized in that The method further comprises: When it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONU, generating a new identifier for the target ONU according to the identifier of the ONU associated with the OLT; Sending an identifier allocation message carrying the new identifier to the target ONU; Performing a windowing ranging operation on the target ONU, and obtaining a target balanced delay of the target ONU; A balanced delay allocation message carrying the target balanced delay is sent to the target ONU, so that the target ONU performs service transmission.
7. A service processing device, characterized in that: Configured in an optical line terminal OLT, the device comprises: The energy-saving exit module is used to exit the energy-saving implementation state when the OLT is in the energy-saving implementation state and receives an optical signal sent by an uplink transmitter of any optical network terminal ONU, and select a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal; A window delivery module is used to deliver a static window for ONU registration to the ONU in the PON system; The service processing module is used for, after receiving the terminal registration information reported by the target ONU, determining according to the terminal registration information that the target ONU belongs to the candidate ONU, sending a parameter allocation message to the target ONU to enable the target ONU to perform service recovery.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method, device and system for awakening optical network unit in passive optical network
CN106464379A
A method and apparatus for registering an optical network unit
CN109104646A
Automatic power control method for OLT in PON, andstorage media
KR100763530B1
Dynamic Readjustment of Energy Efficient Network Control Policy Parameters in an Optical Network Unit Based on a SIEPON Protocol
US20140112663A1
Network configuration method and related device
WO2022042217A1