A method for allocating multi-connection resources
By adopting the multi-connection resource allocation method in 5G mobile communication, and dynamically selecting connections using round-robin, priority and weight strategies, the problem of excessive single-connection load of control surface functional network elements is solved, and traffic load balancing is achieved to avoid network congestion and packet loss.
Patent Information
- Application Number
- CN202310088019.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-30
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2043-01-30
AI Technical Summary
In 5G mobile communication, the single connection load of the control plane functional network element is too high, resulting in problems such as network congestion and packet loss.
The multi-connection resource allocation method is adopted, including round-robin policy, priority policy and weight policy, and the connection is dynamically selected and rebuilt to achieve traffic load balancing.
By dynamically selecting and rebuilding connections, traffic load balancing of network element connections is achieved to avoid network congestion and packet loss.
Smart Images

Figure CN116133164B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communication technology, and in particular to a method for allocating multi-connection resources. Background Art
[0002] In the fifth generation mobile communication technology (5G), the 5G mobile network core network (5GC) is divided into two categories: control plane functions (CP) and user plane functions (UP).
[0003] In the prior art, the control plane function implements signaling control functions such as user equipment (UE) access control, registration, session establishment, and mobility management. After a user equipment (UE) accesses the network and establishes a session with a data network (DN), the control plane function sends the user plane tunnel and forwarding rules to the user plane function in the PFCP (Packet Forwarding Control Protocol) message format. The user plane function then establishes a tunnel between the access network (AN) and the data network (DN) and performs data forwarding, discarding, caching, and quality of service (QoS) based on the tunnel information and forwarding rules.
[0004] However, the core network control plane currently uses a long link between network elements, which is used throughout the life cycle of the network element. This will cause the single connection load to be too high, which may cause congestion, packet loss and other problems. Summary of the Invention
[0005] The purpose of the present invention is to provide a method for allocating multi-connection resources to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solution: a method for allocating multi-connection resources, the method comprising the following steps:
[0007] The network element calls the interface to obtain the connection;
[0008] Determine the policy type of the current network element and execute the corresponding method according to the specific policy type.
[0009] Preferably, the policy types of the network element include round-robin policy, priority policy and weight policy.
[0010] Preferably, the round-robin strategy selects connections in the multi-connection pool in turn, and if a connection exceeds the load, the current connection is rebuilt and the next connection is selected.
[0011] Preferably, the priority strategy sorts the connections according to the priority attribute of each link and selects the connection with the highest priority until the connection resources are exhausted. If the connection is overloaded, the current connection priority is set to the lowest, and it is re-sorted and then rebuilt.
[0012] Preferably, the weight strategy allocates the number of selections according to the weight ratio of the connection, and selects each connection in turn until the allocable number of times for each connection is exhausted. If the allocable number of times for all connections is exhausted, the number of selections for each connection is reallocated. If the connection exceeds the load, the current connection is rebuilt and the next connection is selected.
[0013] Preferably, the round-robin strategy is specifically operated as follows:
[0014] a) Get the index value of the last connection;
[0015] b) Increment the index value and obtain the corresponding connection in the connection pool;
[0016] c) Determine whether the current connection is overloaded;
[0017] d) Set the current connection state to a pending reestablishment state and execute step b;
[0018] e) Get and return the current connection.
[0019] Preferably, the priority strategy is specifically operated as follows:
[0020] 1) Take out the connection with the highest priority in the connection pool;
[0021] 2) Determine whether the current connection is overloaded, if so, execute step 3, otherwise execute step 5;
[0022] 3) Set the current connection status to pending reestablishment;
[0023] 4) Set the priority of the current connection to the lowest, then reorder according to the priority and execute step 1;
[0024] 5) If not, retrieve and return the current connection.
[0025] Preferably, the weight strategy is specifically operated as follows:
[0026] A) Take out the connection to be allocated in the connection pool;
[0027] B) Determine whether the current connection is overloaded, if so, execute step C; otherwise, execute step D;
[0028] C) The current connection status is set to pending establishment, and the next connection is acquired, and step A is executed;
[0029] D) Check whether the allocatable number of the current connection is 0, if so, execute step E, otherwise execute step F;
[0030] E) Continue to obtain the next connection and execute step A;
[0031] F) Take out and record the current connection;
[0032] G) Determine whether the sum of the allocatable times for all connections is 0. If it is 0, reallocate the allocatable times for each connection according to the configured weight information;
[0033] H) Return connection information.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] The multi-connection resource allocation method proposed in the present invention can dynamically select the best connection for communication in the multi-connection resource pool according to the policy configuration items of the network element, and rebuild the connection that exceeds the load to achieve traffic load balancing of the network element connection. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0037] In order to clearly and completely describe the objectives and technical solutions of the present invention and make the advantages more clearly understood, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are part of the embodiments of the present invention, not all of them, and are only used to explain the embodiments of the present invention, not to limit the embodiments of the present invention. All other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0038] Example 1
[0039] See also Figure 1 The present invention provides a technical solution: a method for allocating multi-connection resources, the method comprising the following steps:
[0040] The network element calls the interface to obtain the connection;
[0041] Determine the policy type of the current network element and execute the corresponding method according to the specific policy type. The policy types of network elements include round-robin policy, priority policy and weight policy. The round-robin policy selects connections in the multi-link pool in turn. If the connection exceeds the load, the current connection is rebuilt and the next connection is selected. The priority policy sorts the connections according to the priority attributes of each link and selects connections with high priority until the connection resources are exhausted. If the connection exceeds the load, the current connection priority is set to the lowest, and it is re-sorted and then rebuilt. The weight policy allocates the number of selections according to the weight ratio of the connection and selects each connection in turn until the allocatable number of times for each connection is exhausted. If the allocatable number of times for all connections has been exhausted, the number of selections for each connection is reallocated. If the connection exceeds the load, the current connection is rebuilt and the next connection is selected.
[0042] Example 2
[0043] Based on the first embodiment, the round-robin strategy operates as follows:
[0044] a) Get the index value of the last connection;
[0045] b) Increment the index value and obtain the corresponding connection in the connection pool;
[0046] c) Determine whether the current connection is overloaded;
[0047] d) Set the current connection state to a pending reestablishment state and execute step b;
[0048] e) Get and return the current connection.
[0049] Example 3
[0050] Based on the second embodiment, the priority policy is specifically operated as follows:
[0051] 1) Take out the connection with the highest priority in the connection pool;
[0052] 2) Determine whether the current connection is overloaded, if so, execute step 3, otherwise execute step 5;
[0053] 3) Set the current connection status to pending reestablishment;
[0054] 4) Set the priority of the current connection to the lowest, then reorder according to the priority and execute step 1;
[0055] 5) If not, retrieve and return the current connection.
[0056] Example 4
[0057] Based on the third embodiment, the weight strategy is specifically operated as follows:
[0058] A) Take out the connection to be allocated in the connection pool;
[0059] B) Determine whether the current connection is overloaded, if so, execute step C; otherwise, execute step D;
[0060] C) The current connection status is set to pending establishment, and the next connection is acquired, and step A is executed;
[0061] D) Check whether the allocatable number of the current connection is 0, if so, execute step E, otherwise execute step F;
[0062] E) Continue to obtain the next connection and execute step A;
[0063] F) Take out and record the current connection;
[0064] G) Determine whether the sum of the allocatable times for all connections is 0. If it is 0, reallocate the allocatable times for each connection according to the configured weight information;
[0065] H) Return connection information.
[0066] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.
Claims
1. A method for allocating multi-connection resources, characterized by: The allocation method comprises the following steps: The network element calls the interface to obtain the connection; Determine the policy type of the current network element and execute the corresponding method according to the specific policy type; The network element's policy types include round-robin policy, priority policy, and weight policy; The round-robin strategy selects connections from the multi-connection pool in turn. If a connection exceeds the load, the current connection is rebuilt and the next connection is selected. The priority strategy sorts the connections according to the priority attribute of each link and selects the connection with the highest priority until the connection resources are exhausted. If the connection is overloaded, the current connection priority is set to the lowest, and it is re-sorted and then re-established; The weighted strategy allocates selection times according to the weight ratio of the connection, and selects each connection in turn until the allocable times for each connection are exhausted. If the allocable times for all connections are exhausted, the selection times for each connection are reallocated. If the connection exceeds the load, the current connection is rebuilt and the next connection is selected. The specific operation of the round-robin strategy is as follows: a) Get the index value of the last connection; b) Increment the index value and obtain the corresponding connection in the connection pool; c) Determine whether the current connection is overloaded; d) Set the current connection state to a pending reestablishment state and execute step b; e) Take out and return the current connection; The priority strategy specifically operates as follows: 1) Take out the connection with the highest priority in the connection pool; 2) Determine whether the current connection is overloaded, if so, execute step 3, otherwise execute step 5; 3) Set the current connection status to pending reestablishment; 4) Set the priority of the current connection to the lowest, then reorder according to the priority and execute step 1; 5) If not, retrieve and return the current connection; The specific operation of the weight strategy is as follows: A) Take out the connection to be allocated in the connection pool; B) Determine whether the current connection is overloaded, if so, execute step C; otherwise, execute step D; C) The current connection status is set to pending establishment, and the next connection is acquired, and step A is executed; D) Check whether the allocatable number of the current connection is 0, if so, execute step E, otherwise execute step F; E) Continue to obtain the next connection and execute step A; F) Take out and record the current connection; G) Determine whether the sum of the allocatable times for all connections is 0. If it is 0, reallocate the allocatable times for each connection according to the configured weight information; H) Return connection information.
Citation Information
Patent Citations
Resource configuration method and device
CN102651729A
Connection establishment method, device and system
CN112135367A