Embodiment
The embodiment of the invention provides a kind of switching method and relevant device, can reduce the performance cost that network equipment produces because of exchange process when increasing the local exchange characteristic, reduces exchange process to the requirement of hardware handles ability.Below be elaborated respectively.
See also Fig. 1, switching method embodiment comprises in the embodiment of the invention:
101, the uplink service stream of network equipment mobile terminal receive transmission;
102, judge whether the protocol Data Unit corresponding service data cell that uplink service stream carries is compressed, if the protocol Data Unit corresponding service data cell of uplink service stream carrying is compressed, then execution instep 103;
In the WIMAX standard, for saving air interface resource, reduce transport overhead, improve access efficiency, for via the Service Data Unit of eating dishes without rice or wine to transmit (SDU, Service Data Unit), the spendable compression protocol of portable terminal and network equipment comprises: payload head compression (PHS, Payload Header Suppress) rule, robust header compressed (ROHC, Robust Header Compression) rule.
Particularly, portable terminal uses reduced rule that the scene that SDU compresses is comprised:
When portable terminal when network equipment sends SDU, portable terminal can mate up grader to SDU, SDU is classified on the uplink service stream of the highest grader correspondence of the grader medium priority that mated, again according to the reduced rule corresponding with this grader, compression obtains corresponding protocols data cell (PDU to SDU, Protocol Data Unit), portable terminal sends the uplink service stream of this PDU of carrying again to network equipment.
Particularly, network equipment uses reduced rule that the scene that SDU decompresses is comprised:
When network equipment received the uplink service stream of portable terminal transmission, corresponding SDU was compressed if uplink service flows the PDU of carrying, and then network equipment can decompress to this PDU according to reduced rule corresponding to this PDU, obtains SDU.
Because portable terminal can not carried out compression to SDU yet, so, when network equipment receives the uplink service stream of portable terminal transmission, network equipment need judge whether the SDU of the PDU correspondence of uplink service stream carrying is compressed, and when judging that this SDU is compressed, then the network equipment execution instep 103.
103, judge whether can obtain the local exchange sign of preservation according to reduced rule corresponding to protocol Data Unit, or non-local swap flag; If can obtain the local exchange sign, then execution in step 104; If can obtain non-local swap flag, then execution in step 105;
In the present embodiment, portable terminal the existing reduced rule compression SDU, also can adopt the reduced rule compression SDU that generates in advance in can adopting the WIMAX system.
Generate reduced rule process can for: network equipment generates grader, and the classification foundation of this grader comprises the destination address information of SDU, generates also to preserve the reduced rule corresponding with this grader.And network equipment corresponding to the reduced rule that generates, generates and preserves the local exchange sign when judging that SDU satisfies the local exchange condition; Network equipment corresponding to the reduced rule that generates, generates and preserves non-local swap flag when judging that SDU does not satisfy local give-and-take conditions.
Wherein, local exchange sign is used to indicate compressed SDU to satisfy local give-and-take conditions, non-local exchange sign is used to indicate the discontented unabridged version ground of compressed SDU give-and-take conditions, local exchange sign all can adopt various ways to represent with non-local exchange sign, as literal, numeral does not limit herein.
After generating grader and reduced rule, network equipment then instruct MS with the grader and the reduced rule that generate, being updated to priority is the highest current grader and reduced rule, make the portable terminal can be according to the grader of this generation, to the SDU classification of identical destination address information is arranged, and this SDU compression is obtained corresponding PDU according to the reduced rule of this generation, when making network equipment receive this PDU, can obtain this locality exchange sign or the non-local exchange sign of preservation according to the reduced rule of this PDU correspondence.
Need to prove herein, also can be without network equipment, and generate grader with external special equipment, and the classification foundation of this grader comprises the destination address information of SDU, the reduced rule that generation and preservation are corresponding with grader, when judging that SDU satisfies local give-and-take conditions, corresponding to the reduced rule that generates, generate and preserve local exchange sign, when judging the discontented unabridged version ground of SDU give-and-take conditions, generate and also to preserve non-local exchange sign, and instruct MS the grader that generates and reduced rule are updated to priority is the highest current grader and reduced rule.But this moment, need network equipment and external special equipment are provided with, during PDU that the reduced rule compression that network equipment is received be generated obtains, can from external special equipment, get access to this locality exchange sign or the non-local exchange sign of preservation according to the reduced rule of this PDU correspondence.
In addition, need to prove that the grader of generation, the life cycle of reduced rule can preset according to different demands.
Therefore, network equipment judges then whether the reduced rule according to this PDU correspondence can obtain this locality exchange sign or the non-local exchange sign of preservation if judging the SDU of the PDU correspondence of uplink service stream carrying is compressed.
104, determine that Service Data Unit satisfies local give-and-take conditions, and Service Data Unit is carried out local exchange;
Can obtain local exchange sign if judge reduced rule in thestep 103 according to the PDU correspondence, then network equipment determines that the SDU of this PDU correspondence satisfies local give-and-take conditions, and can this PDU be decompressed according to the reduced rule of this PDU correspondence, obtain the SDU of this PDU correspondence, again this SDU is carried out local exchange.
105, determine that Service Data Unit does not satisfy local give-and-take conditions, and Service Data Unit is carried out non-local swap.
Can obtain non-local exchange sign if judge the reduced rule according to the PDU correspondence in thestep 103, then network equipment is determined the discontented unabridged version ground of the SDU give-and-take conditions of this PDU correspondence, and the SDU of this PDU correspondence is carried out non-local exchange.
Need to prove herein, when judging in thestep 103 can not obtain the local exchange sign of preservation or non-local swap flag according to reduced rule corresponding to PDU the time, perhaps, when SDU corresponding to the PDU that judges the carrying of uplink service stream in thestep 102 is not compressed, network equipment can directly be carried out non-local swap to this SDU, can judge further also whether this SDU satisfies the local exchange condition, and according to judged result this SDU is carried out local exchange or non-local swap, in this process, network equipment can be only when judging that SDU satisfies the local exchange condition, by generation grader and the reduced rule described in thestep 103, and generate and preserve the local exchange sign, or only when judging that SDU does not satisfy local give-and-take conditions, by generation grader and the reduced rule described in thestep 103, and generate and preserve non-local swap flag; No matter also can whether satisfy the local exchange condition by SDU, all by generation grader and the reduced rule described in thestep 103, whether satisfy the local exchange condition according to SDU again, generate and preserve local exchange sign or non-local swap flag; Also can not generate reduced rule, not limit herein.After generating grader and reduced rule, then instruct MS is with the grader and the reduced rule that generate for network equipment, and being updated to priority is the highest current grader and reduced rule.
In the present embodiment, if network equipment can obtain the local exchange sign of preservation according to reduced rule corresponding to PDU, then network equipment can determine that SDU corresponding to this PDU satisfies the local exchange condition; If network equipment can obtain non-local swap flag according to reduced rule corresponding to PDU, then network equipment can determine that SDU corresponding to this PDU do not satisfy local give-and-take conditions.Relative prior art, in the present embodiment, network equipment need not each SDU that receives is carried out the positioning address information field, extract the address, look into LAT, steps such as coupling local address judge whether to satisfy local give-and-take conditions, thereby when increasing local commutativity, reduced network equipment because of the performance cost that exchange process produced, reduced the requirement of exchange process, reduced the enforcement difficulty of local commutativity the hardware handles ability.
In fact, present embodiment utilizes compression process that the performance cost that originally converges in network equipment is shared portable terminal, thereby has reduced network equipment because of performance cost that local exchange process produced.
Network equipment is being carried out in the process of local exchange the SDU that satisfies the local exchange condition, needs SDU is mated descending grader, to determine the local exchange route of this SDU.
Wherein, the process of SDU being mated descending grader comprises: judge whether the characteristic information of SDU meets the classification foundation of current descending grader, if meet, then determine the descending grader coupling of this SDU and this, if do not meet, judge then whether the characteristic information of this SDU meets the classification foundation of next descending grader, till finding the descending grader that mates with SDU.
Network equipment needs each SDU that will carry out local exchange is mated descending grader, makes the performance cost of local exchange process bigger.
If in the above-mentioned process that generates grader and reduced rule in advance, when judging that SDU satisfies local give-and-take conditions, this SDU is carried out local exchange, generate and preserve this locality exchange route (LSR of the local exchanging routing information that comprises this SDU, Local switch Route) table, and the classification foundation of the grader that generates is arranged to also to comprise classification foundation in the descending grader of this SDU coupling, and this locality that generates and preserve exchange sign comprises the LSR table index, then after this, if network equipment can obtain the LSR table index of preservation according to the reduced rule of the PDU correspondence that receives, then network equipment can determine directly that the SDU of this PDU correspondence satisfies local give-and-take conditions, and can obtain the LSR table of preservation according to the LSR table index, according to the local exchanging routing information in this LSR table, directly SDU is transmitted to purpose MS, finish the implementation of local exchange, and need not again to the descending classification of SDU.
Then take above-mentioned generation and the situation of preserving the LSR table as example, switching method in the embodiment of the invention is elaborated below, sees also Fig. 2, another embodiment of switching method comprises in the embodiment of the invention:
201, the uplink service stream of network equipment mobile terminal receive transmission;
202, judge whether Service Data Unit corresponding to the protocol Data Unit of uplink service stream carrying be compressed; If the Service Data Unit that the protocol Data Unit of uplink service stream carrying is corresponding is compressed, then execution instep 203; If the Service Data Unit that the protocol Data Unit of uplink service stream carrying is corresponding is not compressed, then execution instep 206;
203, judge whether can obtain the local exchange routing table index of preservation according to reduced rule corresponding to protocol Data Unit, or non-local swap flag; If can obtain local exchange routing table index, then execution instep 204; If can obtain non-local swap flag, then execution instep 205; If can not obtain local exchange routing table index or non-local swap flag, then execution instep 206;
LSR table index or non-local exchange sign can be kept at corresponding reduced rule in the corresponding reduced rule table together, at this moment, can obtain corresponding reduced rule table according to the reduced rule index, thereby obtain the LSR table index or the non-local exchange sign of preservation; LSR table index or non-local exchange sign also can not be kept in the corresponding reduced rule table, and are kept at separately in the newly-generated local exchange message table, as long as set up corresponding relation between local exchange message table and the corresponding reduced rule.
Need to prove that herein in the present embodiment, the local exchange sign comprises the LSR table index, so that get access to the LSR table index of preservation according to reduced rule corresponding to PDU, obtain again the LSR table of preservation.Be understandable that the local exchange sign also can not comprise the LSR table index, as long as to reduced rule corresponding to PDU and LSR table building of correspondence relation, the LSR table that can get access to preservation according to reduced rule corresponding to PDU got final product.
204, determine that Service Data Unit satisfies local give-and-take conditions, and obtain this locality exchange routing table of preservation, Service Data Unit is carried out local exchange according to this this locality exchange routing table according to this locality exchange routing table index;
If judge in thestep 203 that the reduced rule according to the PDU correspondence can obtain the LSR table index, then network equipment determines that the SDU of this PDU correspondence satisfies local give-and-take conditions, and can this PDU be decompressed according to the reduced rule of this PDU correspondence, obtain the SDU of this PDU correspondence, and network equipment can obtain the LSR table of preservation according to the LSR table index, according to the local exchanging routing information in this LSR table, this SDU is directly transmitted to purpose MS again, finish implementation the local exchange of this SDU.
205, determine that Service Data Unit does not satisfy local give-and-take conditions, and Service Data Unit is carried out non-local swap;
If judge in thestep 203 and can obtain non-local swap flag according to reduced rule corresponding to PDU, then network equipment determines that SDU corresponding to this PDU do not satisfy local give-and-take conditions, and obtain the destination address information of this SDU, according to this destination address information this SDU is carried out non-local swap.
206, judge whether Service Data Unit satisfies the local exchange condition, if satisfy, then execution instep 207, if do not satisfy, then execution instep 209;
If judge in thestep 202 that SDU corresponding to the PDU of uplink service stream carrying is not compressed, perhaps judge in thestep 203 and can not obtain LSR table index or non-local swap flag according to reduced rule corresponding to PDU, then network equipment can judge whether SDU corresponding to this PDU satisfies the local exchange condition according to the method for description of the Prior Art.
207, Service Data Unit is carried out local exchange;
Satisfy local give-and-take conditions if judge the SDU of PDU correspondence in thestep 206, then network equipment obtains SDU according to the reduced rule of this PDU correspondence to this PDU decompression, and this SDU is carried out local exchange.
208, generate and preserve the local exchange routing table according to the local exchange routing iinformation in thestep 207, generate grader, generate and preserve reduced rule and local exchange routing table index;
Instep 207, SDU is carried out after the local exchange, network equipment generates and preserves the LSR table according to the local exchange routing iinformation of this SDU, and generation grader, the classification foundation of this grader comprises the destination address information of this SDU, and the classification foundation in the descending grader that this classification foundation also comprises this SDU coupling is set, generates and also preserve the reduced rule corresponding with the grader of generation; And corresponding to the reduced rule that generates, generate and preserve corresponding LSR table index.
209, Service Data Unit is carried out non-local swap, and generate grader, generate and preserve reduced rule and non-local swap flag;
If judge the discontented unabridged version ground of the SDU give-and-take conditions of PDU correspondence in thestep 206, then network equipment is carried out non-local exchange to this SDU, and generation grader, the classification foundation of this grader comprises the destination address information of this SDU, and, the reduced rule that generation and preservation are corresponding with grader corresponding to the reduced rule that generates, generates and preserves non-local exchange sign.
Need to prove that herein instep 207 and thestep 209, the grader of generation, reduced rule and the life cycle of LSR table can preset according to different demands.
210, indicating mobile terminal is with the grader and the reduced rule that generate, and being updated to priority is the highest current grader and reduced rule.
Generating grader, generate and preserve after the reduced rule, the network equipment instruct MS is with the grader and the reduced rule that generate, being updated to priority is the highest current grader and reduced rule, make the portable terminal can be according to the grader that generates, to the SDU classification of the classification foundation that meets this grader, and according to the reduced rule of the generation of correspondence, this SDU is compressed.
In the present embodiment, network equipment can obtain the LSR table index as if the reduced rule according to the PDU correspondence, then network equipment can determine that the SDU of this PDU correspondence satisfies local give-and-take conditions, and, also can obtain the LSR table of preservation, SDU be transmitted to purpose MS according to this LSR table according to the LSR table index that obtains.As seen, present embodiment need not will to carry out the local SDU that exchanges to each and mates descending grader, on basis embodiment illustrated in fig. 1, when increasing local commutativity, reduced network equipment because of this locality exchange performance cost that implementation produced, further reduced network equipment because of the performance cost that exchange process produced, further reduced the requirement of exchange process, thereby reduced the enforcement difficulty of local commutativity the hardware handles ability.
In the various embodiments described above, network equipment can be BTS or GW.For ease of understanding, below take network equipment as BTS, reduced rule adopts the PHS rule, and the local exchange sign comprises the LSR table index, non-local swap flag is 0, the situation that LSR table index or non-local swap flag are kept at corresponding PHS table is example, and the switching method in the embodiment of the invention is described in detail.See also Fig. 3, another embodiment of the switching method in the embodiment of the invention comprises:
301, the uplink service stream of wireless base station mobile terminal receive transmission;
302, whether the payload head compressed index (PHSI, Payload Header Suppress Index) of the protocol Data Unit correspondence of judgement uplink service stream carrying equals 0; If PHSI is not equal to 0, then execution instep 303; If PHSI equals 0, then execution instep 306;
Whether BTS equals 0 by the PHSI that judges the PDU correspondence, judges whether the SDU of PDU correspondence is compressed.
303, judge whether to obtain the local exchange routing table index of preservation, ornon-local swap flag 0; If can obtain local exchange routing table index, determine that then Service Data Unit satisfies the local exchange condition, and execution instep 304; If can obtainnon-local swap flag 0, determine that then Service Data Unit does not satisfy local give-and-take conditions, and execution instep 305; If can not obtain local exchange routing table index or non-local swap flag, then execution instep 306;
If judge in thestep 302 that PHSI is not equal to 0, then BTS determines that SDU corresponding to PDU is compressed, and obtain corresponding PHS rule list according to PHSI corresponding to this PDU, judge from this PHS rule list, whether to obtain the LSR table index of preservation, ornon-local swap flag 0.
304, obtain this locality exchange routing table of preservation according to this locality exchange routing table index, Service Data Unit is carried out local exchange according to this this locality exchange routing table;
If judge in thestep 303 that the PHSI according to the PDU correspondence can obtain the LSR table index, then BTS determines that the SDU of this PDU correspondence satisfies local give-and-take conditions, and can this PDU be decompressed according to the reduced rule of this PDU correspondence, obtain the SDU of this PDU correspondence, and BTS can obtain the LSR table of preservation according to the LSR table index that obtains, again according to the local exchanging routing information in this LSR table, this SDU is directly transmitted to purpose MS, finish implementation the local exchange of this SDU.
If judge in thestep 303 and can obtainnon-local swap flag 0 according to PHSI corresponding to PDU, BTS determines that then SDU corresponding to this PDU do not satisfy local give-and-take conditions.
305, Service Data Unit is carried out non-local swap;
After definite SDU corresponding to PDU do not satisfy local give-and-take conditions, BTS then can decompress to this PDU according to PHS rule corresponding to this PDU, obtain SDU corresponding to this PDU, and obtain the destination address information of this SDU, according to this destination address information this SDU is carried out non-local swap.
306, judge whether Service Data Unit satisfies the local exchange condition, if satisfy, then execution instep 307, if do not satisfy, then execution instep 309;
Judge that instep 302 PHSI equals 0, when determining that SDU corresponding to the PDU of uplink service stream carrying is not compressed, perhaps, when judgement in thestep 303 can not be obtained LSR table index ornon-local swap flag 0, then BTS judged further whether SDU corresponding to PDU satisfies the local exchange condition.
307, Service Data Unit is carried out local exchange;
Satisfy local give-and-take conditions if judge the SDU of PDU correspondence in thestep 306, BTS then can decompress to this PDU according to the PHS rule of this PDU correspondence, recovers SDU, and this SDU is carried out local exchange.
308, generate and preserve the local exchange routing table according to the local exchange routing iinformation in thestep 307, generate grader, generate and preserve payload head reduced rule and local exchange routing table index;
Instep 307, SDU is carried out after the local exchange, network equipment generates the LSR table according to the local exchange routing iinformation of SDU, simultaneously, generate grader, the classification foundation of this grader comprises the destination address information of this SDU, and the classification foundation in the descending grader that this classification foundation also comprises this SDU coupling is set, generates and also preserve the PHS rule corresponding with the grader of generation; And generate corresponding LSR table index, and in the PHS rule list of preserving the PHS rule that generates, preserve this LSR table index, make and to obtain the LSR table index of this preservation according to the PHSI of the PHS rule that generates.
Wherein, the LSR table comprises following local exchanging routing information: purpose terminal identifier (dest MSID ID, dest MS IDentifier), down channel identifier (dwlink CID, dwlink Channel IDentifier).
Need to prove herein, if network equipment is GW, then the LSR table comprises following local exchanging routing information: purpose terminal identifier (dest MSID ID, dest MS IDentifier), downlink business flow identifier (dwlink SFID, dwlink Service Flow IDentifier).
309, Service Data Unit is carried out non-local swap, and generate grader, generate and preserve payload head reduced rule andnon-local swap flag 0;
If judge in thestep 306 that SDU corresponding to PDU do not satisfy local give-and-take conditions, then BTS carries out non-local swap to this SDU, and the generation grader, the classification foundation of this grader comprises the destination address information of this SDU, generates and preserve the PHS rule corresponding with this grader; And in the PHS rule list of preserving the PHS rule, preservenon-local swap flag 0, make and to obtain thenon-local swap flag 0 of this preservation according to the PHSI of the PHS rule that generates.
Alternatively, in the WIMAX system, the PHS rule can be provided with consistent with its corresponding grader, therefore, instep 307 and thestep 309, can be arranged to the payload head compression domain (PHSF, Payload Header Suppress Field) of the PHS rule that generates consistent with the classification foundation of corresponding grader; In addition, the payload head of the PHS rule of generation is compressed with criterion knowledge (PHSV, Payload Header SuppressValid) can be set to 1, to improve reliability.
310, indicating mobile terminal is with the grader and the payload head reduced rule that generate, and being updated to priority is the highest current grader and payload head reduced rule.
After generating grader and PHS rule, then the grader that generates is become priority with the PHS Policy Updates be the highest current grader and PHS rule to the BTS instruct MS, make the portable terminal then can be according to the grader of this generation, SDU classification to the classification foundation that meets this grader, and, compress this SDU according to the PHS rule of this generation.
Wherein, the BTS instruct MS is with the grader and the PHS rule that generate, and being updated to priority is the highest current grader and PHS rule, and this step is specifically as follows:
BTS sends to MS and revises reduced rule request (DSC_REQ, Dynamic Service ChangeRequest) message, DSC_REQ message is carried the grader and the PHS rule of generation, and making MS is the highest current grader and PHS rule with grader and the alternative priority of PHS rule that generates;
Specifically also can for:
The priority of the grader that BTS generates is set to current the highest; Send increase reduced rule request (DSA_REQ to MS, Dynamic Service Addition Request) message, DSA_REQ message is carried the grader and the PHS rule of generation, herein, the priority of the grader that generates is set to current the highest, makes MS preferentially use the grader and the PHS rule of this generation;
Need to prove, in the present embodiment, network equipment also can be GW, but GW can not directly send DSC_REQ message or DSA_REQ message to MS, send and need to trigger corresponding BTS, be specially: send transmission to corresponding BTS and revise request (PATH_Modification_REQ) message, PATH_Modification_REQ message is carried the grader and the PHS rule of generation, carries the grader of generation and the DSC_REQ message or the DSA_REQ message of PHS rule to trigger this BTS to the MS transmission.
Need to prove herein, in the present embodiment, the grader of generation, corresponding PHS rule can preset according to different demands with the life cycle of corresponding LSR table.For example, the grader of generation and the life cycle that is equal to corresponding LSR table life cycle of the PHS rule of correspondence can be set, can arrange the life cycle of LSR table according to different demands.
When LSR hypergene cycle of deposit expires, the PHS rule of correspondence and corresponding LSR table on the network equipment deletion network equipment, and to portable terminal transmission deletion rule request (DSD_REQ, DynamicService Delete Request) message, with the PHS rule of the correspondence on the indicating mobile terminal deletion portable terminal, and corresponding grader.
Need to prove herein, non-local exchange sign in LSR table index in thestep 307 and thestep 309, also can not be kept in the PHS rule list, and be kept in the newly-generated local exchange message table, as long as the PHS rule of local exchange message table and generation has been set up corresponding relation, for example, it is identical with the PHSI of the PHS rule of generation the index of this this locality exchange message table can be set.At this moment, the grader of generation, the life cycle of the local exchange information table that can be equal to their correspondences life cycle of PHS rule and LSR table.Can preset the life cycle of local exchange message table according to different demands.
When the local exchange information table expires life cycle, corresponding PHS rule on the network equipment deletion network equipment, corresponding LSR table, and corresponding local exchange information table, and to portable terminal transmission DSD_REQ message, with the PHS rule of the correspondence on the indicating mobile terminal deletion portable terminal, and corresponding grader.
In the present embodiment, BTS is if can obtain the LSR table index according to the PHS rule of PDU correspondence, then network equipment can determine that the SDU of this PDU correspondence satisfies local give-and-take conditions, and can obtain the LSR table according to the LSR table index that obtains, and according to this LSR table SDU is transmitted to purpose MS; BTS then can determine the discontented unabridged version ground of the SDU give-and-take conditions of this PDU correspondence if can obtainnon-local exchange sign 0 according to the PHS rule of PDU correspondence.Relative prior art, present embodiment need not each SDU that receives is carried out the positioning address information field, extract the address, look into LAT, the steps such as coupling local address judge whether to satisfy the local exchange condition, thereby when increasing the local exchange characteristic, reduced the performance cost that network equipment produces because of exchange process; And, the SDU that BTS need not will to carry out each local exchange mates descending grader, thereby when increasing the local exchange characteristic, further reduced the performance cost that BTS produces because of exchange process, reduce the requirement of exchange process to the hardware handles ability, reduced the enforcement difficulty of local exchange characteristic.
In fact, present embodiment utilizes compression process that the performance cost that originally converges in BTS is shared portable terminal, thereby effectively reduces BTS because of performance cost that exchange process produced.
Introduce the network equipment in the embodiment of the invention below, see also Fig. 4, network equipment embodiment comprises in the embodiment of the invention:
Receiving element 401 is used for the uplink service stream that mobile terminal receive sends;
First judging unit 402 is used to judge whether the protocol Data Unit corresponding service data cell of uplink service stream carrying is compressed;
Second judging unit 403 is used for judging whether can obtain the local exchange sign of preservation according to reduced rule corresponding to protocol Data Unit when 402 judgements of first judging unit are compressed, or non-local swap flag;
First performance element 404 is used for determining that Service Data Unit satisfies the local exchange condition, and Service Data Unit being carried out local exchange when 403 judgements of second judging unit can be obtained the local exchange sign;
Second performance element 405 is used for determining that Service Data Unit does not satisfy local give-and-take conditions, and Service Data Unit being carried out non-local swap when 403 judgements of second judging unit can be obtained non-local swap flag.
In the present embodiment, portable terminal the existing reduced rule compression SDU, also can adopt the reduced rule compression SDU that generates in advance in can adopting the WIMAX system.
Generate reduced rule process can for: network equipment generates grader, and the classification foundation of this grader comprises the destination address information of SDU, generates also to preserve the reduced rule corresponding with this grader.And network equipment corresponding to the reduced rule that generates, generates and preserves the local exchange sign when judging that SDU satisfies the local exchange condition; Network equipment corresponding to the reduced rule that generates, generates and preserves non-local swap flag when judging that SDU does not satisfy local give-and-take conditions.
Wherein, local exchange sign is used to indicate compressed SDU to satisfy local give-and-take conditions, non-local exchange sign is used to indicate the discontented unabridged version ground of compressed SDU give-and-take conditions, local exchange sign all can adopt various ways to represent with non-local exchange sign, as literal, numeral does not limit herein.
Need to prove herein, also can be without network equipment, and generate grader with external special equipment, and the classification foundation of this grader comprises the destination address information of SDU, the reduced rule that generation and preservation are corresponding with grader, when judging that SDU satisfies local give-and-take conditions, corresponding to the reduced rule that generates, generate and preserve local exchange sign, when judging the discontented unabridged version ground of SDU give-and-take conditions, generate and also to preserve non-local exchange sign, and instruct MS the grader that generates and reduced rule are updated to priority is the highest current grader and reduced rule.But this moment, need network equipment and external special equipment are provided with, during PDU that the reduced rule compression that network equipment is received be generated obtains, can from external special equipment, get access to this locality exchange sign or the non-local exchange sign of preservation according to the reduced rule of this PDU correspondence.
In addition, need to prove that the grader of generation can preset according to different demands with the life cycle of the reduced rule of correspondence.
In the present embodiment, when receiving element 401 received the uplink service stream of MS transmission, first judging unit 402 judged whether SDU corresponding to the PDU of this uplink service stream carrying be compressed; If judge compressedly, then second judging unit 403 judges whether can obtain local exchange sign or the non-local swap flag of preservation according to reduced rule corresponding to this PDU; If can obtain the local exchange sign, then first performance element 404 determines that SDU corresponding to PDU satisfies the local exchange condition, and this SDU is carried out local exchange; If can obtain non-local swap flag, then second performance element 405 determines that SDU corresponding to PDU do not satisfy local give-and-take conditions, and this SDU is carried out non-local swap.
Relative prior art, in the present embodiment, network equipment need not each SDU that receives is carried out the positioning address information field, extract the address, look into LAT, steps such as coupling local address judge whether to satisfy local give-and-take conditions, thereby when increasing local commutativity, reduced network equipment because of the performance cost that exchange process produced, reduced the requirement of exchange process, reduced the enforcement difficulty of local commutativity the hardware handles ability.
In fact, present embodiment utilizes compression process that the performance cost that originally converges in network equipment is shared portable terminal, thereby has reduced network equipment because of performance cost that exchange process produced.
Corresponding to embodiment illustrated in fig. 2, the embodiment of the invention also provides network equipment another embodiment, sees also Fig. 5, and another embodiment of network equipment comprises in the embodiment of the invention:
Receivingelement 501 is used for the uplink service stream that mobile terminal receive sends;
First judgingunit 502 is used to judge whether the protocol Data Unit corresponding service data cell of uplink service stream carrying is compressed;
Second judging unit 503 is used for judging whether can obtain the local exchange routing table index of preservation according to reduced rule corresponding to protocol Data Unit when 502 judgements of first judging unit are compressed, or non-local swap flag;
First performance element 504, be used for whensecond judging unit 503 judges that can obtain this locality exchanges the routing table index, determine that Service Data Unit satisfies local give-and-take conditions, and obtain this locality exchange routing table of preservation according to this locality exchange routing table index, according to this locality exchange routing table Service Data Unit is carried out local exchange, when the judgement of the 3rd judging unit is satisfied, Service Data Unit is carried out local exchange;
Second performance element 505,503 judgements of second judging unit are used for when can be obtained non-local swap flag, determine that Service Data Unit does not satisfy local give-and-take conditions, and to Service Data Unit execution non-local swap, when the judgement of the 3rd judging unit is not satisfied, Service Data Unit is carried out non-local swap;
The3rd judging unit 506 is used for when 502 judgements of first judging unit are not compressed, or when 503 judgements of second judging unit can not be obtained local exchange sign or non-local swap flag, judges whether Service Data Unit satisfies the local exchange condition;
Generation unit 507, be used for when the3rd judging unit 506 judges that Service Data Unit satisfies the local exchange condition, local exchange routing iinformation according to this Service Data Unit, generate the LSR table, and generation grader, the classification foundation of this grader comprises the destination address information of this Service Data Unit, and classification foundation in the descending grader that this classification foundation also comprises this Service Data Unit coupling is set, generate and preserve the reduced rule corresponding with the grader that generates, corresponding to the reduced rule that generates, generate and preserve local exchange routing table index; When the3rd judging unit 506 judges that Service Data Unit does not satisfy local give-and-take conditions, generate grader, the classification foundation of this grader comprises the destination address information of this Service Data Unit, generate and preserve the reduced rule corresponding with the grader that generates, corresponding to the reduced rule that generates, generate and preserve non-local swap flag;
Indicatingmember 508 is used for indicating mobile terminal with the grader and the reduced rule that generate, and being updated to priority is the highest current grader and reduced rule.
In the present embodiment, when receivingelement 501 receives the uplink service stream of MS transmission, 502 of first judging units judge whether SDU corresponding to the PDU of this uplink service stream carrying be compressed, if judge compressed, whether 503 judgements of second judging unit can obtain the LSR table index of preservation according to reduced rule corresponding to this PDU, or non-local swap flag.
If judging,second judging unit 503 can obtain the LSR table index according to reduced rule corresponding to PDU, thenfirst performance element 504 determines that SDU corresponding to this PDU satisfies the local exchange condition, and can obtain according to the LSR table index that obtains the LSR table of preservation, according to the local exchange routing iinformation in this LSR table this SDU is transmitted to purpose MS again.
Can obtain non-local swap flag ifsecond judging unit 503 is judged according to reduced rule corresponding to PDU, thensecond performance element 505 determines that SDU corresponding to this PDU do not satisfy local give-and-take conditions, and this SDU is carried out non-local swap.
Iffirst judging unit 502 judges that SDU corresponding to PDU is not compressed, orsecond judging unit 503 judge and can not obtain LSR table index or the non-local swap flag of preservation that then the3rd judging unit 506 judges whether SDU corresponding to this PDU satisfies the local exchange condition.
When the3rd judging unit 506 judges that SDU satisfies the local exchange condition, 504 couples of these SDU of first performance element carry out local exchange,generation unit 507 is according to the local exchange routing iinformation of this SDU, generate and preserve the LSR table, andgeneration unit 507 generates grader, the classification foundation of this grader comprises the destination address information of this SDU, and classification foundation in the descending grader that this classification foundation also comprises this SDU coupling is set, and, generate and preserve the reduced rule corresponding with the grader that generates, corresponding to the reduced rule of this generation, generate and preserve the LSR table index.
When the3rd judging unit 506 judges that SDU does not satisfy local give-and-take conditions, thengeneration unit 507 generates grader, the classification foundation of this grader comprises the destination address information of this SDU, generate and preserve the reduced rule corresponding with this grader, corresponding to the reduced rule of this generation, generate and preserve non-local swap flag.
Grader and reduced rule that indicatingmember 508 indicating mobile terminals generategeneration unit 507, being updated to priority is the highest current grader and reduced rule.
Need to prove that herein in the present embodiment, the local exchange sign comprises the LSR table index, so that get access to the LSR table index according to reduced rule corresponding to PDU, obtain again the LSR table of preservation.Be understandable that in the present embodiment, the local exchange sign also can not comprise the LSR table index, as long as to reduced rule corresponding to PDU and LSR table building of correspondence relation, the LSR table that can get access to preservation according to reduced rule corresponding to PDU got final product.
In the present embodiment, if judging,second judging unit 503 can obtain the LSR table index of preservation according to PHS rule corresponding to PDU, thenfirst performance element 504 can determine that SDU corresponding to this PDU satisfies the local exchange condition, also can obtain the LSR table according to the LSR table index, according to this LSR table this SDU be transmitted to purpose MS; Can obtain the non-local swap flag of preservation ifsecond judging unit 503 is judged according to PHS rule corresponding to PDU, thensecond performance element 505 can determine that SDU corresponding to this PDU do not satisfy local give-and-take conditions.Relative prior art, present embodiment need not each SDU that receives is carried out the positioning address information field, extract the address, look into LAT, steps such as coupling local address judge whether to satisfy local give-and-take conditions, thereby when increasing local commutativity, reduced network equipment because of performance cost that exchange process produced; And, the SDU that present embodiment need not will to carry out each local give-and-take conditions mates descending grader, thereby when increasing local commutativity, further reduced network equipment because of performance cost that exchange process produced, reduced the requirement of exchange process, reduced the enforcement difficulty of local commutativity the hardware handles ability.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
More than switching method and relevant device that the embodiment of the invention provided are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.