Background technology
The WiMAX authentication main member of industry alliance comprises equipment manufacturers, device supplier, operator etc., main task is by product being carried out the authentication of compatibility and interoperability, eliminate the obstacle of IEEE802.16 standard application, enlarge the range of application of IEEE802.16 standard.The IEEE802.16 series standard has defined the wireless access technology air interface standard of WiMAX, and representative standard comprises that 802.16d fixed wireless access standard and 802.16e mobile wireless insert standard.
The WiMAX communication system mainly is made up of system equipment and terminal equipment.WiMAX network work group (NWG) agreement specified in more detail the system equipment framework of WiMAX, the WiMAX system equipment is mainly by access service network (ASN, Access Service Network) and connectivity serving network (CSN, ConnectionService Network) two parts constitute.ASN mainly comprises base station (BS, Base Station) and two network elements of ASN gateway (ASN GW, ASN Gateway) again.Terminal equipment inserts the WiMAX network by connecting BS.
The roughly flow process of a MS access WiMAX network comprises that mainly step 101 is to 105 as shown in Figure 1: channel synchronization, and to set up the space interface signaling management and connect, capability negotiation is set up the medium connection and is carried out media data communication.If a step failure is wherein arranged, then all can return back to and attempt again inserting.Wherein, the process of channel synchronization be divided into down channel synchronously and up channel synchronous, up channel synchronously with set up space interface signaling and manage the process that the process that is connected is referred to as range finding (Ranging) again.
It is synchronous that MS carries out down channel, and the signal that can correctly receive BS has just entered the process of range finding later on.Range finding is a key concept in the WiMAX network, it is divided into two stages, phase I MS sends random code word on up common signal channel, purpose is that the physical parameter of adjusting MS comprises time migration, frequency shift (FS) and transmitting power etc., and uplink bandwidth application; Second stage is that initial ranging (Initial Ranging) stage: MS inserts for sending Initial Ranging message request on the upstream bandwidth of its distribution at BS, BS receives Initial Ranging message later on for the management of MS assignment signalling connects, and notifies MS in response message.
The unique identification of MS in the WiMAX network is medium access control (MAC, the MediumAccess Control) address of MS, so can not have two MS that MAC Address is identical in the WiMAX network.In order to prevent disabled user's attack, if there has been the MS of certain particular mac address in the current WiMAX network, when the MS transmission Initial Ranging message request access of identical MAC Address was arranged again, this MS will directly be refused.
It is unusual as hardware fault, enter screen etc. suddenly that the MS off-grid is meant that MS takes place, and the situation that does not have enough time to notify the one-sided network of BS to withdraw from.The MS off-grid is avoiding greatly of wireless communication system, because this moment, BS was not known MS off-grid, BS has still kept local processing resource and valuable radio open resource for this MS.Therefore, BS must take some measures and detect the MS off-grid, prevents that resource from hanging for a long time even forever.
In addition, wireless communication system have channel condition complicated and changeable, be subjected to the characteristics such as influence of multiple different declines easily.Therefore MS may be in a period of time wireless signal acute exacerbation and cause communication disruption with BS, such as MS moves to the blind area.The MS wireless signal must compatiblely arrive the demand that the MS sort signal worsens in the time of the BS design, be the MS reservation of resource, so that can recover communication rapidly after improving.
More than two kinds of situations obviously have contradiction, on the one hand BS wishes can detect the MS communication disruption as early as possible and off-grid, for compatible MS wireless signal worsens, needs the reservation of resource for MS again on the other hand.Therefore prior art all takes the method for a compromise promptly to adopt a relatively long off-grid detection time in design BS.
Yet this brings another problem again: if MS breaks down and off-grid, wish to insert again at once, will not insert.Because the off-grid of BS is very long detection time, this MS still exists in the WiMAX network at this moment, and the MS of identical MAC Address does not allow to insert.Typical situation is that MS breaks down, and does not but insert behind the power-off restarting, and this can have a strong impact on the user and experience.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and device of the MS of detection off-grid, can prevent that not only the resource on the BS from being hung for a long time, demand that also can compatible MS signal degradation.
Another object of the present invention is to provide the method and the device of the detection MS off-grid that a kind of user of improvement experiences.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method that detects off-line of mobile station comprises:
In default off-grid sense cycle, the current quality of uplink signal of portable terminal is detected in the base station, and the current detection number of times is added 1;
The base station judges that whether the current quality of uplink signal of portable terminal is less than default quality of uplink signal detection threshold; If the testing result of then putting current off-grid sense cycle is 0; Otherwise the testing result of putting current off-grid sense cycle is 1, and enters new off-grid sense cycle;
In the testing result of putting current off-grid sense cycle is after 0, and the base station judges that whether the current detection number of times is less than default detection times N, if then enter new off-grid sense cycle; Otherwise,
The base station judges whether the testing result of a N continuous off-grid sense cycle is 0, if then the base station discharges the resource that this portable terminal and this portable terminal take, and finishes current handling process; Otherwise, enter new off-grid sense cycle.
Wherein, the current quality of uplink signal of described detection portable terminal be specially in signal strength signal intensity, signal to noise ratio and the error rate of the signal strength signal intensity that detects portable terminal or signal to noise ratio or the error rate or joint-detection portable terminal both or both more than.
Wherein, during the signal to noise ratio of described detection portable terminal, correspondingly, described off-grid sense cycle is made as and comprises the overtime duration that base station is the T27 timer that keeps of portable terminal at least.
Wherein, described off-grid sense cycle comprises the overtime duration of three to four T27 timers.
A kind of method that detects off-line of mobile station comprises:
The base station receives that the request that portable terminal sends inserts message, and already present portable terminal has identical user ID in the portable terminal of determining this request access and the network;
The base station judges whether the testing result of a last off-grid sense cycle that the already present portable terminal that inserts with request in the network has a portable terminal of same subscriber sign is 0, if, the resource that already present portable terminal and this portable terminal take in the releasing network then, and the portable terminal that will ask to insert carries out normal user and inserts processing; Otherwise, abandon the access request that the request of receiving inserts message or refusal portable terminal.
Wherein, the concrete testing process of described off-grid sense cycle is:
In the time of in default off-grid sense cycle, the current quality of uplink signal of portable terminal is detected in the base station;
The base station judges that whether the current quality of uplink signal of portable terminal is less than default quality of uplink signal detection threshold; If the testing result of then putting current off-grid sense cycle is 0; Otherwise the testing result of putting current off-grid sense cycle is 1.
Wherein, the current quality of uplink signal of described detection portable terminal be specially in signal strength signal intensity, signal to noise ratio and the error rate of the signal strength signal intensity that detects portable terminal or signal to noise ratio or the error rate or joint-detection portable terminal both or both more than.
Wherein, during the signal to noise ratio of described detection portable terminal, correspondingly, described off-grid sense cycle is set at and comprises the overtime duration that base station is the T27 timer that keeps of portable terminal at least.
Wherein, described off-grid sense cycle comprises the overtime duration of three to four T27 timers.
A kind of device that detects off-line of mobile station comprises:
The quality of uplink signal detection module is used for detecting the current quality of uplink signal of portable terminal in default off-grid sense cycle;
Detect the number of times counting module, be used in default off-grid sense cycle, the current detection number of times being added 1;
The quality of uplink signal judge module is used to judge that whether the current quality of uplink signal of portable terminal is less than default quality of uplink signal detection threshold;
The testing result logging modle is used for after the quality of uplink signal judge module judges that the current quality of uplink signal of portable terminal is less than default quality of uplink signal detection threshold, and the testing result of putting current off-grid sense cycle is 0; Otherwise the testing result of putting current off-grid sense cycle is 1, and triggers the quality of uplink signal detection module and detect the number of times counting module;
Detect the number of times judge module, the testing result that is used for putting in the testing result logging modle current off-grid sense cycle is after 0, judges that whether the current detection number of times is less than the detection times N of presetting; If then trigger the quality of uplink signal detection module and detect the number of times counting module; Otherwise detection trigger is judge module as a result;
The testing result judge module is used to judge whether the testing result of a N continuous off-grid sense cycle is 0, if, triggering mobile terminals off-grid module then; Otherwise, trigger the quality of uplink signal detection module and detect the number of times counting module; And
The off-line of mobile station module is used to discharge the resource that this portable terminal and this portable terminal take.
A kind of device that detects off-line of mobile station comprises:
Request inserts the message sink module, is used for the request access message that mobile terminal receive is sent;
The user ID determination module is used for determining that the portable terminal that this request inserts has identical user ID with the already present portable terminal of network;
The first testing result judge module is used for judging whether the testing result of a last off-grid sense cycle that the already present portable terminal that inserts with request of network has a portable terminal of same subscriber sign is 0, if, triggering mobile terminals off-grid module then; Otherwise, trigger the access failure processing module;
The off-line of mobile station module is used for the resource that the already present portable terminal of releasing network and this portable terminal take;
Portable terminal access failure processing module is used to abandon the access request that the request of receiving inserts message or refusal portable terminal; And
The portable terminal access module is used for after the resource that the already present portable terminal of off-line of mobile station module releasing network and this portable terminal take, and the portable terminal that this request is inserted carries out normal user and inserts processing.
Wherein, this device also comprises:
The quality of uplink signal detection module is used for detecting the current quality of uplink signal of portable terminal in default off-grid sense cycle;
Detect the number of times counting module, be used in default off-grid sense cycle, the current detection number of times being added 1;
The quality of uplink signal judge module is used to judge that whether the current quality of uplink signal of portable terminal is less than default quality of uplink signal detection threshold;
The testing result logging modle is used for after the quality of uplink signal judge module judges that the current quality of uplink signal of portable terminal is less than default quality of uplink signal detection threshold, and the testing result of putting current off-grid sense cycle is 0; Otherwise the testing result of putting current off-grid sense cycle is 1, and triggers the quality of uplink signal detection module and detect the number of times counting module;
Detect the number of times judge module, the testing result that is used for putting in the testing result logging modle current off-grid sense cycle is after 0, judges that whether the current detection number of times is less than the detection times N of presetting; If then trigger the quality of uplink signal detection module and detect the number of times counting module; Otherwise detection trigger is judge module as a result;
The second testing result judge module is used to judge whether the testing result of a N continuous off-grid sense cycle is 0, if, triggering mobile terminals off-grid module then; Otherwise, trigger the quality of uplink signal detection module and detect the number of times counting module; And
Described off-line of mobile station module is used to discharge the resource that this portable terminal and this portable terminal take.
As can be seen from the above technical solutions, the present invention is by setting long off-grid detection time (being a N continuous off-grid sense cycle T), make the quality of uplink signal of BS active detecting MS, can prevent that not only the resource on the BS from being hung for a long time, demand that also can compatible MS signal degradation, be the MS reservation of resource, can recover communication rapidly after the wireless signal of MS is improved.
In addition, as with network in the MS request of already present MS with same subscriber sign when inserting, because default off-grid sense cycle T is shorter, BS can very fast definite network in the off-grid testing result of already present MS, and then determine already present MS in the releasing network whether and will ask the MS access network of access.Therefore, the off-grid testing process when request of the present invention inserts can guarantee when MS breaks down and recovers immediately, can horse back with this MS re-accessing network, thereby improve user's experience.
Embodiment
Below in conjunction with accompanying drawing technical scheme of the present invention is further elaborated.
BS of the present invention detects the method for MS off-grid and handles in two kinds of situation, and a kind of is basic MS off-grid testing process, the off-grid testing process when another kind is MS request access.
As shown in Figure 2, basic MS off-grid testing process may further comprise the steps:
Step 201, according to default off-grid sense cycle T, in off-grid sense cycle T, BS detects the current quality of uplink signal of MS, and the current detection number of times is added 1.
The specific implementation process of " in off-grid sense cycle T; BS detects the current quality of uplink signal of MS " is: when off-grid sense cycle T begins, the quality of uplink signal that BS just begins to detect MS finishes until off-grid sense cycle T, when off-grid sense cycle T finished, BS preserved the value of the current quality of uplink signal of detected MS.
Wherein, off-grid sense cycle T picks up counting after the Ranging process is finished, and at all MS in the network unified off-grid sense cycle T can be set.In addition, the concrete numerical value of off-grid sense cycle T can be set according to the actual requirements.Generally speaking, T sets shortlyer with the off-grid sense cycle, and so the reason of setting will be mentioned hereinafter.
Step 202~204, BS judges the current quality of uplink signal of MS whether less than default quality of uplink signal detection threshold Th, if the testing result of then putting current off-grid sense cycle T is 0, then execution in step 205; Otherwise the testing result of putting current off-grid sense cycle T is 1, then returns step 201, promptly enters new off-grid sense cycle.
Wherein, the concrete root of number of quality of uplink signal detection threshold Th border requirements set factually.
Wherein, the quality of uplink signal that detects MS specifically can detect signal strength signal intensity, the signal to noise ratio (CINR of MS, carrier-to-interference-and-noise ratio) or the error rate etc., in also can signal strength signal intensity, CINR and the error rate of joint-detection MS any two, or above-mentioned three parameters of joint-detection, concrete detection means can be decided according to the actual requirements.
For example, when the CINR of joint-detection MS and the error rate, need respectively the CINR and the error rate to be set CINR detection threshold Th ' and error rate detection threshold Th ", more detected respectively afterwards CINR and CINR detection threshold Th ' and the detected error rate and error rate detection threshold Th ".Can find by above-mentioned example, when joint-detection, need the relevant detection thresholding be set, more detected then numerical value and relevant detection thresholding each parameter.
Step 205, BS judges that whether the current detection number of times is less than default detection times N, if then return step 201; Otherwise, execution in step 206.
Wherein, the concrete numerical value that detects times N can be set according to the actual requirements.
Step 206~207, BS judges whether the testing result of a N continuous off-grid sense cycle T is 0 in the past, if, then judging this MS off-grid, BS discharges the resource that this MS and this MS take, and finishes current handling process; Otherwise, return step 201.
As the above analysis, this basic MS off-grid testing process is by long off-grid detection time (being a N continuous off-grid sense cycle T), make the quality of uplink signal of BS active detecting MS, can prevent that not only the resource on the BS from being hung for a long time, demand that also can compatible MS signal degradation, be the MS reservation of resource, can recover communication rapidly after the wireless signal of MS is improved.
Off-grid testing process when as shown in Figure 3, the MS request inserts may further comprise the steps:
Step 301, BS receives that the request that MS sends inserts message, this request inserts the user ID of carrying MS in the message.
Wherein, in the WiMAX system, it is Initial Ranging message that this request inserts message; This user ID is the MAC Address of MS.
Step 302, BS judges the MS that whether has existed the MS that inserts with request to have the same subscriber sign in the network, if exist, then execution in step 304, otherwise; Execution in step 303.
Step 303, the MS that this request is inserted carries out normal user and inserts processing, and finishes current handling process.
Step 304~306, BS judges whether the testing result of a last off-grid sense cycle T that the already present MS that inserts with request in the network has a MS of same subscriber sign is 0, if be 0, then already present in the releasing network have the MS of this user ID and a resource that this MS takies, then change step 303 over to, otherwise; According to strategy, directly abandon the request access message of receiving or send response message and ask to be rejected with its access of notice MS to MS, this shows that MS asks access failure.
Immediate off-grid sense cycle when wherein, a described last off-grid sense cycle is meant with MS request access.
The concrete testing process of described off-grid sense cycle refers to that promptly step 201 is to step 204.
By above analysis as can be known, because default off-grid sense cycle T is shorter, thus the off-grid testing process when this MS request inserts can guarantee to break down and recover immediately as MS, during as power-off restarting, can allow this MS re-accessing network at once, thereby improve user's experience.
Be that example describes basic MS off-grid testing process in detail with the CINR that detects MS below, as shown in Figure 4, this flow process may further comprise the steps:
Step 401, according to default off-grid sense cycle T, in off-grid sense cycle T, BS detects the current CINR of MS, and the current detection number of times is added 1.
The specific implementation process of " in off-grid sense cycle T; BS detects the current CINR of MS " is: when off-grid sense cycle T begins, the CINR that BS just begins to detect MS is until off-grid sense cycle T end, and when off-grid sense cycle T finished, BS preserved the value of the current C INR of detected MS.
Step 402~204, BS judges the current CINR of MS whether less than default CINR detection threshold Th ', if the testing result of then putting current off-grid sense cycle T is 0, and deposits testing result in detection buffering area on the BS, then execution in step 405; Otherwise the testing result of putting current off-grid sense cycle T is 1, and deposits testing result on the BS detection buffering area, then returns step 401, promptly enters new off-grid sense cycle.
Step 405, BS judges that whether the current detection number of times is less than default detection times N, if then return step 401; Otherwise, execution in step 406.
Step 406~407, BS judges whether the testing result of a N continuous off-grid sense cycle T is 0 in the past, if, then judging this MS off-grid, BS discharges the resource that this MS and this MS take, and finishes current handling process; Otherwise, return step 401.
If MS normally discharges in above-mentioned off-grid testing process, as MS shutdown etc., then no matter which step testing process marches to, and above-mentioned testing process can terminate.
Simply introduce the method for the CINR that detects MS below, this is a prior art.Before the method for introducing the CINR that detects MS, at first need to prove, when detecting the CINR of MS, correspondingly, off-grid sense cycle T should be set at and comprise the overtime duration that BS is the T27 timer that keeps of MS at least, guaranteeing that BS can receive the upstream data of MS, and be that MS distributes upstream bandwidth, thereby detect CINR for the upstream bandwidth of MS distribution.In actual applications, for the accuracy that improves detection and prevent flase drop, off-grid sense cycle T generally is made as the overtime duration that comprises three to four T27 timers.In addition, this T27 timer is not repeated them here by IEEEE802.16 agreement regulation.
As shown in Figure 5, the method for the CINR of this detection MS may further comprise the steps:
Step 501, BS starts the T27 timer that keeps for MS.
Wherein, the T27 timer can start after the Ranging process is finished.
Step 502, BS waits for received content, this content may be an overtime message, also may be the upstream data that MS sends.
Step 503~504 if BS receives the T27 overtime message, then show the upstream data of not receiving MS in this timing, so BS is MS assignment period ranging opportunity, so that MS sends upstream data; BS then can be MS distribution upstream bandwidth, then execution in step 507 afterwards.
Step 505~506 if BS receives the upstream data of MS, then need according to the active application of MS or the subscribed services quality of MS (QoS, Quality ofService), and BS is that MS distributes upstream bandwidth, and execution in step 507 afterwards.
Step 507, BS replacement T27 timer.
Step 508, BS detects the CINR of the upstream bandwidth that distributes for MS.
Need to prove that though the foregoing description major part is that applied environment describes with the WiMAX communication system, the present invention is equally applicable to other wireless communication systems.
For realizing above-mentioned basic MS pull-off network detecting method, the present invention also proposes a kind of device of the MS of detection off-grid, and as shown in Figure 6, this device comprises:
Quality of uplink signal detection module 10 is used for detecting the current quality of uplink signal of MS in default off-grid sense cycle T;
Detect number of times counting module 11, be used in default off-grid sense cycle T, the current detection number of times being added 1;
Quality of uplink signal judge module 12 is used to judge that whether the current quality of uplink signal of MS is less than default quality of uplink signal detection threshold Th;
Testing result logging modle 13 is used for after quality of uplink signal judge module 12 judges that the current quality of uplink signal of MS is less than default quality of uplink signal detection threshold Th, and the testing result of putting current off-grid sense cycle T is 0; Otherwise the testing result of putting current off-grid sense cycle T is 1, and triggers quality of uplink signal detection module 10 and detect number of times counting module 11;
Detect number of times judge module 14, the testing result that is used for putting in testing result logging modle 13 current off-grid sense cycle T is after 0, judges that whether the current detection number of times is less than the detection times N of presetting; If then trigger quality of uplink signal detection module 10 and detect number of times counting module 11; Otherwise detection trigger is judge module 15 as a result;
Testing result judge module 15 is used to judge whether the testing result of a N continuous off-grid sense cycle T is 0, if then trigger MS off-grid module 16; Otherwise, trigger quality of uplink signal detection module 10 and detect number of times counting module 11;
MS off-grid module 16 is used to discharge the resource that this MS and this MS take.
Pull-off network detecting method when realizing that above-mentioned MS request inserts, the present invention also proposes a kind of device of the MS of detection off-grid, and as shown in Figure 7, this device comprises:
Request inserts message sink module 20, is used to receive the request access message that MS sends;
User ID determination module 21 is used for determining that the MS that this request inserts has identical user ID with the already present MS of network;
The first testing result judge module 22 is used for judging whether the testing result of a last off-grid sense cycle T that the already present MS that inserts with request of network has a MS of same subscriber sign is 0, if then trigger MS off-grid module 23; Otherwise, trigger access failure processing module 24;
MS off-grid module 23 is used for the resource that the already present MS of releasing network and this MS take;
MS access failure processing module 24 is used to abandon the access request that the request of receiving inserts message or refusal MS; And
MS access module 25 is used for after the resource that the already present MS of MS off-grid module 23 releasing networks and this MS take, and the MS that this request is inserted carries out normal user and inserts processing.
In addition, this device also comprises:
The quality of uplink signal detection module is used for detecting the current quality of uplink signal of MS in default off-grid sense cycle;
Detect the number of times counting module, be used in default off-grid sense cycle, the current detection number of times being added 1;
The quality of uplink signal judge module is used to judge that whether the current quality of uplink signal of MS is less than default quality of uplink signal detection threshold;
The testing result logging modle is used for after the quality of uplink signal judge module judges that the current quality of uplink signal of MS is less than default quality of uplink signal detection threshold, and the testing result of putting current off-grid sense cycle is 0; Otherwise the testing result of putting current off-grid sense cycle is 1, and triggers the quality of uplink signal detection module and detect the number of times counting module;
Detect the number of times judge module, the testing result that is used for putting in the testing result logging modle current off-grid sense cycle is after 0, judges that whether the current detection number of times is less than the detection times N of presetting; If then trigger the quality of uplink signal detection module and detect the number of times counting module; Otherwise detection trigger is judge module as a result;
The second testing result judge module is used to judge whether the testing result of a N continuous off-grid sense cycle is 0, if then trigger MS off-grid module; Otherwise, trigger the quality of uplink signal detection module and detect the number of times counting module;
Described MS off-grid module 23 is used to discharge the resource that this MS and this MS take.
Need to prove that though above-mentioned module is not shown in Figure 7, in fact these modules and corresponding module shown in Figure 6 have identical functions.Therefore, this device with these modules not only can improve user's experience, can also prevent that the resource on the BS from being hung for a long time, demand that also can compatible MS signal degradation.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.