CN1210917C - Treatment method of sequence number ordering in virtual cascade connection - Google Patents

Treatment method of sequence number ordering in virtual cascade connection Download PDF

Info

Publication number
CN1210917C
CN1210917C CNB021179670A CN02117967A CN1210917C CN 1210917 C CN1210917 C CN 1210917C CN B021179670 A CNB021179670 A CN B021179670A CN 02117967 A CN02117967 A CN 02117967A CN 1210917 C CN1210917 C CN 1210917C
Authority
CN
China
Prior art keywords
sequence number
ram
passage
virtual concatenation
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB021179670A
Other languages
Chinese (zh)
Other versions
CN1462118A (en
Inventor
廖志权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB021179670A priority Critical patent/CN1210917C/en
Publication of CN1462118A publication Critical patent/CN1462118A/en
Application granted granted Critical
Publication of CN1210917C publication Critical patent/CN1210917C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)

Abstract

The present invention discloses a method for sorting sequence numbers in virtual cascade connection. The method has the steps that firstly, a host site figures out a channel sequence number from the frame structure of a slave synchronization numerical sequence (SDH); the key point lies in that the host site temporarily stores the sequence number in a random access memory (RAM) of a digital chip and sorts a plurality of sequence numbers in the virtual cascade connection by controlling the R/W order. The method has the advantages that the consumption of logical resources is reduced and a sequence number sorting process is simplified, and supports the multi-channel virtual cascade connection sorting.

Description

The processing method of sequence number ordering in the Virtual Concatenation
Technical field
The present invention relates to the Virtual Concatenation technology in the synchronous digital transmission network (SDH), be meant the processing method of sequence number ordering in a kind of Virtual Concatenation especially.
Background technology
Cascade is one of key property of SDH, and it can guaranteed capacity effectively transmits greater than the client signal of C-4 (149760kbit/s), and client signal is not introduced additional injury.Cascade is a kind of cohesive process, can combine a plurality of virtual containers (VC) by cascade, makes the bank capability of a plurality of VC can be used as a single container use that still keeps the bit sequence integrality.For example, be that the cascade of the virtual container of VC-4 is exactly with the combined capacity of X C-4 together for type, form a big container, satisfy requirement greater than the big capacity client signal transmission of C-4.Cascade can be divided into Adjacent Concatenation and Virtual Concatenation, and Adjacent Concatenation is in same N rank synchronous transfer modes (STM-N), utilizes adjacent C-4 cascade to become VC-4-Xc, becomes an overall structure and transmits.And Virtual Concatenation is to be distributed in VC-4 among the different STM-N by the method for cascade, to form a virtual macrostructure VC-4-Xv and transmit.Wherein, each VC-4 may be same route, also may be different routes.For Virtual Concatenation, because the path that each VC-4 transmission is passed through may be different, so between each VC-4, transmission time delay difference may occur, under extreme case, the possible occurrence sequence number VC-4 after partially arrives the place termination point earlier than the VC-4 of sequence number before partially, bring difficulty for the reduction of client signal, so need carry out on the time and the alignment on the space to VC-4.
In the implementation procedure of Virtual Concatenation, the main deadline is adjusted and the space is adjusted.Wherein, the space adjustment is in order normally to recover the business that Virtual Concatenation carries in the residential site, and sequence, passage relation must send the Source Site time are recovered.The key of space adjustment is exactly the ordering of sequence number, and existing virtual concatenation protocol is supported maximum 256 sequence numbers.
As shown in Figure 1, Fig. 1 is a principle schematic of handling the sequence number ordering in the Virtual Concatenation.Its processing procedure is such: in the Source Site, and 256 corresponding 256 sequence numbers of passage order, the business that each passage carries self transfers to the residential site after the SDH interconnection, and at this moment, no longer order is corresponding with sequence number for each passage.In the residential site, behind spacing shaping, the rank order in the time of sequence number can being sent by the Source Site.
At present, finish the sequence number ordering and adopt following two kinds of methods usually:
1, direct mutually relatively size: be exactly size relatively between per two sequence numbers, relatively good after, press comparative result again and sort.This scheme is fit to handle with software cycles, can handle the Virtual Concatenation situation of a small amount of passage, but complex disposal process, cycle-index is many, when with programmable logic array (FPGA) or application-specific integrated circuit (ASIC) (ASIC) logic realization, then need inner a large amount of logical resources, particularly a large amount of lookup logic table and comparator.
2, bubbling method ordering: the bubbling method claims standard exchange sort again, and the element that is about in the table rearranges tissue by certain rule (rise progressively or successively decrease).This scheme is by flexible Application and temporary corresponding result, reduced the sequence number number of comparisons in a large number, be particularly suitable for handling with software cycles, can handle the Virtual Concatenation situation of a small amount of passage, but it can not handle multichannel Virtual Concatenation, because when port number increases, resource cost becomes geometric progression to increase, and device cost can't bear.
Summary of the invention
In view of this, main purpose of the present invention is to provide the processing method of sequence number ordering in a kind of Virtual Concatenation, makes it can reduce expending of logical resource, simplifies the sequence number sequencer procedure, supports multichannel Virtual Concatenation ordering.
For achieving the above object, technical scheme of the present invention is achieved in that
The processing method of sequence number ordering in a kind of Virtual Concatenation, at first, the residential site parses the passage sequence number from Synchronous Digital Hierarchy (SDH) frame structure, key is: the residential site is temporary in this passage sequence number in the random asccess memory (RAM) of its digit chip inside, in proper order a plurality of passage sequence numbers in the Virtual Concatenation is sorted by the read-write of control RAM.Wherein, digit chip can adopt field programmable gate array (FPGA) or application-specific integrated circuit (ASIC) (ASIC), and RAM can adopt block random asccess memory (Block RAM), distributed random memory (Distributed RAM) or pushup storage (FIFO).
This method specifically comprises:
A. the residential site will work as the sequence number of prepass and to effective indication that should sequence number according to writing the designated address space that port address writes random asccess memory (RAM);
B. when reading sequence number, press the ascending order of address ram, read ordered sequence number successively, carry out subsequent treatment according to effective indicating bit of sequence number correspondence.
Wherein, the port address of writing described in the step a equals when the prepass sequence number value.
This method further comprises: the random asccess memory (RAM) that in the digit chip of residential site a memory capacity to be set in advance be N * 9bit is stored the passage sequence number in the Virtual Concatenation, and wherein, N is the sequence number value of current Virtual Concatenation passage.Described N can be the maximum of passage sequence number in the current Virtual Concatenation.
In said method, preestablish each passage sequence number and form by the sequence number value of 8bit and the effective indicating bit of sequence number of 1bit.
This method also further comprises: when the passage sequence number changes, earlier RAM is emptied, carry out the sequence number ordering again and handle.
Because the present invention adopts the temporary multichannel Virtual Concatenation sequence number of the random asccess memory (RAM) of digit chip inside, read-write by control RAM comes multichannel Virtual Concatenation sequence number is sorted, so implementation method is simple, the logical resource that takies digit chip inside is few, can support multichannel Virtual Concatenation ordering to handle.
Description of drawings
Fig. 1 is a principle schematic of handling the sequence number ordering in the Virtual Concatenation.
The principle schematic of Fig. 2 for sorting with RAM storage and processing sequence number in the Virtual Concatenation of the present invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Fig. 2 has provided the principle that sorts by RAM storage and processing sequence number in the Virtual Concatenation of the present invention.In the agreement of Virtual Concatenation, SDH utilizes the overhead byte H4 in the frame structure to pass on time-delay and sequencing information, and the sequence number of respective channel just can be found out in the residential site by the H4 byte.The present invention is temporary in the sequence number that parses earlier in the appropriate address space of RAM in the digit chip of residential site just, calls over by address size then, to reach the purpose of sequence number ordering.
Referring to Fig. 2, the capacity of the used RAM of present embodiment is N * 9bit, and wherein, N is the maximum of Virtual Concatenation sequence number, and for example: N can be 255; 9bit refers to the memory capacity of each sequence number, comprises two parts: 8bit is a sequence number value, and 1bit is the effective indicating bit of sequence number.The signal that writes RAM comprises: the sequence number of sequence number effective index signal and 8bit, the signal of reading from RAM comprises: sequence number effective index signal and the 8bit sequence number through sorting.Read-write control signal comprises that writing port address signal and one for one reads the port address signal, respectively the position in the expression sequence number place RAM memory that writes and read.In addition, also have clock (CLOCK) signal, be used to control read-write sequence.So, as shown in Figure 2, concrete ordering processing procedure is finished like this:
1) after sequence number is found out in the residential site, the sequential that provides according to clock writes sequence number among the RAM of a N * 9bit, and this sequence number value accounts for 8 bit.When sequence number was write the address space of RAM, the address was promptly write port address and is equaled current sequence number value by sequence number decision itself, such as: the current sequence number value is 99, so, just the sequence number relevant data is write RAM[99], promptly in the 100th of RAM the address space.In writing sequence number, effective indication of this sequence number correspondence is also write corresponding address space among the RAM, this effectively indication take 1 bit.
When 2) from RAM, reading sequence number, read ordered sequence number successively by the ascending order in address, for example by from 0 to 255 order, according to effective indicating bit, can know which time slot is effective sequence number, the ordered sequence of reading earlier number is for little, and then finishes the sequence number ordering, will offer subsequent processes through the sequence number that sorts then.In fact, read order and also can stipulate, as long as follow certain rules according to user's needs.
This method needs N * 2 clock cycle to handle at most, for example: and 256 * 2=512 clock cycle, and sequence number once needs the time of 16 frames, is far longer than 512 clock cycle, this shows, handle surplus in the time very big.In Virtual Concatenation, the sequence number of each passage generally is indeclinable, if the passage sequence number changes, then will before carrying out sequence number ordering processing earlier with RAM clearly once repeat above process again.
In the above-described embodiment, the digit chip that adopts can be programmable logic array (FPGA) or application-specific integrated circuit (ASIC) (ASIC), and RAM can adopt block random asccess memory (Block RAM), distributed random memory (Distributed RAM) or pushup storage (FIFO).
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (7)

1, the processing method of sequence number ordering in a kind of Virtual Concatenation, at first, the residential site parses the passage sequence number from the Synchronous Digital Hierarchy frame structure, it is characterized in that: the residential site is temporary in this passage sequence number in the random asccess memory (RAM) of its digit chip inside, in proper order a plurality of passage sequence numbers in the Virtual Concatenation is sorted by the read-write of control RAM.
2, processing method according to claim 1 is characterized in that this method further comprises:
A. will work as the sequence number of prepass and to effective indication that should sequence number according to writing the designated address space that port address writes random asccess memory (RAM);
B. when reading sequence number, press the ascending order of address ram, read ordered sequence number successively, carry out subsequent treatment according to effective indicating bit of sequence number correspondence.
3, processing method according to claim 2 is characterized in that: the port address of writing described in the step a equals when the prepass sequence number value.
4, processing method according to claim 1, it is characterized in that this method further comprises: the random asccess memory (RAM) that in the digit chip of residential site a memory capacity to be set in advance be N * 9bit is stored the passage sequence number in the Virtual Concatenation, wherein, N is the sequence number value of current Virtual Concatenation passage.
5, processing method according to claim 4 is characterized in that: described N is the maximum of passage sequence number in the current Virtual Concatenation.
6, processing method according to claim 1 and 2 is characterized in that: preestablish each passage sequence number and be made up of the sequence number value of 8bit and the effective indicating bit of sequence number of 1bit.
7, processing method according to claim 1 is characterized in that this method further comprises: when the passage sequence number changes, earlier RAM is emptied, carry out the sequence number ordering again and handle.
CNB021179670A 2002-05-27 2002-05-27 Treatment method of sequence number ordering in virtual cascade connection Expired - Fee Related CN1210917C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021179670A CN1210917C (en) 2002-05-27 2002-05-27 Treatment method of sequence number ordering in virtual cascade connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021179670A CN1210917C (en) 2002-05-27 2002-05-27 Treatment method of sequence number ordering in virtual cascade connection

Publications (2)

Publication Number Publication Date
CN1462118A CN1462118A (en) 2003-12-17
CN1210917C true CN1210917C (en) 2005-07-13

Family

ID=29742423

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021179670A Expired - Fee Related CN1210917C (en) 2002-05-27 2002-05-27 Treatment method of sequence number ordering in virtual cascade connection

Country Status (1)

Country Link
CN (1) CN1210917C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761177B (en) * 2004-10-11 2010-05-05 中兴通讯股份有限公司 Method for implementing lossless rearrangement in recovery process of virtual cascade connection
CN1929476B (en) * 2005-09-05 2010-06-16 中兴通讯股份有限公司 Method for realizing nondestructive virtual cascade recovery
CN101022318B (en) * 2007-03-27 2011-10-26 中兴通讯股份有限公司 Processing device and method for tracking information in synchronous digital transmission system
CN101383773B (en) * 2008-10-09 2011-08-17 中国科学院计算技术研究所 Apparatus for maintaining multichannel order rule and corresponding method
WO2013029411A1 (en) * 2011-09-02 2013-03-07 中兴通讯股份有限公司 Hybrid granularity virtual concatenation delay compensation method and device
CN111245550B (en) * 2020-01-14 2022-03-25 北京恒光信息技术股份有限公司 SDH signal processing method, device and system
CN116545573B (en) * 2023-07-07 2023-09-08 杭州芯旗电子技术有限公司 Virtual concatenation group member automatic identification method and system based on FPGA

Also Published As

Publication number Publication date
CN1462118A (en) 2003-12-17

Similar Documents

Publication Publication Date Title
CN1021395C (en) synchronous-asynchronous and asynchronous-synchronous converter
US6799232B1 (en) Automatic byte swap and alignment for descriptor-based direct memory access data transfers
EP1045558B1 (en) Very wide memory TDM switching system
US6189053B1 (en) Communication control system utilizing a shared buffer managed by high and low level protocols
CN1035927A (en) The method and apparatus of hybrid packet switching
JPH08508592A (en) Method and apparatus for data buffering in a data station of a communication network
CN1264531A (en) Switching fabric arrangement with time stamp function
CN1547358A (en) A data frame buffer memory device and method for Ethernet passive optical network
US5493652A (en) Management system for a buffer memory having buffers of uniform size in which the buffers are divided into a portion of contiguous unused buffers and a portion of contiguous buffers in which at least some are used
US7111289B2 (en) Method for implementing dual link list structure to enable fast link-list pointer updates
JPS62297952A (en) Storage system for variable length data
CN1210917C (en) Treatment method of sequence number ordering in virtual cascade connection
CN1226326A (en) Multiple algorithm process on plurality of digital signal streams via context switching
CN1574785A (en) Method and system for maintenance of packet order using caching
US6973550B2 (en) Memory access control
CN112118262B (en) System and method for realizing data sorting and merging based on dynamic memory allocation
CN1288876C (en) Dynamic RAM quene regulating method based on dynamic packet transmsision
CN101272212A (en) Ranking method of virtual concatenation group member
CN1103522C (en) Method and apparatus for detecting timeout of ATM reception packet
Lu et al. Design and implementation of multi-channel high speed HDLC data processor
EP1091289B1 (en) Device for processing sonet or SDH frames-DS0 to channel mapping
US6513078B1 (en) Data transfer control apparatus, data transfer control system and data transfer control method
JPH03109841A (en) Time division multiplex data packet conversion circuit
CN100492948C (en) Data processing method for use after composite transmission channel demultiplexing
CN1691568A (en) Method and apparatus for data cross in synchronous data transmission network

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050713

Termination date: 20160527