[go: up one dir, main page]

CN100502383C - A method and device for uplink decoding control - Google Patents

A method and device for uplink decoding control Download PDF

Info

Publication number
CN100502383C
CN100502383C CNB031153267A CN03115326A CN100502383C CN 100502383 C CN100502383 C CN 100502383C CN B031153267 A CNB031153267 A CN B031153267A CN 03115326 A CN03115326 A CN 03115326A CN 100502383 C CN100502383 C CN 100502383C
Authority
CN
China
Prior art keywords
service
uplink
burst
data
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB031153267A
Other languages
Chinese (zh)
Other versions
CN1522021A (en
Inventor
闫华梁
李刚
王云峰
范炯毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNB031153267A priority Critical patent/CN100502383C/en
Publication of CN1522021A publication Critical patent/CN1522021A/en
Application granted granted Critical
Publication of CN100502383C publication Critical patent/CN100502383C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses a method for controlling RS decoding positioning of burst data packet on receiving end comprising the steps of, determining the time of arrival on the receiving end for each of the uplink business allocated in each uplink business bandwidth allocation device on the receiving end, establishing the corresponding relation between the business arrival time and business coding length for the cycle using MAP as periodic time on the receiving end, determining demodulator time sequence based on the determined business arrival time, thus producing the positioning signal needed by the decoder. The invention also discloses an apparatus for controlling RS decoding positioning of burst data packet on receiving end.

Description

一种上行解码控制方法及装置 A method and device for uplink decoding control

技术领域 technical field

本发明涉及一种在采用DOCSIS(有线电缆数据服务传输规范)实现上行业务传输过程中确定突发数据包中有效数据和Reed_Solomon(RS,里德所罗蒙)编码对应位置的方法和装置,特别是涉及在发送突发包增加了Reed_Solomon编码后,对解调器解调后的数据确定突发数据包中有效数据和RS编码的对应位置的方法和装置。The present invention relates to a method and a device for determining the corresponding positions of effective data and Reed_Solomon (RS, Reed Solomon) codes in a burst data packet in the process of realizing uplink business transmission by using DOCSIS (Data Over Cable Service Transmission Specification), especially The invention relates to a method and a device for determining the corresponding positions of effective data and RS codes in the burst data packet for the data demodulated by a demodulator after the Reed_Solomon code is added to the sent burst packet.

背景技术 Background technique

DOCSIS规定了位于用户楼宇的电缆调制解调器(CM)和位于运营商网络内的电缆调制解调器终端设备系统(CMTS)之间的物理层和媒体接入控制(MAC)层协议。在CM和CMTS之间是电缆网络,它最低程度是一传统的双向树状和分支同轴电缆网。DOCSIS specifies the physical layer and media access control (MAC) layer protocol between the cable modem (CM) located in the customer premises and the cable modem termination system (CMTS) located in the carrier network. Between the CM and the CMTS is the cable network, which is at a minimum a traditional two-way tree and branch coax network.

DOCSIS是HFC(光缆与同轴电缆混合网,Hybrid Fiber/CoaxialCable)网络上的高速双向数据传输协议,其上行信道的频率范围为5~42MHz。DOCSIS的上行信道使用FDMA与TDMA两种接入方式的组合,频分多址(FDMA)方式使系统拥有多个上行信道。标准规定了时分多址(TDMA)接入时的突发传输格式,支持灵活的调制方式、多种传输符号率和前置比特,同时支持固定和可变长度的数据帧及可编程的Reed-Solomon块编码等。DOCSIS灵活的上行FEC(前向纠错,Forward Error Correction)编码使系统经营者能自己规定纠错数据包的长度及每个包内的可纠正误码数。DOCSIS is a high-speed bidirectional data transmission protocol on the HFC (Hybrid Fiber/Coaxial Cable) network, and the frequency range of its uplink channel is 5-42MHz. The uplink channel of DOCSIS uses a combination of FDMA and TDMA two access methods, and the frequency division multiple access (FDMA) method enables the system to have multiple uplink channels. The standard specifies the burst transmission format for time division multiple access (TDMA) access, supports flexible modulation methods, multiple transmission symbol rates and pre-bits, and supports fixed and variable length data frames and programmable Reed- Solomon block encoding, etc. DOCSIS flexible uplink FEC (forward error correction, Forward Error Correction) encoding enables system operators to specify the length of error correction data packets and the number of correctable bit errors in each packet.

由于在5~42MHz的频率范围内容易受到其它信号的干扰,在采用DOCSIS协议为空中协议的点对多点的宽带无线通讯系统中,为了提高系统无线传输性能,减低无线传输过程中的误码率,对上行发送的突发数据流在基带处理中采用了Reed_Solomon编码,在接收端为了从已Reed_Solomon编码后的数据流中提取出有效的数据,需要确定上行突发数据中Reed_Solomon编码的位置。然而,在目前采用DOCSIS协议来实现上行突发包的解调芯片中还没有此解码功能。此外,由于测距不准确,存在着上行突发数据的定位出现错位的问题。Since it is easily interfered by other signals in the frequency range of 5-42MHz, in the point-to-multipoint broadband wireless communication system using the DOCSIS protocol as the air protocol, in order to improve the wireless transmission performance of the system and reduce the bit error in the wireless transmission process Reed_Solomon encoding is used in the baseband processing of the burst data stream sent uplink. In order to extract valid data from the Reed_Solomon encoded data stream at the receiving end, it is necessary to determine the position of the Reed_Solomon code in the uplink burst data. However, there is no such decoding function in the demodulation chip that adopts the DOCSIS protocol to realize the uplink burst packet at present. In addition, due to inaccurate ranging, there is a problem that the location of uplink burst data is misplaced.

发明内容 Contents of the invention

本发明的目的是提供一种采用DOCSIS协议对上行突发数据进行编码后,在接收端控制Reed_Solomon解码器定位突发数据包中Reed_Solomon解码的对应位置的方法与装置。The purpose of the present invention is to provide a method and device for controlling the Reed_Solomon decoder at the receiving end to locate the corresponding position of the Reed_Solomon decoding in the burst data packet after the uplink burst data is encoded using the DOCSIS protocol.

根据本发明的第一方面,提供一种在接收端控制突发数据包中RS解码定位的方法,其中在发送端根据DOCSIS协议对上行突发业务分类,将MAC帧分为E1业务,IP业务,管理信息业务,请求帧业务,测距请求帧业务五种,根据上行带宽及系统传输可靠性要求,对每种业务选择设定长度的编码数据,所述方法包括步骤:在接收端根据DOCSIS协议中上行业务的发送时刻由下行MAP定义的规定,由下行MAP确定发送端业务的发送时刻,并根据测距的延时确定业务到达接收端的时刻;在接收端以MAP为周期建立业务到达时刻与业务编码长度的对应关系;根据所确定的业务到达时刻确定解调器时序;根据DOSCSIS上行突发数据包特性及解调器时序定位上行突发数据中里德-所罗蒙编码字段在数据流中的位置,从而产生解码器需要的定位信号,提供解码器需要的K/T值切换信号,其中K为突发包中数据的长度,2*T为RS编码的长度。According to the first aspect of the present invention, there is provided a method for controlling the RS decoding and positioning in the burst data packet at the receiving end, wherein at the sending end, the uplink burst traffic is classified according to the DOCSIS protocol, and the MAC frame is divided into E1 traffic, IP traffic , management information business, request frame business, five kinds of ranging request frame business, according to the requirements of uplink bandwidth and system transmission reliability, select coded data with a set length for each kind of business, the method includes the steps: at the receiving end according to DOCSIS The sending time of the uplink service in the protocol is defined by the downlink MAP, and the downlink MAP determines the sending time of the sending end service, and determines the time when the service arrives at the receiving end according to the delay of the ranging; the receiving end takes the MAP as a period to establish the service arrival time The corresponding relationship with the service code length; determine the demodulator timing according to the determined service arrival time; locate the Reed-Solomon coded field in the uplink burst data in the data stream according to the DOSCSIS uplink burst data packet characteristics and demodulator timing The position in , so as to generate the positioning signal required by the decoder, and provide the K/T value switching signal required by the decoder, where K is the length of the data in the burst packet, and 2*T is the length of the RS code.

根据本发明的第二方面,提供一种上行解码控制装置,其中在发送端根据DOCSIS协议对上行突发业务分类,根据上行带宽及系统传输可靠性要求,对每种业务选择合适长度的编码数据,所述的装置包括:DOCSIS协议处理器,用于根据MAP及系统测距信息确定每个MAP分配了哪些上行业务,及每个上行业务对应的编码参数(K/T)值,和业务到达时刻与K/T的关系表;媒体接入控制器,存储DOCSIS协议处理器所形成的关系数据,产生基准时钟,并且产生和输出用于控制里德所罗蒙(RS)解码器的控制信号及参数;突发解调器,向解码器提供突发接口时序及RS编码后的突发数据流;RS解码器,根据RS解码控制信号及参数,对突发解调器供给的突发数据流进行解码;并且输出解码后的突发数据流及时序。According to the second aspect of the present invention, an uplink decoding control device is provided, wherein the uplink burst business is classified according to the DOCSIS protocol at the sending end, and the coded data of an appropriate length is selected for each business according to the uplink bandwidth and system transmission reliability requirements , the device includes: a DOCSIS protocol processor, which is used to determine which uplink services are allocated by each MAP according to the MAP and system ranging information, and the coding parameter (K/T) value corresponding to each uplink service, and the service arrival The relationship table between time and K/T; the media access controller stores the relationship data formed by the DOCSIS protocol processor, generates the reference clock, and generates and outputs the control signal used to control the Reed Solomon (RS) decoder and parameters; the burst demodulator provides burst interface timing and RS encoded burst data stream to the decoder; RS decoder, according to the RS decoding control signal and parameters, burst data supplied by the burst demodulator The stream is decoded; and the decoded burst data stream and timing are output.

本发明解决了基于DOCSIS上行RS编码后的业务数据RS解码在接收端的定位问题,同时解决了由于测距不准确,对上行突发数据的定位出现错位的问题。The invention solves the positioning problem at the receiving end of the service data RS decoding based on the DOCSIS uplink RS coding, and simultaneously solves the problem that the positioning of the uplink burst data is misplaced due to inaccurate distance measurement.

附图说明 Description of drawings

通过下面结合附图描述本发明的优选实施例将使本发明的上述及其它目的和优点更加清楚,其中The above-mentioned and other objects and advantages of the present invention will be made clearer by describing preferred embodiments of the present invention below in conjunction with the accompanying drawings, wherein

图1是确定上行解调器的接收时序图;Fig. 1 is a receiving timing diagram for determining an uplink demodulator;

图2是表示根据本发明实施例的基于DOCSIS上行解码控制的方框图;FIG. 2 is a block diagram showing uplink decoding control based on DOCSIS according to an embodiment of the present invention;

图3是表示根据本发明实施例的微时隙基准产生器的示意图;3 is a schematic diagram showing a mini-slot reference generator according to an embodiment of the present invention;

图4是表示根据本发明实施例的RS解码控制的方框图;和4 is a block diagram representing RS decoding control according to an embodiment of the present invention; and

图5是根据本发明实施例的RS解码控制处理的流程图。FIG. 5 is a flowchart of RS decoding control processing according to an embodiment of the present invention.

具体实施方式 Detailed ways

下面结合附图详细描述本发明的原理及优选实施例。The principles and preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

在DOCSIS标准中,MAC层处于上行的物理层(或下行的传输汇聚子层)之上,链路安全子层之下。MAC协议的主要特点之一是由CMTS给CM分配上行信道带宽。上行信道由微时隙流(mini-slots)构成,具有业务分类功能,提供各种数据传输速率,并在数据链路层支持虚拟LAN。In the DOCSIS standard, the MAC layer is above the uplink physical layer (or downlink transmission and convergence sublayer) and under the link security sublayer. One of the main features of the MAC protocol is that the CMTS assigns the upstream channel bandwidth to the CM. The upstream channel is composed of mini-slots, has the function of business classification, provides various data transmission rates, and supports virtual LAN at the data link layer.

DOCSIS协议一共有四大类MAC帧,包括基于包的MAC帧,ATM信元MAC帧,保留PDU(协议数据单元)的MAC帧,特定包头的MAC帧,另外,在本发明中,对DOCSIS协议做了扩展,增加了一种特殊的MAC帧来传输E1业务。在特定的MAC帧中又包括定时MAC帧(仅用于下行),管理MAC帧,请求MAC帧,分段MAC帧,级联MAC帧。管理MAC帧又有20余种类型的MAC帧如UCD,MAP等。另外,把上面这些MAC帧分类,分为E1(欧洲的线路标准)业务,IP业务,管理信息业务,请求帧业务,测距请求帧业务五种MAC帧。对五种业务组成的上行突发包分配给不同的特性,如不同的编码参数。The DOCSIS protocol has four major categories of MAC frames altogether, including the MAC frame based on the packet, the ATM cell MAC frame, the MAC frame of the PDU (protocol data unit), and the MAC frame of the specific header. In addition, in the present invention, the DOCSIS protocol Made an extension, adding a special MAC frame to transmit E1 services. Specific MAC frames include timing MAC frames (only for downlink), management MAC frames, request MAC frames, segmented MAC frames, and concatenated MAC frames. There are more than 20 types of MAC frames such as UCD, MAP, etc. for management MAC frames. In addition, the above MAC frames are classified into five types of MAC frames: E1 (European line standard) service, IP service, management information service, request frame service, and ranging request frame service. The uplink burst packets composed of five kinds of services are allocated to different characteristics, such as different encoding parameters.

根据上行带宽及系统传输可靠性要求,对每种业务选择合适长度的编码数据。下面的表1中列出了根据不同的上行业务的帧的特点所选择的编码参数,对不同业务组成的上行突发包选择不同的Reed_Solomon编码参数,以在带宽利用率的情况下提高其纠错能力。下面是选择参数对应表。According to the uplink bandwidth and system transmission reliability requirements, select the appropriate length of coded data for each service. The following table 1 lists the encoding parameters selected according to the frame characteristics of different uplink services, and select different Reed_Solomon encoding parameters for the uplink burst packets composed of different services to improve its correction under the condition of bandwidth utilization. wrong ability. The following is the selection parameter correspondence table.

表1Table 1

  业务名称 帧长(字节) RS编码K值 RS编码T值 IP业务 88-1524 128 4 E1业务 2-514 64 3 管理信息 30-1534 128 4 请求帧 6 6 2 测距请求 30 30 3 business name frame length (bytes) RS code K value RS coded T value IP business 88-1524 128 4 E1 business 2-514 64 3 management information 30-1534 128 4 request frame 6 6 2 ranging request 30 30 3

在接收端根据DOCSIS协议,确定每一个MAP(上行业务带宽分配)中分配的每一个上行业务到达接收端的时刻,此时刻以微时隙为单位,以系统基准时为基准的绝对时间。在接收端以MAP为周期建立业务到达时刻与业务编码长度对应关系。根据所确定的业务到达时刻确定解调器时序。根据DOSCSIS上行突发数据包特性及解调器时序定位上行突发数据中Reed_Solomon编码字段在数据流中的位置,产生解码器需要的定位信号,提供解码器需要的K/T值切换信号。其中K为突发包中数据的长度,2*T为Reed_Solomon编码的长度。选取编码参数的要求是在保证空中传输误码率允许的范围内,尽可能地提高传输带宽。例如,测距请求业务数据长度为30,选取编码参数K为32,T为2,即在传输时有效信息的利用率为30/(2+2*2),其中K为有效数据长度,2*T为编码字节长度。According to the DOCSIS protocol, the receiving end determines the moment when each uplink service allocated in each MAP (uplink service bandwidth allocation) arrives at the receiving end. The corresponding relationship between the service arrival time and the service code length is established at the receiving end with MAP as the cycle. The demodulator timing is determined according to the determined service arrival time. Position the Reed_Solomon coded field in the upstream burst data in the data stream according to the characteristics of the DOSCSIS upstream burst data packet and the timing of the demodulator, generate the positioning signal required by the decoder, and provide the K/T value switching signal required by the decoder. Among them, K is the length of the data in the burst packet, and 2*T is the length of the Reed_Solomon code. The requirement for selecting the encoding parameters is to increase the transmission bandwidth as much as possible within the allowable range of the air transmission bit error rate. For example, the length of the ranging request service data is 30, and the encoding parameter K is selected as 32, and T is 2, that is, the utilization ratio of valid information during transmission is 30/(2+2*2), where K is the effective data length, and 2 *T is the encoded byte length.

在DOCSIS协议中,上行业务的发送时刻是由下行的MAP定义的。通过MAP定义了发送端业务的发送时机,并根据测距的延时确定业务到达接收端的时刻。如果指定一个MAP中的IP帧的发送时刻为X时刻,上行延时为Y,那么到达接收端的时刻为X+Y时刻。基于此,可以确定上行业务到达接收端的时刻。每一个MAP中的业务(IE)到达接收端的时刻与向此IE分配的编码参数K/T一一对应。In the DOCSIS protocol, the sending time of the uplink service is defined by the downlink MAP. The sending timing of the service at the sending end is defined through the MAP, and the time when the service arrives at the receiving end is determined according to the delay of ranging. If it is specified that the sending time of an IP frame in a MAP is X time, and the uplink delay is Y, then the time when it arrives at the receiving end is X+Y time. Based on this, the moment when the uplink traffic arrives at the receiving end can be determined. The time when the service (IE) in each MAP arrives at the receiving end is in one-to-one correspondence with the coding parameter K/T allocated to this IE.

图1示出了确定上行解调器的接收时序图。即CLOCKOUT为解调时钟,DATA_VALID指示解调数据有效,DATA为数据,。其关系是在DATA_VALID有效其间,在CLOCK的下降沿对数据采用。FIG. 1 shows a timing diagram for determining the reception of an uplink demodulator. That is, CLOCKOUT is the demodulation clock, DATA_VALID indicates that the demodulation data is valid, and DATA is data. The relationship is that the data is adopted on the falling edge of CLOCK during the effective period of DATA_VALID.

下面参考图2说明根据本发明实施例的控制DOCSIS上行RS解码对应位置的装置。该装置包括处理器1,媒体接入控制器2,突发解调器3,和RS解码器4。处理器1与媒体接入控制器2通过总线连接,突发解调器3通过解调器接口信号线与RS解码器4连接。作为例子,处理器1可采用个人计算机,例如PowerPC(MC8240),但本发明不限于此。作为例子,突发解调器3可采用9257解调器。媒体接入控制器2与RS解码器4之间通过接口线连接。处理器1是DOCSIS协议处理器,主要对DOCSIS协议的处理,根据MAP及系统测距信息确定每个MAP分配了哪些上行业务,及每中上行业务对应的K/T值,以及业务到达时刻与K/T的关系表。媒体接入控制器2主要存储处理器1形成的关系数据,产生基准时钟,以及产生并输出用于控制Reed_Solomon解码器的控制信号和参数。The following describes an apparatus for controlling a corresponding position of DOCSIS uplink RS decoding according to an embodiment of the present invention with reference to FIG. 2 . The device includes a processor 1 , a media access controller 2 , a burst demodulator 3 , and an RS decoder 4 . The processor 1 is connected to the media access controller 2 through a bus, and the burst demodulator 3 is connected to the RS decoder 4 through a demodulator interface signal line. As an example, the processor 1 can be a personal computer such as PowerPC (MC8240), but the present invention is not limited thereto. As an example, the burst demodulator 3 can use a 9257 demodulator. The media access controller 2 is connected to the RS decoder 4 through an interface line. Processor 1 is a DOCSIS protocol processor. It mainly processes the DOCSIS protocol. According to the MAP and system ranging information, it determines which uplink services are assigned to each MAP, and the K/T value corresponding to each uplink service, as well as the service arrival time and K/T relationship table. The media access controller 2 mainly stores the relationship data formed by the processor 1, generates a reference clock, and generates and outputs control signals and parameters for controlling the Reed-Solomon decoder.

突发解调器3提供突发接口时序及Reed_Solomon编码后的突发数据流。作为例子,突发解调器3可采用9257解调器。RS解码器根据解码控制信号及参数对相应的上行业务进行解码。提供解码后的突发数据流及时序。突发解调器3向RS解码器4提供解调时钟CLK,解调数据DATA,数据有效指示DATA_VALID,数据有效期间的解调时钟GUARD_CLK。在RS解码器4中,突发解调器3的接口信号线一路送到媒体接入控制器2中,以便产生RS解码器需要的解码控制信号(RSCS0,RSCS1,CHECKNUM),一路用于解码。RS解码器4把最后解码的数据及时钟,及突发数据有效指示送到MAC控制器4用于从各种业务中提取有效业务数据。媒体接入控制器2与RS解码器4的其它接口定义为:CLK_B是来自突发解调器3的解调时钟,DATA_B是来自突发解调器3的解调数据,DATA_VALID_B是来自突发解调器3的数据合法信号,GUARD_CLK_B是来自突发解调器3的数据合法期间的时钟,RSCS0表示RS解码器4的解码参数选择开关,RSCS1表示解码器解码参数选择开关,RS_EN表示解码使能信号,CHECKSUM表示解码码字位置定位信号,高电平期间为有效数据期间,低电平期间为解码期间。CLK_N表示RS解码器4的输出的时钟,DATA_N表示RS解码器4输出的解调数据,CHECKSUM_N表示RS解码器4输出的解码码字位置定位信号,高电平表示有效数据期间,低电平表示解码期间。The burst demodulator 3 provides the burst interface timing and the burst data stream encoded by Reed_Solomon. As an example, the burst demodulator 3 can use a 9257 demodulator. The RS decoder decodes the corresponding uplink service according to the decoding control signal and parameters. Provide decoded burst data flow and timing. The burst demodulator 3 provides the demodulation clock CLK to the RS decoder 4, the demodulation data DATA, the data valid indicator DATA_VALID, and the demodulation clock GUARD_CLK during the valid data period. In the RS decoder 4, the interface signal lines of the burst demodulator 3 are sent to the media access controller 2 all the way to generate the decoding control signals (RSCS0, RSCS1, CHECKNUM) required by the RS decoder, and all the way is used for decoding . The RS decoder 4 sends the last decoded data, clock, and burst data valid indication to the MAC controller 4 for extracting valid service data from various services. Other interfaces between the media access controller 2 and the RS decoder 4 are defined as follows: CLK_B is the demodulation clock from the burst demodulator 3, DATA_B is the demodulated data from the burst demodulator 3, and DATA_VALID_B is the demodulation clock from the burst demodulator 3. The data legal signal of the demodulator 3, GUARD_CLK_B is the clock from the data legal period of the burst demodulator 3, RSCS0 indicates the decoding parameter selection switch of the RS decoder 4, RSCS1 indicates the decoder decoding parameter selection switch, RS_EN indicates the decoding enable Enable signal, CHECKSUM represents the position positioning signal of the decoding code word, the high level period is the effective data period, and the low level period is the decoding period. CLK_N represents the output clock of the RS decoder 4, DATA_N represents the demodulated data output by the RS decoder 4, CHECKSUM_N represents the decoding code word position positioning signal output by the RS decoder 4, a high level indicates a valid data period, and a low level indicates during decoding.

图3是根据本发明的微时隙基准产生器,用于提供基准时钟。时标计数器是一个32位的计数器,计数时钟为1024Mhz,从处理器1向时标计数器5提供清零信号Start_Clear,微时隙计数器6与时标计数器5同步,时标计数器5每增加256,微时隙计数器加1。Fig. 3 is a mini-slot reference generator according to the present invention for providing a reference clock. The time scale counter is a 32-bit counter with a count clock of 1024Mhz. The processor 1 provides the clear signal Start_Clear to the time scale counter 5. The micro-slot counter 6 is synchronized with the time scale counter 5. The time scale counter 5 increases by 256, The minislot counter is incremented by 1.

下面参考图2和4是控制RS解码器4的操作过程。从处理器1向时标计数器3提供清零信号Start_Clear。时标计数器3的计数时钟为1024Mhz。时标计数器3的高24位对应微时隙计数器2的低24位,一次微时隙计数的计数时钟为25us。处理器1根据MAP产生第一个上行业务到达时刻及业务K/T对应表时写入媒体接入控制器2中的对应存储区中4-I和6-I,然后再写入一启动信号(MAPSTART)。此信号作为业务到达时刻存储器及K/T存储器的地址复位信号,使起始地址为零地址。读取对应地址的业务到达时刻及K/T值,当微时隙计数值达到在业务到达时从存储器读出的时刻时(通过比较器1),产生一启动脉冲,此信号一到,通过译码器15产生编码切换信号(RSC0,RSC1),同时7和5的地址产生器控制K/T存储器读出地址、业务到达时刻存储器地址加一,此信号启动检测解调器14来的数据有效信号(DATA_VALID)是否有效(高电平有效),当有效时,启动K*8计数器12,并置RS编码控制信号为低,当此计数器计到K*8时,启动2*T*8计数器13,同时置RS编码控制信号为高,此信号周期产生直到DATA_VALID信号变低。2 and 4 is the operation process of controlling the RS decoder 4 below. The clock counter 3 is supplied with a clear signal Start_Clear from the processor 1 . The counting clock of the time scale counter 3 is 1024Mhz. The upper 24 bits of the time scale counter 3 correspond to the lower 24 bits of the mini-slot counter 2, and the counting clock for one mini-slot count is 25us. When the processor 1 generates the arrival time of the first uplink service and the service K/T corresponding table according to the MAP, it writes 4-I and 6-I in the corresponding storage area in the media access controller 2, and then writes a start signal (MAPSTART). This signal is used as the address reset signal of the service arrival time memory and K/T memory, so that the initial address is zero address. Read the business arrival time and K/T value of the corresponding address. When the micro-slot count value reaches the time when the business arrives from the memory (through comparator 1), a start pulse is generated. Once this signal arrives, pass Decoder 15 generates coding switching signal (RSC0, RSC1), and the address generators 7 and 5 control the K/T memory read address, and add one to the memory address at the time of business arrival, and this signal starts to detect the data from demodulator 14 Whether the valid signal (DATA_VALID) is valid (high level active), when it is valid, start the K*8 counter 12, and set the RS coding control signal to low, when the counter counts to K*8, start 2*T*8 The counter 13 sets the RS encoding control signal to be high at the same time, and this signal period is generated until the DATA_VALID signal becomes low.

为了实现MAP的周期控制,当业务到达时刻存储器读出的数据的高8位为0xFF时,业务到达时刻存储器及K/T值存储器读取首地址切换到乒乓结构中的下一个存储单元中(4-II和6-II中)。如果MAP中的IE项为256,读地址增加到255或者511时地址自动进行乒乓切换。In order to realize the cycle control of MAP, when the upper 8 bits of the data read from the memory at the time of service arrival are 0xFF, the first address read from the memory at the time of service arrival and the K/T value memory is switched to the next storage unit in the ping-pong structure ( 4-II and 6-II). If the IE item in the MAP is 256, when the read address increases to 255 or 511, the address will automatically ping-pong switch.

下面参考图5描述控制RS解码的处理流程图。其中在发送端根据DOCSIS协议对上行突发业务分类,根据上行带宽及系统传输可靠性要求,对每种业务选择合适长度的编码数据。首先,在步骤S51,产生系统基准时钟。由于系统实现的基准时钟是以位时隙(25us)为单位的,而DOCSIS系统时钟为10.24Mhz,采用微时隙基准产生电路对微时隙时钟与系统时钟进行严格同步。在步骤S52,在媒体接入控制器2FPGA中分配一用于存储MAP中每一个IE(信息元素)到达接收端的时刻,再分配用于存储对应MAP中分配对应IE的上行突发数据RS编码参数K/T值。为了实现MAP的周期性发送控制,对用于存储IE(信息元素)到达接收端的时刻,及K/T值的存储器均分配可存储两个MAP信息量。在实现中采用乒乓方法进行切换。表2列出了MAP中业务区域分配的特性:The following describes a flowchart of the process of controlling RS decoding with reference to FIG. 5 . Among them, the uplink burst business is classified according to the DOCSIS protocol at the sending end, and the coded data of an appropriate length is selected for each business according to the uplink bandwidth and system transmission reliability requirements. First, in step S51, a system reference clock is generated. Since the reference clock realized by the system is based on the bit time slot (25us) and the DOCSIS system clock is 10.24Mhz, the mini-slot reference generation circuit is used to strictly synchronize the mini-slot clock and the system clock. In step S52, assign one in the media access controller 2FPGA to store the moment when each IE (information element) in the MAP arrives at the receiving end, and then allocate an RS encoding parameter for storing the uplink burst data of the corresponding IE in the corresponding MAP K/T value. In order to realize the periodical transmission control of MAP, the memory for storing the time when IE (information element) arrives at the receiving end and the K/T value is allocated to store two MAP information volumes. In the implementation, the ping-pong method is used for switching. Table 2 lists the characteristics of service area allocation in MAP:

  竟争请求区 竞争测距区 初始化测距单播区 周期测距区 单播请求区 数据区 Competitive Request Area Competitive ranging area Initialize the ranging unicast area Periodic ranging area Unicast Request Area data area

其中竞争请求区,竞争测距区,初始化测距单播区三个区在接收端只分配一个到达时刻,但在此区域会有多个突发包到达,规定在此区域到达的突发包的编码特性相同,及具有相同的编码参数(K/T值)。周期测距区单播请求区,数据区,在接收端只分配一个到达时刻,在此区域,最多只有一个突发包到达。Among them, the contention request area, the contention ranging area, and the initial ranging unicast area only allocate one arrival time at the receiving end, but there will be multiple burst packets arriving in this area, and the burst packets arriving in this area are stipulated have the same coding characteristics and have the same coding parameters (K/T value). In the periodical ranging area, the unicast request area and the data area, only one arrival time is assigned at the receiving end. In this area, at most one burst packet arrives.

在步骤S53,根据解调器产生的时序,在突发包前导字段(32个Clock)时间内产生向解码器发送K/T值的切换控制信号。在步骤S54,根据解调器产生的时序,定位上行突发包中有效数据到达的时刻,即开始输出RS解码定位控制信号的时刻。在步骤S55,根据DOSCSIS上行突发数据包特性及解调器时序定位上行突发数据中RS编码字段在数据流中的位置,从而产生解码器需要的定位信号,提供解码器需要的K/T值切换信号,其中K为突发包中数据的长度,2*T为RS编码的长度。根据K/T在数据有效期间,输出RS解码控制信号,得到突发数据包中RS解码的对应位置。(最好能对解码流程进行更详细的描述)。In step S53, according to the timing generated by the demodulator, a switching control signal for sending the K/T value to the decoder is generated within the time of the burst header field (32 Clocks). In step S54, according to the timing generated by the demodulator, locate the moment when the valid data in the uplink burst packet arrives, that is, the moment when the RS decoding and positioning control signal starts to be output. In step S55, according to the characteristics of the DOSCSIS uplink burst data packet and the timing of the demodulator, locate the position of the RS code field in the uplink burst data in the data stream, thereby generating the positioning signal required by the decoder, and providing the K/T required by the decoder Value switching signal, where K is the length of the data in the burst packet, and 2*T is the length of the RS code. According to K/T during the effective period of data, the RS decoding control signal is output to obtain the corresponding position of RS decoding in the burst data packet. (It would be nice to have a more detailed description of the decoding process).

至此已结合本发明的优选实施例对本发明进行了详细说明,本领域技术人员在不脱离所附权利要求的范围和精神实质的情况下可以做出各种改进和变化。The present invention has been described in detail in conjunction with the preferred embodiments of the present invention so far, and various improvements and changes can be made by those skilled in the art without departing from the scope and spirit of the appended claims.

Claims (3)

1.一种上行解码控制方法,其中在发送端根据有线电缆数据服务传输规范DOCSIS协议对上行突发业务分类,将媒体接入控制MAC帧分为欧洲的线路标准E1业务,IP业务,管理信息业务,请求帧业务,测距请求帧业务五种,根据上行带宽及系统传输可靠性要求,对每种业务选择设定长度的编码数据,所述方法包括步骤:1. An uplink decoding control method, wherein at the sending end, according to the cable data service transmission standard DOCSIS protocol, the uplink burst service is classified, and the media access control MAC frame is divided into European line standard E1 service, IP service, and management information Business, request frame business, five kinds of ranging request frame business, according to the requirements of uplink bandwidth and system transmission reliability, select the coded data with a set length for each kind of business, and the method includes steps: 在接收端根据DOCSIS协议中上行业务的发送时刻由下行业务带宽分配MAP定义的规定,由下行MAP确定发送端业务的发送时刻,并根据测距的延时确定业务到达接收端的时刻;At the receiving end, according to the regulation that the sending time of the uplink service in the DOCSIS protocol is defined by the downlink service bandwidth allocation MAP, the downlink MAP determines the sending time of the sending end service, and determines the time when the service arrives at the receiving end according to the delay of ranging; 在接收端以MAP为周期建立业务到达时刻与业务编码长度的对应关系;At the receiving end, the corresponding relationship between the service arrival time and the service code length is established with MAP as the cycle; 根据所确定的业务到达时刻确定解调器时序;Determining the demodulator timing according to the determined service arrival time; 根据DOCSIS上行突发数据包特性及解调器时序定位上行突发数据中里德-所罗蒙RS编码字段在数据流中的位置,从而产生解码器需要的定位信号,提供解码器需要的编码参数K/T值切换信号,其中K为突发包中数据的长度,2*T为RS编码的长度。Locate the position of the Reed-Solomon RS coding field in the upstream burst data in the data stream according to the characteristics of the DOCSIS upstream burst data packet and the timing sequence of the demodulator, thereby generating the positioning signal required by the decoder and providing the encoding parameters required by the decoder K/T value switching signal, where K is the length of the data in the burst packet, and 2*T is the length of the RS code. 2.一种上行解码控制装置,其中在发送端根据有线电缆数据服务传输规范DOCSIS协议对上行突发业务分类,根据上行带宽及系统传输可靠性要求,对每种业务选择设定长度的编码数据,所述的装置包括:2. An uplink decoding control device, wherein at the sending end, the uplink burst business is classified according to the cable data service transmission standard DOCSIS protocol, and according to the uplink bandwidth and system transmission reliability requirements, the coded data of the set length is selected for each kind of business , the device includes: DOCSIS协议处理器,用于根据业务带宽分配MAP及系统测距信息确定每个MAP分配了哪些上行业务,及每个上行业务对应的编码参数K/T值,和业务到达时刻与K/T的关系表;The DOCSIS protocol processor is used to determine which uplink services are allocated by each MAP according to the service bandwidth allocation MAP and system ranging information, and the coding parameter K/T value corresponding to each uplink service, and the relationship between the service arrival time and K/T Relational tables; 媒体接入控制器,存储DOCSIS协议处理器所形成的关系数据,产生基准时钟,并且产生和输出用于控制里德所罗蒙RS解码器的控制信号及参数;The media access controller stores the relationship data formed by the DOCSIS protocol processor, generates a reference clock, and generates and outputs control signals and parameters for controlling the Reed Solomon RS decoder; 突发解调器,向解码器提供突发接口时序及RS编码后的突发数据流;和A burst demodulator, which provides burst interface timing and RS-encoded burst data streams to the decoder; and RS解码器,根据RS解码控制信号及参数,对突发解调器供给的突发数据流进行解码;并且输出解码后的突发数据流及时序。The RS decoder decodes the burst data stream supplied by the burst demodulator according to the RS decoding control signal and parameters, and outputs the decoded burst data stream and timing. 3.根据权利要求2所述的上行解码控制装置,其中所述的媒体接入控制器包括一个微时隙基准产生电路,用于对微时隙时钟与系统时钟进行严格同步。3. The uplink decoding control device according to claim 2, wherein said medium access controller comprises a mini-slot reference generating circuit, which is used for strictly synchronizing the mini-slot clock and the system clock.
CNB031153267A 2003-01-30 2003-01-30 A method and device for uplink decoding control Expired - Fee Related CN100502383C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031153267A CN100502383C (en) 2003-01-30 2003-01-30 A method and device for uplink decoding control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031153267A CN100502383C (en) 2003-01-30 2003-01-30 A method and device for uplink decoding control

Publications (2)

Publication Number Publication Date
CN1522021A CN1522021A (en) 2004-08-18
CN100502383C true CN100502383C (en) 2009-06-17

Family

ID=34284238

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031153267A Expired - Fee Related CN100502383C (en) 2003-01-30 2003-01-30 A method and device for uplink decoding control

Country Status (1)

Country Link
CN (1) CN100502383C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8213452B2 (en) * 2006-07-18 2012-07-03 Broadcom Corporation Optimized scheduling method using ordered grants from a central controller
KR101328949B1 (en) 2007-04-10 2013-11-13 엘지전자 주식회사 method of transmitting and receiving a broadcast signal
MX2009010913A (en) * 2007-04-10 2010-03-15 Lg Electronics Inc Digital broadcasting system and a data processing method.
US8908810B2 (en) * 2012-12-27 2014-12-09 Intel Corporation Systems and methods for implementing soft-decision Reed-Solomon decoding to improve cable modem and cable gateway performance

Also Published As

Publication number Publication date
CN1522021A (en) 2004-08-18

Similar Documents

Publication Publication Date Title
US6055242A (en) Method and apparatus enabling synchronous transfer mode, variable length and packet mode access for multiple services over a broadband communication network
US7899034B2 (en) Methods for the synchronization of multiple base stations in a wireless communication system
CN1288573C (en) Apparatus and method for providing adaptive forward error correction
CN101027862B (en) Multi-channel communication with hierarchical communication traffic
TW456154B (en) Service specific interfacing in point to multipoint communications
KR101292851B1 (en) Streaming and buffering using variable fec overhead and protection periods
CA2416082C (en) Method of and system for the transfer of sonet traffic across a packet network
US5936949A (en) Wireless ATM metropolitan area network
US6898755B1 (en) Method for increasing physical layer flexibility in cable modem systems
CN101523787B (en) Method and apparatus for applying forward error correction in 66B system
US7154895B1 (en) System, apparatus, and method for ATM header compression for DSL links
US20110103385A1 (en) Apparatus and Method for Hardware Payload Header Suppression, Expansion, and Verification
JPH09135226A (en) Method and apparatus for supporting TDMA operation over a hybrid fiber coaxial (HFC) channel or other channel
US6088827A (en) 1000BASE-T packetized trellis coder
CN102752674B (en) Capturing circuit and writing control method of 10G EPON (10 Giga Ethernet Passive Optical Network) message
CN1522510A (en) Multimedia Jitter Cancellation in Asynchronous Digital Home Networks
US20020150107A1 (en) Ethernet adapting apparatus
US7577129B2 (en) Supporting multiple logical channels in a physical interface
US7701868B2 (en) Method and network apparatus for carrying multiple services
CN103220105A (en) Convergence layer bonding over multiple carriers
JP2000138653A (en) Two-dimensional interleaving process for cdma transmission of one-dimensional time slot data
CN109547157B (en) Ten-trillion network controller supporting time-triggered Ethernet and control method
CN100502383C (en) A method and device for uplink decoding control
US5841378A (en) System and apparatus for, and method of, interfacing a demodulator and a forward error correction decoder
US7869464B2 (en) Cross-link

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20060210

Address after: Shenzhen Nanshan District hi tech Industrial Park Science and technology south road Zhongxing building law department

Applicant after: ZTE Corporation

Address before: No. 396, Shanghai, Guilin Road

Applicant before: Shanghai Inst. of No.2, Zhongxing Communication Co., Ltd., Shenzhen City

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090617

Termination date: 20140130