CN1507224A - Virtual channel identifier managing method for asynchronous transmission mode equipment - Google Patents

Virtual channel identifier managing method for asynchronous transmission mode equipment Download PDF

Info

Publication number
CN1507224A
CN1507224A CNA021551545A CN02155154A CN1507224A CN 1507224 A CN1507224 A CN 1507224A CN A021551545 A CNA021551545 A CN A021551545A CN 02155154 A CN02155154 A CN 02155154A CN 1507224 A CN1507224 A CN 1507224A
Authority
CN
China
Prior art keywords
bits
vci
sets
bit
vpi
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.)
Granted
Application number
CNA021551545A
Other languages
Chinese (zh)
Other versions
CN100463434C (en
Inventor
F 朱
朱旻
李青
马焕南
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 (Visual PathIdentifier-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 (212) individual virtual path identifiers (VPI) at most, 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; The flag bit of sets of bits is set; 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; If the VPI under this VCI is used for VC for the first time when connecting, the sets of bits of a free time of application hangs under the corresponding VPI in the bit set pond, for taking, and is changed to the mark of corresponding VCI bit available the mark position of this sets of bits; If the VPI of this connection by other VC connect use, checking if be unavailable, then needs to choose again VCI by the mark of the corresponding bits in the sets of bits that this VPI points to, otherwise this mark is changed to available, expression can use this VCI to create connection.
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 this VCI is released, otherwise show that this 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.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 generate sets of bits; Form bit set pond then; The mark of corresponding bits in the sets of bits is set; The flag bit of sets of bits is set; 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 the sign of this sets of bits is not changed to takies, 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 the taking of internal memory, 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 (12)

1. the management method of an asynchronous transfer mode equipment virtual path identifiers (VCI), it is application 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;
The flag bit of sets of bits is set;
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;
If the VPI under this VCI is used for VC for the first time when connecting, the sets of bits of a free time of application hangs under the corresponding VPI in the bit set pond, for taking, and is changed to the mark of corresponding VCI bit available the mark position of this sets of bits;
If the VPI of this connection by other VC connect use, checking if be unavailable, then needs to choose again VCI by the mark of the corresponding bits in the sets of bits that this VPI points to, otherwise this mark is changed to available, expression can use this VCI to create connection.
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, it is characterized in that, the size of described 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.
4. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 1 is characterized in that,
Use dynamic method to generate described sets of bits and bit set pond.
5. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 1 is characterized in that, the mark in the use sets of bits is represented the availability of VCI resource.
6. according to the management method of claim 2,3,4 or 5 described asynchronous transfer mode equipment virtual path identifiers, it is characterized in that, 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.
7. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 6, it is characterized in that, each bit in the described 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.
8. the management method of an asynchronous transfer mode equipment virtual path identifiers (VCI), 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 this VCI is released, otherwise show that this 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.
9. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 8 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.
10. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 8, the size that it is characterized in that described 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.
11. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 8 is characterized in that using mark in the sets of bits to represent the availability of VCI resource.
12. the management method of asynchronous transfer mode equipment virtual path identifiers according to claim 8, it is characterized in that each bit in the described sets of bits represents 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.
CNB021551545A 2002-12-10 2002-12-10 Virtual channel identifier managing method for asynchronous transmission mode equipment Expired - Fee Related CN100463434C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021551545A CN100463434C (en) 2002-12-10 2002-12-10 Virtual channel identifier managing method for asynchronous transmission mode equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021551545A CN100463434C (en) 2002-12-10 2002-12-10 Virtual channel identifier managing method for asynchronous transmission mode equipment

Publications (2)

Publication Number Publication Date
CN1507224A true CN1507224A (en) 2004-06-23
CN100463434C 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 Virtual channel identifier managing method for asynchronous transmission mode equipment

Country Status (1)

Country Link
CN (1) CN100463434C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442764C (en) * 2005-06-06 2008-12-10 华为技术有限公司 Controlling method for SAR treatment chip transmitting congestion
CN101471842B (en) * 2007-12-29 2012-02-29 北京大唐高鸿数据网络技术有限公司 Method for dynamically managing virtual connection of asynchronous transmission mode

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2906371B2 (en) * 1993-09-20 1999-06-21 富士通株式会社 System switching method
US5936959A (en) * 1996-05-31 1999-08-10 Mmc Networks, Inc. Cell routing in ATM networks
JP3202720B2 (en) * 1999-02-25 2001-08-27 日本電気株式会社 Method and network system for assigning VPI values to multiple user devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442764C (en) * 2005-06-06 2008-12-10 华为技术有限公司 Controlling method for SAR treatment chip transmitting congestion
CN101471842B (en) * 2007-12-29 2012-02-29 北京大唐高鸿数据网络技术有限公司 Method for dynamically managing virtual connection of asynchronous transmission mode

Also Published As

Publication number Publication date
CN100463434C (en) 2009-02-18

Similar Documents

Publication Publication Date Title
CN1183453C (en) Internal storage management system and its distribution method
CN1308793C (en) Method and system for machine memory power and availability management
CN107209716B (en) Memory management device and method
CN1109231A (en) Method and apparatus for temporarily storing data packet and switch using the same
CN1582551A (en) Technique of determining connectivity solutions for network elements
CN1798094A (en) Method of using buffer area
CN1530842A (en) Method and system for data transmission in multi-processor system
CN1303534C (en) Memory pool managing method
CN1866910A (en) Data message transmission method and Ethernet bridge apparatus based on VLAN
CN1574785A (en) Method and system for maintenance of packet order using caching
US5572698A (en) System and method for allocating memory resources where the category of a memory resource determines where on a circular stack a pointer to the memory resource is placed
CN1507224A (en) Virtual channel identifier managing method for asynchronous transmission mode equipment
CN101022425B (en) ISCSI-based storage resource distributing method
JP4452023B2 (en) Apparatus and method for transferring data from one partition of a partitioned computer system to another
CN104951370B (en) A kind of EMS memory management process and device
CN1613243A (en) Method, apparatus and system for routing messages within a packet operating system
CN1400785A (en) Subport multipoint transmission method in asynchronous transmission exchange system
CN1186391A (en) Apparatus and method for processing ATM cells in ATM switching system
EP1395079A3 (en) DSLAM-hosted information storage functionality
CN1708022A (en) System for automatic distributing communication port address
CN1149786C (en) Maintenance and management method for user access network
CN1135749C (en) Bandwidth allocation method for passive optical network based on ATM
CN1228946C (en) Dynamic storage management method for cell header conversion table
CN101057222A (en) Procedure for persistent storage of dhcp subscriber data
CN117951049B (en) Label processing method

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