A kind of method that mobile communication terminal moves in network
Technical field
The present invention relates to moving communicating field, a kind of method that particularly mobile communication terminal moves in network.
Background technology
In the existing communication technology, first mobile communication terminal, such as mobile phone etc., while needing access network, need to carry out authentication.Through after authentication success, mobile phone could access network, could with network in other mobile communication terminals communicate.
And the process of authentication, in general, the access device that different networks is used and authentication device all can be different, in global system for mobile communications (GSM) network, GSM network can comprise Access Network and core net, and mobile communication terminal (MS) is by base station (Base Station, the BS) access network of Access Network, the BS is here exactly access device, comprises base station transceiver (BTS) and base station controller (BSC).In different networks, this equipment can have difference, for example, in wireless lan (wlan), be access point (Access Point, AP).BS receives after the access network request of MS, can be on behalf of forwarding this access request to core net, and carry out authentication verification by mobile switching centre (MSC) access home location register (HLR), VLR Visitor Location Register (VLR) and/or the equipment identity register (Equipment Identity Register, EIR) etc. of core net.After authentication verification is passed through, MS just can access GSM network, then by base station, is acted on behalf of and is forwarded information to core net or receive information from core net.
In general, the covering for the access device that is connected with MS has scope.Consider A point and the B point of Fig. 1.
For A, order, it, therefore can access network in the coverage of access device 1.And for B point, because it is beyond the coverage of access device 1, therefore can not access network.
The method > > that Chinese patent < < mobile communication terminal moves in the network (patent No.: 201210033710.5) disclose a kind of method that mobile communication terminal moves in network, the mobile communication terminal by the access device access network by network is as repeater, make the mobile communication terminal beyond original access device coverage also can access network, thereby reduced the situation that mobile communication terminal is isolated.
Yet still there is certain defect in this patent, MS is transportable, still consider the B point MS of Fig. 1, the MS of ordering as B moves to C point, after having entered the coverage of access device, if still adopt MS that A orders as relay agent, the resource (resources such as central processing unit, internal memory or battery) that can consume A point MS on the one hand, on the one hand, the MS orderring by A is as relay agent in addition, and the communication efficiency of B point MS also can be lower.
Summary of the invention
The invention provides a kind of method that mobile communication terminal moves in network, using and solve prior art after mobile communication terminal that mobile communication terminal adopts access network in addition in the coverage of access device is as repeater access network, while entering again in the coverage of access device, cannot with the direct-connected technical problem of access device.
The technical scheme adopting is as follows:
The method that mobile communication terminal moves in network, described network comprises authentication device and access device, comprising:
Step (1), the second mobile communication terminal of access network is not broadcasted the second access network request, and described the second access network request comprises the terminal iidentification of the second mobile communication terminal;
Step (2), the first mobile communication terminal of the access device access network by network detects the second access network request, and a second mobile communication terminal generation status indicator of the first mobile communication terminal, for cancelling, performs step (3), otherwise ignores the second access network request;
Step (3), the first mobile communication terminal sends the first access network request to access device, and second mobile communication terminal generation was set sends out a status indicator and be: generation is sent out, described the first access network request comprises terminal iidentification and second access network request of a generation flag bit, the first mobile communication terminal, and described generation is sent out flag bit for representing that the first access network request is that the first mobile communication terminal is on behalf of the access network request that forwards the second mobile communication terminal;
Step (4), access device receives the first access network request, a generation flag bit detected, in access device, be that the first mobile communication terminal is set up associated with the second mobile communication terminal, set all information relevant to the second mobile communication terminal and all send to the first mobile communication terminal, and to notify authentication device be that the second mobile communication equipment terminal starts authentication verification process;
Step (5), the authentication device of network carries out authentication verification process by access device, the first mobile communication terminal and the second mobile communication terminal successively;
Step (6), the second mobile communication terminal access network, and keep being connected with the access device of network by the first mobile communication terminal;
Step (7), the second mobile communication terminal when the access device maintenance by the first mobile communication terminal and network is connected, fixed time broadcast the second access network request;
Step (8), access device receives the second access network request, to the first mobile communication terminal, sends and cancels related information, and described cancellation related information comprises the terminal iidentification of the second mobile communication terminal;
Step (9), the first mobile communication terminal receives cancellation related information, to access device, returns and confirm to cancel related information, and second mobile communication terminal generation was set sends out a status indicator and be: cancel;
Step (10) access device receives the confirmation cancellation related information, cancels the associated of the first mobile communication terminal and the second mobile communication terminal, sets all information relevant to the second mobile communication terminal and all sends to the second mobile communication terminal.
Further, described step (8) specifically comprises:
In access device certain hour, receive the second access network request over number of thresholds, to the first mobile communication terminal, send and cancel related information, described cancellation related information comprises the terminal iidentification of the first mobile communication terminal and the terminal iidentification of the second mobile communication terminal.
By this, improve, avoided the second mobile communication terminal repeatedly to enter the coverage of access device, and cause the problem that repeatedly connects between access device and the first mobile communication terminal.
Described certain hour can be by setting in advance in access device.
Further:
Described step (1) specifically comprises:
The second mobile communication terminal of access network is not broadcasted the second access network request, and forwarding information status indicator is set is: agree to receive mobile communication terminal on behalf of forwarding information;
Described step (3) specifically comprises:
The first mobile communication terminal sends on behalf of forwarding information request to the second mobile communication terminal;
The second mobile communication terminal receive the first mobile communication terminal on behalf of forwarding information request, return and agree on behalf of forwarding information to the first mobile communication terminal, and forwarding information status indicator is set is: reject other mobile communication terminals on behalf of forwarding information request;
The first mobile communication terminal receives the agreement of the second mobile communication terminal on behalf of forwarding information, and the first mobile communication terminal sends the first access network request to access device;
Described step (9) specifically comprises:
The first mobile communication terminal receives cancellation related information, to the second mobile communication terminal, sends the access device request of receiving and sending messages;
The second mobile communication terminal receives the access device request of receiving and sending messages, returning to agreement access device receives and sends messages, and forwarding information status indicator be set be: reject all mobile communication terminals on behalf of forwarding information, and stop fixed time broadcast the second access network request;
The first mobile communication terminal receives agrees to that access device receives and sends messages, and to access device, returns and confirms to cancel related information, and second mobile communication terminal generation was set sends out a status indicator and be: cancel.
By above-mentioned setting, can avoid the second mobile communication terminal still timed sending access network request after being directly connected with access device, disturb network.
Further, after being connected of the second mobile communication terminal and access device disconnects, broadcast the second access network request, and forwarding information status indicator is set is: agree to receive mobile communication terminal on behalf of forwarding information.
Further:
Described step (1) specifically comprises:
The second mobile communication terminal of access network is not broadcasted the second access network request, and arrange agree to receive mobile communication terminal on behalf of forwarding information;
Described step (3) specifically comprises:
The first mobile communication terminal sends on behalf of forwarding information request to the second mobile communication terminal;
The second mobile communication terminal receive the first mobile communication terminal on behalf of forwarding information request, return and agree on behalf of forwarding information to the first mobile communication terminal, and arrange other mobile communication terminals of rejection on behalf of forwarding information request;
The first mobile communication terminal receives the agreement of the second mobile communication terminal on behalf of forwarding information, and the first mobile communication terminal sends the first access network request to access device;
Described step (7) also comprises:
The 3rd mobile communication terminal of the access device access network by network detects the second access network request of the second mobile communication terminal;
The 3rd mobile communication terminal sends on behalf of forwarding information request to the second mobile communication terminal;
The second mobile communication terminal receive the 3rd mobile communication terminal on behalf of forwarding information request, detect forwarding information status indicator, if forwarding information status indicator is other mobile communication terminals of rejection, return to refusal on behalf of forwarding information to the 3rd mobile communication terminal;
The refusal that the 3rd mobile communication terminal receives the second mobile communication terminal, on behalf of forwarding information, stops on behalf of the access network request that forwards the second mobile communication terminal to network.
Further, described step (2) also comprises:
If the resource of using of the first mobile communication terminal surpasses default resource threshold, the first mobile communication terminal is forwarded to the 4th mobile communication terminal the access network request of the second mobile communication terminal, described the 4th mobile communication terminal be the access device access network by network and with the mobile communication terminal of the first mobile communication terminal in the overlay area of consolidated network;
If the resource of using of the 4th mobile communication terminal does not surpass default resource threshold, the 4th mobile communication terminal replaces first mobile communication terminal execution step (3) ~ step (10).
Further, described resource threshold comprises: the utilization rate of the utilization rate of central processing unit, the utilization rate of internal memory and/or battery.
Above-mentioned access network request, cancellation related information, confirmation are cancelled related information, on behalf of forwarding information request, agreement, on behalf of the request of receiving and sending messages of forwarding information, access device, agreement access device, are received and sent messages and ask and refuse all can include the mobile communication terminal that sends this information and/or the terminal iidentification that receives the mobile communication terminal of this information on behalf of forwarding information, and can adopt the mode of transmitting common message in existing talk various network protocols to realize, only need in the message of transmission, add corresponding flag bit.
Described terminal iidentification is used at network unique identification mobile communication terminal:
In GSM network, described terminal iidentification is international mobile equipment identification number (International Mobile Equipment Identity, IMEI);
At code division multiple access (CDMA, Code Division Multiple Access) in network, described terminal iidentification is international mobile equipment identification number (International Mobile Equipment Identity, IMEI) and/or mobile device identification code (Mobile Equipment Identifier, MEID);
In wlan network, described terminal iidentification is hardware address (Media Access Control, MAC) address.
The invention enables mobile communication terminal to adopt the mobile communication terminal of access network to access as repeater beyond the coverage of access device, after entering the coverage of access device, be directly connected with access device.Thereby reduced the resource consumption as the mobile communication terminal of repeater, and improved the communication efficiency of mobile communication terminal.
Accompanying drawing explanation
Fig. 1 is the schematic diagram that prior art MS is isolated;
Fig. 2 is the system schematic of the embodiment of the present invention one;
Fig. 3 is the message time sequence figure of the embodiment of the present invention one;
Fig. 4 is the system schematic of the embodiment of the present invention two;
Fig. 5 is the message time sequence figure of the embodiment of the present invention two;
Fig. 6 is the encapsulating structure of the embodiment of the present invention one first access network request.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention will be further described in detail.
Embodiment mono-and embodiment bis-adopt GSM network as the example of describing, and in fact, the present invention also can be applied to other network, networks such as CDMA, WLAN.When being applied to other networks, corresponding device name need to be revised and meet applied network.
Structure as shown in Figure 2, MS 32 coverage that the D point beyond 34 coverage moves to base station 34 in base station is with interior E point, MS 31 and MS 33 are by base station 34 access networks, GSM network comprises that whether authentication device 35 is legal for differentiating MS, authentication device 35 is a general designation just, in actual GSM network, can be HLR, VLR and/or EIR, and can be Radius server at wlan network.
Be illustrated in figure 3 the message time sequence figure of embodiment mono-:
S301, MS 32 is (the D point of corresponding diagram 2) beyond the coverage of base station 34, broadcast the second access network request, and forwarding information status indicator is set is: 0;
Forwarding information status indicator adopts numeral to identify:
0 is: agree to receive mobile communication terminal on behalf of forwarding information;
1 is: reject other mobile communication terminals on behalf of forwarding information request;
2 are: reject all mobile communication terminals on behalf of forwarding information;
S302, MS 31 detects the second access network request, checks a generation status indicator table, if MS 32 correspondences is to cancel for sending out status indicator, performs step S303, otherwise ignores the second access network request;
Above-mentioned is as shown in table 1 for sending out status indicator table, the terminal iidentification of the MS 32 comprising according to the second access network request receiving, traversal list 1, if do not find MS 32 correspondences for sending out a status indicator, think MS32 corresponding for sending out status indicator for cancelling, if find MS 32 correspondences for sending out a status indicator, according to the result finding, judge:
During table 1 step S302 in MS 31 for sending out a status indicator table
Terminal iidentification |
In generation, is sent out status indicator |
MS?XX |
Cancel |
… |
… |
? |
? |
As shown in table 1, because MS 31 receives the second access network request for the first time, therefore, in table 1, do not have MS 32 for sending out a status indicator, therefore think MS32 corresponding for sending out a status indicator, be: " cancellation ", performs step S303;
S303, MS 31 sends on behalf of forwarding information request to MS 32;
S304, MS 32 receives on behalf of forwarding information request, returns and agrees on behalf of forwarding information to MS 31, and forwarding information status indicator is set is: 1;
S305, MS 31 receives the agreement of MS 32 on behalf of forwarding information, sends the first access network request to base station 34, and in sending out status indicator table in generation MS 32 correspondences for sending out a status indicator, be: in generation, is sent out, as shown in table 2:
During table 2 step S305 in MS 31 for sending out a status indicator table
Terminal iidentification |
In generation, is sent out status indicator |
MS?XX |
Cancel |
… |
… |
MS?32 |
In generation, is sent out |
Wherein, the encapsulation of the first access network request as shown in Figure 6, comprises terminal iidentification and the second access network request of a generation flag bit, MS 31, and described generation is sent out flag bit for representing that the first access network request is that MS 31 is on behalf of the access network request forwarding;
S306, base station 34 receives the first access network request, a generation flag bit detected,, being that MS 31 is associated with MS 32 foundation, sets all information relevant to MS 32 and all sends to MS 31, and notify authentication device 35 for MS 32 startup authentication verification processes;
S307, authentication device 35 starts authentication verification process, owing to being provided with the information relevant to MS 32 in base station 34, all sends to MS 31, and therefore, authentication device 35 carries out authentication verification process by base station 34, MS 31 with MS 32 successively;
S308, MS 32 access networks, and keep being connected with base station 34 by MS 31;
S309, MS 32 when keeping being connected with base station 34, fixed time broadcast the second access network request;
S310, MS 33 detects the second access network request of MS 32;
S311, MS 33 sends on behalf of forwarding information request to MS 32;
S312, MS 32 receive MS 33 on behalf of forwarding information request, detecting forwarding information status indicator is 1, returns to refusal on behalf of forwarding information to MS 33;
S313, MS 33 receives the refusal of MS 32 on behalf of forwarding information, stops on behalf of the second access network request that forwards MS 32 to network;
S314, MS 32 moves and enters the coverage (the E point of corresponding diagram 2) of base station 34;
S315, base station 34, sends and cancels related informations to MS 31 with interior second access network request that receives continuously N time at M millisecond, and described cancellation related information comprises the terminal iidentification of MS 32, M=1000 in this embodiment, N=10;
S316, MS 31 receives cancellation related information, to MS 32, sends the access device request of receiving and sending messages;
S317, MS 32 receives the access device request of receiving and sending messages, and returns and agrees to that access device receives and sends messages, and forwarding information status indicator is set is: 2, and stop fixed time broadcast the second access network request;
S318, MS31 receives and agrees to that access device receives and sends messages, to base station, 34 return and confirm to cancel related information, and MS 32 is set in sending out status indicator table in generation for sending out a status indicator, be: cancel, as shown in table 3;
During table 3 step S318 in MS 31 for sending out a status indicator table
Terminal iidentification |
In generation, is sent out status indicator |
MS?XX |
Cancel |
… |
… |
MS?32 |
Cancel |
S319, base station 34 receives the confirmation cancellation related information, cancels the associated of MS 31 and MS 32, sets all information relevant to MS 32 and all sends to MS 32;
S320, directly communicates by letter with MS 32 in base station 34.
For example, after being connected of MS 32 and base station 34 disconnects (all not having to communicate by letter with base station 34 in K millisecond continuously), broadcast the second access network request, and forwarding information status indicator is set is: 0.
Structure as shown in Figure 4, MS 42 is beyond the coverage of base station 44, and MS 41 and MS 43 are by base station 44 access networks, and GSM network comprises that whether authentication device 45 is legal for differentiating MS.
In above-mentioned description, each MS sends message all can carry the terminal iidentification of transmit leg or reciever.At GSM network, the Mobile Equipment Identifier that terminal iidentification is MS (Mobile Equipment Identity, MEID), for identifying each MS, in all communication informations with MS, all can carry this sign, has guaranteed that message is to be dealt in correct MS.In cdma network, described terminal iidentification is international mobile equipment identification number (International Mobile Equipment Identity, IMEI) and/or mobile device identification code (Mobile Equipment Identifier, MEID), in wlan network, owing to adopting IP agreement to communicate, so terminal iidentification can be hardware address (the Media Access Control of MS, MAC) address, for identifying each MS.For different networks, this terminal iidentification can be had nothing in common with each other.Adopting the mode of terminal iidentification sign MS is very ripe technology, at this, will not describe in detail.
Embodiment bis-
Structure as shown in Figure 4, MS 42 coverage that the F point beyond 44 coverage moves to base station 44 in base station is with interior G point, and MS 41 and MS 43 have passed through base station 44 access networks, and network comprises that whether authentication device 45 is legal for differentiating MS.
Be illustrated in figure 5 the message time sequence figure of embodiment bis-:
S501, MS 42 is (the F point of corresponding diagram 4) beyond the coverage of base station 44, broadcast the second access network request, and forwarding information status indicator is set is: 0;
S502, MS 41 detects the second access network request, and the resource of using that MS 41 detects self surpasses default resource threshold, and for example, the utilization rate of central processing unit (CPU) surpasses 70%, to MS 43, forwards the second access network request of MS 42;
S503, the resource of using of MS 43 does not surpass default resource threshold, and MS 43 checks that generation sends out status indicator tables, generation send out status indicator table do not have MS 42 for sending out a status indicator, therefore think MS42 corresponding for sending out a status indicator, be: " cancellation ", performs step S504;
S504, MS 43 sends on behalf of forwarding information request to MS 42;
S505, MS 42 receives on behalf of forwarding information request, returns and agrees on behalf of forwarding information to MS 43, and forwarding information status indicator is set is: 1;
S506, MS 43 receives the agreement of MS 42 on behalf of forwarding information, sends the first access network request to base station 44, and in sending out status indicator table in generation MS 42 correspondences for sending out a status indicator, be: in generation, is sent out;
S507, base station 44 receives the first access network request, a generation flag bit detected,, being that MS 43 is associated with MS 42 foundation, sets all information relevant to MS 42 and all sends to MS 43, and notify authentication device 45 for MS 42 startup authentication verification processes;
S508, authentication device 45 starts authentication verification process, carries out authentication verification process successively by base station 44, MS 43 with MS 42;
S509, MS 42 access networks, and keep being connected with base station 44 by MS 43;
S510, MS 42 when keeping being connected with base station 44, fixed time broadcast the second access network request;
S511, MS 42 moves and enters the coverage (the G point of corresponding diagram 4) of base station 44;
S512, base station 44, sends and cancels related informations to MS 43 with interior second access network request that receives continuously N time at M millisecond, and described cancellation related information comprises the terminal iidentification of MS 42, M=1000 in this embodiment, N=10;
S513, MS 43 receives cancellation related information, to MS 42, sends the access device request of receiving and sending messages;
S514, MS 44 receives the access device request of receiving and sending messages, and returns and agrees to that access device receives and sends messages, and forwarding information status indicator is set is: 2, and stop fixed time broadcast the second access network request;
S515, MS44 receives and agrees to that access device receives and sends messages, to base station, 44 return and confirm to cancel related information, and MS 42 is set in sending out status indicator table in generation for sending out a status indicator, be: cancel;
S516, base station 44 receives the confirmation cancellation related information, cancels the associated of MS 43 and MS 42, sets all information relevant to MS 42 and all sends to MS 42;
S517, directly communicates by letter with MS 42 in base station 44.
Communicating by letter between above-mentioned all base stations and MS or MS and MS, all can adopt the information in existing communication protocol to carry out certain modification, increases specific data bit in order to the content of identification information in original data-message.This modification is the conventional means of this area, and those of ordinary skill in the art all can realize by simple means.