The present invention relates to digital communication field, in particular to a method and a system for self-routing in synchronous digital cross-connection.
A cross-connection device is an important part of an optical Synchronous Digital Hierarchy (SDH) system. Synchronous digital cross-connection realizes the transparent connection and the reconnection among a plurality of Virtual Containers (VC) formed in accordance with the Standard G.709. The transparent connection and the reconnection are controllable between any ports. Besides the SDH rates defined by the Standard 6707 and the Plesiochronous Digital Hierarchy (PDH) rates defined by the Standard G.702, these ports can also support control and management function defined by the SDH management standard G.784.
The grooming of the inter-layer traffic and the combination of the intra-layer traffic are one important aspect of the management of the cross-connection device. Wherein, the grooming of the inter-layer traffic is to groom a lower order path into a specific higher order path in accordance with service categories, destinations, or protection categories, and to enable these paths to be managed respectively. Likewise, a higher order path may also be groomed into a Synchronous Transport Module-N (STM-N) data stream. The combination of the intra-layer traffic is a process for improving service of a service layer, which combines a user connection from a service layer path into a service layer path with less service so as to enhance the utilization rate of the system or the device.
According to the types of the cross-connection, cross-connection devices can be divided into two categories, i.e., cross-connection devices for providing a higher order VC and cross-connection devices for providing a lower order VC. A cross-connection device for executing a higher order VC usually connects two or more STM-N data streams, wherein the STM-N data streams must be adjusted to the reference clock of the cross-connection device, and the pointers of the STM-N data streams are adjusted correspondingly. If the STM-N data streams are inserted into an Administration Unit (AU), synchronous cross-connection may be carried out on the STM-N data streams in a single space-division switching matrix, and the synchronous adjustment of the STM-N data streams ensures the non-invasive rearrangement in the matrix. A VC-3 or a VC-4 switching matrix with very big capacity is formed in this way. The cross-connection function of a lower order VC is similar to that of a higher order VC, except that the VC-3 is substituted by a lower order VC. A cross-connection relation may be established between a specific input end and a specific output end through configuring a cross matrix.
At the present time, a conventional method for determining a cross matrix of the cross-connection relation is that a network administrator configures a cross-connection chip through a processor interface. However, this method requires to occupy the system resources of the processor, and under an application environment where the cross capacity is very large and the cross matrix of the chip needs to be updated quickly, the self-routing configuration method using a processor can not satisfy the demand in practice.
In view of the problem mentioned above, the present invention provides a method and a system for self-routing in synchronous digital cross-connection. The method and the system provide users with a self-routing scheme for synchronous digital cross-connection, which can be realized with ease, occupies less system resources, has high reliability and is suitable for large capacity cross configuration.
The present invention provides a method for self-routing in synchronous digital cross-connection, comprising:
A. self-route transmitting means insert a cross-connection control memory (CM) data into a STM-N data stream according to a frame header indicator and a self-routing start address signal;
B. self-routing receiving means extract the CM data from the STM-N data stream according to the frame header indicator and the self-routing start address signal; and
C. the self-routing receiving means write the CM data into a cross-connection control memory.
Step A of the method further comprises:
the self-routing transmitting means perform cyclic redundancy check (CRC) on the CM data to be inserted into the STM-N data stream to obtain a first check value, and insert the first check value into the STM-N data stream;
Step B of the method further comprises: the self-routing receiving means extract the first check value from the STM-N data stream;
Step C of the method is:
the self-routing receiving means perform CRC check on the CM data extracted from the STM-N data stream to obtain a second check value, and compare the second check value with the first check value extracted from the STM-N data stream: if the second check value is the same as the first check value, the CM data will be written into the cross-connection control memory; otherwise, the CM data will not be written into the cross-connection control memory.
Step A of the method further comprises:
the self-routing transmitting means set a configuration allowance signal, and insert the configuration allowance signal into the STM-N data stream;
Step B of the method further comprises: the self-routing receiving means extract the configuration allowance signal from the STM-N data stream;
the Step C of the method is:
the self-route receiving means analyze the configuration allowance signal extracted from the STM-N data stream, and if the configuration allowance signal is valid, the CM data will be written into the cross-connection control memory; otherwise, the CM data will not be written into the cross-connection control memory.
Prior to Step A, the method further comprises:
the self-routing transmitting means set self-routing parameters which comprise a self-routing insertion position; and
the self-routing transmitting means insert the CM data into the STM-N data stream according to the self-routing insertion position.
The self-routing parameters of the method further comprise a self-routing configuration page change request indicator;
the cross-connection control memory of the method comprises an active page and an inactive page;
the self-routing receiving means of the method switch between the active pages and the inactive pages according to the self-route configuration page change request indicator, and write the CM data into the inactive pages.
The present invention further provides a system for self-routing in synchronous digital cross-connection, comprising:
self-routing transmitting means, configured to insert a CM data into a STM-N data stream according to a frame header indicator and a self-routing start address signal; and
self-routing receiving means, configured to extract the CM data from the STM-N data stream according to the frame header indicator and the self-routing start address signal and to write the CM data into a cross-connection control memory.
The self-routing transmitting means of the system comprise a self-routing transmitting control unit, a first CRC checking unit and an inserting data generating unit, wherein,
the first CRC checking unit, is configured to perform CRC check on the CM data to be inserted into the STM-N data stream to obtain a first check value; and
the inserting data generating unit, is configured to insert the first check value and the CM data into the STM-N data stream under the control of the self-routing transmitting control unit;
the self-routing receiving means of the system comprise a self-routing extracting control unit, a second CRC checking unit and a cross-connection control memory, wherein,
the second CRC checking unit, is configured to perform CRC check on the CM data extracted from the STM-N data stream to obtain a second check value, and to compare the second check value with the first check value extracted from the STM-N data stream: if the second check value is the same as the first check value, the self-routing extracting control unit will write the CM data into the cross-connection control memory; otherwise, the self-routing extracting control unit will not write the CM data into the cross-connection control memory.
The self-routing transmitting control unit of the system sets a configuration allowance signal, and the inserting data generating unit inserts the configuration allowance signal into the STM-N data stream;
the self-routing extracting control unit of the system analyzes the configuration allowance signal extracted from the STM-N data stream, and if the configuration allowance signal is valid, the CM data will be written into the cross-connection control memory; otherwise, the CM data will not be written into the cross-connection control memory.
The present invention further provides a self-routing transmitting device in synchronous digital cross-connection, comprising:
a self-routing transmitting control unit, a first CRC checking unit and an inserting data generating unit, wherein,
the first CRC checking unit performs CRC check on the CM data to be inserted into a STM-N data stream to obtain a first check value, and the inserting data generating unit inserts the first check value and the CM data into the STM-N data stream under the control of the self-routing transmitting control unit.
The present invention further provides a self-routing receiving device in synchronous digital cross-connection, comprising:
a self-routing extracting control unit, a second CRC checking unit and a cross-connection control memory, wherein,
the self-routing extracting control unit extracts a CM data from a STM-N data stream; the second CRC checking unit performs CRC check on the CM data to obtain a second check value, and compares the second check value with the first check value extracted from the STM-N data stream: if the second check value is the same as the first check value, the self-routing extracting control unit will write the CM data into the cross-connection control memory; otherwise, the self-routing extracting control unit will not write the CM data into the cross-connection control memory.
The method and the system for self-routing in synchronous digital cross-connection provided in the present invention process the cross configuration of each VC through an upstream service board of the STM-N data stream and transmit it to a cross chip, and the cross chip performs self-routing configuration in accordance with the received cross configuration information of each VC, so that the problem in the art that a processor interface can hardly satisfy the demand on large capacity cross-connection configuration can be overcome, and beneficial effect can be achieved to provide users with a self-routing scheme for synchronous digital cross-connection, which can be realized with ease, occupies less system resources, has high reliability and is suitable for large capacity cross configuration.
The present invention will be described hereinafter in detail in conjunction with the drawings thereof, taking the VC-4 space-division cross-connection for example.
After the service board 101 finishes the processing in the transfer terminal function means 1011, when the system control needs to configure a self-routing mode, the self-routing transmitting means 1012 sets a start address of self-routing, i.e., the position for inserting the self-routing in the overhead, and simultaneously performs a Cyclic Redundancy Check (CRC) on the CM data to be transmitted downwards and inserts both the check value and the CM data into the position of an overhead byte corresponding to the self-routing in a STM-16 frame structure, and then transmits it to the cross chip 102.
The cross chip 102 receives the STM-16 data stream transmitted by the service board 101. According to the status information of the self-routing mode configured by the system, the self-routing receiving means 1021 extracts the CRC check value and the CM data from a preset position of the overhead byte corresponding to the self-routing, and performs the CRC check. If the check result is correct, the corresponding contents of the CM are rewritten, and the configuration on the cross matrix means 1022 is accomplished.
In
The self-routing transmitting control unit 10121 sets, in accordance with the self-routing position distribution diagram as shown in
In
The self-routing extracting control unit 10211 determines, according to the signals such as the frame header and the self-routing start address signal, the time when the self-routing information arrives, i.e., corresponding to the position of the self-routing information in the STM-16 data stream, and produces a self-routing extracting indication signal cm_get to transmit to the second CRC-7 checking unit 10213. The second CRC-7 checking unit 10213 extracts, according to the self-routing extracting indication signal cm_get, the self-routing information from the STM-16 data stream, and performs the CRC-7 check on the CM data in the self-routing information. If the CRC-7 check result is the same as the received CRC-7 check result, the check is correct, and if at this time, the configuration allowance signal is valid, the CM data will be written into the inactive pages of corresponding CM. Further, if, at this time, the self-routing extracting control unit 10211 detects a page change indicator, switch will occur between the current active page and an inactive page. The cross-connection control memory 10212 comprises two parts, i.e. CM0 and CM1, wherein, when the CM0 is on the current active page, the CM1 is on the inactive page; otherwise, when the CM1 is on the current active page, the CM0 is on the inactive page.
In the present invention, in order to ensure that the page change operation is performed only after each VC-4 in the STM-16 data stream is correctly configured with the CM data, the self-routing receiving means sets a status signal for each VC-4 indicating whether it has been configured or not. As long as there is a CM inactive page in a VC-4, the content of which has not been rewritten in the configuration process, the signal is in a low state, and even if a page change indicator is received, the page change operation is not performed, so that it can be avoided that the cross-connection of some VC-4 are not updated correctly after the pages are changed. However, the case is excluded if it has not been rewritten because the configuration allowance bit corresponding to the VC-4 is invalid.
In the method and system for self-routing in cross-connection of the present invention, in pre-stage service processing, the CM data of the cross matrix information to be configured is inserted into a predefined overhead byte position in the STM-N data stream, the cross-connection chip extracts the CM value from the overhead byte position corresponding to the STM-N data stream, and rewrites the corresponding CM in the cross matrix. Wherein, the configuration of the cross matrix information can be flexible, which can be accomplished either by the cross chip 102, or by a Field Programmable Gate Array (FPGA). The present invention can greatly reduce the load of the processor in a large capacity cross-connection application environment, which makes the advantages of the present invention more prominent. In addition, the present invention has been applied to practical chip designs, and has been verified by system test.
Above descriptions are only to illustrate preferred embodiments of the present invention but not to limit the present invention. The scope defined in claims shall comprise any modification, equivalent substitution, improvement etc. within the spirit and principle of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
200710122073.8 | Sep 2007 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN07/03976 | 12/29/2007 | WO | 00 | 3/17/2010 |