CN110858956B - Processing method, device, equipment and medium for IP short message gateway load unbalance - Google Patents

Processing method, device, equipment and medium for IP short message gateway load unbalance Download PDF

Info

Publication number
CN110858956B
CN110858956B CN201810968058.3A CN201810968058A CN110858956B CN 110858956 B CN110858956 B CN 110858956B CN 201810968058 A CN201810968058 A CN 201810968058A CN 110858956 B CN110858956 B CN 110858956B
Authority
CN
China
Prior art keywords
short message
load
gateway
message gateway
factor
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
CN201810968058.3A
Other languages
Chinese (zh)
Other versions
CN110858956A (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Sichuan Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Sichuan 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 China Mobile Communications Group Co Ltd, China Mobile Group Sichuan Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810968058.3A priority Critical patent/CN110858956B/en
Publication of CN110858956A publication Critical patent/CN110858956A/en
Application granted granted Critical
Publication of CN110858956B publication Critical patent/CN110858956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for processing load unbalance of an IP short message gateway. The method comprises the following steps: acquiring a load value of each IP short message gateway in a gateway pool group at the current time point, and determining a load expected value of each IP short message gateway according to the load value; when the deviation value of any load value from the expected predicted load threshold value is greater than a preset threshold value, determining a correlation coefficient of each factor causing the load unbalance of the IP short message gateway; when the absolute value of any correlation coefficient is larger than a preset correlation threshold, determining a factor corresponding to the correlation coefficient larger than the preset correlation threshold as an alternative factor; selecting the candidate factor with the maximum absolute value of the correlation coefficient from all the candidate factors as an optimal factor; and processing the load unbalance of the IP short message gateway according to the processing strategy corresponding to the optimal factor. By the scheme of the invention, the load balancing capability of the IP short message gateway is enhanced, and the optimized management and control of the IP short message gateway are realized.

Description

Processing method, device, equipment and medium for IP short message gateway load unbalance
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, a device, and a medium for processing load imbalance of an IP short message gateway.
Background
An IP Short message gateway (IP-SM-GW) is used to provide a safe and fast channel for data exchange between a Voice over LTE (Voice over LTE) user and a Short Message Service Center (SMSC) based on an IP Multimedia Subsystem (IMS). Because the uplink (MO) and downlink (MT) of VOLTE short message sending are all determined by the round-robin parameter of the registration phase through which IP short message gateway, the MO sending phase is determined according to the address stored in the Serving Call Session Control Function (S-CSCF) and the result obtained by the SMSC to the Home Subscriber Server (HSS) in the MT receiving phase. So the IP short message gateway can only receive passively.
In a PooL scene of a gateway PooL, only a user entering PooL is identified and the user leaving PooL is not perceived, so that the specific number of users registered in real time and the user behavior difference are large, and particularly, the load of each IP short message gateway in the PooL is high easily because the bearing capacity of each IP short message gateway in the PooL is different.
The capacity of the IP short message gateway in the current PooL does not support dynamic load balancing and is realized by depending on the static configuration of an S-CSCF and an SMSC. Therefore, when the load of the IP short message gateway is unbalanced, although the load of the IP short message gateway is relatively balanced by repeatedly modifying the distribution proportion and the weight of the S-CSCF, the efficiency and the accuracy are low.
Disclosure of Invention
The embodiment of the invention provides a processing method, a device, equipment and a medium for IP short message gateway load unbalance, which can adjust the IP short message gateway load in time.
According to a first aspect of the embodiments of the present invention, a method for processing load imbalance of an IP short message gateway is provided, where the method includes:
acquiring a load value of each IP short message gateway in a gateway pool group at the current time point, and determining a load expected value of each IP short message gateway according to the load value;
when the deviation value of any load expected value from the predicted load expected threshold value is greater than a preset threshold value, determining a correlation coefficient of each factor causing the load unbalance of the IP short message gateway;
when the absolute value of any correlation coefficient is larger than a preset correlation threshold, determining a factor corresponding to the correlation coefficient larger than the preset correlation threshold as an alternative factor;
selecting the candidate factor with the maximum absolute value of the correlation coefficient from all the candidate factors as an optimal factor;
and processing the load unbalance of the IP short message gateway according to the processing strategy corresponding to the optimal factor.
According to a second aspect of the embodiments of the present invention, there is provided a processing device for load imbalance of an IP short message gateway, the processing device including: the device comprises an acquisition module, a correlation coefficient determining module, an alternative factor determining module, a selecting module and a processing module;
the acquisition module is used for acquiring the load value of each IP short message gateway in the gateway pool group at the current time point and determining the load expected value of each IP short message gateway according to the load value;
the correlation coefficient determining module is used for determining a correlation coefficient of IP short message gateway load unbalance caused by each factor when the deviation value of any load expected value from the predicted load expected threshold value is greater than a preset threshold value;
the candidate factor determining module is used for determining a factor corresponding to the correlation coefficient larger than the preset correlation threshold as a candidate factor when the absolute value of any correlation coefficient is larger than the preset correlation threshold;
the selection module is used for selecting the alternative factor with the maximum absolute value of the correlation coefficient from all the alternative factors as the optimal factor;
and the processing module is used for processing the load unbalance of the IP short message gateway according to the processing strategy corresponding to the optimal factor.
According to a third aspect of the embodiments of the present invention, there is provided a terminal device, including:
a memory, a processor, a communication interface, and a bus;
the memory, the processor and the communication interface are connected through a bus and complete mutual communication;
the memory is used for storing program codes;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for executing the processing method as the first aspect.
According to a fourth aspect of embodiments of the present invention, there is provided a computer storage medium comprising instructions which, when executed on a computer, cause the computer to perform the processing method of the first aspect.
According to the processing method, device, equipment and medium for the load unbalance of the IP short message gateway in the embodiment of the invention, the load balance capability of the IP short message gateway is enhanced by predicting the load expected value of the IP short message gateway, finding the factor causing the IP short message gateway to accord with the unbalance, adopting a corresponding scheme to process the factor and the like, the automatic adjustment capability of the IP short message gateway in the face of burst impact is enhanced, and the optimized management and control of the IP short message gateway are realized. Therefore, the flexibility of the IP short message gateway is improved, and the customer satisfaction is enhanced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram showing the architecture of the IP short message gateway communication of the present invention;
fig. 2 is a flowchart illustrating a processing method for load imbalance of an IP short message gateway according to an embodiment of the present invention;
fig. 3 is a diagram illustrating normal MO transmission amount;
fig. 4 is a schematic diagram illustrating the sending amount of the short message MO in the embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a processing apparatus for load imbalance of an IP short message gateway according to an embodiment of the present invention;
fig. 6 is a block diagram illustrating an exemplary hardware architecture of a computing device capable of implementing a method and apparatus for processing load imbalance of an IP sms message gateway according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Fig. 1 is a schematic diagram illustrating an architecture of an IP sms gateway communication according to the present invention.
In the gateway Pool, a plurality of IP short message gateways serve the same S-CSCF at the same time, as shown in fig. 1, after a user UE _ a accesses a network, all the accessed S-CSCFs set alternate selection parameters on an ENS in advance, and perform different address translations for the same domain name. Registering the address information of different IP short message gateways through REGISTER message REGISTER, and storing the address information in S-CSCF. The IP short message gateway sends the short message MO according to the registered address information, and simultaneously sends a file Update Request message (PUR) to the HLR/HSS through the IP short message gateway.
And sending the address information of the IP short message gateway to the HLR/HSS so that the IP short message gateway can receive the short message MT. Therefore, resource sharing and service load sharing can be realized among a plurality of IP short message gateways in the Pool.
Because the IP short message gateway in the current PooL does not support dynamic load balancing, the method depends on the static configuration realization of S-CSCF and SMSC. When the load of the IP short message gateway is unbalanced, the relative balance of the load can be achieved only by repeatedly modifying the distribution proportion and the weight of the S-CSCF and adopting a mode of manually transferring users, and the efficiency and the accuracy are very low.
In addition, although the factors causing the uneven load of the IP short message gateway are many, how to analyze the correlation of the factors can accurately find the factors which really affect the load change of the IP short message gateway, and the IP short message gateway is intervened according to the factors, thereby ensuring the load balance of the IP short message gateway and having no solution. Therefore, research on various factors and load balancing is necessary.
The embodiment of the invention provides a method for solving the problem of unbalanced load of an IP short message gateway under different factors, which enhances the load balancing capability of the IP short message gateway, enhances the automatic adjustment capability of the IP short message gateway in the face of sudden impact and realizes the optimized management and control of the IP short message gateway by predicting the load expected value of the IP short message gateway, finding the factor causing the IP short message gateway to conform to the unbalance, adopting a corresponding scheme for processing aiming at the factor and the like. Therefore, the flexibility of the IP short message gateway is improved, and the customer satisfaction is enhanced.
For better understanding of the present invention, the following describes a method, an apparatus, a device and a medium for processing load imbalance of an IP short message gateway according to an embodiment of the present invention in detail with reference to the accompanying drawings, and it should be noted that these embodiments are not intended to limit the scope of the present disclosure.
Fig. 2 is a flowchart illustrating a method for processing load imbalance of an IP short message gateway according to an embodiment of the present invention.
As shown in fig. 2, a method 200 for processing load imbalance of an IP short message gateway in the embodiment of the present invention includes the following steps:
and step S210, collecting the load value of each IP short message gateway in the gateway pool group at the current time point, and determining the load expected value of each IP short message gateway according to the load value.
In this step, the expected load value of each IP sms gateway can be predicted by the following formula (1).
Figure BDA0001775463060000051
Wherein k is time (unit: day), xkIs the load value of the IP short message gateway at the same time point on the previous k day, and E (X) is the predicted load periodThe threshold value P (x) is a probability function, and n is a natural number of 1 or more.
Step S220, when the deviation value of any load expected value from the predicted load expected threshold value is larger than a preset threshold value, determining a correlation coefficient of IP short message gateway load unbalance caused by each factor.
In the step, the load expectation value e (x) ' of the IP short message gateway at the current time point is judged whether the deviation value of e (x) ' from the predicted load expectation threshold value e (x) exceeds a preset threshold value α or not by using the formula (2), and when the deviation value of e (x) ' from the predicted load expectation threshold value e (x) exceeds a preset threshold value α, the IP short message gateway is considered to have load fluctuation and needs to intervene.
|E(X)’-E(X)|≥α (2)
In addition, when it is determined that the IP sms message gateway needs to intervene, it needs to further determine what kind of factor the load imbalance of the IP sms message gateway is caused by. And (4) calculating a correlation coefficient of each factor causing the load unbalance of the IP short message gateway through a formula (3).
In one example, the factors may include: the sending quantity of the short message MO, the receiving quantity of the short message MT, the number of registered users, the alarm quantity and the like.
Figure BDA0001775463060000061
Wherein i is time (unit: hour), xiThe load value of the IP short message gateway when the time point is i; y isiIs a measure of the factor at time point i,
Figure BDA0001775463060000062
is the average of the load values and is,
Figure BDA0001775463060000063
is the mean of the measured values of the factors; r is a correlation coefficient, and n is a natural number of 1 or more.
Step S230, when the absolute value of any correlation coefficient is greater than the preset correlation threshold, determining a factor corresponding to the correlation coefficient greater than the preset correlation threshold as an alternative factor.
In this step, it should be understood that the correlation coefficient r varies within a range from-1 to +1, and the closer the absolute value of r is to 1, the closer the factor is related to the straight line of the IP short message gateway; the closer to 0, the less closely the correlation.
When the absolute value of the correlation coefficient r is > 0.7, the degree of correlation is high, and this factor is used as a candidate.
It is understood that, for example: in the four factors of the short message MO sending quantity, the short message MT receiving quantity, the number of the registered users and the alarm quantity, if the absolute value of the correlation coefficient of the short message MO sending quantity is 0.9, the absolute value of the correlation coefficient of the short message MT receiving quantity is 0.8, the absolute value of the correlation coefficient of the number of the registered users is 0.6 and the absolute value of the correlation coefficient of the alarm quantity is 0.5. Then, since the absolute value of the correlation coefficient of the short message MO sending amount and the absolute value of the correlation coefficient of the short message MT receiving amount are both greater than 0.7, the short message MO sending amount and the short message MT receiving amount are used as alternative factors.
Step S240, selecting the candidate factor with the largest absolute value of the correlation coefficient from all the candidate factors as the optimal factor.
It is understood that, for example: the absolute value of the correlation coefficient of the short message MO sending quantity is 0.9, the absolute value of the correlation coefficient of the short message MT receiving quantity is 0.8, and the absolute value of the correlation coefficient of the short message MO sending quantity is the largest, so that the short message MO sending quantity is the most optimal factor.
And step S250, processing the load unbalance of the IP short message gateway according to the processing strategy corresponding to the optimal factor.
In this step, for example: when the sending quantity of the short message MO is the best factor, the load imbalance of the IP short message gateway needs to be processed according to a strategy aiming at the sending quantity of the short message MO.
By adopting the method of the embodiment of the invention, the deviation value of the real-time load expected value and the prediction threshold value is used as the standard for measuring whether the IP short message gateway load is unbalanced, so that the accuracy for judging whether the IP short message gateway load is unbalanced is improved, different processing schemes are provided according to different factors, the load balancing capacity of the IP short message gateway is enhanced, the automatic adjustment capacity of the IP short message gateway in the face of burst impact is enhanced, and the optimized management and control of the IP short message gateway are realized. Therefore, the flexibility of the IP short message gateway is improved, and the customer satisfaction is enhanced.
The following is a specific process for determining the correlation coefficient which causes the load unbalance of the IP short message gateway and corresponds to four different factors.
First, a short message MO sending amount sent from a serving call session control function S-CSCF to an IP short message gateway within a preset time period is obtained, where the preset time period is a time period before a current time point. And then determining a correlation coefficient of IP short message gateway load unbalance caused by the short message MO sending quantity according to the measured value and the load value of the short message MO sending quantity.
It can be understood that the measured value of the sending amount of the short message MO sent from the S-CSCF to the IP short message gateway and the load value of the IP short message gateway at the current time point are obtained 1 hour before the current time point. And (3) determining a correlation coefficient causing the load unbalance of the IP short message gateway by the short message MO sending quantity according to the formula (3), and when the absolute value of the correlation coefficient r is more than 0.7, listing the short message MO sending quantity as an alternative factor, otherwise, not considering the factor.
Secondly, the receiving quantity of the short message MT sent from the S-CSCF to the IP short message gateway in a preset time period is firstly obtained, wherein the preset time period is the time period before the current time point.
And then determining a correlation coefficient of the load unbalance of the IP short message gateway caused by the short message MT receiving quantity according to the measured value and the load value of the short message MT receiving quantity.
It can be understood that the measured value of the short message MT receiving amount sent from the S-CSCF to the IP short message gateway and the load value of the IP short message gateway at the current time point are obtained 1 hour before the current time point. And (4) determining a correlation coefficient causing the load unbalance of the IP short message gateway by the short message MT receiving quantity according to the formula (3), and listing the short message MT receiving quantity as an alternative factor when the absolute value of the correlation coefficient r is more than 0.7, otherwise, not considering the factor.
And thirdly, acquiring the number of registered users of the IP short message gateway. And then determining a correlation coefficient of IP short message gateway load unbalance caused by the number of registered users according to the number of registered users and the load value.
It can be understood that the number of registered users of the IP short message gateway and the load value of the IP short message gateway at the current time point are obtained 1 hour before the current time point. And (4) determining a correlation coefficient of IP short message gateway load unbalance caused by the number of registered users according to the formula (3), and when the absolute value of the correlation coefficient r is more than 0.7, listing the number of the registered users as an alternative factor, otherwise, not considering the factor.
Fourthly, the alarm quantity sent by the IP short message gateway is firstly obtained. And then determining a correlation coefficient of the IP short message gateway load unbalance caused by the alarm amount according to the alarm amount and the load value.
It can be understood that the alarm amount sent by the IP short message gateway and the load value of the IP short message gateway at the current time point are obtained 1 hour before the current time point. And (4) determining a correlation coefficient of the IP short message gateway load unbalance caused by the alarm quantity sent by the IP short message gateway according to the formula (3), and when the absolute value of the correlation coefficient r is greater than 0.7, listing the alarm quantity sent by the IP short message gateway as an alternative factor, otherwise, not considering the factor.
The following is a specific process for handling the load imbalance of the IP short message gateway by introducing corresponding handling strategies in the face of four different factors.
Fig. 3 is a diagram illustrating a normal MO transmission amount.
As shown in fig. 3, the normal MO flow is that UE _ a sends a MESSAGE to P-CSCF. And then according to the address information stored in the S-CSCF at the registration stage, the S-CSCF sends the MESSAGE MESSAGE to the corresponding IP SHORT MESSAGE gateway, and after receiving the MESSAGE MESSAGE, the IP SHORT MESSAGE gateway sends the constructed SHORT MESSAGE MO of the MAP _ MO _ FORWARD _ SHORT _ MESSAGE _ REQ to the SMSC.
At present, when the sending amount of the MO short messages is large, the MO short messages are relieved mainly by discarding the signaling in proportion according to the bearing capacity of an IP short message gateway. The higher the load of the IP short message gateway is, the more the discarded signaling is, and the higher the short message sending failure probability of the user MO is. Although the load of the IP short message gateway is reduced, the failure of sending the short message MO can cause the reduction of user perception and complaint, and simultaneously, the operation income is influenced.
Therefore, the following method is adopted for improvement.
The first case corresponds to the message MO sending volume:
firstly, the IP short message gateway stops receiving the short message MO sent by the S-CSCF, and sends the short message MO sent by the S-CSCF to the mobile service switching center MSC by utilizing the core network MME.
It is understood that, as shown in fig. 4, the IP short MESSAGE gateway rejects receiving the MESSAGE from the S-CSCF and instructs the MESSAGE to fall back to the access stratum MME. Compared with the short message MO flow in fig. 3, in fig. 4, the short message MO is no longer sent to the SMSC through the IP short message gateway with higher load. At this time, the IP sms gateway does not participate in route analysis, message transmission, etc., and thus, the load of the IP sms gateway is gradually reduced.
After the MESSAGE falls back to the access layer MME, the MME packs the MESSAGE MO in the SGsAP-UPLINK-UNITDATA MESSAGE by utilizing the existing network SGS interface of the MME and the MSC and sends the MESSAGE MO to the MSC. Compared with the original MO short message flow in fig. 3, the access layer MME and the MSC interface are the SGS interface of the existing network, and do not need to be modified, and the signaling bandwidth is sufficient, so that the short message MO requirement can be completely satisfied.
Then, MSC sends the short message MO sent by S-CSCF to short message service center SMSC according to CS network short message flow.
It can be understood that the MO short message is sent to the SMSC through the MSC according to the CS network short message flow. Compared with the original short message MO flow, the signaling path is prolonged, but the short message MO can be sent to the SMSC in real time, and the short message MO loss condition can not occur. Therefore, when the IP short message gateway of the IMS network has high load, the short message MO sent by the S-CSCF is received and is dredged to the SMSC through other ways without passing through the IP short message gateway, and the problem of service discard caused by overlarge load of the IP short message gateway is further effectively solved.
The second case corresponds to the reception amount of the short message MT:
firstly, the IP short message gateway takes the received M short messages MT as a high priority group to be sent to the user side, and simultaneously sends a timer updating message to the SMSC.
And then, the received N short messages MO are taken as a low priority group and sent to the SMSC.
Finally, according to the timer updating message, the time N of the timer is updated to M;
wherein M, N are integers of 1 or more, and M is 5N or more.
It should be noted that, when the sending amount of the short message MT is large, the reduction is mainly achieved by discarding the signaling in proportion according to the bearing capacity of the IP short message gateway. The higher the load of the IP short message gateway is, the more the discarded signaling is, and the user can not receive the short message MT at a later time.
Secondly, because the SMSC does not receive the response message of the IP short message gateway within the time T of the timer, the SMSC can send the message to the IP short message gateway again for secondary information delivery. Therefore, extra signaling overhead is brought to the IP short message gateway, and the load of the IP short message gateway continuously rises in a vicious circle, so that a larger signaling storm is brought to the network finally.
Therefore, the M short messages MT are sent to the ue as a high priority group. And the received N short messages MO are used as a low-priority group and sent to the SMSC. In addition, the IP short message gateway sends a timer updating message to the SMSC, the original timer time is N and is updated to the current timer time is M, the requirements M, N are integers which are more than or equal to 1, and M is more than or equal to 5N. This avoids a larger signalling storm due to message retransmission caused by timer timeout.
The third case corresponds to the user variance:
the user variance of the IP short message gateway is firstly determined.
When the user variance is larger than a preset user variance threshold value, the user to be moved on the IP short message gateway is moved to other IP short message gateways in the gateway pool group according to the moving proportion, wherein the moving proportion is the number of the user to be moved divided by the number of the registered users; the number of users to be migrated is equal to the number of registered users-the average number of registered users in the gateway pool group.
It can be understood that the user variance s of a plurality of IP short message gateways in the gateway pool group is used2To judge whether the number of registered users in the gateway pool is increased or whether the registered users are registered by multiple IP short message gateways in the gateway poolThe number of households increases.
Variance s2The smaller the size is, the higher the number of registered users of W IP short message gateways in the gateway pool is, which leads to the increase of the number of users and needs the capacity expansion of maintenance departments. Variance s2The larger the number of registered users representing individual IP short message gateways increases, and it is necessary to reduce the load by migrating users. Wherein the user variance s2The calculation is performed by the following formula (4):
Figure BDA0001775463060000101
x1、x2、x3……xWthe load values of W IP short message gateways in the gateway pool group at the current time point,
Figure BDA0001775463060000102
representing the average value of registered users of W IP short message gateways in a gateway pool, wherein W is an integer greater than or equal to 1;
counting the number of registered users of W IP short message gateways in the same gateway group at a time point, and if the number of registered users of the IP short message gateways deviates the maximum average value, moving the equipment user to other IP short message gateways according to a proportion; if the registered user number of the IP short message gateway is not the maximum deviation from the average value, other IP short message gateways in the gateway pool group are moved.
The fourth case corresponds to the alarm amount:
and carrying out fault maintenance on the IP short message gateway according to a preset alarm sequence.
It can be understood that this situation shows that the load increase of the IP short message gateway is closely related to the fault of the IP short message gateway, and the load is reduced by preferentially processing the fault, and the alarm level is selected to be the highest for processing.
The alarm processing sequence is emergency alarm > important alarm > general alarm > prompt alarm.
In an embodiment, after step S250 is executed, step S210 is returned to, and if a deviation value of the load value from the predicted load expected threshold is smaller than a preset threshold, the load of the IP short message gateway is considered to be normal at this time, and the system is stable; if the threshold value is larger than the preset threshold value, continuing to perform intervention operation according to the flow of the steps S210-S250. Repeating the above steps for 2-3 periods, the load of the IP short message gateway can be stabilized.
By the method of the embodiment of the invention, the deviation value of the load expected value of the IP short message gateway and the predicted load expected threshold value is used as the standard for measuring whether the IP short message gateway load is unbalanced. When the IP short message gateway has high load, the short message from the S-CSCF is dredged to the SMSC through other ways without passing through the IP short message gateway, so that the sending quantity of the short message MO is adjusted. By carrying out flow control on MT signaling data, the method not only can effectively relieve the load increase of the IP short message gateway, but also can avoid unnecessary signaling overhead and realize the adjustment of the receiving quantity of the short message MT. User variance s of multiple IP short message gateways in gateway pool group2The number of registered users of a single IP short message gateway in the gateway pool group is judged to be increased, or the number of registered users of a plurality of IP short message gateways in the gateway pool group is judged to be increased, so that the adjustment of the number of registered users is realized. And preferentially reducing the load by processing faults, and selecting the alarm with the highest level for processing.
The following describes in detail a processing apparatus for load imbalance of an IP short message gateway according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 5 is a schematic diagram illustrating a processing apparatus for load imbalance of an IP short message gateway according to an embodiment of the present invention.
As shown in fig. 5, the processing apparatus 500 includes: an acquisition module 510, a correlation coefficient determination module 520, a candidate factor determination module 530, a selection module 540, and a processing module 550.
The collecting module 510 is configured to collect a load value of each IP short message gateway in the gateway pool at the current time point, and determine a load expected value of each IP short message gateway according to the load value.
A determine correlation coefficient module 520, configured to determine a correlation coefficient for each factor causing load imbalance of the IP short message gateway when a deviation value of any load expected value from the predicted load expected threshold is greater than a preset threshold.
And a candidate factor determining module 530, configured to determine, when the absolute value of any correlation coefficient is greater than the preset correlation threshold, that the factor corresponding to the correlation coefficient greater than the preset correlation threshold is a candidate factor.
And a selecting module 540, configured to select, as an optimal factor, the candidate factor with the largest absolute value of the correlation coefficient from all the candidate factors.
And a processing module 550, configured to process the load imbalance of the IP short message gateway according to a processing policy corresponding to the optimal factor.
The device of the embodiment of the invention improves the accuracy of judging whether the IP short message gateway load is unbalanced by taking the deviation value of the load expected value of the IP short message gateway and the prediction threshold value as the standard for measuring whether the IP short message gateway load is unbalanced. Meanwhile, different processing schemes are provided for different factors, the load balancing capacity of the IP short message gateway is enhanced, the automatic adjustment capacity of the IP short message gateway in the face of burst impact is enhanced, and the optimized management and control of the IP short message gateway are realized. Therefore, the flexibility of the IP short message gateway is improved, and the customer satisfaction is enhanced.
In an embodiment, the correlation coefficient determining module 520 is specifically configured to obtain a sending amount of a short message MO sent from a serving call session control function S-CSCF to an IP short message gateway within a preset time period, where the preset time period is a time period before the current time point; and for
And determining a correlation coefficient of IP short message gateway load unbalance caused by the short message MO sending quantity according to the measured value and the load value of the short message MO sending quantity.
In an embodiment, the correlation coefficient determining module 520 is specifically configured to obtain a short message MT received amount sent from the S-CSCF to the IP short message gateway within a preset time period, where the preset time period is a time period before a current time point; and a correlation coefficient for determining the load unbalance of the IP short message gateway caused by the short message MT receiving quantity according to the measured value and the load value of the short message MT receiving quantity.
In an embodiment, the correlation coefficient determining module 520 is specifically configured to obtain the number of registered users of the IP short message gateway; and a correlation coefficient used for determining the IP short message gateway load unbalance caused by the number of the registered users according to the number of the registered users and the load value.
In an embodiment, the correlation coefficient determining module 520 is specifically configured to obtain an alarm amount sent by an IP short message gateway; and the correlation coefficient is used for determining the load unbalance of the IP short message gateway caused by the alarm amount according to the alarm amount and the load value.
In an embodiment, the processing module 550 is specifically configured to stop receiving the short message MO sent by the S-CSCF by the IP short message gateway, and send the short message MO sent by the S-CSCF by using the core network MME; and the short message MO is used for sending the short message MO sent by the S-CSCF according to the CS network short message flow.
In an embodiment, the processing module 550 is specifically configured to send the received M short messages MT to the user side as a high priority group by the IP short message gateway, and send a timer update message to the SMSC; and the SMSC is used for sending the received N short messages MO as a low priority group to the SMSC; updating the time N of the timer to M according to the timer updating message; wherein M, N are integers of 1 or more, and M is 5N or more.
In an embodiment, the processing module 550 is specifically configured to determine a user variance of the IP short message gateway;
when the user variance is larger than the preset user variance threshold, the user to be moved on the IP short message gateway is moved to other IP short message gateways in the gateway pool group according to the moving proportion,
wherein, the moving proportion is equal to the number of users to be moved divided by the number of registered users;
the number of users to be migrated is equal to the number of registered users-the average number of registered users in the gateway pool group.
In an embodiment, the processing module 550 is specifically configured to perform fault maintenance on the IP short message gateway according to a preset alarm sequence.
By the device provided by the embodiment of the invention, the deviation value of the load expected value of the IP short message gateway collected in real time and the predicted load expected threshold is used as a standard for measuring whether the IP short message gateway is unbalanced in load or not. When the IP short message gateway has high load, the short message from the S-CSCF is dredged to the SMSC through other ways without passing through the IP short message gateway, so that the sending quantity of the short message MO is adjusted.By carrying out flow control on MT signaling data, the method not only can effectively relieve the load increase of the IP short message gateway, but also can avoid unnecessary signaling overhead and realize the adjustment of the receiving quantity of the short message MT. User variance s of multiple IP short message gateways in gateway pool group2The number of registered users of a single IP short message gateway in the gateway pool group is judged to be increased, or the number of registered users of a plurality of IP short message gateways in the gateway pool group is judged to be increased, so that the adjustment of the number of registered users is realized. And preferentially reducing the load by processing faults, and selecting the alarm with the highest level for processing.
Other details of the apparatus for data synchronization according to the embodiment of the present invention are similar to the method according to the embodiment of the present invention described above with reference to fig. 1 to 5, and are not repeated herein.
Fig. 6 is a block diagram illustrating an exemplary hardware architecture of a computing device capable of implementing a method and apparatus for processing load imbalance of an IP sms message gateway according to an embodiment of the present invention.
As shown in fig. 6, computing device 600 includes an input device 601, an input interface 602, a central processor 603, a memory 604, an output interface 605, and an output device 606. The input interface 602, the central processing unit 603, the memory 604, and the output interface 605 are connected to each other via a bus 610, and the input device 601 and the output device 606 are connected to the bus 610 via the input interface 602 and the output interface 605, respectively, and further connected to other components of the computing device 600. Specifically, the input device 601 receives input information from the outside, and transmits the input information to the central processor 603 through the input interface 602; the central processor 603 processes input information based on computer-executable instructions stored in the memory 604 to generate output information, stores the output information temporarily or permanently in the memory 604, and then transmits the output information to the output device 606 through the output interface 605; output device 606 outputs output information to the exterior of computing device 600 for use by a user.
In one embodiment, computing device 600 shown in FIG. 6 may be implemented as a terminal device comprising: a memory and a processor; the memory is used for storing executable program codes; the processor is used for reading the executable program codes stored in the memory to execute the processing method of the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product or computer-readable storage medium. The computer program product or computer-readable storage medium includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (15)

1. A processing method for load unbalance of an IP short message gateway is characterized by comprising the following steps:
acquiring a load value of each IP short message gateway in a gateway pool group at the current time point, and determining a load expected value of each IP short message gateway according to the load value;
when the deviation value of any load expected value from the predicted load expected threshold value is greater than a preset threshold value, determining a correlation coefficient of each factor causing the load unbalance of the IP short message gateway;
when the absolute value of any correlation coefficient is larger than a preset correlation threshold, determining a factor corresponding to the correlation coefficient larger than the preset correlation threshold as an alternative factor;
selecting the candidate factor with the maximum absolute value of the correlation coefficient from all the candidate factors as an optimal factor;
processing the load unbalance of the IP short message gateway according to a processing strategy corresponding to the optimal factor;
when the optimal factor is the message MO sending quantity, short messages from the S-CSCF are dredged to the SMSC through other approaches without passing through an IP message gateway;
when the optimal factor is the receiving quantity of the short message MT, carrying out flow control on MT signaling data;
when the optimal factor is the number of registered users, the user variance of a plurality of IP short message gateways in the gateway pool is used for judging that the number of the registered users in the gateway pool is increased by a single or a plurality of IP short message gateways, so that the adjustment of the number of the registered users is realized;
and when the optimal factor is the alarm amount, preferentially processing the fault, and selecting the fault with the highest alarm level for processing.
2. The process of claim 1, wherein the factors comprise at least one of the following four: the sending quantity of the short message MO, the receiving quantity of the short message MT, the number of registered users and the alarm quantity.
3. The processing method of claim 1, wherein the determining the correlation coefficient for each factor causing the load imbalance of the IP sms message gateway comprises:
acquiring a short message MO transmission amount transmitted from a service call session control function S-CSCF to the IP short message gateway within a preset time period, wherein the preset time period is a time period before the current time point;
and determining the correlation coefficient of the IP short message gateway load unbalance caused by the short message MO sending quantity according to the measured value of the short message MO sending quantity and the load value.
4. The processing method of claim 1, wherein the determining the correlation coefficient for each factor causing the load imbalance of the IP sms message gateway comprises:
acquiring the receiving quantity of short messages MT sent from S-CSCF to the IP short message gateway in a preset time period, wherein the preset time period is the time period before the current time point;
and determining the correlation coefficient of the IP short message gateway load unbalance caused by the short message MT receiving quantity according to the measured value of the short message MT receiving quantity and the load value.
5. The processing method of claim 1, wherein the determining the correlation coefficient for each factor causing the load imbalance of the IP sms message gateway comprises:
acquiring the number of registered users of the IP short message gateway;
and determining the correlation coefficient of the IP short message gateway load unbalance caused by the number of the registered users according to the number of the registered users and the load value.
6. The processing method of claim 1, wherein the determining the correlation coefficient for each factor causing the load imbalance of the IP sms message gateway comprises:
acquiring the alarm amount sent by the IP short message gateway;
and determining the correlation coefficient of the IP short message gateway load unbalance caused by the alarm amount according to the alarm amount and the load value.
7. The processing method of claim 1, wherein when the optimal factor is MO sending volume, the processing the load imbalance of the IP sms message gateway according to the processing policy corresponding to the optimal factor comprises:
the IP short message gateway stops receiving the short message MO sent by the S-CSCF and sends the short message MO sent by the S-CSCF by utilizing a core network MME;
and sending the short message MO sent by the S-CSCF according to the CS network short message flow.
8. The processing method according to claim 1, wherein when the optimal factor is a received amount of the short message MT, the processing the load imbalance of the IP short message gateway according to the processing policy corresponding to the optimal factor comprises:
the IP short message gateway takes the received M short messages MT as a high priority group, sends the high priority group to a user side, and simultaneously sends a timer updating message to an SMSC;
taking the received N short messages MO as a low-priority group and sending the low-priority group to the SMSC;
updating the time N of the timer to M according to the timer updating message;
wherein M, N are integers of 1 or more, and M is 5N or more.
9. The processing method of claim 1, wherein when the optimal factor is the number of registered users, the processing the load imbalance of the IP sms gateway according to the processing policy corresponding to the optimal factor comprises:
determining the user variance of the IP short message gateway;
when the user variance is larger than a preset user variance threshold value, the user to be moved on the IP short message gateway is moved to other IP short message gateways in the gateway pool group according to the moving proportion,
wherein, the moving proportion is equal to the number of users to be moved divided by the number of registered users;
and the number of the users to be moved is equal to the number of the registered users-the average number of the registered users in the gateway pool group.
10. The processing method according to claim 1, wherein when the optimal factor is an alarm amount, the processing the load imbalance of the IP short message gateway according to the processing policy corresponding to the optimal factor comprises:
and carrying out fault maintenance on the IP short message gateway according to a preset alarm sequence.
11. A processing device for load imbalance of an IP short message gateway is characterized in that the processing device comprises: the device comprises an acquisition module, a correlation coefficient determining module, an alternative factor determining module, a selecting module and a processing module;
the acquisition module is used for acquiring the load value of each IP short message gateway in the gateway pool group at the current time point and determining the load expected value of each IP short message gateway according to the load value;
the correlation coefficient determining module is used for determining a correlation coefficient of the IP short message gateway load unbalance caused by each factor when the deviation value of any load expected value from the predicted load expected threshold value is greater than a preset threshold value;
the candidate factor determining module is configured to determine, when the absolute value of any one of the correlation coefficients is greater than a preset correlation threshold, a factor corresponding to the correlation coefficient greater than the preset correlation threshold as a candidate factor;
the selecting module is used for selecting the candidate factor with the maximum absolute value of the correlation coefficient from all the candidate factors as the optimal factor;
the processing module is used for processing the load unbalance of the IP short message gateway according to the processing strategy corresponding to the optimal factor;
the processing module is specifically used for leading the short message from the S-CSCF to the SMSC through other ways without passing through an IP short message gateway when the optimal factor is the short message MO sending quantity; when the optimal factor is the receiving quantity of the short message MT, carrying out flow control on MT signaling data; when the optimal factor is the number of registered users, the user variance of a plurality of IP short message gateways in the gateway pool is used for judging that the number of the registered users in the gateway pool is increased by a single or a plurality of IP short message gateways, so that the adjustment of the number of the registered users is realized; and when the optimal factor is the alarm amount, preferentially processing the fault, and selecting the fault with the highest alarm level for processing.
12. The processing apparatus according to claim 11, wherein the correlation coefficient determining module is specifically configured to obtain a sending amount of the short message MO sent from a serving call session control function S-CSCF to the IP short message gateway within a preset time period, where the preset time period is a time period before the current time point; and for
And determining the correlation coefficient of the IP short message gateway load unbalance caused by the short message MO sending quantity according to the measured value of the short message MO sending quantity and the load value.
13. The processing apparatus according to claim 11, wherein the correlation coefficient determining module is specifically configured to obtain a short message MT received amount sent from the S-CSCF to the IP short message gateway within a preset time period, where the preset time period is a time period before the current time point; and for
And determining the correlation coefficient of the IP short message gateway load unbalance caused by the short message MT receiving quantity according to the measured value of the short message MT receiving quantity and the load value.
14. A terminal device, comprising:
a memory, a processor, a communication interface, and a bus;
the memory, the processor and the communication interface are connected through the bus and complete mutual communication;
the memory is used for storing program codes;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the processing method according to any one of claims 1 to 10.
15. A computer storage medium comprising instructions which, when executed on a computer, cause the computer to perform a processing method according to any one of claims 1 to 10.
CN201810968058.3A 2018-08-23 2018-08-23 Processing method, device, equipment and medium for IP short message gateway load unbalance Active CN110858956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810968058.3A CN110858956B (en) 2018-08-23 2018-08-23 Processing method, device, equipment and medium for IP short message gateway load unbalance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810968058.3A CN110858956B (en) 2018-08-23 2018-08-23 Processing method, device, equipment and medium for IP short message gateway load unbalance

Publications (2)

Publication Number Publication Date
CN110858956A CN110858956A (en) 2020-03-03
CN110858956B true CN110858956B (en) 2022-04-01

Family

ID=69635190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810968058.3A Active CN110858956B (en) 2018-08-23 2018-08-23 Processing method, device, equipment and medium for IP short message gateway load unbalance

Country Status (1)

Country Link
CN (1) CN110858956B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333250B (en) * 2020-10-26 2022-03-01 天津市城市规划设计研究总院有限公司 Response method and system for Internet of things data packet in intelligent building
CN114615698B (en) * 2020-12-09 2023-07-18 中国移动通信集团四川有限公司 IBCF interworking gateway load adjustment method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925123A (en) * 2009-06-12 2010-12-22 中国移动通信集团设计院有限公司 Method, system and related functional entities for realizing load balancing in pool area
CN106900009A (en) * 2015-12-17 2017-06-27 中国移动通信集团四川有限公司 The method and device of load balancing
CN108200607A (en) * 2016-12-08 2018-06-22 中国移动通信集团四川有限公司 Load equalization method, device and the system of S-CSCF ponds group
CN108235375A (en) * 2016-12-21 2018-06-29 中国移动通信集团公司 The method and apparatus that load balancing is configured in a kind of MSC pool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9510254B2 (en) * 2014-08-06 2016-11-29 Telefonaktiebolaget L M Ericsson (Publ) MSC pool mobile traffic distribution

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925123A (en) * 2009-06-12 2010-12-22 中国移动通信集团设计院有限公司 Method, system and related functional entities for realizing load balancing in pool area
CN106900009A (en) * 2015-12-17 2017-06-27 中国移动通信集团四川有限公司 The method and device of load balancing
CN108200607A (en) * 2016-12-08 2018-06-22 中国移动通信集团四川有限公司 Load equalization method, device and the system of S-CSCF ponds group
CN108235375A (en) * 2016-12-21 2018-06-29 中国移动通信集团公司 The method and apparatus that load balancing is configured in a kind of MSC pool

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SMS云网关负载感知弹性伸缩控制算法;谈龙兵;《计算机系统应用》;20170228;全文 *

Also Published As

Publication number Publication date
CN110858956A (en) 2020-03-03

Similar Documents

Publication Publication Date Title
US20210144632A1 (en) User Plane System Selection Based on Latency
RU2359282C2 (en) System and method providing service for determining location for providing request service of initiated determination of location
US11716252B2 (en) Methods, systems, and computer readable media for generating network function (NF) set load information aware NF discovery response
US11252246B1 (en) Event management mechanism in 5G systems and methods
CN109995836B (en) Cache decision method and device
CN110858956B (en) Processing method, device, equipment and medium for IP short message gateway load unbalance
US20230362604A1 (en) Charging function fallback
CN112104568B (en) Data transmission control method and gateway
US20160269297A1 (en) Scaling the LTE Control Plane for Future Mobile Access
CN110784894A (en) LTE system load balancing method and device
WO2022001555A1 (en) Wireless resource management method, storage medium, and electronic device
KR101924628B1 (en) Apparatus and Method for controlling traffic offloading
WO2020174482A1 (en) Network slice selection in a wireless telecommunications network
CN111510958B (en) Message access load balancing method and system
US11997702B2 (en) Systems and methods for dynamic uplink grant policy based on medium access control (“MAC”) protocol data unit (“PDU”) padding
WO2016161647A1 (en) Base station cell access method and terminal, and base station
US11076016B1 (en) Systems and methods for caching content in a wireless communication network
US10924913B2 (en) Fault handling for location services requests
EP3364694A1 (en) Network element selection method and network element selector
CN109699090B (en) Method and device for adjusting wireless network connection
JP5878066B2 (en) Wireless terminal
US11979517B2 (en) Methods and nodes for maintaining a communication session for a subscriber
US11616711B1 (en) Systems and methods for enabling a network repository function to return a non-empty discovery response
US20230379809A1 (en) Methods, systems, and computer readable media for reporting a reserved load to network functions in a communications network
CN114006874B (en) Resource block scheduling method, device, storage medium and base station

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant