CN101136935B - Automatic recognition method for adapting layer types of asynchronous transfer mode - Google Patents
Automatic recognition method for adapting layer types of asynchronous transfer mode Download PDFInfo
- Publication number
- CN101136935B CN101136935B CN200610140340XA CN200610140340A CN101136935B CN 101136935 B CN101136935 B CN 101136935B CN 200610140340X A CN200610140340X A CN 200610140340XA CN 200610140340 A CN200610140340 A CN 200610140340A CN 101136935 B CN101136935 B CN 101136935B
- Authority
- CN
- China
- Prior art keywords
- verification
- type
- hash
- crc
- hash table
- 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
Links
Images
Abstract
The autorecognition method includes following steps: S102,receiving ATM cell, carrying out Hash search through Hash table based on virtual path ID/virtual channel ID; S104,if it is Hash match, then gong to S106, otherwise gong to S108; S106, carrying out recombination according to result of Hash search, submitting recombined packet and returning back to S102; S108, carrying out recombination according to first type, and carrying out cyclic redundancy check (CRC); if CRC is passed, then ATM cell is first type, Hash table is updated, recombined packet is submitted, and returning back to S102; if CRC is not passed, then ATM cell is second type, Hash table is updated, packet is recombined according to second type, and returning back to S102. Using ATM collection device with multiple process unit, the invention realizes autorecognition for AAL2/AAL5 types, and accomplishes recombination.
Description
Technical field
The present invention relates to wireless communication field, relate in particular to a kind of automatic identifying method of adapting layer types of asynchronous transfer mode.
Background technology
Communication system has obtained increasingly extensive application in social every field, changed traditional life, the working method of people, and in a such process, mechanics of communication also under the promotion of people's demand, is developed fast.ATM (Asynchronous TransferMode, asynchronous transfer mode) realizes the carrying of various communication functions because the technical advantage of himself is widely used in various communication networks.Because ATM is business such as support voice, data, image simultaneously, in the 3G of current issue and commercial version equipment, (the Radio Network Controller from NodeB (base station) to RNC, radio network controller), (Core Network from RNC to CN, core net), ATM is used widely.In a 3G protocal analysis (instrument) system, need to realize the collection of signaling data, and the data that collect are carried out the signaling protocol analysis, therefore must realize at first in collecting device that ATM inserts, next is the adaptive of ATM cell type, and carry out AAL2/AAL5 (AAL:ATM Adaptation Layer, ATM Adaptation Layer) by right type and recombinate, give the protocal analysis that business platform carries out higher level with the bag after having recombinated.Exist a key issue to be in this process, because the collecting device in 3G protocal analysis (instrument) system often is used to research and development, Installation and Debugging 3G equipment, and realization is to the monitoring of 3G network in service, after from physical layer link, collecting cell, because do not have type information in the cell, so and do not know that this cell is AAL2 or AAL5, and the regrouping process of AAL2 and AAL5 and different, also just can't realize the AAL2/AAL5 reorganization, so fitting in of ATM cell type just becomes particularly important in the collecting device.Because the identification of ATM cell type can not realize by cell itself, identification have to realize by the agreement of higher level during AAL2/AAL5 automatic, utilize the reduction to absurdity principle in this process, realize the examination of two types of AAL2/AAL5, its realization needs the support of multinuclear equipment.
Therefore, need a kind of solution of discerning the AAL type, be used to realize the automatic identification of AAL2/AAL5.
Summary of the invention
Main purpose of the present invention is to provide a kind of automatic identifying method of adapting layer types of asynchronous transfer mode, is used for discerning automatically in the ATM collecting device realization AAL2/AAL5 type with multiplied unit, and finishes the reorganization of AAL2/AAL5.
To achieve these goals, the invention provides a kind of automatic identifying method of adapting layer types of asynchronous transfer mode.This automatic identifying method may further comprise the steps:
Step S102 receives ATM cell, and is right according to the identifier of the virtual route/virtual channel identification of ATM cell, carries out Hash lookup by Hash table;
Step S104 is if the Hash coupling then proceeds to step S106, otherwise proceeds to step S108;
Step S106 recombinates according to the type that Hash lookup goes out, and submits the bag after recombinating to, is back to step S102;
Step S108 recombinates according to the first kind, carries out cyclic redundancy check (CRC), if verification is passed through, then be identified as the first kind, upgrade Hash table, submit the bag after recombinating to, be back to step S102, if verification is not passed through, then be identified as second type, upgrade Hash table, recombinate according to second type, be back to step S102.
The first kind is that AAL 5, the second types are AAL 2.
In step S108, to carrying out cyclic redundancy check (CRC) according to the Common Part Convergence Sublayer frame after the first kind reorganization.
Alternatively, in step S108, if cyclic redundancy check (CRC) five times is correct, then judgement is passed through for verification, if cyclic redundancy check (CRC) is made mistakes for five times, then adjudicates and does not pass through for verification.
In step S108, if verification pass through, then in Hash table with identifier of the virtual route/virtual channel identification to being recorded as the first kind, if verification do not pass through, then in Hash table with identifier of the virtual route/virtual channel identification to being recorded as second type.
In step S108, do not pass through in verification, after recombinating according to second type, the common part sublayer frame head is carried out verification, if check errors then abandons the bag after the reorganization,, then submit the bag after the reorganization to if verification is correct.
By technique scheme, the present invention realizes the automatic identification of real-time AAL5/AAL2 in multiplied unit, and finishes reorganization simultaneously, can satisfy the existing demand of gathering kind equipment fully, and it is right to support to reach the individual VPI/VCI of 64k.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the automatic identifying method of adapting layer types of asynchronous transfer mode of the present invention;
Fig. 2 is the block diagram according to the automatic recognition system of adapting layer types of asynchronous transfer mode of the present invention;
Fig. 3 is the functional block diagram according to the automatic identifying method of the embodiment of the invention;
Fig. 4 is the schematic diagram according to the CPCS frame of the AAL5 of the embodiment of the invention;
Fig. 5 is the flow chart according to the automatic identifying method of the embodiment of the invention.
Embodiment
Describe the present invention below with reference to the accompanying drawings in detail.
With reference to Fig. 1, may further comprise the steps according to the automatic identifying method of AAL type of the present invention:
Step S102 receives ATM cell, and is right according to the identifier of the virtual route/virtual channel identification of ATM cell, carries out Hash lookup by Hash table.
Step S104 is if the Hash coupling then proceeds to step S106, otherwise proceeds to step S108.
Step S106 recombinates according to the type that Hash lookup goes out, and submits the bag after recombinating to, is back to step S102.
Step S108 recombinates according to the first kind, carries out cyclic redundancy check (CRC), if verification is passed through, then be identified as the first kind, upgrade Hash table, submit the bag after recombinating to, be back to step S102, if verification is not passed through, then be identified as second type, upgrade Hash table, recombinate according to second type, be back to step S102.
The first kind is AAL5, and second type is AAL2.
To carrying out cyclic redundancy check (CRC) according to the Common Part Convergence Sublayer frame after the first kind reorganization.
Alternatively, if cyclic redundancy check (CRC) five times is correct, then judgement is passed through for verification, if cyclic redundancy check (CRC) is made mistakes for five times, then adjudicates and does not pass through for verification.
If verification is passed through, then in Hash table with identifier of the virtual route/virtual channel identification to being recorded as the first kind, if verification do not pass through, then in Hash table with identifier of the virtual route/virtual channel identification to being recorded as second type.
Do not pass through in verification, after recombinating according to second type, the common part sublayer frame head is carried out verification,,, then submit the bag after the reorganization to if verification is correct if check errors then abandons the bag after the reorganization.
With reference to Fig. 2, comprise according to the automatic recognition system 10 of AAL type of the present invention: receiver module 20, be used to receive ATM cell, right according to the identifier of the virtual route/virtual channel identification of ATM cell, carry out Hash lookup by Hash table; First kind processing module 30, be used in Hash coupling and find out under the situation into the first kind, recombinate according to the first kind, submit the bag after recombinating to, and be used for not matching at Hash, recombinate according to the first kind, carry out cyclic redundancy check (CRC), under the situation that verification is passed through, the identification ATM cell is the first kind, upgrade Hash table, submit the bag after recombinating to; The second type of process module 40, being used for mating and finding out at Hash is under the situation of second type, recombinate according to second type, submit the bag after recombinating to, and be used for not matching at Hash, first kind processing module 30 is recombinated according to the first kind, carry out cyclic redundancy check (CRC), under the unsanctioned situation of verification, the identification ATM cell is second type, upgrade Hash table, recombinate according to second type.
The first kind is AAL5, and second type is AAL2.
First kind processing module 30 is used for carrying out cyclic redundancy check (CRC) according to the Common Part Convergence Sublayer frame after the first kind reorganization.
Alternatively, first kind processing module 30 is used for acting in five correct situations of cyclic redundancy check (CRC) and passes through for verification, and the situation of makeing mistakes for five times in cyclic redundancy check (CRC) acts and do not pass through for verification.
First kind processing module 30 be used under the situation that verification is passed through Hash table with identifier of the virtual route/virtual channel identification to being recorded as the first kind, under the unsanctioned situation of verification in Hash table with identifier of the virtual route/virtual channel identification to being recorded as second type.
The second type of process module 40 is used for not passing through in the cyclic redundancy check (CRC) that first kind processing module 30 is carried out, after recombinating according to second type, the common part sublayer frame head is carried out verification, if check errors, then abandon the bag after the reorganization, if verification is correct, then submit the bag after recombinating to.
The present invention relates to communication field, recognition methods when relating in particular to AL2/AAL5 in the atm link automatic
Described the functional block diagram of this automatic identifying method among Fig. 3, this method realizes jointly that by hardware and software hardware comprises that three processing unit: ATM receive and the AAL5 processing unit AAL2 processing unit, communication unit; Be divided into following four module: ATM on the software and receive submodule, AAL5 processing sub, AAL2 processing sub, communication submodule.The automatic identification of AAL5/AAL2 is to realize in ATM reception and AAL5 processing unit, AAL5 is binned in this unit and finishes after finishing, and the cell of AAL2 will be handed to the reorganization of AAL2 processing unit immediately, with the previous element parallel work-flow, all deliver to communication unit at last, realize data upload.
The automatic identification of AAL5/AAL2 has moved the verifying function and the reduction to absurdity principle of CPCS (the Common PartConvergence Sublayer) frame (as shown in Figure 4) of AAL5.In ATM reception and AAL5 processing unit, suppose that earlier the ATM cell of receiving is recombinating of AAL5 type, after finishing, reorganization carries out the CRC32 verification of CPCS frame, if five times correct, promptly in the table of setting with this VPI/VCI (Virtual PathIdentifier/Virtual Channel Identifier, identifier of the virtual route/virtual channel identification) to being recorded as AAL5, be about to it if make mistakes for five times and be recorded as AAL2, give AAL2 processing unit with this cell, and pass through CPS (Common Part Sublayer, common part sublayer) frame head and carry out verification.When coming cell again, in table, carry out HASH (Hash) earlier and search,,, just repeat the reduction to absurdity process of front if HASH fails if the HASH success is just recombinated by the type of record in the table.
As shown in Figure 5, the concrete implementation step of AAL2/AAL5 automatic identifying method is as follows:
The first step, initial work comprises sky HASH table, the foundation of class record table, and other device initialize work.
In second step, cell receives, and carries out HASH and search.
The 3rd step, during the HASH success, recombinate by existing type, repeat to receive cell then; Press the reorganization of AAL5 type during failure, continued for the 4th step.
The 4th step, carry out CRC (Cyclic Redundancy Check, cyclic redundancy check (CRC)) verification, if correctly be recorded as AAL5, recombinate, repeat to enter the reception cell then; Otherwise be recorded as AAL2, moved for the 5th step.
The 5th step, carry out the AAL2 reorganization, and the CPS frame head is carried out verification, if mistake will abandon this bag, correctly just repeat to enter the reception cell then.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (6)
1. the automatic identifying method of an adapting layer types of asynchronous transfer mode is characterized in that, may further comprise the steps:
Step S102 receives ATM cell, and is right according to the identifier of the virtual route/virtual channel identification of described ATM cell, carries out Hash lookup by Hash table;
Step S104 is if the Hash coupling then proceeds to step S106, otherwise proceeds to step S108;
Step S106 recombinates according to the type that Hash lookup goes out, and submits the bag after recombinating to, is back to step S102;
Step S108 recombinates according to the first kind, carries out cyclic redundancy check (CRC), if verification is passed through, then be identified as the described first kind, upgrade described Hash table, submit the bag after recombinating to, be back to step S102, if verification is not passed through, then be identified as second type, upgrade described Hash table, recombinate according to described second type, be back to step S102.
2. automatic identifying method according to claim 1 is characterized in that, the described first kind is an AAL 5, and described second type is an AAL 2.
3. automatic identifying method according to claim 1 is characterized in that, in step S108, to carrying out cyclic redundancy check (CRC) according to the Common Part Convergence Sublayer frame after the described first kind reorganization.
4. according to each described automatic identifying method in the claim 1 to 3, it is characterized in that in step S108, if cyclic redundancy check (CRC) five times is correct, then judgement is passed through for verification, if cyclic redundancy check (CRC) is made mistakes for five times, then adjudicates and does not pass through for verification.
5. according to each described automatic identifying method in the claim 1 to 3, it is characterized in that, in step S108, if verification is passed through, then in described Hash table with described identifier of the virtual route/virtual channel identification to being recorded as the described first kind, if verification is not passed through, then in described Hash table with described identifier of the virtual route/virtual channel identification to being recorded as described second type.
6. according to each described automatic identifying method in the claim 1 to 3, it is characterized in that, in step S108, do not pass through in verification, after recombinating according to described second type, the common part sublayer frame head is carried out verification, if check errors, then abandon the bag after the reorganization,, then submit the bag after the reorganization to if verification is correct.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610140340XA CN101136935B (en) | 2006-11-27 | 2006-11-27 | Automatic recognition method for adapting layer types of asynchronous transfer mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610140340XA CN101136935B (en) | 2006-11-27 | 2006-11-27 | Automatic recognition method for adapting layer types of asynchronous transfer mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101136935A CN101136935A (en) | 2008-03-05 |
CN101136935B true CN101136935B (en) | 2010-12-08 |
Family
ID=39160759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200610140340XA Expired - Fee Related CN101136935B (en) | 2006-11-27 | 2006-11-27 | Automatic recognition method for adapting layer types of asynchronous transfer mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101136935B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106846781B (en) * | 2017-01-20 | 2020-09-01 | 中国电力科学研究院 | Method and system for automatically identifying communication module of centralized meter reading collector |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5648969A (en) * | 1995-02-13 | 1997-07-15 | Netro Corporation | Reliable ATM microwave link and network |
CN1529478A (en) * | 2003-09-29 | 2004-09-15 | 中兴通讯股份有限公司 | Method for realizing hybrid burst recombination at ATM adaptive tier |
CN1604043A (en) * | 2003-09-30 | 2005-04-06 | 国际商业机器公司 | Method for autonomic self-learning in selecting resources for dynamic provisioning |
CN1665220A (en) * | 2004-03-02 | 2005-09-07 | 安捷伦科技有限公司 | Real time segmentation and reassembly of asynchronous transfer mode (ATM) adaptation layer two (AAL2) and AAL5 data |
CN1705306A (en) * | 2004-06-03 | 2005-12-07 | 华为技术有限公司 | A protocol automatic adapting method and apparatus |
-
2006
- 2006-11-27 CN CN200610140340XA patent/CN101136935B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5648969A (en) * | 1995-02-13 | 1997-07-15 | Netro Corporation | Reliable ATM microwave link and network |
CN1529478A (en) * | 2003-09-29 | 2004-09-15 | 中兴通讯股份有限公司 | Method for realizing hybrid burst recombination at ATM adaptive tier |
CN1604043A (en) * | 2003-09-30 | 2005-04-06 | 国际商业机器公司 | Method for autonomic self-learning in selecting resources for dynamic provisioning |
CN1665220A (en) * | 2004-03-02 | 2005-09-07 | 安捷伦科技有限公司 | Real time segmentation and reassembly of asynchronous transfer mode (ATM) adaptation layer two (AAL2) and AAL5 data |
CN1705306A (en) * | 2004-06-03 | 2005-12-07 | 华为技术有限公司 | A protocol automatic adapting method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN101136935A (en) | 2008-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101635743B (en) | System and method using biologic characteristic certification result to validate identity of mobile terminal holder | |
US6512747B1 (en) | ATM transmission system | |
EP0958679B1 (en) | System for parameter analysis and traffic monitoring in asynchronous transfer mode networks | |
CN1267443A (en) | Segment performance monitoring | |
CA2232320A1 (en) | A logical link connection server | |
JP2003529981A (en) | Operating method of mobile communication network | |
CN101065943B (en) | Performance analysis of a circuit switched mobile telecommunications network | |
CN100576820C (en) | The mac header that uses with the frame set compresses | |
CN102047742A (en) | Method and apparatus for multiplexing different traffic types over a common communication session | |
US20030231596A1 (en) | Processing a duplicate data packet | |
CN100546325C (en) | Asymmetric digital subscriber line and Very-high-speed Digital Subscriber Line are mixed the method that inserts | |
US6775239B1 (en) | Checking communication-path data in MPLS communication scheme | |
CN101136934A (en) | Automatic recognition system for adapting layer types of asynchronous transfer mode | |
CN101136935B (en) | Automatic recognition method for adapting layer types of asynchronous transfer mode | |
MXPA06002607A (en) | Transport format combination lookup and reselection. | |
CA2331294C (en) | Method and device for increasing a data throughput | |
CN101237657A (en) | Method and system for testing base station time delay | |
CN101335932A (en) | Method, apparatus and system for data synchronization between base stations | |
CN101500253A (en) | Test system, apparatus and method for base station uplink transmission channel performance | |
CN106685861B (en) | A kind of software defined network system and its message transmission control method | |
CN101488834B (en) | 3G link recognition recombinant processing system and method based on FPGA | |
CN101895999A (en) | Automatic configuration method and device of Iub interface ATM adaptation layer type 2 link parameter | |
US8050187B2 (en) | System and method for real-time AAL2 channel detection in UTRAN | |
CN102299758A (en) | Method and device for processing data burst error | |
CN100442902C (en) | Method and system for long-distance monitoring base station |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101208 Termination date: 20151127 |
|
CF01 | Termination of patent right due to non-payment of annual fee |