[go: up one dir, main page]

CN1169325C - Explicit Priority Cell Relay Method and Communication Implementation System - Google Patents

Explicit Priority Cell Relay Method and Communication Implementation System Download PDF

Info

Publication number
CN1169325C
CN1169325C CNB021294828A CN02129482A CN1169325C CN 1169325 C CN1169325 C CN 1169325C CN B021294828 A CNB021294828 A CN B021294828A CN 02129482 A CN02129482 A CN 02129482A CN 1169325 C CN1169325 C CN 1169325C
Authority
CN
China
Prior art keywords
cell
priority
network
transmission
cells
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 - Lifetime
Application number
CNB021294828A
Other languages
Chinese (zh)
Other versions
CN1398089A (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.)
Tsinghua University
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CNB021294828A priority Critical patent/CN1169325C/en
Publication of CN1398089A publication Critical patent/CN1398089A/en
Application granted granted Critical
Publication of CN1169325C publication Critical patent/CN1169325C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to an explicit priority method for information cell repeat and a communication system thereof, which belongs to network transmission technology adopting fixed length information cells. When an information cell sending end adopting the technology makes and sends the information cells, the information cells are set into different information cell transmission priorities according to specific information contents carried by each information cell. A network terminal of the inlet of a network monitors the information cell arrival rate of the communication virtual connection and discards the priorities of the information cells which arrive the information cell arrangement. The switching nodes of the network use preserved network resource for transmitting the information cells in a network contract, residual network resource transmits information cells outside the contract bandwidth. The present invention can mark a plurality of different information cell transmission priorities in a connection, indication for default flowing quality is used for simultaneously compromising benefits of users and the network, and an ensuring type service and a non ensuring type service simultaneously support in one connection. The priority type network transmission of user data is completed by the mutual match of information cell terminals, network terminals and switching nodes, and the present invention is suitable for the transmission of combined service.

Description

显式优先级信元中继方法和通信实现系统Explicit Priority Cell Relay Method and Communication Implementation System

技术领域technical field

本发明属于一种网络传输方法及其实现系统,尤其是一种采用定长信元为信息传输单位的分组网络传输方法和通信网络系统。The invention belongs to a network transmission method and its realization system, in particular to a packet network transmission method and a communication network system using fixed-length cells as information transmission units.

背景技术Background technique

ITU-T(国际电信联盟标准部)建议的宽带综合业务数字网(BISDN)是这样一种分组传输网络的代表。BISDN是一个高速、低延迟的复用和交换网络,使用异步传输模式(ATM),经由一个标准的用户网络接口,向居民和商业用户提供范围广泛的综合业务,同时支持话音、数据以及视频应用等多种类型的传输应用。The Broadband Integrated Services Digital Network (BISDN) proposed by ITU-T (International Telecommunication Union Standardization Sector) is a representative of such a packet transmission network. BISDN is a high-speed, low-latency multiplexing and switching network that uses Asynchronous Transfer Mode (ATM) to provide residential and business users with a wide range of integrated services through a standard user network interface, while supporting voice, data and video applications. and other types of transmission applications.

ATM传输网络提供直到ATM协议层为止的功能,这些功能通过信头来实现,在传送信息时只对信头进行操作而不处理信息字段(净荷)的内容。ATM只通过信头提供有限的差错检测操作,不提供反馈重传。这种分层处理原则简化了ATM的网络处理,对于提高网络的规模扩展能力是必要的。但是当前的层次划分过于简单,终端处理能力提高以后,网络在传输质量控制方面就显得能力不足,产生了一些难以克服的问题。The ATM transmission network provides functions up to the ATM protocol layer. These functions are realized through the letter header. When transmitting information, only the letter header is operated without processing the content of the information field (payload). ATM only provides limited error detection operation through the letter header, and does not provide feedback retransmission. This layered processing principle simplifies the network processing of ATM, which is necessary for improving the scale expansion capability of the network. However, the current hierarchical division is too simple. After the terminal processing capability is improved, the network appears to be insufficient in transmission quality control, resulting in some insurmountable problems.

ATM以连接为基础分配优先级,它在呼叫建立时通过信令协商,将优先级赋给每个虚连接(VC)。这种隐含优先级的好处是可以根据需要来定义任意类型的优先级,优先级的数量也可以根据需要来调整。但这也意味着同一个虚连接的所有信元具有相同的优先级。由于综合业务数字网隐含假定了在一条通信连接续存期间,一个通信终端只对应一个用户的一种业务,或者一个终端(有时与终端用户混用)在同一时间的每个应用都有一条虚连接。在此前提假设下,这种以连接为基础的优先级分配方法是可行的。ATM assigns priority on the basis of connection, and it assigns priority to each virtual connection (VC) through signaling negotiation when calling out. The advantage of this implicit priority is that any type of priority can be defined as needed, and the number of priorities can also be adjusted as needed. But this also means that all cells of the same virtual connection have the same priority. Since the ISDN implicitly assumes that during the continuation of a communication connection, a communication terminal corresponds to only one service of a user, or a terminal (sometimes mixed with a terminal user) has a virtual application for each application at the same time. connect. Under this premise, this connection-based priority assignment method is feasible.

但是随着终端性能的提高,一个终端已经不再与一个用户相对应。在两个终端之间建立的一个虚连接上有可能需要传送多个用户的多个会话的信息,而且同一个应用会话在通信过程中传输需求也会发生变化。这时单靠一个关于该连接的普适服务质量参数就很难反映不同用户的不同会话在不同时刻的特殊需求,应该为每一个信元指定传输优先级别。However, with the improvement of terminal performance, one terminal no longer corresponds to one user. Information about multiple sessions of multiple users may need to be transmitted on a virtual connection established between two terminals, and the transmission requirements of the same application session will also change during the communication process. At this time, it is difficult to reflect the special needs of different sessions of different users at different times by only one universal service quality parameter about the connection, and the transmission priority level should be specified for each cell.

网间互连协议(IP)在传输帧格式中设置了8比特的优先级标志,但是没有提出实现这些优先级的可靠方法。目前提出了综合业务优先级和差别业务优先级两种IP优先级方案,它们都是由网络按业务种类对到达流量划分优先级,在网络资源不够时以较大的概率丢弃业务优先级低的包。区别在于综合业务优先级方案使用了资源预留协议,并且资源预留是针对每一个业务流的;而差别业务优先级方案首先将同一子网内要求相似的业务汇集成一类,然后针对每一个业务类进行资源分配。它们都没有涉及同一个业务流中由信源指定的不同分组包的优先级问题。The internetwork protocol (IP) sets 8-bit priority flags in the transmission frame format, but no reliable method for implementing these priorities has been proposed. At present, two IP priority schemes, integrated service priority and differential service priority, are proposed. Both of them are prioritized by the network according to the type of service, and when the network resources are insufficient, the service with a low priority will be discarded with a greater probability. Bag. The difference is that the integrated service priority scheme uses the resource reservation protocol, and the resource reservation is for each service flow; while the differentiated service priority scheme first aggregates services with similar requirements in the same subnet into one category, and then for each The business class performs resource allocation. None of them deals with the prioritization of different packets assigned by sources in the same traffic flow.

由于分组网络中的拥塞是不可避免的,如果不能由信源来指定优先级,那么网络拥塞时,Since the congestion in the packet network is unavoidable, if the priority cannot be assigned by the source, then when the network is congested,

由于分组网络中的拥塞是不可避免的,如果不能由信源来指定优先级,那么网络拥塞时,网络很可能将同一连接中相对次要的数据保留,却将相对重要的数据丢弃。目前已经开发了质量分级编码技术,可以根据信道带宽动态改变信源编码速率,或者在拥塞时选择丢弃较低优先级的编码数据,同时保持可接受的服务质量。在信道带宽充足时,传输所有编码数据可以提高服务质量。显然如果不能由信源来指定一个虚连接内信元的相对优先级,就不能支持这种分级编码传输方案。Since the congestion in the packet network is unavoidable, if the priority cannot be specified by the source, then when the network is congested, the network is likely to keep relatively minor data in the same connection, but discard relatively important data. Quality-graded coding techniques have been developed, which can dynamically change the source coding rate according to the channel bandwidth, or choose to discard lower-priority coded data during congestion, while maintaining acceptable quality of service. When the channel bandwidth is sufficient, transmitting all encoded data can improve the quality of service. Obviously, if the relative priority of cells in a virtual connection cannot be specified by the source, this hierarchical coding transmission scheme cannot be supported.

发明内容Contents of the invention

本发明的目的就是提供一种支持连接内多优先级、同时兼顾用户和网络的利益、适合于多种类型业务、简单易于实施的信元中继方法和实现系统。The purpose of the present invention is to provide a simple and easy-to-implement cell relay method and implementation system that supports multi-priority in connection, takes into account the interests of users and networks, is suitable for various types of services.

本发明的特征在于:信源发送端在产生和发送信元时,根据每个信元携带的特定信息内容把信元设定为不同的信元传输优先级;网络入口处的网络终端监测通信虚连接的有效信元到达速率,对到达信元设置信元丢弃优先级;网络交换节点使用预留的网络资源传输服务合约带宽以内的信元,用剩余的网络资源按信元优先级传输合约带宽以外的信元。所述信源设定的信元传输优先级至少包括是否立即发送、传输延迟高低和传输可靠程度三个方面的指标,用信元净荷类型字段中的紧急传输指示、时延敏感指示和重要数据指示表示;网络终端设定的信元丢弃优先级与有效信元到达速率有关,用信元净荷类型字段中的流量违约指示表示。网络入口处的网络终端监测通信虚连接的有效信元到达速率,对服务合约带宽以内的信元设置较低的信元丢弃优先级,对超出服务合约带宽的超速流量,按照信元传输优先级从低到高的次序筛选分流出来标记为较高的信元丢弃优先级。在网络拥塞时所述的交换节点优先丢弃传输优先级较低的信元,再丢弃传输优先级较高的信元。所述的预留的网络资源只包括申请带宽的最小值。在所述的信元中包括连接识别字段(21)、净荷类型字段(22)、其他控制字段(23)和有效用户数据(24);其中净荷类型字段(22)包括紧急传输指示(221)、时延敏感指示(222)、重要数据指示(223)、流量违约指示(224)和其它标志位(225),通信终端(11)把由网络终端分配的虚连接识别号设置在信头中的连接识别字段(21),用户的有效数据封装在信元的净荷部分(24)。The present invention is characterized in that: when generating and sending cells, the sending end of the source of information sets the cells as different cell transmission priorities according to the specific information content carried by each cell; the network terminal at the network entrance monitors the communication The effective cell arrival rate of the virtual connection, set the cell discarding priority for the arriving cells; the network switching node uses the reserved network resources to transmit cells within the bandwidth of the service contract, and uses the remaining network resources to transmit the contract according to the cell priority Cells outside the bandwidth. The cell transmission priority set by the source includes at least three indicators of whether to send immediately, transmission delay level and transmission reliability, using urgent transmission indication, delay sensitive indication and important The data indication means that the cell discarding priority set by the network terminal is related to the effective cell arrival rate, and is represented by the traffic default indication in the cell payload type field. The network terminal at the network entrance monitors the effective cell arrival rate of the communication virtual connection, sets a lower cell discarding priority for cells within the service contract bandwidth, and sets the cell transmission priority for overspeed traffic exceeding the service contract bandwidth The order from low to high screens out traffic and marks it as a higher cell drop priority. When the network is congested, the switching node first discards cells with lower transmission priority, and then discards cells with higher transmission priority. The reserved network resources only include the minimum value of the requested bandwidth. Include connection identification field (21), payload type field (22), other control fields (23) and effective user data (24) in described information element; Wherein payload type field (22) includes emergency transmission instruction ( 221), delay sensitive indication (222), important data indication (223), traffic violation indication (224) and other flags (225), the communication terminal (11) sets the virtual connection identification number assigned by the network terminal in the signal The connection identification field (21) in the header, and the valid data of the user are encapsulated in the payload part (24) of the cell.

因而本发明的信元中继方法是:根据通信传输的服务质量要求,通过信令协商建立通信虚连接,预留必要的网络资源。信源发送端在产生和发送信元时,根据每个信元携带的特定信息内容将信元设定为不同的信元传输优先级。网络入口处的网络终端监测通信虚连接的有效信元到达速率,对到达信元设置信元丢弃优先级。网络交换节点使用预留的网络资源传输服务合约带宽以内的信元,用剩余的网络资源按信元优先级传输合约带宽以外的信元。Therefore, the cell relay method of the present invention is: according to the quality of service requirements of communication transmission, establishing a communication virtual connection through signaling negotiation, and reserving necessary network resources. When generating and sending cells, the sending end of the information source sets the cells as different cell transmission priorities according to the specific information content carried by each cell. The network terminal at the network entrance monitors the effective cell arrival rate of the communication virtual connection, and sets the cell discarding priority for the arriving cells. The network switching node uses the reserved network resources to transmit cells within the service contract bandwidth, and uses the remaining network resources to transmit cells outside the contract bandwidth according to cell priority.

本发明改进的方法是,根据通信传输的服务质量要求,通过信令协商建立通信虚连接预留必要的网络资源,网络预留的带宽资源只包括申请带宽的最小值。信源发送端在产生和发送信元时,根据每个信元携带的特定信息内容将信元设定为不同的信元传输优先级。网络入口处的网络终端监测通信虚连接的有效信元到达速率,对服务合约带宽以内的信元设置较低筛选分流出来标记为较高的信元丢弃优先级。网络交换节点使用预留的网络资源传输具有最低信元丢弃优先级的信元,其余的信元用剩余的网络资源按照信元传输优先级的高低进行传输。The improved method of the present invention is that, according to the service quality requirements of communication transmission, the communication virtual connection is established through signaling negotiation to reserve necessary network resources, and the bandwidth resources reserved by the network only include the minimum value of the applied bandwidth. When generating and sending cells, the sending end of the information source sets the cells as different cell transmission priorities according to the specific information content carried by each cell. The network terminal at the network entrance monitors the effective cell arrival rate of the communication virtual connection, and sets a lower filtering and splitting for the cells within the bandwidth of the service contract to be marked as a higher cell discarding priority. The network switching node uses the reserved network resources to transmit cells with the lowest cell discarding priority, and uses the remaining network resources to transmit the remaining cells according to the priority of cell transmission.

本发明进一步改进的方法是,上述信源设定的信元传输优先级至少包括是否立即发送、传输延迟高低和传输可靠程度三个方面指标,用信元净荷类型字段中的紧急传输指示、时延敏感指示和重要数据指示表示,网络终端设定的信元丢弃优先级与有效信元到达速率有关,用信元净荷类型字段中的流量违约指示表示。网络拥塞时,交换节点优先丢弃传输优先级较低的信元,再丢弃传输优先级较高的信元。The further improved method of the present invention is that the cell transmission priority set by the above-mentioned information source includes at least three indicators of whether to send immediately, transmission delay level and transmission reliability, and uses the urgent transmission indication in the cell payload type field, The delay sensitive indication and the important data indication indicate that the cell discarding priority set by the network terminal is related to the effective cell arrival rate, which is indicated by the traffic default indication in the cell payload type field. When the network is congested, the switching node discards cells with lower transmission priority first, and then discards cells with higher transmission priority.

本发明的实现系统特征在于:它含有用户终端、网络终端和交换节点三个部分,所述的网络终端12、14分别与交换节点13相连,用户终端11、15又分别与网络终端12、14相连。其中用户终端含有与网络终端相连以便向网络终端发送由信元数据转换成的线路传输信号、并在相反的方向把线路传输信号恢复成接收信元数据的线路驱动接口115、155,与线路驱动接口115、155双向交互连接以维持发送和接收的信元缓冲队列并对是否发生了信元丢弃进行检查的传输质量控制模块114、154,把产生的通信数据封装成为信元同时根据特定内容的传输质量要求把信元设定为不同的传输优先级后再向传输质量控制模块114、154发送的信元生成和优先级设定模块112、152,从传输质量控制模块114、154发来的正确接收的信元中取出终端应用111、151所需数据的信元数据提取模块113、153,以及接收信元数据提取模块113、153发来的数据并向信元生成和优先级设定模块112、152发送通信数据的终端应用111、151;用户终端中的终端应用111、151产生和消耗通信数据。网络终端12含有监测从用户终端方向来的每个连接流量状态的有效信元到达速率测量部件121,接收和缓存从用户端方向送来的信元的信元缓存队列122,根据到达速率测量部件121的测量结果和预先存储在数据库单元124中的连接参数信息判定有效信元到达速率是否超过合约的智能控制部件123,存储连接参数信息的数据库单元124,根据智能控制部件123的指示对从用户端收到的信元设定信元丢弃优先级后再把收到的信元向相连的网络交换节点13发送的信元丢弃优先级更改部件125,与用户终端和交换节点都相连、接收交换节点送来的信元并将它们转发给用户终端的到达信元按地址过滤和分发部件126。网络终端14具有与网络终端12相同的结构。网络交换节点13含有输入输出端口模块131、交换矩阵模块132和智能优先级信元缓存模块133。网络交换节点13按照信元相对优先级的的高低丢弃信元。The realization system of the present invention is characterized in that: it contains user terminal, network terminal and switching node three parts, and described network terminal 12,14 is connected with switching node 13 respectively, and user terminal 11,15 is connected with network terminal 12,14 respectively connected. Wherein the user terminal contains the line driver interface 115, 155 which is connected with the network terminal so as to send the line transmission signal converted from the cell data to the network terminal, and restore the line transmission signal to receive the cell data in the opposite direction, and the line driver interface 115, 155 Interfaces 115, 155 are bidirectionally interactively connected to maintain the cell buffer queues for sending and receiving, and the transmission quality control modules 114, 154 that check whether cell discarding occurs, encapsulate the generated communication data into cells and simultaneously The transmission quality requires that the cell generation and priority setting modules 112, 152 sent to the transmission quality control modules 114, 154 after the cells are set to different transmission priorities, and the transmission quality control modules 114, 154 send The cell data extraction module 113, 153 that takes out the data required by the terminal application 111, 151 from the correctly received cell, and receives the data sent by the cell data extraction module 113, 153 and sends it to the cell generation and priority setting module 112, 152 Terminal applications 111, 151 that send communication data; Terminal applications 111, 151 in user terminals generate and consume communication data. The network terminal 12 contains the effective cell arrival rate measuring part 121 of monitoring the flow state of each connection from the direction of the user terminal, receives and buffers the cell buffer queue 122 of the cell sent from the direction of the user end, according to the arrival rate measurement part The measurement result of 121 and the connection parameter information pre-stored in the database unit 124 determine whether the effective cell arrival rate exceeds the smart control part 123 of the contract, store the database unit 124 of the connection parameter information, according to the instructions of the smart control part 123, send information to the slave user After the cell received by the terminal sets the cell discarding priority, the received cell is sent to the connected network switching node 13. The cell discarding priority changing part 125 is connected with the user terminal and the switching node, receives and switches The node sends incoming cells and forwards them to the user terminal's incoming cell filtering and distribution component 126 by address. The network terminal 14 has the same structure as the network terminal 12 . The network switch node 13 includes an input and output port module 131 , a switch matrix module 132 and an intelligent priority cell buffer module 133 . The network switching node 13 discards the cell according to the relative priority of the cell.

本发明的优点在于:The advantages of the present invention are:

1.支持连接内的多优先级:1. Support multiple priorities within a connection:

本发明在信头净荷类型字段22中设置了紧急传送指示221、时延敏感指示222和重要数据指示223等信元传输相对优先级指示标志,信源通过设定这些标志位,可以在一个连接中标识出多个不同的信元传输优先等级。这样当网络发生拥塞、网络交换节点13不得不丢弃信元时,可以优先选择丢弃传输优先级较低的信元,从而使信元丢弃对用户通信质量的影响最小。The present invention sets the relative priority indicator flags of cell transmission such as urgent transmission indication 221, delay sensitive indication 222 and important data indication 223 in the header payload type field 22, and the information source can be in a A number of different cell transmission priorities are identified in the connection. In this way, when the network is congested and the network switching node 13 has to discard cells, it can preferentially discard cells with lower transmission priority, so that cell discarding has the least impact on user communication quality.

2.同时兼顾了用户和网络的利益:2. Taking into account the interests of users and the network at the same time:

本发明在净荷类型字段22中同时还设置了流量违约指示224,作为由网络来控制的信元相对优先级指示。网络入口处的网络终端12、14通过监测有效信元到达流量,对违反该连接的服务质量合约的超速信元设定流量违约指示标志有效。净荷类型字段22中由信源控制的信元相对优先级指示标志和由网络控制的信元相对优先级标志一起,共同反映了同一条通信虚连接中信元的相对优先级。网络交换节点13据此来对信元做出转发还是丢弃的决定,同时兼顾了用户和网络的利益。In the present invention, a flow violation indication 224 is also set in the payload type field 22 at the same time, as a cell relative priority indication controlled by the network. The network terminals 12 and 14 at the entrance of the network monitor the arrival flow of effective cells, and set the flow violation indication flag to be effective for the overspeed cells that violate the quality of service contract of the connection. The cell relative priority indicator controlled by the source and the cell relative priority flag controlled by the network in the payload type field 22 together reflect the relative priority of cells in the same communication virtual connection. Based on this, the network switching node 13 makes a decision on whether to forward or discard the cell, while taking into account the interests of the user and the network.

3.适合多种业务类型:3. Suitable for a variety of business types:

使用本发明的信元传输优先级设定方法,用户只须将需要保护的数据信元设为较高优先级,需要尽力传输的数据信元设为较低优先级,就可以在同一条通信虚连接中同时传输它们,用一条虚连接同时支持保证型业务和非保证型业务。这样在建立连接时就无须对业务类型进行划分,即用相同的连接方法支持多种业务类型,从而简化了应用软件的复杂度。Using the cell transmission priority setting method of the present invention, the user only needs to set the data cell that needs to be protected as a higher priority, and the data cell that needs to be transmitted as best as possible is set as a lower priority, and then the user can communicate on the same line. They are transmitted in the virtual connection at the same time, and a virtual connection is used to support guaranteed services and non-guaranteed services at the same time. In this way, there is no need to classify service types when establishing a connection, that is, the same connection method is used to support multiple service types, thus simplifying the complexity of the application software.

4.易于实施:4. Ease of implementation:

本发明将复杂的传输优先级管理划分为信源端、网络入口和交换节点三个相对独立又相互配合的部分,每个部分完成确定而且相对简单的功能。信源端只管设定与用户要求有关的信元相对优先级,网络入口只管判定到达信元是否违约并设定于此有关的信元相对优先级,网络交换节点13只管按照信元相对优先级的的高低丢弃信元。通过三者之间的有机配合来完成用户数据的优先级方式网络传输,在保证守约信元的服务质量的前提下,实现违约信元按优先级的尽力传送。The present invention divides the complex transmission priority management into three relatively independent and mutually cooperative parts: source end, network entrance and switching node, and each part completes certain and relatively simple functions. The information source only needs to set the relative priority of the cell related to the user's request, the network entrance only needs to determine whether the arriving cell is a breach of contract and set the relative priority of the relevant cell, and the network switching node 13 only needs to set the relative priority of the cell according to the relative priority of the cell. The high and low dropped cells. Through the organic cooperation among the three, the network transmission of user data is completed in the priority mode, and on the premise of ensuring the service quality of the contract-abiding cells, the best-effort transmission of default cells is realized according to the priority.

附图说明Description of drawings

图1是本发明的通信网络系统结构示意图。Fig. 1 is a schematic structural diagram of the communication network system of the present invention.

图2是本发明的信元结构示意图。Fig. 2 is a schematic diagram of the cell structure of the present invention.

图3是本发明的输入缓存型网络终端内部实现结构和外部双向流量关系图。Fig. 3 is a diagram of the relationship between the internal implementation structure and the external bidirectional flow of the input buffer type network terminal of the present invention.

图4是本发明的网络终端实现方法之二的结构框图。Fig. 4 is a structural block diagram of the second implementation method of the network terminal of the present invention.

图5是本发明的网络终端实现方法之三的结构框图。Fig. 5 is a structural block diagram of the third implementation method of the network terminal of the present invention.

图6是本发明的输出缓存交换机结构框图。Fig. 6 is a structural block diagram of the output buffer switch of the present invention.

图7是本发明的输入缓存交换机结构框图。Fig. 7 is a structural block diagram of the input buffer switch of the present invention.

图8是现有交换机使用的缓存模块实现框图。Fig. 8 is a block diagram of a cache module used in an existing switch.

图9是本发明的智能优先级信元缓存模块实现方法之一的结构框图。Fig. 9 is a structural block diagram of one of the implementation methods of the intelligent priority cell buffer module of the present invention.

图10是本发明的智能优先级信元缓存模块实现方法之二的结构框图。Fig. 10 is a structural block diagram of the second implementation method of the intelligent priority cell buffer module of the present invention.

图11示本发明的智能优先级信元缓存模块实现方法之三的结构框图。Fig. 11 shows a structural block diagram of the third implementation method of the intelligent priority cell buffer module of the present invention.

具体实施方式Detailed ways

本发明的实施方案如下:Embodiments of the present invention are as follows:

在图1所示的通信网络中,两用户分别使用用户终端11和15进行双向通信。其中用户终端11包括终端应用111、信元生成和优先级设定模块112、信元数据提取模块113、传输质量控制模块114和线路驱动接口模块115。用户终端15包括终端应用151、信元生成和优先级设定模块152、信元数据提取模块153、传输质量控制模块154和线路驱动接口模块155。网络交换节点13包括输入输出端口模块131、交换矩阵模块132和智能优先级信元缓存模块133。12和14是网络入口处的网络终端。图1中连接用户终端11和网络终端12、网络终端12和交换节点13、交换节点13和网络终端14、网络终端14和用户终端15的实线表示在各个网络设备之间双向的通信电缆连接。In the communication network shown in FIG. 1, two users use user terminals 11 and 15 to conduct two-way communication respectively. The user terminal 11 includes a terminal application 111 , a cell generation and priority setting module 112 , a cell data extraction module 113 , a transmission quality control module 114 and a line driver interface module 115 . The user terminal 15 includes a terminal application 151 , a cell generation and priority setting module 152 , a cell data extraction module 153 , a transmission quality control module 154 and a line driver interface module 155 . The network switching node 13 includes an input and output port module 131, a switching matrix module 132, and an intelligent priority cell buffer module 133. 12 and 14 are network terminals at network entrances. The solid line connecting user terminal 11 and network terminal 12, network terminal 12 and switching node 13, switching node 13 and network terminal 14, network terminal 14 and user terminal 15 in Fig. 1 represents the two-way communication cable connection between each network equipment .

系统中默认信令传输连接是始终存在的。这个默认信令传输连接可以参照ATM网络由管理员通过手工方式设置。通信前,终端11和15在默认的信令虚连接上使用Q.2931协议建立通信虚连接,通信虚连接沿途经过的网络终端12、网络交换节点13和网络终端14则根据Q.2931协议检查并预留网络资源,为沿途各条链路分配虚连接识别号。通信虚连接成功建立以后,用户终端11和15之间就可以进行双向通信了。The default signaling transport connection always exists in the system. The default signaling transmission connection can be manually set by the administrator with reference to the ATM network. Before communication, the terminals 11 and 15 use the Q.2931 protocol to establish a communication virtual connection on the default signaling virtual connection, and the network terminal 12, network switching node 13, and network terminal 14 that pass through the communication virtual connection along the way are checked according to the Q.2931 protocol. And reserve network resources, assign virtual connection identification numbers for each link along the way. After the communication virtual connection is successfully established, two-way communication between the user terminals 11 and 15 can be performed.

进行通信时,通信终端11中终端应用111生成的用户数据,由信元生成和优先级设定模块112封装在图2所示的信元中。信元中包括了连接识别字段21、净荷类型字段22、其它控制字段23和有效用户数据24,用户有效数据封装在信元的净荷部分24,并根据应用的具体情况,对有特殊要求的信元设置特别的信元净荷类型。净荷类型字段22包括了紧急传输指示221、时延敏感指示222、重要数据指示223、流量违约指示224和其它标志位225。重传的时延敏感数据和特殊控制命令可以设置紧急传送指示221有效;定时要求相对较高的少数数据信元可以设置时延敏感指示222有效;包含比较重要的编码参数的少数信元可以设置重要数据指示223有效。最后通信终端11用网络终端12分配的虚连接识别号(即VPI和VCI组合)设置信头中的连接识别字段21。During communication, the user data generated by the terminal application 111 in the communication terminal 11 is encapsulated in the cell shown in FIG. 2 by the cell generation and priority setting module 112 . The cell includes a connection identification field 21, a payload type field 22, other control fields 23 and valid user data 24. User valid data is encapsulated in the payload part 24 of the cell, and there are special requirements for The cells set a particular cell payload type. The payload type field 22 includes an urgent transmission indication 221 , a delay sensitive indication 222 , an important data indication 223 , a flow violation indication 224 and other flag bits 225 . Delay-sensitive data and special control commands for retransmission can set the urgent transmission indication 221 to be valid; a small number of data cells with relatively high timing requirements can set the delay-sensitive indication 222 to be valid; a small number of cells containing more important encoding parameters can be set to Important data indication 223 is valid. Finally, the communication terminal 11 sets the connection identification field 21 in the letter header with the virtual connection identification number (that is, the combination of VPI and VCI) allocated by the network terminal 12 .

下面的例子可以进一步说明上述优先级的设定方法。如果终端应用111采用了自适应速率编码技术,通常会产生重要性和要求不同的编码数据。例如视频信号,它是对一系列连续的图像帧进行编码而得到的数据流。这些图像帧的编码数据可以分为分辨率较低的图像轮廓信号编码和分辨率较高的图像细节编码。此外某些图像帧数据中还插有帮助定时的时间戳数据。图像轮廓信号编码数据量小、对图像还原至关重要,因此封装有图像轮廓信号编码的信元应该设置重要数据指示223有效;接收端需要及时收到时间戳数据才能保证视频流的平稳回放,因此封装有时间戳数据的信元应该设置时延敏感指示222有效。如果接收端较长时间没有收到时间戳数据,发送端应该立即插入时间戳数据,并对封装该时间戳数据的信元设置紧急传输指示221有效。The following example can further illustrate the method for setting the above priority. If the terminal application 111 adopts the adaptive rate coding technology, coded data with different importance and requirements are usually generated. For example, a video signal is a data stream obtained by encoding a series of continuous image frames. The encoded data of these image frames can be divided into image contour signal encoding with lower resolution and image detail encoding with higher resolution. In addition, some image frame data is also inserted with time stamp data to help timing. The image contour signal encoding data volume is small, which is very important for image restoration, so the cell encapsulated with the image contour signal encoding should set the important data indication 223 to be valid; the receiving end needs to receive the time stamp data in time to ensure the smooth playback of the video stream. Therefore, the cell encapsulating the time stamp data should set the delay sensitive indication 222 to be valid. If the receiving end has not received the time stamp data for a long time, the sending end should insert the time stamp data immediately, and set the emergency transmission indication 221 to be valid for the cell encapsulating the time stamp data.

再考虑另一个实际情况。当发送电子邮件时,可能用户不小心输入了错误的接收地址并按了发送键,用户希望立即中止尚未完成的邮件发送。这时用户的终端应用111可以产生一个“取消”控制指令,同时对封装该指令的信元设置紧急传输指示221有效。Consider another practical situation. When sending e-mail, the user may accidentally enter the wrong receiving address and press the send button, and the user wants to immediately abort the unfinished e-mail sending. At this time, the user's terminal application 111 can generate a "cancel" control command, and at the same time set the urgent transmission indication 221 to be valid for the cell encapsulating the command.

封装好的信元经过传输质量控制模块114的缓存,由线路驱动接口模块155转换成线路传输信号,经由通信传输线路送到网络入口处的网络终端。The encapsulated cells are buffered by the transmission quality control module 114, converted into line transmission signals by the line driver interface module 155, and sent to the network terminal at the network entrance via the communication transmission line.

网络终端的一种内部结构和外部双向流量关系如图3所示,图中包括了用户终端11、网络终端12a和交换节点13。网络终端12a包括了有效信元到达速率测量部件121、信元缓存队列122、智能控制部件123、数据库单元124、信元丢弃优先级更改部件125和地址过滤和信元分发部件126。An internal structure of a network terminal and an external two-way flow relationship are shown in FIG. 3 , which includes a user terminal 11 , a network terminal 12 a and a switching node 13 . The network terminal 12a includes an effective cell arrival rate measurement unit 121 , a cell buffer queue 122 , an intelligent control unit 123 , a database unit 124 , a cell discarding priority change unit 125 and an address filtering and cell distribution unit 126 .

网络终端还可以有其它的实现结构,例如图4和图5所示。在图3中信元数据总是从信元缓存队列122输出到信元丢弃优先级更改部件125,而在图4的12b和图5的12c中信元缓存队列122和信元丢弃优先级更改部件125之间设置了双向的数据通道,使得信元丢弃优先级更改部件125可以直接操作信元缓存队列122中的信元。The network terminal may also have other implementation structures, such as shown in FIG. 4 and FIG. 5 . In Fig. 3, the cell data is always output from the cell buffering queue 122 to the cell discarding priority changing part 125, while in Fig. 4's 12b and Fig. 5's 12c A bidirectional data channel is set between them, so that the cell discarding priority changing unit 125 can directly operate the cells in the cell buffer queue 122.

网络入口处的网络终端12收到用户终端11发来的信元以后,按照连接建立时达成的服务质量合约,对用户到达流量的信元速率进行合约检查。智能控制部件123根据信头提供的虚连接识别号21,在数据库单元124中找到与该通信虚连接有关的服务质量参数,其中包括网络对用户承诺的可靠信元传输速率。有效信元到达速率测量部件121监测和统计每条通信虚连接的有效信元到达速率,可以包括按不同信元优先级分别计算的分类信元到达速率。After the network terminal 12 at the network entrance receives the cell sent by the user terminal 11, it performs a contract check on the cell rate of the user's incoming traffic according to the service quality contract reached when the connection is established. The intelligent control unit 123 finds the service quality parameters related to the communication virtual connection in the database unit 124 according to the virtual connection identification number 21 provided by the header, including the reliable cell transmission rate promised by the network to the user. The effective cell arrival rate measurement component 121 monitors and counts the effective cell arrival rate of each communication virtual connection, which may include classified cell arrival rates calculated according to different cell priorities.

智能控制部件123根据监测结果,在判定有效信元到达速率超过服务质量约定数值时,按照一定的优先级次序指示信元丢弃优先级更改部件125对到达信元设置流量违约指示224有效。总的原则是首先对普通信元设置流量违约指示224有效,然后依次对时延敏感信元、重要数据信元、最后是紧急传送信元设置流量违约指示224有效。如果忽略了流量违约指示224有效的信元以后,有效信元到达流量不再超过约定的可靠信元传输速率,那么就停止设置到达信元的流量违约指示有效。达到动态平衡时,设置了流量违约指示有效的到达信元占全部有效到达信元的比例,与超速信元占有效到达信元的比例是一致的。这个优先级设置原则可以有多种具体实现方法。According to the monitoring results, the intelligent control unit 123 instructs the cell discarding priority changing unit 125 to set the flow violation indication 224 valid for arriving cells according to a certain priority order when it is determined that the effective cell arrival rate exceeds the service quality agreed value. The general principle is to first set the traffic default indication 224 to be valid for ordinary cells, then set the traffic default indication 224 to be valid for delay-sensitive cells, important data cells, and finally urgent transmission cells. If after ignoring the valid cells of the traffic default indication 224, the traffic of valid cell arrivals no longer exceeds the agreed reliable cell transmission rate, then stop setting the traffic default indication of arriving cells as valid. When the dynamic balance is reached, the ratio of the valid arriving cells with traffic default indication to all valid arriving cells is set to be the same as the ratio of overspeed cells to valid arriving cells. There are many specific implementation methods for this priority setting principle.

智能控制部件123可以根据有效信元到达速率测量部件121的测量结果,计算各个优先级上需要设置流量违约指示224有效的信元占该优先级所有有效到达信元的比例。在图3所示的实现结构中,信元丢弃优先级更改部件125按智能控制部件123计算出来的比例,对从信元缓存队列122输出的、从用户终端到达的信元设置流量违约指示224有效即可。如果网络终端不使用信元缓存队列,则相当于图3中信元缓存队列122的缓存容限缩减为零的情况。这时仍然可以按照计算出来的针对各个优先级的设置比例,对到达信元设置信元丢弃优先级。The intelligent control unit 123 can calculate the ratio of the effective cells for which the traffic violation indication 224 needs to be set to be valid at each priority level to all valid arrival cells of the priority level according to the measurement result of the effective cell arrival rate measurement unit 121 . In the implementation structure shown in FIG. 3 , the cell discarding priority changing unit 125 sets the flow violation indication 224 for the cells output from the cell buffer queue 122 and arriving from the user terminal according to the ratio calculated by the intelligent control unit 123 It is valid. If the network terminal does not use the cell buffer queue, it is equivalent to the case where the buffer capacity of the cell buffer queue 122 in FIG. 3 is reduced to zero. At this time, the cell discarding priority can still be set for the arriving cell according to the calculated setting ratio for each priority.

比如需要对10%的普通信元设置流量违约指示有效,那么信元丢弃优先级更改部件125每转发10个信元就对其中的1个设置流量违约指示224有效。再比如需要对全部普通信元和30%的时延敏感信元设置流量违约指示,那么信元丢弃优先级更改部件125对收到的每一个普通信元设置流量违约指示224有效,对收到的每一个时延敏感信元按30%的概率设置流量违约指示224有效。有很多文献介绍如何以某个概率实现一个特定的操作。典型的做法是使用一个在0~1之间均匀分布的随机数发生器。如果要按30%的概率设置时延敏感信元的流量违约指示有效,就在有新时延敏感信元到达时触发一次随机数发生器;随机数发生器输出小于等于0.3时就设置该时延敏感信元的流量违约指示有效,大于0.3时就让该时延敏感信元直接通过。也有一种简单的方法同样实现按比例设置,这种方法使用一个累加的比例变量K。假设需要对比例为k的普通信元设置流量违约指示,那么每新到一个普通信元就做一次K=K+k的操作。如果结果K大于等于1,就设置该普通信元的流量违约指示224有效,同时将K的值减去1;否则不设置该普通信元的流量违约指示标志。For example, it is necessary to set the traffic default indication to be valid for 10% of common cells, then the cell discarding priority changing unit 125 will set the traffic default indication 224 to be valid for one of them every time 10 cells are forwarded. For another example, it is necessary to set the flow default indication for all common cells and 30% delay sensitive cells, then the cell discarding priority change unit 125 is effective for setting the flow default indication 224 for each common cell received, and for the received Each time-delay-sensitive cell of , sets the traffic default indication 224 to be valid with a probability of 30%. There is a lot of literature describing how to achieve a specific operation with a certain probability. The typical approach is to use a random number generator uniformly distributed between 0 and 1. If it is necessary to set the flow default indication of the delay-sensitive cell to be effective with a probability of 30%, the random number generator is triggered once when a new delay-sensitive cell arrives; when the output of the random number generator is less than or equal to 0.3, the time is set The flow violation indication of the delay-sensitive cell is valid, and when it is greater than 0.3, the delay-sensitive cell is allowed to pass directly. There is also a simple way to achieve proportional setting as well, this method uses an accumulating proportional variable K. Assuming that the flow default indication needs to be set for common cells with a ratio of k, the operation of K=K+k is performed every time a new common cell arrives. If the result K is greater than or equal to 1, set the traffic default indication 224 of the ordinary cell to be valid, and subtract 1 from the value of K; otherwise, the traffic default indication flag of the ordinary cell is not set.

在图5所示的实现结构中,信元丢弃优先级更改部件125按智能控制部件123计算出来的各个优先级的设置比例,对从用户终端到达信元缓存队列122中的信元设置流量违约指示224有效。在图4所示的实现结构中,既可以在缓存队列122输出的时候,根据智能控制部件123计算出来的比例作为随机设置的概率,由信元丢弃优先级更改部件125对输出信元用随机设置的方法设置流量违约指示有效;也可以按智能控制部件123计算出来的各个优先级的设置比例,直接对到达信元缓存队列122的各个优先级的信元设置流量违约指示有效。In the implementation structure shown in Fig. 5, the cell discarding priority changing part 125 sets the flow default for the cells arriving in the cell buffering queue 122 from the user terminal according to the setting ratio of each priority calculated by the intelligent control part 123 Indication 224 is valid. In the realization structure shown in Fig. 4, both can when cache queue 122 outputs, according to the ratio that intelligent control part 123 calculates as the probability of random setting, by cell discarding priority changing part 125 to output cell with random The method of setting is to set the traffic default indication to be valid; it is also possible to directly set the traffic default indication to be valid for the cells of each priority that arrive at the cell buffer queue 122 according to the setting ratio of each priority calculated by the intelligent control unit 123 .

网络终端12不丢弃任何用户数据信元,它随后把收到的所有用户数据信元,无论是否设置了流量违约指示都继续送到网络交换节点13。The network terminal 12 does not discard any user data cells, it then continues to send all received user data cells to the network switching node 13 no matter whether the flow violation indication is set or not.

网络终端14可以用与网络终端12相同的方法和结构实现。它同样也按照连接建立时达成的服务质量合约,对用户终端15发出的数据信元进行到达流量合约检查,并对其中的超速信元按照一定的优先级次序进行信元丢弃优先级标记处理以后,一起送到网络交换节点13。The network terminal 14 can be implemented with the same method and structure as the network terminal 12 . It also checks the arrival traffic contract of the data cells sent by the user terminal 15 according to the quality of service contract reached when the connection is established, and performs cell discarding priority marking on the super-speed cells according to a certain priority order. , and send them to the network switching node 13 together.

中间网络交换节点13的网络功能由置于网络交换节点13处的网络交换机完成。网络交换机用一个交换矩阵模块132将到达信元交换到各自的目的端口输出。它用到达信元携带的虚连接识别号21来确定信元的传输转发地址和下一段虚电路连接,将从网络终端12来的信元转发到网络终端14,从网络终端14来的信元转发到网络终端12,并用新的虚连接识别号替换信头中原来的虚连接识别号21。The network function of the intermediate network switching node 13 is completed by a network switch placed at the network switching node 13 . The network switch uses a switch matrix module 132 to switch arriving cells to their respective destination ports for output. It uses the virtual connection identification number 21 carried by the arriving cell to determine the transmission and forwarding address of the cell and the next virtual circuit connection, and forwards the cell from the network terminal 12 to the network terminal 14, and the cell from the network terminal 14 Forward to the network terminal 12, and replace the original virtual connection identification number 21 in the header with the new virtual connection identification number.

为了防止交换节点13处资源竞争引起的信元丢失,保证交换节点13处的信元丢失概率满足传输服务质量的要求,交换机需要使用信元缓存。交换机中智能优先级信元缓存模块133与交换矩阵模块132之间有输出缓存、输入缓存、中央缓存、分布缓存等多种连接配合方式。图6和图7以输出缓存和输入缓存为例说明本发明中智能优先级信元缓存模块133与交换矩阵模块132之间的结构连接关系,图中的交换机包含了输入输出端口模块131、交换矩阵模块132和智能优先级信元缓存模块133,但本发明包括但不限于采用输出缓存和输入缓存的交换机。In order to prevent cell loss caused by resource competition at the switching node 13 and ensure that the cell loss probability at the switching node 13 meets the requirements of transmission service quality, the switch needs to use cell buffering. There are multiple connection modes such as output buffer, input buffer, central buffer, and distributed buffer between the intelligent priority cell buffer module 133 and the switch matrix module 132 in the switch. Fig. 6 and Fig. 7 illustrate the structural connection relationship between the smart priority cell cache module 133 and the switch matrix module 132 in the present invention by taking the output cache and the input cache as an example. Matrix module 132 and intelligent priority cell buffer module 133, but the present invention includes but not limited to switches using output buffer and input buffer.

通常的交换机使用一个图8所示的非智能信元缓存模块134,而不是智能优先级信元缓存模块133。这种非智能信元缓存队列包括非智能信元丢弃控制装置1341和信元缓存队列1342。信元缓存队列1342设置了一个告警门限,比如60%缓存容量。当缓存队列的长度超过告警门限,即信元缓存队列已使用的空间超过60%总缓存容量时,缓存队列产生告警信号并进入告警状态。告警信号通过虚线传递给非智能信元丢弃控制装置1341。非智能信元丢弃控制装置1341在缓存队列1342处于告警状态时,不加区分地丢弃所有打上了流量违约标志的信元。当缓存占用率低于告警门限时,缓存队列1342退出告警状态,信元丢弃装置1341不再丢弃信元,它将所有到达信元都送入缓存队列1342以便输出。A common switch uses a non-intelligent cell buffer module 134 as shown in FIG. 8 instead of the smart priority cell buffer module 133 . This non-intelligent cell buffer queue includes a non-intelligent cell discard control device 1341 and a cell buffer queue 1342 . The cell buffer queue 1342 sets an alarm threshold, such as 60% buffer capacity. When the length of the buffer queue exceeds the alarm threshold, that is, when the space used by the cell buffer queue exceeds 60% of the total buffer capacity, the buffer queue generates an alarm signal and enters an alarm state. The alarm signal is transmitted to the non-intelligent cell discard control device 1341 through the dotted line. When the buffer queue 1342 is in an alarm state, the non-intelligent cell discarding control device 1341 discards all cells marked with traffic violation flags indiscriminately. When the buffer occupancy rate is lower than the alarm threshold, the buffer queue 1342 exits the alarm state, and the cell discarding device 1341 no longer discards cells, and it sends all arriving cells into the buffer queue 1342 for output.

本发明的特征在于使用了智能优先级信元缓存模块133。图9给出了智能优先级缓存模块的一种实现结构133a。它将信元缓存队列的容量分成了预留部分1332b和争用部分1332a两个部分。预留部分1332b是在连接建立时交换节点预留的资源,它用于缓存守约信元,其大小足以保证守约信元在交换节点处的丢失概率低于服务质量参数中约定的数值。争用部分1332a是带优先级的缓存队列,因此也可以称为优先级信元缓存队列,它用于缓存违约信元。本发明中守约信元的传输优先级高于违约信元,因此争用部分1332a所缓存的违约信元在预留部分1332b所缓存的守约信元都清空了以后才输出。优先级信元缓存队列1332a中优先级的划分可以参考信元净荷类型,比如根据紧急传送指示221、时延敏感指示222和重要数据指示223三方面指标,每个方面都分成高和低两个级别,在缓存队列中设置8个优先级别。显然,设置的优先级越多,实现起来越复杂。还可以针对缓存队列中信元输出和信元丢弃两种操作分别设置不同的优先级。The present invention is characterized by the use of an intelligent priority cell buffer module 133 . FIG. 9 shows an implementation structure 133a of the intelligent priority caching module. It divides the capacity of the cell buffer queue into two parts, the reserved part 1332b and the contention part 1332a. The reserved part 1332b is a resource reserved by the switching node when the connection is established. It is used to cache the contract-keeping cells, and its size is sufficient to ensure that the loss probability of the contract-keeping cells at the switching node is lower than the value agreed in the quality of service parameter. The contention part 1332a is a buffer queue with priority, so it can also be called a priority cell buffer queue, and it is used for buffering default cells. In the present invention, the transmission priority of the obedient cell is higher than that of the default cell, so the default cell buffered in the contention part 1332a is output only after the default cell buffered in the reserved part 1332b is cleared. The division of priorities in the priority cell buffer queue 1332a can refer to the cell payload type, for example, according to the three indicators of urgent transmission indication 221, delay sensitive indication 222 and important data indication 223, each aspect is divided into high and low. levels, and set 8 priority levels in the cache queue. Obviously, the more priorities you set, the more complicated it is to implement. It is also possible to set different priorities for the two operations of cell output and cell discard in the buffer queue.

一种最佳的信元传输优先级设置方法是,设置紧急传送指示221有效的信元为最高优先级5,设置时延敏感指示222和重要数据指示223同时有效的信元为优先级4,设置时延敏感指示222有效但是重要数据指示223无效的信元为优先级3,设置时延敏感指示222无效但是重要数据指示223有效的信元为优先级2,设置传输优先级标志位都无效的普通信元为最低优先级1。低传输优先级的信元在高传输优先级的信元全部输出完以后再从优先级信元缓存队列1332a输出。An optimal method for setting the priority of cell transmission is to set the cell with the effective urgent transmission indication 221 as the highest priority 5, and set the cell with the delay sensitive indication 222 and the important data indication 223 as the priority 4, Set the cell with valid delay sensitive indication 222 but invalid important data indication 223 as priority 3, set the cell with invalid delay sensitive indication 222 but valid important data indication 223 as priority 2, and set transmission priority flag bits as invalid Ordinary cells with the lowest priority 1. The cells with low transmission priority are output from the priority cell buffer queue 1332a after all the cells with high transmission priority have been output.

一种最佳的信元丢弃优先级设置方法是,设置紧急传送指示221有效的信元为最低优先级1,设置时延敏感指示222和重要数据指示223同时有效的信元为优先级2,设置时延敏感指示222无效但是重要数据指示223有效的信元为优先级3,设置时延敏感指示222有效但是重要数据指示223无效的信元为优先级4,设置传输优先级标志位都无效的普通信元为最高优先级5。发生拥塞时优先级信元缓存队列1332a的队列长度将持续增长。这时由智能信元丢弃控制装置1331控制丢弃部分违约信元。An optimal cell discarding priority setting method is to set the effective cell of the urgent transmission indication 221 as the lowest priority 1, and set the simultaneously effective cell of the delay sensitive indication 222 and the important data indication 223 as the priority 2, Set the cell whose delay sensitive indication 222 is invalid but the important data indication 223 is valid as priority 3, set the delay sensitive indication 222 valid but the important data indication 223 invalid cell as priority 4, and set the transmission priority flag bit to be invalid The common cells are the highest priority 5. When congestion occurs, the queue length of the priority cell buffer queue 1332a will continue to increase. At this time, the intelligent cell discarding control device 1331 controls to discard some default cells.

一种方法是对优先级信元缓存队列1332a设置多个告警门限,例如相应于所述的5个丢弃优先级,设置4个告警门限,从m1到m4,对应的队列长度和缓存占用率逐渐升高。当优先级信元缓存队列1332a的队列长度超过m1时,智能信元丢弃控制装置1331丢弃信元丢弃优先级最高的、也就是优先级为5的违约信元,让信元丢弃优先级低于5的违约信元通过进入优先级信元缓存队列1332a;当优先级信元缓存队列1332a的队列长度超过m2时,智能信元丢弃控制装置1331丢弃信元丢弃优先级为高于等于4的违约信元,让信元丢弃优先级低于4的违约信元通过进入优先级信元缓存队列1332a;余类推。最后当优先级信元缓存队列1332a满时,智能信元丢弃控制装置1331丢弃所有到达的违约信元。One method is to set multiple alarm thresholds for the priority cell buffer queue 1332a, for example, corresponding to the 5 discarding priorities, set 4 alarm thresholds, from m1 to m4, the corresponding queue length and buffer occupancy rate gradually raised. When the queue length of the priority cell buffer queue 1332a exceeds m1, the intelligent cell discarding control device 1331 discards the default cell with the highest cell discarding priority, that is, the priority is 5, so that the cell discarding priority is lower than The default cell of 5 enters the priority cell buffer queue 1332a; when the queue length of the priority cell buffer queue 1332a exceeds m2, the intelligent cell discarding control device 1331 discards the default cell whose discarding priority is higher than or equal to 4 Cells, let the cells discard default cells with a priority lower than 4 and enter the priority cell buffer queue 1332a; and so on. Finally, when the priority cell buffer queue 1332a is full, the intelligent cell discard control device 1331 discards all arriving default cells.

最佳的信元丢弃方法是当优先级信元缓存队列1332a溢出时才丢弃违约信元。优先级信元缓存队列1332a的状态通过虚线所示的控制信号通道报告给智能信元丢弃控制装置1331。智能信元丢弃控制装置1331首先取出并丢弃队列中信元丢弃优先级高的违约信元,没有信元丢弃优先级较高的违约信元可丢弃时,再丢弃信元丢弃优先级低一级的信元。具体地说,相应于所述的5级丢弃优先级,就是首先丢弃信元丢弃优先级为5的信元。如果所有信元丢弃优先级为5的信元都被丢弃,但是仍然有信元丢弃优先级低于5的违约信元到达,就丢弃信元丢弃优先级为4的违约信元。最后当队列中已经没有信元丢弃优先级高于1的违约信元时,信元丢弃控制装置133丢弃所有到达的违约信元。The optimal cell discarding method is to discard default cells when the priority cell buffer queue 1332a overflows. The status of the priority cell buffer queue 1332a is reported to the intelligent cell discard control device 1331 through the control signal channel shown by the dotted line. The intelligent cell discarding control device 1331 first takes out and discards the default cells with high cell discarding priority in the queue, and when there is no default cell with a higher cell discarding priority to be discarded, then discards the cells with a lower cell discarding priority. cell. Specifically, corresponding to the 5-level discarding priority, the cell with the discarding priority of 5 is discarded first. If all cells with a cell discard priority of 5 are discarded, but default cells with a cell discard priority lower than 5 still arrive, the default cells with a cell discard priority of 4 are discarded. Finally, when there is no default cell with a cell discard priority higher than 1 in the queue, the cell discard control device 133 discards all arriving default cells.

进一步改进的方法是:将守约信元的信元传输优先级作为最高优先级而设为优先级6,守约信元的信元丢弃优先级作为最低丢弃优先级而设为优先级0,并且采用类似于上面所述的优先级信元缓存队列管理方法,从而将缓存队列预留部分1332b和争用部分1332a重新合而为一,作为一个较大的优先级信元缓存队列1332来使用,更好地发挥交换机中缓存队列的统计复用作用。合并以后的智能优先级信元缓存模块实现结构如图10所示,它包括了智能信元丢弃控制装置1331和优先级信元缓存队列1332。The method for further improvement is: set the cell transmission priority of the contract-keeping cell as the highest priority and set it as priority 6, and the cell discarding priority of the contract-keeping cell as the lowest discarding priority and set it as priority 0, And adopt the priority cell cache queue management method similar to the above, so that the buffer queue reserved part 1332b and the contention part 1332a are combined into one again, and used as a larger priority cell buffer queue 1332 , to better play the role of statistical multiplexing of the cache queue in the switch. The structure of the merged intelligent priority cell buffer module is shown in FIG. 10 , which includes an intelligent cell discard control device 1331 and a priority cell buffer queue 1332 .

这时最佳信元传输方法仍然是:低传输优先级的信元在高优先级的信元全部输出完以后,再从信元优先级缓存队列1332输出。发生拥塞时丢弃信元的方法需要对上面所述的信元丢弃方法做一点小修正。如果采用设置多个告警门限的方法,那么应该相应地设置5个告警门限,当队列长度超过第1个门限时丢弃信元丢弃优先级最高(此例为5)的信元,余类推,直至最后缓存队列满时丢弃所有到达信元;如果采用当优先级信元缓存队列溢出时才从缓存队列中取出并丢弃高信元丢弃优先级信元的方法,那么最后当缓存队列1332中没有信元丢弃优先级高于0的违约信元时才丢弃所有到达信元。At this time, the best cell transmission method is still: the cells with low transmission priority are output from the cell priority buffer queue 1332 after all the cells with high priority are output. The method of discarding cells when congestion occurs requires a small modification of the cell discarding method described above. If the method of setting multiple alarm thresholds is adopted, five alarm thresholds should be set accordingly. When the queue length exceeds the first threshold, cells with the highest priority (5 in this example) are discarded, and so on, until Discard all arriving cells when the buffer queue is full at last; If adopt when the priority cell buffer queue overflows, just take out from the buffer queue and discard the method of high cell discarding priority cell, so finally when there is no cell discard in the buffer queue 1332 All arriving cells are discarded only when defaulting cells with a priority higher than 0 are discarded.

智能优先级信元缓存模块还可以用图11所示的结构实现。采用该结构时,最佳传输方法是:低传输优先级的信元在高优先级的信元全部输出完以后,再从信元优先级缓存队列1332输出。最佳信元丢弃方法是:当优先级信元缓存队列溢出时,才从缓存队列中取出并丢弃高信元丢弃优先级的信元,没有信元丢弃优先级较高的信元可丢弃时,再丢弃信元丢弃优先级低一级的信元,最后没有违约信元可丢弃时丢弃最后到达的信元。The intelligent priority cell cache module can also be realized with the structure shown in FIG. 11 . When this structure is adopted, the optimal transmission method is: the cells with low transmission priority are output from the cell priority buffer queue 1332 after all the cells with high priority are output. The optimal cell discarding method is: when the priority cell buffer queue overflows, take out and discard the cells with high cell discarding priority from the buffer queue, and when there are no cells with higher cell discarding priority to discard, then Discard Cells Discards cells with a lower priority, and discards the last arriving cell when there is no default cell to discard.

网络终端12收到交换节点13送来的信元,到达信元按地址过滤和分发部件126根据信元携带的虚连接识别号21判断出最终目的地是用户终端11,于是从相应的输出端口将它们送往用户终端11。同样网络终端14也将交换节点13送来的、最终目的地为用户终端15的信元送往用户终端15。The network terminal 12 receives the cell sent by the switching node 13, and the arriving cell filters and distributes the component 126 according to the address according to the virtual connection identification number 21 carried by the cell to judge that the final destination is the user terminal 11, so from the corresponding output port They are sent to the user terminal 11. Similarly, the network terminal 14 also sends the cell sent by the switching node 13 and whose final destination is the user terminal 15 to the user terminal 15 .

用户终端11和15收到通信对端发来的信元后,由线路驱动接口模块155还原成为信元数据,送给传输质量控制模块114。传输质量控制模块114检查信元在传输过程中的丢失情况,通过信令信元向通信对端报告。通信对端可以降低传输速率,从而减少信元丢失概率,提高传输质量。传输质量控制模块114将收到的信元送给信元数据提取模块113,由信元数据提取模块113从信元净荷部分24中取出有效的用户数据,递交给需要的终端用户,从而完成双向通信过程。After the user terminals 11 and 15 receive the cells sent by the communication counterparts, the line driver interface module 155 restores them into cell data and sends them to the transmission quality control module 114 . The transmission quality control module 114 checks the loss of cells during transmission, and reports to the communication peer through signaling cells. The communication peer can reduce the transmission rate, thereby reducing the cell loss probability and improving the transmission quality. The transmission quality control module 114 sends the received cell to the cell data extraction module 113, and the cell data extraction module 113 takes out valid user data from the cell payload part 24, and submits it to the desired end user, thereby completing Two-way communication process.

可以将网络终端12和14集成到交换机13的输入输出端口模块131中,从而简化网络的安装过程。但是在对用户流量进行实际的交换以前,执行网络终端的流量合约检查和超速信元标记操作是不可缺省的。它使网络能够区分违反规则的用户流量,从而可以选择性地对恶意使用网络的少数用户采取措施,保证整个网络的稳定运行。这种流量合约检查和超速信元标记的最佳位置在网络入口处,即距离用户最近的那个网络设备处。这时网络具有较好的规模扩展性能。The network terminals 12 and 14 can be integrated into the input and output port module 131 of the switch 13, thereby simplifying the installation process of the network. However, before the actual exchange of user traffic, it cannot be defaulted to perform traffic contract inspection and overspeed cell marking operations on the network terminal. It enables the network to distinguish user traffic that violates the rules, so that measures can be selectively taken against a small number of users who maliciously use the network to ensure the stable operation of the entire network. The best place for this kind of traffic contract inspection and overspeed cell marking is at the network entrance, that is, the network device closest to the user. At this time, the network has better scale expansion performance.

Claims (9)

1. explicit priority cell trunking method, it is a kind of quality of service requirement according to communications, method by reallocation priority after the signaling negotiation foundation communication virtual connections, it is characterized in that: the information source transmitting terminal is when producing and send cell, and the specific information content of carrying according to each cell is cell setup different cell transmission priorities; The valid cell arrival rate of the network terminal monitoring communication virtual connections at Web portal place is provided with cell loss priority to arriving cell; Network switching node uses the Internet resources transmission service contract bandwidth of reserving with interior cell, presses cell priority transmission contract bandwidth cell in addition with remaining Internet resources.
2. explicit priority cell trunking method according to claim 1, it is characterized in that: whether immediately the cell transmission priority that described information source is set comprises the index of transmission, transmission delay height and three aspects of the transmission degree of reliability at least, represents with the urgent transmission indication in the cell payload type field, delay sensitive indication and significant data indication; The cell loss priority that the network terminal is set is relevant with the valid cell arrival rate, represents with the promise breaking of the flow in cell payload type field indication.
3. according to claim 1,2 described explicit priority cell trunking methods, it is characterized in that: the valid cell arrival rate of the network terminal monitoring communication virtual connections at described Web portal place, to the service contract bandwidth with the lower cell loss priority of interior cell setting, to exceeding the hypervelocity flow of service contract bandwidth, shunt out according to the order screening from low to high of cell transmission priority and be labeled as higher cell loss priority.
4. explicit priority cell trunking method according to claim 1 is characterized in that: described switching node preferentially abandons the lower cell of transmission priority when network congestion, abandons the higher cell of transmission priority again.
5. explicit priority cell trunking method according to claim 1 is characterized in that: the Internet resources of described reservation include only the minimum value of bandwidth application.
6. explicit priority cell trunking method according to claim 1 is characterized in that: comprise connecting identification field (21), payload type field (22), other control fields (23) and validated user data (24) in described cell; Wherein payload type field (22) comprises urgent transmission indication (221), delay sensitive indication (222), significant data indication (223), flow promise breaking indication (224) and other flag bit (225), communication terminal (11) is arranged on connection identification field (21) in the letter head to the virtual connections identifier that is distributed by the network terminal, and user's valid data are encapsulated in the payload part of cell (24).
7. explicit priority cell the trunking method according to claim 1 and communication that proposes realizes system, it is characterized in that: described system comprises exchange contact (13), the network terminal (12), (14) that link to each other with above-mentioned switching node (13) respectively, and the user terminal that links to each other with the network terminal respectively (11), (15); Wherein user terminal contains and links to each other with the network terminal so that send the line transmissions that is converted to by cell data to the network terminal, and revert to the circuit driving interface (115) that receives cell data at opposite steering handle line transmissions, (155), with circuit driving interface (115), (155) two-way interactive connects to keep the cell-buffering formation that sends and receive and to abandon the transmission quality control module of checking (114) to whether cell having taken place, (154), it is cell setup again to transmission quality control module (114) behind the different transmission priority according to the transmission quality requirements of certain content simultaneously that the communication data that produces is encapsulated into cell, (154) cell that sends generates and priority level initializing module (112), (152), from transmission quality control module (114), take out terminal applies (111) in the cell of the correct reception of (154) sending, (151) the cell data extraction module (113) of desired data, and receive cell data extraction module (113) (153),, (153) data of sending also generate and priority level initializing module (112) to cell, (152) terminal applies (111) of transmission communication data, (151); The network terminal (12) contains the valid cell arrival rate measurement component (121) of monitoring from subscriber side terminal each connection traffic state always, receive and the cell buffer queue (122) of the cell that buffer memory is sent here from the user side direction, measurement result according to arrival rate measurement component (121) judges with the parameter information that is connected in being stored in Database Unit (124) in advance whether the valid cell arrival rate surpasses the Based Intelligent Control parts (123) of contract, storage connects the Database Unit (124) of parameter information, according to the indication of Based Intelligent Control parts (123) to the cell setup cell loss priority of receiving from user side after again the cell of receiving to the cell loss priority change parts (125) that the network switching node (13) that links to each other sends, all link to each other with switching node with user terminal, receive cell that switching node sends here and they are transmitted to the arrival cell of user terminal by address filtering and dispensing member (126); The network terminal (14) has and the identical structure of the network terminal (12); Network switching node (13) contains input and output port module (131), switch fabric module (132) and intelligent priority cell cache module (133).
8. explicit priority cell the trunking method according to claim 7 and communication that proposes realizes it is characterized in that system: in the described network switching node (13) intelligent priority cell cache module (133) contain be serially connected between this network switching node input and the output and each other the intelligent cell of bidirectional interconnect abandon control device (1331) and priority cell buffer queue (1332).
9. explicit priority cell the trunking method according to claim 8 and communication that proposes realizes it is characterized in that system: described priority cell buffer queue (1332) comprises with intelligent cell and abandons the priority cell buffer queue (1332a) of control device (1331) interconnection and abandon the buffer queue reserved part (1332b) that control device (1331) output links to each other with above-mentioned intelligent cell.
CNB021294828A 2002-08-23 2002-08-23 Explicit Priority Cell Relay Method and Communication Implementation System Expired - Lifetime CN1169325C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021294828A CN1169325C (en) 2002-08-23 2002-08-23 Explicit Priority Cell Relay Method and Communication Implementation System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021294828A CN1169325C (en) 2002-08-23 2002-08-23 Explicit Priority Cell Relay Method and Communication Implementation System

Publications (2)

Publication Number Publication Date
CN1398089A CN1398089A (en) 2003-02-19
CN1169325C true CN1169325C (en) 2004-09-29

Family

ID=4746265

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021294828A Expired - Lifetime CN1169325C (en) 2002-08-23 2002-08-23 Explicit Priority Cell Relay Method and Communication Implementation System

Country Status (1)

Country Link
CN (1) CN1169325C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4336880B2 (en) * 2003-10-01 2009-09-30 日本電気株式会社 Auto-negotiation monitoring system, relay transmission apparatus, and auto-negotiation monitoring method used therefor
CN100593349C (en) * 2003-11-03 2010-03-03 高通股份有限公司 Methods, devices and systems for data transmission and processing in a wireless communication environment
CN100499459C (en) 2005-02-24 2009-06-10 华为技术有限公司 Method for implementing information stream transmission in next generation network
CN1889565B (en) * 2005-08-16 2010-05-05 华为技术有限公司 session establishment method
WO2009079842A1 (en) * 2007-12-19 2009-07-02 Alcatel Shanghai Bell Company, Ltd. A method and device of controlling the data packet transmission in wireless relay network
CN101741752B (en) * 2008-11-17 2015-08-19 华为技术有限公司 The methods, devices and systems of video streaming
CN110999233A (en) * 2017-08-10 2020-04-10 华为技术有限公司 Method, device and network equipment for managing multicast program

Also Published As

Publication number Publication date
CN1398089A (en) 2003-02-19

Similar Documents

Publication Publication Date Title
JP2928452B2 (en) ATM switch and call receiving apparatus and method in ATM switch
CN1166246C (en) A system for variable bandwidth asynchronous transfer mode network access supporting wired and wireless communications
JP3354689B2 (en) ATM exchange, exchange and switching path setting method thereof
US6618378B1 (en) Method and apparatus for supporting multiple class of service connections in a communications network
US7126918B2 (en) Micro-flow management
JP3649367B2 (en) Packet transmission control method and apparatus
JP2962276B2 (en) Session management system and connection management system in ATM connectionless communication network
KR100605265B1 (en) Method and structure of access network for providing terminal device with access to packet data network through access router
JP2000244507A (en) Boundary device and its connection setting method
WO1995003657A1 (en) Atm exchange
CN1541474A (en) System and method for differential queuing in a routing system
CN1428976A (en) User priority mapping in bridge VLAN
CN1490987A (en) A Method for Transmitting Data Service on Synchronous Digital Network
Gerla et al. Internetting LAN's and MAN's to B-ISDN's for Connectionless Traffic Support
CN103905336B (en) Method for scheduling QoS sensing in SIEPON based on network coding technology
JP2006506845A (en) How to select a logical link for a packet in a router
CN1145157A (en) B-ISDN access
CN1169325C (en) Explicit Priority Cell Relay Method and Communication Implementation System
CN1177441C (en) Device and method for controlling quality of service in asynchronous transfer mode
CN1048369C (en) Method for distributing of comunicating technical resources in communicating system operated with asynchronous transmissing model
CN1153372C (en) Information transmission rate control through the core network
CN1089515C (en) ATM local access
CN1384619A (en) Implementation of dynamic bandwidth distribution of passive optical network in asynchronus transfer mode
JP2000049820A (en) Cell switching equipment for controlling fixed rate connections
JP3227133B2 (en) ATM switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: QINGHUA UNIVERSITY; ZHANXUN COMMUNICATIONS (SHANG

Free format text: FORMER OWNER: QINGHUA UNIVERSITY

Effective date: 20060512

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20060512

Address after: 100084 mailbox 100084-82, Beijing City

Co-patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Patentee after: TSINGHUA University

Address before: 100084 mailbox 100084-82, Beijing City

Patentee before: Tsinghua University

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20040929