Business processing method and apparatus, computer device, storage medium and product
By receiving optical signals from ONUs through the OLT, selecting candidate ONUs, and sending static window and parameter messages, the problem of ONU service recovery delay in OLT energy-saving mode is solved, ensuring fast service data transmission and data integrity.
Patent Information
- Application Number
- CN202411684246.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2044-11-22
AI Technical Summary
When the Optical Line Terminal (OLT) is in power-saving mode, if the ONU temporarily needs service traffic but cannot notify the OLT in time, the ONU registration and service flow forwarding cannot be restored quickly, resulting in data loss.
The OLT receives optical signals sent by the uplink transmitter of the ONU, selects candidate ONUs based on the characteristic information of the optical signals, and sends static window and parameter allocation messages to the PON system to activate the target ONU for service recovery.
It enables the OLT to quickly exit the energy-saving state and promptly activate the ONU for business data transmission, avoiding data buffer overflow and loss.
Smart Images

Figure CN119653266B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of optical communication technology, in particular to a service processing method and device, computer equipment, storage medium and product. BACKGROUND
[0002] Green energy saving and low carbonization of communication systems are common concerns of domestic and foreign operators today, and since the access network is huge in scale and has numerous devices, therefore, it has good economic and social value to research and promote green energy saving technology in the access network field. 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, and there is a tidal effect, in which only OLT (Optical Line Terminal) / ONU (Optical Network Unit) management messages exist between the OLT / ONU during the night or during a specific time period, without actual service flow data.
[0003] There are currently energy saving mechanisms applied to OLT side optical modules, which support OLT ports to predict service occurrence in a certain time period in the future, and when the prediction result shows no service flow, the transmitter of the OLT side optical module is allowed to be turned off to achieve the effect of energy saving (at this time, the ONU is kicked offline, and waits for the OLT port to be turned on, and then re-registers online).
[0004] However, when the transmitter of the OLT side optical module is turned off, a certain ONU locally temporarily has service flow forwarding requirements, but at this time, the ONU is kicked offline and cannot timely notify the OLT, so the ONU cannot be quickly restored to online registration and service flow forwarding. SUMMARY
[0005] Therefore, it is necessary to provide a service processing method, device, computer equipment, storage medium and product capable of quickly restoring ONU registration online and service flow forwarding in view of the above technical problems.
[0006] In a first aspect, the present application provides a service processing method applied to an optical line terminal (OLT), comprising:
[0007] In a case where the OLT is in an energy saving implementation state and receives an optical signal sent by an uplink transmitter of any optical network terminal (ONU), the energy saving implementation state is exited, and a candidate ONU is selected from ONUs associated with the OLT according to characteristic information of the optical signal;
[0008] A static window for ONU registration is issued to the ONUs in a 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 make the target ONU resume service.
[0010] In one of the embodiments, the characteristic information includes a received optical power value;
[0011] The selecting of the candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal includes:
[0012] According to the received optical power value and a preset optical power error, a reference optical power range is determined;
[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 the candidate ONU.
[0014] In one of the embodiments, the parameter allocation message includes an identifier allocation message and an equalization delay allocation message;
[0015] The sending of the parameter allocation message to the target ONU includes:
[0016] A target identifier and a target equalization delay allocated for the target ONU in a previous service processing procedure are obtained;
[0017] The identifier allocation message carrying the target identifier and the equalization delay allocation message carrying the target equalization delay are sent to the target ONU in sequence.
[0018] In one of the embodiments, the sending of the static window for ONU registration to the ONUs in the PON system includes:
[0019] A dedicated corresponding static window for ONU registration is sent to the candidate ONU, or a common static window for ONU registration is sent to all the ONUs in the PON system; wherein the static window corresponding to each candidate ONU is used for ONU registration of the candidate ONU.
[0020] In one of the embodiments, the terminal registration information includes a target serial number of the target ONU; and the determining of the target ONU belonging to the candidate ONU according to the terminal registration information includes:
[0021] A candidate serial number of the candidate ONU is obtained;
[0022] If the target serial number exists in the candidate serial number, it is determined that the target ONU belongs to the candidate ONU.
[0023] In one of the embodiments, the method further comprises:
[0024] generating a new identifier for the target ONU according to the identifier of the ONU associated with the OLT, in case that the target ONU is determined not to belong to the candidate ONUs according to the terminal registration information;
[0025] sending an identifier allocation message carrying the new identifier to the target ONU;
[0026] performing a window ranging operation on the target ONU, and obtaining a target equalization delay of the target ONU;
[0027] sending an equalization delay allocation message carrying the target equalization delay to the target ONU, so that the target ONU performs service transmission.
[0028] In a second aspect, the present application further provides a service processing device, comprising:
[0029] an energy-saving exit module, configured to exit an energy-saving implementation state of an OLT, in case that 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 ONUs associated with the OLT according to characteristic information of the optical signal;
[0030] a window issuing module, configured to issue a static window for ONU registration to ONUs in a PON system;
[0031] a service processing module, configured to issue a parameter allocation message to a target ONU, in case that the target ONU is determined to belong to the candidate ONUs according to terminal registration information reported by the target ONU, so that the target ONU resumes service.
[0032] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0033] exit an energy-saving implementation state of an OLT, in case that 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 ONUs associated with the OLT according to characteristic information of the optical signal;
[0034] issue a static window for ONU registration to ONUs in a 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 make the target ONU resume service.
[0036] In a fourth aspect, the present application further provides a computer readable storage medium, which has a computer program stored thereon, and the computer program is executed by a processor to implement the following steps:
[0037] If 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), the energy-saving implementation state is exited, and a candidate ONU is selected from ONUs associated with the OLT according to characteristic information of the optical signal.
[0038] A static window for ONU registration is sent to an ONU in a 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 make the target ONU resume service.
[0040] In a fifth aspect, the present application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the following steps:
[0041] If 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), the energy-saving implementation state is exited, and a candidate ONU is selected from ONUs associated with the OLT according to characteristic information of the optical signal.
[0042] A static window for ONU registration is sent to an ONU in a 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 make the target ONU resume service.
[0044] The business processing method, device, computer device, storage medium and product described above, when the OLT is in the energy-saving implementation state, the uplink transmitter of any optical network terminal (ONU) sends an optical signal to the OLT, so that the OLT can exit the energy-saving implementation state in time; further, the OLT selects a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal, and issues a static window for ONU registration to the ONUs in the PON system; after the OLT receives the terminal registration information reported by the target ONU, if the target ONU belongs to the candidate ONUs according to the terminal registration information, the OLT issues a parameter allocation message to the target ONU, so as to activate the target ONU in time, so that the target ONU can quickly restore the service. At the same time, the above scheme controls the OLT to exit the energy-saving implementation state in time and quickly activates the target ONU to transmit the service data, avoiding the overflow of the data to be transmitted by the target ONU in the local cache, thereby avoiding the loss of service data. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the embodiments or the related art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0046] Figure 1A An OLT side energy-saving mechanism state diagram in an embodiment;
[0047] Figure 1A An application environment diagram of the business processing method in an embodiment;
[0048] Figure 2A A flowchart of the business processing method in an embodiment;
[0049] Figure 2A An OLT side energy-saving mechanism state diagram in another embodiment;
[0050] Figure 3 A flowchart of selecting a candidate ONU in an embodiment;
[0051] Figure 4 A flowchart of issuing a parameter allocation message to a target ONU in an embodiment;
[0052] Figure 5 A flowchart of determining that a target ONU belongs to a candidate ONU in an embodiment;
[0053] Figure 6 A flowchart of a service transmission method in an embodiment;
[0054] Figure 7 This is a flowchart illustrating the business processing method in another embodiment;
[0055] Figure 8 This is a structural block diagram of a service processing device in one embodiment;
[0056] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0058] In existing technologies, such as Figure 1A The diagram shown is a state diagram of the energy-saving mechanism on the OLT side. From... Figure 1A It can be seen that when the OLT is in working state, the OLT port predicts the service occurrence within a certain period of time in the future. When the prediction result shows no service flow, the transmitter of the optical module on the OLT side is allowed to be shut down, entering a power-saving state. When the prediction result shows only traffic management, it enters a power-saving implementation state. In this case, the OLT will only exit the power-saving implementation state and enter the working state when the possible time period ends. However, if a certain ONU temporarily has a service traffic forwarding requirement (e.g., a service flow enters through the UNI port), due to the ONU being offline at this time and the lack of corresponding uplink burst transmission time slot allocation, the ONU cannot notify the OLT in time and restore ONU registration and service flow forwarding as soon as possible.
[0059] Based on this, the business processing method provided in the embodiments of this application can be applied to, for example, Figure 1B In the application environment shown, the optical line terminal (OLT) 101 is an optical line terminal in the PON system; the optical network terminal (ONU) 102 is an optical network terminal in the PON system. In this embodiment, the ONU 102 can be a terminal connected to the OLT. Optionally, when the OLT is in energy-saving mode and receives an optical signal sent by the uplink transmitter of any optical network terminal (ONU), it exits the energy-saving mode and selects a candidate ONU from the ONUs associated with the OLT based on the characteristic information of the optical signal; it sends a static window for ONU registration to the ONUs in the PON system; after receiving the terminal registration information reported by the target ONU, if it is determined that the target ONU belongs to the candidate ONU based on the terminal registration information, it sends a parameter allocation message to the target ONU to enable the target ONU to resume services.
[0060] In one exemplary embodiment, such asFigure 2A As shown, a service processing method is provided, to which the application is applied Figure 1B The OLT 101 in the PON system is taken as an example for illustration, which includes the following steps:
[0061] S201, in the case that the OLT is in the energy-saving implementation state and receives the optical signal sent by the uplink transmitter of any ONU, the energy-saving implementation state is exited, and a candidate ONU is selected from the ONUs associated with the OLT according to the characteristic information of the optical signal.
[0062] The characteristic information of the optical signal is information representing the transmission characteristics and attribute characteristics of the optical signal; in the embodiments of the application, the characteristic information of the optical signal includes but is not limited to the received optical power value of the optical signal. The ONUs associated with the OLT are the ONUs hung under the OLT.
[0063] Optionally, in the case that the OLT is in the energy-saving implementation state, the optical module transmitter on the OLT side is closed, and the ONUs hung under the OLT are in the offline state. At this time, if a local temporary service traffic forwarding requirement occurs in a certain ONU, the ONU will send a 5-10 microsecond long optical signal to the optical module receiver on the OLT side through the uplink transmitter.
[0064] Further, after the optical module receiver of the OLT receives the optical signal sent by the ONU, the characteristic information of the received optical signal is detected and reported to the OLT port. After the OLT receives the characteristic information of the optical signal sent by the ONU, the energy-saving implementation state is exited, and the characteristic information of the optical signal is compared and analyzed with the characteristic information of the ONUs hung under the OLT, and the ONU corresponding to the characteristic information of the optical signal is taken as the candidate ONU. It should be noted that the number of candidate ONUs can be one or more.
[0065] S202, a static window for ONU registration is issued to the ONUs in the PON system.
[0066] The length of the static window is determined according to the distance between the OLT and the ONUs, which is expressed as a time length.
[0067] Optionally, a common static window for registration can be issued to all the ONUs in the PON system.
[0068] Optionally, in order to ensure the pertinence of the issued static window, the corresponding static window for ONU registration can also be issued to the candidate ONU. It should be noted that each candidate ONU corresponds to a static window. It can be understood that since the received optical power of the determined candidate ONUs is very close, there can be at least two candidate ONUs with the same distance from the OLT. For this case, the same static window can be issued to the at least two candidate ONUs, that is, each candidate ONU corresponds to a static window, and one 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 that the target ONU belongs to the candidate ONUs according to the terminal registration information, a parameter allocation message is issued to the target ONU to make the target ONU resume the service.
[0070] The terminal registration information is the 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 serial number of the target ONU. The parameter allocation message is a message for allocating parameters to the target ONU. In the embodiment of the present application, the parameter allocation message includes but is not limited to the identification allocation message and the equalization 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 ONUs, and whether the target ONU belongs to the candidate ONUs is determined according to the comparison result. If it is determined that the target ONU belongs to the candidate ONUs, the identification allocation message and the equalization delay allocation message are issued to the target ONU at one time to support the target ONU to be online and restore the transmission and forwarding of the service.
[0072] It should be noted that the OLT side energy saving mechanism state diagram of the service processing method provided by the embodiment of the present application is as shown in Figure 1A Figure 2B It can be seen from Figure 2B that when the OLT is in the energy saving implementation state, when the upstream service alarm signal (i.e. the electric signal sent by any ONU) is received, the OLT will also exit the energy saving implementation state and enter the working state.
[0073] In the above business processing method, when the OLT is in the energy-saving implementation state, the uplink transmitter of any optical network terminal (ONU) sends an optical signal to the OLT, so that the OLT can exit the energy-saving implementation state in time; further, the OLT selects candidate ONUs from the ONUs associated with the OLT according to the characteristic information of the optical signal, and issues a static window for ONU registration to the ONUs in the PON system; after receiving the terminal registration information reported by a target ONU, the OLT issues a parameter allocation message to the target ONU according to the terminal registration information, so as to determine whether the target ONU belongs to the candidate ONUs, and activates the target ONU in time, so that the target ONU can quickly restore the service. At the same time, the above scheme controls the OLT to exit the energy-saving implementation state in time and activates the target ONU quickly to transmit the service data, thereby avoiding the overflow of the data to be transmitted by the target ONU in the local cache, and avoiding the loss of the service data.
[0074] Optionally, the characteristic information includes a received optical power value; in this case, in one embodiment, as shown in Figure 3 S201 is refined, and specifically includes the following steps:
[0075] S301, determining a reference optical power range according to the received optical power value and a preset optical power error.
[0076] The preset optical power error is an error that is allowed to fluctuate in the received optical power value.
[0077] Optionally, the difference between the received optical power value and the preset optical power error is taken as a lower limit of the optical power, and the sum of the received optical power value and the preset optical power error is taken as an upper limit of the optical power, and the reference optical power range is determined according to the lower limit of the optical power and the upper limit of the optical power.
[0078] For example, 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 can be [-26.55-0.5, -26.55+0.5].
[0079] S302, selecting, from the ONUs associated with the OLT, an ONU whose received optical power value is within the reference optical power range as a candidate ONU.
[0080] The ONU whose received optical power value is within the reference optical power range in the normal working condition of the OLT is taken as the candidate ONU.
[0081] In the embodiment, by introducing the preset optical power error, the error of the candidate ONU caused by the error between the received optical power of the ONU in the normal working condition and the received optical power of the ONU in the energy-saving implementation state is avoided, that is, the accuracy of the determined candidate ONU is ensured.
[0082] Optionally, in an embodiment, as shown in Figure 4 a method for issuing a parameter allocation message to a target ONU is provided to refine S203, and the method specifically includes the following steps:
[0083] S401, obtaining a target identifier and a target equalization delay allocated to the target ONU in a previous service processing process.
[0084] The target identifier is an identifier allocated to the target ONU, that is, an ONU-ID (ONU-Identity document). The target equalization delay is an equalization delay allocated to the target ONU, that is, an EqD parameter.
[0085] Optionally, the target identifier and the target equalization delay allocated to the target ONU in the previous service processing process can be obtained from a memory.
[0086] S402, sequentially issuing an identifier allocation message carrying the target identifier and an equalization delay allocation message carrying the target equalization delay to the target ONU.
[0087] Optionally, the identifier allocation message (Assign_ONU-ID message) carrying the target identifier and the equalization delay allocation message (Ranging_Time message) carrying the target equalization delay are sequentially issued to the target ONU.
[0088] In the embodiment, by sequentially issuing the target identifier and the target equalization delay allocated to the target ONU in the previous service processing process to the target ONU, the target ONU is activated for service recovery, so that the target ONU can timely perform service transmission.
[0089] Optionally, in an embodiment, as shown in Figure 5 a method for determining that a target ONU belongs to a candidate ONU is provided, and the method specifically includes the following steps:
[0090] S501, obtaining a candidate serial number of a candidate ONU.
[0091] The candidate serial number is a serial number of the candidate ONU, and is a unique identifier of the candidate ONU, that is, an ONU SN (Serial Number).
[0092] Optionally, the candidate serial number of the candidate ONU can be obtained from a stored list of hanging ONUs.
[0093] S502, if the target sequence number exists in the candidate sequence numbers, it is determined that the target ONU belongs to the candidate ONUs.
[0094] Optionally, the target sequence number is compared with the candidate sequence numbers, and if the target sequence number exists in the candidate sequence numbers, it is determined that the target ONU belongs to the candidate ONUs.
[0095] In the embodiment, by introducing the target sequence number and the candidate sequence number, since the sequence number is the unique identifier of the ONU in the OLT, it can be accurately determined whether the target ONU belongs to the candidate ONUs.
[0096] Optionally, as known from the steps described in the above embodiments, after the static window for registration is issued to all ONUs in the PON system, it is possible to receive the terminal registration information reported by the unregistered ONUs, in which case, in an embodiment, as shown in Figure 6 a service transmission method is provided, which specifically includes the following steps:
[0097] S601, if it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONUs, a new identifier is generated for the target ONU according to the identifiers of the ONUs associated with the OLT.
[0098] Optionally, if it is determined according to the target sequence number of the target ONU in the terminal registration information that the target ONU does not belong to the candidate ONUs, it is indicated 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 identifiers of the ONUs associated with the OLT.
[0099] For example, if the identifiers of the ONUs associated with the OLT are 1, 2, 3, 4, 5 and 6 respectively, a new identifier 7 can be generated for the target ONU in the order of numerical arrangement.
[0100] S602, an identifier allocation message carrying the new identifier is sent to the target ONU.
[0101] S603, a window opening ranging operation is performed on the target ONU, and a target equalization delay of the target ONU is obtained.
[0102] Optionally, the window opening ranging operation can be performed on the target ONU after suspending the services of all ONUs hung under the OLT, and the target equalization delay of the target ONU is obtained.
[0103] S604, an equalization delay allocation message carrying the target equalization delay is sent to the target ONU, so that the target ONU performs service transmission.
[0104] Optionally, the equalization delay distribution message can be generated according to the target equalization delay, and the generated equalization delay distribution message is sent to the target ONU.
[0105] In the embodiment, when the target ONU does not belong to the candidate ONUs, the registration process of the ONU can be completed in time by assigning the identifier of the information of the target ONU and the target equalization delay, 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 in the application, in an embodiment, an application example is provided. In the embodiment of the application, the application background is that 10 ONUs, i.e., ONU1, ONU2, …, ONU10, are hung under the OLT port in the PON system, and the corresponding received optical powers of the ONUs are shown in Table 1 as follows:
[0107] Table 1: Received optical powers of ONUs hung under the OLT port
[0108]
[0109] At this time, the OLT port is in the energy-saving implementation state, and the ONU1~ONU10 are all in the offline state. At this time, the ONU1 has an uplink service flow transmission demand. The ONU1 turns on the uplink transmitter and sends a continuous optical signal with a duration of 10 microseconds; the optical module receiver of the OLT port receives the optical signal sent by the ONU1, records the received optical power information Rz as -26.55 dB, and reports it to the OLT port; based on the table record in the background setting, the OLT port selects the ONU in the range of (-26.55 dB±0.5) (the preset optical power error is set to 0.5, and the corresponding ONU terminal set (ONU1, ONU5, ONU6, ONU9) is obtained; the OLT port exits the energy-saving implementation state in which the OLT port is located, and sends a static window for ONU registration; when the OLT receives the Serial_Number_ONU message reported by the ONU registration, the SN=SN1 is included, the OLT sends the Assign_ONU-ID message in the downlink direction, wherein the ONU-ID=3 already assigned in the previous work is carried, and then the Ranging_Time message (carrying the EqD parameter already assigned in the previous work) is sent.
[0110] Figure 7 For the flowchart of the service processing method in another embodiment, on the basis of the above embodiment, the present embodiment provides an optional example of the service processing method. In combination with Figure 7 , the specific implementation process is as follows:
[0111] S701, in the case that the OLT is in the energy-saving implementation state and receives an optical signal sent by an uplink transmitter of any optical network terminal (ONT), the energy-saving implementation state is exited.
[0112] S702, a reference optical power range is determined according to a received optical power value of the optical signal and a preset optical power error.
[0113] S703, from 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.
[0114] S704, a corresponding static window is issued 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 terminal registration information reported by a target ONU, a candidate serial number of the candidate ONU is obtained.
[0117] S706, if the target serial number in the terminal registration information exists in the candidate serial number, it is determined that the target ONU belongs to the candidate ONU.
[0118] S707, a target identifier and a target equalization delay allocated for the target ONU in a last service processing process are obtained.
[0119] S708, an identifier allocation message carrying the target identifier and an equalization delay allocation message carrying the target equalization delay are issued to the target ONU in sequence, so that the target ONU performs service recovery.
[0120] The specific process of S701-S708 can be referred to the description of the method embodiments, and the implementation principle and technical effects are similar, which will not be described here.
[0121] It should be understood that, although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise stated herein, the execution of these steps has no strict sequence limitation, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0122] Based on the same inventive concept, the embodiments of the present application also provide a service processing device for implementing the service processing method described above. The implementation scheme of the device for solving the problem is similar to the implementation scheme described in the above method, so the specific limitations in one or more service processing device embodiments provided below can refer to the limitations of the service processing method described above, which will not be repeated here.
[0123] In one exemplary embodiment, as shown in Figure 8 A service processing device 800 is provided, comprising: an energy-saving exit module 810, a window issuing module 820 and a service processing module 830, wherein:
[0124] The energy-saving exit module 810 is configured 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 characteristic information of the optical signal.
[0125] The window issuing module 820 is configured to issue a static window for ONU registration to the ONUs in the PON system.
[0126] The service processing module 830 is configured to issue a parameter allocation message to the target ONU to make the target ONU resume the service when it is determined that the target ONU belongs to the candidate ONUs according to the terminal registration information reported by the target ONU.
[0127] The service processing device described above, when the OLT is in the energy-saving implementation state, sends an optical signal to the OLT through the upstream transmitter of any optical network terminal (ONU) to enable the OLT to exit the energy-saving implementation state in time. Further, the OLT selects a candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal, and issues a static window for ONU registration to the ONUs in the PON system. When the OLT receives the terminal registration information reported by the target ONU, it determines that the target ONU belongs to the candidate ONUs according to the terminal registration information, and issues a parameter allocation message to the target ONU to activate the target ONU in time, so that the target ONU can quickly resume the service. At the same time, the above scheme controls the OLT to exit the energy-saving implementation state in time and activates the target ONU quickly to transmit the service data, avoiding the overflow of the data to be transmitted by the target ONU in the local cache, thereby avoiding the loss of service data.
[0128] In one embodiment, the characteristic information includes a received optical power value; and the energy-saving exit module 810 is specifically configured to:
[0129] According to the received optical power value and the preset optical power error, a reference optical power range is determined; 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.
[0130] In one embodiment, the parameter allocation message comprises an identification allocation message and an equalization delay allocation message; the service processing module 830 is specifically configured to:
[0131] The target identifier and the target equalization delay allocated for the target ONU in the last service processing process are acquired; and the identification allocation message carrying the target identifier and the equalization delay allocation message carrying the target equalization delay are sequentially issued to the target ONU.
[0132] In one embodiment, the window issuing module 820 is specifically configured to:
[0133] A dedicated 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 a dedicated static window.
[0134] In one embodiment, the terminal registration information comprises a target serial number of the target ONU; the service processing module 830 is specifically configured to:
[0135] A candidate serial number of the candidate ONU is acquired; if the target serial number exists in the candidate serial 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] According to the terminal registration information, if it is determined that the target ONU does not belong to the candidate ONU, a new identifier is generated for the target ONU according to the identifiers of the ONUs associated with the OLT; an identification allocation message carrying the new identifier is sent to the target ONU; a window opening ranging operation is performed on the target ONU, and a target equalization delay of the target ONU is obtained; an equalization delay allocation message carrying the target equalization delay is sent to the target ONU, so that the target ONU performs service transmission.
[0138] The above-mentioned various modules in the service processing device can be realized by software, hardware and combinations thereof in whole or in part. The above-mentioned various modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the above-mentioned various modules.
[0139] In one exemplary embodiment, a computer device, which can be a server, is provided, and an internal structure diagram of the computer device can be as shown in Figure 9As shown in the figure. The computer device includes a processor, a memory, an input / output interface (I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through the system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capability. 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 the external device. The communication interface of the computer device is used to communicate with the terminal outside through the network connection. The computer program is executed by the processor to realize a business processing method.
[0140] Those skilled in the art can understand that, Figure 9 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0141] In one exemplary embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the following steps:
[0142] In the case that the OLT is in the energy-saving implementation state and receives an optical signal sent by the uplink transmitter of any optical network terminal (ONU), the energy-saving implementation state is exited, and a candidate ONU is selected from the ONUs associated with the OLT according to the characteristic information of the optical signal;
[0143] A static window for ONU registration is issued to the ONUs 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 ONUs, a parameter allocation message is issued to the target ONU to make the target ONU resume the service.
[0145] In one embodiment, the characteristic information includes a received optical power value; when the processor executes the computer program to select the candidate ONU from the ONUs associated with the OLT according to the characteristic information of the optical signal, the following steps are further implemented:
[0146] A reference optical power range is determined according to the received optical power value and a preset optical power error; an ONU whose received optical power value is within the reference optical power range is selected from the ONUs associated with the OLT as the candidate ONU.
[0147] In one embodiment, the parameter allocation message comprises an identification allocation message and an equalization delay allocation message; and the processor, when executing the computer program to send the parameter allocation message to the target ONU, further implements the following steps:
[0148] obtaining a target identifier and a target equalization delay allocated to the target ONU in a previous service processing procedure; and sending the identification allocation message carrying the target identifier and the equalization delay allocation message carrying the target equalization delay to the target ONU in sequence.
[0149] In one embodiment, the processor, when executing the computer program to send a static window for ONU registration to an ONU in the PON system, further implements the following steps:
[0150] sending a dedicated static window for ONU registration to a candidate ONU, or sending a common static window for ONU registration to all ONUs in the PON system; wherein each candidate ONU corresponds to a dedicated static window.
[0151] In one embodiment, the terminal registration information comprises a target serial number of the target ONU; and the processor, when executing the computer program to determine that the target ONU belongs to the candidate ONU according to the terminal registration information, further implements the following steps:
[0152] obtaining a candidate serial number of the candidate ONU; and determining that the target ONU belongs to the candidate ONU if the target serial number exists in the candidate serial number.
[0153] In one embodiment, the processor, when executing the computer program, further implements the following steps:
[0154] if it is determined that the target ONU does not belong to the candidate ONU according to the terminal registration information, generating a new identifier for the target ONU according to identifiers of the ONUs associated with the OLT; sending an identification allocation message carrying the new identifier to the target ONU; performing a window opening ranging operation on the target ONU and obtaining a target equalization delay of the target ONU; and sending an equalization delay allocation message carrying the target equalization delay to the target ONU to enable the target ONU to perform service transmission.
[0155] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the following steps:
[0156] if the OLT is in an energy saving implementation state and receives an optical signal sent by an uplink transmitter of any optical network terminal (ONU), exiting the energy saving implementation state and selecting a candidate ONU from the ONUs associated with the OLT according to characteristic information of the optical signal;
[0157] Distribute a static window for ONU registration to an ONU in a 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 ONUs, distribute a parameter allocation message to the target ONU to make the target ONU resume the service.
[0159] In one embodiment, the feature information includes a received optical power value; when the processor executes the computer program to select the candidate ONUs from the ONUs associated with the OLT according to the feature information of the optical signal, the following steps are further implemented:
[0160] According to the received optical power value and a preset optical power error, determine a reference optical power range; select, from the ONUs associated with the OLT, an ONU whose received optical power value is within the reference optical power range as the candidate ONU.
[0161] In one embodiment, the parameter allocation message includes an identifier allocation message and an equalization delay allocation message; when the processor executes the computer program to distribute the parameter allocation message to the target ONU, the following steps are further implemented:
[0162] Obtain a target identifier and a target equalization delay allocated to the target ONU in a last service processing process; and distribute, to the target ONU, in sequence, the identifier allocation message carrying the target identifier and the equalization delay allocation message carrying the target equalization delay.
[0163] In one embodiment, when the processor executes the computer program to distribute a static window for ONU registration to an ONU in a PON system, the following steps are further implemented:
[0164] Distribute a dedicated static window for ONU registration to the candidate ONU, or distribute a common static window for ONU registration to all the ONUs in the PON system; wherein each candidate ONU corresponds to a dedicated 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, according to the terminal registration information, that the target ONU belongs to the candidate ONUs, the following steps are further implemented:
[0166] Obtain a candidate serial number of the candidate ONU; if the target serial number exists in the candidate serial number, it is determined that the target ONU belongs to the candidate ONUs.
[0167] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0168] According to the terminal registration information, if it is determined that the target ONU does not belong to the candidate ONUs, a new identifier is generated for the target ONU according to the identifiers of the ONUs associated with the OLT, an identifier 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 equalization delay of the target ONU is obtained; and an equalization delay allocation message carrying the target equalization delay is sent to the target ONU, so that the target ONU performs 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] In a case where 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), the energy-saving implementation state is exited, and candidate ONUs are selected from the ONUs associated with the OLT according to characteristic information of the optical signal.
[0171] A static window for ONU registration is issued to the ONUs in the PON system.
[0172] After receiving terminal registration information reported by a target ONU, if it is determined that the target ONU belongs to the candidate ONUs according to the terminal registration information, a parameter allocation message is issued to the target ONU, so that the target ONU resumes service.
[0173] In one embodiment, the characteristic information comprises a received optical power value; and when the processor executes the computer program to select the candidate ONUs from the ONUs associated with the OLT according to the characteristic information of the optical signal, the following steps are further implemented:
[0174] A reference optical power range is determined according to the 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 the ONUs associated with the OLT as the candidate ONU.
[0175] In one embodiment, the parameter allocation message comprises an identifier allocation message and an equalization delay allocation message; and when the processor executes the computer program to issue the parameter allocation message to the target ONU, the following steps are further implemented:
[0176] A target identifier and a target equalization delay allocated to the target ONU in a last service processing process are obtained; and the identifier allocation message carrying the target identifier and the equalization delay allocation message carrying the target equalization delay are sequentially issued to the target ONU.
[0177] In one embodiment, when the processor executes the computer program to issue the static window for ONU registration to the ONUs in the PON system, the following steps are further implemented:
[0178] The dedicated static window for ONU registration is issued to the candidate ONU, or the common static window for ONU registration is issued to all ONUs in the PON system; wherein each candidate ONU corresponds to a dedicated 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 ONUs according to the terminal registration information, the following steps are further implemented:
[0180] The candidate serial number of the candidate ONU is obtained; if the target serial number exists in the candidate serial number, it is determined that the target ONU belongs to the candidate ONUs.
[0181] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0182] When it is determined that the target ONU does not belong to the candidate ONUs according to the terminal registration information, a new identifier is generated for the target ONU according to the identifier of the ONU associated with the OLT; an identifier 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 equalization delay of the target ONU is obtained; an equalization delay allocation message carrying the target equalization delay is sent to the target ONU, so that the target ONU performs service transmission.
[0183] It should be noted that the data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data need to 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. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present 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 storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric 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 but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0185] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0186] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A service processing method characterized by, The method is applied to an optical line terminal (OLT), and the method comprises the following steps: In the case that the OLT is in an energy-saving implementation state and an optical signal sent by an uplink transmitter of any optical network terminal (ONT) is received, the energy-saving implementation state is exited, and characteristic information of the optical signal is detected; wherein the characteristic information comprises a received optical power value; A reference optical power range is determined according to the received optical power value and a preset optical power error; From ONTs associated with the OLT, an ONU whose received optical power value is within the reference optical power range is selected as a candidate ONU; A static window for ONU registration is issued to ONTs in a passive optical network (PON) system; After receiving terminal registration information reported by a target ONU, it is determined according to the terminal registration information that the target ONU belongs to the candidate ONUs, and a target identifier and a target equalization delay allocated to the target ONU in a last service processing process are obtained; wherein the target ONU is an ONU that sends terminal registration information to the OLT; An identifier allocation message carrying the target identifier and an equalization delay allocation message carrying the target equalization delay are sequentially issued to the target ONU, so that the target ONU performs service recovery.
2. The method of claim 1, wherein, The static window for ONU registration is issued to ONTs in the PON system, and the method comprises the following steps: A corresponding static window is issued to the candidate ONUs, or a common static window for ONU registration is issued to all ONTs in the PON system; wherein the static window corresponding to each candidate ONU is used for ONU registration of the candidate ONU.
3. The method of any one of claims 1, wherein, The terminal registration information comprises a target serial number of the target ONU; The determination that the target ONU belongs to the candidate ONUs according to the terminal registration information comprises the following steps: A candidate serial number of the candidate ONUs is obtained; If the target serial number exists in the candidate serial number, it is determined that the target ONU belongs to the candidate ONUs.
4. The method of claim 1, wherein, The method further comprises the following steps: In the case that it is determined according to the terminal registration information that the target ONU does not belong to the candidate ONUs, a new identifier is generated for the target ONU according to identifiers of the ONTs associated with the OLT; An identifier allocation message carrying the new identifier is sent to the target ONU; An open-window ranging operation is performed on the target ONU, and a target equalization delay of the target ONU is obtained; An equalization delay allocation message carrying the target equalization delay is sent to the target ONU, so that the target ONU performs service transmission.
5. The method of claim 1, wherein, The length of the static window is determined according to the distance between the OLT and the ONT.
6. The method of claim 1, wherein, The determination of the reference optical power range according to the received optical power value and the preset optical power error comprises the following steps: The difference between the received optical power value and the preset optical power error is taken as a lower limit of optical power; The sum of the received optical power value and the preset optical power error is taken as an upper limit of optical power; The reference optical power range is determined according to the lower limit of optical power and the upper limit of optical power.
7. A service processing apparatus characterized by comprising: The device is configured in an optical line terminal (OLT), and the device comprises the following steps: The energy-saving exit module is configured to exit an energy-saving implementation state of the OLT and detect characteristic information of an optical signal received from an uplink transmitter of any optical network terminal (ONU) when the OLT is in the energy-saving implementation state and the optical signal is received, wherein the characteristic information includes a received optical power value; determine a reference optical power range according to the received optical power value and a preset optical power error; and select an ONU whose received optical power value is within the reference optical power range from ONUs associated with the OLT as a candidate ONU; The window issuing module is configured to issue a static window for ONU registration to the ONUs in the PON system; The service processing module is configured to, after receiving terminal registration information reported by a target ONU, determine that the target ONU belongs to the candidate ONUs according to the terminal registration information, acquire a target identifier and a target equalization delay allocated to the target ONU in a last service processing process, wherein the target ONU is an ONU that sends the terminal registration information to the OLT, and sequentially issue an identifier allocation message carrying the target identifier and an equalization delay allocation message carrying the target equalization delay to the target ONU, so that the target ONU performs service recovery.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.
9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.
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