WO2020233313A1 - 端到端业务的时延调整方法及装置、存储介质和电子装置 - Google Patents
端到端业务的时延调整方法及装置、存储介质和电子装置 Download PDFInfo
- Publication number
- WO2020233313A1 WO2020233313A1 PCT/CN2020/085694 CN2020085694W WO2020233313A1 WO 2020233313 A1 WO2020233313 A1 WO 2020233313A1 CN 2020085694 W CN2020085694 W CN 2020085694W WO 2020233313 A1 WO2020233313 A1 WO 2020233313A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- delay
- difference
- average value
- service
- value
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/004—Synchronisation arrangements compensating for timing error of reception due to propagation delay
- H04W56/005—Synchronisation arrangements compensating for timing error of reception due to propagation delay compensating for timing error by adjustment in the receiver
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/003—Arrangements to increase tolerance to errors in transmission or reception timing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- This application relates to the field of communications, and in particular, to an end-to-end service delay adjustment method and device, storage medium and electronic device.
- BBU Building Base Band Unit
- RRU Radio Remote Unit
- the BBU and RRU in the distributed base station are separated, so they have the advantages of flexible configuration, convenient engineering construction, strong environmental adaptability, and low cost, and their applications are becoming more and more extensive.
- the density of base stations has increased by 10-20 times.
- optical fiber direct drive schemes can be used. As shown in Figure 1a, for BBUs and RRUs with long-distance transmission of 10 kilometers, you can add transmission equipment. To save fiber resources, as shown in Figure 1b; but the added transmission equipment needs to meet the characteristics of low jitter, low delay, and symmetric delay.
- Flex Ethernet (hereinafter referred to as FlexE) technology is used between transmission equipment to meet the low delay characteristics. FlexE technology makes the service interface rate no longer a fixed rate, the service layer and the physical layer are decoupled, and the service layer interface rate can be flexible.
- the FlexE standard is formulated in OIF, and OIF formulates to support a time-division multiplexed FlexE Shim layer, which is located in the PCS sublayer of the physical layer. Through the FlexE Shim layer time slot cross technology, the transmission delay can be reduced.
- Transmission equipment needs to achieve low jitter. Like the traditional switching chip to achieve the second and third layer forwarding technology, it is based on packet switching and contains firmware such as queues, buffers, token buckets, etc., which cannot achieve low jitter. In order to achieve low jitter, the same effect as the optical fiber connection. The transmission equipment needs to remove the characteristics of storing and forwarding data packets, data frames or bit blocks, that is, realizing hard pipe and wire-speed forwarding.
- the transmission equipment can provide delay compensation technology on the basis of providing low jitter. In the case of high jitter, adjusting the delay is meaningless.
- Delay symmetry refers to: for a certain end-to-end service, the difference between the forward delay and the reverse delay is within the expected range, where "forward” refers to the business flow from the local device to the opposite device Direction, “reverse” refers to the direction of the business flow from the peer device to the local device, as shown in Figure 2.
- the delay is the delay between the U-side ports of the PE (Provider Edge) device, including all the internal delays in the device. The sum of the delay plus the delay of the fiber.
- the difference between the forward time delay (Delay_F) and the reverse time delay (Delay_B) is
- the difference is related to the requirements of the RRU and BBU in the original network during optical fiber connection. Assuming that the local networking demand target is
- ⁇ 3ns, that is, after the service is opened, the delay difference needs to be stabilized within 3ns.
- the existing DM (Delay Measurement) technology can detect the two-way delay difference and provide it to users for viewing.
- the conceivable method is to manually trigger the delay adjustment by the user, but in a large networking environment, there are thousands of network elements, the maintenance workload is huge, and the efficiency will be very low.
- the embodiments of the present application provide an end-to-end service delay adjustment method and device, storage medium, and electronic device, so as to at least solve the problem of large workload and low maintenance efficiency in the related art that realizes delay adjustment through manual intervention. .
- an end-to-end service delay adjustment method which includes: after the end-to-end service between a first device and a second device is established, determining a connection with the first device The difference between the two-way delay related to the end-to-end service; wherein the difference between the two-way delay is the difference between the forward delay and the reverse delay; and the preset period is obtained based on the difference between the two-way delay The average value of the difference of the two-way delay in the internal; the delay of the end-to-end service is adjusted according to the average value.
- an end-to-end service delay adjustment apparatus including: a determining module, configured to determine and after the end-to-end service between the first device and the second device is established The difference between the two-way delay related to the end-to-end service of the first device; wherein the difference between the two-way delay is the difference between the forward delay and the reverse delay; the processing module is used to The difference of the two-way delay obtains an average value of the difference of the two-way delay within a preset period; an adjustment module is configured to adjust the delay of the end-to-end service according to the average value.
- a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
- an electronic device including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute any of the above Steps in the method embodiment.
- FIGS 1a and 1b are schematic structural diagrams of BBU and RRU in related technologies
- Figure 2 is a schematic diagram of time delay symmetry in related technologies
- FIG. 3 is a block diagram of the hardware structure of a device for an end-to-end service delay adjustment method according to an embodiment of the present application
- FIG. 4 is a flowchart of a method for adjusting the delay of an end-to-end service according to an embodiment of the present application
- FIG. 5 is a schematic diagram of sampling time stamp messages during mutual transmission between two U-side ports of an end-to-end service according to an embodiment of the present application
- Fig. 6a is a schematic diagram of a time stamp message format in the prior art
- Figure 6b is a schematic diagram of a time stamp message format according to an embodiment of the present application.
- Fig. 7 is a schematic diagram of an adjustment device according to an embodiment of the present application.
- Fig. 8 is a schematic diagram of a device for automatically adjusting time delay symmetry according to an embodiment of the present application.
- Fig. 9 is a schematic structural diagram of an end-to-end service delay adjustment apparatus according to an embodiment of the present application.
- FIG. 3 is a hardware structural block diagram of a device for an end-to-end service delay adjustment method according to an embodiment of the present application.
- the device 10 may include one or more (only one is shown in FIG. 3) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) And the memory 104 for storing data.
- the aforementioned device may further include a transmission device 106 and an input/output device 108 for communication functions.
- FIG. 3 is only for illustration, and does not limit the structure of the foregoing device.
- the device 10 may also include more or fewer components than shown in FIG. 3, or have a different configuration from that shown in FIG.
- the memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as the computer programs corresponding to the end-to-end service delay adjustment method in the embodiment of the present application.
- the processor 102 runs the computer programs stored in the memory 104 Computer programs to execute various functional applications and data processing, that is, to realize the above-mentioned methods.
- the memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
- the memory 104 may further include a memory remotely provided with respect to the processor 102, and these remote memories may be connected to the device 10 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
- the transmission device 106 is used to receive or send data via a network.
- the foregoing specific examples of the network may include a wireless network provided by the communication provider of the device 10.
- the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station to communicate with the Internet.
- the transmission device 106 may be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet in a wireless manner.
- RF Radio Frequency
- FIG. 4 is a flowchart of the end-to-end service delay adjustment method according to an embodiment of the present application, as shown in FIG. 4 , The process includes the following steps:
- Step S402 After the end-to-end service between the first device and the second device is established, determine the difference in the two-way delay related to the end-to-end service of the first device; wherein the difference in the two-way delay is positive The difference between the forward delay and the reverse delay;
- the first device and the second device are two devices in a network composed of multiple devices, and there may be one or more networks in the business flow direction from the first device to the second device Other equipment.
- Step S404 Obtain an average value of the difference of the two-way delay in a preset period based on the difference of the two-way delay;
- Step S406 Adjust the end-to-end service delay according to the average value.
- the difference of the two-way delay related to the end-to-end service of the first device is determined, and based on the two-way time
- the delay difference obtains the average value of the two-way delay difference in the preset period, and then adjusts the end-to-end service delay according to the average value, so as to realize the automatic adjustment of the end-to-end service delay.
- the manner of determining the difference in the two-way delay related to the end-to-end service of the first device involved in step S402 of this embodiment can be implemented in the following manner:
- step S402-11 the time when the end-to-end service is generated on the first device side is determined as the first time stamp, the time when the second device receives the end-to-end service is determined as the second time stamp, and the second device responds to the end The time when the end-to-end service sends the response message is determined as the third time stamp, and the time when the first device receives the response message is determined as the fourth time stamp;
- Step S402-12 taking the sum of the second time stamp and the third time stamp minus the sum of the first time stamp and the fourth time stamp as the difference of the two-way delay.
- Fig. 5 is a schematic diagram of sampling time stamp messages during the mutual transmission between two U-side ports of an end-to-end service according to an embodiment of the present application.
- the U-side ports at both ends of the service send time stamps
- the packets are independent of each other and do not affect each other; among them, the PE1 device is equivalent to the first device involved in the foregoing embodiment of this application, and the PE2 device is equivalent to the second device involved in the foregoing embodiment of this application.
- the choice of the N value is evaluated from at least many aspects: 1. The extra overhead introduced by the time stamp message sending and receiving, that is, the occupied bandwidth; 2. The frequency cannot be too low, otherwise it will affect the speed of automatic adjustment.
- the preferred value of N is 16, that is, 16 time stamp messages are sent per second.
- other values of N are also possible, and can be adjusted accordingly according to actual conditions.
- time stamp T1 (equivalent to the first time stamp involved in this application) is added to the message when it is generated.
- T1 Equivalent to the first time stamp involved in this application
- T2 time stamped with the time stamp involved in this application
- T3 time stamped with the third time stamp involved in this application
- this message is received on the sending side interface
- T4 time stamped Stamp T4 (equivalent to the fourth time stamp referred to in this application).
- the sender can calculate the difference between a forward delay and a reverse delay according to T1, T2, T3, and T4.
- the forward delay is called Tf
- the reverse delay is called Tb
- FIG. 6a is a schematic diagram of the time stamp message format in the prior art.
- T_diff Tf-Tb.
- the disadvantage of this method is that the message occupies a large bandwidth, and a time stamp occupies 8 bytes according to the experience value, and the unit is ns.
- Fig. 6b is a schematic diagram of a time stamp message format according to an embodiment of the present application.
- the message occupies a small bandwidth and one time stamp space.
- the specific values of Tf and Tb cannot be calculated. As long as the two-way delay difference can be calculated, the 5G requirements are met.
- Step S404-11 Obtain the difference between the first number of two-way delays in a preset period
- Step S404-12 filtering the difference of the first number of two-way delays to obtain the difference of the second number of two-way delays, where the second number is less than the first number;
- step S404-13 the average value of the sum of the difference of the second number of delays is calculated with the preset period to obtain the average of the difference of the two-way delay.
- T_diff_initial is a parameter that can be set or customized in advance according to actual conditions.
- the unit is second, and the value is greater than or equal to 1.
- the specific filtering method is not limited in this application, as long as abnormal samples caused by delay jitter can be filtered out.
- other methods can be used, such as removing a maximum value and removing a minimum value after obtaining 16 samples per second.
- the manner of adjusting the end-to-end service delay according to the average value involved in step S406 of this embodiment can be implemented in the following manner:
- Step S406-11 when the average value is less than zero and the absolute value of the average value is greater than the preset threshold, trigger the first device to enter the monitoring state, and trigger the second device to perform delay adjustment so that the absolute value of the average value is less than Preset threshold;
- Step S406-12 when the average value is greater than zero and the absolute value of the average value is greater than the preset threshold, trigger the second device to enter the monitoring state, and trigger the first device to perform delay adjustment so that the absolute value of the average value is less than Preset threshold.
- the average value of the delay difference T_average is used to decide which device of the service should perform the delay adjustment; the specific decision method is: if
- ⁇ user target (the user target is the preset threshold), the forward delay and the reverse delay are different to meet the user target, and the equipment at both ends of the service (the first device and the second device) will not be adjusted; other if T_average If T_average is greater than 0, it means that the forward delay is greater than the reverse delay, and the end-to-end service needs to be adjusted on the local device (the first device); otherwise, if T_average is less than 0, it means that the forward delay is less than the reverse delay.
- the peer device (the second device) adjusts the end-to-end service, but the local device (the first device) does not adjust.
- the user target can also be set to T_diff_need.
- the user target can also be set according to requirements, in nanoseconds (ns). User requirements in the networking require that the absolute value of the difference between the forward delay and the reverse delay of the end-to-end service is less than or equal to this value.
- the "user target" is
- ⁇ T_diff_need.
- step S406 of this embodiment for the case that the average value involved in step S406 of this embodiment is less than zero, and the absolute value of the average value is greater than the preset threshold, trigger the second device to perform delay adjustment
- this can be achieved in the following manner: triggering the second device to increase the duration of the reverse delay until the average value is less than the preset threshold value;
- step S406 For the case in step S406 involved in this embodiment that the average value is greater than zero and the absolute value of the average value is greater than the preset threshold, trigger the first device to perform delay adjustment so that the absolute value of the average is less than the preset threshold
- the method can be implemented in the following manner: triggering the first device to increase the duration of the reverse delay until the average value is less than the preset threshold.
- step S406 in combination with specific application scenarios, the manner involved in step S406 is described as an example
- the time delay adjustment method using "rough adjustment” involved in this embodiment includes:
- Step S502 judge whether the time delay can be adjusted in large steps; if the judgment result is yes, execute step S504, if the judgment result is no, execute step S506;
- Step S504 perform the operation of adjusting the time delay in large steps; then perform step S512;
- step S506 it is judged whether the time delay can be adjusted in small steps, if the judgment result is yes, step S508 is executed, and if the judgment result is no, step S510 is executed;
- Step S508 perform the operation of adjusting the time delay in small steps; then perform step S512;
- Step S510 request the opposite end to adjust the delay and local end detection
- Step S512 sampling and calculating the stable delay difference
- step S514 it is judged whether the delay difference meets the target, if it is, step S510 is executed, and if not, step S502 is executed.
- FIG. 7 is a schematic diagram of the adjustment device according to an embodiment of the application.
- the reverse time delay T nanoseconds can be fixedly reduced.
- the reverse time delay T nanoseconds can be fixedly increased.
- Use the T_average value obtained in the previous step to adjust the current scale of the "adjustment device”. Specifically, when T_average is greater than 0, the current scale is adjusted to the maximum scale direction, and the adjusted scale number N2 (
- fine adjustment can also be used in this application.
- N2 (
- T_average value use the above formula to adjust the current scale of the "adjustment device".
- the user's networking requirements can be met after rough adjustment. But if there is jitter, it may be adjusted and the average value is -2ns again, and then fine adjustment is required to adjust a scale. In other words, fine adjustment is at most one scale, and coarse adjustment is greater than one scale.
- the equipment where the business is located cannot complete the adjustment. Adjust the peer device. If the number of scales to be adjusted is not 0, and the current scale needs to be adjusted to the maximum scale, and the current scale overlaps the maximum scale, the device where the business is located cannot complete the adjustment, and the peer device is requested to adjust at this time.
- the method steps of this embodiment may further include:
- step S408 when the average value is less than zero or greater than zero, and the absolute value of the average value is greater than a preset threshold, an alarm information is reported.
- the alarm description may also include the value of the current delay difference.
- the method steps in this embodiment may further include:
- Step S410 in the case where the end-to-end service has a loss of connectivity, the execution of the end-to-end service delay adjustment operation is suspended;
- step S412 when the LOC disappears, continue to perform the end-to-end service delay adjustment operation.
- a method for automatically adjusting the symmetry of the delay includes: after the end-to-end service is opened, the end-to-end service is automatically sent to each other between two U-side ports.
- the two-way delay difference of the service is calculated by sampling the time stamp data, and the average value of the delay difference in the "decision" period is counted.
- the average value of the delay difference it is determined whether the service is to perform delay adjustment on the local PE device or the opposite end PE device. If the adjustment is made by the peer device, the local device only monitors the delay difference of the service.
- the local device If the adjustment is made by the local device, first “coarse adjustment” and then “fine adjustment” until the user goal is met, and then monitor the delay difference. If the service cannot meet the user target when the local device is adjusted to the hardware capability limit, the peer PE device is requested to continue to adjust the service, and the local device only monitors the delay difference.
- the "user target” T_diff_need involved in this application is a preset parameter, in nanoseconds (ns), which is the requirement of users in the networking (equivalent to the above-mentioned preset threshold involved in this application) ,
- the absolute value of the difference between the forward delay and the reverse delay of the end-to-end service is required to be less than or equal to this value. That is, "user target"
- ⁇ T_diff_need.
- the method of this optional embodiment may further include: after the end-to-end service is opened, after detecting that the service LOC (loss of connectivity) is generated, the delay adjustment can be automatically stopped.
- the method also includes the ability to automatically restart the delay adjustment process after detecting the disappearance of the LOC again, and the process is the same as above.
- automatically stopping the delay adjustment refers to stopping sampling of the business and no longer performing any process of delay adjustment.
- the steps of requesting the opposite end device of the service to adjust the delay include:
- Step S602 the local device sends a "request for adjustment" message to the opposite device.
- step S604 if the opposite end determines that adjustment is possible, it responds with a message "adjustable".
- the local end receives a "adjustable” message, the local end only monitors the delay. After responding to the "adjustable” message to the peer, the subsequent "adjustment delay” process is carried out.
- step S606 if the opposite end judges that adjustment is not possible, it responds with a message of "no adjustment possible". If the local end receives a "cannot be adjusted” message, the local end only monitors the delay. After responding to the opposite end with a "cannot be adjusted” message, no action is taken and only the delay is monitored.
- the device involved in this application determines whether the device can be adjusted, it can be adjusted if the current scale of the "adjustment device" does not coincide with the minimum scale or the maximum scale; otherwise, it cannot be adjusted.
- the specific format of the request/response message is not limited in this application, as long as the type of "request” and “response” can be accurately expressed, and the requirements can be sent and received by the U-side port, transmitted along the service path, and can pass through P node equipment. As shown in Table 1 below, a message format is given.
- the negotiation message is transmitted in the O code, which is 66B blocks and is defined by the 802.3 standard.
- the first line indicates the bit position, and the second line indicates the specific field. Reserved fields are used here.
- Seq sequence number, used in multi-frame, at this time is fixed to 0.
- CRC4 The sender performs CRC4 calculation on bits 2 ⁇ 61, and the result is filled in this field.
- the receiving end performs CRC4 calculation on bits 2 to 61. If the calculation result is different from the received CRC4, it will judge that this code block has an error and discard it. Resv: reserved.
- the sending end fills in 0, the receiving end does not care.
- Table 2 is the request message, requesting the end device to adjust the delay, as shown in Table 2.
- R always fill in 1.
- A is always filled with 1.
- this optional embodiment can receive customized parameters and modify the system behavior in real time according to the parameters, and the system executes the process of delay adjustment according to the parameters.
- This optional embodiment also includes storing the parameters in a non-volatile medium, which will still take effect after the system is powered off and on again.
- T_diff_need in nanoseconds (ns).
- User requirements in the networking require that the absolute value of the difference between the forward delay and the reverse delay of the end-to-end service is less than or equal to this value. After the service is established, if the statistical actual delay difference is greater than this value, an alarm will be reported. When it is less than this value, the alarm disappears. When alarms are generated and disappeared, different statistical periods are selected in different steps of the adjustment process:
- the "decision" period T_diff_initial the unit is seconds, and the value is greater than or equal to 1. It is used for the end-to-end negotiation of the two systems of the business, and negotiates which system to adjust and which system does not adjust. The two systems independently send and respond time stamps, Calculate the two-way delay difference. Make a decision in the "decision" cycle.
- the “stable" period T_diff_adjusting the unit is second, and the value is greater than or equal to 1.
- the “monitoring" period is T_diff_monitor, the unit is seconds, and the value is greater than or equal to 1. After the system is adjusted, calculate the average value of the delay difference in the time period. Users can use manual commands to view the delay difference of the system in a stable state.
- this optional embodiment also provides a device for automatically adjusting the symmetry of the delay.
- FIG. 8 is a schematic diagram of the device for automatically adjusting the symmetry of the delay according to an embodiment of the present application. As shown in Figure 8, the equipment includes:
- Time synchronization module used for time synchronization of all devices in the network. Only devices that have completed time synchronization can measure end-to-end one-way delay.
- Business module responsible for managing the establishment, parameter modification and deletion of end-to-end services.
- Time stamp module Use the synchronization result of the time synchronization module to send a delay measurement message from the U-side port along the service direction in a certain period. 16 timestamps are sent every second. This module provides external “enable” interface. When “enabled”, this module sends time stamp messages. When “disabled”, this module stops sending time stamp messages.
- Adjustment module Provides the minimum and maximum scale for adjustment, as well as the current scale. Adjustable time delay difference per scale. The minimum scale of this system is 10, the maximum scale is 255, and the current scale is 10. The adjustable time delay difference per scale is 2ns.
- time delay symmetry module which is used to receive the message of the "service module”: service establishment is completed, service deletion. LOC generation and disappearance; and receiving the "time synchronization module” message: time synchronization is complete.
- this module sets the "enable” of the "time stamp module” to turn on or off the time stamp function.
- this module reads the time stamp of the "time stamp module” and calculates the forward and reverse delay difference. Adjust the delay according to the delay difference, increase or decrease, and issue the command to the "adjustment module".
- the negotiation message of this module is sent through the "negotiation module” and read through the “negotiation module”.
- External interface module Provide parameter configuration and module diagnosis of "automatically adjust delay symmetry module”.
- the diagnostic commands include-manual forced stop: force the state machine to return to the starting state.
- This module also transmits the alarms generated by the "Automatic Delay Symmetry Module" to the outside of the system.
- the filtering method adopted by this device is: removing a maximum value and removing a minimum value from 16 time stamp samples per second.
- the device maintains a state machine for the U-side port of each end-to-end service.
- Initialization state Initialization state, enable "time stamp module”, and decide which device to adjust.
- Idle status Only count the difference between the forward delay and the reverse delay without adjustment.
- Adjusting state adjust, according to the average value of the delay difference T_average, and the current scale of the "adjustment module", calculate whether the scale is increased or decreased, and set the current scale of the "adjustment module”.
- Monitor status The difference from the Starting status is that the "time stamp module" enables the time stamp function of this port.
- the optional implementation steps include:
- Step S11 The state machine of PE1 service 1 starts to be “starting”.
- the state machine of PE2 service 1 starts as "starting”.
- Step S12 PE1, the business 1 state machine transitions to initial, and the "time stamp module” is enabled.
- PE2 the business 1 state machine transitions to initial, and the "time stamp module” is enabled.
- Step S14 PE1, the service 1 reports that the alarm-delay symmetry is not satisfied, and the current
- 8ns, the reverse delay is large.
- Step S15 After a decision, the state machines of PE1 and Business 1 jump to the monitor state. PE2, the business 1 state machine jumps to the adjusting state.
- Step S16 PE2, adjust the current scale of the "adjustment device” to 14, and add a delay of 8 ns in the reverse incoming direction.
- ⁇ 3ns has been met.
- Step S18 PE2, service 1, jump to the monitor state.
- Step S19 PE2, the service 1 reports that the "delay symmetry is not satisfied" alarm disappears.
- Step S20 PE1, PE2, and service 1 are all in the monitor state, only the time stamp is read, and the two-way delay difference in the "monitoring" period T_diff_monitor is counted, without adjustment.
- the two-way delay difference of the new service is automatically compensated to meet the target of
- ⁇ 3ns. No user operation is required, reducing maintenance costs.
- the steps of an implementation method include:
- Step S11 The state machine of PE1 service 1 starts to be “starting”.
- the state machine of PE2 service 1 starts as "starting”.
- Step S12 PE1, the business 1 state machine transitions to initial, and the "time stamp module” is enabled.
- PE2 the business 1 state machine transitions to initial, and the "time stamp module” is enabled.
- Step S14 PE1, the service 1 reports that the alarm-delay symmetry is not satisfied, and the current
- 8ns, the forward delay is large.
- Step S15 After the decision is made, the state machines of PE2 and Business 1 jump to the monitor state. PE1, the business 1 state machine jumps to the adjusting state.
- Step S16 PE1, adjust the current scale of the "adjustment device” to 14, and add a delay of 8 ns in the reverse incoming direction.
- ⁇ 3ns has been met.
- Step S18 PE1, service 1, jump to monitor state.
- Step S19 PE1, the service 1 reports that the "delay symmetry is not satisfied" alarm disappears.
- Step 20 PE1, PE2, and business 1 are all in the monitor state, only the time stamp is read, and the two-way delay difference in the "monitoring" period T_diff_monitor is counted, without adjustment.
- the two-way delay difference of the new service is automatically compensated to meet the target of
- ⁇ 3ns. No user operation is required, reducing maintenance costs.
- PE1 and PE2 business 1, state machine are all in monitor state.
- PE1 business 1, the current scale of "adjustment device" is 14.
- PE1 calculates the forward and reverse delay difference to meet the user goal.
- PE2 calculates the forward and reverse delay difference to meet the user goal.
- the method steps of this optional implementation manner include:
- Step S11 PE1, service 1, the service module detects the LOC, informs the "automatically adjust the delay symmetry module”, jumps to the starting state, and restores the current scale of the "adjustment device” to 10.
- PE2, business 1 jump to the starting state, and restore the current scale of "adjustment device” to 10.
- Step S12 PE1, service 1, the “service module” notifies that the “automatically adjust the delay symmetry module” LOC disappears, jump to the initial state, and enable the "time stamp module”.
- PE2, business 1 jump to the initial state, and enable the "time stamp module”.
- Step S14 PE1, the service 1 reports that the alarm-delay symmetry is not satisfied, and the current
- 8ns, the forward delay is large.
- Step S15 After the decision is made, the state machines of PE2 and Business 1 jump to the monitor state. PE1, the business 1 state machine jumps to the adjusting state.
- Step S16 PE1, adjust the current scale of the "adjustment device” to 14, and add a delay of 8 ns in the reverse incoming direction.
- ⁇ 3ns has been met.
- Step S18 PE1, service 1, jump to monitor state.
- Step S19 PE1, the service 1 reports that the "delay symmetry is not satisfied" alarm disappears.
- Step S20 PE1, PE2, and service 1 are all in the monitor state, only the time stamp is read, and the two-way delay difference in the "monitoring" period T_diff_monitor is counted, without adjustment.
- the device can automatically adjust the two-way delay difference, and finally get automatic compensation to meet the goal of
- ⁇ 3ns. No user operation is required, reducing maintenance costs.
- the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
- the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present application.
- an end-to-end service delay adjustment device is also provided.
- the device is used to implement the above-mentioned embodiments and preferred implementations, and what has been described will not be repeated.
- the term "module" can implement a combination of software and/or hardware with predetermined functions.
- the devices described in the following embodiments are preferably implemented by software, the implementation of hardware or a combination of software and hardware is also possible and conceivable.
- FIG. 9 is a schematic structural diagram of an end-to-end service delay adjustment apparatus according to an embodiment of the present application.
- the apparatus includes: a determining module 92, which is configured to communicate between the first device and the second device. After the end-to-end service is established, determine the difference in the two-way delay related to the end-to-end service of the first device; where the difference in the two-way delay is the difference between the forward delay and the reverse delay; processing module 94 , Coupled to the determination module 92, used to obtain the average value of the difference of the two-way delay in the preset period based on the difference of the two-way delay; the adjustment module 96, coupled to the processing module 94, used to compare the ends according to the average value The delay of the end-to-end service is adjusted.
- the adjustment module 96 includes: a first adjustment unit, configured to trigger the first device to enter the monitoring state when the average value is less than zero and the absolute value of the average value is greater than a preset threshold, and trigger the The second device adjusts the delay so that the absolute value of the average value is less than the preset threshold; the second adjustment unit is used to trigger the second device to enter when the average value is greater than zero and the absolute value of the average value is greater than the preset threshold The state is monitored and the first device is triggered to adjust the delay so that the absolute value of the average value is less than the preset threshold.
- the determining module 92 includes: a first determining unit, configured to determine the time when the end-to-end service is generated on the first device side as the first time stamp, and the second device receives the end-to-end service The time is determined as the second time stamp, the time when the second device responds to the end-to-end service and sends the response message is determined as the third time stamp, and the time when the first device receives the response message is determined as the fourth time stamp;
- the second determining unit is used to take the sum of the second time stamp and the third time stamp minus the sum of the first time stamp and the fourth time stamp as the difference of the two-way delay.
- the processing module 94 includes: an acquiring unit, configured to acquire the difference between the first number of two-way delays within a preset period; and a filtering unit, configured to determine the difference between the first number of two-way delays Filtering is performed to obtain the difference between the second number of two-way delays, where the second number is less than the first number; the processing unit is configured to perform the summing result of the second number of delays with the preset period The average value is calculated to obtain the average value of the two-way delay difference.
- the apparatus of this embodiment may further include: an adjustment module, which is further configured to trigger the second device to increase when the average value is less than zero and the absolute value of the average value is greater than a preset threshold.
- the apparatus of this embodiment may further include:
- the reporting module is used to report alarm information when the average value is less than zero or greater than zero, and the absolute value of the average value is greater than a preset threshold.
- the device of this embodiment may further include: a suspension module, which is used to suspend the execution of the end-to-end service delay adjustment operation when the end-to-end service causes a loss of connectivity LOC ;
- the execution module is used to continue to perform the end-to-end service delay adjustment operation when the LOC disappears.
- each of the above modules can be implemented by software or hardware.
- it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules are combined in any combination The forms are located in different processors.
- the embodiment of the present application also provides a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any of the foregoing method embodiments when running.
- the foregoing storage medium may be configured to store a computer program for executing the following steps:
- Step S1 after the end-to-end service between the first device and the second device is established, determine the difference in the two-way delay related to the end-to-end service of the first device; wherein the difference in the two-way delay is positive The difference between the forward delay and the reverse delay;
- Step S2 obtaining an average value of the difference of the two-way delay in a preset period based on the difference of the two-way delay;
- Step S3 Adjust the end-to-end service delay according to the average value.
- the foregoing storage medium may include, but is not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), mobile hard disk, magnetic disk Various media that can store computer programs such as discs or optical discs.
- the embodiment of the present application also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in any of the foregoing method embodiments.
- the aforementioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the aforementioned processor, and the input-output device is connected to the aforementioned processor.
- the foregoing processor may be configured to execute the following steps through a computer program:
- Step S1 after the end-to-end service between the first device and the second device is established, determine the difference in the two-way delay related to the end-to-end service of the first device; wherein the difference in the two-way delay is positive The difference between the forward delay and the reverse delay;
- Step S2 obtaining an average value of the difference of the two-way delay in a preset period based on the difference of the two-way delay;
- Step S3 Adjust the end-to-end service delay according to the average value.
- modules or steps of this application can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
- they can be implemented with program codes executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, can be executed in a different order than here.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Networks Using Active Elements (AREA)
- Logic Circuits (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
- Debugging And Monitoring (AREA)
- Crushing And Grinding (AREA)
Abstract
Description
Claims (10)
- 一种端到端业务的时延调整方法,包括:在第一设备与第二设备之间的端到端业务建立之后,确定与所述第一设备的端到端业务相关的双向时延的差值;其中,所述双向时延的差值为正向时延与反向时延的差值;基于所述双向时延的差值得到预设周期内所述双向时延的差值的平均值;根据所述平均值对所述端到端业务的时延进行调整。
- 根据权利要求1所述的方法,其中,所述根据所述平均值对所述端到端业务的时延进行调整,包括:在所述平均值小于零,且所述平均值的绝对值大于预设阈值的情况下,触发所述第一设备进入监视状态,并触发所述第二设备进行时延调整以使所述平均值的绝对值小于所述预设阈值;在所述平均值大于零,且所述平均值的绝对值大于预设阈值的情况下,触发所述第二设备进入监视状态,并触发所述第一设备进行时延调整以使所述平均值的绝对值小于所述预设阈值。
- 根据权利要求2所述的方法,其中,所述确定与所述第一设备的端到端业务相关的双向时延的差值,包括:将在所述第一设备侧产生所述端到端业务的时刻确定为第一时戳,将所述第二设备收到所述端到端业务的时刻确定为第二时戳,将所述第二设备响应所述端到端业务并发送响应报文的时刻确定为第三时戳,将所述第一设备接收到所述响应报文的时刻确定为第四时戳;将所述第二时戳与所述第三时戳的和值减去所述第一时戳与所述第四时戳的和值作为双向时延的差值。
- 根据权利要求3所述的方法,其中,所述基于所述双向时延的差值得到预设周期内所述双向时延的差值的平均值,包括:获取所述预设周期内的第一数量的双向时延的差值;对所述第一数量的双向时延的差值进行滤波得到第二数量的双向时延的差值,其中,所述第二数量小于所述第一数量;将对所述第二数量的时延的差值进行求和的结果与所述预设周期进行 平均值的计算,得到所述双向时延的差值的平均值。
- 根据权利要求2或4所述的方法,其中,在所述平均值小于零,且所述平均值的绝对值大于预设阈值的情况下,触发所述第二设备进行时延调整以使所述平均值的绝对值小于预设阈值,包括:触发所述第二设备减少所述反向时延的时长直到所述平均值的绝对值小于所述预设阈值;在所述平均值大于零,且所述平均值的绝对值大于预设阈值的情况下,触发所述第一设备进行时延调整以使所述平均值的绝对值小于预设阈值,包括:触发所述第一设备增加所述反向时延的时长直到所述平均值的绝对值小于所述预设阈值。
- 根据权利要求1所述的方法,其中,所述方法还包括:在所述平均值小于零或大于零,且所述平均值的绝对值大于预设阈值的情况下,上报告警信息。
- 根据权利要求1所述的方法,其中,所述方法还包括:在所述端到端业务产生连通性丢失LOC的情况下,中止执行端到端业务的时延调整操作;在所述LOC消失的情况下,继续执行端到端业务的时延调整操作。
- 一种端到端业务的时延调整装置,包括:确定模块,用于在第一设备与第二设备之间的端到端业务建立之后,确定与所述第一设备的端到端业务相关的双向时延的差值;其中,所述双向时延的差值为正向时延与反向时延的差值;处理模块,用于基于所述双向时延的差值得到预设周期内所述双向时延的差值的平均值;调整模块,用于根据所述平均值对所述端到端业务的时延进行调整。
- 一种存储介质,其中,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至7任一项中所述的方法。
- 一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利 要求1至7任一项中所述的方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
BR112021023358A BR112021023358A2 (pt) | 2019-05-20 | 2020-04-20 | Método de ajuste de atraso e aparelho para serviço de ponta a ponta, meio de armazenamento e aparelho eletrônico |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910420730.XA CN111970759B (zh) | 2019-05-20 | 2019-05-20 | 端到端业务的时延调整方法及装置、存储介质和电子装置 |
CN201910420730.X | 2019-05-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020233313A1 true WO2020233313A1 (zh) | 2020-11-26 |
Family
ID=73358042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/085694 WO2020233313A1 (zh) | 2019-05-20 | 2020-04-20 | 端到端业务的时延调整方法及装置、存储介质和电子装置 |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN111970759B (zh) |
BR (1) | BR112021023358A2 (zh) |
WO (1) | WO2020233313A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114422069A (zh) * | 2022-01-04 | 2022-04-29 | 烽火通信科技股份有限公司 | FlexE业务的时延处理方法、装置、设备及存储介质 |
CN115189784A (zh) * | 2022-06-30 | 2022-10-14 | 联想(北京)有限公司 | 基于时延处理方法及装置、电子设备、存储介质 |
CN116996198A (zh) * | 2023-09-25 | 2023-11-03 | 之江实验室 | 一种灵活以太网双向时延对称小颗粒时隙分配方法及装置 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115396360A (zh) * | 2021-05-08 | 2022-11-25 | 中兴通讯股份有限公司 | 一种路径计算方法、装置、存储介质及电子装置 |
CN113708999B (zh) * | 2021-08-30 | 2022-11-29 | 国家电网有限公司 | 一种通信网时延监测系统及方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098135A (zh) * | 2011-03-04 | 2011-06-15 | 北京邮电大学 | 用于异构网络融合下的业务流分发的系统及方法 |
CN108631946A (zh) * | 2018-05-14 | 2018-10-09 | 海能达通信股份有限公司 | 一种时延调节方法及相关设备 |
CN108989137A (zh) * | 2017-06-01 | 2018-12-11 | 中兴通讯股份有限公司 | 端到端通信的时延测量方法及装置、计算机可读存储介质 |
CN109005557A (zh) * | 2018-09-26 | 2018-12-14 | 南京中兴新软件有限责任公司 | 一种时延对称性测量方法、装置和系统 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102014431B (zh) * | 2010-11-08 | 2013-09-11 | 华为技术有限公司 | 防抖动的数据传输方法、设备及系统 |
CN105992025B (zh) * | 2015-02-15 | 2019-09-27 | 湖南汇德电子有限公司 | 基于音频同步播放的系统时间校准方法、音频同步播放方法及装置 |
CN105099649B (zh) * | 2015-08-14 | 2018-10-16 | 宋亚玲 | 一种网络时间同步嵌入的方法和系统 |
CN105610727B (zh) * | 2015-11-06 | 2019-02-12 | 瑞斯康达科技发展股份有限公司 | 一种网络数据传输方法及装置 |
-
2019
- 2019-05-20 CN CN201910420730.XA patent/CN111970759B/zh active Active
-
2020
- 2020-04-20 WO PCT/CN2020/085694 patent/WO2020233313A1/zh active Application Filing
- 2020-04-20 BR BR112021023358A patent/BR112021023358A2/pt unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098135A (zh) * | 2011-03-04 | 2011-06-15 | 北京邮电大学 | 用于异构网络融合下的业务流分发的系统及方法 |
CN108989137A (zh) * | 2017-06-01 | 2018-12-11 | 中兴通讯股份有限公司 | 端到端通信的时延测量方法及装置、计算机可读存储介质 |
CN108631946A (zh) * | 2018-05-14 | 2018-10-09 | 海能达通信股份有限公司 | 一种时延调节方法及相关设备 |
CN109005557A (zh) * | 2018-09-26 | 2018-12-14 | 南京中兴新软件有限责任公司 | 一种时延对称性测量方法、装置和系统 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114422069A (zh) * | 2022-01-04 | 2022-04-29 | 烽火通信科技股份有限公司 | FlexE业务的时延处理方法、装置、设备及存储介质 |
CN114422069B (zh) * | 2022-01-04 | 2023-12-05 | 烽火通信科技股份有限公司 | FlexE业务的时延处理方法、装置、设备及存储介质 |
CN115189784A (zh) * | 2022-06-30 | 2022-10-14 | 联想(北京)有限公司 | 基于时延处理方法及装置、电子设备、存储介质 |
CN116996198A (zh) * | 2023-09-25 | 2023-11-03 | 之江实验室 | 一种灵活以太网双向时延对称小颗粒时隙分配方法及装置 |
CN116996198B (zh) * | 2023-09-25 | 2023-12-19 | 之江实验室 | 一种灵活以太网双向时延对称小颗粒时隙分配方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN111970759B (zh) | 2023-05-30 |
CN111970759A (zh) | 2020-11-20 |
BR112021023358A2 (pt) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020233313A1 (zh) | 端到端业务的时延调整方法及装置、存储介质和电子装置 | |
CN112688754B (zh) | 基于灵活以太网FlexE传输业务流的方法和装置 | |
WO2019196585A1 (zh) | 监测业务质量的方法和装置 | |
US8600347B2 (en) | Idle mode notification | |
US9729459B2 (en) | System and method for credit-based link level flow control | |
KR101651166B1 (ko) | 동기화된 네트워크들을 위한 장치 및 방법 | |
US11102273B2 (en) | Uplink performance management | |
WO2021227947A1 (zh) | 网络控制方法及设备 | |
WO2018036173A1 (zh) | 一种网络负载均衡方法、设备及系统 | |
US20220014485A1 (en) | Signalling of Dejittering Buffer Capabilities for TSN Integration | |
US11375024B1 (en) | Programmable networking device for user plane function | |
WO2021203985A1 (zh) | 一种拥塞信息同步的方法以及相关装置 | |
US9553828B1 (en) | System and method for collision detection and avoidance for network communications | |
CN113726681B (zh) | 一种网络拥塞控制方法及网络设备 | |
CN113438182A (zh) | 一种基于信用的流量控制系统和流量控制方法 | |
US10334539B2 (en) | Metered interface | |
US11916770B2 (en) | Pinpointing sources of jitter in network flows | |
WO2013042564A1 (ja) | 診断システム | |
US9692709B2 (en) | Playout buffering of encapsulated media | |
JP2000022678A (ja) | データ伝送端末装置 | |
CN114124833A (zh) | 一种控制报文发送的方法、网路设备和系统 | |
CN113950099A (zh) | 一种网络拥塞控制方法及设备 | |
US20230388252A1 (en) | Providing high assurance of end-to-end cpri circuit in a high jitter packet based fronthaul network | |
JP5216830B2 (ja) | データ転送装置及び方法 | |
US9237061B2 (en) | Transmission apparatus and transmission method |
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: 20809648 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112021023358 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 112021023358 Country of ref document: BR Kind code of ref document: A2 Effective date: 20211119 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20809648 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 26.04.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20809648 Country of ref document: EP Kind code of ref document: A1 |