CN102480408B - Scheduling method and device for pseudo wire emulation system - Google Patents
Scheduling method and device for pseudo wire emulation system Download PDFInfo
- Publication number
- CN102480408B CN102480408B CN201010557142.XA CN201010557142A CN102480408B CN 102480408 B CN102480408 B CN 102480408B CN 201010557142 A CN201010557142 A CN 201010557142A CN 102480408 B CN102480408 B CN 102480408B
- Authority
- CN
- China
- Prior art keywords
- business datum
- data
- service data
- processing
- circuit emulation
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000012545 processing Methods 0.000 claims abstract description 153
- 230000003287 optical effect Effects 0.000 claims abstract description 51
- 230000008569 process Effects 0.000 claims description 38
- 238000003780 insertion Methods 0.000 claims description 22
- 230000037431 insertion Effects 0.000 claims description 22
- 238000009432 framing Methods 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 238000004088 simulation Methods 0.000 claims description 12
- 230000001360 synchronised effect Effects 0.000 claims description 11
- 238000000605 extraction Methods 0.000 claims description 6
- 238000011084 recovery Methods 0.000 claims description 6
- 208000014392 Cat-eye syndrome Diseases 0.000 claims 16
- 230000005540 biological transmission Effects 0.000 abstract description 8
- 230000004044 response Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 9
- 239000012634 fragment Substances 0.000 description 6
- 238000005538 encapsulation Methods 0.000 description 5
- 230000002776 aggregation Effects 0.000 description 4
- 238000004220 aggregation Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000008521 reorganization Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 2
- RGNPBRKPHBKNKX-UHFFFAOYSA-N hexaflumuron Chemical compound C1=C(Cl)C(OC(F)(F)C(F)F)=C(Cl)C=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F RGNPBRKPHBKNKX-UHFFFAOYSA-N 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000004931 aggregating effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010854 vegetative compatibility group Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种伪线仿真系统的调度方法及装置,该方法包括上行步骤:接收用户侧的各种业务数据,将所述用户侧的SDH光接口输入业务数据经过时钟和数据恢复后,再进行开销处理,或者将用户侧输入的PDH业务数据经过接口转换后通过交叉连接处理电路输出统一数据结构的数据,将上述经过处理后的用户侧的各种业务数据再进行定帧处理,获取所述用户侧的各种业务数据的净荷数据,将所述净荷数据调度到以太网侧封装成PWE3数据包发送;该方法和装置接口简单、便于复用、带宽调整和配置方便、处理业务种类多、调度算法简单。
The present invention relates to a scheduling method and device for a pseudowire emulation system. The method includes an uplink step: receiving various service data on the user side, inputting the service data into the SDH optical interface on the user side after recovering the clock and data, and then Perform overhead processing, or convert the PDH service data input from the user side through the interface and output data of a unified data structure through the cross-connection processing circuit, and perform frame processing on the above-mentioned processed various service data on the user side to obtain all The payload data of various service data on the user side is described, and the payload data is dispatched to the Ethernet side and encapsulated into PWE3 data packets for transmission; the method and device have simple interface, easy multiplexing, convenient bandwidth adjustment and configuration, and service processing There are many types and the scheduling algorithm is simple.
Description
技术领域technical field
本发明涉及通信技术领域,具体是在数据传输类芯片在端口的业务数据调度,特别是伪线仿真系统的综合调度方法及装置。The invention relates to the field of communication technology, in particular to the business data scheduling of data transmission chips at ports, in particular to the comprehensive scheduling method and device of a pseudowire simulation system.
背景技术Background technique
随着电信业务的全面IP(Internet Protocol,互联网协议)化趋势,以及3G(3rd-generation,第三代移动通信技术)/LTE(long term evolution,长期演进技术)等移动通信技术的迅猛发展,作为融合了分组技术及传统SDH(Synchronous Digital Hierarchy,同步数字体系)技术传统优势的PTN(PackageTransport Network,分组传送网)应运而生,并已迅速成为下一代城域传送网的主流技术选择。未来一段时间将面临IP化分组业务的迅速增长,与此同时传统TDM(Time Division Multiplex,时分复用模式)业务也仍将在一段时间内为运营商提供可观的利润,这就对PTN提出了多业务承载能力的要求,PWE3(Pseudo-Wire Emulation Edge to Edge,端到端伪线仿真)正是解决这一需求的关键技术。With the comprehensive IP (Internet Protocol, Internet Protocol) trend of telecommunication services, and the rapid development of mobile communication technologies such as 3G (3rd-generation, third-generation mobile communication technology)/LTE (long term evolution, long-term evolution technology), As a combination of packet technology and traditional SDH (Synchronous Digital Hierarchy, Synchronous Digital System) technology, PTN (Package Transport Network, Packet Transport Network) emerged as the times require, and has quickly become the mainstream technology choice for the next-generation metro transport network. In the future, there will be rapid growth of IP-based packet services. At the same time, traditional TDM (Time Division Multiplex, time division multiplexing mode) services will still provide operators with considerable profits for a period of time. This poses a challenge to PTN. The requirement of multi-service bearing capacity, PWE3 (Pseudo-Wire Emulation Edge to Edge, end-to-end pseudo-wire emulation) is the key technology to solve this requirement.
PWE3为实现PTN产品的TDM业务承载以及SDH/SONET(SynchronousDigital Hierarchy/Synchronous Optical Network,同步光纤网)与PTN异种网络互联互通提供了功能强大、成本低廉的解决方案。可应用于PTN及后续基于统一分组平台的NG PTN(next generation PTN,下一代PTN)产品中核心、汇聚层设备。PWE3 provides a powerful and low-cost solution for the TDM service bearer of PTN products and the interconnection between SDH/SONET (Synchronous Digital Hierarchy/Synchronous Optical Network) and PTN heterogeneous networks. It can be applied to the core and aggregation layer devices of PTN and subsequent NG PTN (next generation PTN, next generation PTN) products based on the unified packet platform.
PWE3是在分组交换网上提供隧道,以便仿真一些业务(ATM、Ethernet、TDM、SONET/SDH)的二层VPN(Virtual Private Network,虚拟专用网络)协议,通过协议可以将传统的网络与分组交换网络互连起来,从而实现资源的共用和网络的拓展,使得协议本身的网络组网方式更加灵活。PWE3 is a Layer 2 VPN (Virtual Private Network, virtual private network) protocol that provides tunnels on the packet switching network to simulate some services (ATM, Ethernet, TDM, SONET/SDH). They are interconnected to realize resource sharing and network expansion, making the network networking mode of the protocol itself more flexible.
由于PWE3可以传输和处理多种业务数据,所以其接口需要与多种业务模块接口,这些接口的数据流量如何缓存、管理和调度需要一个综合调度管理器。Since PWE3 can transmit and process various service data, its interface needs to interface with various service modules. How to cache, manage and schedule the data flow of these interfaces requires an integrated scheduling manager.
相关专利技术查询情况:申请(专利)号为CN200910252928.8,专利名称为:基于伪线的业务流量处理方法、设备和系统,公开了涉及一种基于伪线的业务流量处理方法、设备和系统,其中基于伪线的业务流量处理方法包括:接收来自用户边缘设备的业务数据流量;确定所述业务流量对应的伪线聚合组;按照本地策略,将所述业务数据流量通过所述伪线聚合组内处于发送状态或活动状态的伪线转发到对端设备,所述伪线聚合组包括所述业务数据流量对应的一个以上伪线,将业务数据流量通过对应的伪线聚合组内处于发送状态或活动状态的伪线转发到对端设备,可以提高业务数据流量的平均收敛速度、加快网络发生故障时的切换时间。但是上述现有技术也具有接口复杂、带宽调整和配置不方便、处理的协议种类不多,调度算法复杂的缺点。Related patent technology query: the application (patent) number is CN200910252928.8, and the patent name is: Pseudowire-based service traffic processing method, device and system, which discloses a pseudowire-based service traffic processing method, device and system , wherein the method for processing service traffic based on a pseudowire includes: receiving service data traffic from a user edge device; determining a pseudowire aggregation group corresponding to the service traffic; and aggregating the service data traffic through the pseudowire according to a local policy The pseudowires in the sending state or active state in the group are forwarded to the peer device. The pseudowire aggregation group includes more than one pseudowire corresponding to the service data flow, and the service data flow is sent through the corresponding pseudowire aggregation group. The status or active pseudowire is forwarded to the peer device, which can improve the average convergence speed of service data traffic and speed up the switching time when a network failure occurs. However, the above prior art also has the disadvantages of complex interface, inconvenient bandwidth adjustment and configuration, few types of protocols to be processed, and complex scheduling algorithms.
发明内容Contents of the invention
本发明的主要目的是提供一种的伪线仿真系统的调度方法及装置,接口简单而且便于复用、带宽调整和配置方便、处理协议种类多、调度算法简单。The main purpose of the present invention is to provide a scheduling method and device for a pseudowire emulation system, which has simple interface, easy multiplexing, convenient bandwidth adjustment and configuration, many types of processing protocols, and simple scheduling algorithm.
本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve its technical problems is:
一种伪线仿真系统的调度方法,其包括:A scheduling method for a pseudowire simulation system, comprising:
接收用户侧输入的同步数字体系SDH光接口输入业务数据和用户侧输入的准同步数字体系PDH业务数据;Receive the synchronous digital system SDH optical interface input service data from the user side and the quasi-synchronous digital system PDH service data input from the user side;
将所述SDH光接口输入业务数据依次进行时钟和数据恢复、开销处理,将所述PDH业务数据经过接口转换处理;The SDH optical interface is input into the service data to perform clock and data recovery and overhead processing in sequence, and the PDH service data is processed through interface conversion;
将所述SDH光接口输入业务数据和PDH业务数据进行交叉连接处理;performing cross-connection processing on the SDH optical interface input service data and PDH service data;
将所述经过交叉连接处理后的业务数据再分别进行定帧处理,获取所述用户侧的各种业务数据的净荷数据,将所述净荷数据调到以太网侧发送;Perform framing processing on the service data after the cross-connection processing, obtain the payload data of various service data on the user side, and transfer the payload data to the Ethernet side for transmission;
其中,将所述经过交叉连接处理后的业务数据再分别进行定帧处理,包括:Wherein, the business data processed by the cross-connection are respectively subjected to framing processing, including:
将上述经过处理后的用户侧的各种业务数据再分别进行虚级联处理、MLPPP-IMA处理和CEP-CES处理;Perform virtual concatenation processing, MLPPP-IMA processing, and CEP-CES processing on the above-mentioned processed user-side various business data;
所述MLPPP-IMA处理为:Multi Link PPP-Inverse Multiplexing for ATM,多链路点对点协议ATM的反向复接处理;所述CEP-CES处理为:CircuitEmulation Service-Circuit Emulation over Packet,电路仿真业务-基于分组的电路仿真处理。The MLPPP-IMA processing is: Multi Link PPP-Inverse Multiplexing for ATM, the inverse multiplexing processing of the multi-link point-to-point protocol ATM; the CEP-CES processing is: CircuitEmulation Service-Circuit Emulation over Packet, circuit emulation service- Packet-based circuit simulation processing.
优选地,所述接收用户侧输入的SDH光接口输入业务数据和用户侧输入的PDH业务数据,具体包括:Preferably, the SDH optical interface input service data received from the user side and the PDH service data input from the user side specifically include:
分别从SDH光接口接收VC4格式的数据和从PDH接口接收经过该PDH接口转换封装成VC4格式的数据。Respectively receive data in VC4 format from the SDH optical interface and receive data converted and encapsulated into VC4 format from the PDH interface through the PDH interface.
优选地,所述开销处理,具体包括:Preferably, the overhead processing specifically includes:
将所述从SDH光接口接收VC4格式的数据进行段开销处理、高阶指针解释和高开销提取处理。The data in VC4 format received from the SDH optical interface is subjected to segment overhead processing, high-order pointer interpretation and high overhead extraction processing.
优选地,所述各种业务数据包括:CES业务数据、CEP业务数据、MLPPP业务数据、IMA业务数据和VCG业务数据。Preferably, the various service data include: CES service data, CEP service data, MLPPP service data, IMA service data and VCG service data.
本发明还提供一种伪线仿真系统的调度方法,其包括:The present invention also provides a scheduling method for a pseudowire simulation system, which includes:
接收以太网侧发送过来的各种业务数据,根据不同业务将所述网络侧的各种业务数据缓存到不同存储空间,并拆出相应帧结构;Receive various service data sent from the Ethernet side, cache various service data on the network side in different storage spaces according to different services, and remove the corresponding frame structure;
将所述拆出相应帧结构的网络侧的业务数据经过交叉连接,然后进行开销插入处理后经过SDH的光接口输出,或者直接由接口转换模块输出PDH业务数据。The service data on the network side that has been removed from the corresponding frame structure is cross-connected, and then output through the SDH optical interface after overhead insertion processing, or the PDH service data is directly output by the interface conversion module.
优选地,所述接收以太网侧发送过来的各种业务数据,拆出相应帧结构,具体包括:Preferably, the receiving various business data sent by the Ethernet side, and extracting the corresponding frame structure specifically includes:
将所述网络侧的各种业务数据分别进行虚级联处理、MLPPP-IMA处理和CEP-CES处理拆出各种业务数据的相应帧结构,并进行所述帧结构的重组;Performing virtual concatenation processing, MLPPP-IMA processing, and CEP-CES processing on various service data on the network side to extract corresponding frame structures of various service data, and reorganizing the frame structures;
其中,所述MLPPP-IMA处理为:Multi Link PPP-Inverse Multiplexing forATM,多链路点对点协议ATM的反向复接处理;Wherein, the MLPPP-IMA processing is: Multi Link PPP-Inverse Multiplexing forATM, the inverse multiplexing processing of the multi-link point-to-point protocol ATM;
所述CEP-CES处理为:Circuit Emulation Service-Circuit Emulation overPacket,电路仿真业务-基于分组的电路仿真处理。The CEP-CES processing is: Circuit Emulation Service-Circuit Emulation overPacket, circuit emulation service-circuit emulation processing based on packets.
优选地,所述将所述拆出相应帧结构的网络侧的业务数据经过交叉连接,然后进行开销插入后经过SDH的光接口输出,具体包括:Preferably, the service data on the network side that is detached from the corresponding frame structure is cross-connected, and then the overhead is inserted and then output through the SDH optical interface, specifically including:
将所述进行帧结构重组后的网络侧的各种业务数据进行低阶指针生成模块、低阶开销插入、经过高阶指针生成模块、高阶开销插入和段开销插入后从SDH光接口输出。The various service data on the network side after the reorganization of the frame structure are output from the SDH optical interface after the low-order pointer generation module, the low-order overhead insertion, the high-order pointer generation module, the high-order overhead insertion and the segment overhead insertion.
优选地,所述各种业务数据包括:CES业务数据、CEP业务数据、MLPPP业务数据、IMA业务数据和VCG业务数据。Preferably, the various service data include: CES service data, CEP service data, MLPPP service data, IMA service data and VCG service data.
本发明还提供一种伪线仿真系统的调度装置,其包括:The present invention also provides a scheduling device for a pseudowire simulation system, which includes:
用户侧数据接收单元,用于接收用户侧输入的同步数字体系SDH光接口输入业务数据和用户侧输入的准同步数字体系PDH业务数据;The user-side data receiving unit is used to receive the synchronous digital system SDH optical interface input service data input from the user side and the quasi-synchronous digital system PDH service data input from the user side;
用户侧数据处理单元,将所述SDH光接口输入业务数据依次进行时钟和数据恢复、开销处理,将所述PDH业务数据经过接口转换处理;The user-side data processing unit, which sequentially performs clock and data recovery and overhead processing on the SDH optical interface input service data, and performs interface conversion processing on the PDH service data;
交叉连接单元,用于将所述SDH光接口输入业务数据和PDH业务数据进行交叉连接处理;A cross-connect unit, configured to perform cross-connect processing on the SDH optical interface input service data and PDH service data;
用户侧数据定帧单元,用于将所述经过交叉连接处理后的业务数据再分别进行定帧处理,获取所述用户侧的各种业务数据的净荷数据,将所述净荷数据调到以太网侧发送;The user-side data framing unit is configured to perform framing processing on the service data after the cross-connection processing, obtain the payload data of various service data on the user side, and transfer the payload data to Ethernet side sending;
其中,所述用户侧数据定帧单元还用于将上述经过处理后的用户侧的各种业务数据再分别进行虚级联处理、MLPPP-IMA处理和CEP-CES处理;Wherein, the user-side data framing unit is also used to perform virtual concatenation processing, MLPPP-IMA processing, and CEP-CES processing on the above-mentioned processed user-side various service data;
所述MLPPP-IMA处理为:Multi Link PPP-Inverse Multiplexing for ATM,多链路点对点协议ATM的反向复接处理;所述CEP-CES处理为:CircuitEmulation Service-Circuit Emulation over Packet,电路仿真业务-基于分组的电路仿真处理。The MLPPP-IMA processing is: Multi Link PPP-Inverse Multiplexing for ATM, the inverse multiplexing processing of the multi-link point-to-point protocol ATM; the CEP-CES processing is: CircuitEmulation Service-Circuit Emulation over Packet, circuit emulation service- Packet-based circuit simulation processing.
优选地,所述用户侧数据接收单元,用于分别从SDH光接口接收VC4格式的数据和从PDH接口接收经过该PDH接口转换封装成VC4格式的数据。Preferably, the user-side data receiving unit is configured to respectively receive data in VC4 format from the SDH optical interface and receive data converted and encapsulated into VC4 format from the PDH interface through the PDH interface.
优选地,所述用户侧数据处理单元,用于将所述从SDH光接口接收VC4格式的数据进行段开销接受处理、高阶指针解释和高开销提取处理。Preferably, the user-side data processing unit is configured to perform section overhead acceptance processing, high-order pointer interpretation, and high-overhead extraction processing on the data received from the SDH optical interface in VC4 format.
优选地,所述各种业务数据包括:CES业务数据、CEP业务数据、MLPPP业务数据、IMA业务数据和VCG业务数据。Preferably, the various service data include: CES service data, CEP service data, MLPPP service data, IMA service data and VCG service data.
本发明还提供一种伪线仿真系统的调度装置,其括:The present invention also provides a scheduling device for a pseudowire simulation system, which includes:
网络侧数据接收单元,用于接收以太网侧发送过来的各种业务数据,根据不同业务将所述网络侧的各种业务数据缓存到不同存储空间,并拆出相应帧结构;The network-side data receiving unit is used to receive various service data sent from the Ethernet side, cache the various service data on the network side in different storage spaces according to different services, and remove the corresponding frame structure;
网络侧数据处理单元,用于将所述拆出相应帧结构的网络侧的业务数据经过交叉连接,然后进行开销插入处理后经过SDH的光接口输出,或者直接由接口转换模块输出PDH业务数据。The network-side data processing unit is used to cross-connect the service data on the network side from which the corresponding frame structure has been removed, and then perform overhead insertion processing to output through the SDH optical interface, or directly output the PDH service data through the interface conversion module.
优选地,所述网络侧数据接收单元,用于将所述网络侧的各种业务数据分别进行虚级联处理、MLPPP-IMA处理和CEP-CES处理拆出各种业务数据的相应帧结构,并进行所述帧结构的重组;Preferably, the network-side data receiving unit is configured to perform virtual concatenation processing, MLPPP-IMA processing, and CEP-CES processing on various service data on the network side to extract corresponding frame structures of various service data, and reorganizing the frame structure;
其中,所述MLPPP-IMA处理为:Multi Link PPP-Inverse Multiplexing forATM,多链路点对点协议ATM的反向复接处理;Wherein, the MLPPP-IMA processing is: Multi Link PPP-Inverse Multiplexing forATM, the inverse multiplexing processing of the multi-link point-to-point protocol ATM;
所述CEP-CES处理为:Circuit Emulation Service-Circuit Emulation overPacket,电路仿真业务-基于分组的电路仿真处理。The CEP-CES processing is: Circuit Emulation Service-Circuit Emulation overPacket, circuit emulation service-circuit emulation processing based on packets.
优选地,所述网络侧数据处理单元,用于将所述进行帧结构重组后的网络侧的各种业务数据进行低阶指针生成模块、低阶开销插入、经过高阶指针生成模块、高阶开销插入和段开销插入后从SDH光接口输出。Preferably, the network-side data processing unit is configured to perform low-order pointer generation module, low-order overhead insertion, high-order pointer generation module, high-order After overhead insertion and segment overhead insertion, it is output from the SDH optical interface.
优选地,所述各种业务数据包括:CES业务数据、CEP业务数据、MLPPP业务数据、IMA业务数据和VCG业务数据。Preferably, the various service data include: CES service data, CEP service data, MLPPP service data, IMA service data and VCG service data.
实施本发明的技术方案,具有以下有益效果:本发明提供的方法和装置,通过该方法和装置处理多种业务数据流,接口简单而且便于复用、带宽调整和配置方便、处理业务种类多、调度算法简单。The implementation of the technical solution of the present invention has the following beneficial effects: the method and device provided by the present invention process multiple service data streams through the method and device, the interface is simple and easy to reuse, bandwidth adjustment and configuration are convenient, and there are many types of services, The scheduling algorithm is simple.
附图说明Description of drawings
图1为本发明实施例提供的方法流程图;Fig. 1 is the flow chart of the method provided by the embodiment of the present invention;
图2为本发明实施例提供的另一方法流程图;Fig. 2 is another method flowchart provided by the embodiment of the present invention;
图3为本发明实施例提供装置结构图Fig. 3 provides device structural diagram for the embodiment of the present invention
图4为本发明实施例提供另一装置结构图;Fig. 4 provides another device structure diagram according to the embodiment of the present invention;
图5为本发明实施例提供装置的应用实施例。Fig. 5 is an application example of a device provided by an embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例提供一种伪线仿真系统的调度方法,在上行过程中,如图1所示,该方法包括步骤:An embodiment of the present invention provides a scheduling method for a pseudowire simulation system. In the uplink process, as shown in FIG. 1, the method includes steps:
S110、接收用户侧输入的SDH(Synchronous Digital Hierarchy,同步数字体系)光接口输入业务数据和用户侧输入的准同步数字体系PDH(plesiochronous digital hierarchy,准同步数字体系)业务数据;S110. Receive SDH (Synchronous Digital Hierarchy, synchronous digital system) optical interface input service data input from the user side and PDH (plesiochronous digital hierarchy, plesiochronous digital hierarchy) service data input from the user side;
在本实施例中,所述接收用户侧输入的SDH光接口输入业务数据和用户侧输入的PDH业务数据,具体包括:In this embodiment, the SDH optical interface input service data received from the user side and the PDH service data input from the user side specifically include:
分别从SDH光接口接收VC4(4Order virtual Container:4阶虚容器)格式的数据和从PDH接口接收经过该PDH接口转换封装成VC4格式的数据。Respectively receive data in VC4 (4Order virtual Container: 4th order virtual container) format from the SDH optical interface and receive data converted and encapsulated into VC4 format from the PDH interface through the PDH interface.
S120、将所述SDH光接口输入业务数据依次进行时钟和数据恢复、开销处理,将所述PDH业务数据经过接口转换处理;S120. Perform clock and data recovery and overhead processing on the SDH optical interface input service data in sequence, and interface conversion processing on the PDH service data;
在本实施例中,所述开销处理,具体包括:In this embodiment, the overhead processing specifically includes:
将所述从SDH光接口接收VC4格式的数据进行段开销接受处理、高阶指针解释和高开销提取处理。The data in VC4 format received from the SDH optical interface is subjected to segment overhead acceptance processing, high-order pointer interpretation, and high overhead extraction processing.
S130、将所述SDH光接口输入业务数据和PDH业务数据进行交叉连接处理;S130. Perform cross-connection processing on the SDH optical interface input service data and PDH service data;
S140、将所述经过交叉连接处理后的业务数据再分别进行定帧处理,获取所述用户侧的各种业务数据的净荷数据,将所述净荷数据调到以太网侧发送。S140. Perform framing processing on the service data after the cross-connection processing, acquire payload data of various service data on the user side, and transfer the payload data to the Ethernet side for transmission.
在本实施例中,所述将所述经过交叉连接处理后的业务数据再分别进行定帧处理,具体包括:In this embodiment, the framing processing of the service data processed by the cross-connection is carried out, which specifically includes:
将上述经过处理后的用户侧的各种业务数据再分别进行虚级联处理、MLPPP-IMA(Multi Link PPP-Inverse Multiplexing for ATM,多链路点对点协议ATM的反向复接)处理和CEP-CES(Circuit Emulation Service-CircuitEmulation over Packet,电路仿真业务-基于分组的电路仿真)处理。The above-mentioned processed user-side business data are respectively subjected to virtual concatenation processing, MLPPP-IMA (Multi Link PPP-Inverse Multiplexing for ATM, multi-link point-to-point protocol ATM inverse multiplexing) processing and CEP- CES (Circuit Emulation Service-CircuitEmulation over Packet, Circuit Emulation Service-Circuit Emulation over Packet) processing.
本发明实施例还提供的方法下行过程中,如图2所示,该方法包括步骤:In the downlink process of the method further provided by the embodiment of the present invention, as shown in FIG. 2 , the method includes steps:
S210、接收以太网侧发送过来的各种业务数据,拆出相应帧结构;S210. Receive various service data sent from the Ethernet side, and extract the corresponding frame structure;
在本实施例中,所述将所述网络侧的各种业务数据拆出相应帧结构,具体包括:将所述网络侧的各种业务数据分别进行虚级联处理、MLPPP-IMA处理和CEP-CES处理拆出各种业务数据的相应帧结构,并进行所述帧结构的重组。In this embodiment, the removing the various service data on the network side into the corresponding frame structure specifically includes: performing virtual concatenation processing, MLPPP-IMA processing and CEP processing on the various service data on the network side respectively. - The CES process extracts the corresponding frame structures of various service data, and reassembles the frame structures.
S220、将所述拆出相应帧结构的网络侧的业务数据经过交叉连接,然后进行开销插入处理后经过SDH的光接口输出,或者直接由接口转换模块输出PDH业务数据。S220. Cross-connect the service data on the network side from which the corresponding frame structure has been removed, and then perform overhead insertion processing and then output through the SDH optical interface, or directly output the PDH service data through the interface conversion module.
在本实施例中,所述将所述拆出相应帧结构的网络侧的业务数据经过交叉连接,然后进行开销插入处理后经过SDH的光接口输出,具体包括:In this embodiment, the service data on the network side from which the corresponding frame structure is removed is cross-connected, and then the overhead insertion process is performed and then output through the SDH optical interface, specifically including:
将所述进行帧结构重组后的网络侧的各种业务数据进行低阶指针生成模块、低阶开销插入后从PDH光接口输出,经过高阶指针生成模块、高阶开销插入和段开销插入后从SDH光接口输出。After performing the low-order pointer generation module and low-order overhead insertion on the various service data on the network side after the frame structure reorganization, output from the PDH optical interface, after the high-order pointer generation module, high-order overhead insertion and segment overhead insertion Output from the SDH optical interface.
在其他的实施例中,在接收以太网侧发送过来的各种业务数据后,该方法还进一步包括:根据不同业务将所述网络侧的各种业务数据缓存到不同存储空间。In other embodiments, after receiving the various service data sent from the Ethernet side, the method further includes: buffering the various service data on the network side in different storage spaces according to different services.
上述各个实施例中的上行和下行步骤中,所述各种业务数据包括:CES(Circuit Emulation Service,电路仿真业务)业务数据、CEP(Circuit Emulationover Packet,基于分组的电路仿真)业务数据、MLPPP(Multi Link Point to PointProtocol,多链接点到点协))业务数据、IMA业务数据和VCG(Virtual ContainerGroup,虚容器组)业务数据。In the uplink and downlink steps in each of the above-mentioned embodiments, the various service data include: CES (Circuit Emulation Service, circuit emulation service) service data, CEP (Circuit Emulationover Packet, circuit emulation based on grouping) service data, MLPPP ( Multi Link Point to Point Protocol, Multi Link Point to Point Association) business data, IMA business data and VCG (Virtual Container Group, virtual container group) business data.
本发明实施例提供的方法,通过该方法和装置处理多种业务数据流,接口简单而且便于复用、带宽调整和配置方便、处理协议种类多、调度算法简单。The method provided by the embodiment of the present invention processes multiple service data streams through the method and device, the interface is simple and convenient for multiplexing, bandwidth adjustment and configuration are convenient, there are many types of processing protocols, and the scheduling algorithm is simple.
本发明实施例还提供一种伪线仿真系统的综合调度装置,用于上行过程中,如图3所示,该装置包括:The embodiment of the present invention also provides an integrated scheduling device for a pseudowire emulation system, which is used in the uplink process, as shown in FIG. 3 , the device includes:
用户侧数据接收单元310,用于接收用户侧输入的同步数字体系SDH光接口输入业务数据和用户侧输入的准同步数字体系PDH业务数据;本实施例中,更为具体的,所述用户侧数据接收单元310,用于分别从SDH光接口接收VC4格式的数据和从PDH接口接收经过该PDH接口转换封装成VC4格式的数据。The user side data receiving unit 310 is used to receive the synchronous digital system SDH optical interface input service data input by the user side and the quasi-synchronous digital system PDH service data input by the user side; in this embodiment, more specifically, the user side The data receiving unit 310 is configured to respectively receive data in VC4 format from the SDH optical interface and receive data converted and encapsulated into VC4 format from the PDH interface through the PDH interface.
用户侧数据处理单元320,将所述SDH光接口输入业务数据依次进行时钟和数据恢复、开销处理,将所述PDH业务数据经过接口转换处理;在本实施例中,更为具体的,所述用户侧数据处理单元320,用于将所述从SDH光接口接收VC4格式的数据进行段开销接受处理、高阶指针解释和高开销提取处理。The user-side data processing unit 320 performs clock and data recovery and overhead processing on the SDH optical interface input service data in sequence, and performs interface conversion processing on the PDH service data; in this embodiment, more specifically, the The user-side data processing unit 320 is configured to perform section overhead acceptance processing, high-order pointer interpretation, and high-overhead extraction processing on the data received from the SDH optical interface in VC4 format.
交叉连接单元330,用于将所述SDH光接口输入业务数据和PDH业务数据进行交叉连接处理;A cross-connect unit 330, configured to perform cross-connect processing on the SDH optical interface input service data and PDH service data;
用户侧数据定帧单元340,用于将所述经过交叉连接处理后的业务数据再分别进行定帧处理,获取所述用户侧的各种业务数据的净荷数据,将所述净荷数据调到以太网侧发送。在本实施例中,更为具体的,所述用户侧数据定帧单元340,用于将上述经过处理后的用户侧的各种业务数据再分别进行虚级联处理、MLPPP-IMA处理和CEP-CES处理。The user-side data framing unit 340 is configured to perform framing processing on the service data after the cross-connection processing, obtain the payload data of various service data on the user side, and adjust the payload data to sent to the Ethernet side. In this embodiment, more specifically, the user-side data framing unit 340 is configured to perform virtual concatenation processing, MLPPP-IMA processing, and CEP processing on the above-mentioned processed user-side service data respectively. -CES processing.
本实施例中,所述各种业务数据包括:CES业务数据、CEP业务数据、MLPPP业务数据、IMA业务数据和VCG业务数据。In this embodiment, the various service data include: CES service data, CEP service data, MLPPP service data, IMA service data and VCG service data.
本发明还提供另一种伪线仿真系统的调度装置,用于下行过程中,如图4所示,该装置包括:The present invention also provides another scheduling device for a pseudowire emulation system, which is used in the downlink process, as shown in Figure 4, the device includes:
网络侧数据接收单元410,用于接收以太网侧发送过来的各种业务数据,拆出相应帧结构;本实施例中,更为具体的,所述网络侧数据接收单元,用于将所述网络侧的各种业务数据分别进行虚级联处理、MLPPP-IMA处理和CEP-CES处理拆出各种业务数据的相应帧结构,并进行所述帧结构的重组。The network-side data receiving unit 410 is used to receive various service data sent from the Ethernet side, and extract the corresponding frame structure; in this embodiment, more specifically, the network-side data receiving unit is used to convert the Various service data on the network side are respectively subjected to virtual concatenation processing, MLPPP-IMA processing, and CEP-CES processing to extract corresponding frame structures of various service data, and perform reorganization of the frame structures.
网络侧数据处理单元420,用于将所述拆出相应帧结构的网络侧的业务数据经过交叉连接,然后进行开销插入处理后经过SDH的光接口输出,或者直接由接口转换模块输出PDH业务数据。在本实施例中,更为具体的,所述网络侧数据处理单元420,用于将所述进行帧结构重组后的网络侧的各种业务数据进行低阶指针生成模块、低阶开销插入、经过高阶指针生成模块、高阶开销插入和段开销插入后从SDH光接口输出。在本实施例中,更为具体的,所述网络侧数据处理单元420,还用于接收以太网侧发送过来的各种业务数据后,根据不同业务将所述网络侧的各种业务数据缓存到不同存储空间。The network-side data processing unit 420 is used to cross-connect the service data on the network side from which the corresponding frame structure has been removed, and then perform overhead insertion processing to output through the SDH optical interface, or directly output the PDH service data by the interface conversion module . In this embodiment, more specifically, the network-side data processing unit 420 is configured to perform a low-order pointer generation module, low-order overhead insertion, and Output from the SDH optical interface after high-order pointer generation module, high-order overhead insertion, and segment overhead insertion. In this embodiment, more specifically, the network side data processing unit 420 is also configured to cache various service data on the network side according to different services after receiving various service data sent from the Ethernet side to different storage spaces.
在本实施例中,所述各种业务数据包括:CES业务数据、CEP业务数据、MLPPP业务数据、IMA业务数据和VCG业务数据。In this embodiment, the various service data include: CES service data, CEP service data, MLPPP service data, IMA service data and VCG service data.
下面描述上述实施例提供的调度方法和调度装置的在不同业务数据的处理过程中的应用实施例:The following describes the application embodiments of the scheduling method and scheduling device provided by the above-mentioned embodiments in the processing of different business data:
为了简化接口连线和统一封装形式,对伪线仿真系统所能处理的PDH业务、ATMIMA和MLPPP相关的E1业务接口统一以VC4格式封装,以便于按SDH的封装结构来传送和处理,所以在图5左侧归结为SDH侧,而图5的右侧主要与以太网接口关系紧密,在本应用实施例中统称为ETH(Ethernet:以太网)侧。在SDH侧,因为CEP CES在UNI(User to Network Interface:用户和网络接口)和NNI(Network to Network Interface:网络和网络接口)两种应用环境下都有应用,所以与两个分组输入的8个VC4有接口,见图5中的分组1和分组2数据走向示意图。In order to simplify the interface connection and unify the encapsulation form, the PDH service, ATMIMA and MLPPP-related E1 service interfaces that can be processed by the pseudowire emulation system are encapsulated in VC4 format to facilitate transmission and processing according to the SDH encapsulation structure. The left side of Fig. 5 is attributed to the SDH side, while the right side of Fig. 5 is mainly related to the Ethernet interface, which is collectively referred to as the ETH (Ethernet: Ethernet) side in this application embodiment. On the SDH side, because CEP CES is applied in both UNI (User to Network Interface: user and network interface) and NNI (Network to Network Interface: network and network interface) application environments, it is related to the 8 Each VC4 has an interface, as shown in the schematic diagram of the data trend of group 1 and group 2 in Figure 5.
在SDH侧:On the SDH side:
虚级联处理1,下行方向实现将多个相同类型的VCG通过字节间插的方式,形成一个逻辑上更大带宽和更高带宽利用率的容器来传送业务;上行将SDH业务通过GFP重新组装然后在以太网上传输。Virtual concatenation processing 1. In the downlink direction, multiple VCGs of the same type are interleaved by bytes to form a logically larger bandwidth and higher bandwidth utilization container to transmit services; uplink retransmits SDH services through GFP Assembled and then transmitted over Ethernet.
CEP-CES2,实现将PDH业务和SDH业务的封装和解封装功能,CEP-CES2 realizes the function of encapsulation and decapsulation of PDH service and SDH service,
CES的读写请求产生和处理过程为:The generation and processing of CES read and write requests are as follows:
读写请求的产生:Generation of read and write requests:
SDH侧读请求的产生:每发送两个E1帧,就产生一个SDH侧CES的读请求;Generation of SDH side read request: every time two E1 frames are sent, a read request of SDH side CES is generated;
SDH侧写请求的产生:每接收两个E1帧,就产生一个SDH侧CES的写请求;Generation of SDH side write request: every time two E1 frames are received, a write request of SDH side CES is generated;
ETH侧读请求的产生:依次轮询查询每个E1通道,如果某个E1通道在外部存储器中存储了足够一个PWE3报文的帧,则产生一个ETH侧CES的读请求;Generation of read requests on the ETH side: poll and query each E1 channel in turn, if an E1 channel stores enough frames of a PWE3 message in the external memory, a read request for the CES on the ETH side is generated;
ETH侧写请求的产生:每个接收两个E1帧,就产生一个ETH侧CES的写请求;Generation of ETH side write request: every time two E1 frames are received, a write request of ETH side CES is generated;
由于要处理多个E1通道,为了防止请求丢失,先将请求存储在一个FIFO(first input first output,先进先出)中,等待处理。Since there are multiple E1 channels to be processed, in order to prevent the request from being lost, the request is first stored in a FIFO (first input first output, first in first out) and waits for processing.
经过上述这样的处理,CES的读写请求完全等价于CES配置的带宽;After the above processing, the read and write requests of CES are completely equivalent to the bandwidth configured by CES;
读写请求的处理过程为:The process of reading and writing requests is as follows:
SDH侧的写请求处理:向调度装置4发送写请求,调度装置4响应后,将对应的数据块写入外部存储器,如果外部存储器满,则丢弃,不向外部存储器发送请求。Write request processing on the SDH side: send a write request to the scheduling device 4, and after the scheduling device 4 responds, write the corresponding data block into the external memory. If the external memory is full, it will be discarded and no request will be sent to the external memory.
SDH侧的读请求处理:向调度装置4发送读请求,等待响应后,接收调度装置4的数据块,如果外部存储器空,则插入全0或全1码,不向调度装置发送请求。Read request processing on the SDH side: send a read request to the scheduling device 4, and after waiting for a response, receive the data block from the scheduling device 4. If the external memory is empty, insert all 0 or all 1 codes, and do not send a request to the scheduling device.
ETH侧写请求处理:向调度装置4发送写请求,调度装置4响应后,将对应的块写入外部存储器5,如果外部存储器5满,则丢弃(直接丢弃整个PWE3报文),不向外部存储器5发送请求。ETH profile request processing: send a write request to the scheduling device 4, after the scheduling device 4 responds, write the corresponding block into the external memory 5, if the external memory 5 is full, then discard (directly discard the entire PWE3 message), and do not send to the outside The memory 5 sends the request.
ETH侧读请求处理:向调度发送读请求,等待调度装置4响应后,接收调度装置4的数据,重复这个过程,直到达到级联数。ETH side read request processing: send a read request to the dispatcher, wait for the dispatcher 4 to respond, receive the data from the dispatcher 4, and repeat this process until the number of cascades is reached.
其中:CEP的读写请求的产生和处理过程为:Among them: the generation and processing process of the read and write requests of CEP are:
读写请求的产生:Generation of read and write requests:
CEP的处理思路与CES基本一致,但是需要特别说明的是,对于Vc-12的CEP,每个CEP净荷长度为各自虚容器的字节数。对于Vc-4的CEP,每个CEP净荷的长度是Vc-4虚容器长度的三分之一,即783字节。因此,在外部存储器5中,CEP仿真对于Vc-12,按照在64字节分块的基础上,以虚容器为单位进行存储。Vc-4的CEP以及Vc-4-4c的CEP,按照64字节分块的基础上,以783字节为单位进行存储。由于CEP净荷的长度不是64字节的整数倍,因此最后一个块不足64字节,也按照一个块处理。The processing idea of CEP is basically the same as that of CES, but it needs to be specially noted that for Vc-12 CEP, the payload length of each CEP is the number of bytes of the respective virtual container. For the CEP of Vc-4, the length of each CEP payload is one-third of the length of the Vc-4 virtual container, that is, 783 bytes. Therefore, in the external memory 5, the CEP emulation stores Vc-12 in units of virtual containers on the basis of 64-byte blocks. The CEP of Vc-4 and the CEP of Vc-4-4c are stored in units of 783 bytes based on 64-byte blocks. Since the length of the CEP payload is not an integer multiple of 64 bytes, the last block is less than 64 bytes, and it is also treated as one block.
根据上述处理原则,对于Vc-12,每个虚容器产生3个块,第一个块的第一个字节为V5;对于Vc-4,Vc-4-4c,每个虚容器分别产生3、12、48个CEP报文,每个CEP报文占13块(13X64=832字节,大于783字节,最后一块有填充字节),第一个CEP报文的第一个字节为J1字节。According to the above processing principles, for Vc-12, each virtual container generates 3 blocks, and the first byte of the first block is V5; for Vc-4, Vc-4-4c, each virtual container generates 3 , 12, 48 CEP messages, each CEP message accounts for 13 blocks (13X64=832 bytes, greater than 783 bytes, the last block has padding bytes), the first byte of the first CEP message is J1 byte.
SDH侧写请求:每接收一个块产生一个写请求,注意块的产生要根据虚容器的结构来;SDH profile request: A write request is generated every time a block is received. Note that the generation of blocks depends on the structure of the virtual container;
SDH侧读请求:每发送一个Vc-12帧产生3个读请求,第一个读请求对应的块的第一个字节是V5。对于Vc-4,Vc-4-4c,每发送一个帧,分别对应着39,156,624个读请求,其中第一个读请求对应的块的第一个字节为J1。SDH side read request: 3 read requests are generated every time a Vc-12 frame is sent, and the first byte of the block corresponding to the first read request is V5. For Vc-4 and Vc-4-4c, each frame sent corresponds to 39, 156, and 624 read requests respectively, and the first byte of the block corresponding to the first read request is J1.
ETH侧写请求:每接收一个块产生一个请求,注意块的产生要根据虚容器的结构来。ETH profile request: A request is generated every time a block is received. Note that the generation of blocks depends on the structure of the virtual container.
ETH侧读请求:依次查询每个Vc通道,如果某个Vc通道满足了产生PWE3的条件,就产生一个读请求。ETH side read request: Query each Vc channel in turn, and if a certain Vc channel satisfies the conditions for generating PWE3, a read request is generated.
由于要处理多个Vc通道,为了防止请求丢失,先将请求存储在一个FIFO中,等待处理。Since there are multiple Vc channels to be processed, in order to prevent the request from being lost, the request is first stored in a FIFO and waits for processing.
经过这样的处理,CEP的读写请求完全等价于CES配置的带宽;After such processing, the read and write requests of CEP are completely equivalent to the bandwidth configured by CES;
读写请求的处理过程:The process of reading and writing requests:
SDH侧写请求处理:向调度装置4发写请求,调度装置4响应后,将对应的块写入外部存储器5,如果外部存储器5满,则丢弃(以虚容器为单位丢弃)不向外部存储器5发送请求;SDH profile request processing: send a write request to the scheduling device 4, after the scheduling device 4 responds, write the corresponding block into the external memory 5, if the external memory 5 is full, then discard (discard in the unit of a virtual container) and do not write to the external memory 5 send request;
SDH侧读请求处理:向调度装置4发送读请求,调度装置4响应后,接收调度装置4的数据块,如果外部存储器5空,则不发送请求,则插入全0或全1。SDH side read request processing: send a read request to the scheduling device 4, after the scheduling device 4 responds, receive the data block of the scheduling device 4, if the external memory 5 is empty, then do not send the request, then insert all 0 or all 1.
ETH侧写请求处理:向调度装置4发请求,等待调度装置4响应后,将数据块写入调度装置4,如果外部存储器5满,则丢弃(以整个虚容器为单位丢弃),不向外部存储器5发送请求;ETH profile request processing: send a request to the scheduling device 4, wait for the scheduling device 4 to respond, write the data block into the scheduling device 4, if the external memory 5 is full, then discard (discard in the unit of the entire virtual container), do not send to the outside The memory 5 sends a request;
ETH读请求处理过程:向调度装置4发送请求,等待调度装置4响应后,接受数据块,重复以上过程,直到满足PWE3封装要求。ETH read request processing process: send a request to the dispatcher 4, wait for the dispatcher 4 to respond, accept the data block, and repeat the above process until the PWE3 encapsulation requirements are met.
IMAMLPPP3,实现ATM的反向复接和利用E1实现点对点的多链路传输。其中:IMAMLPPP3 realizes reverse multiplexing of ATM and realizes point-to-point multi-link transmission by using E1. in:
MLPPP的读写请求的产生和处理过程为:The generation and processing of MLPPP read and write requests are as follows:
读写请求的产生:Generation of read and write requests:
SDH侧的写请求:MLPPP组每恢复一个分片,就产生一个写请求;Write request on the SDH side: a write request is generated every time a fragment is recovered by the MLPPP group;
SDH侧的读请求:依次轮询查询每个PPP(Point to Point Protocol,点到点协议),连接是否有足够空间产生存储一个分片,并且该MLPPP组有分片尚未分配,则产生一个读请求;Read request on the SDH side: poll and query each PPP (Point to Point Protocol) in turn, whether the connection has enough space to generate and store a fragment, and the MLPPP group has fragments that have not been allocated yet, then generate a read request ask;
ETH侧读请求:轮询检测每个MLPPP组是否有报文,如果有则产生一个读请求;ETH side read request: poll to detect whether each MLPPP group has a message, and if so, generate a read request;
ETH侧写请求:每接收一个块,就产生一个请求;ETH profile request: every time a block is received, a request is generated;
由于要处理多个MLPPP组,为了防止请求丢失,先将请求存储在一个FIFO中,等待处理。Since there are multiple MLPPP groups to be processed, in order to prevent the request from being lost, the request is first stored in a FIFO and waits for processing.
读写请求的处理过程:The process of reading and writing requests:
SDH侧写请求处理过程:向调度装置4发送写请求,等待调度装置4响应后,将数据块写入调度装置4,重复以上过程直到一个分片写完,如果外部存储器5满,则不向调度装置4发送请求,丢弃整个恢复后的报文。SDH profile request processing process: send a write request to the scheduling device 4, wait for the response of the scheduling device 4, write the data block into the scheduling device 4, repeat the above process until a fragment is written, if the external memory 5 is full, then do not write to the The dispatching device 4 sends a request and discards the entire restored message.
SDH侧读请求处理:向调度装置4发送读请求,等待调度装置4响应后,接收数据块,重复以上过程,直到一个分片读完成。SDH side read request processing: send a read request to the scheduling device 4, wait for the response of the scheduling device 4, receive the data block, and repeat the above process until a fragment read is completed.
ETH侧写请求处理过程:向调度装置4发送写请求,等待调度装置4响应后,将数据块写入外部存储器5,如果外部存储器5满,则按MLPPP组丢弃整个报文。ETH profile request processing process: send a write request to the scheduling device 4, wait for the response of the scheduling device 4, write the data block into the external memory 5, if the external memory 5 is full, discard the entire message according to the MLPPP group.
ETH侧读请求处理过程:向调度装置4发送读请求,等待调度装置4响应后,接收数据块,重复以上过程,直到一个报文结束。ETH side read request processing process: send a read request to the scheduling device 4, wait for the response of the scheduling device 4, receive the data block, repeat the above process until the end of a message.
IMA的读写请求的产生和处理过程为:The generation and processing of IMA read and write requests are as follows:
读写请求的产生:Generation of read and write requests:
ETH侧写请求:每个ATM信元产生一个写请求;ETH profile request: each ATM cell generates a write request;
ETH侧读请求:轮询查询每个VC/VP连接,是否满足发送一个PWE3报文的条件,如果满足,则产生一个读请求;ETH side read request: poll each VC/VP connection, whether it meets the conditions for sending a PWE3 message, and if so, generate a read request;
SDH侧写请求:当IMA组可以恢复后,依次轮询每个VC,按照排序结果,如果当前报文是一个数据报文,则产生一个写请求;SDH profile request: When the IMA group can be restored, each VC is polled in turn, and according to the sorting result, if the current message is a data message, a write request is generated;
SDH侧读请求:SDH side read request:
由于要处理多个IMA组,为了防止请求丢失,先将请求存储在一个FIFO中,等待处理。Since there are multiple IMA groups to be processed, in order to prevent the request from being lost, the request is first stored in a FIFO and waits for processing.
读写请求的处理过程:The process of reading and writing requests:
SDH侧写请求处理过程:向调度装置4发送写请求,等待调度装置4响应后,将数据块写入调度装置4,重复以上过程直到一个分片写完,如果外部存储器满,则不向调度装置4发送请求,丢弃整个恢复后的报文。SDH side write request processing process: send a write request to the scheduling device 4, wait for the response of the scheduling device 4, write the data block into the scheduling device 4, repeat the above process until a fragment is written, if the external memory is full, then do not write to the scheduling device Device 4 sends a request and discards the entire restored message.
SDH侧读请求处理过程:向调度装置4发送写请求,等待调度装置4响应后,从调度装置4读入64字节存在本地等待排序。SDH side read request processing process: send a write request to the scheduling device 4, wait for the response of the scheduling device 4, read 64 bytes from the scheduling device 4 and store it locally for sorting.
ETH侧写请求过程:向调度装置4发送写请求,等待调度装置4响应后,将数据块写入调度装置4,如果外部存储器满,则丢弃信元;ETH profile request process: send a write request to the scheduling device 4, wait for the scheduling device 4 to respond, write the data block into the scheduling device 4, and discard the cell if the external memory is full;
ETH侧读请求处理:向调度装置4发送读请求,等待调度装置4响应后,接收数据块,重复以上过程,直到满足一个PWE3报文。ETH side read request processing: send a read request to the scheduling device 4, wait for the response of the scheduling device 4, receive the data block, and repeat the above process until a PWE3 message is satisfied.
调度装置4(即:读写控制和DDR(Double Data Rate:双倍数据速率)控制器4),实现周边读写的仲裁和外部存储器的读写控制,即6读6写的轮询处理。The scheduling device 4 (namely: read-write control and DDR (Double Data Rate: double data rate) controller 4) realizes the arbitration of peripheral reading and writing and the reading and writing control of external memory, that is, polling processing of 6 reads and 6 writes.
外部存储器5,实现SDH侧和ETH侧需要交换数据的缓存。The external memory 5 realizes the buffering of data exchanged between the SDH side and the ETH side.
在ETH上行方向:In the upward direction of ETH:
VCG组成帧器6、MLPPP组成帧器7、ATM-PWE3成帧器8、CESCEP-PWE3成帧器9和ECC报文成帧器10都是相应业务的成帧器,它们完成相应的VC4格式的数据封装:VCG framer 6, MLPPP framer 7, ATM-PWE3 framer 8, CESCEP-PWE3 framer 9 and ECC message framer 10 are framers for corresponding services, and they complete the corresponding VC4 format The data package:
在ETH下行方向:In the downlink direction of ETH:
ECC报文写入指针生成模块11、VCG发送写指针生成模块12、IMA-PWE3接收写指针生成模块13、CEP-CES-PWE3接收写指针生成模块14和MLPPP组接收写指针生成模块15分别是生成下行数据经过报文解析后需要暂存在外部存储器中的位置。The ECC message write pointer generation module 11, the VCG send write pointer generation module 12, the IMA-PWE3 receive write pointer generation module 13, the CEP-CES-PWE3 receive write pointer generation module 14 and the MLPPP group receive write pointer generation module 15 are respectively The location where the generated downlink data needs to be temporarily stored in the external memory after the message is parsed.
其中:VCG的读写请求的产生和处理过程为:Among them: the generation and processing process of VCG read and write requests are as follows:
读写请求的产生:Generation of read and write requests:
SDH侧写请求产生:每接收一个块,就产生一个写请求;SDH profile request generation: every time a block is received, a write request is generated;
SDH侧读请求产生:对于每个VCG,单独统计每个VCG的数据读请求,每统计64个字节产生一个读请求;SDH side read request generation: For each VCG, count the data read requests of each VCG separately, and generate a read request for every 64 bytes counted;
ETH侧写请求:每接收一个块,就产生一个写请求;ETH profile request: every time a block is received, a write request is generated;
ETH侧读请求:依次查询每个VCG端口,如果某个端口满足发送报文,则产生一个读请求;ETH side read request: Query each VCG port in turn, if a port is satisfied to send a message, a read request will be generated;
由于要处理多个VCG组,为了防止请求丢失,先将请求存储在一个FIFO中,等待处理。Since there are multiple VCG groups to be processed, in order to prevent the request from being lost, the request is first stored in a FIFO and waits for processing.
读写请求的处理过程:The process of reading and writing requests:
SDH侧写请求处理:向调度装置4发送请求,等待调度装置4响应后,将数据块写入调度装置4,如果外部存储器满,则按照VCG丢弃整个报文。SDH profile request processing: send a request to the scheduling device 4, wait for the response of the scheduling device 4, write the data block into the scheduling device 4, if the external memory is full, discard the entire message according to the VCG.
SDH侧读请求处理过程:向调度装置4发送读请求,等待调度装置4响应后,接收数据块,如果内部缓存满,或者外部存储器没有数据,则不发送请求;SDH side read request processing process: send a read request to the scheduling device 4, wait for the scheduling device 4 to respond, and then receive the data block. If the internal cache is full, or there is no data in the external memory, the request will not be sent;
ETH侧写请求处理过程:向调度装置4发送请求,等待调度装置4响应后,将数据块写入调度装置4,如果外部存储器满,则按照VCG丢弃整个报文;ETH profile request processing process: send a request to the scheduling device 4, wait for the scheduling device 4 to respond, write the data block into the scheduling device 4, if the external memory is full, discard the entire message according to the VCG;
ETH侧读请求处理过程:向调度装置4发送读请求,等待调度装置4响应后,接收数据块,重复以上过程,直到一个报文结束。ETH side read request processing process: send a read request to the scheduling device 4, wait for the response of the scheduling device 4, receive the data block, repeat the above process until the end of a message.
外部存储器结构分成两部分,一是数据存储区,二是报文信息存储区,该应用实施例只涉及数据存储区的数据的存储和调度。The structure of the external memory is divided into two parts, one is the data storage area, and the other is the message information storage area. This application embodiment only involves the storage and scheduling of data in the data storage area.
不同业务数据在存储空间的空间分配如下表一所示:The space allocation of different business data in the storage space is shown in Table 1 below:
表一Table I
数据存储区按照64字节进行分块,对应不同的业务数据分块设置如下表二所示:The data storage area is divided into blocks according to 64 bytes, and the block settings corresponding to different business data are shown in Table 2 below:
表二Table II
应用上述实施例提供的方法后,数据存储区使用外部存储器,因为报文的信息在传输过程中存储时间不超过64ms,对于64ms的DDR2内存模组,本发明实施例提供的调度装置可以不用对其进行处理刷新过程,简化了调度管理。After applying the method provided by the above-mentioned embodiment, the data storage area uses an external memory, because the information of the message is stored for no more than 64ms during the transmission process, for the 64ms DDR2 memory module, the scheduling device provided by the embodiment of the present invention does not need to It handles the refresh process and simplifies scheduling management.
假设使用250M的时钟频率,数据线位宽64位,调度装置4的总带宽为32G,调度装置4按照6写6读的方式固定轮询调度,调度的方式如下表三所示:Assume that a clock frequency of 250M is used, the bit width of the data line is 64 bits, and the total bandwidth of the scheduling device 4 is 32G. The scheduling device 4 uses 6 writes and 6 reads to fix round-robin scheduling. The scheduling method is shown in Table 3 below:
表三Table three
因为PWE3类芯片中一般都存在多业务数据的混合传送,所以在调度时都涉及多种业务数据共享带宽的设计,在本应用实施例中,VCG和CEP-CES共享4G带宽,CEP-CES和MLPPP-IMA共享4G带宽,所以对应于外部GE接口也涉及到端口的配置:同组的VCG、CEP在以太网接口上,最多允许占用2个GE接口,同组的CEP-CES,同组的CEP-CES和MLPP-IMA在以太网接口上,最多允许占用2个GE接口,这样才能保证某个业务数据突发时业务数据不拥塞或不丢失。Because there is generally mixed transmission of multi-service data in PWE3 chips, the design of multiple service data sharing bandwidth is involved in scheduling. In this application example, VCG and CEP-CES share 4G bandwidth, and CEP-CES and MLPPP-IMA shares 4G bandwidth, so corresponding to the external GE interface also involves port configuration: the VCG and CEP of the same group are on the Ethernet interface, and a maximum of 2 GE interfaces are allowed to be occupied, the CEP-CES of the same group, and the CEP-CES and MLPP-IMA are allowed to occupy up to 2 GE interfaces on the Ethernet interface, so as to ensure that the service data will not be congested or lost when a certain service data bursts.
本应用实施例中,数据位宽假定为64bit,所以按照64字节分片的读写需要4个时钟周期(每时钟上下沿都有数据传送),上面表格中操作轮询一次读写过程共花费96个时钟周期,另外加上16个时钟周期的开销,则使用效率在85%,4G带宽使用效率为85%的情况,实际有效调度带宽为3.4G,而两个GE突发的流量最大为2.5G,所以调度装置4在最差情况下满足端口流量要求。另外,上述方式处理中是假设所有业务数据同时存在,如果某段时间某种业务数据不存在,这时端口上存在业务数据的调度带宽还会大幅增加,保证业务数据不拥塞或不丢失。In this application example, the data bit width is assumed to be 64 bits, so reading and writing according to 64-byte fragmentation requires 4 clock cycles (data is transmitted on the upper and lower edges of each clock). It takes 96 clock cycles, plus the overhead of 16 clock cycles, the usage efficiency is 85%. When the 4G bandwidth usage efficiency is 85%, the actual effective scheduling bandwidth is 3.4G, and the traffic of two GE bursts is the largest. is 2.5G, so the scheduling device 4 meets the port flow requirement in the worst case. In addition, the above method assumes that all service data exists at the same time. If a certain service data does not exist in a certain period of time, the scheduling bandwidth of the service data on the port will be greatly increased at this time, ensuring that the service data will not be congested or lost.
本应用实施例通过对外部存储器合适的分片、对不同业务数据的封装转换以及读写产生方式的处理,使该上述实施例提供的方法和装置能使用简单的算法满足多种业务数据的无拥塞调度。This application embodiment enables the method and device provided by the above-mentioned embodiment to use a simple algorithm to meet the needs of various business data through appropriate sharding of external memory, encapsulation and conversion of different business data, and processing of read and write generation methods. congestion scheduling.
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention. Inside.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010557142.XA CN102480408B (en) | 2010-11-24 | 2010-11-24 | Scheduling method and device for pseudo wire emulation system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010557142.XA CN102480408B (en) | 2010-11-24 | 2010-11-24 | Scheduling method and device for pseudo wire emulation system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102480408A CN102480408A (en) | 2012-05-30 |
| CN102480408B true CN102480408B (en) | 2014-12-10 |
Family
ID=46092892
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010557142.XA Expired - Fee Related CN102480408B (en) | 2010-11-24 | 2010-11-24 | Scheduling method and device for pseudo wire emulation system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102480408B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102404065B (en) * | 2011-11-09 | 2014-02-26 | 武汉日电光通信工业有限公司 | SDH (Synchronous Digital Hierarchy) pointer processing method and circuit thereof |
| CN105933087B (en) * | 2016-04-18 | 2018-07-31 | 华为技术有限公司 | Method, relevant device and the system of data processing in a kind of Ethernet |
| US10264600B2 (en) * | 2016-06-15 | 2019-04-16 | Qualcomm Incorporated | Virtual cluster group based uplink control channel |
| CN109254721B (en) * | 2017-07-12 | 2024-04-05 | 中兴通讯股份有限公司 | Flexible Ethernet data crossing method, transmission device and storage medium |
| CN109672490A (en) * | 2017-10-13 | 2019-04-23 | 中兴通讯股份有限公司 | A kind of multiport tributary unit, signal processing method and storage medium |
| CN108270623B (en) * | 2018-01-25 | 2020-12-01 | 烽火通信科技股份有限公司 | Method and system for TDM business network management automatic configuration based on packet transport network |
| CN110248260B (en) | 2018-03-07 | 2021-10-26 | 华为技术有限公司 | Method, device and system for processing Ethernet data in optical network |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1968065B (en) * | 2006-06-23 | 2011-04-06 | 华为技术有限公司 | Microwave communication service transmission method and system |
| US8228943B2 (en) * | 2007-03-05 | 2012-07-24 | Siverge Networks Ltd | Systems and methods for providing framing mapping, muxing and data processing |
| CN101399751B (en) * | 2007-09-25 | 2011-02-09 | 华为技术有限公司 | Switching system and method in a communication network |
-
2010
- 2010-11-24 CN CN201010557142.XA patent/CN102480408B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN102480408A (en) | 2012-05-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100388700C (en) | A Method for Transmitting Data Service on Synchronous Digital Network | |
| CN102480408B (en) | Scheduling method and device for pseudo wire emulation system | |
| EP3468075B1 (en) | Method, apparatus, and network system for sending and receiving services | |
| US11477549B2 (en) | Transmission network system, data switching and transmission method, apparatus and equipment | |
| US8416770B2 (en) | Universal service transport transitional encoding | |
| CN113162853A (en) | Method and device for forwarding data | |
| WO2010020130A1 (en) | A packet add/drop multiplexing device and a data transmission method of a packet add/drop multiplexing device | |
| EP2958279B1 (en) | Service transfer device and method for optical channel data unit | |
| KR20200035142A (en) | Method and device for transparently transmitting service frequency | |
| JP2002208903A (en) | Flexible multiplexer / demultiplexer and method for transmitting optical line data over wide area / urban links | |
| WO2011116662A1 (en) | Ethernet service intercommunication method and apparatus | |
| CN101146091A (en) | Multi-channel data output method and system | |
| WO2021196753A1 (en) | Service bearing method, data exchange method, service extraction method, pe device, provider exchange device and storage medium | |
| CN101753249A (en) | Pocket add-drop multiplexer and data transmission method thereof | |
| WO2022183875A1 (en) | Method for determining transmission time slot and related apparatus | |
| CN1507206A (en) | Method for Transmission of Circuit Service on Ethernet-based Passive Optical Network | |
| WO2024032269A1 (en) | Communication method, related apparatus and computer-readable storage medium | |
| WO2006056135A1 (en) | Add drop multiplexing method, apparatus and system based on gfp | |
| CN101399751B (en) | Switching system and method in a communication network | |
| EP1339183B1 (en) | Method and device for transporting ethernet frames over a transport SDH/SONET network | |
| CN102437944A (en) | System, equipment and method for mutual communication between local area networks | |
| CN101860772A (en) | A time slot crossover method and crossover device | |
| WO2024051586A1 (en) | Method for processing data frame in optical transport network, apparatus and system | |
| CN100407715C (en) | Device and method for realizing network convergence | |
| CN108737911A (en) | POTN service bearer method and system based on broad sense optical burst swit- ching |
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 | ||
| C41 | Transfer of patent application or patent right or utility model | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20151112 Address after: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice Patentee after: ZTE Corporation Patentee after: SHENZHEN ZTE MICROELECTRONICS TECHNOLOGY CO., LTD. Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice Patentee before: ZTE Corporation |
|
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141210 Termination date: 20191124 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |