CN113676415B - Network load balancing method and device and electronic equipment - Google Patents

Network load balancing method and device and electronic equipment Download PDF

Info

Publication number
CN113676415B
CN113676415B CN202010413686.2A CN202010413686A CN113676415B CN 113676415 B CN113676415 B CN 113676415B CN 202010413686 A CN202010413686 A CN 202010413686A CN 113676415 B CN113676415 B CN 113676415B
Authority
CN
China
Prior art keywords
migrated
network
network element
users
value
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
CN202010413686.2A
Other languages
Chinese (zh)
Other versions
CN113676415A (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 Henan Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Henan 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 Henan Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010413686.2A priority Critical patent/CN113676415B/en
Publication of CN113676415A publication Critical patent/CN113676415A/en
Application granted granted Critical
Publication of CN113676415B publication Critical patent/CN113676415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

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

Abstract

The invention discloses a network load balancing method and device and an electronic product, and belongs to the technical field of communication. The load balancing method comprises the following steps: when the load migration is determined to be needed in the network, screening the network elements to be migrated and the network elements to be migrated based on a first preset rule; and aiming at various network systems, calculating the number of users in the network elements to be migrated and the average number of users of each network element in the network element pool, and determining the number of users to be migrated in various network systems. In the invention, the number of users needing to be migrated is calculated according to the user difference in different network systems, so that the load balance degree of a network element pool and the peak load of peripheral equipment of an SAE-GW network element can be simultaneously ensured to be lower than the corresponding early warning threshold after load migration is carried out, and the safety and stable operation of the whole network are facilitated.

Description

Network load balancing method and device and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for balancing network load, and an electronic device.
Background
Currently, in order to realize load balancing in a network, the number of users to be migrated and the direction to be migrated are generally determined through manual rough estimation so as to carry out load migration. Because the traffic model difference of users with different network systems on the SAE-GW network element is not considered, the influence degree of the users to be migrated under different network systems on the SAE-GW network element load cannot be accurately estimated, and whether the peak load of upstream and downstream equipment in butt joint with the SAE-GW network element after the user is migrated reaches an early warning threshold is not estimated at the same time, so that the load balance degree of a network element pool and the peak load of peripheral equipment of the SAE-GW network element are difficult to be simultaneously ensured to be lower than the corresponding early warning threshold after the load migration is carried out in the network at present, and the safety and the stable operation of the whole network are not facilitated.
Disclosure of Invention
In order to solve the problem that network load balancing is difficult to achieve under different network systems, the invention provides a method, a device and electronic equipment for network load balancing, so that loads in a network can enter a balanced state quickly and effectively.
In a first aspect, the present invention provides a method for network load balancing, including: when the load migration is determined to be needed in the network, screening the network elements to be migrated and the network elements to be migrated based on a first preset rule; and aiming at various network systems, calculating the number of users in the network elements to be migrated and the average number of users of each network element in a network element pool, and determining the number of users to be migrated in the various network systems.
In a second aspect, the present invention provides an apparatus for network load balancing, including: the target network element determining module is used for screening the network element to be migrated and the network element to be migrated based on a first preset rule when the load migration is determined to be carried out in the network; the user number to be migrated determining module is used for calculating the number of users in the network elements to be migrated and the average number of users of each network element in the network element pool aiming at various network systems, and determining the number of users to be migrated in the various network systems.
In a third aspect, the present invention provides an electronic device comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method as described above.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method as described above.
When the network load balancing method provided by the invention determines that load migration is required, the number of users needing migration is calculated for each network system respectively, and then the number of users to be migrated in each network system is determined. Compared with the prior art, the method and the system respectively calculate the number of users needing to be migrated according to the user difference in different network systems, so that the load balancing degree of a network element pool and the peak load of peripheral equipment of an SAE-GW network element can be simultaneously ensured to be lower than corresponding early warning thresholds after load migration is carried out, and the safety and stable operation of the whole network are facilitated.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
Fig. 1 is a schematic flow chart of a network load balancing method according to a first embodiment of the present invention;
FIG. 2 is a diagram of conditions involved in determining that load migration is required in the network of FIG. 1;
fig. 3 is a schematic flow chart of another network load balancing method according to the first embodiment of the present invention;
fig. 4 is a schematic block diagram of a network load balancing device according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments of the present invention and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
English abbreviations related to the examples of the present invention are noted below.
Non-independent Networking (NSA);
a Serving GateWay (SGW);
a PDN GateWay (PGW);
packet data protocol (Packet Data Protocol, PDP);
Domain name system (Domain Name System, DNS).
The SAE-GW network element is a device configured by a Serving GateWay (SGW) and a PDN GateWay (PGW).
The user plane interface (S1-U) refers to the interface connected between the eNodeB and the S-GW.
Example 1
Fig. 1 is a flowchart of a network load balancing method according to an exemplary embodiment of the present invention, where the network load balancing method includes the following steps.
And S104, when the load migration is required in the network, screening the network elements to be migrated and the network elements to be migrated based on a first preset rule.
S106, calculating the number of users in the network elements to be migrated and the average number of users of each network element in the network element pool aiming at various network systems, and determining the number of users to be migrated in various network systems.
Because different network systems have different single-user flow models, the same number of users in different network systems have different degrees of influence on the load of each network element in the network element pool. In the embodiment of the invention, the number of users needing to be migrated is calculated according to the user difference in different network systems, so that the load balancing degree of a network element pool and the peak load of peripheral equipment of an SAE-GW network element can be simultaneously ensured to be lower than the corresponding early warning threshold after load migration is carried out, and the safety and stable operation of the whole network are facilitated. In the embodiment of the present invention, the network system includes at least one of the following networks: 2G network, 3G network, 4G network, 5G network. Of course, the embodiment of the invention provides a network load balancing method, in which only a 2G network, a 4G network and a 5G network can be assumed to exist in the device.
In the embodiment of the invention, the number of users of the 2G network in the network element pool is measured by the number of 2G activated PDPs, the number of users of the 4G network in the network element pool is measured by the number of 4G activated bearers, and the number of users of the 5G network in the network element pool is measured by the number of 5G activated bearers.
In addition, depending on the degree of correlation with the flow rate, the kinds of network systems may include: a high flow rate system having a large flow rate dependency, and a low flow rate system having a small flow rate dependency. The 2G network has little influence on the flow rate and can be called as a low-flow-rate system; the 4G and 5G have a large influence on the flow rate, and may be referred to as a high flow rate system.
In S104, as shown in fig. 2, when it is determined that load migration is required in the network, the method includes at least one of the following: when the load balance degree in the network element pool exceeds the early warning threshold value; when the peak value of the bandwidth utilization rate of the interface exceeds the early warning threshold value; and when the bandwidth utilization peak value of the firewall exceeds the early warning threshold value.
The embodiment of the invention not only considers the equilibrium degree of the network elements in the network element pool, but also evaluates whether the peak load of the upstream and downstream devices in butt joint with the network elements in the network element pool reaches the early warning threshold, further ensures that the peak load of the peripheral devices of the network elements is lower than the early warning threshold after the network element equilibrium is ensured, ensures the safe and stable operation of the whole network and improves the user experience. The peripheral equipment or upstream and downstream equipment of the network element comprises various interfaces and firewalls, so that in the embodiment of the invention, when the peak value of the bandwidth utilization rate of the interfaces exceeds a first early warning threshold value and when the peak value of the bandwidth utilization rate of the firewall exceeds a second early warning threshold value, the load in the network is required to be migrated.
Wherein, the network element pool can be an SAE-GW pool, and the load balance degree can be obtained according to the following formula:wherein S is i Active capacity utilization = (2G active PDP number +4G/5G active bearer number) of a certain SAE-GW network element/bearer license total number of device = 100%,>for average active capacity utilization of all SAE-GW network elements in the same POOL = the (2G active PDP number +4G/5G active bearer number) of the POOL/the total number of bearer credentials of the POOL is 100%, N is the number of SAE-GW network elements in the POOL. The early warning threshold value can be set manually according to actual requirements, such as 5% or 10%. The balance degree is the standard deviation of the capacity utilization rate of each device in the pool, and the lower the balance degree is, the closer the capacity utilization rate of each device in the pool is, and the disaster recovery safety of the pool is facilitated.
The interfaces in the interface bandwidth utilization peak include an upstream interface of the SAE-GW network element, such as the S1-U interface, and a downstream interface of the network element, such as the SGi interface. The firewall is the SGi firewall. The first early warning threshold value and the second early warning threshold value can be the same or different, and can be set according to actual requirements, for example, the first early warning threshold value is 45% or 40%, and the second early warning threshold value is 80% or 75%. Specifically, if the disaster recovery scheme of the interface and the firewall adopts a load sharing mode, the early warning threshold can be set to be 45%; if the disaster recovery scheme of the interface and the firewall adopts a main and standby mode, the early warning threshold can be set to 80%.
In S104, the network element to be migrated and the network element to be migrated are screened based on a first preset rule, including at least one of the following cases: taking a network element with a load value higher than the average load value of each network element in the network element pool by a first value as a network element to be migrated, and taking a network element with a load value lower than the average load value of each network element in the network element pool by the first value as a network element to be migrated; taking a network element with the interface bandwidth utilization peak value exceeding a first early warning threshold value as a network element to be migrated, and taking a network element with the interface bandwidth utilization peak value lower than the first early warning threshold value as the network element to be migrated; and taking the network element with the firewall bandwidth utilization peak value exceeding the second early warning threshold value as the network element to be migrated, and taking the network element with the firewall bandwidth utilization peak value lower than the second early warning threshold value as the network element to be migrated.
For example, the first value may be an absolute value or a proportional value, where the first value is generally greater than or equal to the early warning threshold, and of course, the special case may be less than the early warning threshold. Correspondingly, a network element with a load value higher than the average load value of each network element in the network element pool by a first value is used as the network element to be migrated, and a network element with a load value lower than the average load value of each network element in the network element pool by the first value is used as the network element to be migrated. If the first value is 5%, screening out network elements with load values which deviate from the average load value of each network element by more than 5% from the network element pool as load adjustment equipment required, and defining the migration direction as a network element with load values which are 5% higher than the average load value of the network element pool and lower than the average load value of the network element pool.
In S106, for each network system, determining the number of users to be migrated in each network system includes: and determining the number of users to be migrated in various network systems based on the difference between the number of users in the network elements to be migrated and the average number of users of each network element in the network element pool aiming at various network systems.
Specifically, S106 further includes S1061, S1062, or S1063.
S1061: when the load balance degree in the network element pool exceeds the early warning threshold, determining the number of users to be migrated in various network modes based on the difference between the number of users to be migrated in the network element and the average number of users of each network element in the network element pool.
And S1062, when the peak value of the bandwidth utilization ratio of the interface exceeds a first early warning threshold value, determining the number of users to be migrated in the high-flow-rate system based on the difference between the number of users to be migrated in the network element and the average number of users of each network element in the network element pool.
And S1063, when the bandwidth utilization peak value of the firewall exceeds a second early warning threshold value, determining the number of users to be migrated in the high-flow-rate system based on the difference between the number of users to be migrated in the network element and the average number of users of each network element in the network element pool.
In S1061, taking an example that the load balance in the network element pool exceeds the early warning threshold, assume a network The migrating network element meeting the conditions in the element pool is SAEGW4, the migrating network element is SAEGW1, the number of 2G/4G/5G users on the SAEGW4 network element is A2, A4 and A5 respectively, the average number of 2G/4G/5G users of each network element in the network element pool is B2, B4 and B5 respectively, and the number of 2G activated PDPs to be migrated is delta 2 The number of 4G active bearers to be migrated is denoted by delta 4 The number of 5G active bearers to migrate is denoted by delta 5 And (3) representing. Wherein delta 2 Equal to the difference between A2 and B2, delta 4 Equal to the difference between A4 and B4, delta 5 Equal to the difference between A5 and B5, thereby determining the number of users to be migrated in various network systems, and the number of users to be migrated D=delta in all network systems in the network element pool 245
In S1062, taking the case that the peak value of the bandwidth utilization ratio of the interface exceeds the first early warning threshold value, since the bandwidth utilization ratio is related to the flow rate of the user, and the influence of the 2G network on the flow rate is small, the user to migrate and use the 2G network is not required to be considered, and only the number of active bearers of 4G and 5G can be considered. The method for determining the number of users to be migrated in the high flow rate system may refer to the method in S1061, so as to obtain the number δ of 4G active bearers to be migrated 4 And the 5G active bearer number delta to be migrated 5 User D=delta to be migrated of all network systems in the network element pool 45
In S1063, taking the firewall bandwidth utilization peak value exceeding the second early warning threshold value as an example, like S1062, only considering the number of users to be migrated in the high flow rate system, the 4G active bearer number δ to be migrated 4 And the 5G active bearer number delta to be migrated 5 User D=delta to be migrated of all network systems in the network element pool 45
Wherein, further comprising S102 before S104: and calculating the load balance degree, the interface bandwidth utilization peak value and the firewall bandwidth utilization peak value in the current network element pool (such as an SAE-GW pool) of the current network. In other words, in the network element pool, a corresponding acquisition module should be set to acquire the data.
As shown in fig. 3, after S106, S108 is further included: calculating a predicted value: based on the number of users to be migrated, the network elements to be migrated and the network elements to be migrated, calculating the following three predicted values: load balance degree pre-estimated value in network element pool; an interface bandwidth utilization forecast value; firewall bandwidth utilization predictions. Wherein, the load balance degree predicted value in the network element pool refers to: if the current number of users to be migrated and the migration direction are used for carrying out migration operation, the load balance degree which can be achieved in the network element pool is obtained; the interface bandwidth utilization pre-estimation value refers to: if the current number of users to be migrated and the migration direction are used for carrying out migration operation, the available interface bandwidth utilization rate in the network element pool is achieved; the firewall bandwidth utilization pre-estimation value refers to: and if the firewall bandwidth utilization rate which can be achieved in the network element pool after the migration operation is carried out according to the current number of users to be migrated and the migration direction.
In S108, in order to evaluate and calculate the influence degree of the user migration according to the number of users to be migrated on the load balance, the peak value of the bandwidth utilization of the interface, or the peak value of the bandwidth utilization of the firewall, it is necessary to determine the single-user traffic model under various network systems, that is, the average traffic model when the single user is busy under various network systems. At present, 2G traffic, 4G traffic, 5G traffic, PDP number, 4G &5G total active bearer number on SAE-GW network element are supported on network management OMC, and detailed statistics of 4G attached user number and 5G attached user number are provided on MME, so the embodiment of the invention can calculate the statistics of 4G active bearer number and 5G active bearer number on SAE-GW network element based on the following two formulas respectively:
4G active bearer number = 4G attached user number/(4G attached user number +5G attached user number) ×4G &5G total active bearer number;
number of 5G active bearers = number of 5G attached users/(number of 4G attached users + number of 5G attached users) ×4G &5G total number of active bearers.
And calculates the average flow rate (i.e., single-user flow model) of 2G/4G/5G single-user busy hours based on the following formula: average flow rate of a single user of a network system in busy hours=total flow rate/corresponding time of the network system user/total number of users corresponding to the network system in a busy period.
For example, if the number of 2G PDPs of a network element is 1.6 ten thousand, the number of 4G active bearers is 36 ten thousand, the number of 5G active bearers is 0.32 ten thousand, the 2G traffic in the busy period is 10gb, the 4G traffic is 11TB, and the 5G traffic is 0.66TB, the following can be calculated according to the formula:
average flow rate when 2G single user is busy=10×1024×1024×8/3600/16000 kbps=1.46 kbps;
average flow rate when 4G single user is busy = 11 x 1024 x 8/3600/360000 kbps=73 kbps;
average flow rate when 5G single user is busy = 0.66 x 1024 x 8/3600/3200 kbps=492 kbps.
Therefore, the average flow rate of the single user busy hour under different network systems is obtained, and the single user flow model of the different network systems is obtained based on the calculation.
Because the user number is to be migrated, the adjusted load balance pre-estimation value can be directly based on the 2G/4G/5G user number of each SAE-GW network element in the pool after the user is to be migrated according to the aboveAnd (5) calculating to obtain the product.
The estimated value of the interface bandwidth utilization and the estimated value of the firewall bandwidth utilization need to be estimated based on the average flow rate of 2G/4G/5G single-user busy hours, for example, before user migration adjustment, the S1-U interface bandwidth utilization of a network element SAEGW1 is 40%, the bandwidth is 100Gbps, the firewall FW1 bandwidth utilization of SAEGW1 docking is 38%, the bandwidth is 100Gbps, if SAEGW1 migrates into 5 ten thousand 4G active bearers and 1 ten thousand 5G active bearers (the average flow rate of 4G single-user busy hours and the average flow rate of 5G single-user busy hours are 73kbps and 492kbps respectively), the estimated value of the interface bandwidth utilization is shown as The firewall bandwidth utilization prediction value is shown as +.>The following are respectively: SAEGW 1-> SAEGW1 docked FW1
The direction to be migrated in the embodiment of the invention refers to: and migrating the load from the network element to be migrated to the direction of the network element to be migrated.
S110, S112 or S114 are also included after S108.
S110: judging whether the condition that the number of users to be migrated and the direction to be migrated are not required to be continuously adjusted is met in the network element pool based on the pre-estimated value; if not, the process proceeds to S112, and if yes, the process proceeds to S114.
The condition that the number of users to be migrated and the direction to be migrated need not to be continuously adjusted in the network element pool is met includes: the load balance degree predicted value in the network element pool is lower than the early warning threshold value, the interface bandwidth utilization ratio predicted value is lower than the first early warning threshold value, and the firewall bandwidth utilization ratio predicted value is lower than the second early warning threshold value. The three conditions are satisfied, namely, the condition that the number of users to be migrated and the direction to be migrated do not need to be continuously adjusted is satisfied.
S112: and (5) recalculating the number of users to be migrated and the direction to be migrated in each network system based on a second preset rule, and returning to the step of calculating the predicted value, namely returning to the step S108.
And S112, recalculating the number of users to be migrated and the direction to be migrated in each network system based on a second preset rule, and recalculating and evaluating whether the number of users to be migrated and the direction to be migrated meet the requirement of not continuously adjusting the number of users to be migrated and the direction to be migrated by combining the single user flow model of 2G/4G/5G. The direction to be migrated in each network system after recalculation in S112 may be partially the same as, partially different from, or completely different from the direction to be migrated screened in S104. Specifically, S112 includes at least one of the following three cases S1121, S1122, and S1123.
S1121: when the load balance degree predicted value of the network element pool exceeds the early warning threshold value, the number of users to be migrated and the direction to be migrated in the high-flow-rate system are recalculated. Since the problem that the load balance of the network element pool exceeds the early warning threshold has been solved in S1061, it is considered that the occurrence of the load balance of the network element pool exceeding the early warning threshold again is caused by S1062 and S1063. Because only the number of users to be migrated in the high-flow system is considered in S1062 and S1063, it is considered that the load balancing degree predicted value of the network element pool exceeds the early warning threshold value due to the unsuitable number of users to be migrated in the high-flow system. Therefore, only the number of users to be migrated in the high flow rate system and the direction of migration need to be recalculated, and the number of users to be migrated in the low flow rate system, in other words, the number of users to be migrated in 4G and 5G need to be recalculated, and the number of users to be migrated in 2G need not to be recalculated.
Specifically, the determination of the direction to be migrated may refer to the first preset rule, or may refer to other preset rules as required. Based on the single-user flow model under various network systems, the average flow rate of the busy hour of the 5G single user is 5-10 times of the average flow rate of the busy hour of the 4G single user, so that the number of 5G users can be increased more, the number of 4G users can be reduced, the sum of the number of users to be migrated in the high-flow-rate system in the network can be reduced, and the load balance degree of a network element pool can be reduced.
For example, the number of users increased may be set to a fixed step value, or a fixed ratio value, to the delta 4 And delta 5 The number of users is adjusted based on the above. For example, the current 4G active bearer number is delta 4 The current 5G active bearer number is delta 5 Setting the step value as X, and calculating the updated 4G activation bearer number delta according to the step value 4 Namely, the number of users to be migrated of the network system 4G after recalculation, and the 5G activation bearing number updated according to the step length value is delta 5 The number of users to be migrated of the network system, namely 5G after recalculation. The value of X may be set according to practical needs, for example, 50, 80 or 100. The step value may also be set to a fixed proportional value, such as 10%. And then, based on the recalculated and adjusted number of users to be migrated, whether the load balance degree is lower than an early warning threshold value is evaluated by combining the single user flow model of 2G/4G/5G.
S1122: when the interface bandwidth utilization ratio predicted value is higher than the first early warning threshold value, two cases are divided: (1) If the interface of the network element is to be migratedIf the bandwidth utilization ratio predicted value is higher than the first early warning threshold value, increasing the number of users to be migrated in a high-flow-rate mode and reducing the number of users to be migrated in a low-flow-rate mode under the condition that the sum of the number of users to be migrated in all network modes is unchanged; (2) If the interface bandwidth utilization ratio predicted value of the network element to be migrated is higher than the first early warning threshold value, the number of users to be migrated in a high-flow-rate mode is reduced and the number of users to be migrated in a low-flow-rate mode is increased under the condition that the sum of the number of users to be migrated in all network modes is unchanged. Specifically, taking the case of (1) as an example, the number of users increased can be set to a fixed step value, or a fixed ratio value, to be at δ 4 And delta 5 The number of users to be newly increased or the number of users to be reduced may be set to be the same as the number of users to be newly increased or the same fixed ratio value. For example, the current 4G active bearer number is delta 4 And the current 5G active bearer number is delta 5 The current number of 2G active PDPs is delta 2 Setting the step value to X, in order to keep the total number to be migrated unchanged, the number of 4G active bearers and the number of 5G active bearers are respectively increased by one half of X (i.e. the number of users to be migrated of 4G and 5G are respectively increased by one half of X), the number of 2G active PDPs is reduced by X (i.e. the number of users to be migrated of 2G is reduced by X), and the updated number of 4G active bearers is delta 4 And one half of the sum of X, the updated 5G activation bearer number is delta 5 And one-half of X, the updated number of 2G activated PDPs is delta 2 And X. In addition, the number of users that are increased or the number of users that are decreased may be set to a fixed ratio value, and will not be described here. And then updating the number of users to be migrated in each high-flow-rate system based on the number of users increased in the high-flow-rate system, updating the number of users to be migrated in the low-flow-rate system based on the number of users reduced in the low-flow-rate system, and evaluating whether the estimated value of the bandwidth utilization ratio of the interface is lower than a first early warning threshold value or not by combining the single-user flow model of 2G/4G/5G, namely returning to S108.
S1123: when the firewall bandwidth utilization predicted value is higher than the second early warning threshold value, two cases are divided: (1) If the firewall bandwidth utilization ratio estimated value of the network element to be migrated is higher than the second early warning threshold value, increasing the number of users to be migrated in a high-flow-rate mode and reducing the number of users to be migrated in a low-flow-rate mode under the condition that the sum of the number of users to be migrated in all network modes is unchanged; (2) If the firewall bandwidth utilization ratio predicted value of the network element to be migrated is higher than the second early warning threshold value, reducing the number of users to be migrated in a high-flow-rate mode and increasing the number of users to be migrated in a low-flow-rate mode under the condition that the sum of the number of users to be migrated in all network modes is unchanged. Specifically, the manner of adjusting the user number duty ratio may refer to S1122, which is not described herein. Thereafter, for example, in the case of (1), the number of users to be migrated in each high-flow-rate system is updated based on the number of users increased in the high-flow-rate system, the number of users to be migrated in the low-flow-rate system is updated based on the number of users decreased in the low-flow-rate system, and in combination with the single-user flow model of 2G/4G/5G, whether the firewall bandwidth utilization pre-estimated value is lower than the second pre-warning threshold value is evaluated, that is, the process returns to S108.
S114: if yes, load migration is carried out based on the number of users to be migrated and the direction to be migrated of each network system. Thus, load balancing adjustment is completed after load migration. After the load balancing adjustment is completed, the weight coefficient sent to different network elements on the EPC DNS equipment is modified according to the user number ratio of each network element in the network element pool under balancing, so that the load in the network element pool is ensured to be automatically distributed to the corresponding network element according to the weight in future.
In the embodiment of the invention, the load is for a network, the network comprises network elements in a network element pool, interfaces and firewalls related to upstream and downstream of the network elements, and the load is for the network elements in the network element pool.
Example two
The above method for balancing load in a network according to the embodiment of the present invention is based on the same concept, and the embodiment of the present invention further provides a device for balancing load in a network, as shown in fig. 4.
The network load balancing apparatus 400 includes: a target network element determining module 401 and a user number to be migrated determining module 402. Wherein: the target network element determining module 401 is configured to screen a network element to be migrated and a network element to be migrated based on a first preset rule when it is determined that load migration is required in the network; the user number to be migrated determining module 402 is configured to calculate, for each network system, the number of users in the network element to be migrated, and an average number of users of each network element in the network element pool, and determine the number of users to be migrated in each network system.
Optionally, as an embodiment, when it is determined that load migration is required in the network, the method includes at least one of the following:
when the load balance degree in the network element pool exceeds the early warning threshold value;
when the peak value of the bandwidth utilization rate of the interface exceeds a first early warning threshold value;
and when the bandwidth utilization peak value of the firewall exceeds a second early warning threshold value.
Optionally, the screening the network element to be migrated and the network element to be migrated based on the first preset rule includes at least one of the following:
taking a network element with a load value higher than the average load value of each network element in the network element pool by a first value as a network element to be migrated, and taking a network element with a load value lower than the average load value of each network element in the network element pool by the first value as a network element to be migrated;
taking a network element with the interface bandwidth utilization peak value exceeding a first early warning threshold value as a network element to be migrated, and taking a network element with the interface bandwidth utilization peak value lower than the first early warning threshold value as the network element to be migrated;
and taking the network element with the firewall bandwidth utilization peak value exceeding the second early warning threshold value as the network element to be migrated, and taking the network element with the firewall bandwidth utilization peak value lower than the second early warning threshold value as the network element to be migrated.
Optionally, the network system includes at least one of the following networks: 2G network, 3G network, 4G network, 5G network.
Optionally, after determining the number of users to be migrated in the various network systems, the method further includes:
calculating a predicted value: based on the number of users to be migrated, the network elements to be migrated and the network elements to be migrated, calculating the following three pre-estimated values: load balance degree pre-estimated value in network element pool; an interface bandwidth utilization forecast value; a firewall bandwidth utilization forecast value;
judging whether conditions of the number of users to be migrated and the direction to be migrated are met or not in the network element pool based on the preset value; if so, carrying out load migration based on the number of users to be migrated and the direction to be migrated of each network system, wherein the direction to be migrated refers to the direction from the network element to be migrated to the network element to be migrated.
Optionally, the determining, based on the pre-estimated value, whether the network element pool meets the condition that the number of users to be migrated and the direction to be migrated need not to be continuously adjusted includes: if not, based on a second preset rule, recalculating the number of users to be migrated and the direction to be migrated in various network systems, and returning to the step of calculating the estimated value.
Optionally, the meeting the condition that the user number to be migrated and the direction to be migrated need not to be continuously adjusted in the network element pool includes: the load balance degree predicted value in the network element pool is lower than an early warning threshold value, the interface bandwidth utilization ratio predicted value is lower than a first early warning threshold value, and the firewall bandwidth utilization ratio predicted value is lower than a second early warning threshold value;
The types of network systems include: a high flow rate system having a large correlation with a flow rate, and a low flow rate system having a small correlation with a flow rate;
the recalculating the number of users to be migrated and the direction to be migrated in various network systems based on the second preset rule comprises at least one of the following:
when the load balance degree predicted value of the network element pool exceeds an early warning threshold value, recalculating the number of users to be migrated and the direction to be migrated in a high-flow-rate system;
when the interface bandwidth utilization ratio of the network element to be migrated is higher than a first early warning threshold value and the sum of the number of users to be migrated in all network systems is unchanged, increasing the number of users to be migrated in a high-flow-rate system and reducing the number of users to be migrated in a low-flow-rate system;
when the interface bandwidth utilization ratio predicted value of the network element to be migrated is higher than a first early warning threshold value, reducing the number of users to be migrated in a high-flow-rate mode and increasing the number of users to be migrated in a low-flow-rate mode under the condition that the sum of the number of users to be migrated in all network modes is unchanged;
when the firewall bandwidth utilization ratio estimated value of the network element to be migrated is higher than a second early warning threshold value, increasing the number of users to be migrated in a high-flow-rate mode and reducing the number of users to be migrated in a low-flow-rate mode under the condition that the sum of the number of users to be migrated in all network modes is unchanged;
When the bandwidth utilization ratio pre-estimated value of the firewall in the network element docking to be migrated is higher than a second pre-warning threshold value, the number of users to be migrated in a high-flow-rate mode is reduced and the number of users to be migrated in a low-flow-rate mode is increased under the condition that the sum of the number of users to be migrated in all network modes is unchanged.
The embodiment of the present invention provides a network load balancing device 400, which may further execute the method executed by the network load balancing device in fig. 1, and implement the functions of the network load balancing device in the embodiment shown in fig. 1, which are not described herein.
Example III
Figure 5 is a schematic diagram of a hardware architecture of an electronic device implementing various embodiments of the invention,
the electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and power source 511. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
The processor 510 is configured to receive a request protocol packet sent by a request end device, where the request protocol packet carries a call parameter for calling a target service of a service end device;
the processor 510 is further configured to convert the request protocol packet into a call parameter in a target identification format based on a preset protocol packet format conversion configuration, where the call parameter in the target identification format can be executed for a target component call;
the processor 510 is further configured to invoke a target component to execute the target service based on the invocation parameters of the target identification format.
In addition, the processor 510 is further configured to, if receiving service response information sent by the second system, assemble the service response information into service feedback information, where the service feedback information is identifiable information of the first system;
in addition, the processor 510 is further configured to receive an execution result sent by the service side device; assembling the execution result into a service response message based on the preset protocol message format conversion configuration, wherein the service response message can be identified for the request terminal equipment; and sending the service response message to the request terminal equipment.
In addition, the processor 510 is further configured to receive an execution result sent by the service side device; and calling a target component to execute the corresponding service based on the execution result.
In addition, the processor 510 is further configured to parse the call parameter in the target identification format to obtain an input parameter and a service identifier; and calling a target component corresponding to the service identifier based on the input parameter so as to execute the target service.
In addition, the processor 510 is further configured to generate a request file packet based on the input parameter; and sending the request file packet to the server-side equipment through a target component corresponding to the service identifier, and receiving a response file packet returned by the server-side equipment through the target component.
In addition, the processor 510 is further configured to perform flow analysis on the plurality of request protocol messages according to flow configuration, so as to obtain flow configuration information; executing the flow configuration information based on an extensible markup language (XML) flow script, and performing request protocol message conversion, service response message assembly and target component call, wherein the flow grammar of the XML flow script at least comprises one of the following components: sequential execution, branch execution, or loop execution. The flow configuration comprises analysis rules of the request protocol message, assembly rules of the service response message and call parameter rules of the target component.
The embodiment of the invention provides electronic equipment, which can receive a request protocol message sent by request terminal equipment, convert the request protocol message into a call parameter of a target identification format through preset format conversion configuration, call the call parameter of the target identification format for a target component to execute, and call the target component to execute target service through the call parameter of the target identification format. In this way, by separating the communication process and service logic of the server device, the server device communicates with the request device through the access device, the access device converts the messages of various communication protocols into call parameters which can be identified internally, and executes service call based on the call parameters, so that the server device can support the peripheral device access of various communication protocols, and the hard coding of interfaces and the coding development of processes such as protocol analysis, message processing, protocol return and the like are not required for each device system, thereby supporting the access of various communication protocols, reducing the workload of developing and updating codes and shortening the development period.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 510; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 may also communicate with networks and other electronic devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 502, such as helping the user to send and receive e-mail, browse web pages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 500. The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used for receiving an audio or video signal. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. Microphone 5042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 501 in case of a phone call mode.
The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or the backlight when the electronic device 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 505 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 506 is used to display information input by a user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 is operable to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 5071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). Touch panel 5071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 510 to determine a type of touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and an external device.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The electronic device 500 may also include a power supply 511 (e.g., a battery) for powering the various components, and preferably the power supply 511 may be logically connected to the processor 510 via a power management system that performs functions such as managing charging, discharging, and power consumption.
Preferably, the embodiment of the present invention further provides an electronic device, including a processor 510, a memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program when executed by the processor 510 implements each process of the above service invocation method embodiment, and the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein.
Example IV
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above-mentioned service calling method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The embodiment of the invention provides a computer readable storage medium, which can receive a request protocol message sent by a request terminal device, convert the request protocol message into a call parameter of a target identification format through a preset format conversion configuration, call the target component for executing the call of the target component by the call parameter of the target identification format, and call the target component for executing the target service by the call parameter of the target identification format. In this way, by separating the communication process and service logic of the server device, the server device communicates with the request device through the access device, the access device converts the messages of various communication protocols into call parameters which can be identified internally, and executes service call based on the call parameters, so that the server device can support the peripheral device access of various communication protocols, and the hard coding of interfaces and the coding development of processes such as protocol analysis, message processing, protocol return and the like are not required for each device system, thereby supporting the access of various communication protocols, reducing the workload of developing and updating codes and shortening the development period.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. According to the definitions herein, the computer-readable medium does not include a transitory computer-readable medium (transmission medium), such as a modulated data signal and carrier wave.
It should also be noted that 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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present invention and is not intended to limit the present invention. Various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the invention are to be included in the scope of the claims of the present invention.

Claims (10)

1. A method of network load balancing, comprising:
when the load migration is determined to be needed in the network, screening the network elements to be migrated and the network elements to be migrated based on a first preset rule;
calculating the number of users in the network element to be migrated and the average number of users of each network element in a network element pool aiming at various network systems, and determining the number of users to be migrated in the various network systems;
the method comprises the following steps when the load migration is determined to be needed in the network:
when the peak value of the bandwidth utilization rate of the interface exceeds a first early warning threshold value;
when the bandwidth utilization peak value of the firewall exceeds a second early warning threshold value;
the screening of the network elements to be migrated and the network elements to be migrated based on the first preset rule comprises at least one of the following steps:
taking a network element with the interface bandwidth utilization peak value exceeding a first early warning threshold value as a network element to be migrated, and taking a network element with the interface bandwidth utilization peak value lower than the first early warning threshold value as the network element to be migrated;
and taking the network element with the firewall bandwidth utilization peak value exceeding the second early warning threshold value as the network element to be migrated, and taking the network element with the firewall bandwidth utilization peak value lower than the second early warning threshold value as the network element to be migrated.
2. The method of network load balancing according to claim 1, wherein when it is determined that load migration is required in the network, further comprising:
when the load balance degree in the network element pool exceeds the early warning threshold value.
3. The method for balancing network load according to claim 1, wherein the screening the network element to be migrated and the network element to be migrated based on the first preset rule further comprises:
and taking the network element with the load value higher than the average load value of each network element in the network element pool by a first value as the network element to be migrated, and taking the network element with the load value lower than the average load value of each network element in the network element pool by the first value as the network element to be migrated.
4. The method of network load balancing according to claim 1, wherein the network system comprises at least one of the following networks: 2G network, 3G network, 4G network, 5G network.
5. The method of network load balancing according to claim 1, further comprising, after said determining a number of users to be migrated in said various network formats:
calculating a predicted value: based on the number of users to be migrated, the network elements to be migrated and the network elements to be migrated, calculating the following three pre-estimated values: load balance degree pre-estimated value in network element pool; an interface bandwidth utilization forecast value; a firewall bandwidth utilization forecast value;
Judging whether conditions of the number of users to be migrated and the direction to be migrated are met or not in the network element pool based on the preset value; if so, carrying out load migration based on the number of users to be migrated and the direction to be migrated of each network system, wherein the direction to be migrated refers to the direction from the network element to be migrated to the network element to be migrated.
6. The method of network load balancing according to claim 5, wherein determining whether the network element pool satisfies the condition that the number of users to be migrated and the direction to be migrated need not to be continuously adjusted based on the pre-estimated value includes: if not, based on a second preset rule, recalculating the number of users to be migrated and the direction to be migrated in various network systems, and returning to the step of calculating the estimated value.
7. The method of network load balancing according to claim 6, wherein,
the meeting of the conditions that the user number to be migrated and the migration direction do not need to be continuously adjusted in the network element pool comprises the following steps: the load balance degree predicted value in the network element pool is lower than an early warning threshold value, the interface bandwidth utilization ratio predicted value is lower than a first early warning threshold value, and the firewall bandwidth utilization ratio predicted value is lower than a second early warning threshold value;
The types of network systems include: a high flow rate system having a large correlation with a flow rate, and a low flow rate system having a small correlation with a flow rate;
the recalculating the number of users to be migrated and the direction to be migrated in various network systems based on the second preset rule comprises at least one of the following:
when the load balance degree predicted value of the network element pool exceeds an early warning threshold value, recalculating the number of users to be migrated and the direction to be migrated in a high-flow-rate system;
when the interface bandwidth utilization ratio of the network element to be migrated is higher than a first early warning threshold value and the sum of the number of users to be migrated in all network systems is unchanged, increasing the number of users to be migrated in a high-flow-rate system and reducing the number of users to be migrated in a low-flow-rate system;
when the interface bandwidth utilization ratio predicted value of the network element to be migrated is higher than a first early warning threshold value, reducing the number of users to be migrated in a high-flow-rate mode and increasing the number of users to be migrated in a low-flow-rate mode under the condition that the sum of the number of users to be migrated in all network modes is unchanged;
when the firewall bandwidth utilization ratio estimated value of the network element to be migrated is higher than a second early warning threshold value, increasing the number of users to be migrated in a high-flow-rate mode and reducing the number of users to be migrated in a low-flow-rate mode under the condition that the sum of the number of users to be migrated in all network modes is unchanged;
When the bandwidth utilization ratio pre-estimated value of the firewall in the network element docking to be migrated is higher than a second pre-warning threshold value, the number of users to be migrated in a high-flow-rate mode is reduced and the number of users to be migrated in a low-flow-rate mode is increased under the condition that the sum of the number of users to be migrated in all network modes is unchanged.
8. An apparatus for network load balancing, comprising:
the target network element determining module is used for screening the network element to be migrated and the network element to be migrated based on a first preset rule when the load migration is determined to be carried out in the network;
the user number to be migrated determining module is used for calculating the number of users in the network elements to be migrated and the average number of users of each network element in the network element pool aiming at various network systems, and determining the number of users to be migrated in the various network systems;
the method comprises the following steps when the load migration is determined to be needed in the network:
when the peak value of the bandwidth utilization rate of the interface exceeds a first early warning threshold value;
when the bandwidth utilization peak value of the firewall exceeds a second early warning threshold value;
the screening of the network elements to be migrated and the network elements to be migrated based on the first preset rule comprises at least one of the following steps:
taking a network element with the interface bandwidth utilization peak value exceeding a first early warning threshold value as a network element to be migrated, and taking a network element with the interface bandwidth utilization peak value lower than the first early warning threshold value as the network element to be migrated;
And taking the network element with the firewall bandwidth utilization peak value exceeding the second early warning threshold value as the network element to be migrated.
9. An electronic device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
CN202010413686.2A 2020-05-15 2020-05-15 Network load balancing method and device and electronic equipment Active CN113676415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010413686.2A CN113676415B (en) 2020-05-15 2020-05-15 Network load balancing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010413686.2A CN113676415B (en) 2020-05-15 2020-05-15 Network load balancing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113676415A CN113676415A (en) 2021-11-19
CN113676415B true CN113676415B (en) 2023-10-27

Family

ID=78537690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010413686.2A Active CN113676415B (en) 2020-05-15 2020-05-15 Network load balancing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113676415B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004027640A1 (en) * 2002-09-23 2004-04-01 Cricket Technologies Llc Network load management apparatus, system, method, and electronically stored computer product
CN102014434A (en) * 2009-09-04 2011-04-13 中兴通讯股份有限公司 Load re-distribution method and system for service gateway
WO2011150564A1 (en) * 2010-06-02 2011-12-08 华为技术有限公司 Method, equipment and system for processing data gateway load
CN102695234A (en) * 2011-03-25 2012-09-26 中兴通讯股份有限公司 Service bearing transfer method and apparatus thereof
CN102892143A (en) * 2011-07-20 2013-01-23 华为技术有限公司 Data distributing method and user equipment
CN103188729A (en) * 2011-12-31 2013-07-03 中兴通讯股份有限公司 Method and device for service balance
CN103297331A (en) * 2012-03-01 2013-09-11 华为技术有限公司 Broadband network gateway using method and device
CN104684024A (en) * 2013-11-29 2015-06-03 中国移动通信集团江苏有限公司 Load balancing method and device of core network element pool
EP3113539A1 (en) * 2015-06-30 2017-01-04 Vodafone IP Licensing limited Load balancing user plane traffic in a telecommunication network
CN106664730A (en) * 2014-12-10 2017-05-10 华为技术有限公司 Management method for wireless communication system and related apparatus
CN106900009A (en) * 2015-12-17 2017-06-27 中国移动通信集团四川有限公司 The method and device of load balancing
WO2018099384A1 (en) * 2016-11-29 2018-06-07 中兴通讯股份有限公司 Packet load balancing method, apparatus and system
CN109068285A (en) * 2018-07-26 2018-12-21 成都鼎桥通信技术有限公司 A kind of implementation method in cluster pond

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004027640A1 (en) * 2002-09-23 2004-04-01 Cricket Technologies Llc Network load management apparatus, system, method, and electronically stored computer product
CN102014434A (en) * 2009-09-04 2011-04-13 中兴通讯股份有限公司 Load re-distribution method and system for service gateway
WO2011150564A1 (en) * 2010-06-02 2011-12-08 华为技术有限公司 Method, equipment and system for processing data gateway load
CN102450052A (en) * 2010-06-02 2012-05-09 华为技术有限公司 Method, equipment and system for processing data gateway load
CN102695234A (en) * 2011-03-25 2012-09-26 中兴通讯股份有限公司 Service bearing transfer method and apparatus thereof
CN102892143A (en) * 2011-07-20 2013-01-23 华为技术有限公司 Data distributing method and user equipment
CN103188729A (en) * 2011-12-31 2013-07-03 中兴通讯股份有限公司 Method and device for service balance
CN103297331A (en) * 2012-03-01 2013-09-11 华为技术有限公司 Broadband network gateway using method and device
CN104684024A (en) * 2013-11-29 2015-06-03 中国移动通信集团江苏有限公司 Load balancing method and device of core network element pool
CN106664730A (en) * 2014-12-10 2017-05-10 华为技术有限公司 Management method for wireless communication system and related apparatus
EP3113539A1 (en) * 2015-06-30 2017-01-04 Vodafone IP Licensing limited Load balancing user plane traffic in a telecommunication network
CN106900009A (en) * 2015-12-17 2017-06-27 中国移动通信集团四川有限公司 The method and device of load balancing
WO2018099384A1 (en) * 2016-11-29 2018-06-07 中兴通讯股份有限公司 Packet load balancing method, apparatus and system
CN109068285A (en) * 2018-07-26 2018-12-21 成都鼎桥通信技术有限公司 A kind of implementation method in cluster pond

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
"INTERIM_DRAFT_23501-f40+CRs";al ericssion;《IEEE》;全文 *
al ericssion."INTERIM_DRAFT_23501-f40+CRs".《3GPP TSG_SA\WG2_ARCH》.2016,全文. *
张传福等.《5G 移动通信系统及关键技术》.2018,全文. *
张传福等.《5G移动通信系统及关键技术》.2018,全文. *
温新英."WAP系统智能分流技术的研究与实现".《中国优秀硕士论文电子期刊网》.2019,全文. *
移动核心网NFV部署及演进分析;崔萌;;电信技术(第03期);全文 *

Also Published As

Publication number Publication date
CN113676415A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
KR20200027554A (en) Speech recognition method and apparatus, and storage medium
CN110391867B (en) DCI detection method, DCI sending method, terminal and base station
CN114697984A (en) Information transmission method, terminal and network equipment
CN108536490B (en) Application program starting method, mobile terminal and computer storage medium
CN108958695B (en) Audio output method, device and computer readable storage medium
JP7427802B2 (en) Power adjustment method and electronic equipment
US20220110036A1 (en) Random access method and terminal
CN111464328A (en) Cloud monitoring process control method and device capable of configuring monitoring items
WO2019161764A1 (en) Power configuration method and terminal
JP7274036B2 (en) Uplink transmission discard method, uplink transmission discard configuration method and related equipment
CN107343095B (en) Call volume control method and device, storage medium and terminal
CN111541975B (en) Audio signal adjusting method and electronic equipment
CN113676415B (en) Network load balancing method and device and electronic equipment
CN109669819B (en) Webpage opening method and device, mobile terminal and computer readable storage medium
CN109450508B (en) Antenna determination method and device and mobile terminal
CN115118636B (en) Method and device for determining network jitter state, electronic equipment and storage medium
CN108391288B (en) Method for optimizing communication service quality and mobile terminal
CN111835547A (en) Quality of service (QoS) management method and related equipment
CN106357513B (en) Message processing method, device, server and message processing system
CN110121145B (en) Network connection method and mobile terminal
CN107864294B (en) Do not disturb mode starting method and mobile terminal
CN113301509A (en) Communication method and related equipment
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN112995265A (en) Request distribution method and device and electronic equipment
CN110944086B (en) Call holding method and electronic equipment

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