Background technology
In 3-G (Generation Three mobile communication system), system resource is very valuable.The leakage of system resource not only can influence the performance of mobile communications network, even can cause the collapse of system.
Radio network controller in the 3-G (Generation Three mobile communication system) (RNC, Radio NetworkController) can distribute continually usually and discharge example resource, to realize subscriber equipment (UE, access UserEquipment) and release.
Traditional U E example resource testing mechanism is to lean on the two-way keepalive mechanism between case process to realize, promptly the case process both sides just send a keep-alive message at set intervals at interval each other, to notify existing of the other side's local terminal instance.As shown in Figure 1, keep-alive mainly comprises between the instance that exists in the system:
(1) keep-alive between case process A and the case process B;
(2) keep-alive between case process C and the case process B;
(3) keep-alive between case process D and the case process B.
This keepalive mechanism example resource under normal circumstances can not occur and hang dead phenomenon, and this is to guarantee with regard to discharging self automatically by the keep-alive message (being that keep-alive is lost) that local terminal does not receive square end.But present this mechanism has just been made following a kind of hypothesis: even if occurred unusually, case process still can fully be released.And in fact, this keepalive mechanism is for a kind of abnormal conditions that occur and reckon without: even if judge that keep-alive having occurred loses, and also done releasing operation; And because some unknown causes cause in the middle of dispose procedure, not dischargeing case process; So that example resource can not get normal release for a long time, is in ossified state, resource promptly occurs and hangs dead phenomenon (resource leakage); System can't detect this, thereby also just can't do further abnormality processing.Therefore, be necessary to provide a kind of mechanism to diagnose, find the dead situation of above-mentioned example resource extension, and can assist operating personnel to carry out releasing operation the dead case process of resource extension occurring.
Summary of the invention
Technical problem to be solved by this invention provides a kind of detection system and method for exception example resource; Be intended to that there is exception example in the system of detecting and reports when system is under the abnormal conditions still effectively; Supply operating personnel in time to handle, thereby guarantee the stable operation of communication network.
In order to solve the problems of the technologies described above, a kind of system that exception example resource is detected provided by the invention is applicable in the radio network controller (RNC) that this system comprises RNS and operation and maintenance sub system; RNS comprises a user equipment (UE) instance control module, is used for creating and discharging the UE instance; Operation and maintenance sub system contains the UE example detection module that is connected with UE instance control module, is used to carry out the order that the UE instance was created and discharged to UE instance control module; Wherein:
UE example detection module is built-in with registration table, is used for creating and discharging the global identifier GID that the UE example procedure is preserved sign UE instance, and preserves the item of information of UE instance;
UE example detection module also is built-in with timer, is used for being created with dispose procedure at the UE instance regularly detecting UE instance item of information, creates overtime exception example to detect.
Further, UE instance item of information comprises the creation-time of UE instance;
The timing cycle of timer is set during the module initialization of UE example detection; Start fixed cycle operator simultaneously; Scanning UE instance item of information when timer overflows is if the difference of the sweep time of UE instance and its creation-time judges then that more than or equal to a set time section UE instance is an exception example.
Further, the built-in timer of UE example detection module is reset the startup fixed cycle operator automatically when overflowing, or when overflowing by UE example detection module with its replacement and start fixed cycle operator.
Further, timer is one group of timing unit, and UE instance item of information comprises that by UE example detection module be the identification number of the timing unit of UE example allocation;
UE example detection module is provided with a set time section when distributing timing unit be timing cycle, starts fixed cycle operator simultaneously; When timing unit overflowed, in UE instance item of information, inquiring by the pairing UE instance of the identification number of this timing unit that overflows was exception example.
Further, the fixed cycle operator of UE example detection module termination timing unit when discharging the UE instance.
In order to solve the problems of the technologies described above, a kind of detection method to exception example resource provided by the invention is applicable to that in the radio network controller (RNC), this detection method comprises step:
In the registration table of operation and maintenance sub system, increase user equipment (UE) instance item of information;
RNS is created and is discharged in the process of UE instance, and the GID of sign UE instance is preserved or discharged to operation and maintenance sub system in registration table, and adds or deletion UE instance item of information;
Creating and discharging in the process of UE instance, operation and maintenance sub system regularly detects UE instance item of information, when detecting when creating overtime exception example, takes to report the requisite measure of notice or suppressing exception instance immediately.
Further; UE instance item of information comprises the creation-time of UE instance; Operation and maintenance sub system periodically scans UE instance item of information, if the difference of the sweep time of discovery UE instance and its creation-time judges then that more than or equal to a set time section UE instance is an exception example.
Further; It is the identification number of the timing unit of its distribution that the instance item of information is included in when creating the UE instance; Operation and maintenance sub system is made as a set time section timing cycle of timing unit; When timing unit regularly overflowed, in UE instance item of information, inquiring by the pairing UE instance of the identification number of this timing unit that overflows was exception example.
Further, operation and maintenance sub system starts fixed cycle operator when being UE example allocation timing unit, termination timing operation when the UE instance discharges.
The present invention is based on the global identifier (GID, Global ID) of preserving sign UE among the RNC, increase recording of informations such as instance creation-times, thereby reach the purpose that exception example resource is detected.And policy-flexible of the present invention is realized simple; Simultaneously, can not do any change to the existing mobile communication business basic procedure of realizing.
Embodiment
The detection system of exception example resource provided by the invention is applicable in the radio network controller (RNC) that this system comprises RNS and operation and maintenance sub system; RNS comprises UE instance control module, is used for creating or discharging each UE instance; Operation and maintenance sub system contains the UE example detection module that is connected with said UE instance control module, is used to carry out the order that UE instance control module is created and discharged; UE example detection module is built-in with registration table and timer, and in establishment of UE instance and dispose procedure, the GID of sign UE instance is preserved or discharged to this UE example detection module in registration table, and adds therein or deletion instance item of information.UE example detection module detects the example resource information of creating in the registration table according to the fixed cycle operator of this timer; Exist when detecting the exception example resource of creating overtime (difference that is detection time and instance creation-time surpasses the certain hour section), then take to report measures necessary such as notice or suppressing exception instance immediately.
The present invention may further comprise the steps the detection method of exception example resource:
In the registration table of operation and maintenance sub system, increase UE instance item of information;
RNS is created and is discharged in the process of UE instance, and the GID of sign UE instance is preserved or discharged to operation and maintenance sub system in registration table; And creating and discharging in the process of UE example resource, add or deletion UE instance item of information;
In above-mentioned establishment with discharge in the process of UE instance, operation and maintenance sub system regularly detects UE instance item of information, when detecting when creating overtime exception example, takes to report the requisite measure of notice or suppressing exception instance immediately.
Below through specific embodiment and accompanying drawing technique scheme of the present invention is at length explained.
Embodiment 1
Present embodiment is an example with TD-RNC (radio network controller of TD-SCDMA), will be used for TD-RNC the system principle diagram that exception example resource detects is illustrated among Fig. 2.
Can find out that by Fig. 2 this system comprises RNS 100 and operation and maintenance sub system 200; Wherein: RNS 100 comprises UE instance control module 110, is used for creating or discharging each UE instance 120; Operation and maintenance sub system 200 contains the UE example detection module 210 that is connected with said UE instance control module 110, is used to carry out the order that UE instance control module is created and discharged; UE example detection module 210 is built-in with registration table internal memory 2101 and timer 2 102.
Instance create with dispose procedure in, UE example detection module 210 is being except preserving in the registration table or discharging the GID of sign UE instance, also adds or deletes UE instance item of information, is used to write down information such as UE instance creation-time.
UE example detection module 210 is provided with the timing cycle of timer 2 102 when initialization.Before UE instance control module 110 is created the UE instance, start timer 2 102 fixed cycle operators earlier.Can be reset the startup fixed cycle operator automatically when timer 2 102 overflows, or by said UE example detection module with its replacement and start fixed cycle operator.
Creating and deleting in the UE example procedure; When timer 2 102 regularly overflows; UE example detection module 210 just removes to scan the UE instance item of information in the registration table; Whether inquiry exists is created overtime UE instance, and the difference of promptly current sweep time and instance creation-time surpasses the certain hour section, for example 48 hours; Have such exception example if detect, then take measures necessary immediately, for example report and notify the attendant to handle, or the notice associated process discharges exception example or deletion.
The interaction diagrams of the detection method of the above-mentioned exception example resource of present embodiment are as shown in Figure 3, specifically may further comprise the steps:
Step S301: example detection module (being UE example detection module) power-up initializing, distribute the registration table memory field, the cycle detection time cycle to the scanning registration table is set simultaneously;
Step S302: when operation flow began, instance control module (being UE instance control module) was to example detection module application GID, example detection module assignment GID, and in registration table, preserve GID item information;
Step S303: the instance control module is created the UE example resource as required, and the example detection module is information such as record instance creation-time in registration table;
Step S304: when operation flow finished, the instance control module discharged instance, corresponding instance information in the example detection module deletion registration table;
Step S305: the instance control module discharges corresponding GID information in the example detection module registration table;
Step S306: above-mentioned instance create with dispose procedure in, the example detection module periodically scans registration table, creates overtime exception example and exists if detect to have in the registration table, then takes operations necessary as reporting notice or volume except that exception example etc.
Embodiment 2
The difference of present embodiment and embodiment 1 only is: the timer 2 102 of the UE example detection module 210 among Fig. 2 also can be made up of one group of timing unit, like the timing unit group 2102 ' among Fig. 4; Wherein each timing unit is created and is provided with to a UE instance, can be set to the timing cycle of timing unit the overtime time limit.When UE instance control module 110 is created a UE instance, for it distributes a timing unit, its identification number is recorded in the corresponding UE instance of the registration table item of information, and starts its fixed cycle operator by UE example detection module 210; When UE instance control module 110 discharges this UE instance, stop the fixed cycle operator of this timing unit by UE example detection module 210.If system is not released because of abnormal cause causes this UE instance, this timing unit will be operated until it always and overflow so; Just trigger UE example detection module 210 identification numbers when overflowing automatically and inquire corresponding UE instance, thereby confirm this exception example according to this timing unit that writes down in the registration table.
Do like this is to be that cost exchanges the software processes burden that alleviates UE instance control module 110 for the hardware resource; Perhaps, be that the fixed cycle operator that is simplified to timing unit is handled in the scan round of UE example detection module 210.Because the establishment and the dispose procedure of most of after all UE instances belong to normal condition, and the situation of generation exception example possibly be a minority.So, only need start normally regularly and the simple operations of termination timing through timing unit for this most applications; And just need the processing of overflowing through timing unit for abnormal conditions.The present invention can come concrete its strategy of formulating according to the ratio of concrete normal condition and abnormal conditions.
The interaction diagrams of the detection method of the above-mentioned exception example resource of present embodiment are as shown in Figure 5, specifically may further comprise the steps:
Step S401: example detection module (being UE example detection module) power-up initializing, distribute the registration table memory field;
Step S402: when operation flow began, instance control module (being UE instance control module) was to example detection module application GID, example detection module assignment GID, and in registration table, preserve GID item information;
Step S403: the instance control module is created the UE example resource as required; The example detection module is distributed a timing unit for it; The overtime time limit is provided with the timing cycle of this timing unit, and in registration table, writes down this timing unit identification number information in the corresponding UE instance item of information; Start this timing unit fixed cycle operator then;
Step S404: when operation flow finished, the instance control module discharged instance, and the example detection module is deleted corresponding instance information in the registration table, and stopped the operation of this timing unit;
Step S405: the instance control module discharges corresponding GID information in the example detection module registration table;
Step S404 ': in above-mentioned instance establishment and dispose procedure; If system is not released because of abnormal cause causes this UE instance; Thereby the timing unit that is assigned with can be operated until it always and overflows; Trigger example detection module inquiry and registration table, thereby inquire corresponding exception example, then take operations necessary as reporting notice or suppressing exception instance etc. according to this timing unit identification number in the registration table.
The present invention is not restricted to any specific hardware and software and combines.Should be understood that the variation in these practical implementations is very clearly for a person skilled in the art, do not break away from protection scope of the present invention.
The present invention is based on the GID that preserves sign UE among the RNC, increase recording of informations such as instance creation-times, thereby reach the purpose that detects exception example resource effectively.And policy-flexible of the present invention is realized simply, is applicable to that the exception example of all kinds of mobile communcations systems detects processing.
The above is merely a preferred embodiment of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improve or the like, all should be included within protection scope of the present invention.