WO2012171372A1 - Time slot configuration method and apparatus of tributary board - Google Patents

Time slot configuration method and apparatus of tributary board Download PDF

Info

Publication number
WO2012171372A1
WO2012171372A1 PCT/CN2012/072589 CN2012072589W WO2012171372A1 WO 2012171372 A1 WO2012171372 A1 WO 2012171372A1 CN 2012072589 W CN2012072589 W CN 2012072589W WO 2012171372 A1 WO2012171372 A1 WO 2012171372A1
Authority
WO
WIPO (PCT)
Prior art keywords
aug
service
download
time slot
tributary
Prior art date
Application number
PCT/CN2012/072589
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
Priority claimed from CN201110163790.1A external-priority patent/CN102833028B/en
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012171372A1 publication Critical patent/WO2012171372A1/en

Links

Classifications

    • 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/1611Synchronous digital hierarchy [SDH] or SONET

Definitions

  • the present invention relates to a time slot configuration processing method and apparatus for a tributary board in a Synchronous Digital Hierarchy (SDH) optical transmission device.
  • SDH Synchronous Digital Hierarchy
  • Optical synchronous digital transmission networks have been widely developed and applied in the field of optical communication. With the increasing social life and the advancement of technology, the demand in the field of optical communication is becoming more and more diversified.
  • the optical network can flexibly and quickly realize the adjustment of business, and will better meet the various needs of different customers. This puts more stringent requirements on SDH equipment or network elements in terms of time slot cross configuration.
  • time slot configuration In an optical synchronous digital transmission network, if data transmission exists between two network elements or within a single network element, time slot configuration must be performed.
  • the function of the time slot configuration is to determine the specific cross path during transmission for all given time slots and incoming time slots.
  • the NCP Network Control Processor
  • the NCP sends a time slot crossover command to the slot algorithm module.
  • specific path configuration commands are obtained. result.
  • the NCP then sends the result of the configuration command to each board in the NE.
  • the board implements the cross-configuration of the service, that is, the path between the in-time slot and the e-slot.
  • the purpose of the time slot algorithm is to: arrange the communication path of the time slot flow in the hardware resources (the air separation module, the time division module, and the tributary module) according to the inbound time slot and the outgoing time slot delivered by the network management, that is, complete the time slot. Configure the calculation of the function.
  • the position of the outgoing time slot and the incoming time slot may be between the light plates or the light plate to the tributary board.
  • a certain time slot may only need to complete the intersection of the outgoing and the indirect through the space division cross matrix, and may also need to complete the intersection of the outgoing and the incoming through the space division cross matrix and the time division cross matrix.
  • the current level of hardware technology determines that for the AU (Administrative Unit) level (transport rate level), the time slot signal can be implemented by the AU-level space division cross matrix, and the time slot signal below the AU level cannot follow.
  • the AU where it resides uses the space division cross to complete the intersection of this level, and they can only rely on the cooperation of the air separation module and the time division module to complete the intersection.
  • the AU-level time slot signal must be configured once through the space division cross-matrix.
  • the space division module and the time division mode must pass. The mating of the blocks is done to complete the intersection.
  • the time division module In order to realize the signal transmission between the signal boards below the AU level, the time division module internally realizes the time slot crossing below the AU level, and the connection between the time division module and the signal board passes the AUG bus between the AU level space division cross matrix and the signal board. Perform AU level signal slot exchange.
  • the tributary board For the tributary board, if all the AUs are vacated and distributed to the tributary board, the position of the lower service signal under the tributary board bus has been determined, otherwise all the TU (Tributary Unit) signals of the AU are supported. The location of the bus under the board has not been determined. For all cases where the AU is taken to the branch circuit, the undetermined TU signal of the AU is arranged at the specific position of the tributary bus.
  • TU Tributary Unit
  • the traditional tributary board processing module does not use the same method for the specific attributes of the branch board, which is time-consuming and cannot fully utilize the existing resources of the tributary board. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a tributary board time slot configuration method and apparatus for solving the problem that resources cannot be effectively utilized when the tributary board time slot configuration.
  • the present invention provides a tributary board time slot configuration method, the method comprising:
  • the synchronous digital system (SDH) device determines the time slot configuration mode according to the total number of the branch ports of the tributary board, and determines the fixed connection configuration mode if the total number of the branch ports is less than or equal to the preset threshold, otherwise it is determined to be an empty insertion configuration manner;
  • the SDH device performs time slot configuration processing on the services of the tributary board according to the determined time slot configuration manner.
  • the preset fixed connection configuration database is calculated or queried according to the preset fixed connection configuration rule to determine the branch of the download or upload service.
  • the preset threshold is a maximum number of services supported by the tributary board accommodated by two management unit groups (AUGs).
  • AUGs management unit groups
  • the fixed connection configuration rule includes a download service configuration rule
  • the fixed connection configuration database includes a download service configuration database
  • the download service configuration rule or the download service configuration database has the following characteristics: The incoming AUG is different from the AUG used to protect the protection side of the service, but the number is the same.
  • nl "d / sl
  • the serial number of the tributary unit (TU) corresponding to the AUG is calculated as:
  • nl indicates the AUG number of the working AUG of the download service
  • indicates rounding up
  • d indicates the time slot tributary number of the download service
  • s indicates the tributary board rate category number
  • n2 indicates the protection of the downloaded protection service AUG AUG serial number
  • ml indicates the serial number of the TU in the corresponding AUG
  • mod() is the remainder function
  • the tributary board when processing the download service, includes first and second download service branch port groups, and first, second, third, and fourth incoming AUGs, and the first and second download service branch ports The number of the tributary ports of the group is the same.
  • the fixed connection configuration rule of the download service refers to the first download service tributary group corresponding to the first incoming AUG and the third incoming AUG, the second download service tributary corresponding to the second and fourth incoming AUG, and the first First, the second into the AUG as an unprotected business and protection business AUG, the third, fourth into the AUG as a protection business protection AUG;
  • the tributary board includes a first uploading service tributary port group, a second uploading service tributary port group, a first outgoing AUG, and a second outgoing AUG, wherein the first uploading service tributary group and the first The number of the tributary ports of the uploading service tributary group is the same.
  • the fixed connection configuration rule of the uploading service refers to the first AUG of the first uploading service tributary group and the second AUG of the second uploading service tributary group.
  • the SDH device calculates or looks up a table to determine a download or upload service branch port group corresponding to a specific branch port according to a division method of the download or upload service branch port group.
  • the method for dividing the download or upload service branch group is the same or different;
  • the method for dividing the download or upload service branch group is as follows: according to the order of all the branch ports, after being divided into several groups according to the capacity of one AUG, the group is divided into the first download or upload according to the parity of the group.
  • the present invention also provides a tributary board time slot configuration device, the device comprising:
  • the configuration mode determining module is configured to: determine the time slot configuration mode according to the total number of the branch ports of the tributary board, and determine the fixed connection configuration mode if the total number of the branch ports is less than or equal to the preset threshold; otherwise, the configuration is an empty insertion configuration;
  • the time slot configuration processing module is configured to: perform time slot configuration processing on the services of the tributary board according to the determined time slot configuration manner.
  • the time slot configuration processing module is further configured to: when performing the time slot configuration process, if the time slot configuration mode is determined to be a fixed connection configuration mode, calculate or query a preset fixed according to a preset fixed connection configuration rule.
  • the connection configuration database determines the location of the inbound management unit group (AUG) corresponding to the branch port of the download or upload service or the branch unit (TU) in the AUG;
  • the time slot configuration processing module is further configured to: if the time slot configuration mode is determined to be an empty insertion configuration mode, search for all incoming AUGs or AUGs, and allocate the location of the idle TUs in the AUG or the AUG to the download or Upload the business.
  • the preset threshold is supported by the tributary board accommodated by two management unit groups (AUGs) The maximum number of business.
  • AUGs management unit groups
  • the tributary board time slot configuration method and device determines the time slot configuration mode according to the total number of tributary ports of the tributary board. When the total number of tributary ports is less than or equal to the preset threshold, the fixed connection configuration mode is adopted, otherwise Use the empty insertion configuration to achieve full utilization of the tributary board resources.
  • Embodiment 1 is a schematic diagram of Embodiment 1 of a method for configuring a time slot of a tributary board according to the present invention
  • FIG. 2 is a schematic diagram of a type of tributary board processing a download service according to the first scheme of the first embodiment
  • FIG. 3 is a schematic diagram of a type of tributary board processing the upload service according to the first scheme of the first embodiment
  • the schematic diagram of the protection side of the download protection service is processed according to the first scheme of the first embodiment
  • FIG. 5 is a schematic diagram of processing a download side of a protection service and downloading an unprotected service according to the first scheme of the first embodiment
  • FIG. 6 is a schematic diagram of processing the uploading service according to the first scheme of the first embodiment
  • FIG. 7 is a schematic diagram of processing the downloading service by the 1# tributary board in the second embodiment
  • FIG. 8 is a schematic diagram of a 1# tributary board processing upload service in Embodiment 2;
  • FIG. 9 is a schematic diagram of a 2# tributary board processing download service in Embodiment 3.
  • FIG. 10 is a schematic diagram of a 2# tributary board processing upload service in Embodiment 3;
  • FIG. 11 is a schematic flowchart of the SDH device performing tributary board slot configuration processing.
  • the main idea of the tributary board time slot configuration method and device is to determine the time slot configuration mode according to the total number of tributary ports of the tributary board. When the total number of tributary ports is less than or equal to the preset threshold, the fixed connection configuration mode is adopted. Otherwise, use the plug-in configuration method to achieve full utilization of the tributary board resources.
  • the embodiment 1 of the tributary board time slot configuration method of the present invention includes:
  • Step 101 The SDH device determines the time slot configuration mode according to the total number of the branch ports of the tributary board. If the total number of the branch ports is less than or equal to the preset threshold, it is determined to be a fixed connection configuration mode; otherwise, it is determined to be an empty configuration mode;
  • the preset threshold may be determined according to the capacity of an Administrative Unit Group (AUG).
  • the threshold is the maximum number of the branch board support services accommodated by the two management unit groups (AUGs).
  • the tributary boards can also be classified as follows:
  • a type of tributary board the total number of tributaries of the tributary board is lower than or equal to the maximum number of supporting services of the tributary board that an AUG can accommodate;
  • the tributary board of the second type the total number of the branch ports of the tributary board is greater than the maximum number of supporting services of the tributary board that can be accommodated by the AUG, and is less than or equal to the maximum number of supporting services of the tributary board that the two AUGs can accommodate;
  • the total number of tributaries of the tributary board is greater than the maximum number of tributaries supported by the two AUGs.
  • the maximum number of support services that the AUG can accommodate is that an AUG can contain up to three VC3s, or 63 VC12s, or 84 VC11s.
  • the VC3 type tributary board supports the largest VC3 service. The number is three, and so on.
  • the above-mentioned one-type and two-type tributary boards are fixedly connected, and the three types of tributary boards are in an empty configuration.
  • the so-called fixed connection configuration means that all configurations are fixed in succession, and the same path is used each time.
  • the so-called plug-in configuration mode that is, for all the branch port download services, does not distinguish whether it is a protection service, searches in all incoming AUGs, and obtains an idle location allocation to the download service for access; for all the branch port service upload services, The search is performed in all out of the AUG, and the free location is allocated to the upload service for picking up.
  • Step 102 The SDH device performs service on the tributary board according to the determined time slot configuration manner. Time slot configuration processing.
  • the preset fixed connection configuration database is calculated or queried according to the preset fixed connection configuration rule to determine the corresponding branch port of the download or upload service. Enter the AUG or the TU position in the AUG;
  • time slot configuration mode is determined to be an empty insertion configuration mode
  • the search is performed on all AUGs or AUGs, and the idle TU locations in the AUG or AUG are allocated to the download or upload service.
  • the fixed connection configuration rule includes a download service configuration rule and an upload service configuration rule.
  • the fixed connection configuration database includes a download service configuration database and an upload service configuration database, where the download service configuration rule or the download service configuration database has the following characteristics: for downloading services (including unprotected services and protection services)
  • the AUG of the protection side is different from the AUG of the protection side for protecting the service, but the number is the same.
  • the incoming AUG for downloading services is 1#AUG
  • the protection side for protecting the service, such as AUG is 3#AUG.
  • mapping relationship between the branch port number and the incoming AUG or AUG can be flexibly set. Two preferred implementations are given below:
  • Option 1 Calculate the serial number of AUG or AUG according to the branch number:
  • nl "d / sl
  • nl indicates the AUG number of the working AUG of the download service
  • indicates rounding up
  • d indicates the time slot tributary number of the download service
  • s indicates the tributary board rate category number
  • n2 indicates the protection of the downloaded protection service AUG AUG serial number
  • ml indicates the serial number of the TU in the corresponding AUG
  • mod() finds the remainder function.
  • VC11 tributary board 84, VC12 tributary board: 63, VC3 tributary board: 3, VC4 tributary board: 1.
  • the downloading services of the first and second types of tributary boards are fixedly connected as shown in Fig. 2, Fig. 4, and Fig. 5.
  • Figure 2 is a schematic diagram of a type of tributary board processing download service.
  • all branch slogans (labeled 1# in the figure) correspond to 1# into 110.
  • the download service is a protection service, all branches are supported.
  • the protection service working side of the intersection number (labeled 1# in the figure) corresponds to 1# into 110, and the protection side of the protection service of all branch road numbers corresponds to 3# into ⁇ .
  • Figure 4 is a schematic diagram of the protection side of the download protection service of the second type of tributary board.
  • the figure shows the front half of the branch (labeled as 1#), that is, the branch with d/sl of 3, and the corresponding AUG is 3. #AUG,
  • the second half of the branch (marked as 2# in the figure), that is, "d/sl is a branch of 4, and the corresponding AUG is 4#AUG.
  • Figure 5 is a schematic diagram of the working side of the download protection service of the second type of tributary board and the download of the unprotected service.
  • the figure shows the tributary of the first half (marked as 1# in the figure), that is, the branch of d/sl is 1, corresponding to The entry into the AUG is 1#AUG, and the rear half of the branch (marked as 2# in the figure), that is, "d/sl is the branch of 2, and the corresponding AUG is 2#AUG.
  • Figure 3 is a schematic diagram of a type of tributary board processing upload service. All the branch number of the tributary board (labeled 1# in the figure) corresponds to 1# out of AUG;
  • Figure 6 is a schematic diagram of the processing of the uploading service of the second type tributary board. The figure shows the front half of the branch (marked as 1# in the figure), that is, "the branch with u/sl is 1, the corresponding AUG is 1#AUG, and the second half is marked as 2#," u/sl is the branch of 2, and the corresponding AUG is 2#AUG.
  • Option 2 group the branch ports according to specific rules, establish branch road grouping and enter AUG or AUG Mapping relationship
  • the tributary board When the download service is processed, the tributary board includes the first and second download service branch port groups, and the first, second, third, and fourth incoming AUGs, and the first and second download service branch ports The number of intersections is the same.
  • the fixed connection configuration rule of the download service means that the first download service branch port group corresponds to the first entry AUG and the third entry AUG, the second download service branch port corresponds to the second and fourth entry AUG, and the first and the first The second AUG is used as the unprotected service and the protection service AUG, and the third and fourth AUG are the protection AUG.
  • the tributary board When the uploading service is processed, the tributary board includes a first uploading service tributary port group, a second uploading service tributary port group, a first outgoing AUG, and a second outgoing AUG, wherein the first uploading service tributary group and the first The number of the tributary ports of the uploading service tributary group is the same.
  • the fixed connection configuration rule of the uploading service refers to the first AUG of the first uploading service tributary group and the second AUG of the second uploading service tributary group.
  • the SDH device may calculate or check the table according to the division method of the download or upload service branch group to determine the download or upload service branch group corresponding to the specific branch port.
  • the method of dividing the download or upload service branch group is the same or different.
  • a division method is: according to the arrangement order of all the branch ports, divided into several groups according to the capacity of one AUG, and divided into the first download or upload service branch group and the second according to the parity of the group. Download or upload a business branch group.
  • another method of division is: According to the order of arrangement of all the branch ports, the first half is divided into the first download or upload service branch group, and the second half is divided into the second download or upload service branch group.
  • the following takes the VC12 tributary board and a VC11 tributary board on the SDH device as an example to explain the implementation steps of the present invention.
  • the 1# tributary board is a 126-port VC12 tributary board, and the following operations are performed for the 1# tributary board.
  • the first step is to determine the type of tributary board;
  • the second step is to process the download service
  • the first download service is unprotected normal business.
  • the second download service is to protect the business.
  • the third step is to process the uploading business
  • the 2# data board (one of the branch boards) is a 336-port VC11 data board, and the following operations are performed on the 2# branch board:
  • the first step is to judge the tributary board category
  • the second step is to process the download service
  • the first step is to find an idle TU11 location and assign it to the first unprotected VC11 common service, and then find two idle TU1 locations to allocate to the first. Two to protect the VC11 business.
  • the third step is to process the upload business. First, it is judged whether there is an upload service on the tributary board. There is an upload service on the tributary board, and the general service of VC11 (7# slot stream). The specific data is as follows: 2# tributary board 300# tributary ⁇ 7# slot flow
  • the allocation of an idle TU11 location is assigned to the unprotected VC11 common service, as shown in FIG. 10, which is understandable, and FIG. 10 is only an example.
  • Step 111 Obtain tributary board data.
  • the tributary board data is a total number of tributary ports;
  • Step 112 determine a tributary board type for classification processing;
  • a preferred rule for tributary board classification is as follows:
  • a type of tributary board the total number of tributaries of the tributary board is lower than or equal to the maximum number of supporting services of the tributary board that an AUG can accommodate;
  • the tributary board of the second type the total number of the branch ports of the tributary board is greater than the maximum number of supporting services of the tributary board that can be accommodated by the AUG, and is less than or equal to the maximum number of supporting services of the tributary board that the two AUGs can accommodate;
  • the total number of tributaries of the tributary board is greater than the maximum number of tributaries supported by the two AUGs.
  • the maximum number of support services that the AUG can accommodate is that an AUG can contain up to three VC3s, or 63 VC12s, or 84 VC11s.
  • the VC3 type tributary board supports the largest VC3 service. The number is three, and so on.
  • Step 113 Determine whether there is a download service, if the tributary board does not download the service, go to step 116, otherwise go to step 114;
  • Step 114 Processing the download service
  • the so-called fixed connection configuration method of the download service is that all the configurations are fixed one after another, and the same path is used every time.
  • the so-called plug-in configuration mode of the download service that is, whether it is a protection service or not, all the incoming AUG terminals are searched, and the idle location is allocated to the service for access.
  • the tributary board belongs to the class 1 and type 2 tributary boards, the time slots of all download services are fixedly connected.
  • the time slots of all download services are configured by inserting empty.
  • the specific AUG serial number and TU serial number are determined according to the foregoing scheme 1.
  • Step 115 Determine whether the download service is successfully processed. If the processing is successful, execute step 116, otherwise the process ends.
  • Step 116 Determine whether there is an upload service, if the tributary board does not upload the service, step 119 is performed, otherwise step 117 is performed; Step 117: Processing the upload service;
  • tributary board belongs to a class 1 or class 2 tributary board, all time slots are configured in a fixed connection.
  • the tributary board belongs to the three types of tributary boards, all the time slots are arranged in an empty space.
  • the specific AUG serial number and TU serial number are determined according to the foregoing scheme 1.
  • Step 118 Determine whether the upload service is processed successfully. If the process is successful, execute step 119, otherwise the process ends.
  • Step 119 Determine if there is still a tributary board that is not configured. If yes, return to step 111, otherwise the process ends.
  • the method for configuring the tributary board service in the classification processing manner proposed by the present invention not only can effectively improve the processing efficiency, but also can utilize the existing branch resources as much as possible.
  • the present invention also provides a tributary board time slot configuration device, which can be implemented in an SDH device, including:
  • the configuration mode determining module is configured to determine a time slot configuration mode according to the total number of the branch ports of the tributary board, and determine the fixed connection configuration mode if the total number of the branch ports is less than or equal to the preset threshold, otherwise the method is determined to be an empty insertion configuration manner;
  • the time slot configuration processing module is configured to perform time slot configuration processing on the service of the tributary board according to the determined time slot configuration manner.
  • the time slot configuration processing module calculates or queries a preset fixed connection configuration database according to a preset fixed connection configuration rule. Determining the location of the AUG or the AUG tributary unit (TU) corresponding to the tributary of the download or upload service; if the time slot configuration mode is determined to be the empty configuration mode, the time slot configuration processing module enters the AUG at all Or the AUG is used to find the location of the idle TU in the AUG or out of the AUG to the download or upload service.
  • TU tributary unit
  • the preset threshold is a maximum number of services supported by the tributary board accommodated by two management unit groups (AUGs).
  • AUGs management unit groups
  • the fixed connection configuration rule includes a download service configuration rule
  • the fixed connection configuration database includes a download service configuration database
  • the download service configuration rule and the download service
  • the configuration database has the following characteristics: the incoming AUG for downloading services is different from the incoming AUG for protecting the protection side, but the number is the same.
  • the time slot configuration processing module performs calculation according to the following formula:
  • nl "d / sl
  • nl indicates the AUG number of the working AUG of the download service
  • indicates rounding up
  • d indicates the time slot tributary number of the download service
  • s indicates the tributary board rate category number
  • n2 indicates the protection of the downloaded protection service AUG AUG serial number
  • ml indicates the serial number of the TU in the corresponding AUG
  • mod() is the remainder function
  • the time slot configuration processing module calculates according to the following formula:
  • the tributary board when processing the download service, includes first and second download service branch port groups, and first, second, third, and fourth incoming AUGs, and the first and second download service branches The number of the tributaries of the intersection group is the same.
  • the fixed connection configuration rule of the download service means that the first download service branch group corresponds to the first entry AUG and the third entry AUG, and the second download service branch port corresponds to the second and fourth entry AUG, and
  • the first and second AUGs serve as unprotected services and protect the service AUG, and the third and fourth AUGs serve as protection AUGs for the protection service;
  • the tributary board includes the first upload service branch The group, the second upload service branch group, the first outbound AUG, and the second outbound AUG, wherein the first upload service branch port group and the second upload service branch port group have the same number of branch ports, and the fixed connection of the upload service
  • the configuration rule indicates that the first upload service branch port group corresponds to the first out AUG, and the second upload service branch port group corresponds to the second out AUG.
  • the tributary board calculates or looks up the table according to the division method of the download or upload service branch group
  • the downloading or uploading service branch group corresponding to the branch of the body is the same or different.
  • the dividing of the download or upload service branch group is divided into several groups according to the order of all the branch ports, and then divided into the first download according to the parity of the group. Or upload the business branch group and the second download or upload service branch group.
  • the processing defects of the tributary board service in the prior art are effectively compensated, the processing speed is improved, and the resource waste on the service side of the tributary board is reduced.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

Disclosed are a time slot configuration method and apparatus of tributary board. The method comprises the following steps: a Synchronous Digital Hierarchy (SDH) device determines a time slot configuration mode according to total number of tributary ports of a tributary board, and if the total number of tributary ports is less than or equal to a preset threshold, the configuration mode is determined as a fixed connection configuration mode, otherwise, the configuration mode is determined as an idleness insertion configuration mode; the SDH device implements the time slot configuration processing on service of the tributary board according to the determined time slot configuration mode. The time slot configuration method and apparatus of tributary board in the present invention can achieve effective utilization of resources.

Description

支路板时隙配置方法和装置  Branch board time slot configuration method and device
技术领域 Technical field
本发明涉及同步数字体系(SDH, Synchronous Digital Hierarchy)光传输设 备中支路板的时隙配置处理方法和装置。  The present invention relates to a time slot configuration processing method and apparatus for a tributary board in a Synchronous Digital Hierarchy (SDH) optical transmission device.
背景技术 Background technique
光同步数字传输网已经在光通讯领域得到广泛的发展和应用。 随着社会 生活的日益丰富以及科技的进步, 光通讯领域的需求也越来越多样化, 光网 络能够灵活快速的实现业务的调整, 将能更好的满足不同客户的各种需求。 这就给 SDH设备或者网元在时隙交叉配置的方面提出了更为苛刻的要求。  Optical synchronous digital transmission networks have been widely developed and applied in the field of optical communication. With the increasing social life and the advancement of technology, the demand in the field of optical communication is becoming more and more diversified. The optical network can flexibly and quickly realize the adjustment of business, and will better meet the various needs of different customers. This puts more stringent requirements on SDH equipment or network elements in terms of time slot cross configuration.
光同步数字传输网中, 如果两个网元之间或者单个网元内部存在数据传 输, 就必须要进行时隙配置。 时隙配置的功能就是对于所有的给定出时隙和 入时隙, 确定在传输过程中具体交叉路径。 通常是在网管上配置时隙交叉关 系后, 由 NCP ( Net Control Processor, 网元控制处理器) 下发时隙交叉命令 给时隙算法模块,经过算法的处理,得到具体的各种路径配置命令结果。 NCP 再将这些配置命令结果下发到网元中的各个单板, 由单板来实现业务的交叉 配置, 即实现入时隙和出时隙之间路径的连通。 其中, 时隙算法的目的就是: 根据网管下发的入时隙和出时隙, 安排时隙流在硬件资源 (空分模块、 时分 模块、 支路模块) 中的连通路径, 即完成时隙配置功能的计算。  In an optical synchronous digital transmission network, if data transmission exists between two network elements or within a single network element, time slot configuration must be performed. The function of the time slot configuration is to determine the specific cross path during transmission for all given time slots and incoming time slots. After the slot relationship is configured on the NMS, the NCP (Net Control Processor) sends a time slot crossover command to the slot algorithm module. After the algorithm is processed, specific path configuration commands are obtained. result. The NCP then sends the result of the configuration command to each board in the NE. The board implements the cross-configuration of the service, that is, the path between the in-time slot and the e-slot. The purpose of the time slot algorithm is to: arrange the communication path of the time slot flow in the hardware resources (the air separation module, the time division module, and the tributary module) according to the inbound time slot and the outgoing time slot delivered by the network management, that is, complete the time slot. Configure the calculation of the function.
出时隙和入时隙的位置可能是光板之间的, 也可能是光板到支路板的。 某一条时隙可能仅仅只需要通过空分交叉矩阵就能够直接完成出和入的交 叉,也可能需要通过空分交叉矩阵和时分交叉矩阵一起来完成出和入的交叉。 目前的硬件技术的发展水平决定了对于 AU ( Administration Unit, 管理单元 ) 级(传输的速率等级) 时隙信号可以通过 AU级空分交叉矩阵实现, 而低于 AU级别的时隙信号如果不能跟随它所在的 AU利用空分交叉完成该级别的 交叉, 它们就只能依靠空分模块和时分模块的配合来完成交叉。 当然, 出于 某种技术要求, 也可能会规定对于 AU级时隙信号都必须通过空分交叉矩阵 一次性完成配置, 对于低于 AU级别的时隙信号必须经过空分模块和时分模 块的配合来完成交叉。 为了实现信号板间低于 AU级别的信号传输, 时分模 块内部来实现低于 AU级别的时隙交叉, 时分模块与信号板之间通过 AU级 空分交叉矩阵和信号板之间 AUG总线的连接进行 AU级别信号时隙交换。 The position of the outgoing time slot and the incoming time slot may be between the light plates or the light plate to the tributary board. A certain time slot may only need to complete the intersection of the outgoing and the indirect through the space division cross matrix, and may also need to complete the intersection of the outgoing and the incoming through the space division cross matrix and the time division cross matrix. The current level of hardware technology determines that for the AU (Administrative Unit) level (transport rate level), the time slot signal can be implemented by the AU-level space division cross matrix, and the time slot signal below the AU level cannot follow. The AU where it resides uses the space division cross to complete the intersection of this level, and they can only rely on the cooperation of the air separation module and the time division module to complete the intersection. Of course, for some technical requirements, it may also be stipulated that the AU-level time slot signal must be configured once through the space division cross-matrix. For the time-slot signal below the AU level, the space division module and the time division mode must pass. The mating of the blocks is done to complete the intersection. In order to realize the signal transmission between the signal boards below the AU level, the time division module internally realizes the time slot crossing below the AU level, and the connection between the time division module and the signal board passes the AUG bus between the AU level space division cross matrix and the signal board. Perform AU level signal slot exchange.
对于支路板, 若所有收 AU走空分到支路板, 则下业务信号在支路板下 总线的位置已确定完毕, 否则所有收 AU的 TU(Tributary Unit, 支路单元)信 号在支路板下总线的位置还未确定。 对于所有收 AU走时分到支路板块的情 况, 便要安排这些未确定的收 AU的 TU信号在支路板总线的具体位置。  For the tributary board, if all the AUs are vacated and distributed to the tributary board, the position of the lower service signal under the tributary board bus has been determined, otherwise all the TU (Tributary Unit) signals of the AU are supported. The location of the bus under the board has not been determined. For all cases where the AU is taken to the branch circuit, the undetermined TU signal of the AU is arranged at the specific position of the tributary bus.
如果没有一套好的支路板业务的处理机制, 对于支路板在时隙配置时, 就有可能出现运行效率低。 或者对于同样的时隙数据, 出现有支路板资源剩 余, 却无法完成配置的情况发生。  If there is no set of processing mechanism for a good tributary board service, there may be low operational efficiency when the tributary board is configured in time slots. Or, for the same time slot data, there is a situation where the tributary board resources remain, but the configuration cannot be completed.
传统的支路板处理模块, 并不区分支路板的具体属性, 统一釆用相同的 方式进行配置处理, 这样既耗费时间也不能完全的达到对支路板已有资源的 有效利用。 发明内容  The traditional tributary board processing module does not use the same method for the specific attributes of the branch board, which is time-consuming and cannot fully utilize the existing resources of the tributary board. Summary of the invention
本发明要解决的技术问题是提供一种支路板时隙配置方法和装置, 以解 决支路板时隙配置时资源不能有效利用的问题。  The technical problem to be solved by the present invention is to provide a tributary board time slot configuration method and apparatus for solving the problem that resources cannot be effectively utilized when the tributary board time slot configuration.
为解决上述技术问题, 本发明提供了一种支路板时隙配置方法, 该方法 包括:  To solve the above technical problem, the present invention provides a tributary board time slot configuration method, the method comprising:
同步数字体系( SDH )设备根据支路板的支路口总数确定时隙配置方式, 若支路口总数小于或等于预设阔值则确定为固定连接配置方式, 否则确定为 插空配置方式;  The synchronous digital system (SDH) device determines the time slot configuration mode according to the total number of the branch ports of the tributary board, and determines the fixed connection configuration mode if the total number of the branch ports is less than or equal to the preset threshold, otherwise it is determined to be an empty insertion configuration manner;
所述 SDH设备根据确定的时隙配置方式对支路板的业务进行时隙配置 处理。  The SDH device performs time slot configuration processing on the services of the tributary board according to the determined time slot configuration manner.
优选地, 进行时隙配置处理时, 若所述时隙配置方式确定为固定连接配 置方式, 则根据预置的固定连接配置规则计算或查询预置的固定连接配置数 据库确定下载或上载业务的支路口对应的入管理单元组(AUG )或出 AUG 中支路单元(TU ) 的位置; 若所述时隙配置方式确定为插空配置方式, 则在所有入 AUG或出 AUG 进行查找, 将入 AUG或出 AUG中空闲 TU的位置分配给下载或上载业务。 Preferably, when the time slot configuration process is performed, if the time slot configuration mode is determined to be a fixed connection configuration mode, the preset fixed connection configuration database is calculated or queried according to the preset fixed connection configuration rule to determine the branch of the download or upload service. The location of the incoming management unit group (AUG) corresponding to the intersection or the branch unit (TU) in the AUG; If the time slot configuration mode is determined to be an empty insertion configuration mode, the search is performed on all incoming AUGs or out AUGs, and the location of the idle TUs in the incoming AUG or out of the AUG is allocated to the download or upload service.
优选地, 所述预设阔值为两个管理单元组(AUG )容纳的该支路板支持 业务的最大数。  Preferably, the preset threshold is a maximum number of services supported by the tributary board accommodated by two management unit groups (AUGs).
优选地, 所述固定连接配置规则包括下载业务配置规则, 或所述固定连 接配置数据库包括下载业务配置数据库, 所述下载业务配置规则或所述下载 业务配置数据库具有如下特点:用于下载业务的入 AUG与用于保护业务的保 护侧的入 AUG不同, 但个数相同。  Preferably, the fixed connection configuration rule includes a download service configuration rule, or the fixed connection configuration database includes a download service configuration database, and the download service configuration rule or the download service configuration database has the following characteristics: The incoming AUG is different from the AUG used to protect the protection side of the service, but the number is the same.
优选地, 进行时隙配置处理时, 若为下载业务, 则:  Preferably, when the time slot configuration process is performed, if the service is downloaded, then:
下载业务的工作 AUG的 AUG序号 nl的计算公式为: nl=「d/sl ;  Download the business work AUG AUG serial number nl calculation formula is: nl = "d / sl;
下载的保护业务的保护 AUG的 AUG序号 n2的计算公式为: n2=「d/sl+2; 对应 AUG中的支路单元(TU ) 的序号 ml的计算公式为:  The protection of the downloaded protection service AUG's AUG number n2 is calculated as: n2=“d/sl+2; The serial number of the tributary unit (TU) corresponding to the AUG is calculated as:
ml=mod ( d/s )  Ml=mod ( d/s )
其中, nl表示下载业务的工作 AUG的 AUG序号, Π表示向上取整, d 表示下载业务的出时隙支路口号, s表示支路板速率类别号; n2表示下载的 保护业务的保护 AUG的 AUG序号; ml表示对应 AUG中的 TU的序号, mod() 为求余函数;  Wherein, nl indicates the AUG number of the working AUG of the download service, Π indicates rounding up, d indicates the time slot tributary number of the download service, s indicates the tributary board rate category number; n2 indicates the protection of the downloaded protection service AUG AUG serial number; ml indicates the serial number of the TU in the corresponding AUG, and mod() is the remainder function;
若为上载业务, 则:  If you are uploading a business, then:
上载业务的出 AUG的 AUG序号 n3的计算公式为: n3=「u/sl ;  The AUG number of the AUG that uploads the service is calculated as: n3=“u/sl ;
对应 AUG中 TU的序号 m2的计算公式为: m2=mod ( u/s ) ; 其中, n3 为上载业务的出 AUG的 AUG序号, u为上载业务的入时隙支路口号; s为支 路板速率类别号, Π表示向上取整) , mod()为求余函数。  The calculation formula of the serial number m2 corresponding to the TU in the AUG is: m2=mod (u/s); where n3 is the AUG number of the AUG for the upload service, u is the inbound slot number of the upload service; s is the branch The board rate category number, Π indicates rounding up), and mod() is the remainder function.
优选地, 处理下载业务时, 所述支路板包括第一、 第二下载业务支路口 组以及第一、 第二、 第三、 第四入 AUG, 所述第一、 第二下载业务支路口组 的支路口数目相同, 下载业务的固定连接配置规则指第一下载业务支路口组 对应第一入 AUG和第三入 AUG, 第二下载业务支路口对应第二、 第四入 AUG, 且第一、 第二入 AUG作为无保护的业务以及保护业务的工作 AUG, 第三、 第四入 AUG作为保护业务的保护 AUG; 处理上载业务时, 所述支路板包括第一上载业务支路口组、 第二上载业 务支路口组、 第一出 AUG和第二出 AUG, 其中, 所述第一上载业务支路口 组和第二上载业务支路口组的支路口数相同, 上载业务的固定连接配置规则 指第一上载业务支路口组对应第一出 AUG, 第二上载业务支路口组对应第二 出 AUG。 Preferably, when processing the download service, the tributary board includes first and second download service branch port groups, and first, second, third, and fourth incoming AUGs, and the first and second download service branch ports The number of the tributary ports of the group is the same. The fixed connection configuration rule of the download service refers to the first download service tributary group corresponding to the first incoming AUG and the third incoming AUG, the second download service tributary corresponding to the second and fourth incoming AUG, and the first First, the second into the AUG as an unprotected business and protection business AUG, the third, fourth into the AUG as a protection business protection AUG; When the uploading service is processed, the tributary board includes a first uploading service tributary port group, a second uploading service tributary port group, a first outgoing AUG, and a second outgoing AUG, wherein the first uploading service tributary group and the first The number of the tributary ports of the uploading service tributary group is the same. The fixed connection configuration rule of the uploading service refers to the first AUG of the first uploading service tributary group and the second AUG of the second uploading service tributary group.
优选地,所述 SDH设备根据下载或上载业务支路口组的划分方法计算或 查表确定具体的支路口对应的下载或上载业务支路口组。 所述下载或上载业 务支路口组的划分方法相同或不同;  Preferably, the SDH device calculates or looks up a table to determine a download or upload service branch port group corresponding to a specific branch port according to a division method of the download or upload service branch port group. The method for dividing the download or upload service branch group is the same or different;
所述下载或上载业务支路口组的划分方法为: 根据所有支路口的排列顺 序, 以一个 AUG的容量为单位进行分为若干个小组后,按小组的奇偶数分别 划分为第一下载或上载业务支路口组和第二下载或上载业务支路口组; 或, 根据所有支路口的排列顺序,前半部分划分为第一下载或上载业务支路口组, 后半部分划分为第二下载或上载业务支路口组。  The method for dividing the download or upload service branch group is as follows: according to the order of all the branch ports, after being divided into several groups according to the capacity of one AUG, the group is divided into the first download or upload according to the parity of the group. The service branch group and the second download or upload service branch group; or, according to the arrangement order of all the branch ports, the first half is divided into the first download or upload service branch group, and the second half is divided into the second download or upload service Branch branch group.
为解决以上技术问题, 本发明还提供了一种支路板时隙配置装置, 该装 置包括:  In order to solve the above technical problem, the present invention also provides a tributary board time slot configuration device, the device comprising:
配置方式确定模块, 其设置为: 根据支路板的支路口总数确定时隙配置 方式, 若支路口总数小于或等于预设阔值则确定为固定连接配置方式, 否则 确定为插空配置方式;  The configuration mode determining module is configured to: determine the time slot configuration mode according to the total number of the branch ports of the tributary board, and determine the fixed connection configuration mode if the total number of the branch ports is less than or equal to the preset threshold; otherwise, the configuration is an empty insertion configuration;
时隙配置处理模块, 其设置为: 根据确定的时隙配置方式对支路板的业 务进行时隙配置处理。  The time slot configuration processing module is configured to: perform time slot configuration processing on the services of the tributary board according to the determined time slot configuration manner.
优选地, 所述时隙配置处理模块还设置为: 进行时隙配置处理时, 若所 述时隙配置方式确定为固定连接配置方式, 根据预置的固定连接配置规则计 算或查询预置的固定连接配置数据库确定下载或上载业务的支路口对应的入 管理单元组(AUG )或出 AUG中支路单元(TU ) 的位置;  Preferably, the time slot configuration processing module is further configured to: when performing the time slot configuration process, if the time slot configuration mode is determined to be a fixed connection configuration mode, calculate or query a preset fixed according to a preset fixed connection configuration rule. The connection configuration database determines the location of the inbound management unit group (AUG) corresponding to the branch port of the download or upload service or the branch unit (TU) in the AUG;
所述时隙配置处理模块还设置为: 若所述时隙配置方式确定为插空配置 方式, 在所有入 AUG或出 AUG进行查找, 将入 AUG或出 AUG中空闲 TU 的位置分配给下载或上载业务。  The time slot configuration processing module is further configured to: if the time slot configuration mode is determined to be an empty insertion configuration mode, search for all incoming AUGs or AUGs, and allocate the location of the idle TUs in the AUG or the AUG to the download or Upload the business.
优选地, 所述预设阔值为两个管理单元组(AUG )容纳的该支路板支持 业务的最大数。 Preferably, the preset threshold is supported by the tributary board accommodated by two management unit groups (AUGs) The maximum number of business.
本发明实施例支路板时隙配置方法和装置根据支路板的支路口总数大小 确定时隙配置方式, 其中支路口总数小于或等于预设阔值时, 釆用固定连接 配置方式, 否则釆用插空配置方式, 从而达到对支路板资源的充分利用。 附图概述  The tributary board time slot configuration method and device according to the embodiment of the present invention determines the time slot configuration mode according to the total number of tributary ports of the tributary board. When the total number of tributary ports is less than or equal to the preset threshold, the fixed connection configuration mode is adopted, otherwise Use the empty insertion configuration to achieve full utilization of the tributary board resources. BRIEF abstract
图 1 为本发明支路板时隙配置方法实施例 1的示意图;  1 is a schematic diagram of Embodiment 1 of a method for configuring a time slot of a tributary board according to the present invention;
图 2为一类支路板才艮据实施例 1的方案一处理下载业务的示意图; 图 3为一类支路板才艮据实施例 1的方案一处理上载业务的示意图; 图 4为二类支路板根据实施例 1的方案一处理下载保护业务的保护侧的 示意图;  2 is a schematic diagram of a type of tributary board processing a download service according to the first scheme of the first embodiment; FIG. 3 is a schematic diagram of a type of tributary board processing the upload service according to the first scheme of the first embodiment; The schematic diagram of the protection side of the download protection service is processed according to the first scheme of the first embodiment;
图 5为二类支路板根据实施例 1的方案一处理下载保护业务的工作侧及 下载无保护业务的示意图;  5 is a schematic diagram of processing a download side of a protection service and downloading an unprotected service according to the first scheme of the first embodiment;
图 6为二类支路板才艮据实施例 1的方案一处理上载业务的示意图; 图 7为实施例 2中 1#支路板处理下载业务的示意图;  6 is a schematic diagram of processing the uploading service according to the first scheme of the first embodiment; FIG. 7 is a schematic diagram of processing the downloading service by the 1# tributary board in the second embodiment;
图 8为实施例 2中 1#支路板处理上载业务的示意图;  8 is a schematic diagram of a 1# tributary board processing upload service in Embodiment 2;
图 9为实施例 3中 2#支路板处理下载业务的示意图;  9 is a schematic diagram of a 2# tributary board processing download service in Embodiment 3;
图 10为实施例 3中 2#支路板处理上载业务的示意图;  10 is a schematic diagram of a 2# tributary board processing upload service in Embodiment 3;
图 11为 SDH设备进行支路板时隙配置处理的流程示意图。  FIG. 11 is a schematic flowchart of the SDH device performing tributary board slot configuration processing.
本发明的较佳实施方式 Preferred embodiment of the invention
本发明支路板时隙配置方法和装置的主要思想是, 根据支路板的支路口 总数大小确定时隙配置方式, 其中支路口总数小于或等于预设阔值时, 釆用 固定连接配置方式, 否则釆用插空配置方式, 从而达到对支路板资源的充分 利用。  The main idea of the tributary board time slot configuration method and device is to determine the time slot configuration mode according to the total number of tributary ports of the tributary board. When the total number of tributary ports is less than or equal to the preset threshold, the fixed connection configuration mode is adopted. Otherwise, use the plug-in configuration method to achieve full utilization of the tributary board resources.
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 实施例 1 Embodiments of the present invention will be described in detail below 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. Example 1
如图 1所示, 本发明支路板时隙配置方法实施例 1包括:  As shown in FIG. 1, the embodiment 1 of the tributary board time slot configuration method of the present invention includes:
步骤 101 : SDH设备根据支路板的支路口总数确定时隙配置方式, 若支 路口总数小于或等于预设阔值则确定为固定连接配置方式, 否则确定为插空 配置方式;  Step 101: The SDH device determines the time slot configuration mode according to the total number of the branch ports of the tributary board. If the total number of the branch ports is less than or equal to the preset threshold, it is determined to be a fixed connection configuration mode; otherwise, it is determined to be an empty configuration mode;
所述预设阔值可以根据管理单元组(AUG, Administration Unit Group ) 的容量来确定, 比如所述阔值为两个管理单元组(AUG )容纳的该支路板支 持业务的最大数。 优选地, 还可以将支路板做如下分类:  The preset threshold may be determined according to the capacity of an Administrative Unit Group (AUG). For example, the threshold is the maximum number of the branch board support services accommodated by the two management unit groups (AUGs). Preferably, the tributary boards can also be classified as follows:
一类支路板:该支路板的支路口总数低于或等于一个 AUG能够容纳的该 支路板支持业务最大数;  A type of tributary board: the total number of tributaries of the tributary board is lower than or equal to the maximum number of supporting services of the tributary board that an AUG can accommodate;
二类支路板:该支路板的支路口总数大于一个 AUG能够容纳的该支路板 支持业务最大数,且小于或者等于两个 AUG能够容纳的该支路板支持业务最 大数;  The tributary board of the second type: the total number of the branch ports of the tributary board is greater than the maximum number of supporting services of the tributary board that can be accommodated by the AUG, and is less than or equal to the maximum number of supporting services of the tributary board that the two AUGs can accommodate;
三类支路板:该支路板的支路口总数大于两个 AUG能够容纳的该支路板 支持业务最大数。  Three types of tributary boards: The total number of tributaries of the tributary board is greater than the maximum number of tributaries supported by the two AUGs.
所谓 AUG所能够容纳的该支路板支持业务的最大数, 是指一个 AUG中 最多能够包含 3个 VC3、 或者 63个 VC12、 或者 84个 VC11 , 那么对于 VC3 类型的支路板支持 VC3业务最大数就是 3个, 其余依此类推。  The maximum number of support services that the AUG can accommodate is that an AUG can contain up to three VC3s, or 63 VC12s, or 84 VC11s. The VC3 type tributary board supports the largest VC3 service. The number is three, and so on.
优选地, 以上一类和二类支路板釆用固定连接配置方式, 三类支路板釆 用插空配置方式。  Preferably, the above-mentioned one-type and two-type tributary boards are fixedly connected, and the three types of tributary boards are in an empty configuration.
所谓固定连接配置方式, 就是所有的配置接连都是固定的, 每次都釆用 同样的路径。  The so-called fixed connection configuration means that all configurations are fixed in succession, and the same path is used each time.
所谓插空配置方式, 即对于所有支路口的下载业务, 不区分是否是保护 业务, 在所有入 AUG中进行查找, 得到空闲位置分配给下载业务进行接入; 对于所有支路口业务的上载业务,在所有出 AUG中进行查找,得到空闲位置 就分配给上载业务进行接出。  The so-called plug-in configuration mode, that is, for all the branch port download services, does not distinguish whether it is a protection service, searches in all incoming AUGs, and obtains an idle location allocation to the download service for access; for all the branch port service upload services, The search is performed in all out of the AUG, and the free location is allocated to the upload service for picking up.
步骤 102: 所述 SDH设备根据确定的时隙配置方式对支路板的业务进行 时隙配置处理。 Step 102: The SDH device performs service on the tributary board according to the determined time slot configuration manner. Time slot configuration processing.
进行时隙配置处理时, 若所述时隙配置方式确定为固定连接配置方式, 则根据预置的固定连接配置规则计算或查询预置的固定连接配置数据库确定 下载或上载业务的支路口对应的入 AUG或出 AUG中的 TU位置;  When the time slot configuration process is performed, if the time slot configuration mode is determined to be the fixed connection configuration mode, the preset fixed connection configuration database is calculated or queried according to the preset fixed connection configuration rule to determine the corresponding branch port of the download or upload service. Enter the AUG or the TU position in the AUG;
若所述时隙配置方式确定为插空配置方式, 则在所有入 AUG或出 AUG 进行查找, 将入 AUG或出 AUG中的空闲 TU位置分配给下载或上载业务。  If the time slot configuration mode is determined to be an empty insertion configuration mode, the search is performed on all AUGs or AUGs, and the idle TU locations in the AUG or AUG are allocated to the download or upload service.
优选地, 釆用固定连接配置方式时, 可根据业务的具体方向 (如下载业 务或上载业务)适用不同的规则或数据库, 如所述固定连接配置规则包括下 载业务配置规则和上载业务配置规则, 或, 所述固定连接配置数据库包括下 载业务配置数据库和上载业务配置数据库, 其中, 所述下载业务配置规则或 所述下载业务配置数据库具有如下特点: 用于下载业务(包括无保护业务和 保护业务的保护侧)的入 AUG与用于保护业务的保护侧的入 AUG不同, 但 个数相同。 例如, 用于下载业务的入 AUG为 1#AUG, 用于保护业务的保护 侧的如 AUG为 3#AUG。  Preferably, when the fixed connection configuration mode is used, different rules or databases may be applied according to a specific direction of the service, such as a download service or an upload service. For example, the fixed connection configuration rule includes a download service configuration rule and an upload service configuration rule. Or the fixed connection configuration database includes a download service configuration database and an upload service configuration database, where the download service configuration rule or the download service configuration database has the following characteristics: for downloading services (including unprotected services and protection services) The AUG of the protection side is different from the AUG of the protection side for protecting the service, but the number is the same. For example, the incoming AUG for downloading services is 1#AUG, and the protection side for protecting the service, such as AUG, is 3#AUG.
釆用固定连接配置方式时, 支路口号与入 AUG或出 AUG之间的映射关 系可以灵活设置, 以下给出两种优选的实现方案:  When using the fixed connection configuration mode, the mapping relationship between the branch port number and the incoming AUG or AUG can be flexibly set. Two preferred implementations are given below:
方案一: 根据支路口号计算入 AUG或出 AUG的序号:  Option 1: Calculate the serial number of AUG or AUG according to the branch number:
对于下载业务, 1#入 AUG和 2#入 AUG分配给无保护的业务以及保护业 务的工作侧进行接入, 3#入 AUG和 4#入 AUG分配给保护业务的保护侧进行 接入。 相应的计算公式为:  For the download service, 1# into AUG and 2# into AUG are assigned to the unprotected service and the working side of the protection service to access, 3# into AUG and 4# into the AUG to be assigned to the protection side of the protection service. The corresponding calculation formula is:
下载业务的工作 AUG的 AUG序号 nl的计算公式为: nl=「d/sl ;  Download the business work AUG AUG serial number nl calculation formula is: nl = "d / sl;
下载的保护业务的保护 AUG的 AUG序号 n2的计算公式为: n2=「d/sl+2; 对应 AUG中的 TU(Tributary Unit, 支路单元)的序号 ml的计算公式为: ml=mod ( d/s )  Download the protection service protection AUG AUG number n2 calculation formula is: n2 = "d / sl + 2; corresponding to the AUG in the TU (Tributary Unit, the tributary unit) serial number ml is calculated as: ml = mod ( d/s )
其中, nl表示下载业务的工作 AUG的 AUG序号, Π表示向上取整, d 表示下载业务的出时隙支路口号, s表示支路板速率类别号; n2表示下载的 保护业务的保护 AUG的 AUG序号; ml表示对应 AUG中的 TU的序号, mod() 求余函数。 支路板的速率类别号: Wherein, nl indicates the AUG number of the working AUG of the download service, Π indicates rounding up, d indicates the time slot tributary number of the download service, s indicates the tributary board rate category number; n2 indicates the protection of the downloaded protection service AUG AUG serial number; ml indicates the serial number of the TU in the corresponding AUG, and mod() finds the remainder function. The speed class number of the tributary board:
VC11支路板: 84, VC12支路板: 63 , VC3支路板: 3 , VC4支路板: 1。 根据该方案一的以上计算方法, 一类、 二类支路板的下载业务固定连接 如图 2、 图 4、 图 5所示。  VC11 tributary board: 84, VC12 tributary board: 63, VC3 tributary board: 3, VC4 tributary board: 1. According to the above calculation method of the first scheme, the downloading services of the first and second types of tributary boards are fixedly connected as shown in Fig. 2, Fig. 4, and Fig. 5.
图 2为一类支路板处理下载业务的示意图, 其中, 下载业务为无保护业 务时, 所有支路口号 (图中标为 1# )对应 1#入 110, 下载业务为保护业务 时, 所有支路口号 (图中标为 1# ) 的保护业务工作侧对应 1#入 110, 所有 支路口号的保护业务的保护侧对应 3#入 ^。  Figure 2 is a schematic diagram of a type of tributary board processing download service. When the download service is unprotected, all branch slogans (labeled 1# in the figure) correspond to 1# into 110. When the download service is a protection service, all branches are supported. The protection service working side of the intersection number (labeled 1# in the figure) corresponds to 1# into 110, and the protection side of the protection service of all branch road numbers corresponds to 3# into ^.
图 4为二类支路板处理下载保护业务的保护侧的示意图, 图中示意前半 部分支路口(图中标为 1# ),即「d/sl为 3的支路口,对应的入 AUG为 3#AUG, 后半部分支路口 (图中标为 2# ) , 即「d/sl为 4的支路口, 对应的入 AUG为 4#AUG。  Figure 4 is a schematic diagram of the protection side of the download protection service of the second type of tributary board. The figure shows the front half of the branch (labeled as 1#), that is, the branch with d/sl of 3, and the corresponding AUG is 3. #AUG, The second half of the branch (marked as 2# in the figure), that is, "d/sl is a branch of 4, and the corresponding AUG is 4#AUG.
图 5为二类支路板处理下载保护业务的工作侧及下载无保护业务的示意 图, 图中示意前半部分支路口 (图中标为 1# ) , 即「d/sl为 1的支路口, 对应 的入 AUG为 1#AUG, 后半部分支路口 (图中标为 2# ) , 即「d/sl为 2的支路 口, 对应的入 AUG为 2#AUG。  Figure 5 is a schematic diagram of the working side of the download protection service of the second type of tributary board and the download of the unprotected service. The figure shows the tributary of the first half (marked as 1# in the figure), that is, the branch of d/sl is 1, corresponding to The entry into the AUG is 1#AUG, and the rear half of the branch (marked as 2# in the figure), that is, "d/sl is the branch of 2, and the corresponding AUG is 2#AUG.
若为上载业务, 则:  If you are uploading a business, then:
上载业务的出 AUG的 AUG序号 n3的计算公式为: n3=「u/sl ;  The AUG number of the AUG that uploads the service is calculated as: n3=“u/sl ;
对应 AUG中 TU的序号 m2的计算公式为: m2=mod ( u/s ) ; 其中, n3 为上载业务的出 AUG的 AUG序号, u为上载业务的入时隙支路口号; s为支 路板速率类别号, Π表示向上取整) , mod()为求余函数。  The calculation formula of the serial number m2 corresponding to the TU in the AUG is: m2=mod (u/s); where n3 is the AUG number of the AUG for the upload service, u is the inbound slot number of the upload service; s is the branch The board rate category number, Π indicates rounding up), and mod() is the remainder function.
根据以上计算方法, 一类、 二类支路板的上载业务固定连接如图 3、 图 6 所示。 图 3为一类支路板处理上载业务的示意图。 一类支路板的所有支路口 号 (图中标为 1# )对应 1#出 AUG; 图 6为二类支路板处理上载业务的示意 图。 图中示意前半部分支路口 (图中标为 1# ) , 即「u/sl为 1的支路口, 对应 的出 AUG为 1#AUG, 后半部分支路口 (图中标为 2# ) , 即「u/sl为 2的支路 口, 对应的入 AUG为 2#AUG。  According to the above calculation method, the fixed connection of the uploading services of the first and second types of tributary boards is as shown in Fig. 3 and Fig. 6. Figure 3 is a schematic diagram of a type of tributary board processing upload service. All the branch number of the tributary board (labeled 1# in the figure) corresponds to 1# out of AUG; Figure 6 is a schematic diagram of the processing of the uploading service of the second type tributary board. The figure shows the front half of the branch (marked as 1# in the figure), that is, "the branch with u/sl is 1, the corresponding AUG is 1#AUG, and the second half is marked as 2#," u/sl is the branch of 2, and the corresponding AUG is 2#AUG.
方案二:按特定规则将支路口分组,建立支路口分组与入 AUG或出 AUG 之间的映射关系 Option 2: group the branch ports according to specific rules, establish branch road grouping and enter AUG or AUG Mapping relationship
处理下载业务时, 所述支路板包括第一、 第二下载业务支路口组以及第 一、 第二、 第三、 第四入 AUG, 所述第一、 第二下载业务支路口组的支路口 数目相同, 下载业务的固定连接配置规则指第一下载业务支路口组对应第一 入 AUG和第三入 AUG, 第二下载业务支路口对应第二、 第四入 AUG, 且第 一、 第二入 AUG作为无保护的业务以及保护业务的工作 AUG, 第三、 第四 入 AUG作为保护业务的保护 AUG。  When the download service is processed, the tributary board includes the first and second download service branch port groups, and the first, second, third, and fourth incoming AUGs, and the first and second download service branch ports The number of intersections is the same. The fixed connection configuration rule of the download service means that the first download service branch port group corresponds to the first entry AUG and the third entry AUG, the second download service branch port corresponds to the second and fourth entry AUG, and the first and the first The second AUG is used as the unprotected service and the protection service AUG, and the third and fourth AUG are the protection AUG.
处理上载业务时, 所述支路板包括第一上载业务支路口组、 第二上载业 务支路口组、 第一出 AUG和第二出 AUG, 其中, 所述第一上载业务支路口 组和第二上载业务支路口组的支路口数相同, 上载业务的固定连接配置规则 指第一上载业务支路口组对应第一出 AUG, 第二上载业务支路口组对应第二 出 AUG。  When the uploading service is processed, the tributary board includes a first uploading service tributary port group, a second uploading service tributary port group, a first outgoing AUG, and a second outgoing AUG, wherein the first uploading service tributary group and the first The number of the tributary ports of the uploading service tributary group is the same. The fixed connection configuration rule of the uploading service refers to the first AUG of the first uploading service tributary group and the second AUG of the second uploading service tributary group.
具体地, SDH设备可以根据下载或上载业务支路口组的划分方法计算或 查表确定具体的支路口对应的下载或上载业务支路口组。 所述下载或上载业 务支路口组的划分方法相同或不同。  Specifically, the SDH device may calculate or check the table according to the division method of the download or upload service branch group to determine the download or upload service branch group corresponding to the specific branch port. The method of dividing the download or upload service branch group is the same or different.
一种划分方法是:是根据所有支路口的排列顺序, 以一个 AUG的容量为 单位进行分为若干个小组后, 按小组的奇偶数分别划分为第一下载或上载业 务支路口组和第二下载或上载业务支路口组。  A division method is: according to the arrangement order of all the branch ports, divided into several groups according to the capacity of one AUG, and divided into the first download or upload service branch group and the second according to the parity of the group. Download or upload a business branch group.
可替换地, 另一种划分方法是: 根据所有支路口的排列顺序, 前半部分 划分为第一下载或上载业务支路口组, 后半部分划分为第二下载或上载业务 支路口组。  Alternatively, another method of division is: According to the order of arrangement of all the branch ports, the first half is divided into the first download or upload service branch group, and the second half is divided into the second download or upload service branch group.
本发明的目的在于提供一种支路板上时隙的分类处理方式, 以保证支路 板上尽可能多的接入业务和提高时隙在支路板配置的成功率和效率。  It is an object of the present invention to provide a method for classifying time slots on a tributary board to ensure as much access service as possible on the tributary board and to improve the success rate and efficiency of the time slot configuration on the tributary board.
下面以 SDH设备上的一块 VC12支路板和一块 VC11支路板为例, 讲解 本发明的实现步骤。  The following takes the VC12 tributary board and a VC11 tributary board on the SDH device as an example to explain the implementation steps of the present invention.
实施例 2  Example 2
该实施例 2中, 1#支路板是 126口 VC12支路板, 针对 1#支路板执行以 下操作。 第一步 判断支路板类别; In the second embodiment, the 1# tributary board is a 126-port VC12 tributary board, and the following operations are performed for the 1# tributary board. The first step is to determine the type of tributary board;
1#支路板为 126口 VC12支路板,根据计算方式 63口 VC12=1AUG的容 量, 则 126口 VC12=2AUG容量, 该 1#支路板为二类支路板, 按照二类支路 板进行处理。  1# tributary board is 126 VC12 tributary board, according to the calculation mode 63 port VC12=1AUG capacity, then 126 port VC12=2AUG capacity, the 1# tributary board is the second type tributary board, according to the second type tributary The board is processed.
第二步 处理下载业务;  The second step is to process the download service;
此支路板上存在两条下载业务, 一条 VC12的普通业务(1#时隙流)和 一条 VC12的通道保护业务(2#时隙流) , 具体数据如下:  There are two download services on the tributary board, one VC12 common service (1# slot stream) and one VC12 channel protection service (2# slot stream). The specific data is as follows:
1#时隙流→ 1#支路板 1#支路口,  1#slot flow→1# tributary board 1# tributary,
2#时隙流→ 1#支路板 64#支路口。  2# time slot flow → 1# tributary board 64# tributary.
根据前述方案一的计算原理,  According to the calculation principle of the foregoing scheme 1,
第一条下载业务是无保护的正常业务。 「d/sl =「1/631 =1=工作 AUG号; mod ( d/s ) = mod ( 1/63 ) =1=对应 AUG中的 TU号。  The first download service is unprotected normal business. "d/sl = "1/631 =1=Work AUG number; mod ( d/s ) = mod ( 1/63 ) =1= Corresponds to the TU number in the AUG.
第二条下载业务是保护业务。「(^1 =「64/631 =2=工作 1^号; 「d/s K2 = 「64/631 +2=4=保护 AUG号; mod ( d/s ) = mod ( 64/63 ) =1=对应 AUG中的 TU号。  The second download service is to protect the business. "(^1 = "64/631 = 2= work 1^ number; "d/s K2 = "64/631 +2=4=protect AUG number; mod ( d/s ) = mod ( 64/63 ) = 1 = corresponds to the TU number in the AUG.
按照计算出来的结果进行配置得到的就如图 7所示。  According to the calculated results, the configuration is as shown in Fig. 7.
第三步 处理上载业务;  The third step is to process the uploading business;
此支路板上存在两条上载业务, 两条 VC12的普通业务( 3#时隙流和 3# 时隙流) , 具体数据如下:  There are two upload services on the tributary board, two common services of VC12 (3# slot stream and 3# slot stream). The specific data is as follows:
1#支路板 2#支路口→ 3#时隙流,  1# tributary board 2# tributary → 3# time slot flow,
1#支路板 120#支路口→ 4#时隙流。  1# tributary board 120# tributary → 4# time slot flow.
根据方案一的计算原理,  According to the calculation principle of the first scheme,
处理第一条上载业务, 「u/sl =「2/631 =1 =上载业务的出 AUG的 AUG序 号; mod ( u/s ) = mod ( 2/63 ) =2=对应 AUG中的 TU号。  Handling the first upload service, "u/sl = "2/631 =1 = AUG number of the AUG for uploading the service; mod ( u/s ) = mod ( 2/63 ) = 2 = corresponding TU number in the AUG .
处理第二条上载业务, 「u/sl =「120/631 =2=上载业务的出 AUG的 AUG 序号; mod ( u/s ) = mod ( 120/63 ) =57=对应 AUG中的 TU号。  Handling the second uploading service, "u/sl = "120/631 = 2=AUG number of the AUG for uploading the service; mod (u/s) = mod (120/63) = 57= corresponding to the TU number in the AUG .
按照计算出来的结果进行配置得到的就如图 8所示。 实施例 3 According to the calculated results, the configuration is as shown in FIG. 8. Example 3
该实施例 3中, 2#数据板(支路板的一种)是 336口 VC11数据板, 针 对该 2#支路板执行以下操作:  In the third embodiment, the 2# data board (one of the branch boards) is a 336-port VC11 data board, and the following operations are performed on the 2# branch board:
第一步 判断支路板类别;  The first step is to judge the tributary board category;
2#支路板为 336口 VC11支路板,根据计算方式 84口 VC11=1AUG的容 量, 则 336口 VC11= 336/84=4AUG的容量,符合三类支路板的分类定义, 按 照三类支路板进行处理。  2# tributary board is 336 VC11 tributary board, according to the calculation mode 84 port VC11=1AUG capacity, then 336 port VC11= 336/84=4AUG capacity, in line with the classification definition of the three types of tributary boards, according to three categories The tributary board is processed.
第二步 处理下载业务;  The second step is to process the download service;
此支路板上存在两条下载业务, 一条 VC11 的普通业务(5#时隙流)和 一条 VC11的通道保护业务(6#时隙流) , 具体数据如下:  There are two download services on the tributary board, one VC11 common service (5# slot stream) and one VC11 channel protection service (6# slot stream). The specific data is as follows:
5#时隙流→ 2#支路板 180#支路口,  5# time slot flow → 2# tributary board 180# tributary,
6#时隙流→ 2#支路板 268#支路口,  6# time slot flow → 2# tributary board 268# tributary,
根据计算原理, 对于三类支路板釆用插空配置方式, 首先寻找一个空闲 的入 TU11位置分配给第一条无保护的 VC11普通业务,然后再寻找两个空闲 的入 TU1位置分配给第二条保护 VC11业务。  According to the calculation principle, for the three types of tributary boards, the first step is to find an idle TU11 location and assign it to the first unprotected VC11 common service, and then find two idle TU1 locations to allocate to the first. Two to protect the VC11 business.
按照计算出来的结果进行配置得到的就如图 9所示, 可理解的, 图 9中 仅为示例。  The configuration according to the calculated results is as shown in Fig. 9. It can be understood that only the example is shown in Fig. 9.
第三步 处理上载业务。先判断本次该支路板上是否存在上载业务, 此支 路板上存在一条上载业务, VC11的普通业务(7#时隙流), 具体数据如下: 2#支路板 300#支路口→ 7#时隙流  The third step is to process the upload business. First, it is judged whether there is an upload service on the tributary board. There is an upload service on the tributary board, and the general service of VC11 (7# slot stream). The specific data is as follows: 2# tributary board 300# tributary → 7# slot flow
根据计算原理, 对于三类支路板釆用插空配置方式, 寻找一个空闲的出 TU11位置分配给无保护的 VC11普通业务, 如图 10所示, 可理解的, 图 10 中仅为示例。  According to the calculation principle, for the three types of tributary boards, the allocation of an idle TU11 location is assigned to the unprotected VC11 common service, as shown in FIG. 10, which is understandable, and FIG. 10 is only an example.
实施例 4  Example 4
以上实施例 1至 3是从对单个支路板进行时隙配置处理的角度进行描述 的, 以下实施例 4中以实施例 1的方案为基础, 从 SDH设备处理的角度进行 描述, 如图 11所示, 该实施例 4包括: 步骤 111 : 获取支路板数据, 优选地, 该支路板数据为支路口总数; 步骤 112: 判断支路板类型, 以进行分类处理; The above embodiments 1 to 3 are described from the perspective of performing slot configuration processing on a single tributary board. The following embodiment 4 is based on the scheme of the embodiment 1, and is described from the perspective of processing by the SDH device, as shown in FIG. As shown, this embodiment 4 includes: Step 111: Obtain tributary board data. Preferably, the tributary board data is a total number of tributary ports; Step 112: determine a tributary board type for classification processing;
支路板分类的一种优选规则如下:  A preferred rule for tributary board classification is as follows:
一类支路板:该支路板的支路口总数低于或等于一个 AUG能够容纳的该 支路板支持业务最大数;  A type of tributary board: the total number of tributaries of the tributary board is lower than or equal to the maximum number of supporting services of the tributary board that an AUG can accommodate;
二类支路板:该支路板的支路口总数大于一个 AUG能够容纳的该支路板 支持业务最大数,且小于或者等于两个 AUG能够容纳的该支路板支持业务最 大数;  The tributary board of the second type: the total number of the branch ports of the tributary board is greater than the maximum number of supporting services of the tributary board that can be accommodated by the AUG, and is less than or equal to the maximum number of supporting services of the tributary board that the two AUGs can accommodate;
三类支路板:该支路板的支路口总数大于两个 AUG能够容纳的该支路板 支持业务最大数。  Three types of tributary boards: The total number of tributaries of the tributary board is greater than the maximum number of tributaries supported by the two AUGs.
所谓 AUG所能够容纳的该支路板支持业务的最大数, 是指一个 AUG中 最多能够包含 3个 VC3、 或者 63个 VC12、 或者 84个 VC11 , 那么对于 VC3 类型的支路板支持 VC3业务最大数就是 3个, 其余依此类推。  The maximum number of support services that the AUG can accommodate is that an AUG can contain up to three VC3s, or 63 VC12s, or 84 VC11s. The VC3 type tributary board supports the largest VC3 service. The number is three, and so on.
步骤 113: 判断是否存在下载业务, 若该支路板没有下载业务, 转执行 步骤 116, 否则执行步骤 114;  Step 113: Determine whether there is a download service, if the tributary board does not download the service, go to step 116, otherwise go to step 114;
步骤 114: 处理下载业务;  Step 114: Processing the download service;
所谓下载业务的固定连接配置方式, 就是所有的配置接连都是固定的, 每次都釆用同样的路径。 所谓下载业务的插空配置方式, 即不区分是否是保 护业务, 对所有入 AUG端进行查找, 得到空闲位置分配给业务进行接入。  The so-called fixed connection configuration method of the download service is that all the configurations are fixed one after another, and the same path is used every time. The so-called plug-in configuration mode of the download service, that is, whether it is a protection service or not, all the incoming AUG terminals are searched, and the idle location is allocated to the service for access.
若此支路板属于一类和二类支路板, 则所有下载业务的时隙釆用固定连 接的配置方式。  If the tributary board belongs to the class 1 and type 2 tributary boards, the time slots of all download services are fixedly connected.
若此支路板属于三类支路板, 所有下载业务的时隙釆用插空配置方式。 具体的入 AUG序号及 TU序号根据前述方案一确定。  If the tributary board belongs to the three types of tributary boards, the time slots of all download services are configured by inserting empty. The specific AUG serial number and TU serial number are determined according to the foregoing scheme 1.
步骤 115: 判断下载业务是否处理成功, 若处理成功则执行步骤 116, 否 则流程结束;  Step 115: Determine whether the download service is successfully processed. If the processing is successful, execute step 116, otherwise the process ends.
步骤 116: 判断是否存在上载业务, 若该支路板没有上载业务, 则执行 步骤 119, 否则执行步骤 117; 步骤 117: 处理上载业务; Step 116: Determine whether there is an upload service, if the tributary board does not upload the service, step 119 is performed, otherwise step 117 is performed; Step 117: Processing the upload service;
若此支路板属于一类或者二类支路板, 则所有的时隙釆用固定连接的配 置方式。  If the tributary board belongs to a class 1 or class 2 tributary board, all time slots are configured in a fixed connection.
若此支路板属于三类支路板, 则所有的时隙釆用插空配置方式。 具体的 出 AUG序号及 TU序号根据前述方案一确定。  If the tributary board belongs to the three types of tributary boards, all the time slots are arranged in an empty space. The specific AUG serial number and TU serial number are determined according to the foregoing scheme 1.
步骤 118: 判断上载业务是否处理成功, 若处理成功则执行步骤 119, 否 则流程结束;  Step 118: Determine whether the upload service is processed successfully. If the process is successful, execute step 119, otherwise the process ends.
步骤 119: 判断是否还有支路板未配置, 若有返回步骤 111 , 否则流程结 束。  Step 119: Determine if there is still a tributary board that is not configured. If yes, return to step 111, otherwise the process ends.
综上所述, 本发明所提出的以分类处理的方式配置支路板业务的方法, 不仅可以有效的提升处理效率, 而且能够尽量利用已有的支路资源。  In summary, the method for configuring the tributary board service in the classification processing manner proposed by the present invention not only can effectively improve the processing efficiency, but also can utilize the existing branch resources as much as possible.
为了实现以上方法, 本发明还提供了一种支路板时隙配置装置, 该装置 可在 SDH设备中实现, 包括:  In order to implement the above method, the present invention also provides a tributary board time slot configuration device, which can be implemented in an SDH device, including:
配置方式确定模块, 用于根据支路板的支路口总数确定时隙配置方式, 若支路口总数小于或等于预设阔值则确定为固定连接配置方式, 否则确定为 插空配置方式;  The configuration mode determining module is configured to determine a time slot configuration mode according to the total number of the branch ports of the tributary board, and determine the fixed connection configuration mode if the total number of the branch ports is less than or equal to the preset threshold, otherwise the method is determined to be an empty insertion configuration manner;
时隙配置处理模块, 用于根据确定的时隙配置方式对支路板的业务进行 时隙配置处理。  The time slot configuration processing module is configured to perform time slot configuration processing on the service of the tributary board according to the determined time slot configuration manner.
进一步地, 进行时隙配置处理时, 若所述时隙配置方式确定为固定连接 配置方式, 所述时隙配置处理模块, 根据预置的固定连接配置规则计算或查 询预置的固定连接配置数据库确定下载或上载业务的支路口对应的入 AUG 或出 AUG中支路单元(TU ) 的位置; 若所述时隙配置方式确定为插空配置 方式,所述时隙配置处理模块在所有入 AUG或出 AUG进行查找,将入 AUG 或出 AUG中空闲 TU的位置分配给下载或上载业务。  Further, when the time slot configuration process is performed, if the time slot configuration mode is determined to be a fixed connection configuration mode, the time slot configuration processing module calculates or queries a preset fixed connection configuration database according to a preset fixed connection configuration rule. Determining the location of the AUG or the AUG tributary unit (TU) corresponding to the tributary of the download or upload service; if the time slot configuration mode is determined to be the empty configuration mode, the time slot configuration processing module enters the AUG at all Or the AUG is used to find the location of the idle TU in the AUG or out of the AUG to the download or upload service.
优选地, 所述预设阔值为两个管理单元组(AUG )容纳的该支路板支持 业务的最大数。  Preferably, the preset threshold is a maximum number of services supported by the tributary board accommodated by two management unit groups (AUGs).
优选地, 所述固定连接配置规则包括下载业务配置规则, 所述固定连接 配置数据库包括下载业务配置数据库, 所述下载业务配置规则和所述下载业 务配置数据库具有如下特点:用于下载业务的入 AUG与用于保护业务的保护 侧的入 AUG不同, 但个数相同。 Preferably, the fixed connection configuration rule includes a download service configuration rule, the fixed connection configuration database includes a download service configuration database, the download service configuration rule, and the download service The configuration database has the following characteristics: the incoming AUG for downloading services is different from the incoming AUG for protecting the protection side, but the number is the same.
优选地, 待处理业务为下载业务时, 所述时隙配置处理模块根据以下公 式进行计算:  Preferably, when the to-be-processed service is a download service, the time slot configuration processing module performs calculation according to the following formula:
下载业务的工作 AUG的 AUG序号 nl的计算公式为: nl=「d/sl ;  Download the business work AUG AUG serial number nl calculation formula is: nl = "d / sl;
下载的保护业务的保护 AUG的 AUG序号 n2的计算公式为: n2=「d/sl+2; 对应 AUG中的 TU(Tributary Unit, 支路单元)的序号 ml的计算公式为: ml=mod ( d/s )  Download the protection service protection AUG AUG number n2 calculation formula is: n2 = "d / sl + 2; corresponding to the AUG in the TU (Tributary Unit, the tributary unit) serial number ml is calculated as: ml = mod ( d/s )
其中, nl表示下载业务的工作 AUG的 AUG序号, Π表示向上取整, d 表示下载业务的出时隙支路口号, s表示支路板速率类别号; n2表示下载的 保护业务的保护 AUG的 AUG序号; ml表示对应 AUG中的 TU的序号, mod() 为求余函数;  Wherein, nl indicates the AUG number of the working AUG of the download service, Π indicates rounding up, d indicates the time slot tributary number of the download service, s indicates the tributary board rate category number; n2 indicates the protection of the downloaded protection service AUG AUG serial number; ml indicates the serial number of the TU in the corresponding AUG, and mod() is the remainder function;
待处理业务为上载业务时, 所述时隙配置处理模块根据以下公式计算: 上载业务的出 AUG的 AUG序号 n3的计算公式为: n3=「u/sl ;  When the service to be processed is an upload service, the time slot configuration processing module calculates according to the following formula: The AUG number of the AUG of the upload service is calculated as: n3=“u/sl;
对应 AUG中 TU的序号 m2的计算公式为: m2=mod ( u/s ) ; 其中, n3 为上载业务的出 AUG的 AUG序号, u为上载业务的入时隙支路口号; s为支 路板速率类别号, Π表示向上取整) , mod()为求余函数。  The calculation formula of the serial number m2 corresponding to the TU in the AUG is: m2=mod (u/s); where n3 is the AUG number of the AUG for the upload service, u is the inbound slot number of the upload service; s is the branch The board rate category number, Π indicates rounding up), and mod() is the remainder function.
可替换地, 处理下载业务时, 所述支路板包括第一、 第二下载业务支路 口组以及第一、 第二、 第三、 第四入 AUG, 所述第一、 第二下载业务支路口 组的支路口数目相同, 下载业务的固定连接配置规则指第一下载业务支路口 组对应第一入 AUG和第三入 AUG, 第二下载业务支路口对应第二、 第四入 AUG, 且第一、 第二入 AUG作为无保护的业务以及保护业务的工作 AUG, 第三、 第四入 AUG作为保护业务的保护 AUG; 处理上载业务时, 所述支路 板包括第一上载业务支路口组、第二上载业务支路口组、第一出 AUG和第二 出 AUG, 其中, 所述第一上载业务支路口组和第二上载业务支路口组的支路 口数相同, 上载业务的固定连接配置规则指第一上载业务支路口组对应第一 出 AUG, 第二上载业务支路口组对应第二出 AUG。  Alternatively, when processing the download service, the tributary board includes first and second download service branch port groups, and first, second, third, and fourth incoming AUGs, and the first and second download service branches The number of the tributaries of the intersection group is the same. The fixed connection configuration rule of the download service means that the first download service branch group corresponds to the first entry AUG and the third entry AUG, and the second download service branch port corresponds to the second and fourth entry AUG, and The first and second AUGs serve as unprotected services and protect the service AUG, and the third and fourth AUGs serve as protection AUGs for the protection service; when processing the upload service, the tributary board includes the first upload service branch The group, the second upload service branch group, the first outbound AUG, and the second outbound AUG, wherein the first upload service branch port group and the second upload service branch port group have the same number of branch ports, and the fixed connection of the upload service The configuration rule indicates that the first upload service branch port group corresponds to the first out AUG, and the second upload service branch port group corresponds to the second out AUG.
所述支路板根据下载或上载业务支路口组的划分方法计算或查表确定具 体的支路口对应的下载或上载业务支路口组, 所述下载或上载业务支路口组 的划分方法相同或不同。 The tributary board calculates or looks up the table according to the division method of the download or upload service branch group The downloading or uploading service branch group corresponding to the branch of the body is the same or different.
可选地, 所述下载或上载业务支路口组的划分是根据所有支路口的排列 顺序, 以一个 AUG的容量为单位进行分为若干个小组后,按小组的奇偶数分 别划分为第一下载或上载业务支路口组和第二下载或上载业务支路口组。  Optionally, the dividing of the download or upload service branch group is divided into several groups according to the order of all the branch ports, and then divided into the first download according to the parity of the group. Or upload the business branch group and the second download or upload service branch group.
工业实用性 Industrial applicability
釆用本发明实施例的方法和装置, 有效弥补了现有技术对支路板业务的 处理缺陷, 提高了处理的速度, 降低了支路板上下业务侧的资源浪费。 具体 有:  By using the method and device of the embodiment of the present invention, the processing defects of the tributary board service in the prior art are effectively compensated, the processing speed is improved, and the resource waste on the service side of the tributary board is reduced. Specifically:
( 1 )解决了对各种类型的支路板釆用统一处理方式而导致的效率低的问 题;  (1) Solving the problem of low efficiency caused by the uniform treatment of various types of tributary boards;
( 2 )解决了对数据板进行处理时, 有剩余资源却无法配置业务的情况。  (2) It solves the problem that when the data board is processed, there are remaining resources but the service cannot be configured.

Claims

权 利 要 求 书 Claim
1、 一种支路板时隙配置方法, 该方法包括: A method for configuring a tributary board time slot, the method comprising:
同步数字体系( SDH )设备根据支路板的支路口总数确定时隙配置方式, 若支路口总数小于或等于预设阔值则确定为固定连接配置方式, 否则确定为 插空配置方式;  The synchronous digital system (SDH) device determines the time slot configuration mode according to the total number of the branch ports of the tributary board, and determines the fixed connection configuration mode if the total number of the branch ports is less than or equal to the preset threshold, otherwise it is determined to be an empty insertion configuration manner;
所述 SDH设备根据确定的时隙配置方式对支路板的业务进行时隙配置 处理。  The SDH device performs time slot configuration processing on the services of the tributary board according to the determined time slot configuration manner.
2、 如权利要求 1所述的方法, 其中, 2. The method of claim 1 wherein
进行时隙配置处理时, 若所述时隙配置方式确定为固定连接配置方式, 则根据预置的固定连接配置规则计算或查询预置的固定连接配置数据库确定 下载或上载业务的支路口对应的入管理单元组(AUG )或出 AUG 中支路单 元(TU ) 的位置;  When the time slot configuration process is performed, if the time slot configuration mode is determined to be the fixed connection configuration mode, the preset fixed connection configuration database is calculated or queried according to the preset fixed connection configuration rule to determine the corresponding branch port of the download or upload service. Enter the location of the management unit group (AUG) or the branch unit (TU) in the AUG;
若所述时隙配置方式确定为插空配置方式, 则在所有入 AUG或出 AUG 进行查找, 将入 AUG或出 AUG中空闲 TU的位置分配给下载或上载业务。  If the time slot configuration mode is determined to be an empty insertion configuration mode, the search is performed on all AUGs or AUGs, and the location of the idle TUs in the AUG or AUG is allocated to the download or upload service.
3、 如权利要求 1 所述的方法, 其中, 所述预设阔值为两个管理单元组3. The method according to claim 1, wherein the preset threshold is two management unit groups
( AUG )容纳的该支路板支持业务的最大数。 (AUG) The maximum number of services supported by the tributary board.
4、 如权利要求 2所述的方法,其中, 所述固定连接配置规则包括下载业 务配置规则, 或所述固定连接配置数据库包括下载业务配置数据库, 所述下 载业务配置规则或所述下载业务配置数据库具有如下特点: 用于下载业务的 入 AUG与用于保护业务的保护侧的入 AUG不同, 但个数相同。 4. The method of claim 2, wherein the fixed connection configuration rule comprises downloading a service configuration rule, or the fixed connection configuration database comprises a download service configuration database, the download service configuration rule or the download service configuration The database has the following characteristics: The incoming AUG for downloading services is different from the incoming AUG for protecting the protection side, but the number is the same.
5、 如权利要求 1所述的方法, 其中, 进行时隙配置处理时, 若为下载业 务, 则: 5. The method according to claim 1, wherein, when performing the time slot configuration process, if it is a download service, then:
下载业务的工作 AUG的 AUG序号 nl的计算公式为: nl=「d/sl ;  Download the business work AUG AUG serial number nl calculation formula is: nl = "d / sl;
下载的保护业务的保护 AUG的 AUG序号 n2的计算公式为: n2=「d/sl +2; 对应 AUG中的支路单元( TU ) 的序号 ml的计算公式为: ml=mod ( d/s ) The protection formula of the downloaded protection AUG AUG number n2 is: n2=“d/sl +2; The calculation formula of the serial number ml corresponding to the branch unit (TU) in the AUG is: Ml=mod ( d/s )
其中, nl表示下载业务的工作 AUG的 AUG序号, Π表示向上取整, d 表示下载业务的出时隙支路口号, s表示支路板速率类别号; n2表示下载的 保护业务的保护 AUG的 AUG序号; ml表示对应 AUG中的 TU的序号, mod() 为求余函数;  Wherein, nl indicates the AUG number of the working AUG of the download service, Π indicates rounding up, d indicates the time slot tributary number of the download service, s indicates the tributary board rate category number; n2 indicates the protection of the downloaded protection service AUG AUG serial number; ml indicates the serial number of the TU in the corresponding AUG, and mod() is the remainder function;
若为上载业务, 则:  If you are uploading a business, then:
上载业务的出 AUG的 AUG序号 n3的计算公式为: n3=「u/sl ;  The AUG number of the AUG that uploads the service is calculated as: n3=“u/sl ;
对应 AUG中 TU的序号 m2的计算公式为: m2=mod ( u/s ) ; 其中, n3 为上载业务的出 AUG的 AUG序号, u为上载业务的入时隙支路口号; s为支 路板速率类别号, Π表示向上取整) , mod()为求余函数。  The calculation formula of the serial number m2 corresponding to the TU in the AUG is: m2=mod (u/s); where n3 is the AUG number of the AUG for the upload service, u is the inbound slot number of the upload service; s is the branch The board rate category number, Π indicates rounding up), and mod() is the remainder function.
6、 如权利要求 1所述的方法, 其中, 处理下载业务时, 所述支路板包括 第一、 第二下载业务支路口组以及第一、 第二、 第三、 第四入 AUG, 所述第 一、 第二下载业务支路口组的支路口数目相同, 下载业务的固定连接配置规 则指第一下载业务支路口组对应第一入 AUG和第三入 AUG, 第二下载业务 支路口对应第二、 第四入 AUG, 且第一、 第二入 AUG作为无保护的业务以 及保护业务的工作 AUG, 第三、 第四入 AUG作为保护业务的保护 AUG; 处理上载业务时, 所述支路板包括第一上载业务支路口组、 第二上载业 务支路口组、 第一出 AUG和第二出 AUG, 其中, 所述第一上载业务支路口 组和第二上载业务支路口组的支路口数相同, 上载业务的固定连接配置规则 指第一上载业务支路口组对应第一出 AUG, 第二上载业务支路口组对应第二 出 AUG。 The method according to claim 1, wherein, when processing the download service, the tributary board includes first and second download service branch groups and first, second, third, and fourth access AUGs, The number of the tributary ports of the first and second download service tributary groups is the same, and the fixed connection configuration rule of the download service refers to the first download service tributary group corresponding to the first entry AUG and the third entry AUG, and the second download service tributary corresponding to The second and fourth AUGs, and the first and second AUGs serve as unprotected services and protect the service AUG, and the third and fourth AUGs serve as protection AUGs for the protection service; when processing the upload service, the support The road board includes a first upload service branch port group, a second upload service branch port group, a first output AUG, and a second output AUG, wherein the first upload service branch port group and the second upload service branch port group support The number of intersections is the same. The fixed connection configuration rule of the upload service means that the first upload service branch port group corresponds to the first out AUG, and the second upload service branch port group corresponds to the second out AUG.
7、 如权利要求 6所述的方法, 其中, 所述 SDH设备根据下载或上载业 务支路口组的划分方法计算或查表确定具体的支路口对应的下载或上载业务 支路口组, 所述下载或上载业务支路口组的划分方法相同或不同; 7. The method according to claim 6, wherein the SDH device calculates or checks a table according to a method for dividing a download or upload service branch port group to determine a download or upload service branch port group corresponding to a specific branch port, and the downloading Or the method of dividing the uploading service branch group is the same or different;
所述下载或上载业务支路口组的划分方法为: 根据所有支路口的排列顺 序, 以一个 AUG的容量为单位进行分为若干个小组后,按小组的奇偶数分别 划分为第一下载或上载业务支路口组和第二下载或上载业务支路口组; 或, 根据所有支路口的排列顺序,前半部分划分为第一下载或上载业务支路口组, 后半部分划分为第二下载或上载业务支路口组。 The method for dividing the download or upload service branch group is as follows: according to the order of all the branch ports, after being divided into several groups according to the capacity of one AUG, the group is divided into the first download or upload according to the parity of the group. The service branch group and the second download or upload service branch group; or, according to the arrangement order of all the branch ports, the first half is divided into the first download or upload service branch group, The second half is divided into the second download or upload service branch group.
8、 一种支路板时隙配置装置, 该装置包括: 8. A tributary board time slot configuration device, the device comprising:
配置方式确定模块, 其设置为: 根据支路板的支路口总数确定时隙配置 方式, 若支路口总数小于或等于预设阔值则确定为固定连接配置方式, 否则 确定为插空配置方式;  The configuration mode determining module is configured to: determine the time slot configuration mode according to the total number of the branch ports of the tributary board, and determine the fixed connection configuration mode if the total number of the branch ports is less than or equal to the preset threshold; otherwise, the configuration is an empty insertion configuration;
时隙配置处理模块, 其设置为: 根据确定的时隙配置方式对支路板的业 务进行时隙配置处理。  The time slot configuration processing module is configured to: perform time slot configuration processing on the services of the tributary board according to the determined time slot configuration manner.
9、 如权利要求 8所述的装置, 其中, 9. The apparatus according to claim 8, wherein
所述时隙配置处理模块还设置为: 进行时隙配置处理时, 若所述时隙配 置方式确定为固定连接配置方式, 根据预置的固定连接配置规则计算或查询 预置的固定连接配置数据库确定下载或上载业务的支路口对应的入管理单元 组(AUG )或出 AUG中支路单元(TU ) 的位置;  The time slot configuration processing module is further configured to: when performing the time slot configuration process, if the time slot configuration mode is determined to be a fixed connection configuration mode, calculate or query a preset fixed connection configuration database according to a preset fixed connection configuration rule. Determining the location of the incoming management unit group (AUG) corresponding to the branch port of the download or upload service or the branch unit (TU) in the AUG;
所述时隙配置处理模块还设置为: 若所述时隙配置方式确定为插空配置 方式, 在所有入 AUG或出 AUG进行查找, 将入 AUG或出 AUG中空闲 TU 的位置分配给下载或上载业务。  The time slot configuration processing module is further configured to: if the time slot configuration mode is determined to be an empty insertion configuration mode, search for all incoming AUGs or AUGs, and allocate the location of the idle TUs in the AUG or the AUG to the download or Upload the business.
10、 如权利要求 8所述的装置, 其中, 所述预设阔值为两个管理单元组 ( AUG )容纳的该支路板支持业务的最大数。 10. The apparatus according to claim 8, wherein the preset threshold is a maximum number of services supported by the tributary board accommodated by two management unit groups (AUGs).
PCT/CN2012/072589 2011-06-17 2012-03-20 Time slot configuration method and apparatus of tributary board WO2012171372A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110163790.1 2011-06-17
CN201110163790.1A CN102833028B (en) 2011-06-17 Tributary card time-slot configuring method and device

Publications (1)

Publication Number Publication Date
WO2012171372A1 true WO2012171372A1 (en) 2012-12-20

Family

ID=47336013

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072589 WO2012171372A1 (en) 2011-06-17 2012-03-20 Time slot configuration method and apparatus of tributary board

Country Status (1)

Country Link
WO (1) WO2012171372A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767418A (en) * 2004-10-27 2006-05-03 中兴通讯股份有限公司 Time slot collocating method for optimizing time-division resource
CN1905755A (en) * 2005-07-28 2007-01-31 中兴通讯股份有限公司 Light plate time slot time division optimizing configuration method on branch plate of SDH system
CN1905426A (en) * 2005-07-28 2007-01-31 中兴通讯股份有限公司 Method of light plate lower branch time slot time division optimizing configuration of SDH system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767418A (en) * 2004-10-27 2006-05-03 中兴通讯股份有限公司 Time slot collocating method for optimizing time-division resource
CN1905755A (en) * 2005-07-28 2007-01-31 中兴通讯股份有限公司 Light plate time slot time division optimizing configuration method on branch plate of SDH system
CN1905426A (en) * 2005-07-28 2007-01-31 中兴通讯股份有限公司 Method of light plate lower branch time slot time division optimizing configuration of SDH system

Also Published As

Publication number Publication date
CN102833028A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
US20070280223A1 (en) Hybrid data switching for efficient packet processing
US8532114B2 (en) Cluster router and cluster routing method
CN1538694A (en) System and method for high-availability, direct, flexible and scalable switching of data packets in broadband networks
CN101645880A (en) Method and device for forwarding data frame based on line bundle
CN101056257A (en) Method and system for implementing the link aggregation and protection switching
CN101873269A (en) Data retransmission device and method for distributing buffer to ports
WO2014076573A2 (en) Distributed switchless interconnect
EP2920920A2 (en) Router with passive interconnect and distributed switchless switching
CN100531215C (en) Method for realizing multiple network device link aggregation
EP2104285B1 (en) Method and apparatus for reducing service loss in a link aggregation group
WO2007076728A1 (en) Method and device for transmission service using backplane service buses
CN101030844A (en) Fiber-optic channel service duplexer, data transmitting system and method
CN101043392A (en) Apparatus and base station equipment for transmitting IP packet in WiMAX network
US9118500B1 (en) Communications system with bonding engine configured for maximum packet fragment size as adapted to communications line pairs and related method
CN101159694B (en) Method of preventing fail fragment reassembly of IP sharing distributed system
WO2014076575A2 (en) Passive connectivity optical module
WO2012171372A1 (en) Time slot configuration method and apparatus of tributary board
CN101146018A (en) Allocation method for VLAN ID
CN103117956A (en) Automatic network system configuration method based on scheduling queues
CN101051931A (en) System and method for realizing business protection using LCAS protocol
CN103546949B (en) A kind of Access Network bandwidth scheduling method based on dormancy power-saving mechanism
CN1878136A (en) Method for recognizing multiple emulation service flow path
CN1767418B (en) Time slot collocating method for optimizing time-division resource
CN112218181B (en) Protection switching method and system
CN101616345B (en) Method and device for bridging ONU in EPON network

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: 12800579

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: 12800579

Country of ref document: EP

Kind code of ref document: A1