CN104735719B - A kind of method and apparatus of premature beats - Google Patents

A kind of method and apparatus of premature beats Download PDF

Info

Publication number
CN104735719B
CN104735719B CN201510111442.8A CN201510111442A CN104735719B CN 104735719 B CN104735719 B CN 104735719B CN 201510111442 A CN201510111442 A CN 201510111442A CN 104735719 B CN104735719 B CN 104735719B
Authority
CN
China
Prior art keywords
level
alarm
rank
determined
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510111442.8A
Other languages
Chinese (zh)
Other versions
CN104735719A (en
Inventor
覃莲
帅福利
胥洲
周伟雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems China Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comba Telecom Technology Guangzhou Ltd, Comba Telecom Systems China Ltd, Comba Telecom Systems Guangzhou Co Ltd, Tianjin Comba Telecom Systems Co Ltd filed Critical Comba Telecom Technology Guangzhou Ltd
Priority to CN201510111442.8A priority Critical patent/CN104735719B/en
Publication of CN104735719A publication Critical patent/CN104735719A/en
Application granted granted Critical
Publication of CN104735719B publication Critical patent/CN104735719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0284Traffic management, e.g. flow control or congestion control detecting congestion or overload during communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to the communications fields, disclose a kind of method and apparatus of premature beats, and the program is:Monitor the size of the total data packet in local message queue;When total data packet is more than preset byte thresholding, in the range of setting time, according to predetermined period, the pending duration of the data packet of tail of the queue in message queue is recorded;The corresponding alarm level of pending duration of current record is determined according to pending duration;The occurrence number of each alarm level recorded in the range of setting time is counted, a kind of alarm level for being up to default alarm number thresholding is determined as corresponding target alarms rank in the range of setting time;Corresponding premature beats are performed according to target alarms rank.In this way, corresponding premature beats measure is taken according to the load class of home gateway, it is ensured that femtocell gateway device reliability of operation and automatic recovery ability.

Description

A kind of method and apparatus of premature beats
Technical field
The present invention relates to the communications field, more particularly to a kind of method and apparatus of premature beats.
Background technology
With being continuously increased for mobile subscriber's quantity, the load of femto gateway also can be weighed increasingly, not increased additionally In the case of oil (gas) filling device, the limiting value of femto gateway endurance will certainly be reached.Such as in EPS system, core net according to Tracking area list paging mobile terminal, if femto gateway with it is macro net base station share tracking area (Tracking Area, TA), the paging message of macro net is also sent to femto gateway, and a large amount of paging message does not allow the impact of femto gateway Ignore.Traditional overload controlling method is that instantaneous sampling result and overload threshold are performed comparison to determine whether generating overload, When overload occurs, the access of limiting mobile terminal.
However, the integral load feelings of home gateway can not be reacted under the prior art well using this judgment criterion Condition, for example, overload is caused since instantaneous load is overweight, and the premature beats policing policy underaction used after overloading.
Invention content
The embodiment of the present invention provides a kind of method and apparatus of premature beats, to improve femtocell gateway device operation Reliability and automatic recovery ability.
Specific technical solution provided in an embodiment of the present invention is as follows:
A kind of method of premature beats, including:
Monitor the size of the total data packet in local message queue;
When the total data packet is more than preset byte thresholding, in the range of setting time, according to predetermined period, institute is recorded State the pending duration of the data packet of tail of the queue in message queue;The pending duration is for one data packet of characterization from message In queue there are durations;Wherein, the setting time range is more than default collection period, and the setting time range is The integral multiple of the predetermined period;Primary pending duration is often recorded, by the pending duration of current record and preset time door Limit is compared, and the corresponding alarm level of pending duration of current record is determined according to comparison result;
The occurrence number of each alarm level recorded in the range of the setting time is counted, is up to default alarm A kind of alarm level of number thresholding is determined as corresponding target alarms rank in the range of the setting time;
Corresponding premature beats are performed according to the target alarms rank.
In this way, corresponding premature beats measure is taken according to the load class of home gateway, it is ensured that femto gateway Equipment reliability of operation and automatic recovery ability.
Preferably, often recording primary pending duration, the pending duration of current record and preset time thresholding are carried out Compare, the corresponding alarm level of pending duration of current record is determined according to comparison result, including:
If the primary pending duration of record is not less than the preset time thresholding, and the difference of the two is less than first in advance Gating limits, it is determined that the corresponding alarm level of pending duration of current record is first level;Wherein, the first level table The local congestion state of sign is slight;
If the primary pending duration of record is not less than the preset time thresholding, and the difference of the two is described first Between pre-determined threshold and the second pre-determined threshold, it is determined that the corresponding alarm level of pending duration of current record is the second level Not;Wherein, the local congestion state of the second level characterization is moderate;
If the primary pending duration of record is not less than the preset time thresholding, and the difference of the two is more than described the Two pre-determined thresholds, it is determined that the corresponding alarm level of pending duration of current record is third level, wherein, the third level Local congestion state is not characterized as severe.
Preferably, the occurrence number of each alarm level that statistics records in the range of the setting time, is up to A kind of alarm level of default report and alarm number is determined as corresponding target alarms rank in the range of the setting time, wraps It includes:
According to the appearance total degree of each alarm level recorded in the range of the setting time and default alarm Number ratio-dependent presets alarm number thresholding, according to the sequence of alarm level from high to low, determines that each alarm level goes out Existing total degree;
The total degree that each alarm level occurs with default report and alarm number is compared respectively successively, is up to A kind of alarm level of default report and alarm number is determined as corresponding target alarms rank in the range of the setting time.
Preferably, determine the total degree that each alarm level occurs, including:
When determining the total degree that the first level occurs, by the occurrence number of the first level of record, described the The total degree that the sum of occurrence number of the other occurrence number alarm of two level and the third level occurs as the first level;
When determining the total degree that the second level occurs, by the occurrence number of the second level of record and described the The total degree that the sum of other occurrence number of three-level occurs as the second level;
When determining the total degree that the third level occurs, using the occurrence number of the third level of record as described in The total degree that third level occurs.
Preferably, corresponding premature beats are performed according to the target alarms rank, including:
If the target alarms rank is first level, abandons local and macro net base station and share macro webmaster during tracking area TA Have jurisdiction over the paging message of the mobile terminal under cell;
If the target alarms rank is second level, refuse the access request of local mobile terminal, and abandon this The paging message of ground mobile terminal and local and macro net base station share mobile terminal during tracking area TA under macro webmaster linchpin cell Paging message;
If the target alarms rank is third level, attachment removal in inactive mobile terminal of local a period of time, Refuse the access request of local mobile terminal, and abandon the paging message of local mobile terminal and locally shared with macro net base station The paging message of mobile terminal during TA under macro webmaster linchpin cell.
Preferably, being determined as in the range of the setting time after corresponding target alarms rank, further comprise:
If it is determined that target alarms rank for second level, then carry out first level and second level alarm, and according to institute It states second level and performs corresponding premature beats;
If it is determined that target alarms rank for third level, then carry out first level, second level and third level alarm, And perform corresponding premature beats according to the third level.
Preferably, after performing corresponding premature beats according to the alarm level, further comprise:
If current alarm level is redefined after having performed premature beats;
Whether the target alarms rank used when judging the current alarm level with performing the premature beats is phase Adjacent level relation;
If so, perform corresponding premature beats according to current alarm level;
Otherwise, extend a setting time range, current alarm level is judged again, if determining twice in succession Current alarm level it is identical, then corresponding premature beats are carried out according to the current alarm level, if twice in succession really Fixed alarm level differs, then performs corresponding premature beats according to the higher alarm level of wherein rank.
A kind of device of premature beats, including:
Monitoring unit, for monitoring the size of the total data packet in local message queue;
Recording unit, for when the total data packet is more than preset byte thresholding, in the range of setting time, foundation to be pre- If the period, the pending duration of the data packet of tail of the queue in the message queue is recorded;The pending duration is used to characterize one Data packet from message queue there are durations;Wherein, the setting time range is more than default collection period, and described Setting time range is the integral multiple of the predetermined period;Often record primary pending duration, by current record it is pending when Length is compared with preset time thresholding, and the corresponding alarm level of pending duration of current record is determined according to comparison result;
Determination unit, for counting the occurrence number of each alarm level recorded in the range of the setting time, A kind of alarm level for being up to default alarm number thresholding is determined as corresponding target alarms grade in the range of the setting time Not;
Execution unit, for performing corresponding premature beats according to the target alarms rank.
In this way, corresponding premature beats measure is taken according to the load class of home gateway, it is ensured that femto gateway Equipment reliability of operation and automatic recovery ability.
Preferably, often recording primary pending duration, the pending duration of current record and preset time thresholding are carried out Compare, when determining the corresponding alarm level of the pending duration of current record according to comparison result, the recording unit is used for:
If the primary pending duration of record is not less than the preset time thresholding, and the difference of the two is less than first in advance Gating limits, it is determined that the corresponding alarm level of pending duration of current record is first level;Wherein, the first level table The local congestion state of sign is slight;
If the primary pending duration of record is not less than the preset time thresholding, and the difference of the two is described first Between pre-determined threshold and the second pre-determined threshold, it is determined that the corresponding alarm level of pending duration of current record is the second level Not;Wherein, the local congestion state of the second level characterization is moderate;
If the primary pending duration of record is not less than the preset time thresholding, and the difference of the two is more than described the Two pre-determined thresholds, it is determined that the corresponding alarm level of pending duration of current record is third level, wherein, the third level Local congestion state is not characterized as severe.
Preferably, the occurrence number of each alarm level that statistics records in the range of the setting time, is up to When a kind of alarm level of default report and alarm number is determined as corresponding target alarms rank in the range of the setting time, institute Determination unit is stated to be used for:
According to the appearance total degree of each alarm level recorded in the range of the setting time and default alarm Number ratio-dependent presets alarm number thresholding, according to the sequence of alarm level from high to low, determines that each alarm level goes out Existing total degree;
The total degree that each alarm level occurs with default report and alarm number is compared respectively successively, is up to A kind of alarm level of default report and alarm number is determined as corresponding target alarms rank in the range of the setting time.
Preferably, when determining the total degree that each alarm level occurs, the determination unit is used for:
When determining the total degree that the first level occurs, by the occurrence number of the first level of record, described the The total degree that the sum of occurrence number of the other occurrence number alarm of two level and the third level occurs as the first level;
When determining the total degree that the second level occurs, by the occurrence number of the second level of record and described the The total degree that the sum of other occurrence number of three-level occurs as the second level;
When determining the total degree that the third level occurs, using the occurrence number of the third level of record as described in The total degree that third level occurs.
Preferably, when performing corresponding premature beats according to the target alarms rank, the execution unit is used for:
If the target alarms rank is first level, abandons local and macro net base station and share macro webmaster during tracking area TA Have jurisdiction over the paging message of the mobile terminal under cell;
If the target alarms rank is second level, refuse the access request of local mobile terminal, and abandon this The paging message of ground mobile terminal and local and macro net base station share mobile terminal during tracking area TA under macro webmaster linchpin cell Paging message;
If the target alarms rank is third level, attachment removal in inactive mobile terminal of local a period of time, Refuse the access request of local mobile terminal, and abandon the paging message of local mobile terminal and locally shared with macro net base station The paging message of mobile terminal during TA under macro webmaster linchpin cell.
Preferably, be determined as in the range of the setting time after corresponding target alarms rank, the execution unit into One step is used for:
If it is determined that target alarms rank for second level, then carry out first level and second level alarm, and according to institute It states second level and performs corresponding premature beats;
If it is determined that target alarms rank for third level, then carry out first level, second level and third level alarm, And perform corresponding premature beats according to the third level.
Preferably, after performing corresponding premature beats according to the alarm level, the execution unit is further used for:
If current alarm level is redefined after having performed premature beats;
Whether the target alarms rank used when judging the current alarm level with performing the premature beats is phase Adjacent level relation;
If so, perform corresponding premature beats according to current alarm level;
Otherwise, extend a setting time range, current alarm level is judged again, if determining twice in succession Current alarm level it is identical, then corresponding premature beats are carried out according to the current alarm level, if twice in succession really Fixed alarm level differs, then performs corresponding premature beats according to the higher alarm level of wherein rank.
Description of the drawings
Fig. 1 is the general introduction flow chart of premature beats in the embodiment of the present invention;
Fig. 2 is the idiographic flow schematic diagram of premature beats in the embodiment of the present invention;
Fig. 3 is the apparatus structure schematic diagram of premature beats in the embodiment of the present invention.
Specific embodiment
In order to accurately reflect the integral load situation of home gateway and solve the difference of femto gateway well The load problem of degree.In the embodiment of the present invention, corresponding premature beats is taken to arrange according to the load class of femto gateway It applies, it is ensured that femtocell gateway device reliability of operation and automatic recovery ability.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
As shown in fig.1, in the embodiment of the present invention, the general introduction flow of premature beats is as follows:
Step 100:Monitor the size of the total data packet in local message queue.
Step 110:When total data packet is more than preset byte thresholding, in the range of setting time, according to predetermined period, note Record the pending duration of the data packet of tail of the queue in message queue;Pending duration is for one data packet of characterization in message queue There are durations;Wherein, setting time range is more than default collection period, and setting time range is the integer of predetermined period Times;Primary pending duration is often recorded, the pending duration of current record is compared with preset time thresholding, according to comparing As a result the corresponding alarm level of pending duration of current record is determined.
Under normal conditions, preset byte can be 10000 bytes or so, when the total data packet byte in local message queue Sum is more than 10000 bytes or so, the problem of beginning to consider whether to overload.
In the embodiment of the present invention, when performing step 110, if the primary pending duration of record is not less than preset time door Limit, and the difference of the two is less than the first pre-determined threshold, it is determined that and the corresponding alarm level of pending duration of current record is First level, wherein, the local congestion state of first level characterization is slight.
Generally, it is that the pending duration of the half of preset time thresholding is set as the first pre- gating by the difference of the two Limit.
For example, a length of 12s when recording pending, preset time thresholding is 10s, then, the difference of the two is 2s, and 2s is The 1/5 of 10s, less than the first pre-determined threshold (1/2), it is determined that this alarm level is first level.
If the primary pending duration of record not less than preset time thresholding, and the difference between the two in the first pre-determined threshold and Between second pre-determined threshold, it is determined that the corresponding alarm level of pending duration of current record is second level, wherein, second The local congestion state of rank characterization is moderate.
Generally, two times of the pending duration that the difference of the two is preset time thresholding is set as the second pre- gating Limit.
For example, a length of 20s when recording pending, preset time thresholding is 10s, then, the difference of the two is 10s, and 10s is 1 times of 10s, between the first pre-determined threshold and the second pre-determined threshold (1 is more than 1/2 and less than 2), it is determined that this alert level It Wei not second level.
If the primary pending duration of record is not less than preset time thresholding, and the difference between the two is more than the second pre- gating Limit, it is determined that the corresponding alarm level of pending duration of current record is third level, wherein, third level characterization local Congestion state is severe.
For example, a length of 31s when recording pending, preset time thresholding is 10s, then, the difference of the two is 21s, and 21s is big In 20s [21 are more than (10 × 2)], it is determined that this alarm level is third level.
Step 120:The occurrence number of each alarm level recorded in the range of setting time is counted, is up to default A kind of alarm level of alarm number thresholding is determined as corresponding target alarms rank in the range of setting time.
Preferably, according to the appearance total degree of each alarm level counted in the range of setting time and default announcement Alert number ratio-dependent presets report and alarm number, according to the sequence of alarm level from high to low, determines each alarm level The total degree of appearance, and total degree and default report and alarm number are compared, it is up to the announcement of default report and alarm number Alert rank is determined as corresponding target alarms rank in the range of setting time.
In addition, when determining the total degree that first level occurs, by the first level, second level and third level of record time The sum of number is determined as the total degree of first level appearance.
For example, first level number is 1, second level number is 2, third level number is 3, then, first level is total Number is determined as 6 (1+2+3=6).
When determining the total degree that second level occurs, the sum of the second level of record and third level number are determined as the The total degree that two ranks occur.
For example, second level number is 2, third level number is 3, then, second level total degree is determined as 5 (2+3= 5)。
When determining the total degree that third level occurs, the number of the third level of record is determined as third level appearance Total degree.
For example, third level number is 3, then, it is 3 directly to determine third level total degree.
In the embodiment of the present invention, step 110 is being performed and when 120, if, the 30s during time range of setting, predetermined period For 5s, then 6 record times can be carried out in the time range of setting.In first 5s, record is at this time in message queue A length of 12s during pending in message queue of the data packet of tail of the queue, in second 5s, record tail of the queue in message queue at this time Pending in message queue of data packet when a length of 16s, in third 5s, record at this time in message queue tail of the queue number According to a length of 23s during pending in message queue of packet, in the 4th 5s, record at this time in message queue tail of the queue data packet A length of 31s during pending in message queue, in the 5th 5s, the data packet of tail of the queue is disappearing record in message queue at this time A length of 35s when ceasing pending in queue, in the 6th 5s, record at this time in message queue the data packet of tail of the queue in message team A length of 32s during pending in row, and assume that preset time thresholding is 10s, then, determining six alarm levels are successively For:First level, second level, second level, third level, third level and third level count different alarm levels Number is respectively:First level is 1 time, second level is 2 times, third level is 3 times.Default alarm number ratio is 80%, So, it is 5 times (6 × 80%=4.8) to preset report and alarm number, then, the total degree that third level occurs is considered first, always Number is 3, since 3 are less than 5, then continues with the total degree of second level appearance, and total degree is 5 (2+3=5), due to 5=5, Reach default reporting alerts number.So second level is determined as target alarms rank.
Step 130:Corresponding premature beats are performed according to target alarms rank.
Specifically, if target alarms rank is first level, abandons local and macro net base station and share tracking area The paging message of mobile terminal when (Tracking Area, TA) under macro webmaster linchpin cell;
If target alarms rank is second level, refuse the access request of local mobile terminal, and abandon local shifting The paging message of dynamic terminal and local and macro net base station are shared during tracking area (Tracking Area, TA) under macro webmaster linchpin cell Mobile terminal paging message;
If target alarms rank is third level, attachment removal is in local mobile terminal inactive for a period of time, refusal The access request of local mobile terminal, and abandon the paging message of local mobile terminal and locally share tracking with macro net base station The paging message of mobile terminal during area TA under macro webmaster linchpin cell.
Further, be determined as in the range of setting time after corresponding target alarms rank, however, it is determined that target BS Alarm level is second level, then carries out first level and second level alarm, and corresponding according to second level alarm execution Premature beats;
If it is determined that target BS alarm level for third level, then carry out first level, second level and third level Alarm, and perform corresponding premature beats according to third level alarm.
In addition, redefine current alarm level after performing premature beats;
Whether the target alarms rank used when judging current alarm level with performing premature beats is that adjacent rank is closed System;
If so, perform corresponding premature beats according to current alarm level;
Otherwise, extend a setting time range, judge current alarm level again, if what is determined twice in succession works as Preceding alarm level is identical, then carries out corresponding premature beats according to current alarm level, if determining alarm twice in succession Rank differs, then performs corresponding premature beats according to the higher alarm level of wherein rank.
For example, target alarms rank is alerted for the third level, after performing corresponding premature beats, in next setting Between in the range of, if detection obtains alarm level at this time as second level, (third level and second level are adjacent), that , corresponding premature beats are performed according to second level;
If the alarm level that detection obtains at this time is that (first level and third level are not adjacent to first level, are to get over Grade), then extend identical setting time range, judge current alarm level again, if determining announcement twice in succession Alert rank is still first level, then performs corresponding premature beats according to first level alarm, if the alarm this time judged Rank is second level, then performs corresponding premature beats according to second level alarm.
Further details of explanation is made to above-described embodiment with reference to a specific application scenarios, refering to shown in Fig. 2.
Step 200:Monitor the size of the total data packet in local message queue.
Step 201:Determine alarm level and corresponding number.
Specifically, when total data packet is more than preset byte thresholding, in the range of setting time, according to predetermined period, record Pending duration of the data packet of tail of the queue in message queue in message queue, and determine that the pending duration of current record corresponds to Alarm level.
Moreover, in the total degree for determining first level appearance, by the first level, second level and third level of record The sum of number is determined as the total degree of first level appearance;
When determining the total degree that second level occurs, the sum of the second level of record and third level number are determined as the The total degree that two ranks occur;
When determining the total degree that third level occurs, the number of the third level of record is determined as third level appearance Total degree.
Step 202:Judge whether third level is more than default report and alarm number.
If so, performing step 203, otherwise, step 204 is performed.
Step 203:It is determined as third level, and premature beats is performed according to third level.
Step 204:Judge whether second level is more than default report and alarm number.
If so, performing step 205, otherwise, step 206 is performed.
Step 205:It is determined as second level, and premature beats is performed according to second level.
Step 206:Judge whether first level is more than default report and alarm number.
If so, performing step 207, otherwise, step 208 is performed.
Step 207:It is determined as first level, and premature beats is performed according to first level.
Step 208:Do not perform premature beats.
Based on above-described embodiment, as shown in fig.3, in the embodiment of the present invention, the device of premature beats includes:Monitoring unit 30th, recording unit 31, determination unit 32 and execution unit 33, wherein,
Monitoring unit 30, for monitoring the size of the total data packet in local message queue;
Recording unit 31, for when total data packet is more than preset byte thresholding, in the range of setting time, foundation to be default Period records the pending duration of the data packet of tail of the queue in message queue;Pending duration for characterize a data packet from In message queue there are durations;Wherein, setting time range is more than default collection period, and setting time range is default The integral multiple in period;Primary pending duration is often recorded, the pending duration of current record is compared with preset time thresholding Compared with determining the corresponding alarm level of pending duration of current record according to comparison result;
Determination unit 32, will for counting the occurrence number of each alarm level recorded in the range of setting time A kind of alarm level for reaching default alarm number thresholding is determined as corresponding target alarms rank in the range of setting time;
Execution unit 33, for performing corresponding premature beats according to target alarms rank.
Preferably, often recording primary pending duration, the pending duration of current record and preset time thresholding are carried out Compare, when determining the corresponding alarm level of the pending duration of current record according to comparison result, recording unit 31 is used for:
If the primary pending duration of record is not less than preset time thresholding, and the difference of the two is less than the first pre- gating Limit, it is determined that the corresponding alarm level of pending duration of current record is first level;Wherein, first level characterizes local Congestion state is slight;
If the primary pending duration of record is not less than preset time thresholding, and the difference of the two is in the first pre-determined threshold And second between pre-determined threshold, it is determined that the corresponding alarm level of pending duration of current record is second level;Wherein, The local congestion state of two ranks characterization is moderate;
If the primary pending duration of record is not less than preset time thresholding, and the difference of the two is more than the second pre- gating Limit, it is determined that the corresponding alarm level of pending duration of current record is third level, wherein, third level characterization local Congestion state is severe.
Preferably, the occurrence number of each alarm level that statistics records in the range of setting time, is up to default When a kind of alarm level of report and alarm number is determined as corresponding target alarms rank in the range of setting time, determination unit 32 For:
According to the appearance total degree of each alarm level recorded in the range of setting time and default alarm number Ratio-dependent presets alarm number thresholding, according to the sequence of alarm level from high to low, determines what each alarm level occurred Total degree;
The total degree that each alarm level occurs with default report and alarm number is compared respectively successively, is up to A kind of alarm level of default report and alarm number is determined as corresponding target alarms rank in the range of setting time.
Preferably, when determining the total degree that each alarm level occurs, determination unit 32 is used for:
When determining the total degree that first level occurs, by the appearance of the occurrence number of the first level of record, second level Number alerts the total degree that the sum of occurrence number with third level occurs as first level;
When determining the total degree that second level occurs, by the appearance of the occurrence number of the second level of record and third level The total degree that the sum of number occurs as second level;
When determining the total degree that third level occurs, occur the occurrence number of the third level of record as third level Total degree.
Preferably, when performing corresponding premature beats according to target alarms rank, execution unit 33 is used for:
If target alarms rank is first level, abandon local macro webmaster when sharing tracking area TA with macro net base station have jurisdiction over it is small The paging message of mobile terminal under area;
If target alarms rank is second level, refuse the access request of local mobile terminal, and abandon local shifting The paging message of dynamic terminal and the local paging that mobile terminal during tracking area TA under macro webmaster linchpin cell is shared with macro net base station Message;
If target alarms rank is third level, attachment removal is in local mobile terminal inactive for a period of time, refusal The access request of local mobile terminal, and abandon the paging message of local mobile terminal and local when sharing TA with macro net base station The paging message of mobile terminal under macro webmaster linchpin cell.
Preferably, being determined as in the range of setting time after corresponding target alarms rank, execution unit 33 is further used In:
If it is determined that target alarms rank for second level, then carry out first level and second level alarm, and according to the Two ranks perform corresponding premature beats;
If it is determined that target alarms rank for third level, then carry out first level, second level and third level alarm, And perform corresponding premature beats according to third level.
Preferably, after performing corresponding premature beats according to alarm level, execution unit 33 is further used for:
If current alarm level is redefined after having performed premature beats;
Whether the target alarms rank used when judging current alarm level with performing premature beats is that adjacent rank is closed System;
If so, perform corresponding premature beats according to current alarm level;
Otherwise, extend a setting time range, judge current alarm level again, if what is determined twice in succession works as Preceding alarm level is identical, then carries out corresponding premature beats according to current alarm level, if determining alarm twice in succession Rank differs, then performs corresponding premature beats according to the higher alarm level of wherein rank.
In conclusion in the embodiment of the present invention, it is proposed that a kind of method and apparatus of premature beats, the program are:Monitoring The size of total data packet in local message queue;When total data packet is more than preset byte thresholding, in the range of setting time, According to predetermined period, the pending duration of the data packet of tail of the queue in message queue is recorded;According to pending duration, current note is determined The corresponding alarm level of pending duration of record;Each alarm level that statistics records in the range of setting time goes out occurrence Number, when a kind of alarm level for reaching default alarm number thresholding is determined as corresponding target alarms grade in the range of setting time Not;Corresponding premature beats are performed according to target alarms rank.In this way, mistake accordingly is taken according to the load class of home gateway Carry control measure, it is ensured that femtocell gateway device reliability of operation and automatic recovery ability.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can perform the embodiment of the present invention various modification and variations without departing from this hair The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (12)

  1. A kind of 1. method of premature beats, which is characterized in that the method includes:
    Monitor the size of the total data packet in local message queue;
    When the total data packet is more than preset byte thresholding, in the range of setting time, according to predetermined period, disappear described in record Cease the pending duration of the data packet of tail of the queue in queue;The pending duration is for one data packet of characterization from message queue In there are durations;Wherein, the setting time range is more than default collection period, and the setting time range is described The integral multiple of predetermined period;Often record primary pending duration, by the pending duration of current record and preset time thresholding into Row compares, and the corresponding alarm level of pending duration of current record is determined according to comparison result;If record is primary pending Duration is not less than the preset time thresholding, and the difference of the two is less than the first pre-determined threshold, it is determined that current record is treated The corresponding alarm level of handling duration is first level;Wherein, the local congestion state of the first level characterization is slight;If The primary pending duration of record not less than the preset time thresholding, and the difference of the two in first pre-determined threshold and Between second pre-determined threshold, it is determined that the corresponding alarm level of pending duration of current record is second level;Wherein, it is described The local congestion state of second level characterization is moderate;If the primary pending duration of record is not less than the preset time door Limit, and the difference of the two is more than second pre-determined threshold, it is determined that the corresponding alert level of pending duration of current record Not Wei third level, wherein, the local congestion state of third level characterization is severe;
    The occurrence number of each alarm level recorded in the range of the setting time is counted, is up to default alarm number A kind of alarm level of thresholding is determined as corresponding target alarms rank in the range of the setting time;
    Corresponding premature beats are performed according to the target alarms rank.
  2. 2. the method as described in claim 1, which is characterized in that count each announcement recorded in the range of the setting time The occurrence number of alert rank, a kind of alarm level for being up to default report and alarm number are determined as in the range of the setting time Corresponding target alarms rank, including:
    According to the appearance total degree of each alarm level recorded in the range of the setting time and default alarm number Ratio-dependent presets alarm number thresholding, according to the sequence of alarm level from high to low, determines what each alarm level occurred Total degree;
    The total degree that each alarm level occurs with default report and alarm number is compared respectively successively, is up to default A kind of alarm level of report and alarm number is determined as corresponding target alarms rank in the range of the setting time.
  3. 3. method as claimed in claim 2, which is characterized in that determine the total degree that each alarm level occurs, including:
    When determining the total degree that the first level occurs, by the occurrence number of the first level of record, the second level The total degree that the sum of occurrence number of other occurrence number alarm and the third level occurs as the first level;
    When determining the total degree that the second level occurs, by the occurrence number of the second level of record and the third level The total degree that the sum of other occurrence number occurs as the second level;
    When determining the total degree that the third level occurs, using the occurrence number of the third level of record as the third The total degree that rank occurs.
  4. 4. the method as described in claim 1,2 or 3, which is characterized in that corresponding mistake is performed according to the target alarms rank Control is carried, including:
    If the target alarms rank is first level, abandon local macro webmaster when sharing tracking area TA with macro net base station have jurisdiction over it is small The paging message of mobile terminal under area;
    If the target alarms rank is second level, refuse the access request of local mobile terminal, and abandon local shifting The paging message of dynamic terminal and the local paging that mobile terminal during tracking area TA under macro webmaster linchpin cell is shared with macro net base station Message;
    If the target alarms rank is third level, attachment removal is in local mobile terminal inactive for a period of time, refusal The access request of local mobile terminal, and abandon the paging message of local mobile terminal and local when sharing TA with macro net base station The paging message of mobile terminal under macro webmaster linchpin cell.
  5. 5. method as claimed in claim 4, which is characterized in that be determined as corresponding target alarms in the range of the setting time After rank, further comprise:
    If it is determined that target alarms rank for second level, then carry out first level and second level alarm, and according to described the Two ranks perform corresponding premature beats;
    If it is determined that target alarms rank for third level, then carry out first level, second level and third level alarm, and according to Corresponding premature beats are performed according to the third level.
  6. 6. the method as described in claim 1,2 or 3, which is characterized in that corresponding overload control is performed according to the alarm level After system, further comprise:
    If current alarm level is redefined after having performed premature beats;
    Whether the target alarms rank used when judging the current alarm level with performing the premature beats is adjacent level Not relationship;
    If so, perform corresponding premature beats according to current alarm level;
    Otherwise, extend a setting time range, judge current alarm level again, if what is determined twice in succession works as Preceding alarm level is identical, then carries out corresponding premature beats according to the current alarm level, if determine twice in succession Alarm level differs, then performs corresponding premature beats according to the higher alarm level of wherein rank.
  7. 7. a kind of device of premature beats, which is characterized in that described device includes:
    Monitoring unit, for monitoring the size of the total data packet in local message queue;
    Recording unit, for when the total data packet is more than preset byte thresholding, in the range of setting time, foundation to be default all Phase records the pending duration of the data packet of tail of the queue in the message queue;The pending duration is for one data of characterization Packet from message queue there are durations;Wherein, the setting time range is more than default collection period, and the setting Time range is the integral multiple of the predetermined period;Often record primary pending duration, by the pending duration of current record with Preset time thresholding is compared, and the corresponding alarm level of pending duration of current record is determined according to comparison result;If note The primary pending duration of record is not less than the preset time thresholding, and the difference of the two is less than the first pre-determined threshold, then really The corresponding alarm level of pending duration for determining current record is first level;Wherein, the first level characterization is local gathers around Plug-like state is slight;If the primary pending duration of record is not less than the preset time thresholding, and the difference of the two is in institute It states between the first pre-determined threshold and the second pre-determined threshold, it is determined that the corresponding alarm level of pending duration of current record is the Two ranks;Wherein, the local congestion state of the second level characterization is moderate;If the primary pending duration of record is not less than The preset time thresholding, and the difference of the two be more than second pre-determined threshold, it is determined that current record it is pending when Long corresponding alarm level is third level, wherein, the local congestion state of the third level characterization is severe;
    Determination unit for counting the occurrence number of each alarm level recorded in the range of the setting time, will reach A kind of alarm level to default alarm number thresholding is determined as corresponding target alarms rank in the range of the setting time;
    Execution unit, for performing corresponding premature beats according to the target alarms rank.
  8. 8. device as claimed in claim 7, which is characterized in that count each announcement recorded in the range of the setting time The occurrence number of alert rank, a kind of alarm level for being up to default report and alarm number are determined as in the range of the setting time During corresponding target alarms rank, the determination unit is used for:
    According to the appearance total degree of each alarm level recorded in the range of the setting time and default alarm number Ratio-dependent presets alarm number thresholding, according to the sequence of alarm level from high to low, determines what each alarm level occurred Total degree;
    The total degree that each alarm level occurs with default report and alarm number is compared respectively successively, is up to default A kind of alarm level of report and alarm number is determined as corresponding target alarms rank in the range of the setting time.
  9. 9. device as claimed in claim 8, which is characterized in that described when determining the total degree that each alarm level occurs Determination unit is used for:
    When determining the total degree that the first level occurs, by the occurrence number of the first level of record, the second level The total degree that the sum of occurrence number of other occurrence number alarm and the third level occurs as the first level;
    When determining the total degree that the second level occurs, by the occurrence number of the second level of record and the third level The total degree that the sum of other occurrence number occurs as the second level;
    When determining the total degree that the third level occurs, using the occurrence number of the third level of record as the third The total degree that rank occurs.
  10. 10. the device as described in claim 7,8 or 9, which is characterized in that corresponding mistake is performed according to the target alarms rank When carrying control, the execution unit is used for:
    If the target alarms rank is first level, abandon local macro webmaster when sharing tracking area TA with macro net base station have jurisdiction over it is small The paging message of mobile terminal under area;
    If the target alarms rank is second level, refuse the access request of local mobile terminal, and abandon local shifting The paging message of dynamic terminal and the local paging that mobile terminal during tracking area TA under macro webmaster linchpin cell is shared with macro net base station Message;
    If the target alarms rank is third level, attachment removal is in local mobile terminal inactive for a period of time, refusal The access request of local mobile terminal, and abandon the paging message of local mobile terminal and local when sharing TA with macro net base station The paging message of mobile terminal under macro webmaster linchpin cell.
  11. 11. device as claimed in claim 10, which is characterized in that be determined as corresponding target in the range of the setting time and accuse After alert rank, the execution unit is further used for:
    If it is determined that target alarms rank for second level, then carry out first level and second level alarm, and according to described the Two ranks perform corresponding premature beats;
    If it is determined that target alarms rank for third level, then carry out first level, second level and third level alarm, and according to Corresponding premature beats are performed according to the third level.
  12. 12. the device as described in claim 7,8 or 9, which is characterized in that corresponding overload control is performed according to the alarm level After system, the execution unit is further used for:
    If current alarm level is redefined after having performed premature beats;
    Whether the target alarms rank used when judging the current alarm level with performing the premature beats is adjacent level Not relationship;
    If so, perform corresponding premature beats according to current alarm level;
    Otherwise, extend a setting time range, judge current alarm level again, if what is determined twice in succession works as Preceding alarm level is identical, then carries out corresponding premature beats according to the current alarm level, if determine twice in succession Alarm level differs, then performs corresponding premature beats according to the higher alarm level of wherein rank.
CN201510111442.8A 2015-03-13 2015-03-13 A kind of method and apparatus of premature beats Active CN104735719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510111442.8A CN104735719B (en) 2015-03-13 2015-03-13 A kind of method and apparatus of premature beats

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510111442.8A CN104735719B (en) 2015-03-13 2015-03-13 A kind of method and apparatus of premature beats

Publications (2)

Publication Number Publication Date
CN104735719A CN104735719A (en) 2015-06-24
CN104735719B true CN104735719B (en) 2018-07-06

Family

ID=53459055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510111442.8A Active CN104735719B (en) 2015-03-13 2015-03-13 A kind of method and apparatus of premature beats

Country Status (1)

Country Link
CN (1) CN104735719B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257770B (en) * 2018-10-10 2022-05-06 京信网络系统股份有限公司 Overload control method, device, system and equipment
CN109412852B (en) * 2018-10-29 2022-05-03 京信网络系统股份有限公司 Alarm method, alarm device, computer equipment and storage medium
CN111368301A (en) * 2020-03-03 2020-07-03 深信服科技股份有限公司 Virus checking and killing method, device, equipment and readable storage medium
CN112564951B (en) * 2020-11-27 2023-01-20 广东电网有限责任公司广州供电局 Method, device, computer equipment and storage medium for avoiding alarm storm
CN113852876A (en) * 2021-08-17 2021-12-28 哈工大机器人南昌智能制造研究院 Control logic method for automatic alarm of factory power utilization overload
CN113760668A (en) * 2021-08-30 2021-12-07 浪潮电子信息产业股份有限公司 Fault warning method, system and related device of cloud platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754262A (en) * 2008-12-10 2010-06-23 中兴通讯股份有限公司 Overload indicator report trigger method based on user terminal physical resource interference
CN102843725A (en) * 2012-08-15 2012-12-26 无锡北邮感知技术产业研究院有限公司 Data transmission method and data transmission device
CN103124420A (en) * 2013-01-21 2013-05-29 电子科技大学 Wireless on-chip network structuring method
CN103701694A (en) * 2012-09-27 2014-04-02 株式会社日立制作所 Gateway device and data processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140046235A (en) * 2012-10-10 2014-04-18 에스케이텔레콤 주식회사 Apparatus and method for controlling loads

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754262A (en) * 2008-12-10 2010-06-23 中兴通讯股份有限公司 Overload indicator report trigger method based on user terminal physical resource interference
CN102843725A (en) * 2012-08-15 2012-12-26 无锡北邮感知技术产业研究院有限公司 Data transmission method and data transmission device
CN103701694A (en) * 2012-09-27 2014-04-02 株式会社日立制作所 Gateway device and data processing method
CN103124420A (en) * 2013-01-21 2013-05-29 电子科技大学 Wireless on-chip network structuring method

Also Published As

Publication number Publication date
CN104735719A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104735719B (en) A kind of method and apparatus of premature beats
US20220043067A1 (en) Charging method and device, charging system, electronic equipment and storage medium
CN102831045B (en) Method and device for detecting starting items in terminal equipment
CN109149689B (en) Wireless charging method and device
CN104079955B (en) More push up OTT live method, apparatus and system
CN102520300B (en) A kind of circuit short-circuit fault detection method and system
CN109412852A (en) Alarm method, device, computer equipment and storage medium
CN102955719A (en) Determination method and device of suspected memory leak
CN106790299B (en) Wireless attack defense method and device applied to wireless Access Point (AP)
CN109963310A (en) A kind of different-system switching method and device
CN103312566A (en) Message port congestion detection method and device
Cajueiro et al. Controlling self-organized criticality in complex networks
CN109257196A (en) A kind of abnormality eliminating method and equipment
CN106483461B (en) Electrical machine energy-saving analysis and fault state monitoring system
CN109041255B (en) Access method and UE
CN109743339A (en) The network security monitoring method and device of electric power plant stand, computer equipment
CN106372502A (en) Application closure limiting method and apparatus, and terminal
KR101535716B1 (en) Apparatus and method for detecting attacks using data mining
CN109617887A (en) A kind of information processing method, device and storage medium
CN106034182A (en) Method, device and terminal for controlling electric quantity loss
CN108197475A (en) A kind of malice so modules detection method and relevant apparatus
CN107368016A (en) A kind of optimization method and device of current conversion station supervisory control system running
CN107241761B (en) A kind of jamming control method and device of base station
CN107634944B (en) Information abnormity judgment method and system and computer device
CN112290509A (en) Phase modulation magnetic loss protection method and system for preventing voltage fluctuation from causing malfunction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180223

Address after: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou, Guangzhou economic and Technological Development Zone, Guangdong Province, No. 10

Applicant after: Comba Telecom System (China) Co., Ltd.

Applicant after: Comba Telecom Systems (Guangzhou) Co., Ltd.

Applicant after: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant after: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

Address before: 510663 Guangdong city of Guangzhou Province Economic and Technological Development Zone Jinbi Road No. 6

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200106

Address after: 510663 No. 10, Shenzhou Road, Science City, Guangzhou, economic and Technological Development Zone, Huangpu District, Guangzhou, Guangdong Province

Patentee after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou, Guangzhou economic and Technological Development Zone, Guangdong Province, No. 10

Co-patentee before: Jingxin Communication System (Guangzhou) Co., Ltd.

Patentee before: Jingxin Communication System (China) Co., Ltd.

Co-patentee before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Co-patentee before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 510663 No.10, Shenzhou Road, Guangzhou Science City, economic and Technological Development Zone, Huangpu District, Guangzhou City, Guangdong Province

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 No.10, Shenzhou Road, Guangzhou Science City, economic and Technological Development Zone, Huangpu District, Guangzhou City, Guangdong Province

Patentee before: Comba Telecom System (China) Ltd.

CP01 Change in the name or title of a patent holder