Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of changing method of serving BS, be applicable to the switching of mobile device place serving BS just in the communications, the method of the present embodiment is the method performed by serving BS side, mobile device current place, and flow chart as shown in Figure 2, comprising:
101, send handover request (HO_Req) message at least two candidate base stations, in handover request message, comprise the address information of the opposite end communication equipment of mobile device;
Be appreciated that the switching flow of the present embodiment can trigger by mobile device the base station triggers also can adhered to by mobile device, namely triggered by Current Serving BTS.When mobile device is triggered, in specific implementation process: this mobile device obtains multiple neighbor base station information from Current Serving BTS, then multiple neighbor base station is scanned, and the multiple candidate base stations scanned (are designated as BSj, j=1,2,3...N) identification information and index parameter send to Current Serving BTS as RSSI, CINR etc. are carried in mobile device handover request (MOB_MSHO_REQ) message; Current Serving BTS sends handover request message to each candidate base station after receiving the mobile device handover request of mobile device transmission, and carries the address information of opposite end communication equipment, can also carry the information such as the service quality of mobile device desired signal.
When the Current Serving BTS adhered to by mobile device is triggered, the Current Serving BTS of mobile device can send handover request message by each neighbor base station when finding that mobile device will exceed the coverage of oneself initiatively to the Current Serving BTS of mobile device, and carry the address information of opposite end communication equipment, at this moment serving BS does not obtain the signal quality parameter such as RSSI, CINR of this mobile device to each neighbor base station from mobile device, the accurate location of mobile device may do not known, so by all neighbor base stations alternatively base station yet.
Serving BS can obtain the address information of opposite end communication equipment by searching this mobile device current sessions, and without the need to obtaining from mobile device; The address information of opposite end communication equipment can certainly be carried when sending mobile device handover request by mobile device.
102, the routing state information formed with opposite end communication equipment after reception at least two candidate base stations are switched to candidate base station according to the mobile device that the address information of opposite end communication equipment returns;
After each candidate base station receives handover request message, according to the address information of wherein opposite end communication equipment, determine the routing state switching rear formation, and return corresponding routing state information by handoff response (HO_Rsp) message to the Current Serving BTS of mobile terminal, comprise: the information of the local routing of instruction candidate base station, the information of the local routing of gateway belonging to instruction candidate base station, instruction mobile device is switched to the information of the local routing of the anchor ASN-GW after candidate base station, or the information etc. of instruction connectivity serving network (CSN) conventional route.Wherein gateway belonging to candidate base station refers to the gateway (i.e. candidate service gateway) of candidate base station place Access Network, and gateway belonging to this candidate base station may be same gateway with mobile terminal current service gateway, also may not be.And mobile device be switched to candidate base station after anchor ASN-GW (i.e. candidate's anchor ASN-GW) and mobile device current anchor gateway may be same gateway, also may not be.
Wherein candidate base station is when determining routing state, can according to the information of self record, the message returned from the anchor ASN-GW after the gateway belonging to it and mobile device are switched to this candidate base station in reciprocal process judges whether the address information of opposite end communication equipment is recorded in this locality, if have this address information at local record, then the routing state formed after switching is this candidate base station local routing; If this address information does not have record in this locality, but gateway has record belonging to this candidate base station, then the routing state formed after switching is candidate service gateway local routing; If this address information is gateway all not records belonging to local and candidate base station, and have record at anchor ASN-GW, then after switching, the routing state of formation is anchor ASN-GW local routing; If this address information all not record on these three nodes, then the routing state formed after switching is the conventional route of CSN.
103, according to preset strategy, and the network performance quality information of at least two candidate base stations obtains the priority recommendation list of at least two candidate base stations with the routing state information returned;
Here network performance quality information is the information of network performance that can be used for weighing candidate base station, such as to the qos requirement satisfaction degree etc. of mobile device, also can add candidate base station that mobile device reports and to eat dishes without rice or wine signal quality parameter RSSI, CINR etc.; Priority recommendation list in the present embodiment is that Current Serving BTS considers the information such as the network performance quality information of candidate base station and the routing state information of formation after switching, and the priority level of multiple candidate base station is obtained according to preset strategy, and obtain according to priority level sequence.
Above-mentioned preset strategy can be: the value bsZ (BSj calculated by following formula (1), j=0,1,2, ...) in, the candidate base station priority of minimum value (or maximum) correspondence is the highest, and the candidate base station priority of maximum (or minimum value) correspondence is minimum.
bsZ(BSj)=bsF(BSj)+α*Y(BSj) (1)
Wherein, bsF (BSj) is the network performance score value considering the BSj that the indexs such as RSSI, CINR, QoS obtain, reflect the requirement of the network performance quality to candidate base station, if the value little expression priority of definition bsZ (BSj) is high, then the value little expression network performance quality of bsF (BSj) is good, otherwise if the value large expression priority of definition bsZ (BSj) is high, then the value large expression network performance quality of bsF (BSj) is good.Be appreciated that bsF (BSj) with reference to parameters such as RSSI, CINR, QoS, and can obtain according to certain scoring method, wherein concrete scoring method can be that equipment vendor is preset in a base station.
And Y (BSj) is route score value, embody the length of the routed path formed after mobile device is switched to candidate base station, reflect the degree economized on resources, be appreciated that, Y (BSj) can be the value that user sets in a base station, such as set that Y (BSj) is 1,2.... or n etc., if the value little expression priority of definition bsZ (BSj) is high, the local routing score value that can set candidate base station is minimum, the local routing score value of candidate service and anchor ASN-GW increases successively, and the conventional route score value of CSN is maximum; Otherwise if the value large expression priority of definition bsZ (BSj) is high, then the local routing score value that can set candidate base station is maximum, and the conventional route score value of CSN is minimum.Visible bsZ (BSj) reflects the requirement that the combined factors such as network performance, service quality and resource efficiency to candidate base station are considered.
Parameter alpha is the weighted value that route score value is corresponding, the network performance quality of candidate base station and the Compromise Values of resource efficiency, in any communication network, all contradiction to the demand of both network performance quality and resource efficiency, parameter alpha then reflects both compromise relation, can be provided resource-effective attention degree according to operator by equipment vendor, can rule of thumb provide, also can draw dynamically by certain formulae discovery.Can also bsF (BSj) in formula (1) be front adds a factor beta, make α's and β and be that the concrete value of 1, α and β then reflects operator to resource-effective attention degree.
Under a kind of concrete condition, α can calculate according to following formula (2), namely parameter alpha is the difference of minimum and maximum network performance score value bsF (BSj), with the ratio of the difference of minimum and maximum route score value Y (BSj), then the result be multiplied with parameter δ value; And formula (2) is a kind of method of concrete calculating parameter α, can also obtain parameter alpha by other method:
Wherein: parameter δ is the attention value of resource efficiency, its value can be 100%, 90%, 80% ..., 10%, it reflects the degree paying attention to resource efficiency.Such as, operator pays much attention to network performance quality, δ gets 10% or less, this represents the priority only just using this candidate base station of resource efficiency properties affect when the network performance mass difference of candidate base station is little, the little scene of network performance mass difference is more, as in intensive base-station environment (large-scale masses' venue), then adopt the method for the present embodiment can obtain more resource efficiency gain; If operator payes attention to resource efficiency, δ value is comparatively large, then adopt the method for the present embodiment can obtain larger gain in more scene.
Preset strategy also can be: at network performance quality information as RSSI, QoS etc. meet in the current candidate base station to network performance quality requirement of mobile terminal, the candidate base station priority the highest (or minimum) that corresponding routing state value is minimum.Preset strategy can also be that other obtain the content of candidate base station priority by network performance quality information and routing state information, and its particular content can not cause limitation of the present invention.
104, priority recommendation list is sent to mobile device, so that mobile device is according to priority recommendation list select target base station, and be switched to target BS.
Serving BS, after acquisition priority recommendation list, sends to mobile device.
And for mobile device: need the priority recommendation list first receiving base station transmission, then according to priority recommendation list select target base station, and be switched to the target BS of selection.Mobile device specifically when select target base station, can the highest candidate base station of selective listing medium priority as target BS; When being switched to target BS, if because the reason such as shadow effect causes the failure of access target BS, mobile device can the direct secondary high base station of access list medium priority, the like.
Visible, in embodiments of the present invention, when needing the switching carrying out serving BS, the current serving BS of mobile device can send the handover request message of the address information of carrying opposite end communication equipment to multiple candidate base station; When the routing state information receiving candidate base station and return, the network performance quality information considering routing state information and candidate base station obtains the priority recommendation list of candidate base station, and sends to mobile device.When such mobile device is according to priority recommendation tables select target base station, network performance quality and the routing state two kinds of situations after switching just are considered, after then carrying out the switching of target BS, while meeting network performance quality, the routed path formed after switching is optimum, mobile terminal can be switched on more excellent serving BS (i.e. target BS), and the waste of Internet resources can not be caused.
Shown in figure 3, in a specific embodiment, when performing above-mentioned steps 103, can be realized by following step, strategy preset in the present embodiment is at network performance quality information as RSSI, QoS etc. meet in the current candidate base station to network performance quality requirement of mobile terminal, the candidate base station priority the highest (or minimum) that corresponding routing state value is minimum:
A1: select network performance quality information to meet the current candidate base station to network performance quality requirement of mobile device;
When selecting candidate base station, serving BS can compare according to the network performance quality information of each candidate base station and the current required value to network performance quality of mobile device and obtain, and mobile device current be that mobile device reports Current Serving BTS to network performance quality requirement.
A2: the candidate base station of selection is carried out sequence according to the routing state value of correspondence and obtains priority recommendation list.
Obtain priority recommendation list by this method fairly simple, and substantially envisage the routing state that mobile device formed after being switched to candidate base station.
Shown in figure 4, in another specific embodiment, when performing step 103, can also realize as follows:
B1: the network performance score value bsF (BSj) obtaining at least two candidate base stations according to network performance quality information.
B2: obtain route score value corresponding at least two candidate base stations according to routing state information, in concrete acquisition process, serving BS can be switched to the local routing of the anchor ASN-GW after this candidate base station according to gateway belonging to instruction candidate base station or candidate base station or mobile device, or the information of the conventional route of CSN, obtain corresponding route score value, be used for the length of routed path representing that mobile device is formed after handover.If such as indicate the local routing of candidate base station, then route score value minimum (or maximum).
B3: the priority score route score value obtained in the network performance score value obtained in step B1 and B2 being obtained candidate base station according to weight calculation predetermined separately.
Here the weight that network performance score value is predetermined reflects the attention degree to network performance in handoff procedure, and route score value reflects the attention degree to switching the rear routing state formed.
Serving BS is added with the network performance score value bsF (BSj) of corresponding candidate base station the priority score bsZ (BSj) obtaining this candidate base station after can being multiplied by route score value Y (BSj) corresponding with candidate base station for parameter alpha according to above-mentioned formula (1).
B4: carry out sequence according to priority score bsZ (BSj) and obtain priority recommendation list.
The priority recommendation list obtained by this method has weighed the relation between network performance quality information and routing state value two kinds of situations, makes the priority of the candidate base station obtained more can react actual conditions.
It should be noted that, behind mobile terminal select target base station, the information of target BS can be sent to Current Serving BTS by the Indication message of select target base station and mobile handoff instruction (MOB_HO_IND) message, tell that the selection of serving BS mobile device is switched on this target BS.
The current serving BS of mobile device, after the Indication message receiving this select target base station, sends to switch and confirms that (HO_Cnf) message is to the target BS selected, and notification target base station movement equipment will switch.In order to make to raise the efficiency in the handoff procedure of serving BS, routing state information corresponding to this target BS is comprised in the switch acknowledgment message that serving BS sends, such target BS just can set up data routing channel according to this routing state information, such as: routing state information instruction is target BS local routing, then set up the data channel from mobile device to target BS, can set up gateway belonging to from target BS to target BS and new gateway and mobile device switch after the data channel of anchor ASN-GW, decrease the interactive step in handoff procedure and resource consumption, if routing state information instruction is gateway local routing belonging to target BS, then set up the data channel of gateway belonging to from mobile device to target BS.
The embodiment of the present invention provides a kind of changing method of serving BS, and be applicable to the switching of mobile device place serving BS just in the communications, the method for the present embodiment is the method performed by mobile device side, and flow chart as figure 5 illustrates, comprising:
201, receive the Current Serving BTS that Current Serving BTS sends and switch message, switch in message at Current Serving BTS and comprise: mobile device after being switched at least two candidate base stations respectively, the routing state information correspondingly formed with opposite end communication equipment;
Here Current Serving BTS switches message can be Current Serving BTS handoff response (or request) message; And routing state information comprises: the information of the local routing of instruction candidate base station, the information of the local routing of gateway belonging to instruction candidate base station, instruction mobile device is switched to the information of the local routing of the anchor ASN-GW after candidate base station, or the information of the conventional route of instruction connectivity serving network CSN;
Be appreciated that, the switching flow of the present embodiment can be triggered by mobile device or network side, when mobile device triggers, mobile device scans neighbor base station, and the network performance quality information scanning the multiple candidate base stations obtained is sent to Current Serving BTS by mobile device handover request message, the address information of opposite end communication equipment can be comprised in mobile device handover request message; Current Serving BTS can send the handover request message of the address information of carrying opposite end communication equipment to multiple candidate base station, after receiving the switching response message that each candidate base station returns, the routing state information that Current Serving BTS is formed after being switched by the mobile device wherein comprised is carried in Current Serving BTS switching response message (MOB_BSHO_Rsp) and returns to mobile device.
When network side triggers, mobile device Current Serving BTS initiatively can send handover request message to multiple candidate base station to obtain the routing state that mobile device is switched to the formation of each candidate base station; When serving BS receives the switching response message that multiple candidate base station returns, the routing state information wherein comprised is carried in Current Serving BTS handover request message (MOB_BSHO_REQ) and sends to mobile device.
For mobile device Current Serving BTS, before transmission current service switches message, need first to obtain routing state information, particularly: Current Serving BTS first sends handover request message at least two candidate base stations, and in handover request message, comprise the address information of the opposite end communication equipment of mobile device; Then receive the routing state formed with opposite end communication equipment after these at least two candidate base stations are switched to candidate base station according to the mobile device that the address information of opposite end communication equipment returns to believe.
Like this when sending current service and switching message to mobile device, be the routing state information received from candidate base station be carried in current service switching message and issue mobile device.
202, according to preset strategy, and the priority of the network performance quality information of at least two candidate base stations and routing state information acquisition at least two candidate base stations;
(1) preset here strategy can be: the network performance score value namely being obtained at least two candidate base stations by above-mentioned formula (1) according to network performance quality information; After route score value corresponding with candidate base station for parameter alpha is multiplied, be added with the network performance score value of corresponding candidate base station in the priority score bsZ (BSj) obtaining this candidate base station, the candidate base station priority the highest (or minimum) that minimum value is corresponding, and the candidate base station priority minimum (or the highest) that maximum is corresponding, wherein parameter alpha is the weighted value that route score value is corresponding, is the network performance quality of candidate base station and the Compromise Values of resource efficiency;
In the present embodiment, can also bsF (BSj) in formula (1) be front adds a factor beta, make α's and β and be that the concrete value of 1, α and β then reflects operator to resource-effective attention degree.The network performance score value of at least two candidate base stations is obtained according to network performance quality information; Routing state information according to candidate base station obtains corresponding route score value; And network performance score value and route score value are obtained the priority score of candidate base station according to weight calculation predetermined separately; Finally carry out sorting according to priority score and obtain the priority of candidate base station.
(2) preset strategy also can be as current in the candidate base station of demand on signal quality in RSSI, QoS etc. meet mobile terminal at network performance quality information, and the minimum candidate base station priority of the routing state value that corresponding switching is formed afterwards is the highest.Preset strategy can also be that other obtain the content of candidate base station priority by network performance quality information and routing state information, and its particular content can not cause limitation of the present invention.
Then mobile device is when obtaining the priority of candidate base station, and can meet in the current candidate base station to network performance quality requirement of mobile device at network performance quality information, carrying out sorting according to the routing state value of correspondence obtains the priority of candidate base station;
Can also be obtained the priority score of candidate base station by other method, concrete acquisition methods depends on strategy preset in a mobile device.
203, according to the priority select target base station of the candidate base station obtained in step 202, and target BS is switched to.
Mobile device can select candidate base station that priority is the highest as target BS; When being switched to target BS, if because the reason such as shadow effect causes the failure of access target BS, mobile device can the direct secondary high base station of access priority, by that analogy.
Visible, in embodiments of the present invention, when needing the switching carrying out serving BS, the Current Serving BTS switching message of the routing state information formed after mobile device carrying of receiving that current serving BS sends switches; The network performance quality information that can consider routing state information and candidate base station obtains the priority of candidate base station, when such mobile device is according to priority select target base station, network performance quality and the routing state two kinds of situations after switching just are considered, after then carrying out the switching of target BS, while meeting network performance quality, the routed path formed after switching is optimum, mobile terminal can be switched on more excellent serving BS (i.e. target BS), and the waste of Internet resources can not be caused.
The embodiment of the present invention provides a kind of changing method of serving BS, is applicable to the switching of mobile device place serving BS just in the communications, and the method for the present embodiment is the method performed by candidate base station side that mobile device is selected, and flow chart as indicated with 6, comprising:
301, candidate base station receives the handover request message that the current serving BS of mobile device sends, and comprises the address information of the opposite end communication equipment of mobile device in handover request message;
Be appreciated that the switching flow of the present embodiment can be triggered by mobile device or network side, when confirming that mobile device needs to switch, the current serving BS of mobile device can send handover request message to multiple candidate base station.
302, the routing state formed with opposite end communication equipment after being switched to this candidate base station according to the address information determination mobile device of opposite end communication equipment;
Each candidate base station is after receiving handover request message, all need the determination carrying out this step, in one specific case, candidate base station can determine whether to carry out by searching the address information whether comprising opposite end communication equipment in local storage the local routing of this candidate base station; Candidate base station can send a request message to affiliated gateway, when the information indicating whether to carry out the local routing of gateway receiving the address information of affiliated gateway according to opposite end communication equipment and return, thus determine whether the local routing that can carry out gateway; Candidate base station can be sent a request message to anchor ASN-GW by affiliated gateway, when the information indicating whether to carry out the local routing of gateway receiving the address information of anchor ASN-GW according to opposite end communication equipment and return, thus determine whether the local routing that can carry out anchor ASN-GW.
Candidate base station can also determine routing state by following method: if candidate base station is determined to record this address information in this locality stores, the routing state formed after then switching is base station local routing, that is local routing on this candidate base station; If candidate base station determines that this address information does not have record in this locality, but has record at affiliated gateway, then the routing state formed after switching is affiliated gateway local routing, that is local routing on this candidate service gateway; If candidate base station determines that this address information is at local and affiliated gateway all not records, and the anchor ASN-GW after mobile device is switched to this locality has record, the routing state formed after then switching is anchor ASN-GW local routing, that is local routing on this candidate's anchor ASN-GW; If candidate base station determines this address information all not record on these three nodes, then the routing state formed after switching is the conventional route of CSN.
304, the information of the routing state determined in step 302 is sent to serving BS by switching response message.
Here the information of routing state comprises the information of the local routing of instruction candidate base station, the information of the local routing of gateway belonging to instruction candidate base station, instruction mobile device is switched to the information of this road route of the anchor ASN-GW after candidate base station, or the information etc. of the conventional route of instruction connectivity serving network CSN.
Each candidate base station, after determining routing state, can return switching response message to serving BS; Serving BS, after the switching response message receiving multiple candidate base station, can obtain priority recommendation list according to the network performance quality information wherein comprised and routing state information; And after priority recommendation list is sent to mobile device, by mobile device according to priority recommendation list select target base station, and be switched to target BS.The step of serving BS performed by after receiving the switching response message of carrying routing state information, as shown in 103 in Fig. 2 and 104, does not repeat them here.
Be appreciated that, serving BS is after the handoff response receiving multiple candidate base station, also priority recommendation list can not be obtained according to the routing state information wherein comprised, but routing state information is sent to mobile device by the switching message of mobile device Current Serving BTS, and carry out the switching of serving BS according to the step 202 shown in Fig. 5 and 203 by mobile device.
Visible, changing method in the embodiment of the present invention is: after candidate base station receives handover request message, the routing state formed after switching according to the address information determination mobile device of the opposite end communication equipment comprised in handover request message, and the information of the routing state determined is returned to serving BS by switching response message, make mobile device when select target base station, network performance quality and the routing state two kinds of situations after switching just are considered, after then carrying out the switching of target BS, while meeting network performance quality, the routed path formed after switching is optimum, make mobile terminal can be switched on more excellent serving BS (i.e. target BS), and the waste of Internet resources can not be caused.
Shown in figure 7, in a specific embodiment, candidate base station, when performing above-mentioned steps 302, can be realized by following step:
C1, candidate base station search the address information whether recording opposite end communication equipment in local storage, if so, then determine that routing state is the local routing of this candidate base station; If not, then perform step C2;
Toggle path request (HO-IP-Req) message sends to mobile device to be switched to the anchor ASN-GW after candidate base station by gateway belonging to candidate base station by C2, candidate base station, comprises the address information of opposite end communication equipment in toggle path request message;
Be appreciated that the information that specifically can comprise needs inquiry and help inquiry at toggle path request message, particularly, following content can be comprised:
Candidate base station ID: the initial sender of Indication message;
Gateway ID belonging to candidate base station: Indication message turn originator;
Gateway local routing mark belonging to candidate base station: the local routing that whether can form gateway after mobile device is switched to this candidate base station, is designated as the local routing of non-serving gateway with " 0 ", be designated as the local routing of gateway with " 1 ";
The address of anchor ASN-GW: the final destination of message;
Anchor ASN-GW local routing mark: the local routing that whether can form anchor ASN-GW after mobile device is switched to this candidate base station, is designated as the local routing of an active non-anchor gateway with " 0 ", be designated as the local routing of anchor ASN-GW with " 1 ";
Opposite end address information (IP): the address indicating the opposite end communication equipment of this mobile device.
C21, when gateway belonging to candidate base station receive this candidate base station send toggle path request message after, the information whether carrying out the local routing of gateway belonging to candidate base station is added in toggle path request message, particularly: whether the address information of searching the opposite end communication equipment wherein comprised is recorded in local storage, if do not had, the value then revising gateway mark belonging to the candidate base station in toggle path request message is 0, if had, then the value revising gateway mark belonging to the candidate base station in toggle path request message is 1; And amended toggle path request message is transmitted to anchor ASN-GW;
C22, anchor ASN-GW can search the address information whether local anchor ASN-GW records opposite end communication equipment equally, and in conjunction with this toggle path request message structure toggle path response (HO-IP-Rsp) message, and return to candidate base station by gateway belonging to candidate base station.
The result of inquiry and the information needed for help reply can be comprised in toggle path response (HO-IP-Rsp) message, particularly, following content can be comprised:
Anchor ASN-GW ID: the initial sender of Indication message;
Anchor ASN-GW local routing mark: the local routing that whether can form anchor ASN-GW after mobile device is switched to this candidate base station, is designated as the local routing of an active non-anchor gateway with " 0 ", be designated as the local routing of anchor ASN-GW with " 1 ";
Gateway ID belonging to candidate base station: the relaying person of Indication message;
Gateway local routing mark belonging to candidate base station: the local routing that whether can form gateway after mobile device is switched to this candidate base station, is designated as the local routing of non-serving gateway with " 0 ", be designated as the local routing of gateway with " 1 ";
Candidate base station ID: the final recipient of Indication message;
Opposite end IP: the address indicating the opposite end communication equipment of this mobile device.
When constructing toggle path response message, anchor ASN-GW can according to gateway local routing mark belonging to candidate base station in the toggle path request message received, set the value of gateway local routing mark belonging to the candidate base station in this response message, and the value of anchor ASN-GW local routing mark in this response message is set according to the address information whether recording opposite end communication equipment of searching, the process that gateway belonging to concrete assignment procedure and candidate base station revises gateway local routing value of statistical indicant belonging to the candidate base station in toggle path request message is similar, do not repeat at this.
C3, candidate base station receive anchor ASN-GW by gateway belonging to candidate base station, and according to the toggle path response message that the address information of opposite end communication equipment returns, in toggle path response message, comprise the information indicating whether to carry out the local routing of gateway and/or anchor ASN-GW belonging to candidate base station.
Be appreciated that, in above-mentioned steps C2, toggle path request message can be sent to anchor ASN-GW by candidate base station individually, also can be after candidate base station receives the handover request of serving BS transmission, with the process of the pre-established data path of anchor ASN-GW, send toggle path request message, particularly, toggle path request message is attached in pre-established data path request (Path_Prereg_Req) message and sends by candidate base station, toggle path response message is attached in pre-established data path response (Path_Prereg_Rsp) message and returns by anchor ASN-GW.
It should be noted that, in another embodiment, if find address information in above-mentioned steps C1 have record in this locality stores, also need to determine whether this candidate base station supports local routing, could determine that routing state is the local routing of this candidate base station, and perform step 304.In like manner, whether gateway belonging to candidate base station and anchor ASN-GW have except record except searching address information in this locality stores, also need to determine whether gateway belonging to this candidate base station or anchor ASN-GW support local routing, just revise gateway or anchor ASN-GW mark belonging to candidate base station.
In other specific embodiments, when mobile device have selected target BS in candidate base station, Current Serving BTS can send switch acknowledgment message to target BS, and in switch acknowledgment message, comprises mobile device be switched to the routing state information that this target BS and opposite end communication equipment formed; When starting to switch, target BS (one of candidate base station) sets up request (DSA_Req) message at the Business Stream receiving mobile device transmission, then according to the routing state information comprised in switch acknowledgment message, set up from mobile device to local target BS, or arrive gateway belonging to local target BS, or be switched to the anchor ASN-GW after candidate base station to mobile device, or arrive the data channel of CSN.Suppose in the present embodiment that mobile device is A, and opposite end communication equipment is B.
(1) if routing state information comprises the information of the local routing of indicating target base station, then set up the data channel from mobile device to target BS, particularly, as shown in Figure 8 a, can set up by the following method:
305A, target BS receive mobile device send Business Stream set up request message after, the local routing of the routing state information indicating target base station in message is determined in the switching received due to this target BS, then need to set up the data channel from mobile device to target BS, then directly for this mobile device distributes suitable connection identifier (CID (CID) CID-A, and CID-A is carried at Business Stream set up response (DSA_Rsp) message in return to mobile device.
In the present embodiment, target BS can send data channel registration message to affiliated gateway and anchor ASN-GW, sets up more data path, saves the Establishing process of data channel in handoff procedure, thus save resource.
305B, mobile device receive after Business Stream sets up response message, can send Business Stream and set up and confirm (DSA_Ack) message, confirm the CID-A having obtained distributing to target BS.
305C, target BS search the descending connection identifier (CID CID-B of opposite end communication equipment by the address information of opposite end communication equipment, CID-A and CID-B is labeled as local routing, and incite somebody to action the two storage cost ground data retransmission table accordingly.
Here the address information of opposite end communication equipment comprises the IP address and port classifications information etc. of opposite end communication equipment.By step 305A to C, establish the data channel of mobile device to target BS.
This locality that 305D, target BS carry out transmitting between mobile device and opposite end communication equipment data according to the corresponding relation of the connection identifier (CID CID-A distributed and descending connection identifier (CID CID-B forwards.
When carrying out transfer of data, business datum is sent to target BS by the aerial connection that mobile device identifies at CID-A, target BS need not destination address again in query traffic data bag, just data are sent to opposite end communication equipment again, complete local data to forward, but the record in transmitting according to local data, downlink air business datum being forwarded to CID-B mark connects.Like this after mobile device is switched to target BS, just can carry out route testing process, directly transmit according to local data and carry out local data forwarding.
Be appreciated that, if namely carried out before communication carries out switching flow at mobile device and target BS before starting to switch, this target BS is after the handover request message receiving the transmission of mobile device Current Serving BTS, carry out the pre-established process of data path, in order to saving resource, then after setting up the data channel from mobile device to target BS, can also following steps be performed:
305E, target BS will be that the pre-established data channel of mobile device is removed between this target BS and anchor ASN-GW, and releasing resource.
305F, target BS are deleted belonging to the data path of opposite end communication equipment between this target BS and grappling, retain the aerial connection between the communication equipment to this target BS of opposite end.
(2) if routing state information comprises the information of the local routing of gateway belonging to indicating target base station (the candidate service gateway be namely called for short in following the present embodiment), then set up the data channel from mobile device to target BS candidate service gateway, particularly, as shown in Figure 8 b, can set up by the following method:
306A, target BS receive after Business Stream sets up request message, the local routing of gateway belonging to the routing state information indicating target base station in message is determined in the switching received due to this target BS, then need to set up from mobile device to the data channel of candidate service gateway, then send data channel registration request (Path-Reg-Req) message to candidate service gateway, and add the local routing identifying and indicate mobile device and opposite end communication equipment to carry out gateway in the message.
306B, candidate service gateway receive data channel register request message, learn the local routing starting this candidate service gateway, then need not continue to send data channel registration message to anchor ASN-GW, but directly for mobile device distributes suitable data channel identifier (DPID) DPID-A, and the data channel identifier of distribution is carried in data channel register response (Path_Reg_Rsp) message sends to target BS.
306C, target BS receive data channel enrollment response message, also for this mobile terminal distributes connection identifier (CID CID-A, and this CID-A is stamped the mark of " this mobile device can not carry out the local routing under target BS ", and target BS by DPID-A with store accordingly with the CID-A indicated, and this CID-A is carried at Business Stream and sets up in response message and return to mobile device.
306D, mobile device can send Business Stream to target BS and set up acknowledge message, confirm to obtain CID-A.
306E, target BS also can send data channel registration to candidate service gateway and confirm (Path_Reg_Ack) message, confirm to obtain DPID-A.
DPID-A and DPID-B, by the downlink data accession designation number DPID-B of the address information of opposite end communication equipment inquiry opposite end communication equipment, is labeled as local routing by 306F, candidate service gateway, and will the two storage cost ground data retransmission table accordingly.
306G, target BS forward according to this locality of carrying out transmitting between mobile device and opposite end communication equipment data with the connection identifier (CID CID-A of mark and the corresponding relation of downlink data channel identifier DPID-A; And this locality that candidate service gateway carries out transmitting between mobile device and opposite end communication equipment data according to the corresponding relation of DPID-A and DPID-B forwards.
Particularly, mobile device is at CID-A---business datum is sent to candidate service gateway by the data channel of DPID-A mark, candidate service gateway then need not object IP address again in query traffic data bag, then data are sent to opposite end communication equipment, completes local data and forwards; But the record in transmitting according to local data, directly forward the data on the downlink data channel of DPID-B mark.
Be appreciated that, if before starting to switch, this target BS is after the handover request message receiving the transmission of mobile device Current Serving BTS, carry out the pre-established process of data path, in order to saving resource, then after foundation is from mobile device to the data channel of candidate service gateway, gateway can also perform following steps:
306H, candidate service gateway will be that the pre-established data channel of mobile device is removed between anchor ASN-GW, and releasing resource.
306I, candidate service gateway by and anchor ASN-GW between belong to opposite end communication equipment data path delete, retain opposite end communication equipment with between this candidate service gateway between to be connected in the air.
(3) if routing state information comprises the information of the local routing of the anchor ASN-GW (referred to as candidate's anchor ASN-GW in the present embodiment) after indicating mobile device to switch, then set up the data channel from mobile device to candidate's anchor ASN-GW, particularly, as shown in Figure 8 c, can set up by the following method:
307A, target BS receive after Business Stream sets up request message, the local routing of the routing state information instruction candidate anchor ASN-GW in message is determined in the switching received due to this target BS, then need to set up from mobile device to the data channel of candidate's anchor ASN-GW, then send data channel registration request (Path-Reg-Req) message to its candidate's anchor ASN-GW, and add the local routing identifying and indicate mobile device and opposite end communication equipment to carry out anchor ASN-GW in the message.
Data channel register request message sends from target BS, arrives candidate's anchor ASN-GW by gateway belonging to target BS.
307B, candidate's anchor ASN-GW receive data channel register request message, learn the local routing starting this anchor ASN-GW, then directly for mobile device distributes suitable data channel identifier DPID-A, and the data channel identifier of distribution is carried in data channel register response (Path_Reg_Rsp) message sends to target BS.
Data channel register request message sends from anchor ASN-GW, arrives target BS by gateway belonging to target BS.
307C, target BS receive data channel enrollment response message, also for this mobile terminal distributes connection identifier (CID CID-A, and this CID-A is stamped the mark of " this mobile device can not carry out the local routing under target BS ", and target BS by DPID-A with store accordingly with the CID-A indicated, and this CID-A is carried at Business Stream and sets up in response message and return to mobile device.
307D, mobile device can send Business Stream to target BS and set up acknowledge message, confirm to obtain CID-A.
307E, target BS also can send data channel registration by affiliated gateway to candidate's anchor ASN-GW and confirm (Path_Reg_Ack) message, confirm to obtain DPID-A.
Data channel registration ack message is by way of belonging to target BS during gateway, belonging to target BS, gateway stamps the mark of " this mobile device can not carry out the local routing under gateway belonging to this target BS " on DPID-A, and is stored by the DPID-A with mark.
DPID-A and DPID-B, by the downlink data accession designation number DPID-B of the address information of opposite end communication equipment inquiry opposite end communication equipment, is labeled as local routing by 307F, candidate's anchor ASN-GW, and will the two storage cost ground data retransmission table accordingly.
307G, target BS forward according to this locality of carrying out transmitting between mobile device and opposite end communication equipment data with the connection identifier (CID CID-A of mark and the corresponding relation of downlink data channel identifier DPID-A; And when transmission data are by way of belonging to target BS during gateway, gateway belonging to this target BS determines that the data of this DPID-A can not carry out local routing, by data retransmission to candidate's anchor ASN-GW; This locality that candidate's anchor ASN-GW carries out transmitting between mobile device and opposite end communication equipment data according to the corresponding relation of DPID-A and DPID-B forwards.
Particularly, mobile device is at CID-A---business datum is sent to candidate's anchor ASN-GW by the data channel of DPID-A mark, candidate's anchor ASN-GW then need not object IP address again in query traffic data bag, then data are sent to opposite end communication equipment, completes local data and forwards; But the record in transmitting according to local data, directly forward the data on the downlink data channel of DPID-B mark.
(4) if routing state information comprises the information of the conventional route of instruction CSN, then set up the data channel from mobile device to CSN, particularly, as shown in figure 8d, can set up by the following method:
308A, target BS receive after Business Stream sets up request message, the switching received due to this target BS determines that the routing state information in message indicates the conventional route of CSN, then need to set up the data channel from mobile device to CSN, anchor ASN-GW transmission data channel registration request (Path-Reg-Req) message after then switching to mobile device, and add the local routing identifying and indicate mobile device and opposite end communication equipment can not carry out anchor ASN-GW in the message.
Data channel register request message sends from target BS, arrives anchor ASN-GW by gateway belonging to target BS.
308B, anchor ASN-GW receive data channel register request message, directly for mobile device distributes suitable data channel identifier DPID-A, and the data channel identifier of distribution is carried in data channel register response (Path_Reg_Rsp) message sends to target BS.
Data channel register request message sends from anchor ASN-GW, arrives target BS by gateway belonging to target BS.
308C, target BS receive data channel enrollment response message, also for this mobile terminal distributes connection identifier (CID CID-A, and this CID-A is stamped the mark of " this mobile device can not carry out the local routing under target BS ", and target BS by DPID-A with store accordingly with the CID-A indicated, and this CID-A is carried at Business Stream and sets up in response message and return to mobile device.
308D, mobile device can send Business Stream to target BS and set up acknowledge message, confirm to obtain CID-A.
308E, target BS also can send data channel registration by affiliated gateway to anchor ASN-GW and confirm (Path_Reg_Ack) message, confirm to obtain DPID-A.
Data channel registration ack message is by way of belonging to target BS during gateway, belonging to target BS, gateway stamps the mark of " this mobile device can not carry out the local routing under gateway belonging to this target BS " on DPID-A, and is stored by the DPID-A with mark.
The mark that 308F, anchor ASN-GW are stamped on DPID-A " this mobile device can not carry out the local routing under this anchor ASN-GW ", and the DPID-A with mark is stored.
308G, target BS forward according to this locality of carrying out transmitting between mobile device and opposite end communication equipment data with the connection identifier (CID CID-A of mark and the corresponding relation of downlink data channel identifier DPID-A; And when transmitting data by way of gateway belonging to target BS and anchor ASN-GW, wherein gateway belonging to target BS and anchor ASN-GW determine that the data of this DPID-A can not carry out local routing, namely forward the data to CSN.
Particularly, mobile device is at CID-A---business datum is sent to CSN by gateway belonging to target BS and anchor ASN-GW by the data channel of DPID-A mark, gateway belonging to target BS and anchor ASN-GW then need not object IP addresses again in query traffic data bag, again data are sent to opposite end communication equipment, complete local data and forward; But directly forward.
By target BS in the invention described above embodiment after receiving connection establishment request, the routing state formed after being switched to this target BS according to subscriber equipment carrys out segmentation and sets up corresponding data channel, and data channel need not be built to anchor ASN-GW always, simultaneously, target BS can directly start local routing or the conventional route of CSN according to routing state information, does not need to carry out data again and unpacks and IP address detected.
The serving BS changing method of the embodiment of the present invention is described below by way of a concrete application, and be by mobile device to trigger switching flow in the present embodiment, flow chart as shown in Figure 9, comprising:
401, when mobile device detects the received signal quality of Current Serving BTS lower than preset threshold value, meeting driver sweep request, send scan request (MOB_SCN_REQ) message to Current Serving BTS, to Current Serving BTS request scanning neighboring base station, in this message, comprise the sweep parameter to Current Serving BTS request and scan mode.Neighbor base station is designated as BSi (i=1,2,3...M).
402, Current Serving BTS agrees to scan request, sends to comprise to determine that the scanning of the sweep parameter scanned responds (MOB_SCN_RSP) message to mobile device.Mobile device scans multiple neighbor base station after obtaining sweep parameter.
403, mobile device will meet the alternatively base station, base station of its preset threshold requirement in neighbor base station, and the mark of candidate base station is sent to Current Serving BTS by mobile device handover request (MOB_MSHO_REQ) message, this message comprises the address information of opposite end communication equipment, the indexs such as RSSI, CINR of each candidate base station.Candidate base station is designated as BSj (set of the set ∈ i of j).
404, serving BS sends handover request message through backbone network to candidate base station, comprises the address information of opposite end communication equipment, also comprise the information such as the qos parameter of mobile device needs in handover request message.
405, after candidate base station receives handover request message, according to the address information of the opposite end communication wherein comprised, obtain mobile device to the routing state information that opposite end communication equipment is formed after being switched to this candidate base station, can determine again after the flow process acquisition judged result according to Fig. 7 during specific implementation.
406, candidate base station is by handoff response (HO_Rsp) news serving BS.In switching response message, comprise the routing state information determined comprise routing state value.Suppose that the routing state value of candidate base station local routing is 0; The routing state value of candidate service gateway (i.e. gateway belonging to candidate base station) local routing is 1; The routing state value of anchor ASN-GW local routing is 2; The routing state value of the conventional route of CSN is 3.
407, after serving BS receives the switching response message of multiple candidate base station transmission, according to preset strategy, and the network performance mass parameter such as RSSI value, CINR, RTD value that reports of the qos parameter that returns of candidate base station BSj and mobile device and routing state information corresponding to this base station BS j get the priority recommendation list of multiple candidate base station.Serving BS can obtain priority recommendation list according to flow process as shown in Figure 1, does not repeat them here.
And by Current Serving BTS handoff response (MOB_BSHO_Rsp) message, priority recommendation list is returned to mobile device.
408, mobile device can select base station that priority recommendation list medium priority is the highest as target BS, and sends mobile handoff instruction (MOB_HO_IND) message tells selection target BS to Current Serving BTS; But because the shadow effect of mobile device or other reasons cause accessing this target BS failure, then mobile device can time high base station of selective listing medium priority, and by target BS that mobile handoff Indication message tells Current Serving BTS to select.
409, serving BS sends to switch to target BS and confirms (HO_Cnf) message informing target BS, and mobile device will switch.A marker bit can be increased, the routing state information that the mobile device indicating this target BS to confirm with this marker bit is formed in switch acknowledgment message.
410, when switching starts, mobile device completes ranging process, and sends connection establishment request message carries out data channel foundation to target BS.
411, target BS is receiving after Business Stream sets up request message, according to the routing state information in the message received in step 409, sets up data channel, can set up, do not repeat them here in concrete process of establishing according to the flow process of Fig. 8 a to d.
If after above-mentioned steps 404, candidate base station is after receiving handover request message, carry out the pre-established process of carrying out data path between anchor ASN-GW, then after step 411, delete between other candidate base station and anchor ASN-GW, and former serving BS and the data channel belonging to it between anchor ASN-GW.
The serving BS changing method of the embodiment of the present invention is described below by way of another concrete application, and be by network side to trigger switching flow in the present embodiment, flow chart as shown in Figure 10, comprising:
501, mobile device Current Serving BTS triggers and cuts flow process and change, and initiatively distributes sweep parameter by the scan request of Current Serving BTS to mobile device, allows the base station of mobile device scanning neighboring.
The parameters such as 502, the base station closed on alternatively is sent handover request message through backbone network to candidate base station in base station by Current Serving BTS, comprises the address information of opposite end communication equipment in this message, the QoS that mobile device needs.
503, after candidate base station receives handover request message, according to the address information of the opposite end communication wherein comprised, obtain mobile device to the routing state that opposite end communication equipment is formed after being switched to this candidate base station, can determine again after the flow process acquisition judged result according to Fig. 7 during specific implementation.
504, candidate base station checks whether the qos parameter etc. required in handover request message can meet, and tells serving BS by switching response message.The routing state information determined is comprised, such as routing state value in switching response message.Suppose that the routing state value of candidate base station local routing is 0; Belonging to candidate base station, the routing state value of gateway local routing is 1; The routing state value of anchor ASN-GW local routing is 2; The routing state value of the conventional route of CSN is 3.
505, the switching response message that returns according to candidate base station of serving BS, Current Serving BTS handover request (MOB_BSHO_REQ) message is sent to mobile device, the routing state information of the correspondence of each candidate base station is comprised in this message, can also comprise the priority recommendation list of candidate base station, candidate base station is designated as BSj (set of the set ∈ i of j).
506, mobile device is according to preset strategy, and scan the priority that the network performance quality information such as RSSI value, CINR, RTD value of each base station that obtains and routing state information obtain multiple candidate base station, in specific implementation process, mobile device can realize according to flow process as shown in Figure 5, does not repeat them here.
507, mobile device can select base station that priority is the highest as target BS, and sends mobile handoff instruction (MOB_HO_IND) message tells selection target BS to Current Serving BTS; But because the shadow effect of mobile device or other reasons cause accessing this target BS failure, then mobile device can select the secondary high base station of priority, and is indicated the target BS of (MOB_HO_IND) news serving BS selection by mobile handoff.
508, serving BS sends to switch to target BS and confirms (HO_Cnf) message informing target BS, and mobile device will switch.A marker bit can be increased, the routing state information that the mobile device indicating this target BS to confirm with this marker bit is formed in switch acknowledgment message.
509, when switching starts, mobile device completes ranging process, and sends connection establishment request message carries out data channel foundation to target BS.
510, target BS is receiving after Business Stream sets up request message, according to the routing state information in the message received in step 508, sets up data channel, can set up, do not repeat them here in concrete process of establishing according to the flow process of Fig. 8 a to d.
If after above-mentioned steps 504, candidate base station is after receiving handover request message, carry out the pre-established process of carrying out data path between anchor ASN-GW, then after step 510, delete between other candidate base station and anchor ASN-GW, and former serving BS and the data channel belonging to it between anchor ASN-GW.
A kind of base station that the embodiment of the present invention provides, the base station of the present embodiment is the current serving BS of mobile device, and as shown in figure 11, the candidate base station in figure, just in order to aid illustration, is not comprised in the base station of the present embodiment structural representation, wherein:
Handover request transmitting element 10, for sending handover request message at least two candidate base stations, comprises the address information of the opposite end communication equipment of mobile device in handover request message;
Handoff response receiving element 11, for receiving the routing state information formed with opposite end communication equipment after at least two candidate base stations are switched to candidate base station according to the mobile device that the address information of opposite end communication equipment returns, routing state information comprises the information of the local routing of instruction candidate base station, the information of the local routing of gateway belonging to instruction candidate base station, instruction mobile device is switched to the information of the local routing of the anchor ASN-GW after candidate base station, or the information of the conventional route of instruction connectivity serving network CSN;
List obtaining unit 12, for according to preset strategy, and the network performance quality information of at least two candidate base stations and in switching switching response message that receiving element 11 receives routing state information obtain the priority recommendation list of at least two candidate base stations;
List transmitting element 13, sends to mobile device for the priority recommendation list obtained by list obtaining unit 12, so that mobile device is according to priority recommendation list select target base station, and is switched to target BS.
In the embodiment of the present invention, when needing the switching carrying out serving BS, the handover request transmitting element 10 in the serving BS that mobile device is current can send the handover request message of the address information of carrying opposite end communication equipment to multiple candidate base station; When handoff response receiving element 11 receives the routing state information that candidate base station returns, the network performance quality information that list obtaining unit 12 considers routing state information and candidate base station obtains the priority recommendation list of candidate base station, and sends to mobile device by list transmitting element 13.When such mobile device is according to priority recommendation tables select target base station, network performance quality and the routing state two kinds of situations after switching just are considered, after then carrying out the switching of target BS, while meeting network performance quality, the routed path formed after switching is optimum, mobile terminal can be switched on more excellent serving BS (i.e. target BS), and the waste of Internet resources can not be caused.
Be appreciated that the difference according to preset strategy, the method that list obtaining unit 12 obtains priority recommendation list is also different, and in a specific embodiment, in the base station of the present embodiment, list obtaining unit 12 can comprise:
Candidate's selected cell 120, meets the current candidate base station to network performance quality requirement of mobile device for selecting network performance quality information;
State value sequencing unit 121, the candidate base station selected by candidate's selected cell 120 carries out sequence according to the routing state value of correspondence and obtains priority recommendation list.
Obtain priority recommendation list by candidate's selected cell 120 and state value sequencing unit 121 fairly simple, and substantially envisage the routing state that mobile device formed after being switched to candidate base station.
With reference to shown in Figure 12, in the base station of another specific embodiment, also comprise switching confirmation set up unit 14, for receiving the Indication message of the select target base station that mobile device sends, send switch acknowledgment message to the target BS selected, in switch acknowledgment message, comprise the routing state information that this target BS is corresponding; So that the target BS selected sets up data routing channel according to routing state information;
And list obtaining unit 12 also can be realized by Performance Score acquiring unit 122, priority score acquiring unit 123 and priority score sequencing unit 124, wherein:
Performance Score acquiring unit 122, for obtaining the network performance score value of at least two candidate base stations according to network performance quality information;
Route score value acquiring unit 123, obtains route score value corresponding at least two candidate base stations for the routing state information in the switching response message that receives according to handoff response receiving element 11;
Priority score acquiring unit 124, the route score value obtained for the network performance score value that obtained by Performance Score acquiring unit 122 and route score value acquiring unit 123 obtains the priority score of candidate base station according to weight calculation predetermined separately;
Priority score sequencing unit 125, the priority score for obtaining according to priority score acquiring unit 123 is carried out sequence and is obtained priority recommendation list.
In the present embodiment, after handoff response receiving element 11 receives switching response message, network performance score value is obtained by Performance Score acquiring unit 122, route score value is obtained by route score value acquiring unit 123, and the priority score of candidate base station is obtained by priority score acquiring unit 124 integrated network Performance Score, route score value and respective weight calculation, finally sorted by priority score sequencing unit 125 pairs of priority score thus obtained priority recommendation list.The priority recommendation list obtained has weighed the relation between network performance quality information and routing state value two kinds of situations, makes the priority of the candidate base station obtained more can react actual conditions.
Be appreciated that behind mobile terminal select target base station, the information of target BS can be sent to Current Serving BTS by the Indication message of select target base station and mobile handoff Indication message; Then serving BS can be set up unit 14 and sends switch acknowledgment message and set up data channel to target BS (one of candidate base station) by switching confirmation, wherein comprises and routing state information corresponding to this target BS.
A kind of mobile device that the embodiment of the present invention provides, the mobile device of the present embodiment is the mobile device needing to carry out Current Serving BTS switching, and structural representation as shown in figure 13, comprising:
List reception unit 16, for receiving the priority recommendation list that base station sends, priority recommendation list be base station according to preset strategy, and the priority recommendation list of at least two candidate base stations that the network performance quality information of at least two candidate base stations and routing state information obtain;
Wherein, routing state information comprises the information of the local routing of instruction candidate base station, the information of the local routing of gateway belonging to instruction candidate base station, indicating mobile terminal is switched to the information of the local routing of the anchor ASN-GW after candidate base station, or the information of the conventional route of instruction connectivity serving network CSN;
Target selection switch unit 17, for the priority recommendation list select target base station received according to list reception unit 16, and is switched to the target BS of selection.
A kind of mobile device that the embodiment of the present invention provides, the mobile device of the present embodiment is the mobile device needing to carry out Current Serving BTS switching, and structural representation as shown in figure 14, comprising:
Switch receiving element 20, the Current Serving BTS sent for receiving Current Serving BTS switches message, this Current Serving BTS switches in message and comprises: mobile device after being switched at least two candidate base stations respectively, the routing state information correspondingly formed with opposite end communication equipment; Routing state information comprises the information of the local routing of instruction candidate base station, the information of the local routing of gateway belonging to instruction candidate base station, instruction mobile device is switched to the information of the local routing of the anchor ASN-GW after candidate base station, or the information of the conventional route of instruction connectivity serving network CSN;
Priority acquiring unit 21, for according to preset strategy, and the network performance quality information of at least two candidate base stations and in switching switching message that receiving element 20 receives routing state information obtain the priority of at least two candidate base stations;
Priority acquiring unit 21, when obtaining priority, can obtain the network performance score value of at least two candidate base stations according to the network performance quality information of candidate base station; After being multiplied by route score value corresponding with candidate base station for parameter alpha, be added with the network performance score value of corresponding candidate base station the priority score obtaining this candidate base station, wherein parameter alpha is the network performance quality of candidate base station and the Compromise Values of resource efficiency; Priority score is carried out sorting and obtains the priority of candidate base station;
Network performance quality information can also be selected to meet the current candidate base station to network performance quality requirement of mobile device, obtain the priority of candidate base station according to routing state value corresponding in the candidate base station selected sequence.
Select switch unit 22, for the priority select target base station of candidate base station obtained according to priority acquiring unit, and be switched to target BS.
In the mobile device of the embodiment of the present invention, when needing the switching carrying out serving BS, the Current Serving BTS switching message of the routing state information formed after carrying of switching that receiving element 20 receives that current serving BS sends switches, priority acquiring unit 21 works as the priority that the network performance quality information that can consider routing state information and candidate base station obtains candidate base station, when such selection switch unit 22 is according to the priority select target base station obtained, network performance quality and the routing state two kinds of situations after switching just are considered, after then carrying out the switching of target BS, while meeting network performance quality, the routed path formed after switching is optimum, make mobile terminal can be switched on more excellent serving BS (i.e. target BS), and the waste of Internet resources can not be caused.
In a specific embodiment, the mobile device of the present embodiment also comprises mobile handoff transmitting element 23, for sending mobile device handover request message to Current Serving BTS, the address information of opposite end communication equipment is comprised in mobile device handover request, so that Current Serving BTS sends the address information of opposite end communication equipment at least two candidate base stations, the routing state formed after at least two candidate base stations are switched according to the address information determination mobile device of opposite end communication equipment.
Such mobile device is initiating the situation of switching flow, by mobile handoff transmitting element 23 address information of opposite end communication equipment can be included in mobile device handover request message and send to Current Serving BTS, make Current Serving BTS just can be obtained the address information of opposite end communication equipment by the mode of resolving, and be carried at handover request message and send to candidate base station, and candidate base station just can determine the routing state formed after mobile device switches.
A kind of base station that the embodiment of the present invention provides, the base station of the present embodiment is the current serving BS of mobile device, and as shown in figure 15, the candidate base station in figure, just in order to aid illustration, is not comprised in the base station of the present embodiment structural representation, wherein:
Switching transmitting element 24, for sending handover request message at least two candidate base stations, in handover request message, comprising the address information of the opposite end communication equipment of mobile device;
Route receiving element 25, for receiving the routing state information formed with opposite end communication equipment after at least two candidate base stations are switched to candidate base station according to the mobile device that the address information of opposite end communication equipment returns, routing state information comprises the information of the local routing of instruction candidate base station, the information of the local routing of gateway belonging to instruction candidate base station, indicating mobile terminal is switched to the information of the local routing of the anchor ASN-GW after candidate base station, or the information of the conventional route of instruction connectivity serving network CSN;
Switch message sending unit 26, message is switched to mobile device for sending Current Serving BTS, Current Serving BTS switches in message and comprises: the mobile device that route receiving element 25 receives after being switched at least two candidate base stations respectively, the routing state information correspondingly formed with opposite end communication equipment;
So that subscriber equipment obtains the priority of at least two candidate base stations according to routing state information; And according to the priority select target base station of candidate base station, and be switched to target BS.
A kind of base station that the embodiment of the present invention provides, the base station of the present embodiment is the candidate base station in mobile device handoff procedure, and structural representation as shown in figure 16, comprising:
Handover request receiving element 30, for receiving the handover request message that the current serving BS of mobile device sends, comprises the address information of the opposite end communication equipment of mobile device in handover request message;
Status determining unit 31, for the routing state formed with opposite end communication equipment after the address information determination mobile device of opposite end communication equipment is switched to candidate base station in the handover request message that receives according to handover request receiving element 30; Routing state comprises the local routing of candidate base station, the local routing of gateway belonging to candidate base station, and mobile device is switched to the local routing of the anchor ASN-GW after candidate base station, or the conventional route of connectivity serving network CSN;
Status determining unit 31, when determining, if record this address information at candidate base station, then determines that routing state is base station local routing; If address information is at this candidate base station not record, and gateway has record belonging to candidate base station, then determine routing state gateway local routing belonging to candidate base station; If address information is gateway all not records belonging to this candidate base station and candidate base station, and the anchor ASN-GW after mobile device is switched to candidate base station has record, then determine that routing state is anchor ASN-GW local routing; If address information all not record on gateway belonging to candidate base station, candidate base station and anchor ASN-GW, then determine that routing state is the conventional route of CSN.
Handoff response transmitting element 33, the information for routing state status determining unit 31 determined sends to serving BS by switching response message; So that the routing state information in the switching response message that serving BS returns in conjunction with other candidate base station obtains priority recommendation list; And after priority recommendation list is sent to mobile device, by mobile device according to priority recommendation list select target base station, and be switched to target BS; Or, so that the information of routing state is sent to mobile device by serving BS, obtained the priority of candidate base station by mobile device according to routing state information, and carry out the switching of serving BS;
The information of routing state comprises the information of the local routing of instruction candidate base station, the information of the local routing of gateway belonging to instruction candidate base station, instruction mobile device is switched to the information of the local routing of the anchor ASN-GW after candidate base station, or the information of the conventional route of instruction connectivity serving network CSN.
In the base station of the embodiment of the present invention: after handover request receiving element 30 receives handover request message, the routing state that status determining unit 31 is formed after switching according to the address information determination mobile device of the opposite end communication equipment comprised in handover request message, and by handoff response transmitting element 33, the information of the routing state determined is returned to serving BS by switching response message, make mobile device when select target base station, network performance quality and the routing state two kinds of situations after switching just are considered, after then carrying out the switching of target BS, while meeting network performance quality, the routed path formed after switching is optimum, make mobile terminal can be switched on more excellent serving BS (i.e. target BS), and the waste of Internet resources can not be caused.
With reference to shown in Figure 17, in a specific embodiment, in the base station of the present embodiment, status determining unit 31 can comprise:
Searching unit 310, for searching the address information whether recording opposite end communication equipment in local storage, if so, then determining that routing state is the local routing of candidate base station;
Address requests transmitting element 311, if find for searching unit 310 address information not recording opposite end communication equipment in local storage, send to mobile device to be switched to the anchor ASN-GW after candidate base station by gateway belonging to candidate base station toggle path request message, in toggle path request message, comprise the address information of opposite end communication equipment;
Address response receiving element 312, for receiving anchor ASN-GW by gateway belonging to candidate base station, and according to the toggle path response message that the address information of opposite end communication equipment returns, in toggle path response message, comprise the information indicating whether to carry out the local routing of gateway and/or anchor ASN-GW belonging to candidate base station.
In the present embodiment, status determining unit 31 is when determining routing state, whether the address information first can searching opposite end communication equipment by searching unit 310 is recorded in local storage, if so, then directly can determine that routing state is the local routing of candidate base station; If not, then by Address requests transmitting element 311, toggle path request message is sent to anchor ASN-GW by gateway belonging to candidate base station, gateway belonging to candidate base station and grappling will determine whether the local routing that can form gateway belonging to candidate base station or anchor ASN-GW according to the address information of opposite end communication equipment, and indicate in the toggle path response message returning to base station, just can know whether the local routing that can form gateway and anchor ASN-GW after such address response receiving element 312 receives toggle path response message.
With reference to shown in Figure 18, if mobile device selects this base station as target BS, then the base station of the present embodiment can also comprise: switch and confirm receiving element 34, Path Setup unit 35 and remove unit 36, and Path Setup unit 35 can realize by connecting allocation units 350 and searching storage element 351, wherein:
Switching and confirm receiving element 34, for receiving the switch acknowledgment message that current serving BS sends, in switch acknowledgment message, comprising the routing state information formed after mobile device switches;
Path Setup unit 35, the Business Stream sent for receiving mobile device sets up request message, according to switching the routing state information confirming to comprise in the switch acknowledgment message of receiving element 34 reception, set up mobile device to target BS, or to gateway belonging to target BS, or be switched to the anchor ASN-GW after candidate base station to mobile device, or arrive the data channel of CSN;
Connect allocation units 350, for being mobile device distribution connection identifier (CID, and the connection identifier (CID of distribution being carried at Business Stream and setting up in response message and return to mobile device;
Search storage element 351, for finding the descending connection identifier (CID of opposite end communication equipment, and the connection identifier (CID of foundation distribution and descending connection identifier (CID store accordingly.
Remove unit 36, for by between target BS and affiliated anchor ASN-GW be mobile device pre-established data channel dismounting; Deleting belonging to the data path of opposite end communication equipment between this target BS and grappling, retaining the connection between the communication equipment to this target BS of opposite end.
In the present embodiment, target BS is have selected at mobile device, then Current Serving BTS can tell target BS by switch acknowledgment message, if transporting apparatus selects the base station of the present embodiment as target BS, then after switching confirms that receiving element 34 receives switch acknowledgment message, the Business Stream receiving transporting apparatus transmission when Path Setup unit 35 sets up request message, the routing state formed after being just switched to this target BS according to the mobile device comprised in switch acknowledgment message, sets up corresponding data channel.
If the routing state formed is target BS local routing, then connect allocation units 350 directly for mobile device is assigned with connection identifier (CID, and by after searching storage element 351 and finding the descending connection identifier (CID of opposite end communication equipment, the connection identifier (CID of distribution and descending connection identifier (CID are stored accordingly.So just establish the data channel from mobile device to target BS.
Be appreciated that, if before starting to switch, this target BS is after the handover request message receiving the transmission of mobile device Current Serving BTS, carry out the pre-established process of data path, in order to saving resource, then after setting up the data channel from mobile device to target BS, remove unnecessary data channel by dismounting unit 36.
With reference to shown in Figure 19, in other specific embodiment, in the base station of the present embodiment, Path Setup unit 35 can also be realized by following unit:
First registration request transmitting element 352, for sending data channel register request message to gateway or anchor ASN-GW belonging to target BS, in data channel register request message, comprise the mark that instruction mobile device and opposite end communication equipment form gateway or anchor ASN-GW local routing belonging to target BS; So that gateway belonging to target BS or anchor ASN-GW are mobile device distribute data gap marker symbol, the downlink data channel identifier of opposite end communication equipment and the data channel identifier of distribution are stored accordingly, and when being accorded with by anchor ASN-GW distribute data gap marker, belonging to target BS, the data channel identifier of distribution is stamped the mark that mobile device can not carry out gateway local routing belonging to target BS and is stored by gateway;
First register response receiving element 353, for the data channel enrollment response message that gateway belonging to receiving target base station or anchor ASN-GW return, wherein comprises gateway belonging to target BS or anchor ASN-GW is the data channel identifier that mobile device distributes;
First distribution returns unit 354, for distributing connection identifier (CID for mobile device, and stamp the mark that mobile device can not carry out target BS local routing on the connection identifier (CID distributed, and the connection identifier (CID of distribution is carried at Business Stream and sets up in response message and return to mobile device;
First sets up unit 355, stores accordingly with the connection identifier (CID of mark and the data channel identifier of distribution for setting up.
In the present embodiment, if the local routing of the routing state gateway belonging to target BS formed, then by the first registration request transmitting element 352, data channel register request message is sent to gateway belonging to target BS, belonging to target BS, gateway is mobile device distribute data gap marker symbol, and the downlink data channel identifier of opposite end communication equipment and the data channel identifier of distribution is stored accordingly; When the first register response receiving element 353 receives the data channel enrollment response message that gateway returns, distribute by first and return unit 354 for after mobile device is assigned with connection identifier (CID, set up response message by Business Stream and return to mobile device, and the connection identifier (CID of distribution is stamped the mark that can not carry out target BS local routing; Set up unit 355 by first and store connection identifier (CID with mark and the data channel identifier of distribution accordingly.So just establish the data channel of gateway belonging to from mobile device to target BS.
If the routing state formed is the local routing of the anchor ASN-GW after mobile device switching, then by the first registration request transmitting element 352, data channel register request message is sent to anchor ASN-GW by gateway belonging to target BS, by anchor ASN-GW be mobile device distribute data gap marker accord with, and the downlink data channel identifier of opposite end communication equipment and the data channel identifier of distribution are stored accordingly, and need gateway belonging to target BS for distribute data channel identifier stamp the mark that can not carry out gateway local routing belonging to target BS; When the first register response receiving element 353 receives the data channel enrollment response message that anchor ASN-GW returns, distribute by first and return unit 354 for after mobile device is assigned with connection identifier (CID, set up response message by Business Stream and return to mobile device, and the connection identifier (CID of distribution is stamped the mark that can not carry out target BS local routing; Set up unit 355 by first and store connection identifier (CID with mark and the data channel identifier of distribution accordingly.So just establish the data channel from mobile device to anchor ASN-GW.
With reference to shown in Figure 20, in other specific embodiment, in the base station of the present embodiment, Path Setup unit 35 can also be realized by following unit:
Second registration request transmitting element 135, for sending data channel register request message to anchor ASN-GW, comprises the mark of instruction mobile device and the conventional route of opposite end communication equipment formation CSN in data channel register request message; So that anchor ASN-GW is mobile device distribute data gap marker symbol, and the data channel identifier of distribution is stamped the mark that mobile device can not carry out gateway and anchor ASN-GW local routing belonging to target BS by gateway and anchor ASN-GW respectively belonging to target BS;
Second register response receiving element 235, for receiving the data channel enrollment response message that anchor ASN-GW returns, wherein comprising anchor ASN-GW is the data channel identifier that mobile device distributes;
Second distribution returns unit 335, for distributing connection identifier (CID for mobile device, and stamp the mark that mobile device can not carry out target BS local routing on the connection identifier (CID distributed, and the connection identifier (CID of distribution is carried at Business Stream and sets up in response message and return to mobile device;
Second sets up unit 435, stores accordingly with the connection identifier (CID of mark and the data channel identifier of distribution for setting up.
In the present embodiment, if the routing state formed is CSN routine route, then by the second registration request transmitting element 135, data channel register request message is sent to anchor ASN-GW by gateway belonging to target BS, be that mobile device distribute data gap marker accords with by anchor ASN-GW, and need the data channel identifier that gateway and anchor ASN-GW are respectively distribution belonging to target BS to stamp the mark that can not carry out gateway and anchor ASN-GW local routing belonging to target BS; When the second register response receiving element 235 receives the data channel enrollment response message that anchor ASN-GW returns, distribute by second and return unit 335 for after mobile device is assigned with connection identifier (CID, set up response message by Business Stream and return to mobile device, and the connection identifier (CID of distribution is stamped the mark that can not carry out local target BS local routing; Set up unit 435 by second and store connection identifier (CID with mark and the data channel identifier of distribution accordingly.So just establish the data channel from mobile device to CSN.
The embodiment of the present invention also provides a kind of switched system of serving BS, comprises mobile device, mobile device Current Serving BTS and candidate base station; Wherein Current Serving BTS is the base station as shown in Figure 11 or 12, and mobile device is mobile device as shown in fig. 13 that, and candidate base station is if Figure 16 is to 20 base stations shown in any one.
The embodiment of the present invention also provides a kind of switched system of serving BS, comprises mobile device, mobile device Current Serving BTS and candidate base station; Wherein Current Serving BTS is base station as shown in figure 15, and mobile device is mobile device as shown in figure 14, and candidate base station is if Figure 16 is to 20 base stations shown in any one.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: read-only memory (ROM), random access memory (RAM), disk or CD etc.
Above to the changing method of the serving BS that the embodiment of the present invention provides, system and equipment, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.