[go: up one dir, main page]

CN104486241B - Down channel data processing method in base band resource pool - Google Patents

Down channel data processing method in base band resource pool Download PDF

Info

Publication number
CN104486241B
CN104486241B CN201410699647.8A CN201410699647A CN104486241B CN 104486241 B CN104486241 B CN 104486241B CN 201410699647 A CN201410699647 A CN 201410699647A CN 104486241 B CN104486241 B CN 104486241B
Authority
CN
China
Prior art keywords
data
processing
baseband
buffer
sequence number
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
CN201410699647.8A
Other languages
Chinese (zh)
Other versions
CN104486241A (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201410699647.8A priority Critical patent/CN104486241B/en
Publication of CN104486241A publication Critical patent/CN104486241A/en
Application granted granted Critical
Publication of CN104486241B publication Critical patent/CN104486241B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请公开了一种基带资源池中的下行信道数据处理方法,包括:预先在基带处理出口处设置出口缓冲区;将基带处理后的数据选择送入所述出口缓冲区;按照预先设定的时间间隔,从所述出口缓冲区取出数据进行前端处理,将从所述出口缓冲区中读出的进行前端处理的数据进行顺序编号并记录。应用本申请,能够在基带资源池架构中出现下行信道超时拥塞时保证下行信道数据传输的实时性要求。

The present application discloses a downlink channel data processing method in a baseband resource pool, comprising: setting an exit buffer at the exit of the baseband processing in advance; selecting and sending the data processed by the baseband into the exit buffer; time interval, fetching data from the egress buffer for front-end processing, sequentially numbering and recording the data read from the egress buffer for front-end processing. By applying the present application, the real-time requirement of downlink channel data transmission can be guaranteed when downlink channel overtime congestion occurs in the baseband resource pool architecture.

Description

基带资源池中的下行信道数据处理方法Downlink channel data processing method in baseband resource pool

技术领域technical field

本申请涉及无线通信技术,特别涉及基带资源池中的下行信道数据处理方法。The present application relates to wireless communication technology, in particular to a downlink channel data processing method in a baseband resource pool.

背景技术Background technique

传统的接入网络架构中基带信号处理通常在满足实时性需求的前提下,在专用处理器上采用固定的算法方案实现,所消耗的资源固定,方案的实时性能也是确定的。然而基站资源池平台架构通常采用通用处理器,由操作系统对多项处理任务进行调度,其中物理层处理的实时性较传统平台难以得到保障,不确定性也会增加,因而不可避免地会遇到超时拥塞问题:处理器调度其他任务导致物理层基带处理的计算任务停滞时间过长,超过了实时性所能容许的时限,使得后续业务数据处理发生拥塞。传统基带处理过程中几乎不存在这一问题,所以缺乏这一问题的应对方案。In the traditional access network architecture, baseband signal processing is usually implemented on a dedicated processor using a fixed algorithm solution under the premise of meeting real-time requirements. The resources consumed are fixed, and the real-time performance of the solution is also determined. However, the base station resource pool platform architecture usually uses a general-purpose processor, and the operating system schedules multiple processing tasks. Compared with traditional platforms, the real-time performance of physical layer processing is difficult to guarantee, and the uncertainty will increase. Therefore, it is inevitable to encounter To the timeout congestion problem: The scheduling of other tasks by the processor causes the computing tasks of the baseband processing at the physical layer to be stagnated for too long, exceeding the time limit allowed by real-time performance, causing subsequent business data processing to be congested. This problem hardly exists in the traditional baseband processing process, so there is no solution to this problem.

具体地,传统的通信设备往往是一家厂商提供一整套解决方案,系统维护或者升级依赖性高。而随着近几年能源资源紧张,全球移动通信网络运营商面临日渐严重的成本压力。大多数主流运营商通常拥有多个不同通信制式的网络,为保证网络的服务质量,需要部署大量的基站以解决网络覆盖的问题。但站址和机房资源的相对稀缺,与大量基站部署的需求形成难以协调的矛盾。而由于移动通信市场的激烈竞争,单用户平均收入增长缓慢甚至下降,运营商的“盈利”能力并不随之提高,这将导致建网和设备采购投资的压缩。出于行业持续盈利和长期发展考虑,移动通信产业界提出通过改变接入网络架构解决这个问题。Specifically, for traditional communication equipment, one manufacturer often provides a complete set of solutions, and there is a high dependence on system maintenance or upgrade. With the shortage of energy resources in recent years, global mobile communication network operators are facing increasingly serious cost pressures. Most mainstream operators usually have multiple networks with different communication standards. In order to ensure the quality of service of the network, a large number of base stations need to be deployed to solve the problem of network coverage. However, the relative scarcity of site and computer room resources creates a contradiction that is difficult to coordinate with the deployment of a large number of base stations. However, due to the fierce competition in the mobile communication market, the average revenue per user grows slowly or even declines, and the "profitability" of operators does not increase accordingly, which will lead to the compression of investment in network construction and equipment procurement. Considering the industry's sustainable profitability and long-term development, the mobile communication industry proposes to solve this problem by changing the access network architecture.

新型基站系统架构如图1所示,所有基带处理单元(Baseband Unit,BBU)和远端无线射频单元(Radio Remote Unit,RRU)通过高带宽、低延迟的光传输网络连接起来。基带处理单元集中在一个物理站点构成基带池。基带池中多个基带处理单元之间通过高带宽、低延迟、灵活拓扑、低成本交叉连接。基带资源池需要应用基站虚拟化技术,在基带池中多基站共享计算资源,而计算资源的分配由系统根据业务量统一动态调度。而无线信号处理算法构成了无线通信系统物理层核心处理,具有计算密集的特点,并且面临严苛的实时性要求。为保证基站集中处理的实时性、减少系统能耗,使虚拟化技术能够最大限度发挥硬件系统性能,以支撑高速运行的通信系统基带数据处理,需要对基带信号处理的计算任务进行划分并封装起来,将封装后的计算任务进行集中处理。封装方案可根据基站资源池的资源使用情况进行调整,以适应多核通用处理器上动态任务分配并满足系统实时要求。The architecture of the new base station system is shown in Figure 1. All baseband processing units (Baseband Unit, BBU) and remote radio frequency units (Radio Remote Unit, RRU) are connected through a high-bandwidth, low-latency optical transmission network. The baseband processing units are concentrated at one physical site to form a baseband pool. Multiple baseband processing units in the baseband pool are connected through high-bandwidth, low-latency, flexible topology, and low-cost cross-connections. The baseband resource pool needs to apply base station virtualization technology. In the baseband pool, multiple base stations share computing resources, and the allocation of computing resources is uniformly and dynamically scheduled by the system according to the traffic volume. The wireless signal processing algorithm constitutes the core processing of the physical layer of the wireless communication system, which is computationally intensive and faces strict real-time requirements. In order to ensure the real-time performance of centralized processing of base stations, reduce system energy consumption, and enable virtualization technology to maximize hardware system performance to support high-speed communication system baseband data processing, it is necessary to divide and package the computing tasks of baseband signal processing , to centrally process the encapsulated computing tasks. The encapsulation scheme can be adjusted according to the resource usage of the resource pool of the base station, so as to adapt to the dynamic task allocation on the multi-core general processor and meet the real-time requirements of the system.

不同于传统基站,基站资源池聚集了大量的计算资源可容纳多小区多用户数据同时处理,无线通信系统物理层信号处理的实时性要求较高,以LTE系统为例,下行信道每1ms向用户发送一个子帧的数据,上行信道每1ms接收一个子帧的数据。由于资源池平台架构通常采用通用处理器,由操作系统同时对多个处理任务进行调度,因此资源池中物理层处理会不可避免地遇到下述问题:处理器调度导致物理层基带处理的计算任务停滞时间过长,超过了规定时限,使得后续业务数据发生拥塞,如图2所示。本申请中将该问题称为“超时拥塞”。Different from traditional base stations, the base station resource pool gathers a large number of computing resources to accommodate multi-cell multi-user data processing simultaneously. The real-time requirements of the physical layer signal processing of the wireless communication system are high. Taking the LTE system as an example, the downlink channel sends data to the user every 1 ms. The data of one subframe is sent, and the uplink channel receives the data of one subframe every 1ms. Since the resource pool platform architecture usually uses a general-purpose processor, and the operating system schedules multiple processing tasks at the same time, the physical layer processing in the resource pool will inevitably encounter the following problems: processor scheduling leads to the calculation of the physical layer baseband processing The stagnation time of the task is too long, exceeding the specified time limit, which causes the subsequent business data to be congested, as shown in Figure 2. This problem is referred to as "timeout congestion" in this application.

图2中,处理器在处理信道A计算任务的过程中调度了其他的处理计算任务导致信道A计算任务发生停滞,如果该信道为上行信道,由于接收前端处理的实时性强,可能使到达的数据无法得到及时处理发生堵塞,如果该信道为下行信道,由于发送前端处理的实时性要求高,可能导致数据无法及时输送到前端。In Figure 2, the processor schedules other processing and computing tasks during the processing of the computing tasks of channel A, which causes the computing tasks of channel A to stagnate. If the channel is an uplink channel, due to the strong real-time processing of the receiving front end, The data cannot be processed in time and congestion occurs. If the channel is a downlink channel, due to the high real-time requirements of the sending front-end processing, the data may not be delivered to the front-end in time.

这一问题在传统的基带处理单元(BBU)所采用的专用处理器上几乎不会出现,但在通用平台上操作系统介入对实时处理任务进行调度处理,处理超时拥塞导致实时性难以保障的问题就会凸显。而目前许多处理拥塞的技术,往往针对网络分组拥塞问题,相应的解决方案并不能直接应用于本申请中来解决超时拥塞的问题。This problem hardly occurs on the dedicated processor used in the traditional baseband processing unit (BBU), but on the general-purpose platform, the operating system intervenes to schedule and process real-time processing tasks, and deal with the problem that real-time performance is difficult to guarantee due to overtime congestion. will be highlighted. However, many current congestion-handling technologies are often aimed at the problem of network packet congestion, and the corresponding solutions cannot be directly applied to this application to solve the problem of timeout congestion.

发明内容Contents of the invention

本申请提供了基带资源池中的数据处理方法,能够在基带资源池架构中出现超时拥塞时保证数据传输的实时性要求。The present application provides a data processing method in the baseband resource pool, which can ensure the real-time requirement of data transmission when timeout congestion occurs in the baseband resource pool architecture.

为解决上述问题,本申请采用如下的技术方案:In order to solve the above problems, the application adopts the following technical solutions:

一种基带资源池中的数据处理方法,包括:A data processing method in a baseband resource pool, comprising:

a、预先在基带处理出口处设置出口缓冲区;a. Set the exit buffer at the baseband processing exit in advance;

b、将基带处理后的数据选择送入所述出口缓冲区;按照预先设定的时间间隔,从所述出口缓冲区取出数据进行前端处理,将从所述出口缓冲区中读出的进行前端处理的数据进行顺序编号并记录;b. The data after baseband processing is selected and sent to the egress buffer; according to the preset time interval, the data is taken out from the egress buffer for front-end processing, and the data read from the egress buffer is processed by the front-end The processed data is sequentially numbered and recorded;

其中,当所述出口缓冲区中无数据时,读出空数据并对所述空数据继续编号并记录;Wherein, when there is no data in the export buffer, read out the empty data and continue to number and record the empty data;

将基带处理后的数据选择送入所述出口缓冲区的方式包括:若该数据的处理输出序号小于或等于当前记录的进行前端处理的数据的最大编号,则将该数据丢弃,不送入所述出口缓冲区;否则,将该数据送入出口缓冲区;The method of sending the data after baseband processing into the export buffer includes: if the processing output sequence number of the data is less than or equal to the maximum number of the currently recorded data for front-end processing, the data is discarded and not sent to the export buffer. the egress buffer; otherwise, send the data into the egress buffer;

基带处理后的数据的处理输出序号为该数据块经过基带处理后输出时的顺序编号。The processed output sequence number of the baseband processed data is the sequence number when the data block is output after the baseband processing.

较佳地,在所述步骤a和b之间该方法进一步包括:为基带处理前的数据分配等效处理输出序号,该序号为基带处理的输入数据进行基带处理后输出时对应的数据块的顺序编号;Preferably, the method between steps a and b further includes: assigning an equivalent processing output sequence number to the data before baseband processing, and the sequence number is the corresponding data block number when the input data of baseband processing is output after baseband processing sequence number;

当下行信道发生超时拥塞并结束后,估计超时拥塞度OM+δ-Ke,当超时拥塞度大于或等于0时,将等效处理输出序号为Ke到OM+δ的数据丢弃,不再进行基带处理;When the timeout congestion occurs on the downlink channel and ends, estimate the timeout congestion degree O M +δ-K e , and when the timeout congestion degree is greater than or equal to 0, discard the data with equivalent processing output sequence numbers K e to O M +δ, No more baseband processing;

其中,OM为当前记录的进行前端处理的数据的最大编号,Ke为即将进行基带处理的数据的等效处理输出序号,δ为预先设定的自然数。Wherein, OM is the maximum serial number of the currently recorded data that undergoes front-end processing, K e is the equivalent processing output sequence number of the data that is about to undergo baseband processing, and δ is a preset natural number.

由上述技术方案可见,本申请中给出一种数据处理方法,在基带处理出口处设置出口缓冲区,并按照固定间隔发送从出口缓冲区中读取的下行数据或发送空数据,对于经过基带处理的未能按时输出的下行数据进行丢弃处理,同时,对于未及时进行基带处理的过期数据也直接丢弃,从而保障下行数据发送的实时性要求,节约基带处理资源。It can be seen from the above technical scheme that a data processing method is provided in this application, an exit buffer is set at the exit of the baseband processing, and the downlink data read from the exit buffer or empty data are sent at fixed intervals. The processed downlink data that cannot be output on time is discarded. At the same time, the expired data that has not been processed in time by the baseband is also directly discarded, so as to ensure the real-time requirements of downlink data transmission and save baseband processing resources.

附图说明Description of drawings

图1为新型基站系统架构的示意图;FIG. 1 is a schematic diagram of a new base station system architecture;

图2为超时拥塞的示意图;Fig. 2 is a schematic diagram of overtime congestion;

图3为针对下行信道的数据处理方法流程示意图;FIG. 3 is a schematic flow chart of a data processing method for a downlink channel;

图4为下行信道数据发送和出口缓冲区位置的示意图;Fig. 4 is a schematic diagram of downlink channel data transmission and egress buffer positions;

图5a和图5b分别为查询数据输出序号表的两个示例图;Fig. 5a and Fig. 5b are respectively two example diagrams of query data output serial number table;

图6为出口缓冲区中有数据时发送数据、输出序号表记录状态的一个示例图;Fig. 6 is an example diagram of sending data and output sequence number table recording state when there is data in the export buffer;

图7为缓冲区无数据时发送数据、输出序号表记录状态的示例图;Figure 7 is an example diagram of sending data and output sequence number table recording state when there is no data in the buffer;

图8为判断未经基带处理的过期数据的示例图。FIG. 8 is an example diagram for judging expired data that has not been processed by the baseband.

具体实施方式detailed description

为了使本申请的目的、技术手段和优点更加清楚明白,以下结合附图对本申请做进一步详细说明。In order to make the purpose, technical means and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings.

本申请旨在设计基站资源池中的数据处理方法,以应对物理层的超时拥塞,保障物理层基带信号处理过程的实时性。基站资源池物理层信号处理由多个信道组成,包括上行和下行信道。上行信道从空中接口接收用户终端的信号经过一定的处理后传送至基带处理,这一上行传输过程在接收端有严格的实时性要求;而下行信道将基站信号经基带处理后进行一定的处理、通过空中接口发送至用户终端,这一传输过程在发送端有严格的实时性要求。如果在下行信道处理过程中发生超时拥塞,可能导致基站作为发送端的数据无法及时发送,如果在上行信道处理过程中发生超时拥塞,可能导致基站作为接收端的数据无法得到及时处理,两种情况都会影响基带资源池物理层处理的实时性。The purpose of this application is to design a data processing method in a base station resource pool to deal with overtime congestion at the physical layer and ensure the real-time performance of the baseband signal processing process at the physical layer. The physical layer signal processing of the base station resource pool consists of multiple channels, including uplink and downlink channels. The uplink channel receives the signal of the user terminal from the air interface and then transmits it to the baseband for processing. This uplink transmission process has strict real-time requirements at the receiving end; while the downlink channel performs certain processing on the base station signal after baseband processing. It is sent to the user terminal through the air interface. This transmission process has strict real-time requirements at the sending end. If timeout congestion occurs during downlink channel processing, the data sent by the base station as the sending end may not be sent in time. If timeout congestion occurs during uplink channel processing, data received by the base station as the receiving end may not be processed in time. Both situations will affect The real-time performance of the physical layer processing of the baseband resource pool.

针对上述在下行信道发生超时拥塞后可能影响实时性的情况,本申请给出相应的数据处理方法,以避免对物理层处理的实时性影响。In view of the above-mentioned situation that the real-time performance may be affected after timeout congestion occurs on the downlink channel, this application provides a corresponding data processing method to avoid the real-time performance impact on the physical layer processing.

具体地,对应于基站作为下行信道发送端的情况,本申请给出图3所示的数据处理方法。其中,由于下行信道的发送的实时性要求高,采用本处理方法,在基带处理的出口处进行超时拥塞控制的处理。如图3所示,该流程包括:Specifically, corresponding to the case where the base station serves as the downlink channel sender, the present application provides the data processing method shown in FIG. 3 . Wherein, due to the high real-time requirements of the transmission of the downlink channel, this processing method is used to perform the processing of timeout congestion control at the exit of the baseband processing. As shown in Figure 3, the process includes:

步骤301,预先在基带处理出口处设置出口缓冲区。Step 301, pre-setting an egress buffer at the baseband processing egress.

对于下行信道,由于需要将基带处理和前端处理后的数据通过空中接口发送给用户终端,如图4所示,在基带处理出口需要进行实时性保障操作。基于此,本方法中,在基带处理出口处使用出口缓冲区,使基带处理完毕的数据经由出口缓冲区缓冲处理后传送至前端。出口缓冲区可以划分为多个缓冲块,每个缓冲块存储基带处理后输出的一个数据包。For the downlink channel, since the data after baseband processing and front-end processing needs to be sent to the user terminal through the air interface, as shown in Figure 4, real-time guarantee operations need to be performed at the baseband processing exit. Based on this, in this method, an egress buffer is used at the egress of the baseband processing, so that the data processed by the baseband is buffered and processed by the egress buffer and then transmitted to the front end. The egress buffer can be divided into multiple buffer blocks, and each buffer block stores a data packet output after baseband processing.

步骤302,在基带处理前,为进入基带处理的数据指配等效处理输出序号。Step 302, before the baseband processing, assign an equivalent processing output sequence number to the data entering the baseband processing.

在物理层信道中,存在多种数据处理单元,如传输块、码块等,进入基带处理的数据处理单元与输出时的并不相同,如LTE系统中,下行信道输入的数据以传输块为单位,基带处理后输出以帧为单位,但它们之间存在固定的换算关系。为方便后续步骤对超时拥塞度的估计,需要为进入基带处理的数据指配等效处理输出序号。该序号是一个自然计数的编号,根据输入输出数据量的关系获得输入数据在输出时以输出数据单元为单位计数的序号。例如,m个输入数据单元对应1个输出数据单元,则为每m个输入数据单元指配相同的自然数编号。编号采用循环自然计数,n=1,2,…,N。本步骤分配的等效处理输出序号将在步骤305中用于进行超时拥塞度的计算和相关处理。In the physical layer channel, there are various data processing units, such as transport blocks, code blocks, etc., and the data processing units entering the baseband processing are different from those at the output. For example, in the LTE system, the input data of the downlink channel is based on the transport block. Unit, the output after baseband processing is in frame, but there is a fixed conversion relationship between them. In order to facilitate the estimation of the overtime congestion degree in the subsequent steps, it is necessary to assign an equivalent processing output sequence number to the data entering the baseband processing. The sequence number is a number of natural counts, and the sequence number counted in units of output data units when the input data is output is obtained according to the relationship between the amount of input and output data. For example, m input data units correspond to one output data unit, and the same natural number number is assigned to every m input data units. Numbering adopts circular natural counting, n=1,2,...,N. The equivalent processing output sequence number assigned in this step will be used in step 305 to calculate the timeout congestion degree and related processing.

步骤303,为基带处理完的数据分配处理输出序号,并根据该序号将处理完的数据选择性地写入出口缓冲区。Step 303, assigning a processing output sequence number to the baseband processed data, and selectively writing the processed data into the egress buffer according to the sequence number.

本步骤进行的是出口缓冲区的写操作。为方便对数据进行实时性保障操作,需要为基带处理完输出的数据块分配处理输出序号。编号方法是以基带处理输出的数据处理单元为单位,为基带信道处理完的数据块依次分配一个自然数编号,即为处理输出序号。编号方法采用循环自然计数,n=1,2,…,N。N为最大处理输出序号,其值可以考虑可用比特数以及标记量的大小进行设置。计数到达N后回到1重新开始编号。In this step, the write operation of the export buffer is performed. In order to facilitate the real-time guarantee operation of the data, it is necessary to assign a processing output sequence number to the data block processed and output by the baseband. The numbering method takes the data processing unit output by the baseband processing as a unit, and sequentially assigns a natural number number to the data blocks processed by the baseband channel, which is the processing output sequence number. The numbering method adopts circular natural counting, n=1,2,...,N. N is the maximum processing output sequence number, and its value can be set considering the number of available bits and the size of the tag amount. After the count reaches N, it returns to 1 and restarts the numbering.

在将基带处理完的数据写入出口缓冲区时,考虑到超时拥塞的控制处理,会首先根据数据的处理输出序号,查询输出序号表来进行一个判断,确定是否将该基带处理输出的数据写入出口缓冲区。其中,输出序号表用于记录已经从出口缓冲区读出并进行前端处理的数据的编号,具体建立过程将在步骤304的出口缓冲区读操作中介绍。When writing the baseband processed data into the egress buffer, considering the timeout congestion control process, it will first query the output sequence number table according to the data processing output sequence number to make a judgment to determine whether to write the baseband processed output data to Entry and exit buffers. Wherein, the output sequence number table is used to record the number of the data that has been read from the egress buffer and processed by the front-end, and the specific establishment process will be introduced in step 304 in the read operation of the egress buffer.

在判断是否需要写入出口缓冲区时,具体地,从输出序号表中读出已输出数据的最大序号,如果该序号大于等于待进入出口缓冲区的数据块处理输出序号,则判断该数据块已过期,不必写入出口缓冲区,直接丢弃,否则判为数据块未过期并写入出口缓冲区。When judging whether to write to the export buffer, specifically, read the maximum serial number of the output data from the output serial number table, if the serial number is greater than or equal to the output serial number of the data block to be entered into the export buffer, then judge the data block If it has expired, it does not need to be written into the export buffer, it is discarded directly, otherwise it is judged that the data block has not expired and is written into the export buffer.

图5a和图5b给出了一个查询数据输出序号表的例子。图5a中,基带处理完毕的数据块被分配的处理输出序号为4,对比输出序号表的记录,最大序号为2,说明当前数据块未过期可写入出口缓冲区。图5b中,处理完的数据块被分配的处理输出序号为4,对比输出序号表,其中记录的最大值为5,表示当前处理输出序号为4的数据块已过期,直接丢弃,不再写入出口缓冲区。Figures 5a and 5b show an example of querying the data output serial number table. In Figure 5a, the processed output sequence number assigned to the baseband processed data block is 4. Compared with the records in the output sequence number table, the maximum sequence number is 2, indicating that the current data block has not expired and can be written into the export buffer. In Figure 5b, the processing output sequence number assigned to the processed data block is 4. Compared with the output sequence number table, the maximum value recorded in it is 5, which means that the data block with the current processing output sequence number 4 has expired and is directly discarded and no longer written. Entry and exit buffers.

步骤304,按照设定的时间间隔从出口缓冲区读出数据,在建立的数据输出序号表中记录数据的输出序号,当出口缓冲区无数据时,输出空数据,并更新数据输出序号表中记录的序号。Step 304, read data from the export buffer according to the set time interval, record the output serial number of the data in the data output serial number table established, when the export buffer has no data, output empty data, and update the data output serial number table The sequence number of the record.

由于基带处理单元输出至前端的数据具有严格的实时性要求,输送至前端的数据块应有严格的时间间隔,因此为保证有持续的数据按发送时间要求发送,需监测前后序号计数是否连续、在时间间隔后是否有数据供输出。具体地,Since the data output from the baseband processing unit to the front-end has strict real-time requirements, the data blocks sent to the front-end should have strict time intervals. Therefore, in order to ensure that continuous data is sent according to the sending time requirements, it is necessary to monitor whether the serial number counts before and after are continuous. Whether there is data for output after the time interval. specifically,

首先,建立输出序号表对输送至前端的数据块进行编号并记录。建立的输出序号表可以为一列记录,每项记录为已按时输送至前端的数据块序号,如表1所示。其初始值为0,表示无数据输出,最大值与基带处理后数据的处理输出序号最大值相同,达到最大值后,对后续送至前端的数据块重新开始编号,并将之前记录的输出序号清空。First, establish an output sequence number table to number and record the data blocks delivered to the front end. The established output sequence number table may be a list of records, each record being the sequence number of a data block that has been delivered to the front end on time, as shown in Table 1. Its initial value is 0, indicating no data output, and the maximum value is the same as the maximum value of the processing output sequence number of the baseband processed data. After reaching the maximum value, the numbering of the subsequent data blocks sent to the front end is restarted, and the previously recorded output sequence number empty.

已输出数据块序号Output data block sequence number 11 22 33

表1 输出序号表Table 1 Output sequence number table

然后,按照固定的发送时间间隔检查出口缓冲区是否有数据等待输出。如果有数据,则正常读出数据,并更新输出状态表中记录的已输出数据序号。如果无数据,则输出空数据进行填充,并在输出序号表中对空数据继续进行编号和记录。空数据是指无信息内容的数据,如0。Then, check whether there is data waiting to be output in the export buffer according to the fixed sending time interval. If there is data, read the data normally, and update the serial number of the output data recorded in the output status table. If there is no data, output empty data for filling, and continue to number and record the empty data in the output serial number table. Empty data refers to data without information content, such as 0.

图6给出了出口缓冲区中有数据时发送数据、输出序号表记录状态的一个示例。如图6所示,假定出口缓冲区中存在处理输出序号为4、5的数据块等待输出。序号为2、3的数据块已从出口缓冲区读出,因此输出序号表中记录了输出序号2、3。数据发送时有严格的时间间隔T,在3号数据块发送后的T时间内,检查出口缓冲区中是否有数据等待。有则发送数据4,并在输出序号表中标记4号输出。此外,基带处理完毕的数据块被分配到处理输出序号6写入缓冲区。Figure 6 shows an example of sending data when there is data in the egress buffer, and outputting the record status of the sequence number table. As shown in FIG. 6 , it is assumed that there are data blocks with processing output sequence numbers 4 and 5 waiting to be output in the egress buffer. The data blocks with sequence numbers 2 and 3 have been read from the export buffer, so output sequence numbers 2 and 3 are recorded in the output sequence number table. There is a strict time interval T when data is sent, and within T time after the No. 3 data block is sent, check whether there is data waiting in the export buffer. If there is, send data 4, and mark the No. 4 output in the output sequence number table. In addition, the data blocks that have been processed by the baseband are allocated to the processing output sequence number 6 and written into the buffer.

再给出一个发生超时拥塞时的处理方法示例。图7为缓冲区无数据时发送数据、输出序号表记录状态的示例。如图7所示,由于发生超时拥塞导致基带无处理完毕的数据输出,当3号数据发送后T时间内,缓冲区仍然无数据,则补充空数据发送至前端。同时在输出序号表中记录第4块数据已发送完毕。Give another example of the processing method when timeout congestion occurs. FIG. 7 is an example of sending data and outputting a sequence number table record state when there is no data in the buffer. As shown in Figure 7, due to timeout congestion, there is no processed data output in the baseband. When the buffer still has no data within T time after the No. 3 data is sent, supplementary empty data is sent to the front end. At the same time, it is recorded in the output sequence number table that the fourth block of data has been sent.

由上述处理可见,输出序号表中会定时在表中依次记录数据的输出序号(包括从出口缓冲区中真实读出的数据和空数据),也就是说,该输出序号并不依赖于数据在基带处理后被分配的处理输出编号,而是输出序号表定时自行进行的输出序号的记录。在没有发生超时拥塞的正常处理节奏情况下,基带处理后的数据被分配的处理输出序号应当是大于输出序号表中记录的最大值,这样情况说明基带处理后的数据发送时间并未错过,满足发送实时性的要求。而当发生超时拥塞后,可能由于基带处理没有及时执行,导致出口缓冲区没有相应的数据可以输出,因此在对应的发送时间发送空数据,并相应更新输出序号表,待之前拥塞的数据基带处理后准备进入出口缓冲区时,会发现其发送时间已经错过(即步骤303中所述基带处理后数据被分配的处理输出序号小于或等于输出序号表中的最大值),则该数据就不必再被处理,不需要进入出口缓冲区,可以直接丢弃。直到发现处理输出序号大于输出序号表的最大值,才将该数据送入出口缓冲区,以待进一步处理。通过上述处理,能够及时将已经过期的基带处理后的数据丢弃,不需要再对其进行前端处理,以保证发送的实时性要求。It can be seen from the above processing that the output sequence number table will regularly record the output sequence number of the data in the table (including the data actually read from the export buffer and the empty data), that is to say, the output sequence number does not depend on the data in the The processing output number assigned after the baseband processing is the record of the output sequence number that is automatically performed by the output sequence number table. In the case of a normal processing rhythm without overtime congestion, the processing output sequence number assigned to the baseband processed data should be greater than the maximum value recorded in the output sequence number table. This situation shows that the data transmission time after the baseband processing has not been missed. Send real-time requests. When overtime congestion occurs, it may be that the baseband processing is not executed in time, resulting in no corresponding data to be output in the egress buffer, so send empty data at the corresponding sending time, and update the output sequence number table accordingly, waiting for the previously congested data baseband processing When preparing to enter the export buffer zone, it will be found that its transmission time has been missed (i.e. the assigned processing output sequence number of the data after baseband processing described in step 303 is less than or equal to the maximum value in the output sequence number table), then this data does not need to be sent again. Be processed, do not need to enter the export buffer, can be directly discarded. Until it is found that the processing output serial number is greater than the maximum value of the output serial number table, the data is sent to the export buffer for further processing. Through the above processing, the expired baseband processed data can be discarded in time, and no front-end processing is required to ensure the real-time requirement of transmission.

步骤305,在发生超时拥塞时,估计超时拥塞度,并丢弃未经基带处理的过期数据。Step 305, when overtime congestion occurs, estimate the overtime congestion degree, and discard outdated data that has not been processed by the baseband.

发生缓冲区无数据的情况,通常由于基带处理中发生了超时拥塞,拥塞会导致数据处理的停滞。如果停滞时间过长,则使缓冲区无数据输出从而发送空数据,即便拥塞的数据后续处理完毕进入缓冲区,也因为错过了固定的发送时间间隔、成为过期数据而不必再输出(即前述步骤303中丢弃数据的情况)。此外,如果拥塞时间过长,可能导致部分未进入基带处理的数据也成为过期数据,该部分数据可不必进行基带处理直接丢弃,否则会导致后续数据始终存在较大的时延。具体处理如下:When there is no data in the buffer, it is usually due to timeout congestion in the baseband processing, which will cause the stagnation of data processing. If the stagnation time is too long, the buffer will have no data output and send empty data. Even if the congested data enters the buffer after subsequent processing, it will not need to be output again because it misses the fixed sending time interval and becomes expired data (that is, the aforementioned steps 303 in the case of discarding data). In addition, if the congestion time is too long, some data that has not entered the baseband processing may also become expired data, and this part of the data can be directly discarded without baseband processing, otherwise there will always be a large delay in subsequent data. The specific treatment is as follows:

首先在超时拥塞发生后,估计超时拥塞度。在向前端发送空数据时,可获知已发生超时拥塞。在超时拥塞结束后对超时拥塞度进行估计。超时拥塞度用于衡量基带处理数据拥堵的数据量或时间,可由超时拥塞后基带处理完毕的数据继续输出时,输出序号表中的最大值与即将进入基带的数据的等效处理序号的差值OM+δ-Ke来表示。其中,Ke表示即将进入基带的数据的等效处理输出序号,OM表示输出序号表中的最大值,δ为经验值,结合基带处理时间和向前端发送数据的时间间隔设定,通常为自然数,以保证OM+δ+1对应的数据进入基带处理后能按时发送出去。First, after the timeout congestion occurs, estimate the timeout congestion degree. When empty data is sent to the front end, it is known that timeout congestion has occurred. Estimate the timeout congestion degree after the timeout congestion ends. The overtime congestion degree is used to measure the amount or time of baseband processing data congestion. It can be determined by the difference between the maximum value in the output sequence number table and the equivalent processing sequence number of the data that is about to enter the baseband when the baseband processed data continues to be output after the timeout congestion. O M + δ-Ke to represent. Among them, Ke represents the equivalent processing output sequence number of the data that is about to enter the baseband, O M represents the maximum value in the output sequence number table, and δ is an empirical value, which is set in combination with the baseband processing time and the time interval for sending data to the front end, usually a natural number , to ensure that the data corresponding to O M +δ+1 can be sent out on time after entering the baseband processing.

然后根据超时拥塞度判断未经基带处理的数据是否由于拥塞已过期。如果超时拥塞度大于或等于0,确定相应未经基带处理的数据已过期,丢弃的未经基带处理的数据为等效处理输出序号为Ke至OM+δ对应的数据。Then judge whether the data that has not been processed by the baseband has expired due to congestion according to the timeout congestion degree. If the overtime congestion degree is greater than or equal to 0, it is determined that the corresponding data without baseband processing has expired, and the discarded data without baseband processing is the data corresponding to the equivalent processing output sequence numbers Ke to OM + δ.

下面给出一个判断未经基带处理的过期数据过程的示例。图8为判断未经基带处理的过期数据示例。由于基带处理过程发生了超时拥塞,导致刚经过基带处理完毕的数据分配到处理输出序号4,等效处理输出序号为7的数据即将进入基带处理单元,而实际已按固定的发送时间将4到8号数据以空数据形式发送至前端,此时超时拥塞度为8-7=1,大于0,判定未进入基带处理的7、8号数据块已经过期。结合基带处理时间和发送时间间隔,若设定δ=1,则丢弃7-9号数据,使10号及以后的数据经基带处理,以符合发送至前端的实时要求。An example of a process of judging expired data that has not been processed by the baseband is given below. FIG. 8 is an example of judging expired data that has not been processed by the baseband. Due to the overtime congestion in the baseband processing process, the data that has just been processed by the baseband is allocated to the processing output sequence number 4, and the data with the equivalent processing output sequence number 7 is about to enter the baseband processing unit, but the actual transmission time has been fixed. The No. 8 data is sent to the front end in the form of empty data. At this time, the timeout congestion degree is 8-7=1, which is greater than 0. It is determined that the No. 7 and No. 8 data blocks that have not entered the baseband processing have expired. Combining the baseband processing time and the sending time interval, if δ=1 is set, the data of No. 7-9 will be discarded, and the data of No. 10 and later will be processed by the baseband to meet the real-time requirements sent to the front end.

至此,图3中的处理方法流程结束。在上述流程中,一方面是对基带处理后的数据通过比较和判断,确定是否丢弃;另一方面通过在基带处理前对数据的判断,尽早对错过发送时间的数据直接丢弃,不再进行基带处理。上述两方面的处理相互结合,以满足发送端对于实时性的要求,并更大程度节约基带资源池的处理资源。事实上,对于最基本的实现方式,可以不包括步骤302和305的处理,也能够满足某些条件下的实时性要求;当然,优选的实现方式是包括步骤302和305的图3的整个处理流程,从而能够满足各种情况下对实时性的要求,并节省处理资源。So far, the flow of the processing method in FIG. 3 ends. In the above process, on the one hand, the baseband processed data is compared and judged to determine whether to discard it; on the other hand, through the judgment of the data before the baseband processing, the data that misses the sending time is directly discarded as soon as possible, and the baseband processing is no longer performed. deal with. The above two aspects of processing are combined with each other to meet the real-time requirements of the sending end and save the processing resources of the baseband resource pool to a greater extent. In fact, for the most basic implementation, the processing of steps 302 and 305 may not be included, and the real-time requirements under certain conditions can also be met; of course, the preferred implementation is the entire processing of Figure 3 including steps 302 and 305 process, so that it can meet the real-time requirements in various situations and save processing resources.

另外,在上述流程中,对于出口缓冲区的读操作和写操作可以是相互独立进行的,在处理时间上可能出现相互穿插。In addition, in the above process, the read operation and write operation to the egress buffer may be performed independently of each other, and may be interspersed with each other in terms of processing time.

通过上述图3所示的流程,针对基带处理出口的超时拥塞处理,对基带处理完的数据结合输出序号表确定是否写入缓冲区,并按固定发送时间间隔从缓冲区读取数据或填充空数据发送、记录输出序号,对未及时输出的数据进行丢弃处理,可以节省处理资源、避免拥塞产生数据发送的延迟,以保障发送端的实时性要求。Through the process shown in Figure 3 above, for the timeout congestion processing at the baseband processing exit, the baseband processed data is combined with the output sequence number table to determine whether to write to the buffer, and read data from the buffer or fill the empty space at a fixed sending time interval. Sending data, recording the output sequence number, and discarding the data that is not output in time can save processing resources and avoid delays in data transmission caused by congestion, so as to ensure the real-time requirements of the sending end.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (1)

1.一种基带资源池中的下行信道数据处理方法,其特征在于,包括:1. a downlink channel data processing method in a baseband resource pool, characterized in that, comprising: a、预先在基带处理出口处设置出口缓冲区;a. Set the exit buffer at the baseband processing exit in advance; b、为基带处理前的数据分配等效处理输出序号,该序号为基带处理的输入数据进行基带处理后输出时对应的数据块的顺序编号;b. Assign an equivalent processing output sequence number to the data before the baseband processing, which is the sequence number of the corresponding data block when the input data of the baseband processing is output after the baseband processing; c、将基带处理后的数据选择送入所述出口缓冲区;按照预先设定的时间间隔,从所述出口缓冲区取出数据进行前端处理,将从所述出口缓冲区中读出的进行前端处理的数据进行顺序编号并记录;c. The data after baseband processing is selected and sent to the egress buffer; according to the preset time interval, the data is taken out from the egress buffer for front-end processing, and the data read from the egress buffer is processed by the front-end The processed data is sequentially numbered and recorded; 其中,当所述出口缓冲区中无数据时,读出空数据并对所述空数据继续编号并记录;Wherein, when there is no data in the export buffer, read out the empty data and continue to number and record the empty data; 将基带处理后的数据选择送入所述出口缓冲区的方式包括:若该数据的处理输出序号小于或等于当前记录的进行前端处理的数据的最大编号,则将该数据丢弃,不送入所述出口缓冲区;否则,将该数据送入出口缓冲区;The method of sending the data after baseband processing into the export buffer includes: if the processing output sequence number of the data is less than or equal to the maximum number of the currently recorded data for front-end processing, the data is discarded and not sent to the output buffer. the egress buffer; otherwise, send the data into the egress buffer; 基带处理后的数据的处理输出序号为该数据块经过基带处理后输出时的顺序编号;The processing output sequence number of the data after baseband processing is the sequence number when the data block is output after baseband processing; 当下行信道发生超时拥塞并结束后,估计超时拥塞度OM+δ-Ke,当超时拥塞度大于或等于0时,将等效处理输出序号为Ke到OM+δ的数据丢弃,不再进行基带处理;When the downlink channel has overtime congestion and ends, estimate the overtime congestion degree O M +δ-K e , and when the overtime congestion degree is greater than or equal to 0, discard the data with equivalent processing output sequence numbers K e to O M +δ, No more baseband processing; 其中,OM为当前记录的进行前端处理的数据的最大编号,Ke为即将进行基带处理的数据的等效处理输出序号,δ为预先设定的自然数。Wherein, OM is the maximum serial number of the currently recorded data that undergoes front-end processing, K e is the equivalent processing output sequence number of the data that is about to undergo baseband processing, and δ is a preset natural number.
CN201410699647.8A 2014-11-27 2014-11-27 Down channel data processing method in base band resource pool Expired - Fee Related CN104486241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410699647.8A CN104486241B (en) 2014-11-27 2014-11-27 Down channel data processing method in base band resource pool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410699647.8A CN104486241B (en) 2014-11-27 2014-11-27 Down channel data processing method in base band resource pool

Publications (2)

Publication Number Publication Date
CN104486241A CN104486241A (en) 2015-04-01
CN104486241B true CN104486241B (en) 2017-12-05

Family

ID=52760746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410699647.8A Expired - Fee Related CN104486241B (en) 2014-11-27 2014-11-27 Down channel data processing method in base band resource pool

Country Status (1)

Country Link
CN (1) CN104486241B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146102A (en) * 2007-10-16 2008-03-19 深圳国人通信有限公司 HDLC data uplink and downlink method and communication device in RRU network
CN101207570A (en) * 2007-11-26 2008-06-25 上海华为技术有限公司 Data transmission method, data transmission rate control method and base station
CN101431770A (en) * 2008-12-04 2009-05-13 上海交通大学 Control method used for base station congestion of radio communication system up link
EP2624652A1 (en) * 2010-09-29 2013-08-07 Sharp Kabushiki Kaisha Mobile communication system, mobile-station device, base-station device, communication method, and integrated circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146102A (en) * 2007-10-16 2008-03-19 深圳国人通信有限公司 HDLC data uplink and downlink method and communication device in RRU network
CN101207570A (en) * 2007-11-26 2008-06-25 上海华为技术有限公司 Data transmission method, data transmission rate control method and base station
CN101431770A (en) * 2008-12-04 2009-05-13 上海交通大学 Control method used for base station congestion of radio communication system up link
EP2624652A1 (en) * 2010-09-29 2013-08-07 Sharp Kabushiki Kaisha Mobile communication system, mobile-station device, base-station device, communication method, and integrated circuit

Also Published As

Publication number Publication date
CN104486241A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
JP6383433B2 (en) Method and apparatus for triggering buffer status report (BSR)
CN102143596B (en) Wireless resource scheduling method and wireless resource scheduling system
CN102045851B (en) Uplink resource allocating method and device for relay network
KR102476368B1 (en) Integrated Dynamic Bandwidth Allocation Method and Apparatus in Passive Optical Networks
CN109041114B (en) A method and user equipment for sending a cache status report
CN110831061B (en) Method and device for acquiring scheduling throughput, base station and storage medium
CN102256314A (en) Method for adjusting service coding rate and communication node
WO2015127599A1 (en) Uplink resource allocation method, access terminal, and access point
CN109728927A (en) Time delay optimization method, business scheduling method and storage medium
CN105722122A (en) Method and device for optimizing user plane time delay
WO2016082452A1 (en) Resource scheduling method and apparatus
CN104410583B (en) Up channel data processing method in base band resource pool
CN117320163A (en) Data transmission method and device
WO2018218998A1 (en) Resource scheduling method, terminal device and network side device
KR20250004074A (en) BSR triggering and reporting methods, resource allocation methods and devices
CN103582149A (en) Resource scheduling method and device of VOLTE
CN104486241B (en) Down channel data processing method in base band resource pool
WO2016101148A1 (en) Method, device and system for scheduling physical radio resource block
WO2018148964A1 (en) Network capacity adjustment method, and network apparatus
CN107404732B (en) Method and device for reporting cache report
JP2013223181A (en) Radio communication base station, radio communication system and control method for the same radio communication base station
WO2014161502A1 (en) Multiple system resource management method and device
CN101114872A (en) A method and system for scheduling transmission resources
US20250088903A1 (en) Transmission buffering
CN105744552A (en) Wireless network air interface message processing apparatus and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171205

CF01 Termination of patent right due to non-payment of annual fee