CN112866146A - End-to-end bandwidth adjusting method, system, electronic equipment and storage medium - Google Patents

End-to-end bandwidth adjusting method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112866146A
CN112866146A CN201911180938.5A CN201911180938A CN112866146A CN 112866146 A CN112866146 A CN 112866146A CN 201911180938 A CN201911180938 A CN 201911180938A CN 112866146 A CN112866146 A CN 112866146A
Authority
CN
China
Prior art keywords
link
flow
traffic
time slots
end link
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201911180938.5A
Other languages
Chinese (zh)
Inventor
李荆晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911180938.5A priority Critical patent/CN112866146A/en
Publication of CN112866146A publication Critical patent/CN112866146A/en
Pending legal-status Critical Current

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/82Miscellaneous aspects
    • H04L47/822Collecting or measuring resource availability data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • 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/82Miscellaneous aspects
    • H04L47/826Involving periods of time

Landscapes

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

Abstract

The embodiment of the invention relates to the field of communication, and discloses an end-to-end bandwidth adjusting method, a system, electronic equipment and a storage medium. In the invention, the flow information of an end-to-end link is obtained; determining a bandwidth adjustment strategy according to the flow information of the end-to-end link; and adjusting the bandwidth of the end-to-end link based on the bandwidth adjustment strategy. Therefore, the bandwidth of the end-to-end link can be automatically adjusted according to the flow information of the end-to-end link acquired in real time, and the problem that the bandwidth needs to be adjusted by operation of a professional is solved.

Description

End-to-end bandwidth adjusting method, system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a method, a system, an electronic device, and a storage medium for adjusting an end-to-end bandwidth.
Background
With the rapid development of the internet, data services will certainly become the mainstream of network services. Aiming at the change characteristic of data service flow, different bandwidths need to be provided to meet different flows; in adjusting the bandwidth to meet the current traffic, lossless bandwidth adjustment is usually required in order not to affect the transmission of data traffic.
The networks that are currently used include Synchronous Digital Hierarchy (SDH) and optical transport network OTN systems. In a synchronous digital transmission network (SDH), ITU-T specifies in g.7042 the requirements for management and control of members of a virtual concatenation group in SDH, and implementation of this standard can achieve that no service damage occurs during operation. In the OTN system of the optical transport network, the ITU-T also specifies the bandwidth adjustment recommendation g.hao based on ODUflex container loss-less in g.7044.
The inventors of the present invention found that: in the prior art, for lossless bandwidth adjustment of each network, a professional familiar with the network is generally required to evaluate the current bandwidth use condition of a link, and whether or not to adjust the bandwidth and how to adjust the bandwidth are determined according to the evaluated bandwidth use condition; and then issues adjustment commands to the network management system that are based on the ITU-T or g.hao implementations described above to achieve lossless bandwidth adjustment. That is, in the conventional network bandwidth adjustment, the dependence on professionals is high.
Disclosure of Invention
An object of the embodiments of the present invention is to provide an end-to-end bandwidth adjustment method, system, electronic device, and storage medium, so that end-to-end link bandwidth adjustment can be automatically performed according to traffic information of an end-to-end link obtained in real time, and a problem that bandwidth adjustment needs to be performed depending on operations of professionals is avoided.
To solve the above technical problem, an embodiment of the present invention provides an end-to-end bandwidth adjustment method, including the following steps: acquiring flow information of an end-to-end link; determining a bandwidth adjustment strategy according to the flow information of the end-to-end link; and adjusting the bandwidth of the end-to-end link based on the bandwidth adjustment strategy.
The embodiment of the invention also provides an end-to-end bandwidth adjusting system, which comprises: the flow monitoring module is arranged in a node of an end-to-end link and used for acquiring flow information of the end-to-end link; the control module is used for determining a bandwidth adjustment strategy according to the flow information of the end-to-end link; and the service processing module is used for adjusting the bandwidth of the end-to-end link through the service processing module arranged in the end-to-end link based on the bandwidth adjusting strategy.
An embodiment of the present invention further provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the end-to-end bandwidth adjustment method described above.
Embodiments of the present invention further provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the end-to-end link bandwidth adjustment method described above.
Compared with the prior art, the method and the device can automatically acquire the flow information of the end-to-end link, automatically determine the bandwidth adjustment strategy according to the flow information of the end-to-end link acquired in real time, automatically adjust the bandwidth of the end-to-end link by the service processing module arranged in the end-to-end link based on the bandwidth adjustment strategy, automatically complete the whole process, and avoid the problem of bandwidth adjustment depending on the operation of a professional.
In addition, the determining a bandwidth adjustment policy according to the traffic information of the end-to-end link includes: determining the residual flow or the loss flow of the end-to-end link according to the flow information of the end-to-end link; and determining a bandwidth adjustment strategy according to the residual flow or the loss flow. Because the residual traffic or the loss traffic can accurately reflect the bandwidth use condition of the end-to-end link, the bandwidth adjustment strategy is determined based on the residual traffic or the loss traffic, and the accuracy is high.
In addition, the determining a bandwidth adjustment policy according to the remaining traffic or the deficit traffic includes: if the residual flow meets a first preset condition, determining a time slot to be reduced at least according to the current allocated time slot of the end-to-end link; if the loss flow meets a second preset condition, determining a time slot to be added at least according to the current residual time slot of the physical link where the end-to-end link is located; wherein the bandwidth adjustment policy includes the timeslot to be decreased or the timeslot to be increased. When the residual flow meets the first preset condition, the time slot bandwidth of the end-to-end link is indicated to have residual, more flow transmission can be supported, and the time slot to be reduced is determined, so that the time slot is used for flow transmission of other logic routes, the bandwidth resource is reasonably utilized, and the waste of the bandwidth is avoided; and when the loss flow meets a second preset condition, which indicates that the time slot bandwidth of the end-to-end link is insufficient at the moment and cannot meet the requirement of current flow transmission, determining the time slot to be increased so as to meet the time slot required by the current flow.
In addition, the determining the timeslot to be reduced according to at least the current allocated timeslot condition of the end-to-end link includes: calculating the number m of the minimum granularity contained in the residual flow, and determining the number of the time slots to be reduced as m; identifying time slots in an idle state from the current allocated time slots of the end-to-end link, and selecting m time slots from the time slots in the idle state as the time slots to be reduced; the determining the time slot to be added according to at least the current remaining time slot of the physical link where the end-to-end link is located includes: calculating the number n of the minimum granularity contained in the loss flow, and determining the number of the time slots to be increased as n; identifying the current residual time slot which meets the preset condition from the current residual time slot of the physical link where the end-to-end link is located; if the number of the current remaining time slots meeting the preset condition is larger than or equal to n, selecting n remaining time slots from the current remaining time slots meeting the preset condition as the time slots to be increased; wherein the minimum granularity is traffic transmitted in the end-to-end link within one of the time slots. The number of the time slots to be reduced determined in the mode is the maximum value of the number of the time slots which can be reduced, the residual time slot bandwidth resources can be utilized to the maximum extent, and the reasonable utilization of the time slot bandwidth resources is further ensured; the number of the time slots to be increased determined in the mode is the minimum value of the number of the time slots which need to be increased for transmitting the current loss flow, and the influence on other flow transmission can be reduced while the transmission of the current loss flow is ensured.
In addition, the remaining traffic includes remaining traffic in two transmission directions of the end-to-end link, and the first preset condition includes: the residual flow in one transmission direction is greater than or equal to a preset first residual flow threshold, and the residual flow in the other transmission direction is greater than or equal to a preset second residual flow threshold; and/or the deficit traffic comprises deficit traffic in two transmission directions of the end-to-end link, and the second preset condition comprises: the deficit flow in at least one transmission direction is greater than or equal to a preset deficit flow threshold. For the remaining traffic, the first preset condition is met only when the remaining traffic exists in both transmission directions of the end-to-end link and the remaining traffic in both directions is greater than or equal to the corresponding remaining traffic threshold, so that it can be ensured that both directions support more traffic transmission, and the adjustment of the time slot bandwidth can be performed. For the loss flow, as long as the loss flow in one transmission direction is greater than or equal to the corresponding loss flow threshold, the second preset condition is satisfied, so that the time slot is increased as long as the condition is satisfied in one direction, and the requirement of current flow transmission in the direction is satisfied.
In addition, the preset first remaining flow threshold is i minimum granularities, and the preset second remaining flow threshold is j minimum granularities; the determining the time slot to be reduced according to at least the current allocated time slot of the end-to-end link includes: determining the number of the time slots to be reduced as min (i, j); identifying time slots in an idle state from the current allocated time slots of the end-to-end link, and selecting min (i, j) time slots from the time slots in the idle state as the time slots to be reduced; the preset deficit flow threshold is h minimum particle sizes; the determining the time slot to be added according to at least the current remaining time slot of the physical link where the end-to-end link is located includes: determining the number of the time slots to be increased as h; identifying the current residual time slot which meets the preset condition from the current residual time slot of the physical link where the end-to-end link is located; the preset condition comprises that the current residual time slot is in an idle state at each node in the end-to-end link; if the current residual time slot meeting the preset condition is larger than h, selecting h residual time slots from the current residual time slots meeting the preset condition as the time slots to be added; wherein the minimum granularity is traffic transmitted in the end-to-end link within one of the time slots. A specific implementation of determining a time slot to be decreased or a time slot to be increased is given.
In addition, the traffic information includes the number of frames of the first target data frame in a unit time or the number of frames of the second target data frame in a unit time; the first target data frame is a data frame representing that a link is idle; the second target data frame is a data frame representing link congestion; determining the remaining traffic or the loss traffic of the end-to-end link according to the traffic information of the end-to-end link includes: and calculating the residual flow of the end-to-end link according to the frame number of the first target data frame in unit time, or calculating the loss flow of the end-to-end link according to the frame number of the second target data frame in unit time. A specific implementation mode for determining the flow to be adjusted according to the flow information of the end-to-end link is provided, and the calculated flow value is more accurate according to the residual flow calculated according to the first target data frame or the loss flow calculated according to the second target data frame.
In addition, the acquiring traffic information of the end-to-end link includes: and respectively acquiring flow information in two transmission directions of the end-to-end link from nodes at two ends of the end-to-end link. By respectively acquiring the flow information in the two transmission directions, the accuracy of the acquired flow information is improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a functional block diagram of an end-to-end bandwidth adjustment system according to a first embodiment of the present invention;
FIG. 2 is a flow chart of an end-to-end bandwidth adjustment method according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a specific implementation of step 102 according to a first embodiment of the invention;
FIG. 4 is a flowchart of another specific implementation of step 102 according to the first embodiment of the invention;
FIG. 5 is a flowchart of a specific implementation of an end-to-end bandwidth adjustment method according to a second embodiment of the present invention;
FIG. 6 is a flowchart of a specific implementation of step 204 according to the second embodiment of the invention;
fig. 7 is a flowchart of another specific implementation of an end-to-end bandwidth adjustment method according to a second embodiment of the present invention;
FIG. 8 is a flowchart of a specific implementation of step 304 according to the second embodiment of the invention;
FIG. 9 is a block diagram of a system according to a third embodiment of the invention;
fig. 10 is a block diagram of an electronic apparatus according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that in various embodiments of the invention, numerous technical details are set forth in order to provide a better understanding of the present application. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the invention relates to an end-to-end bandwidth adjustment method. The end-to-end bandwidth adjusting method in this embodiment is cooperatively completed by a service plane, a monitoring plane, and a control plane in an end-to-end bandwidth adjusting system, where the service plane includes each service processing module, and may specifically include: the system comprises a service access and output module, a multi-stage service mapping processing module (a GFP-F mapping processing module, an ODUflex > OTUk mapping processing module), a demapping processing module (a GFP-F demapping processing module, an ODUflex > OTUk demapping processing module) and a protocol processing module; the monitoring plane may include a flow monitoring module; the control plane may include a control module. In one example, the service plane further includes a backpressure traffic calculation module, and in order to prevent the suddenly increased traffic from exceeding the current bandwidth and the reserved cache cannot bear the traffic, the backpressure traffic calculation module sets a traffic waterline, and starts a reverse-insertion protocol message when the traffic exceeds the traffic waterline, and controls the traffic in a short time.
A functional block diagram of an end-to-end bandwidth adjustment system is shown in fig. 1, in which device a and device B are end nodes of an end-to-end link, one of device a and device B is a source end node, the other is a target end node, and multiple node devices (not shown in the figure) may be included between the end nodes. In addition, both the device a and the device B have a traffic plane and a monitoring plane, and the control plane is shared by the device a and the device B.
A flowchart of the end-to-end bandwidth adjustment method in this embodiment is shown in fig. 2, and includes:
step 101, obtaining flow information of an end-to-end link.
Specifically, the traffic information of the end-to-end link is acquired through a traffic monitoring module arranged in a node of the end-to-end link. The monitoring plane of the system comprises a flow monitoring module, and the flow monitoring module acquires flow information of an end-to-end link through monitoring data packet information of a mapping processing module and a de-mapping processing module in the service plane in real time and uploads the acquired flow information to a control module in a control plane. It should be noted that, the control module may also monitor the data packet information of the mapping processing module and the demapping processing module in the service plane in real time, and obtain the traffic information of the end-to-end link.
In one example, obtaining traffic information of an end-to-end link includes: respectively acquiring flow information in two transmission directions of an end-to-end link from nodes at two ends of the end-to-end link; that is, traffic information in two transmission directions is respectively obtained by traffic monitoring modules respectively arranged in nodes of an end-to-end link, one transmission direction is a direction from a device a to a device B, and the other transmission direction is a direction from the device B to the device a. It should be noted that, the control module may also monitor the data packet information of the mapping processing module and the demapping processing module in the two service planes in real time, respectively, to obtain the traffic information in the two transmission directions.
In an example, the monitoring module may also obtain the total flow rate according to the flow rate for each flow control and the number of times of flow control by monitoring whether the flow control module performs flow control.
Step 102, determining a bandwidth adjustment strategy according to the traffic information of the end-to-end link.
Specifically, after receiving the traffic information sent by the monitoring module, the control module determines a bandwidth adjustment strategy according to the traffic information. The traffic information is different and corresponds to different traffic conditions, so that the bandwidth adjustment strategies are different, and the specific conditions are as follows:
when the traffic information of the end-to-end link indicates that the end-to-end link has remaining traffic, a flowchart for determining the bandwidth adjustment policy according to the traffic information of the end-to-end link is shown in fig. 3, and includes steps 1021 and 1022.
Step 1021, determining the remaining flow of the end-to-end link according to the flow information of the end-to-end link.
Step 1022, determining a bandwidth adjustment policy according to the remaining traffic.
Specifically, the traffic information includes the number of frames of the first target data frame in unit time, and the first target data frame is a data frame representing that the link is idle, which indicates that the traffic condition at this time is that residual traffic exists in the end-to-end link, then the residual traffic of the end-to-end link is calculated according to the number of frames of the first target data frame in unit time, and then a bandwidth adjustment policy corresponding to the residual traffic is determined according to the residual traffic. The remaining flow is calculated as follows:
the remaining flow is the number of frames of the first target data frame in unit time, the length of the frame, and the traffic rate; the length of the frame and the traffic rate are determined by the protocol adopted by the network of the end-to-end link. For example, if the protocol is the GTP protocol, the length of the frame is 4. It is worth noting that the traffic monitoring modules in the nodes at both ends of the end-to-end link can respectively obtain the traffic information in the two transmission directions of the end-to-end link, that is, the remaining traffic also includes the remaining traffic in the two transmission directions.
When the traffic information of the end-to-end link indicates that the loss traffic exists in the end-to-end link, a flowchart for determining the bandwidth adjustment policy according to the traffic information of the end-to-end link is shown in fig. 4 and includes steps 1023 and 1024.
And step 1023, determining the loss traffic of the end-to-end link according to the traffic information of the end-to-end link.
And step 1024, determining a bandwidth adjustment strategy according to the loss flow.
Specifically, the traffic information includes the number of frames of the second target data frame in unit time, and the second target data frame is a data frame representing link congestion, and when the traffic situation at this time is that a loss traffic exists in the end-to-end link, the loss traffic of the end-to-end link is calculated according to the number of frames of the second target data frame in unit time, and then a bandwidth adjustment policy corresponding to the loss traffic is determined according to the loss traffic. The deficit flow is calculated as follows:
loss flow rate/(1-number of frames of second target data frame in unit time) is equal to pipeline speed; the pipeline rate and the duration are determined by a protocol adopted by a network of the end-to-end link, and the duration may be a preset fixed duration or may be included in the traffic information monitored by the traffic monitoring module. It is worth noting that the traffic monitoring modules in the nodes at the two ends of the end-to-end link can respectively obtain the traffic information in the two transmission directions of the end-to-end link, that is, the loss traffic also includes the loss traffic in the two transmission directions.
In one example, the traffic condition is that a loss traffic exists in an end-to-end link, which indicates that the traffic at this time exceeds the current bandwidth, if the reserved buffer cannot complete transmission, the backpressure traffic calculation module sets a traffic waterline, and when the traffic exceeds the traffic waterline, the backpressure traffic calculation module starts a reverse-insertion protocol message to perform short-time control, and the second target data frame at this time is included in the reverse-insertion protocol message.
And 103, adjusting the bandwidth of the end-to-end link based on the bandwidth adjustment strategy.
Specifically, a control module of the control plane sends a bandwidth adjustment policy to a service processing module, specifically, a protocol processing module, a mapping processing module and a demapping processing module in the service processing module jointly complete bandwidth adjustment of an end-to-end link, and the protocol processing module uploads an updated bandwidth of the end-to-end link to the control module after adjustment is completed.
In the existing network bandwidth adjustment, the dependence on professionals is high. Compared with the prior art, in the embodiment, the bandwidth of the end-to-end link can be automatically adjusted according to the flow information of the end-to-end link acquired in real time, so that the problem that the bandwidth needs to be adjusted by operation of a professional is solved.
A second embodiment of the present invention relates to an end-to-end link bandwidth adjustment method. This embodiment is substantially the same as the first embodiment except that: if the residual flow meets a first preset condition, determining a time slot to be reduced at least according to the current allocated time slot of the end-to-end link; and if the loss flow meets a second preset condition, determining the time slot to be increased at least according to the current residual time slot of the physical link where the end-to-end link is located.
If the remaining traffic satisfies the first preset condition, the flow chart of the end-to-end link bandwidth adjustment method is shown in fig. 5, and includes:
steps 201, 202, and 205 are similar to steps 101, 1021, and 103, respectively, and are not described again here.
Step 203, judging whether the residual flow meets a first preset condition, and if so, entering step 204; and if the first preset condition is not met, ending the process.
Step 204, determining a time slot to be reduced at least according to the current allocated time slot of the end-to-end link; wherein, the bandwidth adjustment strategy comprises the time slot to be reduced.
The link is only one as a physical route, the number of time slots of the link is fixed, the end-to-end link can be multiple as a logical route, the number of time slots of the end-to-end link can be mutually allocated, namely when the current end-to-end link has residual flow, the residual time slots of the current end-to-end link can be allocated to other logical routes, when the current end-to-end link has loss flow, the residual time slots of other logical routes can be allocated to the current end-to-end link, wherein the flow transmitted in the logical route is controlled by the time slot allocation condition in the end-to-end link. The current allocation time slot of the end-to-end link is reported to the control module by the service plane, and then the control module determines a bandwidth adjustment strategy at least according to the current allocation time slot of the end-to-end link, wherein the bandwidth adjustment strategy comprises the time slot to be reduced or the time slot to be increased.
Specifically, the first preset condition is stored in the system and can be set according to actual requirements, which is not specifically limited in this embodiment. The traffic condition at this time is the remaining traffic, which indicates that the timeslot bandwidth of the end-to-end link at this time has the remainder and can support more traffic transmission, and then the timeslot to be reduced is determined.
In one example, the remaining traffic includes remaining traffic in both transmission directions of the end-to-end link, and the first preset condition stored in the system includes: the residual flow in one transmission direction is greater than or equal to a preset first residual flow threshold, and the residual flow in the other transmission direction is greater than or equal to a preset second residual flow threshold. Setting conditions for the residual flow in two transmission directions can ensure that both directions support more flow transmission, and the adjustment of the time slot bandwidth can be carried out. The preset first residual flow threshold and the preset second residual flow threshold can be set according to actual requirements.
It should be noted that, since the traffic condition changes in real time, the traffic condition at a time is not enough to describe the traffic condition of the end-to-end link, the first preset condition may specifically include that, within M consecutive seconds, the remaining traffic in one transmission direction is greater than or equal to a preset first remaining traffic threshold, and the remaining traffic in the other transmission direction is greater than or equal to a preset second remaining traffic threshold. Therefore, the accuracy of the end-to-end link flow condition can be ensured, and the accuracy of bandwidth adjustment can be ensured.
In one example, a flow chart for determining the time slot to be reduced based on at least the currently allocated time slot of the end-to-end link is shown in fig. 6 and includes steps 2041 and 2042.
Step 2041, the number m of the minimum granularity included in the remaining traffic is calculated, and the number of the time slots to be reduced is determined to be m.
Step 2042, identify the time slots in the idle state from the currently allocated time slots of the end-to-end link, and select m time slots from the time slots in the idle state as the time slots to be reduced.
Specifically, the minimum granularity is the traffic transmitted in the end-to-end link within one time slot. And determining the number of the time slots to be reduced as m if the number m of the minimum granularities contained in the residual traffic indicates that the residual traffic can support the transmission of the m minimum granularity traffics. For example: if the remaining flow is 100M, the minimum granularity is 20M, and the number of the minimum granularity contained in the remaining flow at this time is 5, it is determined that the number of the time slots to be reduced is 5, the control module identifies the time slots in the idle state from the currently allocated time slots at this time, and selects 5 time slots from the time slots in the idle state as the time slots to be reduced.
It should be noted that there are many methods for identifying the time slot in the idle state from the currently allocated time slot, for example: m slots can be sequentially found from the last slot of the slots used by the source end node, namely the head node, and serve as slots to be reduced.
In one example, the remaining traffic includes remaining traffic in two transmission directions of the end-to-end link, and the first preset condition includes: on the premise that the residual flow in one transmission direction is greater than or equal to a preset first residual flow threshold value, and the residual flow in the other transmission direction is greater than or equal to a preset second residual flow threshold value, the preset first residual flow threshold value is i minimum granularities, the preset second residual flow threshold value is j minimum granularities, and i and j are preset positive integers. In this case, determining the time slot to be reduced based on at least the currently allocated time slot of the end-to-end link comprises: determining the number of time slots to be reduced as min (i, j); and identifying the time slots in an idle state from the current allocated time slots of the end-to-end link, and selecting min (i, j) time slots from the time slots in the idle state as the time slots to be reduced.
If the loss traffic satisfies the second preset condition, a flowchart of the end-to-end link bandwidth adjustment method is shown in fig. 7, and includes:
steps 301, 302, and 305 are similar to steps 101, 1023, and 103, respectively, and are not described again here.
Step 303, judging whether the loss flow meets a second preset condition, and if so, entering step 304; and if the second preset condition is not met, ending the process.
Step 304, determining a time slot to be added according to at least the current residual time slot of the physical link where the end-to-end link is located; the bandwidth adjustment strategy comprises a time slot to be increased.
Specifically, the second preset condition is stored in the system and can be set according to actual requirements, which is not specifically limited in this embodiment. And determining the time slot to be increased to meet the time slot required by the current flow if the flow condition at the moment is loss flow, which indicates that the time slot bandwidth of the end-to-end link is insufficient at the moment and cannot meet the requirement of current flow transmission.
In one example, the deficit traffic includes deficit traffic in two transmission directions of the end-to-end link, and the second preset condition includes: and the deficit flow in at least one transmission direction is greater than or equal to a preset deficit flow threshold value. Therefore, the time slot can be increased as long as the condition is met in one direction, and the requirement of current flow transmission in the direction is met. The preset deficit flow threshold value can be set according to actual requirements.
It should be noted that, since the traffic condition is changed in real time, the traffic condition at a time is not enough to describe the traffic condition of the end-to-end link, the second preset condition may specifically include that, if the deficit traffic in at least one transmission direction is greater than or equal to the preset deficit traffic threshold in N consecutive seconds. Therefore, the accuracy of the end-to-end link flow condition can be ensured, and the accuracy of bandwidth adjustment can be ensured.
In an example, the flowchart for determining the timeslot to be added according to at least the current remaining timeslots of the link where the end-to-end link is located is shown in fig. 8 and includes steps 3041, 3042 and 3043.
Step 3041, calculate the number n of the minimum granularity included in the deficit traffic, and determine the number of the time slots to be added as n.
Specifically, the minimum granularity is the traffic transmitted in the end-to-end link within one time slot. And the number n of the minimum granularities included in the loss flow indicates that the loss flow can complete transmission only by the flow of the n minimum granularities, and the number of the time slots to be increased is determined to be n. For example: if the loss traffic is 100M and the minimum granularity is 20M, and the number of minimum granularities included in the loss traffic at this time is 5, it is determined that the number of time slots to be added is 5.
Step 3042, identify the current remaining time slot that meets the preset condition from the current remaining time slots of the physical link where the end-to-end link is located.
Step 3043, if the number of the current remaining timeslots satisfying the preset condition is greater than or equal to n, selecting n remaining timeslots from the current remaining timeslots satisfying the preset condition as the timeslots to be added.
Specifically, when the traffic condition of the current end-to-end link is a loss traffic, a time slot needs to be allocated to the current end-to-end link from another logical route, and a current remaining time slot meeting a preset condition needs to be identified from the current remaining time slots of the physical link. If the number of the current residual time slots meeting the preset condition is larger than or equal to n, selecting n residual time slots from the current residual time slots meeting the preset condition as time slots to be added; and if the number of the current remaining time slots meeting the preset condition is less than n, ending the process.
It should be noted that, the networks where the end-to-end links are located are different, and the requirements for the remaining timeslots of each node in the idle state are also different, so the preset conditions are also different. For example: when the network where the end-to-end link is located is an OTN network, it is required that the current remaining time slot is in an idle state at each node in the end-to-end link, that is, the preset condition at this time is that the current remaining time slot is in an idle state at each node in the end-to-end link, and when the network where the end-to-end link is located is an SDH network, it is only required that the current remaining traffic is in an idle state at both end nodes of the end-to-end link, that is, the preset condition at this time is that both end nodes of the current remaining time slot in the end.
There are many methods for identifying the current remaining time slot satisfying the preset condition from the current remaining time slots of the physical link where the end-to-end link is located, for example: when the network of the end-to-end link is an OTN, finding the first time slot in an idle state from the rest time slots of the first node of the end-to-end link, sequentially judging whether the time slot is in an idle state at other nodes, if each node is in an idle state, the time slot is the rest time slot meeting preset conditions, and repeating the steps until all the current rest time slots meeting the preset conditions are found.
In an example, if the number of the remaining timeslots satisfying the preset condition is g, and g is smaller than n, the g remaining timeslots may also be selected as timeslots to be added, and only the loss traffic at this time may still exist after the g timeslots are utilized for transmission.
In one example, where the deficit traffic includes deficit traffic in both transmission directions of the end-to-end link, the second preset condition includes: on the premise that the loss flow in at least one transmission direction is greater than or equal to a preset loss flow threshold, the preset loss flow threshold is h minimum granularities, and h is a preset positive integer. In this case, determining the time slot to be added according to at least the current remaining time slot of the physical link where the end-to-end link is located includes: determining the number of time slots to be increased as h; identifying the current residual time slot which meets the preset condition from the current residual time slot of the physical link where the end-to-end link is located; the preset conditions comprise that the current residual time slot is in an idle state at each node in an end-to-end link; and if the current residual time slot meeting the preset condition is larger than h, selecting h residual time slots from the current residual time slots meeting the preset condition as time slots to be added.
In this embodiment, when the remaining traffic satisfies the first preset condition, which indicates that the timeslot bandwidth of the end-to-end link is remaining at this time, and can support more traffic transmission, the timeslot to be reduced is determined, so that the timeslot is used for traffic transmission of other logical routes, thereby implementing reasonable utilization of bandwidth resources and avoiding waste of bandwidth; and when the loss flow meets a second preset condition, which indicates that the time slot bandwidth of the end-to-end link is insufficient at the moment and cannot meet the requirement of current flow transmission, determining the time slot to be increased so as to meet the time slot required by the current flow.
A third embodiment of the present invention relates to a system, as shown in fig. 9, including:
the traffic monitoring module 401 is arranged in a node of the end-to-end link and used for acquiring traffic information of the end-to-end link;
a control module 402, configured to determine a bandwidth adjustment policy according to traffic information of an end-to-end link;
and a service processing module 403, configured to adjust a bandwidth of the end-to-end link through the service processing module arranged in the end-to-end link based on the bandwidth adjustment policy.
It should be understood that the present embodiment is a system embodiment corresponding to the first embodiment and the second embodiment, and the present embodiment can be implemented in cooperation with the first embodiment and the second embodiment. The related technical details mentioned in the first embodiment and the second embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment, and the second embodiment.
A fourth embodiment of the invention relates to an electronic device, as shown in fig. 10, comprising at least one processor 502; and, a memory 501 communicatively coupled to the at least one processor; wherein the memory 501 stores instructions executable by the at least one processor 502, the instructions being executable by the at least one processor 502 to enable the at least one processor 502 to perform the embodiments of the cell search method described above.
The memory 501 and the processor 502 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 502 and the memory 501. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 502 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 502.
The processor 502 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. While memory 501 may be used to store data used by processor 502 in performing operations.
A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor. That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific embodiments for practicing the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (11)

1. An end-to-end bandwidth adjustment method, comprising:
acquiring flow information of an end-to-end link;
determining a bandwidth adjustment strategy according to the flow information of the end-to-end link;
and adjusting the bandwidth of the end-to-end link based on the bandwidth adjustment strategy.
2. The end-to-end bandwidth adjustment method according to claim 1, wherein the determining a bandwidth adjustment policy according to the traffic information of the end-to-end link includes:
determining the residual flow or the loss flow of the end-to-end link according to the flow information of the end-to-end link;
and determining a bandwidth adjustment strategy according to the residual flow or the loss flow.
3. The end-to-end bandwidth adjustment method according to claim 2, wherein the determining a bandwidth adjustment policy according to the remaining traffic or the loss traffic includes:
if the residual flow meets a first preset condition, determining a time slot to be reduced at least according to the current allocated time slot of the end-to-end link;
if the loss flow meets a second preset condition, determining a time slot to be added at least according to the current residual time slot of the physical link where the end-to-end link is located;
wherein the bandwidth adjustment policy includes the timeslot to be decreased or the timeslot to be increased.
4. The end-to-end bandwidth adjusting method according to claim 3, wherein the determining the timeslot to be reduced according to at least a current allocated timeslot condition of the end-to-end link comprises:
calculating the number m of the minimum granularity contained in the residual flow, and determining the number of the time slots to be reduced as m;
identifying time slots in an idle state from the current allocated time slots of the end-to-end link, and selecting m time slots from the time slots in the idle state as the time slots to be reduced;
the determining the time slot to be added according to at least the current remaining time slot of the physical link where the end-to-end link is located includes:
calculating the number n of the minimum granularity contained in the loss flow, and determining the number of the time slots to be increased as n;
identifying the current residual time slot which meets the preset condition from the current residual time slot of the physical link where the end-to-end link is located; if the number of the current remaining time slots meeting the preset condition is larger than or equal to n, selecting n remaining time slots from the current remaining time slots meeting the preset condition as the time slots to be increased;
wherein the minimum granularity is traffic transmitted in the end-to-end link within one of the time slots.
5. The end-to-end bandwidth adjustment method according to claim 3, wherein the remaining traffic comprises remaining traffic in two transmission directions of the end-to-end link, and the first preset condition comprises: the residual flow in one transmission direction is greater than or equal to a preset first residual flow threshold, and the residual flow in the other transmission direction is greater than or equal to a preset second residual flow threshold;
and/or the presence of a gas in the gas,
the loss traffic includes loss traffic in two transmission directions of the end-to-end link, and the second preset condition includes: the deficit flow in at least one transmission direction is greater than or equal to a preset deficit flow threshold.
6. The end-to-end bandwidth adjustment method according to claim 5, wherein the preset first remaining traffic threshold is i minimum granularities, and the preset second remaining traffic threshold is j minimum granularities;
the determining the time slot to be reduced according to at least the current allocated time slot of the end-to-end link includes:
determining the number of the time slots to be reduced as min (i, j);
identifying time slots in an idle state from the current allocated time slots of the end-to-end link, and selecting min (i, j) time slots from the time slots in the idle state as the time slots to be reduced;
the preset deficit flow threshold is h minimum particle sizes;
the determining the time slot to be added according to at least the current remaining time slot of the physical link where the end-to-end link is located includes:
determining the number of the time slots to be increased as h;
identifying the current residual time slot which meets the preset condition from the current residual time slot of the physical link where the end-to-end link is located; the preset condition comprises that the current residual time slot is in an idle state at each node in the end-to-end link;
if the current residual time slot meeting the preset condition is larger than h, selecting h residual time slots from the current residual time slots meeting the preset condition as the time slots to be added;
wherein the minimum granularity is traffic transmitted in the end-to-end link within one of the time slots.
7. The end-to-end bandwidth adjustment method according to claim 2, wherein the traffic information includes a frame number of the first target data frame in a unit time or a frame number of the second target data frame in a unit time; the first target data frame is a data frame representing that a link is idle; the second target data frame is a data frame representing link congestion;
determining the remaining traffic or the loss traffic of the end-to-end link according to the traffic information of the end-to-end link includes:
and calculating the residual flow of the end-to-end link according to the frame number of the first target data frame in unit time, or calculating the loss flow of the end-to-end link according to the frame number of the second target data frame in unit time.
8. The end-to-end bandwidth adjustment method according to claim 1, wherein the obtaining traffic information of the end-to-end link includes:
and respectively acquiring flow information in two transmission directions of the end-to-end link from nodes at two ends of the end-to-end link.
9. An end-to-end bandwidth adjustment system, comprising:
the flow monitoring module is arranged in a node of an end-to-end link and used for acquiring flow information of the end-to-end link;
the control module is used for determining a bandwidth adjustment strategy according to the flow information of the end-to-end link;
and the service processing module is used for adjusting the bandwidth of the end-to-end link through the service processing module arranged in the end-to-end link based on the bandwidth adjusting strategy.
10. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the end-to-end bandwidth adjustment method of any one of claims 1 to 8.
11. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the end-to-end bandwidth adjustment method of any of claims 1 to 8.
CN201911180938.5A 2019-11-27 2019-11-27 End-to-end bandwidth adjusting method, system, electronic equipment and storage medium Pending CN112866146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911180938.5A CN112866146A (en) 2019-11-27 2019-11-27 End-to-end bandwidth adjusting method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911180938.5A CN112866146A (en) 2019-11-27 2019-11-27 End-to-end bandwidth adjusting method, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112866146A true CN112866146A (en) 2021-05-28

Family

ID=75985561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911180938.5A Pending CN112866146A (en) 2019-11-27 2019-11-27 End-to-end bandwidth adjusting method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112866146A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473271A (en) * 2021-06-23 2021-10-01 烽火通信科技股份有限公司 Packet service forwarding method, device, equipment and readable storage medium
CN113783802A (en) * 2021-08-09 2021-12-10 新华三大数据技术有限公司 Bandwidth adjusting method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473271A (en) * 2021-06-23 2021-10-01 烽火通信科技股份有限公司 Packet service forwarding method, device, equipment and readable storage medium
CN113783802A (en) * 2021-08-09 2021-12-10 新华三大数据技术有限公司 Bandwidth adjusting method and system

Similar Documents

Publication Publication Date Title
CN109729588B (en) Service data transmission method and device
US11190437B2 (en) Methods, apparatus and computer programs for allocating traffic in a telecommunications network
CN102143052B (en) Method, equipment and system for lossless bandwidth
US11785113B2 (en) Client service transmission method and apparatus
RU2548909C2 (en) Bandwidth allocation method and optical line terminal
EP2999170B1 (en) Increasing method and decreasing method for variable optical channel bandwidth and device
WO1998030061A1 (en) Method and system for quality of service assessment for multimedia traffic under aggregate traffic conditions
CN110247816B (en) Index monitoring method and device
KR101017532B1 (en) Method for flow control in a communication system
CN112866146A (en) End-to-end bandwidth adjusting method, system, electronic equipment and storage medium
CN110674942A (en) Bandwidth management method and device, electronic equipment and readable storage medium
RU2598293C1 (en) Method and apparatus for transmitting standard configuration data of improved system of selecting a transmitting protocol
CN113692058A (en) Spectrum resource evaluation set-based satellite optical network spectrum allocation method and system
US9793985B2 (en) OBTN time slot length adjustment method, device and node
TW201924411A (en) Power control method, apparatus, device, and computer readable storage medium
EP2930617A1 (en) Resource management method and device
US20210058186A1 (en) Service signal transmission method and apparatus
CN116489154A (en) Load sharing method and related device
EP3251450B1 (en) Method and rate controlling node for providing data rate for data communication
CN112994905B (en) Policy and charging control method, system, electronic equipment and storage medium
WO2019128648A1 (en) Bandwidth adjustment method, device, system, transmission plane node and storage medium
CN102332997B (en) Network equipment and method for adjusting link capacity by using network equipment
CN111490940B (en) Method for determining data forwarding path, electronic device and storage medium
CN110365439B (en) Signal mapping method, device, server and computer readable storage medium
EP3985991A1 (en) Bandwidth assignment method and apparatus, and bandwidth check method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210528