WO2012151890A1 - Service mapping method and device - Google Patents

Service mapping method and device Download PDF

Info

Publication number
WO2012151890A1
WO2012151890A1 PCT/CN2011/082051 CN2011082051W WO2012151890A1 WO 2012151890 A1 WO2012151890 A1 WO 2012151890A1 CN 2011082051 W CN2011082051 W CN 2011082051W WO 2012151890 A1 WO2012151890 A1 WO 2012151890A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
signal
mapping
rate
unit
Prior art date
Application number
PCT/CN2011/082051
Other languages
French (fr)
Chinese (zh)
Inventor
陆红
王军
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012151890A1 publication Critical patent/WO2012151890A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • H04J3/1664Optical Transport Network [OTN] carrying hybrid payloads, e.g. different types of packets or carrying frames and packets in the paylaod
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0064Arbitration, scheduling or medium access control aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for implementing service mapping.
  • OTN optical transport network
  • a service board generally supports only one or two known services. The general user knows in advance. For this type of service, you need to manually specify the service type through the network management to communicate normally. When the customer's service is changed, you need to manually modify the service type of the client-side board to implement normal communication.
  • the internal implementation of the board is usually fixed to a specific service mapping manner, which supports only one or several specific service accesses.
  • automatic mapping of services cannot be achieved, and therefore, flexibility is not high.
  • a method of implementing a service mapping includes: detecting an access service signal, determining a rate of the service signal; determining a service type corresponding to the service signal according to the rate of the service signal; and mapping the service signal according to the determined service type .
  • Determining the service type corresponding to the service signal according to the rate of the service signal includes: searching for a service type corresponding to the rate of the service signal in a correspondence between the predetermined service type and the service rate.
  • the foregoing predetermined correspondence with the service rate includes at least one of the following: a correspondence between a predetermined service type and a service rate value; a correspondence between a predetermined service type and a service rate range.
  • the mapping processing of the service signal according to the determined service type includes: determining, according to the determined service type, whether the service signal needs to enter the intermediate layer general framing procedure GFP or the universal mapping procedure GMP; if needed, The service signal is then mapped to the intermediate layer GFP or GMP; if not required, the service signal is directly mapped to the optical path data unit ODUk frame signal.
  • the method further includes: determining whether the service signal needs to enter the ODU0_TS layer or the ODU1_TS layer; if yes, mapping the service signal to the ODU0_TS layer or the ODU1_TS layer, and mapping the service signal It is mapped to the ODUk frame signal.
  • the service signal is directly mapped to the ODUk frame signal; the ODUk frame signal is mapped to the unified ODUa frame signal.
  • the method further includes: packaging the unified ODUa frame signal into a high-order optical transmission network OTN frame signal; and transmitting the packed OTN frame signal to the cross-board.
  • the device for implementing service mapping includes: a rate detecting module configured to detect an accessed service signal to determine a rate of the service signal; and a type determining module configured to determine a service type corresponding to the service signal according to a rate of the service signal
  • the mapping processing module is configured to perform mapping processing on the service signal according to the determined service type.
  • the type determining module includes: a searching unit configured to search for a service type corresponding to a rate of the service signal in a correspondence between the predetermined service type and the service rate.
  • the mapping processing module includes: a first determining unit, configured to determine, according to the determined service type, whether the service signal needs to enter the intermediate layer general framing procedure GFP or the universal mapping procedure GMP; the GFP mapping unit is configured to map the service signal to the middle layer The GFP mapping unit is configured to map the service signal to the intermediate layer GMP.
  • the optical path data unit ODUk mapping unit is configured to directly map the service signal to the ODUk frame signal when the output of the first determining unit is negative.
  • the mapping processing module further includes: a second determining unit, configured to determine whether the service signal needs to enter the ODU0 TS layer or the 0DU1_TS layer; and the ODU0_TS mapping unit is configured to map the service signal to the ODU0_TS layer when the service signal needs to enter the ODU0_TS layer;
  • the 0DU1_TS mapping unit is configured to map the service signal to the 0DU1_TS layer when the service signal needs to enter the 0DU1_TS layer;
  • the ODUa mapping unit is configured to map the service signal from the ODUk mapping unit into a unified ODUa frame signal; the ODUk mapping unit, It is also arranged to map traffic signals from the GFP mapping unit, the GMP mapping unit, the ODU0_TS mapping unit, or the ODU1 TS mapping unit to an ODUk frame signal.
  • the mapping processing module further includes: an optical transmission network OTN framing unit configured to pack the unified ODUa frame signal into a high-order OTN frame signal; and a sending unit configured to send the OTN frame signal after the OTN framing unit is packed to Cross board.
  • the invention detects the service signal of the access, determines the rate of the service signal, determines the service type corresponding to the service signal according to the rate of the service signal, and performs mapping processing on the service signal according to the determined service type, thereby solving the problem in the related technology.
  • the automatic service mapping is implemented, which leads to the problem of low flexibility. In this way, services of any rate can be automatically mapped to the OTN, which improves the flexibility of service mapping.
  • FIG. 1 is a block diagram showing the structure of an apparatus for implementing service mapping according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of an apparatus for implementing service mapping according to a preferred embodiment of the present invention
  • FIG. 4 is a flowchart of a method for implementing service mapping according to an embodiment of the present invention
  • FIG. 1 is a structural block diagram of an apparatus for implementing service mapping according to an embodiment of the present invention.
  • the apparatus for implementing service mapping includes: a rate detection module 10, a type determination module 12, and a mapping processing module 14.
  • the rate detecting module 10 is configured to detect the accessed service signal and determine the rate of the service signal.
  • the type determining module 12 is configured to determine the service type corresponding to the service signal according to the rate of the service signal.
  • the mapping processing module 14 is configured. The mapping of the service signals is performed according to the determined service type.
  • the internal implementation of the board is usually fixed to a specific service mapping manner, which supports only one or several specific service accesses.
  • the mapping processing module 14 can automatically map services of any rate to the OTN, thereby effectively improving the flexibility of service mapping.
  • the type determining module 12 may further include: a searching unit (not shown) configured to search for a service type corresponding to a rate of the service signal in a correspondence between the predetermined service type and the service rate.
  • a searching unit (not shown) configured to search for a service type corresponding to a rate of the service signal in a correspondence between the predetermined service type and the service rate.
  • the correspondence between the service type and the service rate may be recorded in a table in advance. After detecting the rate of the accessed service signal, the search unit in the type determining module 12 (not shown in the figure) ) You can find the type of service corresponding to this rate in this table.
  • the foregoing predetermined correspondence with the service rate may include, but is not limited to, at least one of the following:
  • the mapping processing module 14 may further include: a first determining unit 140, configured to determine, according to the determined service type, whether the service signal needs to enter a middle layer general framing procedure (Generic Frame Procedure, hereinafter referred to as GFP) or a universal mapping procedure ( Generic Mapping Procedure (abbreviated as GMP); GFP mapping unit 142 is configured to map the service signal to the intermediate layer GFP when it needs to enter the intermediate layer GFP; and the GMP mapping unit 144 is configured to perform the service when it needs to enter the intermediate layer GMP.
  • GFP Middle layer general framing procedure
  • GMP Generic Mapping Procedure
  • the mapping processing module 14 further includes: a second determining unit 148, configured to determine whether the service signal needs to enter the ODU0_TS layer or the 0DU1_TS layer; and the ODU0_TS mapping unit 150 is configured to: when the service signal needs to enter the ODU0_TS layer, The service signal is mapped to the ODU0_TS layer; the 0DU1_TS mapping unit 152 is configured to map the service signal to the 0DU1_TS layer when the service signal needs to enter the 0DU1_TS layer; and the ODUa mapping unit 154 is configured to map the service signal from the ODUk mapping unit to the unified The ODUa frame signal; then the ODUk mapping unit 146 is further configured to map the traffic signal from the GFP mapping unit, the GMP mapping unit, the ODU0 TS mapping unit
  • mapping processing module 14 For details of each unit included in the mapping processing module 14, reference may be made to FIG. 2. As shown in FIG. 2, the above-mentioned unit included in the mapping processing module 14 may be disposed on the FPGA board. Preferably, as shown in FIG. 3, the mapping processing module 14 may further include: an OTN framing unit 156 configured to pack the unified ODUa frame signal into a high-order OTN frame signal; and a transmitting unit (not shown in FIG. 3) Out), is set to send the OTN frame signal packed by the OTN framing unit to the cross board. It should be noted that in the example of FIG. 3, the above OTN framing unit 156 may be separately disposed outside the FPGA board. The above preferred embodiments are further described below in conjunction with FIGS. 2 and 3.
  • the device is mainly used in a centralized crossover system, and the device includes but is not limited to the following modules:
  • the rate detecting module 10 and the type determining module 12 are interfaces for detecting the various signal rates of the client side by the device, and performing the rate detection result according to the service.
  • the second judging unit 148 is configured to determine whether the service signal needs to enter the ODU0_TS layer or the 0DU1_TS layer.
  • the ODU0_TS mapping unit 150 performs ODU0_TS encapsulation/decapsulation on the low-speed service.
  • the 0DU1_TS mapping unit 152 is high.
  • the ODUk mapping unit 146 performs the processing of the client signal to the ODUk mapping; the ODUa mapping unit 154 uniformly packages the ODUk of different orders into the ODUa, that is, completes the mapping processing of the ODUk to the ODUa; OTN mapping Package any ODUa coming from this system into a higher order OTN (for example OTU2/3/4).
  • the working principle of the device shown in the first embodiment is as follows: After the device for implementing the service mapping is started, the adaptive processing flow is started; the rate detecting module 10 and the type determining module 12 are interfaces for detecting the various signal rates of the client side by the device.
  • the first determining unit 140 selects the adapted ODUk mapping unit or the GFP or GMP mapping unit according to different signal matching; the GFP mapping unit 142 completes the unification of different services.
  • the GMP mapping unit 144 performs unified packing of different services into GMP.
  • the second determining unit 148 is configured to determine whether the service signal needs to enter the ODU0_TS layer or the 0DU1_TS layer.
  • the ODU0_TS mapping unit 150 performs ODU0_TS encapsulation/solution for the low-speed service.
  • the 0DU1_TS mapping unit 152 performs 0DU1_TS encapsulation/decapsulation on the rate service higher than ODU0; the ODUk mapping unit 146 performs the processing of the client signal to the ODUk mapping; the ODUa mapping unit 154 uniformly packs the ODUks of different orders into the ODUa, and then passes the back
  • the board port is sent to the cross board for processing.
  • 3 is a structural block diagram of an apparatus for implementing service mapping according to a preferred embodiment 2 of the present invention. Wherein, the device is mainly applied to a distributed cross system, and the difference between FIG. 3 and FIG. 2 is as follows: In the preferred embodiment shown in FIG. 2 The unified ODUa signal is sent to the cross board through the backplane.
  • the unified ODUa signal can be packetized into the high-order OTN frame to the optical path by using the 0TN framing unit 156 on the service board.
  • each module and each unit in the device for implementing the service mapping may be configured on an OTN service card, or may be configured on multiple service boards, and multiple service boards are stepped. Implement the above functions. 4 is a flow chart of a method of implementing service mapping in accordance with an embodiment of the present invention. As shown in FIG.
  • the method for implementing service mapping mainly includes the following processes: Step S402: Detecting an accessed service signal, determining a rate of the service signal; Step S404: determining a service type corresponding to the service signal according to a rate of the service signal Step S406: Perform mapping processing on the service signal according to the determined service type.
  • the internal implementation of the board is usually fixed to a specific service mapping manner, which supports only one or several specific service accesses.
  • automatic mapping of services cannot be achieved, so the flexibility is not high.
  • the method for implementing service mapping shown in FIG. 4 can automatically map services of any rate to the OTN, thereby effectively improving the flexibility of service mapping.
  • the foregoing step S404 may further include a process of searching for a service type corresponding to a rate of the service signal in a correspondence between the predetermined service type and the service rate.
  • the correspondence between the service type and the service rate may be recorded in a table in advance. After detecting the rate of the accessed service signal, the service type corresponding to the rate may be searched in the table.
  • the foregoing predetermined correspondence with the service rate may include, but is not limited to, at least one of the following:
  • step S406 may further include, but is not limited to, the following processing: (1) judging whether the service signal needs to enter the intermediate layer GFP or GMP according to the determined service type;
  • the service signal is mapped to the intermediate layer GFP or GMP; wherein, after mapping the service signal to the intermediate layer GFP or GMP, the following processing may also be included:
  • the ODUk frame signal can then be mapped to a uniform ODUa frame signal.
  • the service signal is directly mapped to an ODUk frame signal.
  • the ODUk frame signal can then be mapped to a uniform ODUa frame signal.
  • the ODUk frame signal is mapped to a unified ODUa frame signal for efficient rate matching.
  • the following processing may also be included:
  • Step S502 The rate detecting module 10 detects a service signal rate, and if the rate is detected, proceeds to step S504. If no rate is detected, the process ends.
  • Step S504 Determine whether the service type determination is successful. If the determination is successful, proceed to step S506.
  • Step S506 Output the detection result to the first determining unit 140, determine the service signal rate to be determined by using the first determining unit 140, and send the service to the GFP mapping unit 142, the GMP mapping unit 144 or the ODUk mapping unit according to the determination result.
  • 146 if it is determined to be delivered to the GFP mapping unit 142 or GMP The mapping unit 144 proceeds to step S508, and if it is determined that the delivery to the ODUk mapping unit 146 directly proceeds to step S512, otherwise the determination fails and the flow ends.
  • the judgment table is shown in Table 1.
  • Each ODU1 is divided into 4 time slots directly, and the bandwidth of each ODU1 time slot is exactly 622.08 Mbps, as shown in the following table.
  • table 3
  • step S512 the partially determined service, such as the OTU1, OC-48/STM-16 service, enters the ODUk mapping unit 146, or the ODU0_TS or ODU1_TS enters the ODUk mapping unit 146 by step S506. That is, the service signal is automatically mapped into the ODUk frame according to the service type. As shown in Table 1.
  • step S514 the ODUa mapping unit 154 maps the signal output by the ODUk mapping module into an ODUa frame.
  • step S516 the unified ODUa frame in the system is sent to the high-order OTN framing module to complete the processing.
  • Table 1 lists the processing methods of the device that has access to the existing service type. For the unknown service, the processing mode of the device is similar to that of the existing service. After the service identification module identifies the rate class, The time slots of the unknown service are divided as follows: Table 4
  • the service signals of the interconnected access can be automatically determined without occupying overhead, and can be automatically mapped (also demapped).
  • the present invention supports both automatic identification and automatic processing of service signals between devices to which the present invention belongs, and supports the present invention. Automatic identification and automatic processing between the device and the existing device that is not automatically recognized. Therefore, the service type identification multiplexing processing when the service signal is accessed in the customer service access system is greatly facilitated, which has great practical value.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.

Abstract

Provided are a service mapping method and device. The method includes: detecting an accessing service signal, and determining the rate of the service signal; determining the service type corresponding to the service signal according to the rate thereof; and performing mapping processing on the service signal according to the determined service type. According to the technical solution provided in the present invention, services with any rate can be automatically mapped to the OTN, thus effectively improving the flexibility of service mapping.

Description

实现业务映射的方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种实现业务映射的方法及装置。 背景技术 当前, 传送网中光传输网络 (Optical Transport Network, 简称为 OTN) 支持多种 业务接入, 一块业务单板上一般仅支持一种或两种已知业务的接入, 一般用户事先知 道该类型业务, 需要通过网管人工去指定业务类型才可以正常通信。 当客户业务变更 时, 需要手动修改客户侧单板的业务类型, 才可实现正常的通信。 相关技术中, 通常在单板内部实现上固定成一种特定的业务映射方式, 其仅支持 一种或几种特定的业务接入。但是对于新增加的业务, 无法实现业务自动映射, 因此, 灵活性不高。 发明内容 针对相关技术中无法实现自动业务映射, 导致灵活性不高的问题, 本发明提供了 一种实现业务映射的方法及装置, 以解决上述问题至少之一。 根据本发明的一个方面, 提供了一种实现业务映射的方法。 根据本发明的实现业务映射的方法包括: 对接入的业务信号进行检测, 确定业务 信号的速率; 根据业务信号的速率确定业务信号对应的业务类型; 根据确定的业务类 型对业务信号进行映射处理。 根据上述业务信号的速率确定业务信号对应的业务类型包括: 在预定的业务类型 与业务速率的对应关系中查找与业务信号的速率对应的业务类型。 上述预定的与业务速率的对应关系包括以下至少之一: 预定的业务类型与业务速 率值的对应关系; 预定的业务类型与业务速率范围的对应关系。 根据上述确定的业务类型对业务信号进行映射处理包括: 根据确定的业务类型判 断业务信号是否需要进入中间层通用成帧规程 GFP或通用映射规程 GMP; 如果需要, 则将业务信号映射到中间层 GFP或者 GMP; 如果不需要, 则直接将业务信号映射为 光通路数据单元 ODUk帧信号。 在将上述业务信号映射到中间层 GFP或 GMP之后, 还包括: 判断业务信号是否 需要进入 ODU0_TS层或 ODUl_TS层; 如果是, 将业务信号映射到 ODU0_TS层或 ODUl_TS层, 并将映射后的业务信号映射为 ODUk帧信号, 否则, 直接将业务信号 映射为 ODUk帧信号; 将 ODUk帧信号映射为统一的 ODUa帧信号。 将 ODUk帧信号映射为统一的 ODUa帧信号之后, 还包括: 将统一的 ODUa帧信 号打包成高阶的光传输网络 OTN帧信号; 将打包后的 OTN帧信号发送至交叉板。 根据本发明的另一方面, 提供了一种实现业务映射的装置。 根据本发明的实现业务映射的装置包括: 速率检测模块, 设置为对接入的业务信 号进行检测, 确定业务信号的速率; 类型确定模块, 设置为根据业务信号的速率确定 业务信号对应的业务类型; 映射处理模块, 设置为根据确定的业务类型对业务信号进 行映射处理。 上述类型确定模块包括: 查找单元, 设置为在预定的业务类型与业务速率的对应 关系中查找与业务信号的速率对应的业务类型。 上述映射处理模块包括: 第一判断单元, 设置为根据确定的业务类型判断业务信 号是否需要进入中间层通用成帧规程 GFP或通用映射规程 GMP; GFP映射单元, 设 置为将业务信号映射到中间层 GFP; GMP映射单元, 设置为将业务信号映射到中间层 GMP; 光通路数据单元 ODUk映射单元, 设置为在第一判断单元输出为否时, 直接将 业务信号映射为 ODUk帧信号。 上述映射处理模块还包括: 第二判断单元, 设置为判断业务信号是否需要进入 ODU0 TS 层或 0DU1_TS 层; ODU0_TS 映射单元, 设置为在业务信号需要进入 ODU0_TS层时, 将业务信号映射到 ODU0_TS层; 0DU1_TS映射单元, 设置为在业 务信号需要进入 0DU1_TS层时, 将业务信号映射到 0DU1_TS层; ODUa映射单元, 设置为将来自于 ODUk映射单元的业务信号映射为统一的 ODUa帧信号; ODUk映射 单元, 还设置为将来自于 GFP 映射单元、 GMP 映射单元、 ODU0_TS 映射单元、 或 ODUl TS映射单元的业务信号映射为 ODUk帧信号。 上述映射处理模块还包括: 光传输网络 OTN成帧单元, 设置为将统一的 ODUa 帧信号打包成高阶的 OTN帧信号; 发送单元, 设置为将 OTN成帧单元打包后的 OTN 帧信号发送至交叉板。 通过本发明, 对接入的业务信号进行检测, 确定业务信号的速率; 根据业务信号 的速率确定业务信号对应的业务类型;根据确定的业务类型对业务信号进行映射处理, 解决了相关技术中无法实现自动业务映射, 导致灵活性不高的问题, 进而可以将任意 速率的业务自动映射到 OTN, 提高了业务映射的灵活性。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的实现业务映射的装置的结构框图; 图 2是根据本发明优选实施例一的实现业务映射的装置的结构框图; 图 3是根据本发明优选实施例二的实现业务映射的装置的结构框图; 图 4是根据本发明实施例的实现业务映射的方法的流程图; 图 5是根据本发明优选实施例的实现业务映射的方法的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据本发明实施例的实现业务映射的装置的结构框图。 如图 1所示, 该实 现业务映射的装置包括: 速率检测模块 10、 类型确定模块 12以及映射处理模块 14。 其中, 速率检测模块 10, 设置为对接入的业务信号进行检测, 确定业务信号的速率; 类型确定模块 12, 设置为根据业务信号的速率确定业务信号对应的业务类型; 映射处理模块 14, 设置为根据确定的业务类型对业务信号进行映射处理。 相关技术中, 通常在单板内部实现上固定成一种特定的业务映射方式, 其仅支持 一种或几种特定的业务接入。 但是对于新增加的业务, 无法实现业务自动映射, 因此 灵活性不高。采用图 1所示的实现业务映射的装置, 映射处理模块 14可以将任意速率 的业务自动映射到 OTN, 从而有效提高了业务映射的灵活性。 优选地, 上述类型确定模块 12可以进一步包括: 查找单元 (图中未示出), 设置 为在预定的业务类型与业务速率的对应关系中查找与业务信号的速率对应的业务类 型。 在具体实施过程中, 可以预先将业务类型与业务速率的对应关系记录在一张表格 中,当检测出接入的业务信号的速率后,类型确定模块 12中的查找单元(图中未示出) 可以在该表格中查找与该速率对应的业务类型。 优选地, 上述预定的与业务速率的对应关系可以包括但不限于以下至少之一: TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a method and apparatus for implementing service mapping. Currently, an optical transport network (OTN) in a transport network supports multiple types of service access. A service board generally supports only one or two known services. The general user knows in advance. For this type of service, you need to manually specify the service type through the network management to communicate normally. When the customer's service is changed, you need to manually modify the service type of the client-side board to implement normal communication. In the related art, the internal implementation of the board is usually fixed to a specific service mapping manner, which supports only one or several specific service accesses. However, for newly added services, automatic mapping of services cannot be achieved, and therefore, flexibility is not high. SUMMARY OF THE INVENTION In view of the problem that the automatic service mapping cannot be implemented in the related art, resulting in low flexibility, the present invention provides a method and apparatus for implementing service mapping to solve at least one of the above problems. According to one aspect of the invention, a method of implementing a service mapping is provided. The method for implementing service mapping according to the present invention includes: detecting an access service signal, determining a rate of the service signal; determining a service type corresponding to the service signal according to the rate of the service signal; and mapping the service signal according to the determined service type . Determining the service type corresponding to the service signal according to the rate of the service signal includes: searching for a service type corresponding to the rate of the service signal in a correspondence between the predetermined service type and the service rate. The foregoing predetermined correspondence with the service rate includes at least one of the following: a correspondence between a predetermined service type and a service rate value; a correspondence between a predetermined service type and a service rate range. The mapping processing of the service signal according to the determined service type includes: determining, according to the determined service type, whether the service signal needs to enter the intermediate layer general framing procedure GFP or the universal mapping procedure GMP; if needed, The service signal is then mapped to the intermediate layer GFP or GMP; if not required, the service signal is directly mapped to the optical path data unit ODUk frame signal. After mapping the service signal to the intermediate layer GFP or GMP, the method further includes: determining whether the service signal needs to enter the ODU0_TS layer or the ODU1_TS layer; if yes, mapping the service signal to the ODU0_TS layer or the ODU1_TS layer, and mapping the service signal It is mapped to the ODUk frame signal. Otherwise, the service signal is directly mapped to the ODUk frame signal; the ODUk frame signal is mapped to the unified ODUa frame signal. After mapping the ODUk frame signal to the unified ODUa frame signal, the method further includes: packaging the unified ODUa frame signal into a high-order optical transmission network OTN frame signal; and transmitting the packed OTN frame signal to the cross-board. According to another aspect of the present invention, an apparatus for implementing a service map is provided. The device for implementing service mapping according to the present invention includes: a rate detecting module configured to detect an accessed service signal to determine a rate of the service signal; and a type determining module configured to determine a service type corresponding to the service signal according to a rate of the service signal The mapping processing module is configured to perform mapping processing on the service signal according to the determined service type. The type determining module includes: a searching unit configured to search for a service type corresponding to a rate of the service signal in a correspondence between the predetermined service type and the service rate. The mapping processing module includes: a first determining unit, configured to determine, according to the determined service type, whether the service signal needs to enter the intermediate layer general framing procedure GFP or the universal mapping procedure GMP; the GFP mapping unit is configured to map the service signal to the middle layer The GFP mapping unit is configured to map the service signal to the intermediate layer GMP. The optical path data unit ODUk mapping unit is configured to directly map the service signal to the ODUk frame signal when the output of the first determining unit is negative. The mapping processing module further includes: a second determining unit, configured to determine whether the service signal needs to enter the ODU0 TS layer or the 0DU1_TS layer; and the ODU0_TS mapping unit is configured to map the service signal to the ODU0_TS layer when the service signal needs to enter the ODU0_TS layer; The 0DU1_TS mapping unit is configured to map the service signal to the 0DU1_TS layer when the service signal needs to enter the 0DU1_TS layer; the ODUa mapping unit is configured to map the service signal from the ODUk mapping unit into a unified ODUa frame signal; the ODUk mapping unit, It is also arranged to map traffic signals from the GFP mapping unit, the GMP mapping unit, the ODU0_TS mapping unit, or the ODU1 TS mapping unit to an ODUk frame signal. The mapping processing module further includes: an optical transmission network OTN framing unit configured to pack the unified ODUa frame signal into a high-order OTN frame signal; and a sending unit configured to send the OTN frame signal after the OTN framing unit is packed to Cross board. The invention detects the service signal of the access, determines the rate of the service signal, determines the service type corresponding to the service signal according to the rate of the service signal, and performs mapping processing on the service signal according to the determined service type, thereby solving the problem in the related technology. The automatic service mapping is implemented, which leads to the problem of low flexibility. In this way, services of any rate can be automatically mapped to the OTN, which improves the flexibility of service mapping. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the structure of an apparatus for implementing service mapping according to an embodiment of the present invention; FIG. 2 is a block diagram showing the structure of an apparatus for implementing service mapping according to a preferred embodiment of the present invention; FIG. 4 is a flowchart of a method for implementing service mapping according to an embodiment of the present invention; FIG. 5 is a flowchart of a method for implementing service mapping according to a preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. FIG. 1 is a structural block diagram of an apparatus for implementing service mapping according to an embodiment of the present invention. As shown in FIG. 1 , the apparatus for implementing service mapping includes: a rate detection module 10, a type determination module 12, and a mapping processing module 14. The rate detecting module 10 is configured to detect the accessed service signal and determine the rate of the service signal. The type determining module 12 is configured to determine the service type corresponding to the service signal according to the rate of the service signal. The mapping processing module 14 is configured. The mapping of the service signals is performed according to the determined service type. In the related art, the internal implementation of the board is usually fixed to a specific service mapping manner, which supports only one or several specific service accesses. However, for newly added services, automatic mapping of services cannot be achieved, so the flexibility is not high. With the device for implementing service mapping shown in FIG. 1, the mapping processing module 14 can automatically map services of any rate to the OTN, thereby effectively improving the flexibility of service mapping. Preferably, the type determining module 12 may further include: a searching unit (not shown) configured to search for a service type corresponding to a rate of the service signal in a correspondence between the predetermined service type and the service rate. In a specific implementation process, the correspondence between the service type and the service rate may be recorded in a table in advance. After detecting the rate of the accessed service signal, the search unit in the type determining module 12 (not shown in the figure) ) You can find the type of service corresponding to this rate in this table. Preferably, the foregoing predetermined correspondence with the service rate may include, but is not limited to, at least one of the following:
( 1 )预定的业务类型与业务速率值的对应关系; 具体示例可以参见后面提及的表 l o (1) Correspondence between a predetermined service type and a service rate value; for a specific example, see the table mentioned later.
(2)预定的业务类型与业务速率范围的对应关系。具体示例可以参见后面提及的 表 4和表 5。 优选地, 映射处理模块 14可以进一步包括: 第一判断单元 140, 设置为根据确定 的业务类型判断业务信号是否需要进入中间层通用成帧规程 (Generic Frame Procedure, 简称为 GFP) 或者通用映射规程 ( Generic Mapping Procedure , 简称为 GMP); GFP映射单元 142, 设置为在需要进入中间层 GFP时, 将业务信号映射到中 间层 GFP; GMP映射单元 144, 设置为在需要进入中间层 GMP时, 将业务信号映射 到中间层 GMP; ODUk映射单元 146, 设置为在不需要进入 GFP或 GMP时, 直接将 业务信号映射为 ODUk帧信号。 优选地, 上述映射处理模块 14还可以进一步包括: 第二判断单元 148, 设置为判 断业务信号是否需要进入 ODU0_TS层或 0DU1_TS层; ODU0_TS映射单元 150, 设 置为在业务信号需要进入 ODU0_TS层时,将业务信号映射到 ODU0_TS层; 0DU1_TS 映射单元 152, 设置为在业务信号需要进入 0DU1_TS 层时, 将业务信号映射到 0DU1_TS层; ODUa映射单元 154, 设置为将来自于 ODUk映射单元的业务信号映射 为统一的 ODUa帧信号; 则 ODUk映射单元 146, 还设置为将来自于 GFP映射单元、 GMP映射单元、 ODU0 TS映射单元、或 0DU1_TS映射单元的业务信号映射为 ODUk 帧信号。 映射处理模块 14包含的各个单元具体可以参见图 2, 如图 2所示, 映射处理模块 14包含的上述单元可以设置在 FPGA板上。 优选地, 如图 3所示, 映射处理模块 14还可以包括: OTN成帧单元 156, 设置为 将上述统一的 ODUa帧信号打包成高阶的 OTN帧信号; 以及发送单元 (图 3中未示 出), 设置为将 OTN成帧单元打包后的 OTN帧信号发送至交叉板。 需要注意的是, 在图 3的示例中, 上述 OTN成帧单元 156可以单独设置在 FPGA板之外。 以下进一步结合图 2和图 3描述上述优选实施方式。 图 2是根据本发明优选实施例一的实现业务映射的装置的结构框图。 其中, 上述 装置主要应用于集中式交叉系统, 该装置包括但不限于以下模块: 速率检测模块 10 和类型确定模块 12是本装置检测客户侧各种信号速率的接口,根据业务检测的速率结 果进行判定, 确定业务类型; 第一判断单元 140 根据不同的信号速配来选择适配的 ODUk映射单元还是选择 GFP或 GMP映射单元; GFP映射单元 142完成对不同业务 的统一打包成 GFP; GMP映射单元 144完成对不同业务的统一打包成 GMP; 第二判 断单元 148,用于判断业务信号是否需要进入 ODU0_TS层或 0DU1_TS层; ODU0_TS 映射单元 150对低速业务进行 ODU0_TS封装 /解封装; 0DU1_TS映射单元 152对高 于 ODU0的速率业务进行 0DU1_TS封装 /解封装; ODUk映射单元 146完成客户信 号到 ODUk映射的处理; ODUa映射单元 154将不同阶的 ODUk统一打包成 ODUa, 即完成 ODUk到 ODUa的映射处理; OTN映射将由本系统过来的任意 ODUa打包成 更高阶的 OTN (例如 OTU2/3/4)。 该优选实施例一所示的装置的工作原理如下: 上述实现业务映射的装置启动后, 开始自适应处理流程; 速率检测模块 10和类型确定模块 12是本装置检测客户侧各种 信号速率的接口, 根据业务感知的速率结果进行判定, 确定业务类型; 第一判断单元 140根据不同的信号速配来选择适配的 ODUk映射单元还是选择 GFP或 GMP映射单 元; GFP映射单元 142完成对不同业务的统一打包成 GFP; GMP映射单元 144完成 对不同业务的统一打包成 GMP; 第二判断单元 148, 设置为判断业务信号是否需要进 入 ODU0_TS层或 0DU1_TS层; ODU0_TS映射单元 150 对低速业务进行 ODU0_TS 封装 /解封装; 0DU1_TS映射单元 152对高于 ODU0的速率业务进行 0DU1_TS封装 / 解封装; ODUk映射单元 146完成客户信号到 ODUk映射的处理; ODUa映射单元 154将不同阶的 ODUk统一打包成 ODUa, 然后通过背板端口发往交叉板, 完成处理。 图 3是根据本发明优选实施例二的实现业务映射的装置的结构框图。 其中, 该装 置主要应用于分布式交叉系统, 图 3与图 2的区别如下: 图 2所示的优选实施例中将 统一的 ODUa信号通过背板发往交叉板。 而图 3所示的优选实施例中在集中式交叉情 况下也可以将统一的 ODUa信号在本业务单板上采用 0TN成帧单元 156打包成高阶 的 OTN帧发往光路。 需要注意的是, 上述实现业务映射的装置中的各个模块和各个单元可以设置在一 个 OTN业务类单板上,也可以设置在多块业务类单板上, 由多块业务类单板逐级实现 上述功能。 图 4是根据本发明实施例的实现业务映射的方法的流程图。 如图 4所示, 该实现 业务映射的方法主要包括以下处理: 步骤 S402: 对接入的业务信号进行检测, 确定业务信号的速率; 步骤 S404: 根据业务信号的速率确定业务信号对应的业务类型; 步骤 S406: 根据确定的业务类型对业务信号进行映射处理。 相关技术中, 通常在单板内部实现上固定成一种特定的业务映射方式, 其仅支持 一种或几种特定的业务接入。 但是对于新增加的业务, 无法实现业务自动映射, 因此 灵活性不高。 采用图 4所示的实现业务映射的方法, 可以将任意速率的业务自动映射 到 OTN, 从而有效提高了业务映射的灵活性。 优选地,上述步骤 S404可以进一步包括以下处理:在预定的业务类型与业务速率 的对应关系中查找与业务信号的速率对应的业务类型。 在具体实施过程中, 可以预先将业务类型与业务速率的对应关系记录在一张表格 中, 当检测出接入的业务信号的速率后, 可以在该表格中查找与该速率对应的业务类 型。 优选地, 上述预定的与业务速率的对应关系可以包括但不限于以下至少之一: (2) Correspondence between the predetermined service type and the service rate range. Specific examples can be found in Tables 4 and 5 mentioned later. Preferably, the mapping processing module 14 may further include: a first determining unit 140, configured to determine, according to the determined service type, whether the service signal needs to enter a middle layer general framing procedure (Generic Frame Procedure, hereinafter referred to as GFP) or a universal mapping procedure ( Generic Mapping Procedure (abbreviated as GMP); GFP mapping unit 142 is configured to map the service signal to the intermediate layer GFP when it needs to enter the intermediate layer GFP; and the GMP mapping unit 144 is configured to perform the service when it needs to enter the intermediate layer GMP. The signal is mapped to the intermediate layer GMP; the ODUk mapping unit 146 is configured to directly map the traffic signal to the ODUk frame signal when it does not need to enter GFP or GMP. Preferably, the mapping processing module 14 further includes: a second determining unit 148, configured to determine whether the service signal needs to enter the ODU0_TS layer or the 0DU1_TS layer; and the ODU0_TS mapping unit 150 is configured to: when the service signal needs to enter the ODU0_TS layer, The service signal is mapped to the ODU0_TS layer; the 0DU1_TS mapping unit 152 is configured to map the service signal to the 0DU1_TS layer when the service signal needs to enter the 0DU1_TS layer; and the ODUa mapping unit 154 is configured to map the service signal from the ODUk mapping unit to the unified The ODUa frame signal; then the ODUk mapping unit 146 is further configured to map the traffic signal from the GFP mapping unit, the GMP mapping unit, the ODU0 TS mapping unit, or the 0DU1_TS mapping unit to an ODUk frame signal. For details of each unit included in the mapping processing module 14, reference may be made to FIG. 2. As shown in FIG. 2, the above-mentioned unit included in the mapping processing module 14 may be disposed on the FPGA board. Preferably, as shown in FIG. 3, the mapping processing module 14 may further include: an OTN framing unit 156 configured to pack the unified ODUa frame signal into a high-order OTN frame signal; and a transmitting unit (not shown in FIG. 3) Out), is set to send the OTN frame signal packed by the OTN framing unit to the cross board. It should be noted that in the example of FIG. 3, the above OTN framing unit 156 may be separately disposed outside the FPGA board. The above preferred embodiments are further described below in conjunction with FIGS. 2 and 3. 2 is a structural block diagram of an apparatus for implementing service mapping according to a preferred embodiment of the present invention. The device is mainly used in a centralized crossover system, and the device includes but is not limited to the following modules: The rate detecting module 10 and the type determining module 12 are interfaces for detecting the various signal rates of the client side by the device, and performing the rate detection result according to the service. Determining, determining a service type; the first determining unit 140 selects an adapted ODUk mapping unit or a GFP or GMP mapping unit according to different signal matching; the GFP mapping unit 142 performs unified packing of different services into GFP; the GMP mapping unit 144 The second judging unit 148 is configured to determine whether the service signal needs to enter the ODU0_TS layer or the 0DU1_TS layer. The ODU0_TS mapping unit 150 performs ODU0_TS encapsulation/decapsulation on the low-speed service. The 0DU1_TS mapping unit 152 is high. The ODUk mapping unit 146 performs the processing of the client signal to the ODUk mapping; the ODUa mapping unit 154 uniformly packages the ODUk of different orders into the ODUa, that is, completes the mapping processing of the ODUk to the ODUa; OTN mapping Package any ODUa coming from this system into a higher order OTN ( For example OTU2/3/4). The working principle of the device shown in the first embodiment is as follows: After the device for implementing the service mapping is started, the adaptive processing flow is started; the rate detecting module 10 and the type determining module 12 are interfaces for detecting the various signal rates of the client side by the device. Determining, according to the rate result of the service, determining the service type; the first determining unit 140 selects the adapted ODUk mapping unit or the GFP or GMP mapping unit according to different signal matching; the GFP mapping unit 142 completes the unification of different services. The GMP mapping unit 144 performs unified packing of different services into GMP. The second determining unit 148 is configured to determine whether the service signal needs to enter the ODU0_TS layer or the 0DU1_TS layer. The ODU0_TS mapping unit 150 performs ODU0_TS encapsulation/solution for the low-speed service. The 0DU1_TS mapping unit 152 performs 0DU1_TS encapsulation/decapsulation on the rate service higher than ODU0; the ODUk mapping unit 146 performs the processing of the client signal to the ODUk mapping; the ODUa mapping unit 154 uniformly packs the ODUks of different orders into the ODUa, and then passes the back The board port is sent to the cross board for processing. 3 is a structural block diagram of an apparatus for implementing service mapping according to a preferred embodiment 2 of the present invention. Wherein, the device is mainly applied to a distributed cross system, and the difference between FIG. 3 and FIG. 2 is as follows: In the preferred embodiment shown in FIG. 2 The unified ODUa signal is sent to the cross board through the backplane. In the preferred embodiment shown in FIG. 3, the unified ODUa signal can be packetized into the high-order OTN frame to the optical path by using the 0TN framing unit 156 on the service board. It should be noted that each module and each unit in the device for implementing the service mapping may be configured on an OTN service card, or may be configured on multiple service boards, and multiple service boards are stepped. Implement the above functions. 4 is a flow chart of a method of implementing service mapping in accordance with an embodiment of the present invention. As shown in FIG. 4, the method for implementing service mapping mainly includes the following processes: Step S402: Detecting an accessed service signal, determining a rate of the service signal; Step S404: determining a service type corresponding to the service signal according to a rate of the service signal Step S406: Perform mapping processing on the service signal according to the determined service type. In the related art, the internal implementation of the board is usually fixed to a specific service mapping manner, which supports only one or several specific service accesses. However, for newly added services, automatic mapping of services cannot be achieved, so the flexibility is not high. The method for implementing service mapping shown in FIG. 4 can automatically map services of any rate to the OTN, thereby effectively improving the flexibility of service mapping. Preferably, the foregoing step S404 may further include a process of searching for a service type corresponding to a rate of the service signal in a correspondence between the predetermined service type and the service rate. In a specific implementation process, the correspondence between the service type and the service rate may be recorded in a table in advance. After detecting the rate of the accessed service signal, the service type corresponding to the rate may be searched in the table. Preferably, the foregoing predetermined correspondence with the service rate may include, but is not limited to, at least one of the following:
( 1 )预定的业务类型与业务速率值的对应关系; 具体示例可以参见后面提及的表 l o (1) Correspondence between a predetermined service type and a service rate value; for a specific example, see the table mentioned later.
(2)预定的业务类型与业务速率范围的对应关系。具体示例可以参见后面提及的 表 4和表 5。 优选地, 上述步骤 S406可以进一步包括但不限于以下处理: ( 1 ) 根据确定的业务类型判断业务信号是否需要进入中间层 GFP或者 GMP; (2) Correspondence between the predetermined service type and the service rate range. Specific examples can be found in Tables 4 and 5 mentioned later. Preferably, the foregoing step S406 may further include, but is not limited to, the following processing: (1) judging whether the service signal needs to enter the intermediate layer GFP or GMP according to the determined service type;
(2) 如果需要, 则将业务信号映射到中间层 GFP或者 GMP; 其中, 在将业务信号映射到中间层 GFP或者 GMP之后, 还可以包括以下处理: (2) If necessary, the service signal is mapped to the intermediate layer GFP or GMP; wherein, after mapping the service signal to the intermediate layer GFP or GMP, the following processing may also be included:
(2.1 ) 判断业务信号是否需要进入 ODU0_TS层或 0DU1_TS层; (2.2) 如果是, 将业务信号映射到 ODU0_TS层或 0DU1_TS层, 并将映射后的 业务信号映射为 ODUk帧信号, 否则, 直接将业务信号映射为 ODUk帧信号; (2.1) determining whether the service signal needs to enter the ODU0_TS layer or the 0DU1_TS layer; (2.2) if yes, mapping the service signal to the ODU0_TS layer or the 0DU1_TS layer, and mapping the mapped service signal to the ODUk frame signal; otherwise, directly the service The signal is mapped to an ODUk frame signal;
(2.3 ) 之后可以将 ODUk帧信号映射为统一的 ODUa帧信号。 (2.3) The ODUk frame signal can then be mapped to a uniform ODUa frame signal.
(3 )如果不需要, 则直接将业务信号映射为 ODUk帧信号。之后, 可以将 ODUk 帧信号映射为统一的 ODUa帧信号。 将 ODUk帧信号映射为统一的 ODUa帧信号, 是为了有效实现速率匹配。 优选地,将 ODUk帧信号映射为统一的 ODUa帧信号之后,还可以包括以下处理: (3) If not required, the service signal is directly mapped to an ODUk frame signal. The ODUk frame signal can then be mapped to a uniform ODUa frame signal. The ODUk frame signal is mapped to a unified ODUa frame signal for efficient rate matching. Preferably, after mapping the ODUk frame signal into a unified ODUa frame signal, the following processing may also be included:
(4) 将统一的 ODUa帧信号打包成高阶的 OTN帧信号; (4) Packing the unified ODUa frame signal into a high-order OTN frame signal;
( 5 ) 将打包后的 OTN帧信号发送至交叉板。 通过上述处理, 在集中式交叉情况下也可以将统一的 ODUa信号在本业务单板上 打包成高阶的 OTN帧发往光路。 以下结合图 5进一步描述上述优选实施方式。 图 5是根据本发明优选实施例的实现业务映射的方法的流程图。 如图 5所示, 该 实现业务映射的方法主要包括以下处理: 步骤 S502, 速率检测模块 10对业务信号速率进行检测, 若检测到速率则继续进 行步骤 S504, 若没有检测到速率, 流程结束。 步骤 S504: 确定业务类型判定是否成功, 若判定成功则继续执行步骤 S506, 否 则检测速率超高或检测速率失败, 流程结束。 步骤 S506: 将检测结果输出至第一判断单元 140, 使用第一判断单元 140对待判 定的业务信号速率进行判定, 根据判定结果, 将业务输送到 GFP映射单元 142、 GMP 映射单元 144还是 ODUk映射单元 146, 若判定输送到 GFP映射单元 142 或者 GMP 映射单元 144, 则继续进行步骤 S508, 若判定为输送到 ODUk映射单元 146直接进行 步骤 S512, 否则判定失败, 流程结束。 判定表如表 1所示。 (5) Send the packed OTN frame signal to the cross board. Through the above processing, in the case of centralized crossover, the unified ODUa signal can be packaged on the service board into a high-order OTN frame and sent to the optical path. The above preferred embodiment is further described below in conjunction with FIG. 5 is a flow diagram of a method of implementing a service map in accordance with a preferred embodiment of the present invention. As shown in FIG. 5, the method for implementing service mapping mainly includes the following processing: Step S502: The rate detecting module 10 detects a service signal rate, and if the rate is detected, proceeds to step S504. If no rate is detected, the process ends. Step S504: Determine whether the service type determination is successful. If the determination is successful, proceed to step S506. Otherwise, the detection rate is too high or the detection rate fails, and the process ends. Step S506: Output the detection result to the first determining unit 140, determine the service signal rate to be determined by using the first determining unit 140, and send the service to the GFP mapping unit 142, the GMP mapping unit 144 or the ODUk mapping unit according to the determination result. 146, if it is determined to be delivered to the GFP mapping unit 142 or GMP The mapping unit 144 proceeds to step S508, and if it is determined that the delivery to the ODUk mapping unit 146 directly proceeds to step S512, otherwise the determination fails and the flow ends. The judgment table is shown in Table 1.
表 1  Table 1
Figure imgf000010_0001
步骤 S508, 确定执行 GFP或 GMP映射处理; 步骤 S510 , 根据类型确定模块 12 识别出的业务类型, 判定是否需要进入 ODU0_TS映射单元或 0DU1_TS映射单元, 如果是, 将 GFP或 GMP映射后的结果分 别对应映射到匹配于该业务的 ODU0_TS或 0DU1_TS 时隙中, 其中, ODU0_TS与 0DU1_TS的时隙划分如下表所示。如果判定需要进入 ODUk映射单元,执行步骤 S512; 若没有找到对应的业务, 否则业务信号定帧失败, 流程结束。 每个 ODU0上划分 8个时隙, 每个 ODU0时隙带宽为: (238/239) X 1.24416Gbps/8 = 154.87Mbps, 如表 2所示。 表 2
Figure imgf000010_0001
Step S508, determining to perform GFP or GMP mapping processing; Step S510, determining whether to enter the ODU0_TS mapping unit or the 0DU1_TS mapping unit according to the service type identified by the type determining module 12, and if yes, respectively, mapping the GFP or GMP mapping results respectively It is mapped to the ODU0_TS or 0DU1_TS slots that match the service, and the time slots of ODU0_TS and 0DU1_TS are divided as shown in the following table. If it is determined that the ODUk mapping unit needs to be entered, step S512 is performed; if the corresponding service is not found, the service signal framing fails, and the process ends. Each ODU0 is divided into 8 time slots, and the bandwidth of each ODU0 time slot is: (238/239) X 1.24416Gbps/8 = 154.87Mbps, as shown in Table 2. Table 2
Figure imgf000011_0001
Figure imgf000011_0001
每个 ODU1上直接划分了 4个时隙, 每个 ODU1时隙带宽恰好是 622.08Mbps, 如下表所示。 表 3  Each ODU1 is divided into 4 time slots directly, and the bandwidth of each ODU1 time slot is exactly 622.08 Mbps, as shown in the following table. table 3
ODU1的时隙  Time slot of ODU1
ODU1 TS1  ODU1 TS1
ODU1 TS2  ODU1 TS2
ODU1  ODU1
ODU1 TS3  ODU1 TS3
ODU1 TS4 步骤 S512, 部分确定出来的业务如 OTUl、 OC-48/STM-16业务进入 ODUk映射 单元 146, 或由步骤 S506将 ODU0_TS或 ODUl_TS进入 ODUk映射单元 146。 即根 据业务类型自动将业务信号映射进 ODUk帧。 如表 1所示。 步骤 S514, ODUa映射单元 154将 ODUk映射模块输出的信号映射为 ODUa帧; 步骤 S516,然后将系统中统一的 ODUa帧发往高阶的 OTN成帧模块, 完成处理。 注明: 表 1中列出了已有业务类型接入的本装置的处理方法, 对于未知业务, 本 装置的处理方式类似已有业务的处理方式, 当业务识别模块识别出来速率等级后, 对 于该未知业务的时隙划分如下: 表 4 ODU1 TS4 In step S512, the partially determined service, such as the OTU1, OC-48/STM-16 service, enters the ODUk mapping unit 146, or the ODU0_TS or ODU1_TS enters the ODUk mapping unit 146 by step S506. That is, the service signal is automatically mapped into the ODUk frame according to the service type. As shown in Table 1. In step S514, the ODUa mapping unit 154 maps the signal output by the ODUk mapping module into an ODUa frame. In step S516, the unified ODUa frame in the system is sent to the high-order OTN framing module to complete the processing. Note: Table 1 lists the processing methods of the device that has access to the existing service type. For the unknown service, the processing mode of the device is similar to that of the existing service. After the service identification module identifies the rate class, The time slots of the unknown service are divided as follows: Table 4
Figure imgf000012_0001
Figure imgf000012_0001
表 5  table 5
Figure imgf000012_0002
Figure imgf000012_0002
综上所述, 借助本发明提供的上述实施例, 能够在不占用开销的前提下自动确定 互联的接入的业务信号, 并能够自动对其进行映射 (也可以进行解映射) 处理。 且本 发明既支持本发明所属的装置之间业务信号的自动识别、 自动处理, 又支持本发明所 属的装置和非自动识别的现有设备之间的自动识别、 自动处理。 从而极大地方便了客 户业务接入系统中接入业务信号时的业务类型识别复接处理, 具有极大的实用价值。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而可以将 它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限 制于任何特定的硬件和软件结合。 以上仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技术人 员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的任何 修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 In summary, with the above-mentioned embodiments provided by the present invention, the service signals of the interconnected access can be automatically determined without occupying overhead, and can be automatically mapped (also demapped). Moreover, the present invention supports both automatic identification and automatic processing of service signals between devices to which the present invention belongs, and supports the present invention. Automatic identification and automatic processing between the device and the existing device that is not automatically recognized. Therefore, the service type identification multiplexing processing when the service signal is accessed in the customer service access system is greatly facilitated, which has great practical value. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device so that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种实现业务映射的方法, 包括: 1. A method of implementing a service mapping, comprising:
对接入的业务信号进行检测, 确定所述业务信号的速率;  Detecting the accessed service signal to determine the rate of the service signal;
根据所述业务信号的速率确定所述业务信号对应的业务类型; 根据所述确定的业务类型对所述业务信号进行映射处理。  Determining, according to the rate of the service signal, a service type corresponding to the service signal; performing mapping processing on the service signal according to the determined service type.
2. 根据权利要求 1所述的方法, 其中, 根据所述业务信号的速率确定所述业务信 号对应的业务类型包括: The method according to claim 1, wherein determining the service type corresponding to the service signal according to the rate of the service signal comprises:
在预定的业务类型与业务速率的对应关系中查找与所述业务信号的速率对 应的业务类型。  The service type corresponding to the rate of the service signal is searched for in a correspondence between a predetermined service type and a service rate.
3. 根据权利要求 2所述的方法, 其中, 所述预定的与业务速率的对应关系包括以 下至少之一: 3. The method according to claim 2, wherein the predetermined correspondence with the traffic rate comprises at least one of:
预定的业务类型与业务速率值的对应关系;  Corresponding relationship between the predetermined service type and the service rate value;
预定的业务类型与业务速率范围的对应关系。  The correspondence between the predetermined service type and the service rate range.
4. 根据权利要求 1所述的方法, 其中, 根据所述确定的业务类型对所述业务信号 进行映射处理包括: 4. The method according to claim 1, wherein the mapping processing the service signal according to the determined service type comprises:
根据所述确定的业务类型判断所述业务信号是否需要进入中间层通用成帧 规程 GFP或通用映射规程 GMP;  Determining, according to the determined service type, whether the service signal needs to enter an intermediate layer general framing procedure GFP or a universal mapping procedure GMP;
如果需要, 则将所述业务信号映射到中间层 GFP或者 GMP; 如果不需要,则直接将所述业务信号映射为光通路数据单元 ODUk帧信号。  If desired, the traffic signal is mapped to the intermediate layer GFP or GMP; if not required, the traffic signal is directly mapped to the optical path data unit ODUk frame signal.
5. 根据权利要求 4所述的方法, 其中, 在将所述业务信号映射到所述中间层 GFP 或 GMP之后, 还包括: The method according to claim 4, further comprising: after mapping the service signal to the intermediate layer GFP or GMP, further comprising:
判断所述业务信号是否需要进入 ODU0_TS层或 ODUl_TS层; 如果是, 将所述业务信号映射到所述 ODU0_TS层或所述 ODUl_TS层, 并将映射后的所述业务信号映射为所述 ODUk帧信号, 否则, 直接将所述业务 信号映射为所述 ODUk帧信号;  Determining whether the service signal needs to enter the ODU0_TS layer or the ODU1_TS layer; if yes, mapping the service signal to the ODU0_TS layer or the ODU1_TS layer, and mapping the mapped service signal to the ODUk frame signal Otherwise, the service signal is directly mapped to the ODUk frame signal;
将所述 ODUk帧信号映射为统一的 ODUa帧信号。 根据权利要求 5 所述的方法, 其中, 将所述 ODUk帧信号映射为所述统一的 ODUa帧信号之后, 还包括: The ODUk frame signal is mapped to a unified ODUa frame signal. The method according to claim 5, wherein after mapping the ODUk frame signal to the unified ODUa frame signal, the method further includes:
将所述统一的 ODUa帧信号打包成高阶的光传输网络 OTN帧信号; 将所述打包后的 OTN帧信号发送至交叉板。 一种实现业务映射的装置, 包括:  And encoding the unified ODUa frame signal into a high-order optical transmission network OTN frame signal; and transmitting the packed OTN frame signal to the cross-board. A device for implementing service mapping, comprising:
速率检测模块, 设置为对接入的业务信号进行检测, 确定所述业务信号的 速率;  a rate detecting module, configured to detect an accessed service signal, and determine a rate of the service signal;
类型确定模块, 设置为根据所述业务信号的速率确定所述业务信号对应的 业务类型;  a type determining module, configured to determine, according to a rate of the service signal, a service type corresponding to the service signal;
映射处理模块, 设置为根据所述确定的业务类型对所述业务信号进行映射 处理。 根据权利要求 7所述的装置, 其中, 所述类型确定模块包括:  The mapping processing module is configured to perform mapping processing on the service signal according to the determined service type. The device according to claim 7, wherein the type determining module comprises:
查找单元, 设置为在预定的业务类型与业务速率的对应关系中查找与所述 业务信号的速率对应的业务类型。 根据权利要求 7所述的装置, 其中, 所述映射处理模块包括: 第一判断单元, 设置为根据所述确定的业务类型判断所述业务信号是否需 要进入中间层通用成帧规程 GFP或通用映射规程 GMP;  The searching unit is configured to search for a service type corresponding to the rate of the service signal in a correspondence between a predetermined service type and a service rate. The apparatus according to claim 7, wherein the mapping processing module comprises: a first determining unit, configured to determine, according to the determined service type, whether the service signal needs to enter an intermediate layer general framing procedure GFP or a universal mapping GMP;
GFP映射单元, 设置为在需要进入所述中间层 GFP时,将所述业务信号映 射到所述中间层 GFP;  a GFP mapping unit, configured to map the service signal to the intermediate layer GFP when it is required to enter the intermediate layer GFP;
GMP映射单元, 设置为在需要进入所述中间层 GMP时, 将所述业务信号 映射到所述中间层 GMP;  a GMP mapping unit, configured to map the service signal to the intermediate layer GMP when the intermediate layer GMP needs to be entered;
光通路数据单元 ODUk 映射单元, 设置为在不需要进入所述中间层 GFP 或 GMP时, 直接将所述业务信号映射为 ODUk帧信号。 根据权利要求 9所述的装置, 其中, 所述映射处理模块还包括:  The optical path data unit ODUk mapping unit is configured to directly map the service signal to an ODUk frame signal when it is not required to enter the intermediate layer GFP or GMP. The device according to claim 9, wherein the mapping processing module further comprises:
第二判断单元, 设置为判断所述业务信号是否需要进入 ODU0_TS 层或 ODU1 TS层;  a second determining unit, configured to determine whether the service signal needs to enter an ODU0_TS layer or an ODU1 TS layer;
ODU0_TS 映射单元, 设置为在所述业务信号需要进入所述 ODU0_TS层 时, 将所述业务信号映射到所述 ODU0_TS层; An ODU0_TS mapping unit, configured to map the service signal to the ODU0_TS layer when the service signal needs to enter the ODU0_TS layer;
0DU1_TS 映射单元, 设置为在所述业务信号需要进入所述 0DU1_TS层 时, 将所述业务信号映射到所述 0DU1_TS层;  a 0DU1_TS mapping unit, configured to map the service signal to the 0DU1_TS layer when the service signal needs to enter the 0DU1_TS layer;
ODUa映射单元, 设置为将来自于所述 ODUk映射单元的所述业务信号映 射为统一的 ODUa帧信号;  An ODUa mapping unit, configured to map the service signal from the ODUk mapping unit to a unified ODUa frame signal;
所述 ODUk映射单元, 还设置为将来自于所述 GFP映射单元、 所述 GMP 映射单元、 所述 ODU0_TS映射单元、 或所述 ODUl_TS映射单元的所述业务 信号映射为所述 ODUk帧信号。  The ODUk mapping unit is further configured to map the traffic signal from the GFP mapping unit, the GMP mapping unit, the ODU0_TS mapping unit, or the ODU1_TS mapping unit to the ODUk frame signal.
11. 根据权利要求 10所述的装置, 其中, 所述映射处理模块还包括: The device according to claim 10, wherein the mapping processing module further comprises:
光传输网络 OTN成帧单元, 设置为将所述统一的 ODUa帧信号打包成高 阶的 OTN帧信号;  An optical transmission network OTN framing unit configured to pack the unified ODUa frame signal into a high-order OTN frame signal;
发送单元, 设置为将所述 OTN成帧单元打包后的所述 OTN帧信号发送至 交叉板。  And a sending unit, configured to send the OTN frame signal packed by the OTN framing unit to the cross board.
PCT/CN2011/082051 2011-05-09 2011-11-10 Service mapping method and device WO2012151890A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011101183222A CN102170599A (en) 2011-05-09 2011-05-09 Method for realizing business mapping and device thereof
CN201110118322.2 2011-05-09

Publications (1)

Publication Number Publication Date
WO2012151890A1 true WO2012151890A1 (en) 2012-11-15

Family

ID=44491549

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082051 WO2012151890A1 (en) 2011-05-09 2011-11-10 Service mapping method and device

Country Status (2)

Country Link
CN (1) CN102170599A (en)
WO (1) WO2012151890A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170599A (en) * 2011-05-09 2011-08-31 中兴通讯股份有限公司 Method for realizing business mapping and device thereof
CN103281263A (en) * 2013-05-13 2013-09-04 华为技术有限公司 Processing method, device and system of data in OTN (optical transport network)
CN111683306B (en) * 2020-05-20 2022-04-29 烽火通信科技股份有限公司 Multi-service hybrid access method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051879A (en) * 2007-04-06 2007-10-10 华为技术有限公司 Method and device for multiplying and de-multiplying low speed service
CN101291179A (en) * 2007-04-17 2008-10-22 华为技术有限公司 Customer signal transmission method in optical transmitting network and related equipment
CN101902667A (en) * 2010-07-30 2010-12-01 中兴通讯股份有限公司 Business-ODUk frame mapping method and system
CN102170599A (en) * 2011-05-09 2011-08-31 中兴通讯股份有限公司 Method for realizing business mapping and device thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615967B (en) * 2008-06-26 2011-04-20 华为技术有限公司 Method, device and system for transmitting and receiving service data
CN101841749B (en) * 2009-03-18 2013-10-02 华为技术有限公司 Data transmission method, communication device and communication system
US8259733B2 (en) * 2009-04-27 2012-09-04 Ciena Corporation Systems and methods for rapid optical transport network circuit provisioning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051879A (en) * 2007-04-06 2007-10-10 华为技术有限公司 Method and device for multiplying and de-multiplying low speed service
CN101291179A (en) * 2007-04-17 2008-10-22 华为技术有限公司 Customer signal transmission method in optical transmitting network and related equipment
CN101902667A (en) * 2010-07-30 2010-12-01 中兴通讯股份有限公司 Business-ODUk frame mapping method and system
CN102170599A (en) * 2011-05-09 2011-08-31 中兴通讯股份有限公司 Method for realizing business mapping and device thereof

Also Published As

Publication number Publication date
CN102170599A (en) 2011-08-31

Similar Documents

Publication Publication Date Title
JP2019517198A (en) Data transmission method, device and system
EP1816803B1 (en) Transmission processing method for data frame and system thereof
US9923661B2 (en) Device element, node device, and method and system for adjusting tunnel bandwidth
US11477549B2 (en) Transmission network system, data switching and transmission method, apparatus and equipment
WO2012155710A1 (en) Method and device for implementing mapping and demapping of otn service
WO2017088495A1 (en) Method and apparatus for acquiring routing information
WO2010028578A1 (en) Method for sensing the service provider on an optical network device, device and system thereof
KR20170038870A (en) Service data transmission method and device
WO2019114544A1 (en) Data transport method, device and system
US8166183B2 (en) Method and system for fast virtual concatenation setup in a communication network
WO2010111958A1 (en) Method and device for transmitting and receiving service data
US20150365331A1 (en) Service Packet Processing Method, Apparatus, and System
CN109495594A (en) A kind of data transmission method, PNF SDN controller, VNF SDN controller and system
WO2012151890A1 (en) Service mapping method and device
WO2009129721A1 (en) A method, apparatus and system for transmitting and receiving service data
WO2019170064A1 (en) Method, apparatus and system for processing ethernet data in optical network
US20230370899A1 (en) Packet forwarding method, packet processing method, and device
WO2018086564A1 (en) Method, device and system for bearing frame number of multichannel passive optical network, and storage medium
WO2016101555A1 (en) Cross scheduling method and device, and storage medium
US8982712B2 (en) De-mapping method and device for optical transport unit frame
WO2019052539A1 (en) Signal processing device and method
US8352537B2 (en) Object modeling scheme for next generation network wavelength division multiplexing
US8050294B2 (en) Method and system for transmitting in TDM mode
CN112491569B (en) Equipment management method, device, equipment and computer readable storage medium
EP4207794A1 (en) Data frame sending method and network device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11864980

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11864980

Country of ref document: EP

Kind code of ref document: A1