WO2014059846A1 - Method and device for fixing time delay - Google Patents

Method and device for fixing time delay Download PDF

Info

Publication number
WO2014059846A1
WO2014059846A1 PCT/CN2013/083804 CN2013083804W WO2014059846A1 WO 2014059846 A1 WO2014059846 A1 WO 2014059846A1 CN 2013083804 W CN2013083804 W CN 2013083804W WO 2014059846 A1 WO2014059846 A1 WO 2014059846A1
Authority
WO
WIPO (PCT)
Prior art keywords
residual value
modulation mode
value
acm
receiving
Prior art date
Application number
PCT/CN2013/083804
Other languages
French (fr)
Chinese (zh)
Inventor
徐蔚峰
沈绍清
徐妍
程文
彭良川
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014059846A1 publication Critical patent/WO2014059846A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0025Transmission of mode-switching indication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0036Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the receiver

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for delaying a time delay.
  • delay jitter of data affects transmission.
  • delay jitter and delay are the main evaluation parameters of network quality.
  • Delay jitter is the change in delay. Delay jitter mostly originates from queues or buffers in the network, and its generation is random and inevitable.
  • the existing control transmission delay jitter generally utilizes the buffer capacity to resist jitter and delay data output.
  • the specific principle is as follows: The data stream is buffered to a certain amount, and a data delay time is preset, and then output at a constant rate.
  • the delay time is greater than or equal to the delay jitter deviation of the normal data transmission, and the delay jitter is resisted by the already stored data when the link traffic is small.
  • the buffer leaves a certain amount of storage space, and when the link has a large amount of traffic data, the cached spare capacity can be used to resist the delay jitter.
  • the data is buffered in a delayed manner, so that the data is delayed after a certain period of time, thereby ensuring the fixed data delay.
  • Adaptive Modulation and Coding (ACM) technology is used, and there are cases where different modulation modes are switched between each other.
  • ACM Adaptive Modulation and Coding
  • the rate of the transceiver side needs to be adjusted.
  • the above method cannot guarantee the fixing of the data transmission delay.
  • the embodiment of the present invention provides a method for fixing a delay, including the following steps: After receiving the ACM switching command, the transmitting end stores the remaining value of the previous modulation mode of the ACM switching, and simultaneously converts the latter modulation mode of the ACM switching. The remaining value is taken out, and ACM switching is performed; after the transmitting end performs ACM switching successfully, the ACM switching command is sent to the receiving end; After receiving the ACM switching command, the receiving end stores the residual value of the previous modulation mode of the ACM switching, and takes out the residual value of the latter modulation mode of the ACM switching, and performs ACM switching.
  • the ACM switching includes: setting a current modulation mode to a subsequent modulation mode of the ACM switching, and setting a parameter for enabling the generation rate to a parameter value corresponding to the latter modulation mode.
  • the residual value is a value of a clock counter or a frequency division counter used in generating a data read/write enable process.
  • the method further includes: receiving, by the receiving end, the residual value alignment information of the transmitting end; determining whether the residual value to be aligned by the residual value alignment information is a residual value in the current modulation mode, and then performing residual value compensation; The value is aligned with the residual value in the information for storage.
  • the performing the residual value compensation comprises: when receiving the first data bit of the transmission frame where the residual value alignment information is located, recording the current residual value of the receiving end; and receiving, by the receiving end, the transmission frame where the residual value alignment information is located, After receiving the current residual value of the transmitting end encapsulated in the transmission frame, the current residual value of the transmitting end is subtracted from the current residual value of the receiving end to obtain a compensation value, and the compensation value is received by the receiving end. After the current residual value of the sender is used, the generated residual values are summed and stored.
  • the embodiment of the present invention further provides a fixed apparatus for delay, including a transmitting end and a receiving end, wherein: the sending end is configured to perform a residual value of a previous modulation mode of the ACM switching after receiving the ACM switching command. Storage, at the same time, the remaining value of the latter modulation mode of the ACM switching is taken out, and ACM switching is performed; after the ACM switching is successful, the ACM switching command is sent to the receiving end; the receiving end is set to receive the ACM switching sent by the transmitting end. After the command, the residual value of the previous modulation mode of the ACM switching is stored, and the residual value of the latter modulation mode of the ACM switching is taken out, and ACM switching is performed.
  • the sending end is further configured to: when the ACM switching is performed, set the current modulation mode to the latter modulation mode of the ACM switching, and set the parameter that enables the generation rate to the parameter value corresponding to the latter modulation mode;
  • the receiving end is further configured to: when performing ACM switching, set the current modulation mode to the latter modulation mode of the ACM switching, and set the parameter that enables the generation rate to the parameter value corresponding to the latter modulation mode.
  • the residual value is a value of a clock counter or a frequency division counter used in generating a data read/write enable process.
  • the method further includes a residual value alignment module, wherein the residual value alignment module comprises: an alignment information receiving unit configured to receive the residual value alignment information of the transmitting end by the receiving end, and determine that the residual value alignment information is to be aligned Whether the residual value is the residual value in the current modulation mode; the first alignment unit is configured to perform residual value compensation when the residual value to be aligned in the residual value alignment information is the residual value in the current modulation mode; The quasi-unit is set to store the residual value in the residual value alignment information when the residual value to be aligned in the residual value alignment information is not the residual value in the current modulation mode.
  • the residual value alignment module comprises: an alignment information receiving unit configured to receive the residual value alignment information of the transmitting end by the receiving end, and determine that the residual value alignment information is to be aligned Whether the residual value is the residual value in the current modulation mode; the first alignment unit is configured to perform residual value compensation when the residual value to be aligned in the residual value alignment information is the residual value in the current modulation mode; The
  • the first residual value aligning unit is configured to: when the alignment information receiving unit receives the first data bit of the transmission frame where the residual value alignment information is located, record the current residual value of the receiving end; After receiving the current residual value of the transmitting end encapsulated in the transmission frame, the quasi-information receiving unit subtracts the current residual value of the transmitting end from the current residual value of the receiving end to obtain a compensation value, and obtains the compensation value and the receiving value. After receiving the current residual value of the sender, the terminal sums the residual values generated by the enabler and stores them.
  • the residual value when the ACM is switched, the residual value is reserved and switched, that is, the residual value generated by the link data enable can be consistent in time, so that no additional transmission delay is added during the ACM handover process.
  • the delay In the case of the data transmission, the delay is fixed.
  • the residual value is aligned, so that the residual values generated by the link data enable can be ensured at both ends of the transmission and reception, thereby further ensuring the fixed delay of the data transmission, thereby improving the data transmission efficiency.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for delay-fixing according to the present invention
  • FIG. 2 is a schematic flow chart of another embodiment of a method for delay-fixing according to the present invention. In the process of performing residual value compensation alignment
  • 4 is a schematic structural view of an embodiment of a device for delay-fixing according to the present invention.
  • FIG. 5 is a schematic structural view of another embodiment of a device for delay-fixing according to the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The technical solutions of the present invention will be further described below in conjunction with the drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • the residual value generated during the enabling generation process is reserved and switched. That is, when the ACM is switched, the counter in the generation process is not continuously counted, and the reset operation is not performed, but the remaining value of the stored corresponding modulation method is used for switching.
  • the residual value is used to generate the value counted by the clock counter or the divider counter during data read and write enable. If a counter is used in a plurality of different rate read/write enable generation processes, and the counters function the same, the residual value refers to the value of the counter in use at the current rate. In addition, the residual value has real-time performance, and the residual values at different times under the same counter are different. Thus a set of multiple residual values form a pool of residual values. The residual values in the set belong to different transmission modes, that is, the values of the counters at different read/write enable generation rates. Referring to Fig. 1, an embodiment of a method of delay fixing according to the present invention is proposed.
  • the method for fixing the delay includes the following steps: Step S110: After receiving the ACM switching command, the transmitting end stores the residual value of the previous modulation mode of the ACM switching, and simultaneously removes the residual value of the latter modulation mode of the ACM switching. And performing ACM switching; step S120, after the transmitting end performs ACM switching successfully, sending an ACM switching command to the receiving end; Step S130, after receiving the ACM switching command, the receiving end stores the remaining value of the previous modulation mode of the ACM switching. At the same time, the residual value of the latter modulation mode of the ACM switching is taken out, and ACM switching is performed. If the current modulation mode is A and needs to be switched to the modulation mode B, an ACM switching command is initiated to perform ACM switching.
  • the transmitting end After receiving the ACM switching command, the transmitting end overwrites the residual value of the current modulation mode A at the ACM switching time by the residual value of the original modulation mode A in the residual pool of the transmitting end; and simultaneously extracts the modulation from the residual value pool of the transmitting end.
  • the residual value corresponding to the mode B is used as the value of the counter used in the process of generating the rate in the modulation mode B after the switching.
  • the remaining value of the modulation mode A switching time may be overwritten by the residual value of the original modulation mode A in the residual value pool of the receiving end; and the corresponding mode of the modulation mode B is taken out from the residual value pool of the receiving end.
  • the residual value is used as the value of the counter used in the process of generating the rate in the modulation mode B after switching.
  • the modulation mode is switched back to modulation mode A, the residual value is switched and retained.
  • the method for delay-fixing in the embodiment of the present invention performs the retention and switching of the residual value when the ACM is switched, that is, the residual value generated by the link data enable can be consistent in time, so that during the ACM handover process, When additional transmission delay is added, the delay of data transmission is guaranteed to be fixed.
  • the ACM switching includes: setting a current modulation mode to a subsequent modulation mode of the ACM switching, and setting a parameter for enabling the generation rate to a parameter value corresponding to the latter modulation mode. During the ACM switching process, when the modulation mode is switched, the parameters that enable the rate generation will also be reconfigured.
  • the parameter that enables the rate of generation in modulation mode A is clock frequency division, and the frequency division ratio is S1.
  • the parameter that enables the rate of generation in modulation mode B is also divided by clock, but the frequency division ratio is S2, so When the modulation method A is switched to the modulation mode B, the parameter that enables the rate generation (that is, the clock division) is S2. Further, referring to Fig. 2, another embodiment of the method of delay fixing of the present invention is proposed.
  • the method for delaying the delay of the embodiment further includes: Step S140:
  • the receiving end receives the residual value alignment information of the transmitting end; the residual value alignment is to ensure that the residual values of the transmitting end and the receiving end are consistent, and the residual value alignment may be
  • the modulation mode is executed immediately after the switching, and may also be performed at some time after the modulation mode is switched, which may be set according to different situations.
  • the operation object aligned with the residual value may be a residual value in the current modulation mode, or may be other residual values in the residual value pool, and may also be correspondingly set according to a specific situation.
  • the residual alignment information may be in the form of a data transmission frame carrying a residual value that needs to be aligned.
  • the residual value alignment information may further include a flag to indicate the residual value of the modulation mode that needs to be aligned: whether it is the residual value in the current modulation mode, or some other modulation mode in the residual value pool.
  • the residual value Step S150, determining whether the residual value to be aligned by the residual value alignment information is the residual value in the current modulation mode, if yes, proceeding to step S160; otherwise, proceeding to step S170; determining according to the flag in the residual value alignment information
  • the residual value that needs to be aligned is the residual value in the current modulation mode, or the residual value in other modulation modes in the residual value pool.
  • Step S160 performing residual value compensation;
  • Step S170 storing the residual value in the residual value alignment information.
  • the residual value to be aligned is the residual value in other modulation modes in the residual value pool, since the residual value does not change in the current standard mode, it is only necessary to replace the residual value in the residual value.
  • the residual value in the original modulation mode in the value pool ensures that the residual values at the sender and receiver ends are consistent.
  • the residual value alignment information may be transmitted from the transmitting end to the receiving end in the form of a separate framing.
  • the foregoing step S160 includes: Step S161: When receiving the first data bit of the transmission frame where the residual value alignment information is located, record the current residual value of the receiving end; before the step S161, the transmitting end sends the remaining When the value is aligned with the first data bit of the transmission frame where the information is located, the residual value R1 of the current transmitting end is recorded, and then the residual value R1 is encapsulated into the N+dth data bit of the transmission frame to form residual value alignment information. The residual alignment information is then sent to the receiving end.
  • Step S162 The receiving end receives the transmission frame where the residual value alignment information is located, and after receiving the current residual value of the transmitting end encapsulated in the transmission frame by the transmitting end, the current residual value of the transmitting end and the current residual of the receiving end are received. The value is subtracted to obtain the compensation value, and the compensation value is summed with the residual value generated by the receiving end after receiving the current residual value of the transmitting end, and is compensated.
  • the receiving end receives the encapsulated in the transmission frame
  • the residual value compensation R0 is added to the counter generated by the receiving end enable.
  • the above data bits may be in units of bytes or in units of bits. Wherein the value of N is less than the frame length of the transmission frame, and d is the number of data bits occupied by the residual value information in the transmission frame.
  • the time used by the residual value alignment method may be performed in one frame at the beginning of the residual value switching, or may be performed in several frames after the switching, and may also be set correspondingly according to the specific situation.
  • the method for delay-fixing in the embodiment of the present invention ensures that the residual values generated by the link data enable are consistent before and after the ACM switching and both ends of the ACM, thereby further ensuring that the delay of the data transmission is fixed, thereby improving Data transmission efficiency.
  • a schematic structural view of an embodiment of a fixing device for delay of the present invention is proposed.
  • the fixed device of the delay includes a transmitting end 100 and a receiving end 200, wherein: the transmitting end 100 is configured to store the remaining value of the previous modulation mode of the ACM switching after receiving the ACM switching command, and simultaneously switch the ACM.
  • the remaining value of the latter modulation mode is taken out, and ACM switching is performed; after the ACM switching is successful, the ACM switching command is sent to the receiving end 200; the receiving end 200 is set to receive the ACM switching command sent by the transmitting end 100, The remaining value of the previous modulation mode of the ACM switching is stored, and the residual value of the latter modulation mode of the ACM switching is taken out, and ACM switching is performed. If the current modulation mode is A and needs to be switched to the modulation mode B, an ACM switching command is initiated to perform ACM switching.
  • the transmitting end 100 After receiving the ACM switching command, the transmitting end 100 overwrites the residual value of the current modulation mode A at the ACM switching time by the residual value of the original modulation mode A in the residual pool of the transmitting end; and simultaneously extracts the modulation from the residual value pool of the transmitting end.
  • the residual value corresponding to the mode B is used as the value of the counter used in the process of generating the rate in the modulation mode B after the switching.
  • the receiving end 200 When receiving the ACM switching command, the receiving end 200 covers the residual value of the current modulation mode A at the ACM switching time by the residual value of the original modulation mode A in the residual value pool of the receiving end; and simultaneously extracts the modulation mode from the residual value pool of the receiving end.
  • the residual value corresponding to B is used as the value of the counter used in the process of generating the rate in the modulation mode B after the switching.
  • the modulation mode is switched back to modulation mode A, the residual value is switched and retained. It should be understood that when performing ACM switching, the time of switching is always performed at the beginning of one frame transmission of the link to ensure that each complete frame is performed by the same read/write rate. This ensures that the switching between each modulation mode enables the generation of relative synchronization alignment.
  • the delay fixed device performs the retention and switching of the residual value when performing ACM switching, that is, the residual value generated by the link data enable can be consistent in time, so that during the ACM switching process, When additional transmission delay is added, the delay of data transmission is guaranteed to be fixed.
  • the transmitting end 100 is further configured to: when performing ACM switching, set a current modulation mode to a subsequent modulation mode of the ACM switching, and set a parameter that enables the generation rate to a parameter value corresponding to the latter modulation mode;
  • the receiving end 200 is further configured to: when performing ACM switching, set the current modulation mode to the latter modulation mode of the ACM switching, and set the parameter that enables the generation rate to the parameter value corresponding to the latter modulation mode.
  • the foregoing delay fixing apparatus further includes a residual value alignment module 300, wherein the residual value alignment module 300 includes: an information receiving unit 310 configured to receive the residual value alignment information of the transmitting end, and Determining whether the residual value to be aligned by the residual value alignment information is a residual value in the current modulation mode; the first aligning unit 320 is set to be the remaining value to be aligned in the residual value alignment information under the current modulation mode When the residual value is used, the residual value compensation is performed; the second aligning unit 330 is configured to align the residual value with the residual value in the information when the residual value to be aligned in the residual value alignment information is not the residual value in the current modulation mode.
  • the residual value alignment module 300 includes: an information receiving unit 310 configured to receive the residual value alignment information of the transmitting end, and Determining whether the residual value to be aligned by the residual value alignment information is a residual value in the current modulation mode; the first aligning unit 320 is set to be the remaining value to be aligned in the residual
  • the residual value alignment is to ensure that the residual values at the transmitting end and the receiving end are consistent.
  • the residual value alignment may be performed immediately after the modulation mode is switched, or may be performed at some time after the modulation mode switching, which may be different according to different situations. And make the appropriate settings.
  • the operation object aligned with the residual value may be a residual value in the current modulation mode, or may be other residual values in the residual value pool, and may also be correspondingly set according to a specific situation.
  • the residual alignment information may be in the form of a data transmission frame carrying a residual value that needs to be aligned.
  • the residual value alignment information may further include a flag to indicate the residual value of the modulation mode that needs to be aligned: whether it is the residual value in the current modulation mode, or some other modulation mode in the residual value pool.
  • the residual value After receiving the residual value alignment information, the alignment information receiving unit 310 determines, according to the flag in the residual value alignment information, whether the residual value to be aligned is the residual value in the current modulation mode, or other modulation mode in the residual value pool. The remainder of the value. According to the judgment result, different residual value alignment methods are used to align the same, so as to ensure that the residual values at both ends of the transmission and reception are consistent.
  • the first aligning unit 320 is configured to: when the information receiving unit 310 receives the first data bit of the transmission frame where the residual value alignment information is located, record the current residual value of the receiving end; and at the information receiving unit 310 After receiving the current residual value of the transmitting end encapsulated in the transmission frame, the current residual value of the transmitting end is subtracted from the current residual value of the receiving end to obtain a compensation value, and the compensation value is received and sent by the receiving end. After the current residual value of the terminal is enabled, the generated residual values are summed and stored.
  • the transmitting end 100 sends the first data bit of the transmission frame where the residual value alignment information is located, the residual value R1 of the current transmitting end is recorded, and then the residual value R1 is encapsulated into the N+d data bits of the transmission frame, and the remaining data bits are formed. The value is aligned with the information.
  • the residual value alignment information is then sent to the receiving end 200.
  • the information receiving unit 310 receives the first data bit of the transmission frame in which the residual value alignment information is located, the current residual value R2 of the receiving end 100 is recorded.
  • the residual value compensation R0 is added to the counter generated by the receiving end enable.
  • the method and apparatus for delay fixing provided by the embodiments of the present invention can be applied to an adaptive code modulation (ACM) switching process.
  • ACM adaptive code modulation

Abstract

Disclosed are a method and device for fixing time delay. The method comprises the following steps: after receiving an adaptive coding and modulation (ACM) switching command, a sending end storing the residual value of the modulation mode before ACM switching and meanwhile taking out the residual value of the modulation mode after ACM switching, and performing ACM switching; after successfully performing ACM switching, the sending end sending the ACM switching command to a receiving end; and after receiving the ACM switching command, the receiving end storing the residual value of the modulation mode before ACM switching and meanwhile taking out the residual value of the modulation mode after ACM switching, and performing ACM switching. According to the present invention, residual value reservation and switching are performed when ACM switching is performed, namely it is guaranteed on time that link data enables the generated residual values to be consistent, so that during ACM switching, the fixed time delay during data transmission is guaranteed in case of not adding additional transmission time delay.

Description

时延固定的方法及装置 技术领域 本发明涉及通讯领域, 尤其涉及一种时延固定的方法及装置。 背景技术 在传输网络当中, 数据的时延抖动会对传输造成影响。 特别对于同步传输网络而 言, 时延抖动和时延都是网络质量的主要评价参数。 时延抖动是指时延变化。 时延抖 动大多起源于网络中的队列或缓冲, 其产生是随机的, 也是不可避免的。 目前, 现有的控制传输时延抖动一般利用缓存容量抗抖动, 延迟数据输出。 具体 原理为: 将数据流缓存到一定的数量, 先预置一个数据延迟时间, 再以恒定的速率输 出。 该延迟时间大于等于正常数据传输时的时延抖动偏差, 在链路瞬时的小流量数据 时由已经存储的数据来抵挡时延抖动。 同时缓存留出一定量的存储空间, 在链路瞬时 的大流量数据时, 可以由缓存空余的容量来抵挡时延抖动。 将数据进行延迟的缓存, 使得数据都延迟一定时间后输出, 进而确保传输数据时延的固定。 上述方法虽然实现简单, 但是却不可避免的造成的数据时延增大的缺陷, 需要一 定容量的缓存。 而且对于有些网络 (例如微波网络), 其使用了自适应编码调制 (Adaptive Modulation and Coding, 简称为 ACM) 技术, 存在不同调制方式之间相互 切换的情况。 在该种情况下, 为了使得数据传输的速率与调制切换之后的速率匹配, 需要对收发缓存侧的速率进行调整。 而在调整的过程中, 使用上述方法不能保证数据 传输时延的固定。 发明内容 本发明实施例提供了一种时延固定的方案, 旨在自适应编码调制切换过程中可以 保证数据传输时延的固定。 本发明实施例提供了一种时延固定的方法, 包括以下步骤: 发送端接收到 ACM切换命令后, 将 ACM切换的前一调制方式的余值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进行 ACM切换; 发送端进行 ACM切换成功后, 发送 ACM切换命令至接收端; 接收端接收到该 ACM切换命令后,将 ACM切换的前一调制方式的余值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进行 ACM切换。 优选地, 所述 ACM切换包括: 将当前调制方式设置为 ACM切换的后一调制方式, 并将使能产生速率的参数设 置为后一调制方式相应的参数值。 优选地, 所述余值是在产生数据读写使能过程中, 所使用的时钟计数器或者分频 计数器的值。 优选地, 还包括: 接收端接收发送端的余值对准信息; 判断该余值对准信息所要对准的余值是否为当前调制方式下的余值, 是则进行余 值补偿; 否则将余值对准信息中的余值进行存储。 优选地, 所述进行余值补偿包括: 接收到该余值对准信息所在传输帧的第一数据位时, 记录接收端当前的余值; 接收端接收余值对准信息所在的传输帧, 并在接收到发送端封装至该传输帧中的 发送端当前的余值后, 将发送端当前的余值与接收端当前的余值相减获得补偿值, 并 将该补偿值与接收端接收到发送端当前的余值后使能产生的余值求和后, 对其进行存 储。 本发明实施例还提供了一种时延的固定装置, 包括发送端及接收端, 其中: 所述发送端设置为在接收到 ACM切换命令后,将 ACM切换的前一调制方式的余 值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进行 ACM切换; 在进 行 ACM切换成功后, 发送 ACM切换命令至接收端; 所述接收端设置为接收到发送端发送的 ACM切换命令后,将 ACM切换的前一调 制方式的余值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进行 ACM 切换。 优选地,所述发送端还设置为:在进行 ACM切换时,将当前调制方式设置为 ACM 切换的后一调制方式, 并将使能产生速率的参数设置为后一调制方式相应的参数值; 所述接收端还设置为:在进行 ACM切换时,将当前调制方式设置为 ACM切换的 后一调制方式, 并将使能产生速率的参数设置为后一调制方式相应的参数值。 优选地, 所述余值是在产生数据读写使能过程中, 所使用的时钟计数器或者分频 计数器的值。 优选地, 还包括余值对准模块, 其中余值对准模块包括: 对准信息接收单元, 设置为接收端接收发送端的余值对准信息, 并判断该余值对 准信息所要对准的余值是否为当前调制方式下的余值; 第一对准单元, 设置为在余值对准信息所要对准的余值为当前调制方式下的余值 时, 进行余值补偿; 第二对准单元, 设置为在余值对准信息所要对准的余值不是当前调制方式下的余 值时, 将余值对准信息中的余值进行存储。 优选地, 所述第一余值对准单元设置为: 在对准信息接收单元接收到该余值对准 信息所在传输帧的第一数据位时, 记录接收端当前的余值; 并在对准信息接收单元接 收到发送端封装至该传输帧中的发送端当前的余值后, 将发送端当前的余值与接收端 当前的余值相减获得补偿值, 并将该补偿值与接收端接收到发送端当前的余值后使能 产生的余值求和后, 对其进行存储。 本发明实施例通过在进行 ACM切换时, 进行余值的保留与切换, 即在时间上可 以保证链路数据使能产生的余值一致, 使得在 ACM切换过程中, 在不增加额外传输 延时的情况下, 保证数据传输的时延固定。 本发明实施例还通过余值对准, 使得在收 发两端也可以保证链路数据使能产生的余值一致,进一步保证了数据传输的时延固定, 从而提高数据的传输效率。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发明的示 意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图中: 图 1是本发明时延固定的方法一实施例的流程示意图; 图 2是本发明时延固定的方法另一实施例的流程示意图; 图 3是本发明时延固定的方法中, 进行余值补偿对准的流程示意图; 图 4是本发明时延固定的装置一实施例的结构示意图; 图 5是本发明时延固定的装置另一实施例的结构示意图。 具体实施方式 以下结合说明书附图及具体实施例进一步说明本发明的技术方案。 应当理解, 此 处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。 本发明实施例通过在发送端与接收端进行 ACM切换时, 对使能生成过程中产生 的余值进行保留与切换。 即在 ACM切换时, 使能生成过程中的计数器不继续进行计 数, 也不进行清零复位操作, 而是使用存储的对应调制方式的余值进行切换。 余值用 于产生数据读写使能过程中, 时钟计数器或者分频计数器所计的值。 若多个不同速率 读写使能产生过程中分别使用到计数器, 且这些计数器作用相同, 则余值就指当前速 率下在使用中的计数器的值。 另外, 余值具有实时性, 同一计数器下不同时刻的余值 不同。 因此多个余值的集合形成余值池。 该集合内的余值分属不同的传输方式, 即不 同读写使能产生速率下的计数器的值。 参照图 1, 提出本发明时延固定的方法一实施例。 该时延固定的方法包括以下步 骤: 步骤 S110、 发送端接收到 ACM切换命令后, 将 ACM切换的前一调制方式的余 值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进行 ACM切换; 步骤 S120、 发送端进行 ACM切换成功后, 发送 ACM切换命令至接收端; 步骤 S130、 接收端接收到该 ACM切换命令后, 将 ACM切换的前一调制方式的 余值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进行 ACM切换。 若当前调制方式为 A, 而且需要切换为调制方式 B时, 则发起 ACM切换命令, 进行 ACM切换。 当发送端接收到该 ACM切换命令之后, 将当前调制方式 A在 ACM 切换时刻的的余值覆盖掉发送端余值池中原有调制方式 A的余值; 同时从发送端余值 池中取出调制方式 B对应的余值,作为切换后的调制方式 B下使能产生速率过程中使 用的计数器的值。 当发送端进行 ACM切换成功后, 将 ACM切换命令发送至接收端。 接收端接收到该 ACM切换命令时, 可以将调制方式 A切换时刻的余值覆盖掉接收端 余值池中原有调制方式 A的余值;同时从接收端余值池中取出调制方式 B对应的余值, 作为切换后的调制方式 B下使能产生速率过程中使用的计数器的值。 当调制方式重新 切换到调制方式 A时, 再进行余值的切换和保留。 应当理解, 在进行 ACM切换时, 切换的时刻始终是在链路传输一帧的开始时刻进行, 以保证每一个完整的帧都是由同 一个读写速率进行的。 由此可以保证每个调制方式之间切换的时候, 使能产生能够相 对同步对齐。 进而在时间上保证收发两端的使能产生时刻是一致的。 本发明实施例时延固定的方法通过在进行 ACM切换时, 进行余值的保留与切换, 即在时间上可以保证链路数据使能产生的余值一致, 使得在 ACM切换过程中, 在不 增加额外传输延时的情况下, 保证数据传输的时延固定。 进一步的, 所述 ACM切换包括: 将当前调制方式设置为 ACM切换的后一调制方式, 并将使能产生速率的参数设 置为后一调制方式相应的参数值。 在 ACM切换过程中, 当调制方式切换后, 其使能产生速率的参数也将重新配置。 例如, 调制方式 A下使能产生速率的参数为时钟分频, 且分频比为 Sl, 调制方式 B 下使能产生速率的参数也为时钟分频,但其分频比为 S2, 因此在调制方式 A切换为调 制方式 B时, 使能产生速率的参数 (即时钟分频) 为 S2。 进一步的, 参照图 2, 提出本发明时延固定的方法另一实施例。 该实施例时延固 定的方法还包括: 步骤 S140、 接收端接收发送端的余值对准信息; 余值对准是为了保证发送端与接收端两端的余值一致, 该余值对准可以在调制方 式切换之后立即执行, 也可以在调制方式切换之后的若干时间进行, 其可以根据不同 的情况而进行相应的设置。而且该余值对准的操作对象可以是当前调制方式下的余值, 也可以为余值池中的其他余值, 其也可以根据具体的情况进行相应的设置。 该余值对 准信息可以为数据传输帧的形式, 该数据传输帧中携带有需要对准的余值。 该余值对 准信息中还可包括一标志, 以表示需要对准的余值是何种调制方式的余值: 是当前调 制方式下的余值, 还是余值池中其他某种调制方式下的余值。 步骤 S150、 判断该余值对准信息所要对准的余值是否为当前调制方式下的余值, 是则转入步骤 S160; 否则转入步骤 S170; 根据余值对准信息中的标志, 判断需要对准的余值是当前调制方式下的余值, 还 是余值池中其他调制方式下的余值。 步骤 S160、 进行余值补偿; 当需要对准的余值是当前调制方式下的余值时, 由于余值的实时性, 所以该余值 对准时, 需要对其进行余值补偿, 才能保证发送端和接收端两端的余值保持一致。 步骤 S170、 将余值对准信息中的余值进行存储。 当需要对准的余值是余值池中其他调制方式下的余值时, 由于该余值在当前制式 方式下不会发生变化, 所以仅需将余值对准信息中的余值替换余值池中原有调制方式 下的余值, 以保证发送端和接收端两端的余值保持一致。 应当理解, 由于该余值在当 前制式方式下不会发生变化, 所以该余值对准信息可以通过单独组帧的形式由发送端 传输至接收端。 进一步的, 参照图 3, 上述步骤 S160包括: 步骤 S161、接收到该余值对准信息所在传输帧的第一数据位时, 记录接收端当前 的余值; 在步骤 S161之前,发送端发送余值对准信息所在传输帧的第一数据位时,记录下 当前发送端的余值 Rl, 然后将余值 R1封装至该传输帧的第 N+d个数据位中, 形成余 值对准信息。 然后将该余值对准信息发送至接收端。 该接收端接收到该余值对准信息 所在传输帧的第一数据位时, 记录接收端当前的余值 R2。 步骤 S162、接收端接收余值对准信息所在的传输帧, 并在接收到发送端封装至该 传输帧中的发送端当前的余值后, 将发送端当前的余值与接收端当前的余值相减获得 补偿值, 并将该补偿值与接收端接收到发送端当前的余值后使能产生的余值求和, 对 其进行补偿。 接收端在接收余值对准信息中的传输帧的过程中, 若接收到封装在传输帧的第TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a method and an apparatus for delaying a time delay. BACKGROUND OF THE INVENTION In a transmission network, delay jitter of data affects transmission. Especially for synchronous transmission networks, delay jitter and delay are the main evaluation parameters of network quality. Delay jitter is the change in delay. Delay jitter mostly originates from queues or buffers in the network, and its generation is random and inevitable. At present, the existing control transmission delay jitter generally utilizes the buffer capacity to resist jitter and delay data output. The specific principle is as follows: The data stream is buffered to a certain amount, and a data delay time is preset, and then output at a constant rate. The delay time is greater than or equal to the delay jitter deviation of the normal data transmission, and the delay jitter is resisted by the already stored data when the link traffic is small. At the same time, the buffer leaves a certain amount of storage space, and when the link has a large amount of traffic data, the cached spare capacity can be used to resist the delay jitter. The data is buffered in a delayed manner, so that the data is delayed after a certain period of time, thereby ensuring the fixed data delay. Although the above method is simple to implement, it is inevitable that the data delay is increased, and a buffer of a certain capacity is required. Moreover, for some networks (such as microwave networks), Adaptive Modulation and Coding (ACM) technology is used, and there are cases where different modulation modes are switched between each other. In this case, in order to match the rate of data transmission with the rate after modulation switching, the rate of the transceiver side needs to be adjusted. In the process of adjustment, the above method cannot guarantee the fixing of the data transmission delay. SUMMARY OF THE INVENTION The embodiments of the present invention provide a fixed delay scheme, which is intended to ensure the fixation of data transmission delay during adaptive coding and modulation switching. The embodiment of the present invention provides a method for fixing a delay, including the following steps: After receiving the ACM switching command, the transmitting end stores the remaining value of the previous modulation mode of the ACM switching, and simultaneously converts the latter modulation mode of the ACM switching. The remaining value is taken out, and ACM switching is performed; after the transmitting end performs ACM switching successfully, the ACM switching command is sent to the receiving end; After receiving the ACM switching command, the receiving end stores the residual value of the previous modulation mode of the ACM switching, and takes out the residual value of the latter modulation mode of the ACM switching, and performs ACM switching. Preferably, the ACM switching includes: setting a current modulation mode to a subsequent modulation mode of the ACM switching, and setting a parameter for enabling the generation rate to a parameter value corresponding to the latter modulation mode. Preferably, the residual value is a value of a clock counter or a frequency division counter used in generating a data read/write enable process. Preferably, the method further includes: receiving, by the receiving end, the residual value alignment information of the transmitting end; determining whether the residual value to be aligned by the residual value alignment information is a residual value in the current modulation mode, and then performing residual value compensation; The value is aligned with the residual value in the information for storage. Preferably, the performing the residual value compensation comprises: when receiving the first data bit of the transmission frame where the residual value alignment information is located, recording the current residual value of the receiving end; and receiving, by the receiving end, the transmission frame where the residual value alignment information is located, After receiving the current residual value of the transmitting end encapsulated in the transmission frame, the current residual value of the transmitting end is subtracted from the current residual value of the receiving end to obtain a compensation value, and the compensation value is received by the receiving end. After the current residual value of the sender is used, the generated residual values are summed and stored. The embodiment of the present invention further provides a fixed apparatus for delay, including a transmitting end and a receiving end, wherein: the sending end is configured to perform a residual value of a previous modulation mode of the ACM switching after receiving the ACM switching command. Storage, at the same time, the remaining value of the latter modulation mode of the ACM switching is taken out, and ACM switching is performed; after the ACM switching is successful, the ACM switching command is sent to the receiving end; the receiving end is set to receive the ACM switching sent by the transmitting end. After the command, the residual value of the previous modulation mode of the ACM switching is stored, and the residual value of the latter modulation mode of the ACM switching is taken out, and ACM switching is performed. Preferably, the sending end is further configured to: when the ACM switching is performed, set the current modulation mode to the latter modulation mode of the ACM switching, and set the parameter that enables the generation rate to the parameter value corresponding to the latter modulation mode; The receiving end is further configured to: when performing ACM switching, set the current modulation mode to the latter modulation mode of the ACM switching, and set the parameter that enables the generation rate to the parameter value corresponding to the latter modulation mode. Preferably, the residual value is a value of a clock counter or a frequency division counter used in generating a data read/write enable process. Preferably, the method further includes a residual value alignment module, wherein the residual value alignment module comprises: an alignment information receiving unit configured to receive the residual value alignment information of the transmitting end by the receiving end, and determine that the residual value alignment information is to be aligned Whether the residual value is the residual value in the current modulation mode; the first alignment unit is configured to perform residual value compensation when the residual value to be aligned in the residual value alignment information is the residual value in the current modulation mode; The quasi-unit is set to store the residual value in the residual value alignment information when the residual value to be aligned in the residual value alignment information is not the residual value in the current modulation mode. Preferably, the first residual value aligning unit is configured to: when the alignment information receiving unit receives the first data bit of the transmission frame where the residual value alignment information is located, record the current residual value of the receiving end; After receiving the current residual value of the transmitting end encapsulated in the transmission frame, the quasi-information receiving unit subtracts the current residual value of the transmitting end from the current residual value of the receiving end to obtain a compensation value, and obtains the compensation value and the receiving value. After receiving the current residual value of the sender, the terminal sums the residual values generated by the enabler and stores them. In the embodiment of the present invention, when the ACM is switched, the residual value is reserved and switched, that is, the residual value generated by the link data enable can be consistent in time, so that no additional transmission delay is added during the ACM handover process. In the case of the data transmission, the delay is fixed. In the embodiment of the present invention, the residual value is aligned, so that the residual values generated by the link data enable can be ensured at both ends of the transmission and reception, thereby further ensuring the fixed delay of the data transmission, thereby improving the data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic flow chart of an embodiment of a method for delay-fixing according to the present invention; FIG. 2 is a schematic flow chart of another embodiment of a method for delay-fixing according to the present invention; In the process of performing residual value compensation alignment; 4 is a schematic structural view of an embodiment of a device for delay-fixing according to the present invention; and FIG. 5 is a schematic structural view of another embodiment of a device for delay-fixing according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The technical solutions of the present invention will be further described below in conjunction with the drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In the embodiment of the present invention, when the ACM is switched between the transmitting end and the receiving end, the residual value generated during the enabling generation process is reserved and switched. That is, when the ACM is switched, the counter in the generation process is not continuously counted, and the reset operation is not performed, but the remaining value of the stored corresponding modulation method is used for switching. The residual value is used to generate the value counted by the clock counter or the divider counter during data read and write enable. If a counter is used in a plurality of different rate read/write enable generation processes, and the counters function the same, the residual value refers to the value of the counter in use at the current rate. In addition, the residual value has real-time performance, and the residual values at different times under the same counter are different. Thus a set of multiple residual values form a pool of residual values. The residual values in the set belong to different transmission modes, that is, the values of the counters at different read/write enable generation rates. Referring to Fig. 1, an embodiment of a method of delay fixing according to the present invention is proposed. The method for fixing the delay includes the following steps: Step S110: After receiving the ACM switching command, the transmitting end stores the residual value of the previous modulation mode of the ACM switching, and simultaneously removes the residual value of the latter modulation mode of the ACM switching. And performing ACM switching; step S120, after the transmitting end performs ACM switching successfully, sending an ACM switching command to the receiving end; Step S130, after receiving the ACM switching command, the receiving end stores the remaining value of the previous modulation mode of the ACM switching. At the same time, the residual value of the latter modulation mode of the ACM switching is taken out, and ACM switching is performed. If the current modulation mode is A and needs to be switched to the modulation mode B, an ACM switching command is initiated to perform ACM switching. After receiving the ACM switching command, the transmitting end overwrites the residual value of the current modulation mode A at the ACM switching time by the residual value of the original modulation mode A in the residual pool of the transmitting end; and simultaneously extracts the modulation from the residual value pool of the transmitting end. The residual value corresponding to the mode B is used as the value of the counter used in the process of generating the rate in the modulation mode B after the switching. After the sender performs the ACM handover successfully, the ACM handover command is sent to the receiver. When the receiving end receives the ACM switching command, the remaining value of the modulation mode A switching time may be overwritten by the residual value of the original modulation mode A in the residual value pool of the receiving end; and the corresponding mode of the modulation mode B is taken out from the residual value pool of the receiving end. The residual value is used as the value of the counter used in the process of generating the rate in the modulation mode B after switching. When the modulation mode is switched back to modulation mode A, the residual value is switched and retained. It should be understood that when performing ACM switching, The moment of handover is always performed at the beginning of a frame transmission, to ensure that each complete frame is performed by the same read/write rate. This ensures that the switching between each modulation mode enables the generation of relative synchronization alignment. Furthermore, it is ensured in time that the enabling times of the transmitting and receiving ends are the same. The method for delay-fixing in the embodiment of the present invention performs the retention and switching of the residual value when the ACM is switched, that is, the residual value generated by the link data enable can be consistent in time, so that during the ACM handover process, When additional transmission delay is added, the delay of data transmission is guaranteed to be fixed. Further, the ACM switching includes: setting a current modulation mode to a subsequent modulation mode of the ACM switching, and setting a parameter for enabling the generation rate to a parameter value corresponding to the latter modulation mode. During the ACM switching process, when the modulation mode is switched, the parameters that enable the rate generation will also be reconfigured. For example, the parameter that enables the rate of generation in modulation mode A is clock frequency division, and the frequency division ratio is S1. The parameter that enables the rate of generation in modulation mode B is also divided by clock, but the frequency division ratio is S2, so When the modulation method A is switched to the modulation mode B, the parameter that enables the rate generation (that is, the clock division) is S2. Further, referring to Fig. 2, another embodiment of the method of delay fixing of the present invention is proposed. The method for delaying the delay of the embodiment further includes: Step S140: The receiving end receives the residual value alignment information of the transmitting end; the residual value alignment is to ensure that the residual values of the transmitting end and the receiving end are consistent, and the residual value alignment may be The modulation mode is executed immediately after the switching, and may also be performed at some time after the modulation mode is switched, which may be set according to different situations. Moreover, the operation object aligned with the residual value may be a residual value in the current modulation mode, or may be other residual values in the residual value pool, and may also be correspondingly set according to a specific situation. The residual alignment information may be in the form of a data transmission frame carrying a residual value that needs to be aligned. The residual value alignment information may further include a flag to indicate the residual value of the modulation mode that needs to be aligned: whether it is the residual value in the current modulation mode, or some other modulation mode in the residual value pool. The residual value. Step S150, determining whether the residual value to be aligned by the residual value alignment information is the residual value in the current modulation mode, if yes, proceeding to step S160; otherwise, proceeding to step S170; determining according to the flag in the residual value alignment information The residual value that needs to be aligned is the residual value in the current modulation mode, or the residual value in other modulation modes in the residual value pool. Step S160, performing residual value compensation; When the residual value to be aligned is the residual value in the current modulation mode, due to the real-time nature of the residual value, when the residual value is aligned, it needs to be compensated for the residual value to ensure the residual value at both the transmitting end and the receiving end. be consistent. Step S170: storing the residual value in the residual value alignment information. When the residual value to be aligned is the residual value in other modulation modes in the residual value pool, since the residual value does not change in the current standard mode, it is only necessary to replace the residual value in the residual value. The residual value in the original modulation mode in the value pool ensures that the residual values at the sender and receiver ends are consistent. It should be understood that since the residual value does not change in the current system mode, the residual value alignment information may be transmitted from the transmitting end to the receiving end in the form of a separate framing. Further, referring to FIG. 3, the foregoing step S160 includes: Step S161: When receiving the first data bit of the transmission frame where the residual value alignment information is located, record the current residual value of the receiving end; before the step S161, the transmitting end sends the remaining When the value is aligned with the first data bit of the transmission frame where the information is located, the residual value R1 of the current transmitting end is recorded, and then the residual value R1 is encapsulated into the N+dth data bit of the transmission frame to form residual value alignment information. The residual alignment information is then sent to the receiving end. When the receiving end receives the first data bit of the transmission frame in which the residual value alignment information is located, the current residual value R2 of the receiving end is recorded. Step S162: The receiving end receives the transmission frame where the residual value alignment information is located, and after receiving the current residual value of the transmitting end encapsulated in the transmission frame by the transmitting end, the current residual value of the transmitting end and the current residual of the receiving end are received. The value is subtracted to obtain the compensation value, and the compensation value is summed with the residual value generated by the receiving end after receiving the current residual value of the transmitting end, and is compensated. In the process of receiving the transmission frame in the residual value alignment information, the receiving end receives the encapsulated in the transmission frame
N+d个数据位中的余值 R1时, 将余值 R1与余值 R2相减, 获得余值补偿 R0=R1-R2, 并在接收端产生第 N+d+1个数据位数据使能时, 将余值补偿 R0加入接收端使能产生 的计数器中。 上述数据位可以是以字节为单位, 也可以是以比特为单位。 其中 N的值小于传输 帧的帧长, d 为余值信息在传输帧中占用的数据位个数。 余值对准方法使用的时刻可 以在余值切换开始的一帧进行, 也可以在切换之后的若干帧进行, 其也可以根据具体 情况而进行相应的设置。 本发明实施例时延固定的方法通过余值保留与切换使得在 ACM切换前后及收发 两端均可以保证链路数据使能产生的余值一致, 进一步保证了数据传输的时延固定, 从而提高数据的传输效率。 参照图 4, 提出了本发明时延的固定装置一实施例的结构示意图。 该时延的固定 装置包括发送端 100及接收端 200, 其中: 所述发送端 100设置为在接收到 ACM切换命令后,将 ACM切换的前一调制方式 的余值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进行 ACM切换; 在进行 ACM切换成功后, 发送 ACM切换命令至接收端 200; 所述接收端 200设置为接收到发送端 100发送的 ACM切换命令后,将 ACM切换 的前一调制方式的余值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并 进行 ACM切换。 若当前调制方式为 A, 而且需要切换为调制方式 B时, 则发起 ACM切换命令, 进行 ACM切换。 当发送端 100接收到该 ACM切换命令之后, 将当前调制方式 A在 ACM切换时刻的余值覆盖掉发送端余值池中原有调制方式 A的余值; 同时从发送端 余值池中取出调制方式 B对应的余值,作为切换后的调制方式 B下使能产生速率过程 中使用的计数器的值。当发送端 100进行 ACM切换成功后,将 ACM切换命令发送至 接收端 200。接收端 200接收到该 ACM切换命令时,将当前调制方式 A在 ACM切换 时刻的余值覆盖掉接收端余值池中原有调制方式 A的余值; 同时从接收端余值池中取 出调制方式 B对应的余值,作为切换后的调制方式 B下使能产生速率过程中使用的计 数器的值。 当调制方式重新切换到调制方式 A时, 再进行余值的切换和保留。 应当理 解, 在进行 ACM切换时, 切换的时刻始终是在链路传输一帧的开始时刻进行, 以保 证每一个完整的帧都是由同一个读写速率进行的。 由此可以保证每个调制方式之间切 换的时候, 使能产生能够相对同步对齐。 进而在时间上保证收发两端的使能产生时刻 是一致的。 本发明实施例时延固定的装置通过在进行 ACM切换时, 进行余值的保留与切换, 即在时间上可以保证链路数据使能产生的余值一致, 使得在 ACM切换过程中, 在不 增加额外传输延时的情况下, 保证数据传输的时延固定。 进一步的, 上述发送端 100还设置为: 在进行 ACM切换时, 将当前调制方式设 置为 ACM切换的后一调制方式, 并将使能产生速率的参数设置为后一调制方式相应 的参数值; 所述接收端 200还设置为:在进行 ACM切换时,将当前调制方式设置为 ACM切 换的后一调制方式, 并将使能产生速率的参数设置为后一调制方式相应的参数值。 进一步的, 参照图 5, 上述时延的固定装置还包括余值对准模块 300, 其中余值对 准模块 300包括: 信息接收单元 310, 设置为接收端接收发送端的余值对准信息, 并判断该余值对 准信息所要对准的余值是否为当前调制方式下的余值; 第一对准单元 320, 设置为在余值对准信息所要对准的余值为当前调制方式下的 余值时, 进行余值补偿; 第二对准单元 330, 设置为在余值对准信息所要对准的余值不是当前调制方式下 的余值时, 将余值对准信息中的余值进行存储。 余值对准是为了保证发送端与接收端两端的余值一致, 该余值对准可以在调制方 式切换之后立即执行, 也可以在调制方式切换之后的若干时间进行, 其可以根据不同 的情况而进行相应的设置。而且该余值对准的操作对象可以是当前调制方式下的余值, 也可以为余值池中的其他余值, 其也可以根据具体的情况进行相应的设置。 该余值对 准信息可以为数据传输帧的形式, 该数据传输帧中携带有需要对准的余值。 该余值对 准信息中还可包括一标志, 以表示需要对准的余值是何种调制方式的余值: 是当前调 制方式下的余值, 还是余值池中其他某种调制方式下的余值。 对准信息接收单元 310 接收到该余值对准信息后, 根据余值对准信息中的标志, 判断需要对准的余值是当前 调制方式下的余值, 还是余值池中其他调制方式下的余值。 并根据判断结果使用不同 的余值对准方式对其进行对准, 以保证收发两端的余值保持一致。 进一步的, 上述第一对准单元 320设置为: 在信息接收单元 310接收到该余值对 准信息所在传输帧的第一数据位时, 记录接收端当前的余值; 并在信息接收单元 310 接收到发送端封装至该传输帧中的发送端当前的余值后, 将发送端当前的余值与接收 端当前的余值相减获得补偿值, 并将该补偿值与接收端接收到发送端当前的余值后使 能产生的余值求和后, 对其进行存储。 发送端 100发送余值对准信息所在传输帧的第一数据位时, 记录下当前发送端的 余值 Rl, 然后将余值 R1封装至该传输帧的第 N+d个数据位中, 形成余值对准信息。 然后将该余值对准信息发送至接收端 200。 该信息接收单元 310接收到该余值对准信 息所在传输帧的第一数据位时, 记录接收端 100当前的余值 R2。在接收余值对准信息 所在的传输帧的过程中,若信息接收单元 310接收到封装在传输帧的第 N+d个数据位 中的余值 R1时,第一对准单元 320将余值 R1与余值 R2相减,获得余值补偿 R0=R1-R2, 并在接收端产生第 N+d+1个数据位数据使能时, 将余值补偿 R0加入接收端使能产生 的计数器中。 本发明实施例的时延固定的装置通过余值保留与切换、 余值对准, 使得在 ACM 切换前后及收发两端均可以保证链路数据使能产生的余值一致, 进一步保证了数据传 输的时延固定, 从而提高数据的传输效率。 需要说明的是, 本发明实施例提供的时延 固定的方法及装置可以应用于自适应编码调制 (ACM) 切换过程中。 以上所述仅为本发明的优选实施例, 并非因此限制其专利范围, 凡是利用本发明 说明书及附图内容所作的等效结构或等效流程变换, 直接或间接运用在其他相关的技 术领域, 均同理包括在本发明的专利保护范围内。 When the residual value R1 in the N+d data bits is subtracted, the residual value R1 is subtracted from the residual value R2 to obtain the residual value compensation R0=R1-R2, and the N+d+1th data bit data is generated at the receiving end. When possible, the residual value compensation R0 is added to the counter generated by the receiving end enable. The above data bits may be in units of bytes or in units of bits. Wherein the value of N is less than the frame length of the transmission frame, and d is the number of data bits occupied by the residual value information in the transmission frame. The time used by the residual value alignment method may be performed in one frame at the beginning of the residual value switching, or may be performed in several frames after the switching, and may also be set correspondingly according to the specific situation. The method for delay-fixing in the embodiment of the present invention ensures that the residual values generated by the link data enable are consistent before and after the ACM switching and both ends of the ACM, thereby further ensuring that the delay of the data transmission is fixed, thereby improving Data transmission efficiency. Referring to Fig. 4, a schematic structural view of an embodiment of a fixing device for delay of the present invention is proposed. The fixed device of the delay includes a transmitting end 100 and a receiving end 200, wherein: the transmitting end 100 is configured to store the remaining value of the previous modulation mode of the ACM switching after receiving the ACM switching command, and simultaneously switch the ACM. The remaining value of the latter modulation mode is taken out, and ACM switching is performed; after the ACM switching is successful, the ACM switching command is sent to the receiving end 200; the receiving end 200 is set to receive the ACM switching command sent by the transmitting end 100, The remaining value of the previous modulation mode of the ACM switching is stored, and the residual value of the latter modulation mode of the ACM switching is taken out, and ACM switching is performed. If the current modulation mode is A and needs to be switched to the modulation mode B, an ACM switching command is initiated to perform ACM switching. After receiving the ACM switching command, the transmitting end 100 overwrites the residual value of the current modulation mode A at the ACM switching time by the residual value of the original modulation mode A in the residual pool of the transmitting end; and simultaneously extracts the modulation from the residual value pool of the transmitting end. The residual value corresponding to the mode B is used as the value of the counter used in the process of generating the rate in the modulation mode B after the switching. After the transmitting end 100 performs the ACM switching successfully, the ACM switching command is sent to the receiving end 200. When receiving the ACM switching command, the receiving end 200 covers the residual value of the current modulation mode A at the ACM switching time by the residual value of the original modulation mode A in the residual value pool of the receiving end; and simultaneously extracts the modulation mode from the residual value pool of the receiving end. The residual value corresponding to B is used as the value of the counter used in the process of generating the rate in the modulation mode B after the switching. When the modulation mode is switched back to modulation mode A, the residual value is switched and retained. It should be understood that when performing ACM switching, the time of switching is always performed at the beginning of one frame transmission of the link to ensure that each complete frame is performed by the same read/write rate. This ensures that the switching between each modulation mode enables the generation of relative synchronization alignment. Furthermore, it is ensured in time that the enabling times of the transmitting and receiving ends are the same. In the embodiment of the present invention, the delay fixed device performs the retention and switching of the residual value when performing ACM switching, that is, the residual value generated by the link data enable can be consistent in time, so that during the ACM switching process, When additional transmission delay is added, the delay of data transmission is guaranteed to be fixed. Further, the transmitting end 100 is further configured to: when performing ACM switching, set a current modulation mode to a subsequent modulation mode of the ACM switching, and set a parameter that enables the generation rate to a parameter value corresponding to the latter modulation mode; The receiving end 200 is further configured to: when performing ACM switching, set the current modulation mode to the latter modulation mode of the ACM switching, and set the parameter that enables the generation rate to the parameter value corresponding to the latter modulation mode. Further, referring to FIG. 5, the foregoing delay fixing apparatus further includes a residual value alignment module 300, wherein the residual value alignment module 300 includes: an information receiving unit 310 configured to receive the residual value alignment information of the transmitting end, and Determining whether the residual value to be aligned by the residual value alignment information is a residual value in the current modulation mode; the first aligning unit 320 is set to be the remaining value to be aligned in the residual value alignment information under the current modulation mode When the residual value is used, the residual value compensation is performed; the second aligning unit 330 is configured to align the residual value with the residual value in the information when the residual value to be aligned in the residual value alignment information is not the residual value in the current modulation mode. Store. The residual value alignment is to ensure that the residual values at the transmitting end and the receiving end are consistent. The residual value alignment may be performed immediately after the modulation mode is switched, or may be performed at some time after the modulation mode switching, which may be different according to different situations. And make the appropriate settings. Moreover, the operation object aligned with the residual value may be a residual value in the current modulation mode, or may be other residual values in the residual value pool, and may also be correspondingly set according to a specific situation. The residual alignment information may be in the form of a data transmission frame carrying a residual value that needs to be aligned. The residual value alignment information may further include a flag to indicate the residual value of the modulation mode that needs to be aligned: whether it is the residual value in the current modulation mode, or some other modulation mode in the residual value pool. The residual value. After receiving the residual value alignment information, the alignment information receiving unit 310 determines, according to the flag in the residual value alignment information, whether the residual value to be aligned is the residual value in the current modulation mode, or other modulation mode in the residual value pool. The remainder of the value. According to the judgment result, different residual value alignment methods are used to align the same, so as to ensure that the residual values at both ends of the transmission and reception are consistent. Further, the first aligning unit 320 is configured to: when the information receiving unit 310 receives the first data bit of the transmission frame where the residual value alignment information is located, record the current residual value of the receiving end; and at the information receiving unit 310 After receiving the current residual value of the transmitting end encapsulated in the transmission frame, the current residual value of the transmitting end is subtracted from the current residual value of the receiving end to obtain a compensation value, and the compensation value is received and sent by the receiving end. After the current residual value of the terminal is enabled, the generated residual values are summed and stored. When the transmitting end 100 sends the first data bit of the transmission frame where the residual value alignment information is located, the residual value R1 of the current transmitting end is recorded, and then the residual value R1 is encapsulated into the N+d data bits of the transmission frame, and the remaining data bits are formed. The value is aligned with the information. The residual value alignment information is then sent to the receiving end 200. When the information receiving unit 310 receives the first data bit of the transmission frame in which the residual value alignment information is located, the current residual value R2 of the receiving end 100 is recorded. In the process of receiving the transmission frame in which the residual value alignment information is located, if the information receiving unit 310 receives the N+d data bits encapsulated in the transmission frame When the residual value R1 is in the middle, the first aligning unit 320 subtracts the residual value R1 from the residual value R2 to obtain the residual value compensation R0=R1-R2, and generates the N+d+1th data bit data at the receiving end. When possible, the residual value compensation R0 is added to the counter generated by the receiving end enable. The device with fixed delay of the embodiment of the present invention ensures that the residual value generated by the link data is consistent before and after the ACM switching and the two ends of the ACM are switched, and the data transmission is further ensured. The delay is fixed, thereby improving the data transmission efficiency. It should be noted that the method and apparatus for delay fixing provided by the embodiments of the present invention can be applied to an adaptive code modulation (ACM) switching process. The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the patents. The equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims

权 利 要 求 书 、 一种时延固定的方法, 包括以下步骤: A claim for rights, a method of fixed time delay, including the following steps:
发送端接收到自适应编码调制 ACM切换命令后, 将 ACM切换的前一调 制方式的余值进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进 行 ACM切换;  After receiving the adaptive code modulation ACM switching command, the transmitting end stores the residual value of the previous modulation mode of the ACM switching, and takes out the residual value of the latter modulation mode of the ACM switching, and performs ACM switching;
发送端进行 ACM切换成功后, 发送 ACM切换命令至接收端; 接收端接收到该 ACM切换命令后, 将 ACM切换的前一调制方式的余值 进行存储, 同时将 ACM切换的后一调制方式的余值取出, 并进行 ACM切换。 、 根据权利要求 1所述的时延固定的方法, 其中, 所述 ACM切换包括:  After the ACM is successfully switched by the transmitting end, the ACM switching command is sent to the receiving end; after receiving the ACM switching command, the receiving end stores the remaining value of the previous modulation mode of the ACM switching, and simultaneously switches the ACM to the latter modulation mode. The residual value is taken out and ACM switching is performed. The method of delay fixing according to claim 1, wherein the ACM switching comprises:
将当前调制方式设置为 ACM切换的后一调制方式, 并将使能产生速率的 参数设置为后一调制方式相应的参数值。 、 根据权利要求 1所述的时延固定的方法, 其中, 所述余值是在产生数据读写使 能过程中, 所使用的时钟计数器或者分频计数器的值。 、 根据权利要求 1-3中任一项所述的时延固定的方法, 其中, 还包括: 接收端接收发送端的余值对准信息;  Set the current modulation mode to the latter modulation mode of ACM switching, and set the parameter that enables the rate to be set to the corresponding parameter value of the latter modulation mode. The method of delay fixing according to claim 1, wherein the residual value is a value of a clock counter or a frequency dividing counter used in generating a data read/write enable process. The method of delay fixing according to any one of claims 1 to 3, further comprising: receiving, by the receiving end, residual information of the transmitting end;
判断该余值对准信息所要对准的余值是否为当前调制方式下的余值, 是则 进行余值补偿; 否则将余值对准信息中的余值进行存储。 、 根据权利要求 4所述的时延固定的方法, 其中, 所述进行余值补偿包括:  It is judged whether the residual value to be aligned by the residual value alignment information is the residual value in the current modulation mode, and then the residual value is compensated; otherwise, the residual value in the residual value alignment information is stored. The method of delay fixing according to claim 4, wherein the performing residual compensation comprises:
接收到该余值对准信息所在传输帧的第一数据位时, 记录接收端当前的余 值;  When receiving the first data bit of the transmission frame where the residual value alignment information is located, recording the current residual value of the receiving end;
接收端接收余值对准信息所在的传输帧, 并在接收到发送端封装至该传输 帧中的发送端当前的余值后, 将发送端当前的余值与接收端当前的余值相减获 得补偿值, 并将该补偿值与接收端接收到发送端当前的余值后使能产生的余值 求和, 对其进行补偿。 、 一种时延的固定装置, 包括发送端及接收端, 其中:  The receiving end receives the transmission frame where the residual value alignment information is located, and after receiving the current residual value of the transmitting end encapsulated in the transmission frame by the transmitting end, subtracts the current residual value of the transmitting end from the current residual value of the receiving end. The compensation value is obtained, and the compensation value is summed with the residual value generated by the receiving end after receiving the current residual value of the transmitting end, and is compensated. A time delay fixing device, comprising a transmitting end and a receiving end, wherein:
所述发送端设置为在接收到自适应编码调制 ACM切换命令后,将 ACM切 换的前一调制方式的余值进行存储, 同时将 ACM切换的后一调制方式的余值 取出, 并进行 ACM切换; 在进行 ACM切换成功后, 发送 ACM切换命令至接 收端; The transmitting end is configured to store the residual value of the previous modulation mode of the ACM switching after receiving the adaptive code modulation ACM switching command, and simultaneously restore the residual value of the latter modulation mode of the ACM switching. Take out, and perform ACM switching; after successful ACM switching, send ACM switching command to the receiving end;
所述接收端设置为接收到发送端发送的 ACM切换命令后, 将 ACM切换 的前一调制方式的余值进行存储, 同时将 ACM切换的后一调制方式的余值取 出, 并进行 ACM切换。 、 根据权利要求 6所述的时延固定的装置, 其中, 所述发送端还设置为: 在进行 ACM切换时, 将当前调制方式设置为 ACM切换的后一调制方式, 并将使能产 生速率的参数设置为后一调制方式相应的参数值;  The receiving end is configured to store the remaining value of the previous modulation mode of the ACM switching after receiving the ACM switching command sent by the transmitting end, and simultaneously remove the residual value of the latter modulation mode of the ACM switching, and perform ACM switching. The apparatus for delay-fixing according to claim 6, wherein the transmitting end is further configured to: set the current modulation mode to the latter modulation mode of the ACM switching when performing ACM switching, and enable the generation rate The parameter is set to the corresponding parameter value of the latter modulation mode;
所述接收端还设置为: 在进行 ACM切换时, 将当前调制方式设置为 ACM 切换的后一调制方式, 并将使能产生速率的参数设置为后一调制方式相应的参 数值。 、 根据权利要求 6所述的时延固定的装置, 其中, 所述余值是在产生数据读写使 能过程中, 所使用的时钟计数器或者分频计数器的值。 、 根据权利要求 6-8任一项所述的时延固定的装置, 其中, 还包括余值对准模块, 其中余值对准模块包括:  The receiving end is further configured to: when performing ACM switching, set the current modulation mode to the latter modulation mode of the ACM switching, and set the parameter that enables the generation rate to the parameter value corresponding to the latter modulation mode. The apparatus according to claim 6, wherein the residual value is a value of a clock counter or a frequency dividing counter used in generating a data read/write enable process. The apparatus for delay-fixing according to any one of claims 6-8, further comprising a residual value alignment module, wherein the residual value alignment module comprises:
对准信息接收单元, 设置为接收端接收发送端的余值对准信息, 并判断该 余值对准信息所要对准的余值是否为当前调制方式下的余值;  The alignment information receiving unit is configured to receive, by the receiving end, the residual value alignment information of the transmitting end, and determine whether the residual value to be aligned by the residual value alignment information is a residual value in the current modulation mode;
第一对准单元, 设置为在余值对准信息所要对准的余值为当前调制方式下 的余值时, 进行余值补偿;  The first aligning unit is configured to perform residual value compensation when the residual value to be aligned by the residual value alignment information is a residual value in the current modulation mode;
第二对准单元, 设置为在余值对准信息所要对准的余值不是当前调制方式 下的余值时, 将余值对准信息中的余值进行存储。 0、 根据权利要求 9所述的时延固定的装置,其中,所述第一余值对准单元设置为: 在对准信息接收单元接收到该余值对准信息所在传输帧的第一数据位时, 记录 接收端当前的余值; 并在对准信息接收单元接收到发送端封装至该传输帧中的 发送端当前的余值后, 将发送端当前的余值与接收端当前的余值相减获得补偿 值,并将该补偿值与接收端接收到发送端当前的余值后使能产生的余值求和后, 对其进行存储。  The second aligning unit is configured to store the residual value in the residual value alignment information when the residual value to be aligned by the residual value alignment information is not the residual value in the current modulation mode. 0. The apparatus according to claim 9, wherein the first residual value aligning unit is configured to: receive, by the alignment information receiving unit, first data of a transmission frame where the residual value alignment information is located When the bit is set, the current residual value of the receiving end is recorded; and after the alignment information receiving unit receives the current residual value of the transmitting end encapsulated in the transmitting frame by the transmitting end, the current residual value of the transmitting end and the current residual of the receiving end are The value is subtracted to obtain the compensation value, and the compensation value is summed with the residual value generated by the receiving end after receiving the current residual value of the transmitting end, and then stored.
PCT/CN2013/083804 2012-10-17 2013-09-18 Method and device for fixing time delay WO2014059846A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210395195.5A CN103780328B (en) 2012-10-17 2012-10-17 Method and device for time delay fixation
CN201210395195.5 2012-10-17

Publications (1)

Publication Number Publication Date
WO2014059846A1 true WO2014059846A1 (en) 2014-04-24

Family

ID=50487546

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083804 WO2014059846A1 (en) 2012-10-17 2013-09-18 Method and device for fixing time delay

Country Status (2)

Country Link
CN (1) CN103780328B (en)
WO (1) WO2014059846A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1533925A2 (en) * 2003-11-19 2005-05-25 Pioneer Corporation Synchronization of a stream data communication system
CN101753203A (en) * 2010-01-22 2010-06-23 华为技术有限公司 Send, receive professional method, terminal and system configuration in the microwave communication
CN101777964A (en) * 2010-01-13 2010-07-14 华为技术有限公司 Self-adaptive coding modulation switching instruction method, microwave device and system
CN101951304A (en) * 2010-08-31 2011-01-19 华为技术有限公司 Microwave transmission device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1533925A2 (en) * 2003-11-19 2005-05-25 Pioneer Corporation Synchronization of a stream data communication system
CN101777964A (en) * 2010-01-13 2010-07-14 华为技术有限公司 Self-adaptive coding modulation switching instruction method, microwave device and system
CN101753203A (en) * 2010-01-22 2010-06-23 华为技术有限公司 Send, receive professional method, terminal and system configuration in the microwave communication
CN101951304A (en) * 2010-08-31 2011-01-19 华为技术有限公司 Microwave transmission device

Also Published As

Publication number Publication date
CN103780328A (en) 2014-05-07
CN103780328B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
EP2434712B1 (en) Lossless adjustment method of oduflex channel bandwidth and oduflex channel
WO2017157303A1 (en) Anti-packet loss method, device and system for use in real-time communication
US7450601B2 (en) Method and communication apparatus for controlling a jitter buffer
EP3940974B1 (en) Transmission method and device for data stream
EP2493105A1 (en) Method and system for recovering lost media data packets
EP2563034B1 (en) Dynamic Bandwidth Re-Allocation
US9781488B2 (en) Controlled adaptive rate switching system and method for media streaming over IP networks
US8995268B2 (en) Method for controlling a flow in a packet switching network
US9729459B2 (en) System and method for credit-based link level flow control
TW200849842A (en) Method of regulating the transmission jitter within a reception terminal
WO2010028550A1 (en) A method and a device for improving the clock stability
WO2012170738A1 (en) Multipath rate adaptation
CA2694997A1 (en) Method and apparatus for transmission of circuit switched voice over packet switched networks
CN105142002A (en) Audio/video live broadcasting method and device as well as control method and device
US11799576B2 (en) Data sending method and apparatus, and FlexE switching system
CN105472404A (en) Data processing method in video service
KR102328071B1 (en) Method and apparatus of processing traffic in optical transport network
WO2014059846A1 (en) Method and device for fixing time delay
US10270542B2 (en) Sending known data to support fast convergence
JP6259227B2 (en) Clock reproduction control device and video signal receiving device
WO2010115367A1 (en) Data transmission method and data processing apparatus
US10687067B2 (en) Transmitter, transmission method, and communication system
JP2004350102A (en) Radio transmission system
CN107925670B (en) Channel adjusting method, corresponding device and system
WO2011097349A2 (en) Systems and methods for transferring data

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: 13847122

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13847122

Country of ref document: EP

Kind code of ref document: A1