Bandwidth authorization method, device and system, storage medium and electronic device

By analyzing the data information sent by the optical network unit ONU and matching bandwidth time authorization, the bandwidth waste caused by uplink data delay and jitter in the PON system is solved, and zero delay and zero jitter are achieved, and the performance of the communication system is improved.

CN119232588AActive Publication Date: 2024-12-31ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310804543.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

The delay and jitter of uplink data in existing PON systems lead to waste of bandwidth, and the existing technology has failed to effectively solve this problem.

Method used

By acquiring the data information sent by the optical network unit ONU, analyzing and determining the packet length, transmission time and transmission cycle of the target data, matching the bandwidth time authorization information, ensuring that subsequent data is sent at a predetermined time, and achieving zero delay and zero jitter.

Benefits of technology

Implement zero delay and zero jitter in the PON uplink system, maximize bandwidth utilization, improve overall communication system performance, and solve the problem of bandwidth waste caused by data transmission delay and jitter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232588A_ABST
    Figure CN119232588A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a bandwidth authorization method, device and system, a storage medium and an electronic device, and the method comprises the steps: obtaining the data transmission information of a plurality of data transmitted by an optical network unit ONU; determining target data from the multiple pieces of data based on the time information of each piece of data; analyzing the target data, and determining the data packet length, the target sending time and the target sending period of the target data; and sending target bandwidth time matched with the data packet length, the target sending time and the target sending period to the ONU so as to indicate the ONU to send subsequent target data according to the target bandwidth time. According to the invention, the problem of system bandwidth waste caused by time delay and jitter of data transmission in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communications, and in particular, to a bandwidth authorization method, device and system, storage medium and electronic device. Background Art

[0002] The existing PON (Passive Optical Network) uplink scheduling method is that the OLT (Optical Line Terminal) side sends an authorization time slice to the ONU (Optical Network Unit), which contains the time point when the ONU sends the uplink data and the total allocated time slice length. The ONU sends the uplink data to the OLT within the specified time slice in a time-division burst. When the ONU does not receive the authorization, all uplink data to be sent must be cached until the bandwidth authorization is received. This mechanism will affect the overall transmission delay and jitter. For services that originally have periodicity, after passing through the PON system, the periodicity may disappear with the cache, introducing additional delay and jitter. In the system, large bandwidth or multiple bandwidth transmission methods are usually used to reduce delay and jitter. This method will cause a waste of bandwidth.

[0003] With regard to the problem of system bandwidth waste caused by eliminating the delay and jitter of data transmission in the related art, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a bandwidth authorization method, device and system, storage medium and electronic device to at least solve the problem of system bandwidth waste caused by eliminating the delay and jitter of data transmission in the related art.

[0005] According to an embodiment of the present invention, a bandwidth authorization method is provided, comprising: obtaining data transmission information of multiple data sent by an optical network unit (ONU), wherein the data transmission information of each data carries time information of the ONU sending the data, and the multiple data are sent by the ONU based on bandwidth authorization information sent by an optical line terminal (OLT); determining target data from the multiple data based on the time information of each data, wherein a target time for the ONU to send the target data satisfies a predetermined relationship with a bandwidth time included in the target bandwidth authorization information, and the target bandwidth authorization information is bandwidth authorization information sent by the OLT to the ONU for sending the target data; analyzing the target data to determine a data packet length, a target sending time, and a target sending cycle of the target data; and sending a target bandwidth time matching the data packet length, the target sending time, and the target sending cycle to the ONU to instruct the ONU to send subsequent target data according to the target bandwidth time.

[0006] According to another embodiment of the present invention, a bandwidth authorization device is provided, comprising: an acquisition module, used to acquire data transmission information of multiple data sent by an optical network unit (ONU), wherein the data transmission information of each data carries time information of the ONU sending the data, and the multiple data are sent by the ONU based on bandwidth authorization information sent by an optical line terminal (OLT); a first determination module, used to determine target data from the multiple data based on the time information of each data, wherein the target time for the ONU to send the target data satisfies a predetermined relationship with the bandwidth time included in the target bandwidth authorization information, and the target bandwidth authorization information is bandwidth authorization information for sending the target data sent by the OLT to the ONU; a second determination module, used to analyze the target data and determine the data packet length, target transmission time and target transmission cycle of the target data; a sending module, used to send the target bandwidth time matching the data packet length, the target transmission time and the target transmission cycle to the ONU, so as to instruct the ONU to send the subsequent target data according to the target bandwidth time.

[0007] According to another embodiment of the present invention, a bandwidth authorization system is provided, comprising an optical line terminal OLT and an optical network unit ONU, wherein the OLT comprises the bandwidth authorization device as described in the above embodiment.

[0008] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0009] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0010] Through the present invention, the data received from the ONU will be analyzed to determine its sending time and sending cycle, and then the sending time of subsequent data can be predicted based on the determined sending time and sending cycle, and then the corresponding bandwidth authorization time can be matched for the sending of subsequent data, thereby ensuring that bandwidth authorization is performed at the moment of subsequent data sending, and achieving zero delay and zero jitter in the PON upstream system, thereby ensuring maximum bandwidth utilization, achieving zero delay and zero jitter of data transmission at the PON level, improving the performance of the overall communication system, and effectively solving the problem of system bandwidth waste caused by eliminating data transmission delay and jitter in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a schematic diagram of business types according to an embodiment of the present invention;

[0012] Figure 2 is a schematic diagram of data transmission according to an embodiment of the present invention Figure 1 ;

[0013] Figure 3 is a schematic diagram of data transmission according to an embodiment of the present invention Figure 2 ;

[0014] Figure 4 is a hardware structure block diagram of a mobile terminal of a bandwidth authorization method according to an embodiment of the present invention;

[0015] Figure 5 is a flow chart of a method for bandwidth authorization according to an embodiment of the present invention;

[0016] Figure 6 is a schematic diagram of data attributes according to an embodiment of the present invention;

[0017] Figure 7 is a system block diagram according to an embodiment of the present invention;

[0018] Figure 8 is a schematic diagram of data transmission according to an embodiment of the present invention Figure 3 ;

[0019] Fig. 9 is a schematic diagram of data linear recovery according to an embodiment of the present invention;

[0020] Fig.10 is a schematic diagram of data clustering according to an embodiment of the present invention;

[0021] Fig.11 is a schematic diagram of a comparison model according to an embodiment of the present invention;

[0022] Fig.12 is an overall flow chart according to an embodiment of the present invention;

[0023] Fig.13 It is a structural block diagram of a bandwidth authorization device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0026] First, the related technologies involved in the present invention are described:

[0027] In the PON scenario, there are many services with relatively fixed periodicity and consistent packet length (i.e., the length of the data packet). For the periodic service model, there are single-period services, while the periodic data of some systems is not necessarily single-period services. Figure 1 The service type shown. From the adjacent data, there is no periodicity between packets, but as a whole, Figure 1 The data shown is sent in 1 large cycle.

[0028] In addition, the existing DBA (Dynamic Bandwidth Assignment) traditional function has no mature method to eliminate the delay jitter of periodic services at the PON level, such as Figure 2 As shown in Figure 2, with a certain probability, the uplink data on the ONU side always waits for the OLT authorization to arrive before being sent. In addition, there is a probability that the uplink data and the authorization time coincide with each other, such as Figure 3 As shown, the additional delay caused by DBA can be 0 at this time.

[0029] In order to solve the problem in the related art that the uplink data on the ONU side is always sent after the OLT authorization is received, resulting in large data delay and system jitter, the embodiment of the present invention utilizes the characteristic that the uplink data of the PON system can coincide with the bandwidth authorization to eliminate the additional delay caused by complex multi-cycle uplink data at the PON layer. The following is an explanation of how to eliminate data delay and system jitter in conjunction with the embodiment:

[0030] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 4 FIG. 1 is a hardware structure diagram of a mobile terminal of a bandwidth authorization method according to an embodiment of the present invention. Figure 4 As shown, the mobile terminal may include one or more ( Figure 4 Only one is shown in the figure) a processor 402 (the processor 402 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 404 for storing data, wherein the mobile terminal may also include a transmission device 406 and an input / output device 408 for communication functions. It can be understood by those skilled in the art that Figure 4 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 4 More or fewer components as shown, or with Figure 4 Different configurations are shown.

[0031] The memory 404 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the bandwidth authorization method in the embodiment of the present invention. The processor 402 executes various functional applications and data processing by running the computer program stored in the memory 404, that is, to implement the above method. The memory 404 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 404 may further include a memory remotely arranged relative to the processor 402, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0032] The transmission device 406 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 406 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 406 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.

[0033] In this embodiment, a bandwidth authorization method is provided. Figure 5 is a flow chart of a method for bandwidth authorization according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:

[0034] Step S502, obtaining data transmission information of multiple data sent by an optical network unit ONU, wherein the data transmission information of each data carries time information of the ONU sending the data, and the multiple data are sent by the ONU based on bandwidth authorization information sent by the optical line terminal OLT;

[0035] Step S504, determining target data from the plurality of data based on time information of each of the data, wherein the target time for the ONU to send the target data and the bandwidth time included in the target bandwidth authorization information satisfy a predetermined relationship, and the target bandwidth authorization information is bandwidth authorization information for sending the target data sent by the OLT to the ONU;

[0036] Step S506, analyzing the target data to determine the data packet length, target sending time and target sending cycle of the target data;

[0037] Step S508: Send the target bandwidth time that matches the data packet length, the target sending time, and the target sending period to the ONU, so as to instruct the ONU to send the subsequent target data according to the target bandwidth time.

[0038] The above operations may be performed by the OLT, or a processing module built into the OLT, or a processor or processing system associated with the OLT, or other devices with similar processing capabilities.

[0039] In the above embodiment, the data sent by the ONU includes multiple types of data, and the sending period of each type of data may be different. In addition, the data sent by the ONU may also include some non-periodic data. Since the present application mainly predicts the subsequent sending time information of the periodically sent data, the non-periodic data sent by the ONU may not be considered. In addition, when the ONU sends the uplink data, it is sent based on the bandwidth authorization information sent by the OLT, wherein the bandwidth authorization information may also be called the authorization time slice, which mainly includes the time point when the ONU sends the uplink data and the total allocated time slice length.

[0040] In the above embodiment, the data sending time can be determined based on the timestamp of each data, wherein the timestamp can be a time label added by the ONU before sending the data. In addition, the timestamp can also be calculated by the OLT side based on information such as idle characters in the data packet.

[0041] In the above embodiment, the predetermined relationship actually means that the target time for the ONU to send the target data falls within the bandwidth time included in the target bandwidth authorization information, that is, it is necessary to filter out data whose sending time (or the actual arrival position of the data) is consistent with the time included in the bandwidth authorization information. It should also be noted that the screening operation may not be performed first, and it may be performed later when the periodic algorithm verification is performed.

[0042] In the above embodiment, the data received from the ONU will be analyzed to determine its sending time and sending cycle, and then the sending time of subsequent data can be predicted based on the determined sending time and sending cycle, and then the corresponding bandwidth authorization time can be matched for the sending of subsequent data, thereby ensuring that bandwidth authorization is performed at the moment of subsequent data sending, and achieving zero delay and zero jitter in the PON upstream system, thereby ensuring maximum utilization of bandwidth, achieving zero delay and zero jitter in data transmission at the PON level, improving the performance of the overall communication system, and effectively solving the problem of system bandwidth waste caused by eliminating data transmission delay and jitter in related technologies.

[0043] In an optional embodiment, determining the target data from the multiple data based on the time information of each data includes: obtaining the sending time of each data carried in the timestamp information of each data; determining the data whose sending time is consistent with the bandwidth time as the target data. In this embodiment, the sending time is consistent with the bandwidth time actually means that the sending time falls within the bandwidth time. In addition, the above target data can also be other types of data (for example, periodic data), which can be specifically screened based on actual needs. In the above manner, interfering data can be filtered out, thereby ensuring that subsequent results are more accurate.

[0044] In an optional embodiment, analyzing the target data to determine the data packet length, target sending time and target sending period of the target data includes: obtaining the sending time, packet length and index of the encapsulation unit to which each data is carried in the timestamp information of each data; determining the time interval between two adjacent data with the same index of the encapsulation unit based on the sending time and packet length of each data; eliminating non-periodic data included in the target data based on the time interval to obtain first data; clustering the first data to obtain multiple categories of periodic data; and separately determining the data packet length, sending time and sending period of each category of periodic data.

[0045] In the above embodiment, when the ONU sends data, it will carry relevant information of the data in the relevant position of the data packet (for example, the header or other parts except the header), including but not limited to the above-mentioned sending time, packet length, index of the encapsulation unit, etc., wherein the sending time (or time information) can be mapped into the form of superframe + time, and the superframe (SF) is the processing unit of the PON network, with 125us as the unit. Within 125us, the time is cut into the unit of intra-frame time (TIME) according to the minimum encapsulation, so the time information can be expressed in the PON system in the format of (SF, TIME). In addition, the above-mentioned encapsulation unit is the carrier of the PON upstream direction carrying service, which can be referred to as TCONT for short. That is to say, the PON level service encapsulation is in units of TCONT, and each TCONT is represented by an index ALLOC-ID. Different types of data can be sent using different TCONTs. Both the ONU side or the OLT side can be Figure 6 The method shown records the timestamp (superframe number SF and intra-frame time TIME) and packet length LEN of data when it needs to be sent, wherein the content can be recorded by a timestamp module newly added on the ONU side or the OLT side.

[0046] In an optional embodiment, removing the non-periodic data included in the target data based on the time interval to obtain the first data includes: filtering out data with the same time interval, and determining the unfiltered data as the non-periodic data; removing the non-periodic data included in the target data to obtain the first data. That is, only the data with a periodic relationship is retained, and the non-periodic data can be temporarily ignored and can be directly removed.

[0047] In an optional embodiment, clustering the first data to obtain multiple categories of periodic data includes: performing linear recovery of data points based on data characteristics of the first data; clustering the first data according to the time interval based on the linear recovery result, and determining multiple categories of the periodic data based on the clustering result.

[0048] In the above embodiment, when clustering the first data, it is necessary to implement clustering based on the characteristics of each data included in the first data, wherein the characteristics of the data here may include but are not limited to the data sending time and the interval with adjacent data (which may be unified as the interval with the valid data adjacent to the latter, and the valid data includes periodic data). For periodically sent data, its sending time and the sending interval between data are linear, so linear recovery can be performed based on this characteristic. In addition, the characteristics of the above data may also include other content, such as the length of the data, the type of sender of the data, etc., and which information needs to be considered specifically shall be based on actual needs. It should also be noted that the above method of clustering periodic data after linear recovery is only an optional real-time method, and other methods that can determine periodic data can also be used in actual applications.

[0049] In an optional embodiment, performing linear recovery of data points based on the data characteristics of the first data includes: determining the sending time of each data included in the first data and the sending time interval between adjacent valid data; building a linear relationship based on the sending time of each data and the sending time interval; wherein the data characteristics include the sending time of each data and the sending time interval. It should be noted that building a linear relationship based on the sending time of data and the sending time interval between adjacent data is only an example. In actual applications, other elements that can build a linear relationship can also be considered, as long as they can achieve similar functions.

[0050] In an optional embodiment, sending the target bandwidth time matching the data packet length, the target sending time and the target sending period to the ONU includes: obtaining the sending time and packet length of the target data carried in the timestamp information of the target data; determining the next sending time of the target data based on the sending time, packet length, data packet length, target sending time and target sending period of the target data; determining the target bandwidth time based on the next sending time, wherein the difference between the next sending time and the target bandwidth time is less than a predetermined time threshold. In this embodiment, the accuracy of the calculated target sending time can be verified based on the sending time of the target data (i.e., the actual sending time of the target data), and then the estimated sending period can be adjusted based on the verification result, thereby ensuring the accuracy of the determined next sending time.

[0051] In an optional embodiment, determining the next sending time of the target data based on the sending time, packet length, data packet length, target sending time and target sending cycle of the target data includes: comparing the sending time with the target sending time to obtain a first comparison result, and comparing the packet length with the data packet length to obtain a second comparison result; verifying the accuracy of an analysis result obtained after analyzing the target data based on the first comparison result and the second comparison result, wherein the analysis result includes the data packet length, the target sending time and the target sending cycle; adjusting the target sending cycle based on the accuracy to obtain an adjusted target sending cycle; determining the next sending time of the target data based on the sending time and the adjusted target sending cycle. In this embodiment, the timestamp information of the target data carries the actual sending time and packet length of the target data, and by analyzing the target data, a predicted data packet length and target sending time can be obtained. By comparing the actual packet length with the predicted packet length, and by comparing the actual sending time with the predicted sending time, the deviation between the predicted result and the actual result of the prediction method can be verified, and then the target sending period can be adjusted based on the deviation to obtain an accurate sending period.

[0052] The present invention is described as a whole below in conjunction with specific embodiments:

[0053] In order to realize bandwidth authorization at the time of data packet arrival, the present invention proposes the following Figure 7 The overall block diagram of this system can be found in Figure 7 , where the ONU will send periodic data after receiving the OLT bandwidth authorization. After the OLT parses the upstream data, it confirms which data is consistent with the bandwidth authorization based on the relationship between the bandwidth authorization information and the actual data arrival location. The data is filtered for periodic algorithm verification, and the output periodic calculation bandwidth is sent to ensure that the next authorization is consistent with the data sending time, ensuring zero waiting for the DBA.

[0054] The device involved in the embodiment of the present invention is mainly located on the OLT side, including an ONU upstream signal module, a data collection module, a period position prediction module and a bandwidth calculation and delivery module. In addition, the ONU side may include a data sending module and a receiving bandwidth authorization module. The functions of each module in the OLT are described below:

[0055] ONU upstream signal module: receives upstream data sent by ONU.

[0056] Data collection module: responsible for parsing uplink data, filtering out data that just coincides with the original bandwidth authorization and packet position (i.e., the sending time of the data packet / data), recording the packet length information and timestamp information of the data, and sending it to the periodic position prediction module.

[0057] Period position prediction module: This module uses the data collected by the data collection module to perform algorithm analysis and restore the existing timestamp information into cluster information with a linear characteristic relationship (the X-axis can be time, and the Y-axis can be the spacing between adjacent valid data). The specific period of a periodic service is restored based on its data characteristics, and the results are verified using the obtained data until the correct period is output. The original data and the calculated period value are output to the bandwidth calculation and delivery module for processing.

[0058] Bandwidth calculation and delivery module: Based on the acquired cycle and original data, the packet length and timestamp information of the data, and the calculated cycle value, the bandwidth time slice required for the authorized bandwidth consistent with the data is predicted in the future and sent to the ONU.

[0059] Step 1. The OLT receives the original upstream data and filters it in the data collection module (i.e., the module in the OLT). For the PON system, according to the GPON family standard, the time information can be mapped into the form of superframe + time. The superframe (SF) is the processing unit of the PON network, with a unit of 125us. Within 125us, the time is cut into the unit of intra-frame time (TIME) according to the minimum encapsulation. Therefore, the time information can be expressed in the format of (SF, TIME) in the PON system. At the same time, the PON layer service encapsulation is in TCONT units, and each TCONT has an index ALLOC-ID to represent it.

[0060] A new timestamp module is added, including the ALLOC-ID to which the data belongs, and records its timestamp (superframe number SF and intra-frame time TIME) and packet length LEN when the data needs to be sent.

[0061] Step 2. The acquired data set is used in the calculation module to perform linear recovery of the data points according to the data characteristics. Since the transmitted data is periodic, the interval between adjacent valid data is always regular. The acquired timestamp information (SF, TIME, LEN) is used as a reference. Based on the acquired timestamp data, the time interval between two adjacent timestamp data with the same ALLOC-ID is obtained. According to the characteristics of the non-single-cycle business model, the packet interval is always consistent within the adjacent large cycle, such as Figure 8 delta1 and delta4 shown in .

[0062] The acquired timestamp data is filtered by packet spacing, and the data with the same packet spacing is filtered out. This step can eliminate non-periodic data. For details, see the attached Fig. 9 .

[0063] The recovered linear characteristics are clustered according to the spacing. After the clustering is completed, the period point data can be filtered out for viewing. For details, see the attached. The obtained period information can be used to restore its linear characteristics through the original data, thereby calculating the period. For details, see the attached Fig.10 .

[0064] Through the original data and the calculated period, Fig.11 The model shown obtains an accurate period information. Fig.11 The sending time point of the data can be verified, that is, the accuracy of the data predicted by the embodiment of the present invention can be verified by using prior data. If it is inaccurate, further adjustment is required to obtain accurate time data.

[0065] It should be noted that the above determination algorithm is only an example of using the packet spacing characteristics. After obtaining the original data, there are other ways to obtain the period, including but not limited to this algorithm.

[0066] Step 3. Send the period information and original data to the bandwidth delivery calculation module, and obtain the location of the next periodic service arrival based on the existing data (timestamp position and packet length information) and the calculated length. Complete the precise allocation of bandwidth. In the PON system, the unit of authorized bandwidth is the same as the structural unit of the construction, that is, SF, TIME, ALLOCID.

[0067] Step 4. The overall learning process of the system. After the predicted data authorization is issued, the uplink data can still verify the zero-wait effect of the system through the constructed timestamp structure. If there is a deviation between the authorization position expected by the OLT system and the packet timestamp position, the specific authorization position can be adjusted to improve the stability of the overall system.

[0068] The flowchart of the above steps can be found in the attached Fig.12 .

[0069] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0070] In this embodiment, a device for bandwidth authorization is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0071] Fig.13 is a structural block diagram of a bandwidth authorization device according to an embodiment of the present invention, such as Fig.13 As shown, the device comprises:

[0072] An acquisition module 132 is used to acquire data transmission information of multiple data sent by an optical network unit ONU, wherein the data transmission information of each data carries time information of the ONU sending the data, and the multiple data are sent by the ONU based on bandwidth authorization information issued by the optical line terminal OLT;

[0073] A first determining module 134 is configured to determine target data from the plurality of data based on time information of each of the data, wherein a target time for the ONU to send the target data satisfies a predetermined relationship with a bandwidth time included in target bandwidth authorization information, and the target bandwidth authorization information is bandwidth authorization information for sending the target data sent by the OLT to the ONU;

[0074] A second determination module 136 is used to analyze the target data to determine the data packet length, target sending time and target sending period of the target data;

[0075] The sending module 138 is used to send the target bandwidth time matching the data packet length, the target sending time and the target sending period to the ONU, so as to instruct the ONU to send the subsequent target data according to the target bandwidth time.

[0076] In an optional embodiment, the first determination module 134 includes: a first acquisition unit, used to obtain the sending time of each data carried in the timestamp information of each data; a first determination unit, used to determine the data whose sending time is consistent with the bandwidth time as the target data.

[0077] In an optional embodiment, the second determination module 136 includes: a second acquisition unit, used to obtain the sending time, packet length and index of the encapsulation unit to which each data is carried in the timestamp information of each data; a second determination unit, used to determine the time interval between two adjacent data with the same index of the encapsulation unit based on the sending time and packet length of each data; a elimination unit, used to eliminate the non-periodic data included in the target data based on the time interval to obtain the first data; a clustering unit, used to cluster the first data to obtain multiple types of periodic data; a third determination unit, used to respectively determine the data packet length, sending time and sending period of each type of periodic data.

[0078] In an optional embodiment, the elimination unit includes: a screening subunit, used to filter out data with the same time interval and determine the unfiltered data as the non-periodic data; and a elimination subunit, used to eliminate the non-periodic data included in the target data to obtain the first data.

[0079] In an optional embodiment, the clustering unit includes: a recovery subunit, used to perform linear recovery of data points based on the data characteristics of the first data; a clustering subunit, used to cluster the first data according to the time interval based on the linear recovery result, and determine multiple categories of periodic data based on the clustering result.

[0080] In an optional embodiment, the recovery subunit is used to implement linear recovery of data points based on data characteristics of the first data in the following manner: determining the sending time of each data included in the first data and the sending time interval between adjacent valid data; constructing a linear relationship based on the sending time of each data and the sending time interval; wherein the data characteristics include the sending time of each data and the sending time interval.

[0081] In an optional embodiment, the sending module includes: a third acquisition subunit, used to acquire the sending time and packet length of the target data carried in the timestamp information of the target data; a fourth determination unit, used to determine the next sending time of the target data based on the sending time, packet length, data packet length, target sending time and target sending cycle of the target data; a fifth determination unit, used to determine the target bandwidth time based on the next sending time, wherein the difference between the next sending time and the target bandwidth time is less than a predetermined time threshold.

[0082] In an optional embodiment, the fourth determination unit includes: a comparison subunit, used to compare the sending time with the target sending time to obtain a first comparison result, and to compare the packet length with the data packet length to obtain a second comparison result; a verification subunit, used to verify the accuracy of the analysis result obtained after analyzing the target data based on the first comparison result and the second comparison result, wherein the analysis result includes the data packet length, the target sending time and the target sending period; an adjustment subunit, used to adjust the target sending period based on the accuracy to obtain an adjusted target sending period; a determination subunit, used to determine the next sending time of the target data based on the sending time and the adjusted target sending period.

[0083] According to one aspect of the present invention, a bandwidth authorization system is provided, comprising an optical line terminal OLT and an optical network unit ONU, wherein the OLT comprises the bandwidth authorization device described in any one of the aforementioned embodiments.

[0084] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0085] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0086] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0087] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0088] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0089] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0090] Through the above embodiments, it can be seen that the present invention actually involves a method and device for predicting the arrival time of future data packets based on the acquired upstream periodic data in the OLT device, and authorizing bandwidth to the ONU. In particular, it relates to the field of PON communication in the optical network. The upstream communication of the PON network is realized in a burst time-division manner. The OLT side sends the upstream bandwidth authorization to the ONU, and the ONU sends the upstream data in the specified time slice. On the basis of the original upstream DBA scheduling, data prediction is performed and bandwidth is issued by obtaining the information of the data. It can be seen that the embodiment of the present invention can realize the characteristic of coinciding with the bandwidth authorization by using the upstream data of the PON system, eliminate the additional delay caused by the complex multi-periodic upstream data in the PON layer, and parse the time information of the ONU sending data through the device on the OLT side to form a series of data with timestamps and packet length information. By using the data through the algorithm module, according to the complex multi-periodic service characteristics, the periodic characteristics and packet arrival position of the current periodic service are extracted, and the bandwidth authorization is accurately performed at the time of packet arrival, ensuring zero waiting (that is, zero delay and zero jitter) in the PON upstream system. This ensures that the uplink delay of the overall communication system is improved and jitter is reduced while ensuring maximum bandwidth utilization.

[0091] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0092] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for bandwidth authorization, characterized in that: include: Acquire data sending information of multiple data sent by an optical network unit ONU, wherein the data sending information of each data carries time information of the ONU sending the data, and the multiple data are sent by the ONU based on bandwidth authorization information issued by an optical line terminal OLT; Determine target data from the plurality of data based on time information of each of the data, wherein the target time for the ONU to send the target data satisfies a predetermined relationship with the bandwidth time included in the target bandwidth authorization information, and the target bandwidth authorization information is bandwidth authorization information for sending the target data sent by the OLT to the ONU; Analyzing the target data to determine the data packet length, target sending time and target sending cycle of the target data; The target bandwidth time matching the data packet length, the target sending time and the target sending period is sent to the ONU to instruct the ONU to send the subsequent target data according to the target bandwidth time.

2. The method according to claim 1, characterized in that Determining target data from a plurality of the data based on time information of each of the data comprises: Obtaining the sending time of each data carried in the timestamp information of each data; The data whose sending time is consistent with the bandwidth time is determined as the target data.

3. The method according to claim 1, characterized in that Analyzing the target data to determine the data packet length, target sending time, and target sending period of the target data includes: Obtaining the sending time, packet length and index of the encapsulation unit to which each data belongs carried in the timestamp information of each data; Determine the time interval between two adjacent data of the encapsulation units to which the data belongs and which have the same index based on the sending time and packet length of each data; Eliminate non-periodic data included in the target data based on the time interval to obtain first data; Clustering the first data to obtain multiple types of periodic data; The data packet length, sending time and sending cycle of each type of periodic data are determined respectively.

4. The method according to claim 3, characterized in that Eliminating non-periodic data included in the target data based on the time interval to obtain first data includes: Screening out data with the same time interval, and determining the unscreened data as the non-periodic data; The non-periodic data included in the target data is eliminated to obtain the first data.

5. The method according to claim 3, characterized in that: Clustering the first data to obtain multiple types of periodic data includes: Performing linear recovery of data points based on the data characteristics of the first data; The first data is clustered according to the time interval based on the linear recovery result, and a plurality of categories of the periodic data are determined based on the clustering result.

6. The method according to claim 5, characterized in that The linear recovery of the data points based on the data characteristics of the first data includes: Determine the sending time of each data included in the first data and the sending time interval between each data and adjacent valid data; Building a linear relationship based on the sending time of each data and the sending time interval; The data characteristics include the sending time of each data and the sending time interval.

7. The method according to claim 1, characterized in that Sending a target bandwidth time matching the data packet length, the target sending time, and the target sending period to the ONU comprises: Obtaining the sending time and packet length of the target data carried in the timestamp information of the target data; Determine the next time the target data is sent based on the target data sending time, packet length, data packet length, target sending time, and target sending period; The target bandwidth time is determined based on the next sending time, wherein the difference between the next sending time and the target bandwidth time is less than a predetermined time threshold.

8. The method according to claim 7, characterized in that Determining the next time the target data is sent based on the target data sending time, the packet length, the data packet length, the target sending time, and the target sending period includes: Comparing the sending time with the target sending time to obtain a first comparison result, and comparing the packet length with the data packet length to obtain a second comparison result; Verifying the accuracy of an analysis result obtained after analyzing the target data based on the first comparison result and the second comparison result, wherein the analysis result includes the data packet length, the target sending time, and the target sending period; adjusting the target sending period based on the accuracy to obtain an adjusted target sending period; The next sending time of the target data is determined based on the sending time and the adjusted target sending period.

9. A bandwidth authorization device, characterized in that: include: An acquisition module is used to acquire data transmission information of multiple data sent by an optical network unit ONU, wherein the data transmission information of each data carries time information of the ONU sending the data, and the multiple data are sent by the ONU based on bandwidth authorization information issued by the optical line terminal OLT; A first determining module is used to determine target data from a plurality of the data based on time information of each of the data, wherein a target time for the ONU to send the target data satisfies a predetermined relationship with a bandwidth time included in target bandwidth authorization information, and the target bandwidth authorization information is bandwidth authorization information for sending the target data sent by the OLT to the ONU; A second determination module is used to analyze the target data to determine the data packet length, target sending time and target sending cycle of the target data; The sending module is used to send the target bandwidth time matching the data packet length, the target sending time and the target sending period to the ONU, so as to instruct the ONU to send the subsequent target data according to the target bandwidth time.

10. A bandwidth authorization system, characterized in that: It comprises an optical line terminal OLT and an optical network unit ONU, wherein the OLT comprises the bandwidth authorization device according to claim 9.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 8 when executed by a processor.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Dynamic bandwidth allocation method for adjusting bandwidth allocation parameters based on time division multiplexing

    CN109348315A

  • Bandwidth distribution method, device and system

    CN109429118A

  • Bandwidth allocation method, optical line terminal and computer readable storage medium

    CN115052211A

  • Ethernet passive optical network multi-service dynamic bandwide authorizing method

    CN1777334A