[go: up one dir, main page]

CN100463434C - A method for managing a virtual channel identifier of an asynchronous transfer mode device - Google Patents

A method for managing a virtual channel identifier of an asynchronous transfer mode device Download PDF

Info

Publication number
CN100463434C
CN100463434C CNB021551545A CN02155154A CN100463434C CN 100463434 C CN100463434 C CN 100463434C CN B021551545 A CNB021551545 A CN B021551545A CN 02155154 A CN02155154 A CN 02155154A CN 100463434 C CN100463434 C CN 100463434C
Authority
CN
China
Prior art keywords
vci
bits
sets
vpi
virtual path
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
CNB021551545A
Other languages
Chinese (zh)
Other versions
CN1507224A (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.)
Jinjiang High And New Technology Development Office
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB021551545A priority Critical patent/CN100463434C/en
Publication of CN1507224A publication Critical patent/CN1507224A/en
Application granted granted Critical
Publication of CN100463434C publication Critical patent/CN100463434C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The virtual channel identifier managing method for asynchronous transmission mode equipment includes requesting VCI and releasing VCI. The requesting VCI includes creating bit set; forming bit set pond; setting bit mark in bit set; applying one idle bit set to the bit set pond for VPI used in VC for the first time, hanging under corresponding VPI, marking the bit set as being occupied and setting the corresponding VCI as 1; checking the bit in the VPI pointed bit set for VPI been used in other VC connection, and re-selecting VCI if it is 1 or setting the bit as 1 or else. The releasing VCI includes checking the corresponding bit in VPI bit set; setting 0 if it is 1 with being 0 indicating no occupancy; returning the bit set with VPI without VC connection to bit set pond and marking the bit set as being idle.

Description

A kind of management method of asynchronous transfer mode equipment virtual path identifiers
Technical field
The present invention relates to a kind of management method of asynchronous transfer mode equipment virtual path identifiers, be specifically related to a kind of method that asynchronous transfer mode equipment virtual path identifiers resource is carried out dynamic management.
Background technology
ATM(Asynchronous Transfer Mode) is connection-oriented, and the connection among the ATM is a virtual connections, it is set up on two levels, be so-called virtual path (Visual Path-VP) and virtual path (Visual Channel-VC), in header, adopt the virtual connections on two different levels of virtual path identifier (VisualPath Identifier-VPI) and virtual path identifiers (Visual Path Identifier-VCI) expression.Therefore atm device realizes that by virtual path identifier (VPI) and virtual path identifiers (VCI) route and exchange to cell are a kind of important mechanisms that realizes asynchronous transmission.Because an ATM system has a plurality of interfaces usually, each interface has 4096 (2 at most 12) individual virtual path identifier (VPI), and each VPI has 65535 VCI at most, and it is very big to the system resource requirements such as internal memory, CPU processing time to manage these VPI and VCI.Use static method management VCI resource, need take a large amount of memory headroom (bit number that 4096 * 65535 * interface number * each VCI takies) in advance, especially when certain VPI is used for virtual path (VP) connection, in fact the VCI resource space that keeps for this VPI can't be used, so just, caused resource waste, and the distribution of VCI and search efficiency are very low.
Summary of the invention
The purpose of this invention is to provide a kind of method of using sets of bits that asynchronous transfer mode equipment virtual path identifiers is carried out dynamic management, it is when satisfying the atm device normal need, reduced demand, improved the efficiency of management the VCI resource to system resource.
According to the asynchronous transfer mode equipment virtual path identifiers management method that one aspect of the invention provides, it is application VCI resource when creating the virtual path connection, may further comprise the steps: generate sets of bits; Form bit set pond; The mark of corresponding bits in the sets of bits is set represents the availability of VCI; The flag bit that sets of bits is set represents whether it is idle, and each bit in the sets of bits is represented a VCI, and the VCI value is corresponding to the position of this bit in sets of bits; Judging whether needs to give certain VPI to distribute the VCI resource, connects if this VPI has been used for VP, does not then need VCI resource, process ends; When if the VPI under the VCI that this establishment virtual path connects is used for the VC connection for the first time, the sets of bits of a free time of application in the bit set pond, hang under the corresponding VPI, with the mark position of this sets of bits for taking, and be changed to the mark of corresponding VCI bit available, use this VCI to create and connect, and process ends; If the VPI under the VCI that this establishment virtual path connects is used by other VC connection, check the mark of the corresponding bits in the sets of bits that this VPI points to,, then need to choose again VCI if be unavailable, connect otherwise will use this VCI to create, and be changed to this mark unavailable.
The asynchronous transfer mode equipment virtual path identifiers management method that provides according to a further aspect in the invention, it discharges the VCI resource when disconnecting the virtual path connection, may further comprise the steps: the mark of checking the corresponding bits of VPI sets of bits, if be unavailable, it is changed to available, represent that corresponding VCI is released, otherwise show that corresponding VCI is not used at all; If there is not VC to connect under this VPI, this sets of bits returned to bit set pond, and be the free time the mark position of this sets of bits.
In addition, use dynamic method to generate described sets of bits and bit set pond.
In addition, the size of bit set pond and sets of bits can be adjusted according to the needs of system, and each sets of bits all has corresponding marker bit to represent whether it is idle.
In addition, the method definition sets of bits of bit architecture array be can use, array index and the corresponding VCI of certain location positioning in bit architecture used.
In addition, sets of bits is the set of a plurality of bits, and bit set pond is made of a plurality of sets of bits, wherein each bit in the sets of bits is represented a VCI, the VCI that mark is changed to 0 its representative of expression can use, the VCI that mark is changed to 1 its representative of expression is unavailable, represents in contrast that perhaps VCI's is available and unavailable.
As mentioned above, utilize a bit to represent the availability of VCI resource, and use dynamic method that the VCI resource of atm device is managed, can reduce the demand of management VCI resource memory source, and the service efficiency that has improved system resource.
Description of drawings
Will make the above-mentioned purpose of the present invention clearer below with reference to accompanying drawing to the explanation of the management method of asynchronous transfer mode equipment virtual path identifiers of the present invention with other.
Fig. 1 is the bit set pond schematic diagram;
Fig. 2 is the sets of bits schematic diagram;
Fig. 3 is the bit set pond schematic diagram of having applied for after certain sets of bits;
Fig. 4 is the bit set pond schematic diagram of having given back after certain sets of bits;
Fig. 5 is a sets of bits schematic diagram of having applied for certain VCI;
Fig. 6 is the sets of bits schematic diagram that has discharged certain VCI;
Fig. 7 is the flow chart of application VCI resource;
Fig. 8 is the flow chart that discharges the VCI resource.
Embodiment
Be elaborated below in conjunction with the management method of accompanying drawing to asynchronous transfer mode equipment virtual path identifiers of the present invention.
Fig. 1 is the schematic diagram of bit set pond, can use the method definition sets of bits of bit architecture array, uses array index and the corresponding VCI of certain location positioning in bit architecture.As shown in the figure, comprise a plurality of sets of bits in the bit set pond, sets of bits in total interface in the asynchronous transfer mode communication system (interface 1 is until interface r) the shared bits collection pond, when certain VPI on the interface is used for the VC connection, in bit set pond, apply for an available sets of bits, and the flag bit (not shown) of this sets of bits is changed to takies, when certain VPI on the interface is not used further to the VC connection, give back back bit set pond with the sets of bits that this VPI takies, and be idle the mark position of this sets of bits.The size of bit set pond can be adjusted according to system's needs.
Fig. 2 is the schematic diagram of sets of bits.Each bit in the sets of bits is represented a VCI, and the VCI value is corresponding to the position of this bit in sets of bits.If the bit of certain VCI correspondence is 0, represent that this VCI resource can use, if this bit is 1, represent that this VCI resource is unavailable.The size of sets of bits can be adjusted as required.
During application VCI resource, connect, then in bit set pond, apply for an available sets of bits if the virtual path identifier (VPI) under this VCI is used for VC for the first time.As shown in figs. 1 and 3, the VPI1 of interface 3 is used for VC for the first time and connects, so apply for a sets of bits in bit set pond.Fig. 1 is the preceding schematic diagram of application, and Fig. 3 is the schematic diagram after applying for.
Do not use certain VPI if there is VC to connect, then the sets of bits that this VPI is taken is returned to bit set pond.Shown in Fig. 3 and 4.VPI1 among the interface r was used for VC originally and connected, and when not having VC to connect this VPI of use, the sets of bits of its application was returned to bit set pond.Fig. 3 is the schematic diagram of the bit set pond of sets of bits before returning, the schematic diagram of the bit set pond of Fig. 4 after for the sets of bits return.
During application VCI resource, check the corresponding bits position in the sets of bits of VPI under this VCI,, return failure, otherwise be 1, return success this position if be that 1 this VCI resource of expression is unavailable.As shown in Figure 2, VCI0 is 0, shows that this VCI can use, and returns success when applying for this VCI, and is 1 with the corresponding bits position, as shown in Figure 5.If application VCIm, VCIm is 1 as shown in Figure 5, shows that VCI is unavailable, returns failure.
When discharging the VCI resource, check the corresponding bits of corresponding VPI sets of bits,, this bit is changed to 0, return success, represent that this VCI resource is successfully discharged, otherwise return failure if this bit is 1.As shown in Figure 5, VCIm is 1, when discharging VCIm, returns success, and VCIm is changed to 0.If discharge VCIn, as shown in Figure 6,, return failure because VCIn is 0.
Fig. 7 is the flow chart of application VCI resource.In the application process of VCI, at first dynamically generate sets of bits and bit set pond; The mark of sets of bits sign and corresponding bits is set then; Then judging whether needs to give certain VPI to distribute the VCI resource, connects if this VPI has been used for VP, does not then need the VCI resource; Then when creating virtual path (VC) connection, if being used for VC for the first time, the VPI under this VCI connects, the sets of bits of a free time of application in the bit set pond then, hang under the corresponding VPI, and with the mark position of this sets of bits for taking, with the bit position of corresponding VCI is 1, represents that this VCI resource is used, and is not useable for creating new connection; When creating the VC connection, if having been connected by other VC, uses the VPI of this connection, promptly applied for sets of bits, then check the corresponding bits position in the sets of bits that this VPI points to,, represent that this VCI resource is unavailable if be 1, promptly cannot use this VCI resource to create connection, need choosing again or specify, otherwise use this VCI asset creation to connect, is 1 with this bit position.
Fig. 8 is the flow chart that discharges the VCI resource.When disconnecting the virtual path connection, discharge the VCI resource, at first check the corresponding bits position of corresponding VPI sets of bits, if this bit is 1, then it is changed to 0, expression VCI is successfully discharged, and can be used by other connection, otherwise represent that this VCI resource is not used at all, can be used by other connection; Then, if there has not been VC to connect under this VPI, then the sets of bits that this VPI is taken is given back this bit pond, and be idle with the mark position in this bit pond, for other VPI use.
In a word, take according to asynchronous transfer mode equipment virtual path identifiers management method of the present invention, the ATM system can apply for idle sets of bits as required in bit set pond, if do not re-use and just return to bit set pond, so just make the different VPI idle bit collection in the shared bits collection pond according to actual needs of different port of atm device, reduced taking of many internal memories, thereby improved the efficiency of management the VCI identifier.
As mentioned above, with reference to the accompanying drawings the management method of asynchronous transfer mode equipment virtual path identifiers of the present invention is had been described in detail, but this is not to want to limit to scope of the present invention, those skilled the in art will appreciate that the present invention can have the various modifications and variations that do not break away from essence of an invention and marrow.

Claims (8)

1. the management method of an asynchronous transfer mode equipment virtual path identifiers, it is application virtual path identifiers VCI resource when creating virtual path and connect, and may further comprise the steps:
Generate sets of bits;
Form bit set pond;
The mark of corresponding bits in the sets of bits is set represents the availability of VCI, each bit in the sets of bits is represented a VCI, and the VCI value is corresponding to the position of this bit in sets of bits;
The flag bit that sets of bits is set represents whether it is idle;
Judging whether needs to give certain virtual path identifier VPI to distribute the VCI resource, connects if this VPI has been used for virtual path VP, does not then need VCI resource, process ends;
When if the VPI under the VCI that this establishment virtual path VC connects is used for the VC connection for the first time, the sets of bits of a free time of application in the bit set pond, hang under the corresponding VPI, with the mark position of this sets of bits for taking, and be changed to the mark of corresponding VCI bit available, use this VCI to create and connect, and process ends;
If the VPI under the VCI that this establishment VC connects is used by other VC connection, check the mark of the corresponding bits in the sets of bits that this VPI points to,, then need to choose again VCI if be unavailable, connect otherwise use this VCI to create, and be changed to this mark unavailable.
2. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 1 is characterized in that described sets of bits is the set of a plurality of bits, and described bit set pond is made of a plurality of sets of bits.
3. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 1 is characterized in that, the size of described bit set pond and sets of bits can be adjusted according to the needs of system.
4. according to the management method of claim 2 or 3 described asynchronous transfer mode equipment virtual path identifiers, it is characterized in that, the VCI that mark is changed to 0 its representative of expression can use, and the VCI that mark is changed to 1 its representative of expression is unavailable, represents in contrast that perhaps VCI's is available and unavailable.
5. management method based on the asynchronous transfer mode equipment virtual path identifiers of claim 1, it discharges the VCI resource when virtual path connects disconnecting, and may further comprise the steps:
Check the mark of the corresponding bits of VPI sets of bits,, it is changed to available, represent that corresponding VCI is released, otherwise show that corresponding VCI is not used at all if be unavailable;
If there is not VC to connect under this VPI, this sets of bits returned to bit set pond, and be the free time the mark position of this sets of bits.
6. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 5 it is characterized in that described sets of bits is the set of a plurality of bits, and described bit set pond is made of a plurality of sets of bits.
7. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 5 is characterized in that the size of described bit set pond and sets of bits can be adjusted according to the needs of system.
8. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 1 or 5, it is characterized in that the VCI that mark is changed to 0 its representative of expression can use, the VCI that mark is changed to 1 its representative of expression is unavailable, represents in contrast that perhaps VCI's is available and unavailable.
CNB021551545A 2002-12-10 2002-12-10 A method for managing a virtual channel identifier of an asynchronous transfer mode device Expired - Fee Related CN100463434C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021551545A CN100463434C (en) 2002-12-10 2002-12-10 A method for managing a virtual channel identifier of an asynchronous transfer mode device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021551545A CN100463434C (en) 2002-12-10 2002-12-10 A method for managing a virtual channel identifier of an asynchronous transfer mode device

Publications (2)

Publication Number Publication Date
CN1507224A CN1507224A (en) 2004-06-23
CN100463434C true CN100463434C (en) 2009-02-18

Family

ID=34235747

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021551545A Expired - Fee Related CN100463434C (en) 2002-12-10 2002-12-10 A method for managing a virtual channel identifier of an asynchronous transfer mode device

Country Status (1)

Country Link
CN (1) CN100463434C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442764C (en) * 2005-06-06 2008-12-10 华为技术有限公司 Control Method of SAR Processing Chip Transmission Congestion
CN101471842B (en) * 2007-12-29 2012-02-29 北京大唐高鸿数据网络技术有限公司 A Method of Dynamically Managing Virtual Connections in Asynchronous Transfer Mode

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5488606A (en) * 1993-09-20 1996-01-30 Fujitsu Limited Procedure for switching-over systems
EP0810759A1 (en) * 1996-05-31 1997-12-03 MMC Networks, Inc. Cell routing in atm networks
CN1264975A (en) * 1999-02-25 2000-08-30 日本电气株式会社 ATM network system and method for distributing VPI for user's equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5488606A (en) * 1993-09-20 1996-01-30 Fujitsu Limited Procedure for switching-over systems
EP0810759A1 (en) * 1996-05-31 1997-12-03 MMC Networks, Inc. Cell routing in atm networks
CN1264975A (en) * 1999-02-25 2000-08-30 日本电气株式会社 ATM network system and method for distributing VPI for user's equipment

Also Published As

Publication number Publication date
CN1507224A (en) 2004-06-23

Similar Documents

Publication Publication Date Title
US5903564A (en) Efficient multicast mapping in a network switch
CN107209716B (en) Memory management device and method
US6628668B1 (en) Crosspoint switch bandwidth allocation management
CN108616402B (en) Management method and system of remote equipment
CN101344861B (en) Smart card internal memory management method
CN107894922B (en) RAM resource allocation method
CN111064786B (en) Account identifier management method and device
US6396838B1 (en) Management of free space in an ATM virtual connection parameter table
SE506729C2 (en) Method and device for installing new subscribers
CN106713378A (en) Method and system for realizing service provision by multiple application servers
KR100387048B1 (en) Medium low speed subscriber multicasting embodying method and apparatus therefor
CN101179351A (en) Dynamic allocation method for space/time division cross time slot resource of synchronous digital hierarchy equipment
CN104951370B (en) A kind of EMS memory management process and device
EP1030494A1 (en) Communication unit and communication method with profile management
CN100463434C (en) A method for managing a virtual channel identifier of an asynchronous transfer mode device
CN1323362C (en) Network equipment and method for distributing its peripheral device interconnection resources
JP4452023B2 (en) Apparatus and method for transferring data from one partition of a partitioned computer system to another
CN101022425B (en) ISCSI-based storage resource distributing method
CN105450679A (en) Method and system for performing data cloud storage
CN100409632C (en) Method and device for subport multicasting in an asynchronous transfer mode switching system
US6052374A (en) Method and apparatus for dispatching ATM cells
US6728861B1 (en) Queuing fibre channel receive frames
CN113347046A (en) Network access method and device
CN107342890A (en) A kind of service bandwidth configuring management method of GPON systems
CN101505543A (en) Method and system for parallel processing AT command

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: JINJIANG HIGH-TECH DEVELOPMENT OFFICE

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20131107

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 362200 QUANZHOU, FUJIAN PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131107

Address after: Jinjiang City, Fujian province 362200 Chongde road Quanzhou City No. 283 friends Jade Technology Building

Patentee after: Jinjiang high and new technology development office

Address before: 518057 Nanshan District high tech Industrial Park, Guangdong, South Road, science and technology, ZTE building, legal department

Patentee before: ZTE Corporation

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090218

Termination date: 20161210

CF01 Termination of patent right due to non-payment of annual fee