WO2017113935A1 - 信息上报方法及装置、计算机存储介质 - Google Patents

信息上报方法及装置、计算机存储介质 Download PDF

Info

Publication number
WO2017113935A1
WO2017113935A1 PCT/CN2016/102269 CN2016102269W WO2017113935A1 WO 2017113935 A1 WO2017113935 A1 WO 2017113935A1 CN 2016102269 W CN2016102269 W CN 2016102269W WO 2017113935 A1 WO2017113935 A1 WO 2017113935A1
Authority
WO
WIPO (PCT)
Prior art keywords
reported
value
data
token
service
Prior art date
Application number
PCT/CN2016/102269
Other languages
English (en)
French (fr)
Inventor
刘毅
Original Assignee
深圳市中兴微电子技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Publication of WO2017113935A1 publication Critical patent/WO2017113935A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions

Definitions

  • the present invention relates to an optical network communication technology, and in particular, to an information reporting method and apparatus, and a computer storage medium.
  • the passive optical network is composed of a central office device, such as an optical line terminal (OLT), and a plurality of terminal devices, such as an optical network unit (ONU).
  • the ONU uses time-division multiplexing to upload packets. The time for each ONU to upload packets is allocated and controlled by the OLT.
  • the OLT dynamically allocates bandwidth to the ONU, the ONU first performs bandwidth reporting to the OLT, and the OLT delivers the bandwidth of the ONU through the dynamic bandwidth allocation DBA algorithm according to the situation of the ONU bandwidth reporting.
  • the ONU device can choose to limit the rate of the service.
  • the service can be output to the PON MAC according to the bandwidth allocated by the OLT, and then sent to the OLT device after being encapsulated.
  • the traffic may be sent to the OLT due to the speed limit.
  • the packet bandwidth of the device is smaller than the bandwidth allocated by the OLT to the ONU.
  • the ONU is to directly report the number of packets in the buffer to the OLT device through the reporting mechanism of the ONU.
  • the OLT allocates and manages the bandwidth delivered to each ONU, without considering that the ONU always reports a very large bandwidth. . If there is a huge difference between the bandwidth of the packet sent by the ONU and the bandwidth sent by the OLT to the ONU, the number of bytes of the reported packet is large, and the number of bytes actually sent to the OLT device is small. Will cause the ONU to upload to the OLT. The bandwidth resource is wasted, and each time the ONU reports a large bandwidth, the OLT allocates bandwidth according to the number of bytes reported, which may affect the service upload of other normally working ONUs.
  • an embodiment of the present invention provides an information reporting method and apparatus, and a computer storage medium.
  • An information reporting method comprising:
  • the optical network unit ONU determines the data amount of the service to be reported, and obtains the value of the token in the token bucket, where the value of the token is used to indicate the maximum amount of data of the service that the ONU can upload;
  • the value of the selected data amount is reported.
  • the method further includes:
  • the new number of tokens is used as the current number of tokens in the token bucket.
  • the method further includes:
  • the determining the amount of data of the current service to be reported includes:
  • the data quantity value of the current service to be reported is subtracted from the data quantity value of the aging service, and the difference is used as the data quantity value of the updated current service to be reported.
  • the method further includes:
  • the token to be added is added to the token bucket existing token.
  • the new number of tokens is taken as the maximum amount of data that can be uploaded to the OLT;
  • the updated number of tokens is compared with the updated data amount of the currently reported service, and a smaller value is selected as the data amount reported to the OLT;
  • the second set period is less than the period reported by the value of the selected data amount.
  • the method further includes:
  • the value of the data amount of the service to be reported is subtracted from the value of the reported data amount, and the obtained difference is used as the data amount value of the current service to be reported;
  • the number of remaining tokens in the token bucket is subtracted from the value of the reported data amount, and the difference is taken as the number of remaining tokens after the update.
  • the method further includes:
  • the sum of the data amount of the newly enqueue message and the data amount of the current packet in the queue is used as the data amount of the current service to be reported.
  • An information reporting device comprising: a first determining unit, an obtaining unit, a comparing unit, and a reporting unit, wherein:
  • a first determining unit configured to determine a data amount of the service to be reported currently
  • An obtaining unit configured to obtain a value of a token in the token bucket, where the value of the token is used to indicate a maximum value of a data volume of the service that the ONU can upload;
  • the comparing unit is configured to compare the data amount of the current service to be reported and the maximum amount of data that can be uploaded to the OLT, and select a value with a smaller amount of data;
  • the reporting unit is configured to report the value of the selected data amount to the OLT.
  • the apparatus includes: a second determining unit, an adding unit, and a calculating unit, where:
  • a second determining unit configured to determine whether a speed limit processing is required, and triggering the adding unit when needed
  • Add a unit configured to add tokens
  • the calculating unit is configured to add the added token and the token bucket existing token to obtain a new token number; and the new token number is used as the current token number in the token bucket.
  • the comparing unit is configured to select a smaller value as the number of remaining tokens in the token bucket or the data volume of the current service to be reported as the report to the OLT. The amount of data.
  • the first determining unit is further configured to: when the service is aged, subtract the data quantity value of the current service that is to be reported from the data quantity value of the aging service, and the difference is used as an update. The amount of data of the current business to be reported.
  • the acquiring unit is further configured to add a token to be added and a token bucket existing token to obtain a new token number when the second setting period arrives;
  • the new number of tokens as the maximum amount of data that can be uploaded to the OLT;
  • the updated number of tokens is compared with the updated data amount of the currently reported service, and a smaller value is selected as the data amount reported to the OLT;
  • the second setting period is smaller than the reporting period of the reporting unit.
  • the acquiring unit is further configured to subtract the value of the reported data amount from the value of the data amount of the service to be reported, and The obtained difference is used as the data amount value of the current service to be reported;
  • the device further includes:
  • the queue management unit is configured to use the sum of the data amount of the newly enqueued message and the data amount of the current packet in the queue as the data amount of the current service to be reported.
  • a computer storage medium storing a computer program for executing the above information reporting method.
  • the ONU determines the data volume of the service to be reported, and calculates the maximum amount of data that can be uploaded to the OLT; and the data volume of the current service to be reported and the maximum can be uploaded to the The data volume of the OLT is compared, and a value with a small amount of data is selected; when the first set period comes, the value of the selected data amount is reported to the OLT.
  • the technical solution of the embodiment of the present invention eliminates the situation that the difference between the delivered bandwidth and the actual transmission bandwidth is too large when the bandwidth is reported, so that the OLT performs the dynamic bandwidth allocation (DBA, Dynamically Bandwidth Assignment) processing more accurately, and avoids The ONU wastes bandwidth when uploading packets and the preemption of bandwidth allocation between ONUs, which improves the utilization of ONU bandwidth uploads across the entire OLT device.
  • DBA Dynamically Bandwidth Assignment
  • FIG. 1 is a schematic flowchart diagram of an information reporting method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a specific implementation of an information reporting apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of bandwidth information calculation according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing the logical structure of an information reporting apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of an information reporting method according to an embodiment of the present invention. As shown in FIG. 1 , the information reporting method in this example includes the following steps:
  • step 101 the ONU determines the amount of data of the service to be reported, and obtains the value of the token in the token bucket.
  • the value of the token is used to indicate the maximum value of the data amount of the service that the ONU can upload.
  • the method further includes: determining that the token is added when the speed limit processing is required;
  • the new number of tokens is used as the current number of tokens in the token bucket.
  • the determining the amount of data of the service to be reported currently includes:
  • the data quantity value of the current service to be reported is subtracted from the data quantity value of the aging service, and the difference is used as the data quantity value of the updated current service to be reported.
  • the packet aging is set to set the latest transmission time for all the packets in the queue. If the current transmission time has passed the latest transmission time of the packet, the packet in the queue is aged. The message has not been sent at the latest transmission time. It is meaningless to send the message again and needs to be cleared from the queue.
  • Step 102 The ONU compares the data volume of the current service to be reported with the maximum amount of data that can be uploaded to the OLT, and selects a value with a small amount of data.
  • a smaller value is selected as the data volume value reported to the OLT.
  • the packet management of the packet is also required in real time. Specifically, when a new packet is enqueued, the sum of the data amount of the newly enqueue packet and the data amount of the current packet in the queue is taken as the current The amount of data for the business to be reported.
  • Step 103 when the first set period comes, the value of the selected data amount is The OLT reports.
  • the token when the second set period comes, the token is added; the added token and the token bucket existing token are added to obtain a new token number; The number of tokens as the maximum amount of data that can be uploaded to the OLT;
  • the updated number of tokens is compared with the updated data amount of the currently reported service, and a smaller value is selected as the data amount reported to the OLT;
  • the second set period is less than the first set period.
  • the first setting period is a period for reporting the value of the amount of data to be transmitted currently to be transmitted to the OLT, and when the first setting period comes, the amount of data to be transmitted is reported to the OLT; and the second setting is performed.
  • the period is the update period of the token bucket.
  • the first set period may be an integer multiple of the second set period, for example, the first set period is at least twice the second set period.
  • the information reporting method of the example further includes:
  • the data amount of the service to be reported is subtracted from the value of the reported data amount, and the difference is used as the data amount value of the current service to be reported;
  • the number of remaining tokens in the token bucket is subtracted from the value of the reported data amount, and the difference is taken as the number of remaining tokens after the update.
  • the bandwidth when the bandwidth is reported, the difference between the delivered bandwidth and the actual transmission bandwidth is too large, so that the OLT performs the DBA processing more accurately, and the bandwidth waste of the ONU when uploading the packet is avoided. And the preemption problem when bandwidth allocation is performed between ONUs, which improves the utilization of ONU bandwidth uploading under the entire OLT device.
  • the embodiments of the present invention are directed to the problem of bandwidth waste of ONU service uploading and bandwidth preemption between ONUs caused by the mismatch between the ONU reporting bandwidth and the actual upload bandwidth that exist in the prior art.
  • the implementation process is explained in detail below.
  • FIG. 2 is a schematic structural diagram of a specific implementation of an information reporting apparatus according to an embodiment of the present invention.
  • an information reporting apparatus according to an embodiment of the present invention may be implemented by using the structure shown in FIG. 2, including the following processing unit: a queue management unit, a scheduling unit, a message output unit, a PON MAC unit, and a bandwidth reporting unit; wherein:
  • Queue management unit Performs packet enqueue management. When the bandwidth is reported, the number of bytes of the enqueued packet is sent to the bandwidth reporting unit.
  • the scheduling unit performs the scheduling output of the packet, the rate limit of the service, and the aging processing of the packet.
  • the bandwidth is reported, the number of aging bytes is sent to the bandwidth reporting unit.
  • the message output unit sends the message to the PON MAC unit in response to the request of the PON MAC unit of the ONU, and sends the output message information to the bandwidth report calculation unit.
  • the PON MAC unit receives the bandwidth grant information sent by the OLT, requests data transmission from the packet output unit, and sends bandwidth report information to the OLT.
  • Bandwidth report calculation unit Complete bandwidth report calculation. Calculate and compare the rate limit of the service, the number of bytes of the newly added packet in the queue management, the number of bytes actually reported, and the number of bytes of the actual output. The result is reported and sent to the PON.
  • the MAC unit performs bandwidth information reporting by the PON MAC unit.
  • the bandwidth when the bandwidth is reported, the difference between the delivered bandwidth and the actual transmission bandwidth is too large, so that the OLT performs the DBA processing more accurately, and the bandwidth waste of the ONU when uploading the packet is avoided. And the preemption problem when bandwidth allocation is performed between ONUs, which improves the utilization of ONU bandwidth uploading under the entire OLT device.
  • FIG. 3 is a schematic diagram of bandwidth information calculation according to an embodiment of the present invention, as shown in FIG.
  • the bandwidth information calculation of the example includes the following processing steps:
  • the bandwidth report When the bandwidth report is calculated, the smaller number of the two values is selected by comparing the number of bytes in the cache that need to be reported and the maximum number of bytes that can be uploaded to the OLT, that is, the remaining tokens.
  • the set time When the set time is reached, the accumulated value of the reported message data amount is reported to the PON MAC unit, and the PON MAC unit performs the report processing according to the accumulated value.
  • the bandwidth reporting unit calculates the number of bytes in the buffer according to the newly reported number of bytes.
  • the bandwidth reporting unit When the service in the scheduling unit is aged, the number of bytes of the aging packet is sent to the bandwidth reporting unit, and the bandwidth reporting unit recalculates the packet in the cache according to the number of bytes of the aging packet. Section number.
  • the bandwidth reporting unit calculates the token according to whether the service performs rate limiting processing.
  • the added token and the token bucket are added together to obtain a new token number.
  • the packet is sent and processed, the PON MAC unit requests the packet output unit, and the packet output unit outputs the scheduled packet to the PON.
  • the MAC and PON MAC are encapsulated and sent to the OLT device.
  • the queue management receives a packet with a packet length of 128 bytes, and sends the packet information to the bandwidth reporting unit. It is assumed that the number of original packets in the buffer is 200. After the number of newly reported bytes is received, the number of packets in the buffer becomes 328 bytes.
  • the update token also triggers the report calculation, and reads the number of bytes in the buffer, the value is 264. The number of remaining tokens is compared with the number of bytes in the buffer, and 16 is selected as the number of reports, and sent to the cumulative output portion of the report.
  • the updated report has a cumulative total of 128.
  • the updated report has a cumulative total of 136.
  • the bandwidth when the bandwidth is reported, the difference between the delivered bandwidth and the actual transmission bandwidth is too large, so that the OLT performs the DBA processing more accurately, and the bandwidth waste of the ONU when uploading the packet is avoided. And the preemption problem when bandwidth allocation is performed between ONUs, which improves the utilization of ONU bandwidth uploading under the entire OLT device.
  • the information reporting apparatus of the embodiment of the present invention includes a first determining unit 40, an obtaining unit 41, a comparing unit 42, and a reporting unit. 43, of which:
  • the first determining unit 40 is configured to determine the amount of data of the service that needs to be reported currently;
  • the obtaining unit 41 is configured to obtain a value of the token in the token bucket, where the value of the token is used to indicate a maximum value of the data volume of the service that the ONU can upload;
  • the comparing unit 42 is configured to measure the amount of data and the maximum energy of the currently reported service The amount of data uploaded to the OLT is compared, and the value of the smaller amount of data is selected;
  • the reporting unit 43 is configured to report the value of the selected data amount to the OLT.
  • the information reporting device further includes: a second determining unit (not shown in FIG. 4) and an adding unit (not shown in FIG. 4). And a calculation unit (not shown in Figure 4), wherein:
  • a second determining unit configured to determine whether a speed limit processing is required, and triggering the adding unit when needed
  • Add a unit configured to add tokens
  • the calculating unit is configured to add the added token and the token bucket existing token to obtain a new token number; and the new token number is used as the current token number in the token bucket.
  • the comparing unit 42 is configured to select a smaller value to report to the OLT when the number of remaining tokens in the token bucket or the data volume of the currently reported service is updated. The amount of data.
  • the first determining unit 40 is further configured to: when the service is aging, subtract the data quantity value of the service that is currently reported from the data quantity of the aging service, and the difference is The updated data volume value of the current service to be reported.
  • the packet aging is set to set the latest transmission time for all the packets in the queue. If the current transmission time has passed the latest transmission time of the packet, the packet in the queue is aged. The message has not been sent at the latest transmission time. It is meaningless to send the message again and needs to be cleared from the queue.
  • the acquiring unit 41 is further configured to: add a token when the second setting period comes; add the token and the token bucket to the token Adding, obtaining a new number of tokens; using the new number of tokens as the maximum amount of data that can be uploaded to the OLT;
  • the updated number of tokens is compared with the updated data amount of the currently reported service, and a smaller value is selected as the data amount reported to the OLT;
  • the second setting period is smaller than a reporting period of the reporting unit (referred to herein as a first setting period).
  • the first setting period is a period for reporting the value of the amount of data to be transmitted currently to be transmitted to the OLT, and when the first setting period comes, the amount of data to be transmitted is reported to the OLT; and the second setting is performed.
  • the period (the reporting period of the reporting unit) is the update period of the token bucket.
  • the first set period may be an integer multiple of the second set period, for example, the first set period is at least twice the second set period.
  • the acquiring unit 41 is further configured to subtract the reported data from the data amount of the service to be reported.
  • the value of the quantity, the difference value is taken as the data quantity value of the current service to be reported;
  • the number of remaining tokens in the token bucket is subtracted from the value of the reported data amount, and the difference is taken as the number of remaining tokens after the update.
  • the information reporting device of the embodiment of the present invention further includes:
  • the queue management unit (not shown in FIG. 4) is configured to use the sum of the data amount of the newly enqueued message and the data amount of the current packet in the queue as the data of the current service to be reported when the new packet is enqueued. the amount.
  • each of the above units may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
  • the determining unit 40, the obtaining unit 41, the comparing unit 42, and the like can be implemented by an FPGA, a microprocessor, and a DSP, and the reporting unit 43 can be implemented by a data port, an antenna system, or the like.
  • the information reporting device may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, wherein a computer program is stored, and the computer program is used to execute the information reporting method of the embodiment of the present invention.
  • the disclosed method and smart device may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one second processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the above integrated unit can be implemented in the form of hardware. It can also be implemented in the form of hardware plus software functional units.
  • the ONU determines the amount of data of the service to be reported, and calculates the maximum amount of data that can be uploaded to the OLT.
  • the amount of data that is currently reported and the maximum amount that can be uploaded to the OLT can be uploaded to the OLT.
  • the amount of data is compared, and a value with a small amount of data is selected; when the first set period comes, the value of the selected data amount is reported to the OLT.
  • the technical solution of the embodiment of the present invention eliminates the situation that the difference between the delivered bandwidth and the actual transmission bandwidth is too large when the bandwidth is reported, so that the OLT performs the DBA processing more accurately, and avoids the bandwidth waste of the ONU when uploading the packet. And the preemption problem when bandwidth allocation is performed between ONUs, which improves the utilization of ONU bandwidth uploading under the entire OLT device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种信息上报方法及装置、计算机存储介质,所述方法包括:ONU确定当前需上报的业务的数据量,获取令牌桶中的令牌的数值,所述令牌的数值用于指示所述ONU能够上传的业务的数据量的最大值;对所述当前需上报的业务的数据量和所述最大能上传到OLT的数据量进行比较,选取数据量较小的数值;在第一设定周期到来时,将所选取的数据量的数值向所述OLT上报。

Description

信息上报方法及装置、计算机存储介质 技术领域
本发明涉及光网络通信技术,尤其涉及一种信息上报方法及装置、计算机存储介质。
背景技术
无源光网络是由局端设备如光线路终端(OLT,Optical Line Terminal)和多个终端设备如光网络单元(ONU,Optical Network Unit)组成。ONU之间采用时分复用的方式进行报文的上传,每个ONU上传报文的时间由OLT来分配和控制。在OLT动态向ONU分配带宽的情况下,先由ONU向OLT进行带宽上报,OLT根据ONU带宽上报的情况通过动态带宽分配DBA算法进行ONU的带宽下发。
ONU设备中,当报文入队成功时,会将当前队列中报文缓存的字节数上报给OLT设备。在报文输出到无源光网络媒体访问控制(PON MAC,Passive Optical Network Media Access Control)时,ONU设备可以选择对业务进行限速处理。在不进行业务的限速处理时,业务可以按照OLT分配的带宽调度输出到PON MAC,经过封装后发送到OLT设备;在业务进行调度限速时,由于限速的影响,可能导致发送到OLT设备的报文带宽小于OLT分配给该ONU的带宽的情况。
通常ONU的做法是直接将缓存中的报文字节数通过ONU的上报机制报告给OLT设备,由OLT来分配和管理下发给各个ONU的带宽,没有考虑到ONU一直上报带宽非常大的情况。如果ONU实际上送的报文带宽和OLT下发给ONU的带宽存在巨大的差值时,即上报的报文缓存字节数很大,而实际发送到OLT设备的报文字节数较少,就会造成ONU上传到OLT的 带宽资源的浪费,而每次ONU都上报申请较大的带宽,OLT根据上报的字节数进行带宽分配,会因为这些假申请,影响到其他正常工作的ONU的业务上传。
发明内容
为解决上述技术问题,本发明实施例提供了一种信息上报方法及装置、计算机存储介质。
一种信息上报方法,所述方法包括:
光网络单元ONU确定当前需上报的业务的数据量,获取令牌桶中的令牌的数值,所述令牌的数值用于指示所述ONU能够上传的业务的数据量的最大值;
对所述当前需上报的业务的数据量和所述最大能上传到OLT的数据量进行比较,选取数据量较小的数值;
将所选取的数据量的数值进行上报。
作为一种实现方式,所述方法还包括:
确定需要限速处理时,进行令牌的添加;
将所添加的令牌和令牌桶已有令牌相加,得到新的令牌数;
将所述新的令牌数作为令牌桶中当前的令牌数。
作为一种实现方式,所述方法还包括:
令牌桶中的剩余令牌数或所述当前需上报的业务的数据量发生更新时,选取较小的数值作为向所述OLT上报的数据量数值。
作为一种实现方式,所述确定当前需上报的业务的数据量,包括:
所述业务老化时,将所述当前需上报的业务的数据量数值减去老化的业务的数据量数值,其差值作为更新后的当前需上报的业务的数据量数值。
作为一种实现方式,所述方法还包括:
在第二设定周期到来时,将待添加的令牌与令牌桶已有令牌相加而得 到新的令牌数;将所述新的令牌数作为最大能上传到所述OLT的数据量;以及
对所述当前需上报的业务的数据量进行更新;
在第一设定周期到来之前,持续对令牌桶中的令牌数以及所述当前需上报的业务的数据量的更新;
在第一设定周期到来时,将更新后的令牌数和更新后的当前需上报的业务的数据量进行比较,选取较小的数值作为向所述OLT上报的数据量数值;
其中,所述第二设定周期小于所选取的数据量的数值上报的周期。
作为一种实现方式,将所选取的数据量的数值向所述OLT上报后,所述方法还包括:
将需上报的业务的数据量的数值减去所上报的数据量的数值,将得到的差值作为当前需上报的业务的数据量数值;
将令牌桶中的剩余令牌数减去所上报的数据量的数值,将差值作为更新后的剩余令牌数。
作为一种实现方式,所述方法还包括:
有新报文入队时,将新入队的报文的数据量以及队列中当前报文的数据量之和作为当前需上报的业务的数据量。
一种信息上报装置,所述装置包括:第一确定单元、获取单元、比较单元和上报单元,其中:
第一确定单元,配置为确定当前需上报的业务的数据量;
获取单元,配置为获取令牌桶中的令牌的数值,所述令牌的数值用于指示所述ONU能够上传的业务的数据量的最大值;
比较单元,配置为对所述当前需上报的业务的数据量和所述最大能上传到OLT的数据量进行比较,选取数据量较小的数值;
上报单元,配置为将所选取的数据量的数值向所述OLT上报。
作为一种实现方式,所述装置包括:第二确定单元、添加单元和计算单元,其中:
第二确定单元,配置为确定是否需要限速处理,需要时触发添加单元;
添加单元,配置为进行令牌的添加;
计算单元,配置为将所添加的令牌和令牌桶已有令牌相加,得到新的令牌数;将所述新的令牌数作为令牌桶中当前的令牌数。
作为一种实现方式,所述比较单元,配置为在令牌桶中的剩余令牌数或所述当前需上报的业务的数据量发生更新时,选取较小的数值作为向所述OLT上报的数据量数值。
作为一种实现方式,所述第一确定单元,还配置为在所述业务老化时,将所述当前需上报的业务的数据量数值减去老化的业务的数据量数值,其差值作为更新后的当前需上报的业务的数据量数值。
作为一种实现方式,所述获取单元,还配置为在第二设定周期到来时,将待添加的令牌与令牌桶已有令牌相加而得到新的令牌数;将所述新的令牌数作为最大能上传到所述OLT的数据量;以及
对所述当前需上报的业务的数据量进行更新;在第一设定周期到来之前,持续对令牌桶中的令牌数以及所述当前需上报的业务的数据量的更新;在第一设定周期到来时,将更新后的令牌数和更新后的当前需上报的业务的数据量进行比较,选取较小的数值作为向所述OLT上报的数据量数值;
其中,所述第二设定周期小于所述上报单元的上报周期。
作为一种实现方式,将所选取的数据量的数值向所述OLT上报后,所述获取单元,还配置为将需上报的业务的数据量的数值减去所上报的数据量的数值,将得到的差值作为当前需上报的业务的数据量数值;
将令牌桶中的剩余令牌数减去所上报的数据量的数值,将差值作为更 新后的剩余令牌数。
作为一种实现方式,所述装置还包括:
队列管理单元,配置为有新报文入队时,将新入队的报文的数据量以及队列中当前报文的数据量之和作为当前需上报的业务的数据量。
一种计算机存储介质,所述计算机存储介质存储有计算机程序,该计算机程序用于执行上述信息上报方法。
本发明实施例的技术方案中,ONU确定当前需上报的业务的数据量,并计算出最大能上传到OLT的数据量;对所述当前需上报的业务的数据量和所述最大能上传到OLT的数据量进行比较,选取数据量较小的数值;在第一设定周期到来时,将所选取的数据量的数值向所述OLT上报。采用本发明实施例的技术方案,消除了在带宽上报时,出现下发带宽和实际发送带宽相差太大的情况,使得OLT进行动态带宽分配(DBA,Dynamically Bandwidth Assignment)处理时更加准确,避免了ONU在上传报文时的带宽浪费,以及ONU之间进行带宽分配时的抢占问题,提高了整个OLT设备下ONU带宽上传的利用率。
附图说明
图1为本发明实施例的信息上报方法的流程示意图;
图2为本发明实施例的信息上报装置的具体实现结构示意图;
图3为本发明实施例的带宽信息计算示意图;
图4为本发明实施例的信息上报装置的逻辑结构示意图。
具体实施方式
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。
图1为本发明实施例的信息上报方法的流程示意图,如图1所示,本示例的信息上报方法包括以下步骤:
步骤101,ONU确定当前需上报的业务的数据量,获取令牌桶中的令牌的数值。
本发明实施例中,所述令牌的数值用于指示所述ONU能够上传的业务的数据量的最大值。
本发明实施例中,所述方法还包括:确定需要限速处理时,进行令牌的添加;
将所添加的令牌和令牌桶已有令牌相加,得到新的令牌数;
将所述新的令牌数作为令牌桶中当前的令牌数。
本发明实施例中,所述确定当前需上报的业务的数据量,包括:
所述业务老化时,将所述当前需上报的业务的数据量数值减去老化的业务的数据量数值,其差值作为更新后的当前需上报的业务的数据量数值。
本发明实施例中,所谓报文老化,即为队列中的所有报文设置最晚传输时刻,若当前时刻已过了报文的最晚传输时刻,则认为队列中的报文老化,即在最晚传输时刻仍未能发出报文,该报文再次发送毫无意义,需要将其从队列中清除出去。
步骤102,ONU对所述当前需上报的业务的数据量和所述最大能上传到OLT的数据量进行比较,选取数据量较小的数值。
本发明实施例中,当令牌桶中的剩余令牌数或所述当前需上报的业务的数据量发生更新时,选取较小的数值作为向所述OLT上报的数据量数值。
本发明实施例中,还需要实时对报文进行入队管理,具体地,有新报文入队时,将新入队的报文的数据量以及队列中当前报文的数据量之和作为当前需上报的业务的数据量。
步骤103,在第一设定周期到来时,将所选取的数据量的数值向所述 OLT上报。
本发明实施例中,在第二设定周期到来时,进行令牌的添加;将所添加的令牌和令牌桶已有令牌相加,得到新的令牌数;将所述新的令牌数作为最大能上传到所述OLT的数据量;以及
对所述当前需上报的业务的数据量进行更新;
在第一设定周期到来之前,持续对令牌桶中的令牌数以及所述当前需上报的业务的数据量的更新;
在第一设定周期到来时,将更新后的令牌数和更新后的当前需上报的业务的数据量进行比较,选取较小的数值作为向所述OLT上报的数据量数值;
其中,所述第二设定周期小于所述第一设定周期。具体地,第一设定周期是用于向OLT上报当前需传输的待数据量的数值的周期,在第一设定周期到来时,将需传输的数据量上报至OLT;而第二设定周期则是令牌桶的更新周期。第一设定周期可以是第二设定周期的整数倍,如第一设定周期至少是第二设定周期的2倍以上。
本发明实施例中,将所选取的数据量的数值向所述OLT上报后,本示例的信息上报方法还包括:
将需上报的业务的数据量减去所上报的数据量的数值,将差值作为当前需上报的业务的数据量数值;
将令牌桶中的剩余令牌数减去所上报的数据量的数值,将差值作为更新后的剩余令牌数。
本发明实施例的技术方案,在消除了在带宽上报时,出现下发带宽和实际发送带宽相差太大的情况,使得OLT进行DBA处理时更加准确,避免了ONU在上传报文时的带宽浪费,以及ONU之间进行带宽分配时的抢占问题,提高了整个OLT设备下ONU带宽上传的利用率。
以下通过具体示例,进一步阐明本发明实施例技术方案的实质。
本发明实施例针对现有技术中存在的ONU上报带宽和实际上传带宽不匹配带来的ONU业务上传的带宽浪费和ONU之间的带宽抢占问题和缺陷而提出。以下详细阐明其实现过程。
图2为本发明实施例的信息上报装置的具体实现结构示意图,如图2所示,本发明实施例的信息上报装置可以通过图2所示的结构实现,包括以下处理单元:队列管理单元、调度单元、报文输出单元,PON MAC单元以及带宽上报计算单元;其中:
队列管理单元:进行报文入队管理,在带宽上报处理时,将入队的报文的字节数送给带宽上报计算单元。
调度单元:进行报文的调度输出、业务的限速、报文的老化处理;在带宽上报处理时,会将老化的字节数送给带宽上报计算单元。
报文输出单元:响应ONU的PON MAC单元的请求,将报文输出给PON MAC单元,同时将输出报文信息发送给带宽上报计算单元。
PON MAC单元:接收OLT侧下发的带宽授权信息,向报文输出单元请求数据发送;并向OLT进行发送带宽报告信息。
带宽上报计算单元:完成带宽上报计算。根据对业务的限速要求、队列管理新增报文的字节数、实际上报的字节数、实际输出的报文字节数,进行计算和比较,得到上报的结果,将结果送到PON MAC单元,由PON MAC单元完成带宽信息上报。
本发明实施例的技术方案,在消除了在带宽上报时,出现下发带宽和实际发送带宽相差太大的情况,使得OLT进行DBA处理时更加准确,避免了ONU在上传报文时的带宽浪费,以及ONU之间进行带宽分配时的抢占问题,提高了整个OLT设备下ONU带宽上传的利用率。
图3为本发明实施例的带宽信息计算示意图,如图3所示,本发明实 施例的带宽信息计算包括以下处理步骤:
在进行带宽上报计算时,通过对当前需要上报的业务在缓存中的字节数和最大能上传到OLT的报文字节数即剩余令牌进行比较,选取两个数值中较小的数值。在达到设定的时间时,累计上报的报文数据量的数值,上报给PON MAC单元,由PON MAC单元根据累计数值进行上报处理。
①当报文经队列管理入队成功后,将新入队报文的字节数送给带宽上报计算单元,带宽上报计算单元根据新增的上报字节数计算缓存中报文的字节数。
②当调度单元中的业务发生了老化处理,将老化报文的字节数送给带宽上报计算单元,带宽上报计算单元根据被老化的报文的字节数,重新计算缓存中的报文字节数。
③带宽上报计算单元根据业务是否进行限速处理进行令牌的添加处理,添加的令牌和令牌桶已有令牌相加,得到新的令牌数。
④当令牌桶的剩余令牌数和缓存中报文的字节数发生更新时,使用新的令牌数和缓存中报文字节数进行比较,选择较小的数值作为真正需要上报的字节数。
⑤为了防止过快上报,影响PON MAC的内部的上报发送过程,选择按照固定时间向PON MAC发送上报数据。需要上报的字节数在这里进行累计,当配置的时间到达后,进行上报信息的输出。
⑥当上报信息输出到PON MAC后,缓存中报文字节数减去上报输出的字节数,更新缓存中报文字节数。
⑦当上报信息输出到PON MAC后,剩余令牌桶减去上报输出报文的字节数,更新剩余令牌数。
⑧PON MAC获得OLT带宽授权后,进行报文的发送处理,PON MAC单元向报文输出单元进行请求,报文输出单元将调度出的报文输出到PON  MAC,PON MAC封装后发送到OLT设备。
下面结合图3,对本发明实施例的技术方案的实施作进一步的举例说明:
1)假设队列管理收到一个包长为128字节的报文,将该报文信息送到带宽上报计算单元。这里假设缓存中原有报文字节数为200;收到新增上报字节数后,缓存中报文数变为328字节。
2)缓存中报文数目发生变化触发上报计算,读取当前令牌数,这里假设此时的令牌数为0,比较缓存字节数和令牌数后,此次不用做上报累计计算。
3)收到一个老化处理请求,老化报文长度为64。则需要更新缓存的报文字节数,缓存的原有字节数减去老化字节数,缓存报文字节数更新为264。
4)在缓存报文字节数更新后,触发上报计算,读取当前令牌数,令牌数依然为0,比较缓存字节数和令牌数后,此次不用做上报累计计算。
5)经过1个ΔT1,进行令牌的添加,添加令牌数为16,则剩余令牌数更新到16。
6)更新令牌也触发上报计算,读取缓存中报文字节数,数值为264。剩余令牌数和缓存中报文字节数进行比较,选择16作为上报数,送到上报累计输出部分。
7)这里假定上报累计输出的原有累计值为0,则更新后的累计上报值为16。
8)由于上报数已经送到上报累计部分,则缓存中报文字节数和剩余令牌数都需要更新,减去上报字节数后,缓存报文字节数为248,剩余令牌数为0;
9)再经过1个ΔT1,进行令牌的添加,添加令牌数为16,则剩余令牌数更新到16。再进行与前述6)、7)、8)相同的操作,缓存中报文字节数为 232,剩余令牌数为0。
10)此时,更新后的上报累计为32。
11)再过6个ΔT1后,重复前述6)、7)、8)相同的操作,缓存中报文数为136,剩余令牌为0,更新后的上报累计为128。
12)此时,达到了ΔT2时刻,需要将累计上报值128发往PON MAC,累计上报值清零。
13)再过8个ΔT1后,重复前述6)、7)、8)相同的操作,缓存中报文数为变为8,剩余令牌为0。更新后的上报累计为128。
14)再过1个ΔT1后,重复前述6)、7)、8)相同的操作,缓存中报文数为变为0,剩余令牌为8。更新后的上报累计为136。
15)到了ΔT2时刻,需要将累计上报值136发往PON MAC,累计上报值清零。
16)再过1个ΔT1后,剩余令牌数更新为24,缓存报文数为0,比较后不用累计上报。
本发明实施例的技术方案,在消除了在带宽上报时,出现下发带宽和实际发送带宽相差太大的情况,使得OLT进行DBA处理时更加准确,避免了ONU在上传报文时的带宽浪费,以及ONU之间进行带宽分配时的抢占问题,提高了整个OLT设备下ONU带宽上传的利用率。
图4为本发明实施例的信息上报装置的逻辑结构示意图,如图4所示,本示例的本发明实施例的信息上报装置包括第一确定单元40、获取单元41、比较单元42和上报单元43,其中:
第一确定单元40,配置为确定当前需上报的业务的数据量;
获取单元41,配置为获取令牌桶中的令牌的数值,所述令牌的数值用于指示所述ONU能够上传的业务的数据量的最大值;
比较单元42,配置为对所述当前需上报的业务的数据量和所述最大能 上传到OLT的数据量进行比较,选取数据量较小的数值;
上报单元43,配置为将所选取的数据量的数值向所述OLT上报。
本发明实施例中,在图4所示的信息上报装置的基础上,所述信息上报装置还包括:第二确定单元(图4中未示出)、添加单元(图4中未示出)和计算单元(图4中未示出),其中:
第二确定单元,配置为确定是否需要限速处理,需要时触发添加单元;
添加单元,配置为进行令牌的添加;
计算单元,配置为将所添加的令牌和令牌桶已有令牌相加,得到新的令牌数;将所述新的令牌数作为令牌桶中当前的令牌数。
本发明实施例中,所述比较单元42,配置为在令牌桶中的剩余令牌数或所述当前需上报的业务的数据量发生更新时,选取较小的数值作为向所述OLT上报的数据量数值。
本发明实施例中,所述第一确定单元40,还配置为在所述业务老化时,将所述当前需上报的业务的数据量数值减去老化的业务的数据量数值,其差值作为更新后的当前需上报的业务的数据量数值。
本发明实施例中,所谓报文老化,即为队列中的所有报文设置最晚传输时刻,若当前时刻已过了报文的最晚传输时刻,则认为队列中的报文老化,即在最晚传输时刻仍未能发出报文,该报文再次发送毫无意义,需要将其从队列中清除出去。
作为一种实现方式,本发明实施例中,所述获取单元41,还配置为在第二设定周期到来时,进行令牌的添加;将所添加的令牌和令牌桶已有令牌相加,得到新的令牌数;将所述新的令牌数作为最大能上传到所述OLT的数据量;以及
对所述当前需上报的业务的数据量进行更新;在第一设定周期到来之前,持续对令牌桶中的令牌数以及所述当前需上报的业务的数据量的更新; 在第一设定周期到来时,将更新后的令牌数和更新后的当前需上报的业务的数据量进行比较,选取较小的数值作为向所述OLT上报的数据量数值;
其中,所述第二设定周期小于所述上报单元的上报周期(这里称为第一设定周期)。具体地,第一设定周期是用于向OLT上报当前需传输的待数据量的数值的周期,在第一设定周期到来时,将需传输的数据量上报至OLT;而第二设定周期(所述上报单元的上报周期)则是令牌桶的更新周期。第一设定周期可以是第二设定周期的整数倍,如第一设定周期至少是第二设定周期的2倍以上。
作为一种实现方式,本发明实施例中,将所选取的数据量的数值向所述OLT上报后,所述获取单元41,还配置为将需上报的业务的数据量减去所上报的数据量的数值,将差值作为当前需上报的业务的数据量数值;
将令牌桶中的剩余令牌数减去所上报的数据量的数值,将差值作为更新后的剩余令牌数。
在图4所示的信息上报装置的基础上,本发明实施例的信息上报装置还包括:
队列管理单元(图4中未示出),配置为有新报文入队时,将新入队的报文的数据量以及队列中当前报文的数据量之和作为当前需上报的业务的数据量。
本领域技术人员应当理解,上述各单元的实现功能可参照前述各实施例的信息上报方法的相关描述而理解。上述各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。如上述确定单元40、获取单元41、比较单元42等可通过FPGA、微处理器及DSP实现,上报单元43可通过数据端口、天线系统等而实现等。
本发明实施例上述信息上报装置如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。 基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
相应地,本发明实施例还提供一种计算机存储介质,其中存储有计算机程序,该计算机程序用于执行本发明实施例的信息上报方法。
本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。
在本发明所提供的几个实施例中,应该理解到,所揭露的方法和智能设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能单元可以全部集成在一个第二处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现, 也可以采用硬件加软件功能单元的形式实现。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。
工业实用性
本发明实施例的技术方案,ONU确定当前需上报的业务的数据量,并计算出最大能上传到OLT的数据量;对所述当前需上报的业务的数据量和所述最大能上传到OLT的数据量进行比较,选取数据量较小的数值;在第一设定周期到来时,将所选取的数据量的数值向所述OLT上报。采用本发明实施例的技术方案,消除了在带宽上报时,出现下发带宽和实际发送带宽相差太大的情况,使得OLT进行DBA处理时更加准确,避免了ONU在上传报文时的带宽浪费,以及ONU之间进行带宽分配时的抢占问题,提高了整个OLT设备下ONU带宽上传的利用率。

Claims (15)

  1. 一种信息上报方法,所述方法包括:
    光网络单元ONU确定当前需上报的业务的数据量,获取令牌桶中的令牌的数值,所述令牌的数值用于指示所述ONU能够上传的业务的数据量的最大值;
    对所述当前需上报的业务的数据量和所述最大能上传到OLT的数据量进行比较,选取数据量较小的数值;
    将所选取的数据量的数值进行上报。
  2. 根据权利要求1所述的信息上报方法,其中,所述方法还包括:
    确定需要限速处理时,进行令牌的添加;
    将所添加的令牌和令牌桶已有令牌相加,得到新的令牌数;
    将所述新的令牌数作为令牌桶中当前的令牌数。
  3. 根据权利要求1或2所述的信息上报方法,其中,所述方法还包括:
    令牌桶中的剩余令牌数或所述当前需上报的业务的数据量发生更新时,选取较小的数值作为向所述OLT上报的数据量数值。
  4. 根据权利要求1所述的信息上报方法,其中,所述确定当前需上报的业务的数据量,包括:
    所述业务老化时,将所述当前需上报的业务的数据量数值减去老化的业务的数据量数值,其差值作为更新后的当前需上报的业务的数据量数值。
  5. 根据权利要求1所述的信息上报方法,其中,所述方法还包括:
    在第二设定周期到来时,将待添加的令牌与令牌桶已有令牌相加而得到新的令牌数;将所述新的令牌数作为最大能上传到所述OLT的数据量;以及
    对所述当前需上报的业务的数据量进行更新;
    在第一设定周期到来之前,持续对令牌桶中的令牌数以及所述当前需 上报的业务的数据量的更新;
    在第一设定周期到来时,将更新后的令牌数和更新后的当前需上报的业务的数据量进行比较,选取较小的数值作为向所述OLT上报的数据量数值;
    其中,所述第二设定周期小于所选取的数据量的数值上报的周期。
  6. 根据权利要求1所述的信息上报方法,其中,将所选取的数据量的数值向所述OLT上报后,所述方法还包括:
    将需上报的业务的数据量的数值减去所上报的数据量的数值,将得到的差值作为当前需上报的业务的数据量数值;
    将令牌桶中的剩余令牌数减去所上报的数据量的数值,将差值作为更新后的剩余令牌数。
  7. 根据权利要求1所述的信息上报方法,其中,所述方法还包括:
    有新报文入队时,将新入队的报文的数据量以及队列中当前报文的数据量之和作为当前需上报的业务的数据量。
  8. 一种信息上报装置,所述装置包括:第一确定单元、获取单元、比较单元和上报单元,其中:
    第一确定单元,配置为确定当前需上报的业务的数据量;
    获取单元,配置为获取令牌桶中的令牌的数值,所述令牌的数值用于指示所述ONU能够上传的业务的数据量的最大值;
    比较单元,配置为对所述当前需上报的业务的数据量和所述最大能上传到OLT的数据量进行比较,选取数据量较小的数值;
    上报单元,配置为将所选取的数据量的数值向所述OLT上报。
  9. 根据权利要求8所述的信息上报装置,其中,所述装置包括:第二确定单元、添加单元和计算单元,其中:
    第二确定单元,配置为确定是否需要限速处理,需要时触发添加单元;
    添加单元,配置为进行令牌的添加;
    计算单元,配置为将所添加的令牌和令牌桶已有令牌相加,得到新的令牌数;将所述新的令牌数作为令牌桶中当前的令牌数。
  10. 根据权利要求8或9所述的信息上报装置,其中,所述比较单元,配置为在令牌桶中的剩余令牌数或所述当前需上报的业务的数据量发生更新时,选取较小的数值作为向所述OLT上报的数据量数值。
  11. 根据权利要求8所述的信息上报装置,其中,所述第一确定单元,还配置为在所述业务老化时,将所述当前需上报的业务的数据量数值减去老化的业务的数据量数值,其差值作为更新后的当前需上报的业务的数据量数值。
  12. 根据权利要求8所述的信息上报装置,其中,所述获取单元,还配置为在第二设定周期到来时,将待添加的令牌与令牌桶已有令牌相加而得到新的令牌数;将所述新的令牌数作为最大能上传到所述OLT的数据量;以及
    对所述当前需上报的业务的数据量进行更新;在第一设定周期到来之前,持续对令牌桶中的令牌数以及所述当前需上报的业务的数据量的更新;在第一设定周期到来时,将更新后的令牌数和更新后的当前需上报的业务的数据量进行比较,选取较小的数值作为向所述OLT上报的数据量数值;
    其中,所述第二设定周期小于所述上报单元的上报周期。
  13. 根据权利要求8所述的信息上报装置,其中,将所选取的数据量的数值向所述OLT上报后,所述获取单元,还配置为将需上报的业务的数据量的数值减去所上报的数据量的数值,将得到的差值作为当前需上报的业务的数据量数值;
    将令牌桶中的剩余令牌数减去所上报的数据量的数值,将差值作为更新后的剩余令牌数。
  14. 根据权利要求8所述的信息上报装置,其中,所述装置还包括:
    队列管理单元,配置为有新报文入队时,将新入队的报文的数据量以及队列中当前报文的数据量之和作为当前需上报的业务的数据量。
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行权利要求1-7任一项所述的信息上报方法。
PCT/CN2016/102269 2015-12-30 2016-10-17 信息上报方法及装置、计算机存储介质 WO2017113935A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511020236.2A CN106936734B (zh) 2015-12-30 2015-12-30 信息上报方法及装置
CN201511020236.2 2015-12-30

Publications (1)

Publication Number Publication Date
WO2017113935A1 true WO2017113935A1 (zh) 2017-07-06

Family

ID=59224635

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102269 WO2017113935A1 (zh) 2015-12-30 2016-10-17 信息上报方法及装置、计算机存储介质

Country Status (2)

Country Link
CN (1) CN106936734B (zh)
WO (1) WO2017113935A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574709A (zh) * 2003-06-16 2005-02-02 三星电子株式会社 鉴于以太无源光网络系统中多重服务的动态带宽分配方法
US20050053085A1 (en) * 2003-09-04 2005-03-10 Sang-Hyun Doh Apparatus and method for controlling upstream traffic for use in ethernet passive optical network
CN1635739A (zh) * 2003-12-26 2005-07-06 上海贝尔阿尔卡特股份有限公司 一种无源光网络动态带宽分配装置及方法
CN101583056A (zh) * 2009-06-12 2009-11-18 华为技术有限公司 带宽处理方法、网络装置及网络系统
CN102104549A (zh) * 2011-03-04 2011-06-22 中兴通讯股份有限公司 无源光网络的动态带宽分配方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888342B (zh) * 2010-07-23 2015-09-16 中兴通讯股份有限公司 带宽分配方法及装置
CN102684975B (zh) * 2011-03-10 2015-07-22 中兴通讯股份有限公司 动态带宽资源分配方法及装置
CN104980367B (zh) * 2014-04-03 2019-04-30 深圳市中兴微电子技术有限公司 一种令牌桶限速方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574709A (zh) * 2003-06-16 2005-02-02 三星电子株式会社 鉴于以太无源光网络系统中多重服务的动态带宽分配方法
US20050053085A1 (en) * 2003-09-04 2005-03-10 Sang-Hyun Doh Apparatus and method for controlling upstream traffic for use in ethernet passive optical network
CN1635739A (zh) * 2003-12-26 2005-07-06 上海贝尔阿尔卡特股份有限公司 一种无源光网络动态带宽分配装置及方法
CN101583056A (zh) * 2009-06-12 2009-11-18 华为技术有限公司 带宽处理方法、网络装置及网络系统
CN102104549A (zh) * 2011-03-04 2011-06-22 中兴通讯股份有限公司 无源光网络的动态带宽分配方法及装置

Also Published As

Publication number Publication date
CN106936734B (zh) 2020-04-24
CN106936734A (zh) 2017-07-07

Similar Documents

Publication Publication Date Title
US11546644B2 (en) Bandwidth control method and apparatus, and device
KR102369305B1 (ko) 클라이언트 전송 방법 및 디바이스
CN108809851B (zh) 基于gpon系统的业务带宽分配方法及装置
EP2975810B1 (en) Method and system for improving bandwidth allocation efficiency
CN109361733B (zh) 服务质量控制方法及装置
EP2466769B1 (en) Bandwidth allocation method and optical line terminal
JP5483634B2 (ja) 様々なonuが様々な速度で送信する受動型光学ネットワークにおける動的な帯域幅を割り当てる方法
US10554568B2 (en) Technologies for network round-trip time estimation
US10735129B2 (en) Bandwidth allocation apparatus and method for providing low-latency service in optical network
TW201115945A (en) PON system and residential side device used therein and transmission controlling method thereof
CN107113323B (zh) 一种数据存储方法、装置和系统
WO2016050022A1 (zh) 一种上行带宽分配的方法、设备及系统、计算机存储介质
WO2017113935A1 (zh) 信息上报方法及装置、计算机存储介质
CN107465557B (zh) 一种epon流量预测方法
JP2017212707A (ja) 通信装置、設定方法及び通信プログラム
KR20120055947A (ko) 가입자 인지 플로우별 QoS 제공 방법 및 장치
JP2017139547A (ja) 通信装置及びその動作方法並びにプログラム
JP5900375B2 (ja) 通信システムおよび通信装置、通信帯域制御方法
JP2007288629A (ja) 送信割当て方法及び装置
WO2017162195A1 (zh) 链路的带宽分配方法、装置和计算机存储介质
KR20200046923A (ko) 수동형 광네트워크 시스템에서의 지연 시간 측정 장치 및 방법
WO2021129687A1 (zh) 流量预测方法及装置、带宽分配方法及装置
JP6829147B2 (ja) 加入者線端局装置及び帯域割当方法
JP2021002885A (ja) 通信システム、加入者線終端装置及び加入者線端局装置
CN115604283A (zh) 一种数据传输方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16880727

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16880727

Country of ref document: EP

Kind code of ref document: A1