Core network service message routing fusion selection method, device and server
By obtaining and calculating the service and resource load values of network function service instances in the core network of the fifth generation mobile communication system, and reasonably allocating service message routing, solving the throughput and reliability problems caused by random selection of network function service instances, and achieving more efficient message processing.
Patent Information
- Application Number
- CN202210910333.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-07-29
AI Technical Summary
In the core network of the fifth generation mobile communication system, the random routing of network function service instances leads to reduced throughput and reliability, especially in the case of failure of network function service instances or excessive load, resulting in failure of core network system processing.
By obtaining the target network function service instance collection, the load value of the network function service instance is determined based on the service load value and the resource load value, and the weight is calculated based on the load value, and the service message routing is reasonably allocated to avoid processing failure caused by load imbalance.
Improve the throughput and reliability of service-based message processing in the core network, ensuring that service messages can be efficiently and reliably routed to appropriate network function service instances.
Smart Images

Figure CN115499873B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communication technology, and in particular to a core network service message routing fusion selection method, device and server. Background Art
[0002] Service-based Architecture (SBA) is a key feature of the core network of fifth-generation mobile communication systems. Drawing on the concept of service-oriented information systems and in line with the network characteristics and technological development trends of mobile core networks, SBA achieves decoupling and integration of network functions through modularization. Each decoupled network function can be independently expanded, evolved, and deployed on demand. Network functions are divided into reusable services that communicate using service-based interfaces (SBIs). Services are divided into two roles: producers and consumers. The interaction model is the request-response model. In this model, a network function service consumer requests a specific network function service from a network function service producer. The service content may be to perform an operation or provide information. The network function service producer returns the corresponding service results based on the request content sent by the network function service consumer.
[0003] The same type of producer service can have multiple running instances, namely, network function service instances. A core network includes multiple network functions. In the network function operating environment, the network function service instance is the basic operating unit. The life cycle and load conditions of each network function service instance are different. If a network function consumer randomly routes a network function service request to a network function service instance, and the selected network function service instance fails to process the network function service request due to reasons such as failure or high load, then at this time, there is a network function service instance in the core network that can handle the network function service request, and it does not get the opportunity to process the serviced message, resulting in a decrease in the throughput and reliability of the entire core network system. Summary of the Invention
[0004] The present invention provides a core network service message routing fusion selection method, device and server, which are used to improve the core network system throughput and reliability.
[0005] The present invention provides a core network service message routing fusion selection method, comprising:
[0006] Obtaining a target network function service instance set, and determining a service load value and a resource load value based on the target network function service instance set;
[0007] Determining a load value of a network function service instance in the target network function service instance set based on the business load value and the resource load value;
[0008] Determining a weight of the network function service instance based on the load value of the network function service instance, so as to determine a number of service messages routed to the network function service instance based on the weight of the network function service instance;
[0009] Among them, the business load value is determined based on the business monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance.
[0010] According to the core network service message routing fusion selection method provided by the present invention, obtaining the target network function service instance set includes:
[0011] An initial network function service instance set is obtained, and when it is determined that a new network function service instance is online, the new network function service instance is merged into the initial network function service instance set to obtain the target network function service instance set.
[0012] According to the core network service message routing fusion selection method provided by the present invention, the obtaining of the target network function service instance set further includes:
[0013] When it is determined that a network function service instance is offline, the offline network function instance is deleted from the target network function service instance set.
[0014] According to the core network service message routing fusion selection method provided by the present invention, the configuration planning parameters include: user capacity, session capacity and base station connection capacity; the service monitoring parameters include: user number, session number and base station connection number.
[0015] According to the core network service message routing fusion selection method provided by the present invention, the service load value is calculated based on the following formula:
[0016] D b =[1-(C u -B u ) / C u ]+[1-(C s -B s ) / C s ]+[1-(C nb -B nb ) / C nb ];
[0017] Among them, D b is the traffic load value, Cu is the user capacity, B u is the number of users, C s is the session capacity, B s is the number of sessions, C nb is the base station connection capacity, B nb is the number of base station connections.
[0018] According to the core network service message routing fusion selection method provided by the present invention, the resource monitoring parameters include: CPU usage, memory usage, and hard disk usage.
[0019] According to the core network service message routing fusion selection method provided by the present invention, the resource load value is calculated based on the following formula:
[0020] D r =[1-(C p -R c ) / C p ]+[1-(C m -R m ) / C m ]+[1-(C d -R d ) / C d ];
[0021] Among them, D r is the resource load value, C p is the CPU limit, R c is the CPU usage, C m is the memory limit, R m is the memory usage, C d is the hard disk limit, R d The hard disk usage.
[0022] According to the core network service message routing fusion selection method provided by the present invention, the weight of the network function service instance is determined based on the load value of the network function service instance, so as to determine the number of service messages routed to the network function service instance based on the weight of the network function service instance, including:
[0023] Summing the load values of the network function service instances in the target network function service instance set to obtain a total load value;
[0024] Based on the ratio of the load value of the network function service instance to the total load value, the weight of the network function service instance is obtained, so as to determine the number of service messages routed to the network function service instance based on the weight of the network function service instance.
[0025] According to the core network service message routing fusion selection method provided by the present invention, determining the load value of the network function service instance in the target network function service instance set based on the business load value and the resource load value includes:
[0026] Sum the first product, the second product, and the third product to obtain a load value of the network function service instance in the target network function service instance set;
[0027] Among them, the first product is the product of the business load value and the first preset weight; the second product is the product of the resource load value and the second preset weight; the third product is the product obtained by dividing the number of message processing failures by the number of received messages and then multiplying it by the third preset weight.
[0028] The present invention also provides a core network service message routing fusion selection device, comprising:
[0029] A first determination module is configured to obtain a target network function service instance set, and determine a service load value and a resource load value based on the target network function service instance set;
[0030] A second determining module is configured to determine a load value of a network function service instance in the target network function service instance set based on the business load value and the resource load value;
[0031] a third determining module, configured to determine a weight of the network function service instance based on the load value of the network function service instance, so as to determine a number of service messages routed to the network function service instance based on the weight of the network function service instance;
[0032] Among them, the business load value is determined based on the business monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance.
[0033] The present invention also provides a server, comprising a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, the core network service message routing fusion selection method as described in any one of the above items is implemented.
[0034] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, it implements any of the core network service message routing fusion selection methods described above.
[0035] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the core network service message routing fusion selection methods described above.
[0036] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned core network service message routing fusion selection methods.
[0037] The core network service message routing fusion selection method provided by the present invention determines the service load value and resource load value through the configuration planning parameters, service monitoring parameters and resource monitoring parameters of the target network function service instance set, further determines the load value of the network function service instance in the target network function service instance set, and then determines the weight of the network function service instance based on the load value of the network function service instance, and determines the number of service messages routed to the network function service instance based on the weight of the network function service instance, thereby avoiding the failure of service message processing caused by uneven load sharing of the network function service instance, thereby improving the core network service message processing throughput and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 This is one of the flow charts of the core network service message routing fusion selection method provided by the present invention;
[0040] Figure 2 This is the second flow chart of the core network service message routing fusion selection method provided by the present invention;
[0041] Figure 3 It is a structural diagram of the core network service message routing fusion selection device provided by the present invention;
[0042] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0043] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0044] The following combination Figure 1-Figure 4 The present invention describes the core network service message routing fusion selection method, device and server.
[0045] like Figure 1 As shown, the present invention provides a core network service message routing fusion selection method, comprising:
[0046] Step 110: Obtain a target network function service instance set, and determine a business load value and a resource load value based on the target network function service instance set.
[0047] Among them, the business load value is determined based on the business monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance.
[0048] It is understood that when a network function service instance is started, the configuration planning parameters of the network function service instance are obtained. The configuration planning parameters can be obtained based on the following two methods: Method 1, obtaining the network function configuration planning parameters through the network function resource template file; Method 2, obtaining the configuration planning parameters corresponding to the network function service instance through the open application programming interface (API) provided by the network function service instance.
[0049] The service monitoring parameters of the network function service instance are obtained at a preset period. There are two methods for obtaining the service monitoring parameters: Method 1: Obtain the service monitoring parameters reported by the network function service instance through the performance statistics gateway of the network function operation platform. Method 2: Obtain the service monitoring parameters of the network function through the open application programming interface provided by the network function service instance.
[0050] Obtain the resource monitoring parameters of the network function service instance according to the preset period, and obtain the resource usage corresponding to the network function service instance through the performance statistics gateway of the network function operation platform.
[0051] Step 120: Determine the load value of the network function service instance in the target network function service instance set based on the business load value and the resource load value.
[0052] It can be understood that the load value of the network function service instance in the target network function service instance set is calculated based on the business load value and the resource load value, as well as the preset weight value, the number of received messages and the number of message processing failures.
[0053] Step 130: Determine a weight of the network function service instance based on the load value of the network function service instance, and determine the number of service messages routed to the network function service instance based on the weight of the network function service instance.
[0054] It is understood that network function request messages can be routed to different network function service instances based on weights. The higher the weight, the more service messages are routed to the network function service instance.
[0055] In some embodiments, obtaining a target network function service instance set includes:
[0056] An initial network function service instance set is obtained, and when it is determined that a new network function service instance is online, the new network function service instance is merged into the initial network function service instance set to obtain the target network function service instance set.
[0057] It can be understood that this embodiment can monitor in real time whether there is a new network function service instance online. If there is a new network function service instance online, the initial network function service instance is iteratively updated based on the new network function service instance.
[0058] In some embodiments, obtaining the target network function service instance set further includes:
[0059] When it is determined that a network function service instance is offline, the offline network function instance is deleted from the target network function service instance set.
[0060] It can be understood that when it is determined that a network function service instance is offline, the offline network function instance is deleted from the target network function service instance set, and the target network function service instance set is updated to determine the business load value and resource load value based on the updated target network function service instance set.
[0061] In some embodiments, the configuration planning parameters include: user number capacity, session number capacity and base station connection capacity; the service monitoring parameters include: number of users, number of sessions and number of base station connections.
[0062] It is understandable that the configuration planning parameters, including user capacity, session capacity, base station connection capacity, CPU limit, memory limit, and hard disk limit, are static data and do not change with the load of the network function service instance.
[0063] Business monitoring parameters, including the number of users, number of sessions, number of base station connections, number of received messages, number of sent messages, and number of message processing failures, are dynamic data and change dynamically based on the actual business processing load of the network function service instance.
[0064] In some embodiments, the traffic load value is calculated based on the following formula:
[0065] D b =[1-(C u -B u ) / C u ]+[1-(C s -B s ) / C s ]+[1-(C nb -B nb ) / C nb ];
[0066] Among them, D b is the traffic load value, C u is the user capacity, B u is the number of users, C s is the session capacity, B s is the number of sessions, C nb is the base station connection capacity, B nb is the number of base station connections.
[0067] It can be understood that, from the candidate network function service instances, the difference between the business monitoring parameters and the corresponding configuration planning parameters of each network function service instance is calculated, and the difference represents the load of the network function service instance from the business dimension. b When the value is 0, it means that the network function service instance has no load. b A value of 3 indicates full load, D b A value greater than 3 indicates overload.
[0068] In some embodiments, the resource monitoring parameters include: CPU usage, memory usage, and hard disk usage.
[0069] It is understood that resource monitoring parameters, including CPU usage, memory usage, and disk usage, are dynamic data that reflects the dynamic changes in the network function service instance at the resource level (CPU, memory, and disk usage consumed during operation).
[0070] In some embodiments, the resource load value is calculated based on the following formula:
[0071] D r =[1-(Cp -R c ) / C p ]+[1-(C m -R m ) / C m ]+[1-(C d -R d ) / C d ];
[0072] Among them, D r is the resource load value, C p is the CPU limit, R c is the CPU usage, C m is the memory limit, R m is the memory usage, C d is the hard disk limit, R d The hard disk usage.
[0073] It can be understood that, from the candidate network function service instances, the difference between the computing resource monitoring parameters and the corresponding configuration planning parameters of each network function service instance is calculated, and the difference represents the load of the network function service instance from the resource dimension. r When the value is 0, it means that the network function service instance does not occupy running resources. r A value of 3 indicates that the running resources have reached the maximum value of the planned resources used by the network function service instance. r A value greater than 3 indicates that resource usage exceeds the limit.
[0074] In some embodiments, determining the weight of the network function service instance based on the load value of the network function service instance, and determining the number of service messages routed to the network function service instance based on the weight of the network function service instance, includes:
[0075] Summing the load values of the network function service instances in the target network function service instance set to obtain a total load value;
[0076] Based on the ratio of the load value of the network function service instance to the total load value, the weight of the network function service instance is obtained, so as to determine the number of service messages routed to the network function service instance based on the weight of the network function service instance.
[0077] It is understood that the weight of a network function service instance is calculated as follows:
[0078]
[0079] Among them, V i is the load value of the ith network function service instance; NFw iis the weight of the i-th network function service instance, and n is the number of network function service instances in the target network function service instance set.
[0080] From the set of target network function service instances, the load value of each network function service instance is calculated, and the weight of each network function service instance is calculated. Network function request messages can be routed to different network function service instances based on the weight. The higher the weight, the more service messages are routed to this network function service instance.
[0081] In some embodiments, determining the load value of the network function service instance in the target network function service instance set based on the traffic load value and the resource load value includes:
[0082] Sum the first product, the second product, and the third product to obtain a load value of the network function service instance in the target network function service instance set;
[0083] Among them, the first product is the product of the business load value and the first preset weight; the second product is the product of the resource load value and the second preset weight; the third product is the product obtained by dividing the number of message processing failures by the number of received messages and then multiplying it by the third preset weight.
[0084] It is understandable that the load value of the network function service instance in the target network function service instance set is calculated based on the following formula:
[0085] V i =D b *w1+D r *w2+B f / B r *w3;
[0086] Among them, w1, w2, and w3 are the first weight, second weight, and third weight respectively, which can be set according to the actual operation of the 5G core network; V i is the load value of the i-th network function service instance. f is the number of message processing failures, B r is the number of received messages.
[0087] In other embodiments, the core network service message routing fusion selection method provided by the present invention is as follows: Figure 2As shown, first determine whether a new network function service instance has come online. If so, merge the new network function service instance into the initial network function service instance set to obtain the target network function service instance set. Then determine whether a network function service instance has gone offline. If so, delete the offline network function service instance from the target network function service instance set. Based on the target network function service instance set, calculate the service load value, calculate the resource load value, calculate the load value of each network function service instance, and calculate the weight of each network function service instance.
[0088] In summary, the core network service message routing fusion selection method provided by the present invention includes: obtaining a target network function service instance set, and determining a business load value and a resource load value based on the target network function service instance set; determining the load value of the network function service instance in the target network function service instance set based on the business load value and the resource load value; determining the weight of the network function service instance based on the load value of the network function service instance, and determining the number of service messages routed to the network function service instance based on the weight of the network function service instance; wherein the business load value is determined based on the business monitoring parameters and configuration planning parameters of the network function service instance; and the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance.
[0089] In the core network service message routing fusion selection method provided by the present invention, the service load value and the resource load value are determined by the configuration planning parameters, service monitoring parameters and resource monitoring parameters of the target network function service instance set, and the load value of the network function service instance in the target network function service instance set is further determined. Then, based on the load value of the network function service instance, the weight of the network function service instance is determined, and the number of service messages routed to the network function service instance is determined based on the weight of the network function service instance, so as to avoid the failure of service message processing caused by uneven load sharing of the network function service instance, thereby improving the core network service message processing throughput and reliability.
[0090] The core network service message routing fusion selection device provided by the present invention is described below. The core network service message routing fusion selection device described below and the core network service message routing fusion selection method described above can be referenced to each other.
[0091] like Figure 3 As shown, the present invention also provides a core network service message routing fusion selection device 300, comprising:
[0092] A first determining module 310 is configured to obtain a target network function service instance set, and determine a service load value and a resource load value based on the target network function service instance set;
[0093] A second determining module 320 is configured to determine a load value of a network function service instance in the target network function service instance set based on the service load value and the resource load value;
[0094] a third determining module 330, configured to determine a weight of the network function service instance based on the load value of the network function service instance, so as to determine a number of service messages routed to the network function service instance based on the weight of the network function service instance;
[0095] Among them, the business load value is determined based on the business monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance.
[0096] The present invention also provides a server, comprising a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, the core network service message routing fusion selection method as described in any one of the above items is implemented.
[0097] The electronic device, computer program product, and storage medium provided by the present invention are described below. The electronic device, computer program product, and storage medium described below can correspond to the core network service message routing fusion selection method described above.
[0098] Figure 4 An example of a physical structure diagram of an electronic device is shown below. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other via the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the core network service message routing fusion selection method, which includes:
[0099] Obtaining a target network function service instance set, and determining a service load value and a resource load value based on the target network function service instance set;
[0100] Determining a load value of a network function service instance in the target network function service instance set based on the business load value and the resource load value;
[0101] Determining a weight of the network function service instance based on the load value of the network function service instance, so as to determine a number of service messages routed to the network function service instance based on the weight of the network function service instance;
[0102] Among them, the business load value is determined based on the business monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance.
[0103] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0104] On the other hand, the present invention further provides a computer program product, comprising a computer program. The computer program may be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the core network service message route fusion selection method provided by each of the above methods, the method comprising:
[0105] Obtaining a target network function service instance set, and determining a service load value and a resource load value based on the target network function service instance set;
[0106] Determining a load value of a network function service instance in the target network function service instance set based on the business load value and the resource load value;
[0107] Determining a weight of the network function service instance based on the load value of the network function service instance, so as to determine a number of service messages routed to the network function service instance based on the weight of the network function service instance;
[0108] Among them, the business load value is determined based on the business monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance.
[0109] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the core network service message routing fusion selection method provided by the above methods is implemented. The method includes:
[0110] Obtaining a target network function service instance set, and determining a service load value and a resource load value based on the target network function service instance set;
[0111] Determining a load value of a network function service instance in the target network function service instance set based on the business load value and the resource load value;
[0112] Determining a weight of the network function service instance based on the load value of the network function service instance, so as to determine a number of service messages routed to the network function service instance based on the weight of the network function service instance;
[0113] Among them, the business load value is determined based on the business monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance.
[0114] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0115] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A core network service message routing fusion selection method, characterized in that: include: Obtaining a target network function service instance set, and determining a service load value and a resource load value based on the target network function service instance set; Determining a load value of a network function service instance in the target network function service instance set based on the business load value and the resource load value; Determining a weight of the network function service instance based on the load value of the network function service instance, so as to determine a number of service messages routed to the network function service instance based on the weight of the network function service instance; The service load value is determined based on the service monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance; the configuration planning parameters include: user capacity, session capacity and base station connection capacity; the service monitoring parameters include: number of users, number of sessions and number of base station connections; the resource monitoring parameters include: CPU usage, memory usage and hard disk usage; The service load value is calculated based on the following formula: Db=[1-(Cu-Bu) / Cu]+[1-(Cs-Bs) / Cs]+[1-(Cnb-Bnb) / Cnb]; Wherein, Db is the traffic load value, Cu is the user capacity, Bu is the number of users, Cs is the session capacity, Bs is the number of sessions, Cnb is the base station connection capacity, and Bnb is the number of base station connections; The resource load value is calculated based on the following formula: Dr=[1-(Cp-Rc) / Cp]+[1-(Cm-Rm) / Cm]+[1-(Cd-Rd) / Cd]; Among them, Dr is the resource load value, Cp is the CPU limit, Rc is the CPU usage, Cm is the memory limit, Rm is the memory usage, Cd is the hard disk limit, and Rd is the hard disk usage.
2. The core network service message routing fusion selection method according to claim 1, characterized in that: The acquiring of the target network function service instance set includes: An initial network function service instance set is obtained, and when it is determined that a new network function service instance is online, the new network function service instance is merged into the initial network function service instance set to obtain the target network function service instance set.
3. The core network service message routing fusion selection method according to claim 2, characterized in that: The acquiring of the target network function service instance set further includes: When it is determined that a network function service instance is offline, the offline network function instance is deleted from the target network function service instance set.
4. The core network service message routing fusion selection method according to claim 1, characterized in that: The determining, based on the load value of the network function service instance, a weight of the network function service instance, and determining, based on the weight of the network function service instance, a number of service messages routed to the network function service instance, includes: Summing the load values of the network function service instances in the target network function service instance set to obtain a total load value; Based on the ratio of the load value of the network function service instance to the total load value, the weight of the network function service instance is obtained, so as to determine the number of service messages routed to the network function service instance based on the weight of the network function service instance.
5. The core network service message routing fusion selection method according to any one of claims 1 to 4, characterized in that: The determining, based on the service load value and the resource load value, the load value of the network function service instance in the target network function service instance set includes: Sum the first product, the second product, and the third product to obtain a load value of the network function service instance in the target network function service instance set; Among them, the first product is the product of the business load value and the first preset weight; the second product is the product of the resource load value and the second preset weight; the third product is the product obtained by dividing the number of message processing failures by the number of received messages and then multiplying it by the third preset weight.
6. A core network service message routing fusion selection device, characterized in that: include: A first determination module is configured to obtain a target network function service instance set, and determine a service load value and a resource load value based on the target network function service instance set; A second determining module is configured to determine a load value of a network function service instance in the target network function service instance set based on the business load value and the resource load value; a third determining module, configured to determine a weight of the network function service instance based on the load value of the network function service instance, so as to determine a number of service messages routed to the network function service instance based on the weight of the network function service instance; Wherein, the service load value is determined based on the service monitoring parameters and configuration planning parameters of the network function service instance; the resource load value is determined based on the resource monitoring parameters and configuration planning parameters of the network function service instance; the configuration planning parameters include: user capacity, session capacity and base station connection capacity; the service monitoring parameters include: number of users, number of sessions and number of base station connections; the resource monitoring parameters include: CPU usage, memory usage and hard disk usage; the service load value is calculated based on the following formula: Db = [1-(Cu-Bu) / Cu] + [1-(Cs-Bs) / Cs] + [1-(Cnb-Bn b) / Cnb]; wherein Db is the service load value, Cu is the user capacity, Bu is the number of users, Cs is the session capacity, Bs is the number of sessions, Cnb is the base station connection capacity, and Bnb is the number of base station connections; the resource load value is calculated based on the following formula: Dr=[1-(Cp-Rc) / Cp]+[1-(Cm-Rm) / Cm]+[1-(Cd-Rd) / Cd]; wherein Dr is the resource load value, Cp is the CPU limit, Rc is the CPU usage, Cm is the memory limit, Rm is the memory usage, Cd is the hard disk limit, and Rd is the hard disk usage.
7. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the core network service message routing fusion selection method according to any one of claims 1 to 5 is implemented.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the core network service message routing fusion selection method according to any one of claims 1 to 5 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the core network service message routing fusion selection method according to any one of claims 1 to 5 is implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the core network service message routing fusion selection method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Method for load balancing of Web requests based on operating system virtualization
CN104902001A
Method and system for querying DNS record
CN108011994A