CN113115332A - UPF (unified power flow) determination method and device - Google Patents

UPF (unified power flow) determination method and device Download PDF

Info

Publication number
CN113115332A
CN113115332A CN202110310415.9A CN202110310415A CN113115332A CN 113115332 A CN113115332 A CN 113115332A CN 202110310415 A CN202110310415 A CN 202110310415A CN 113115332 A CN113115332 A CN 113115332A
Authority
CN
China
Prior art keywords
hash
upf
identification information
correction data
target service
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.)
Granted
Application number
CN202110310415.9A
Other languages
Chinese (zh)
Other versions
CN113115332B (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 United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110310415.9A priority Critical patent/CN113115332B/en
Publication of CN113115332A publication Critical patent/CN113115332A/en
Application granted granted Critical
Publication of CN113115332B publication Critical patent/CN113115332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the invention provides a UPF (user equipment) determining method and device, relates to the technical field of communication, can meet the requirements of related services of UE (user equipment), and can more reasonably determine the UPF for providing services for the UE. The method comprises the following steps: the SMF acquires resource demand information corresponding to a target service; the SMF determines the hash position of the identification information of the target service on a hash ring, the hash position of the identification information of the target user on the hash ring and the hash position of the computing power requirement of the target service on the hash ring; the SMF acquires hash position correction data of identification information of a target service, hash position correction data of identification information of a target user and hash position correction data of calculation force requirements of the target service; the SMF determines the IP address of at least one UPF, wherein the at least one UPF is the UPF corresponding to the identification information of the target service, the identification information of the target user and the calculation requirement of the target service.

Description

UPF (unified power flow) determination method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a UPF (user equipment) determining method and device.
Background
Currently, an operator may allocate a plurality of fixed User Plane Functions (UPFs) to a certain base station device. Specifically, when a User Equipment (UE) accesses the base station, one UPF (e.g., a target UPF) may be selected from the UPFs, and the UE may further obtain service data from a service server corresponding to the UPF.
However, in the above method, each UPF of the plurality of UPFs allocated to the base station device may not meet the requirement of the UE, and thus, the existing method for selecting a certain UPF from the plurality of fixed UPFs corresponding to the base station device may be unreasonable, which affects user experience.
Disclosure of Invention
The embodiment of the invention provides a UPF (user equipment) determining method and device, which can meet the related business requirements of UE (user equipment) and can more reasonably determine the UPF for providing service for the UE.
In a first aspect, an embodiment of the present invention provides a method for determining a UPF, including: a Session Management Function (SMF) acquires resource demand information corresponding to a target service, where the resource demand information includes identification information of the target service, identification information of a target user, and a computing power demand of the target service; the SMF determines a hash position of the identification information of the target service on a hash ring based on the identification information of the target service and a preset hash function, determines a hash position of the identification information of the target user on the hash ring based on the identification information of the target user and the preset hash function, and determines a hash position of the computing power requirement of the target service on the hash ring based on the computing power requirement of the target service and the preset hash function; the SMF acquires Hash position correction data of the identification information of the target service, Hash position correction data of the identification information of the target user and Hash position correction data of the computing power requirement of the target service, wherein the Hash position correction data of the identification information of the target service is the difference between the Hash position of the identification information of the target service on the Hash ring and the Hash position of the Internet Protocol (IP) address of the UPF corresponding to the identification information of the target service on the Hash ring, the Hash position correction data of the identification information of the target user is the difference between the Hash position of the identification information of the target user on the Hash ring and the Hash position of the IP address of the UPF corresponding to the identification information of the target user on the Hash ring, and the Hash position correction data of the computing power requirement of the target service is the Hash position of the computing power requirement of the target service on the Hash ring, the difference value of the hash position of the IP address of the UPF corresponding to the calculation requirement of the target service on the hash ring; the SMF determines an IP address of at least one UPF according to the hash position of the identification information of the target service on the hash ring, the hash position of the identification information of the target user on the hash ring, the hash position of the computing power requirement of the target service on the hash ring, the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user and the hash position correction data of the computing power requirement of the target service, wherein the at least one UPF is a UPF corresponding to the identification information of the target service, the identification information of the target user and the computing power requirement of the target service.
In a second aspect, an embodiment of the present invention provides a UPF determining apparatus, including: the device comprises an acquisition module and a determination module. The acquisition module is used for acquiring resource demand information corresponding to a target service, wherein the resource demand information comprises identification information of the target service, identification information of a target user and computing power demand of the target service; the determining module is configured to determine, based on the identification information of the target service and a preset hash function, a hash position of the identification information of the target service on a hash ring, determine, based on the identification information of the target user and the preset hash function, the hash position of the identification information of the target user on the hash ring, and determine, based on the computing power requirement of the target service and the preset hash function, the hash position of the computing power requirement of the target service on the hash ring; the obtaining module is further configured to obtain hash position correction data of the identification information of the target service, hash position correction data of the identification information of the target user, and hash position correction data of the computing power requirement of the target service, where the hash position correction data of the identification information of the target service is a difference between the hash position of the identification information of the target service on the hash ring and the hash position of the IP address of the UPF corresponding to the identification information of the target service on the hash ring, the hash position correction data of the identification information of the target user is a difference between the hash position of the identification information of the target user on the hash ring and the hash position of the IP address of the UPF corresponding to the identification information of the target user on the hash ring, and the hash position correction data of the computing power requirement of the target service is a hash position of the computing power requirement of the target service on the hash ring, the difference value of the hash position of the IP address of the UPF corresponding to the calculation requirement of the target service on the hash ring; the determining module is further configured to determine an IP address of at least one UPF according to the hash position of the identification information of the target service on the hash ring, the hash position of the identification information of the target user on the hash ring, the hash position of the computing power requirement of the target service on the hash ring, the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user, and the hash position correction data of the computing power requirement of the target service, where the at least one UPF is a UPF corresponding to all of the identification information of the target service, the identification information of the target user, and the computing power requirement of the target service.
In a third aspect, an embodiment of the present invention provides another UPF determining apparatus, including: a processor, a memory, a bus, and a communication interface; the memory is used for storing computer-executable instructions, the processor is connected with the memory through the bus, and when the UPF determining device runs, the processor executes the computer-executable instructions stored in the memory, so that the UPF determining device executes the UPF determining method provided by the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where instructions are stored on the computer-readable storage medium, and when the instructions in the computer-readable storage medium are executed by a UPF determining apparatus, the UPF determining apparatus is enabled to execute the UPF determining method according to the first aspect and any implementation manner of the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer program product, where the computer program product includes computer instructions that, when run on a UPF determining apparatus, cause the UPF determining apparatus to execute the UPF determining method of the first aspect and any implementation manner thereof.
According to the UPF determining method and device provided by the embodiment of the invention, the SMF acquires the resource demand information corresponding to the target service, wherein the resource demand information comprises the identification information of the target service, the identification information of the target user and the calculation demand of the target service; based on the identification information of the target service, the identification information of the target user and the calculation power requirement of the target service, and a preset hash function, the SMF respectively determines a hash position of the identification information of the target service on a hash ring, a hash position of the identification information of the target user on the hash ring and a hash position of the calculation power requirement of the target service on the hash ring (namely, an initial hash position corresponding to the identification information of the target service, an initial hash position corresponding to the identification information of the target user and an initial hash position corresponding to the calculation power requirement of the target service); the SMF acquires hash position correction data of identification information of a target service, hash position correction data of identification information of a target user and hash position correction data of calculation force requirements of the target service; and the SMF determines the IP address of at least one UPF according to the three initial hash positions and the three hash position correction data. It should be understood that the SMF may determine a plurality of final hash positions according to an initial hash position and hash position correction data corresponding to the initial hash position, where one final hash position may be used to store corresponding data (i.e., identification information of a target service, identification information of a target user, or a calculation requirement of the target service, etc.) and an IP address of a UPF corresponding to the data, and thus, the SMF may determine at least one UPF corresponding to the identification information of the target service, the identification information of the target user, and the calculation requirement of the target service, and the at least one UPF may satisfy a related service requirement of the UE, and may more reasonably determine the UPF providing the service for the UE, thereby improving user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a first schematic diagram of a network architecture of a 5G communication system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a network architecture of a 5G communication system according to an embodiment of the present invention;
fig. 3 is a hardware schematic diagram of a server according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a UPF determination method according to an embodiment of the present invention;
fig. 5 is a first schematic structural diagram of a UPF determining apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a UPF determining apparatus according to an embodiment of the present invention.
Detailed Description
The UPF determination method and apparatus provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The term "and/or" as used herein includes the use of either or both of the two methods.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
Based on the problems existing in the background art, the embodiments of the present invention provide a method and an apparatus for determining a UPF, where an SMF obtains resource demand information corresponding to a target service, where the resource demand information includes identification information of the target service, identification information of a target user, and a calculation requirement of the target service; based on the identification information of the target service, the identification information of the target user and the calculation power requirement of the target service, and a preset hash function, the SMF respectively determines a hash position of the identification information of the target service on a hash ring, a hash position of the identification information of the target user on the hash ring and a hash position of the calculation power requirement of the target service on the hash ring (namely, an initial hash position corresponding to the identification information of the target service, an initial hash position corresponding to the identification information of the target user and an initial hash position corresponding to the calculation power requirement of the target service); the SMF acquires hash position correction data of identification information of a target service, hash position correction data of identification information of a target user and hash position correction data of calculation force requirements of the target service; and the SMF determines the IP address of at least one UPF according to the three initial hash positions and the three hash position correction data. It should be understood that the SMF may determine a plurality of final hash positions according to an initial hash position and hash position correction data corresponding to the initial hash position, where one final hash position may be used to store corresponding data (i.e., identification information of a target service, identification information of a target user, or a calculation requirement of the target service, etc.) and an IP address of a UPF corresponding to the data, and thus, the SMF may determine at least one UPF corresponding to the identification information of the target service, the identification information of the target user, and the calculation requirement of the target service, and the at least one UPF may satisfy a related service requirement of the UE, and may more reasonably determine the UPF providing the service for the UE, thereby improving user experience.
A method and AN apparatus for determining AN UPF according to AN embodiment of the present invention may be applied to a wireless communication system, taking the wireless communication system as a 5G communication system as AN example, and fig. 1 is a schematic diagram of a network architecture of the 5G communication system according to the embodiment of the present invention, where the 5G communication system may include a UE 101, a Radio Access Network (RAN) device or AN Access Network (AN) device 102, AN UPF 103, AN access and mobility management function (AMF) 104, AN SMF 105, a policy control function (policy control function, PCF)106, AN authentication service function (authentication server function, AUSF)107, a network function storage function (network function, NRF)108, AN application function (application function, AF)109, a capability opening function (capability opening function, AN access function (AMF) 110, a data management function (network function, and a slice) 111, NSSF)112, and the like. The UE 101 accesses a 5G network (i.e., can be understood as the UE 101 accessing a 5G system that can provide a 5G network) and establishes a session with the network, and the UE 101 can then communicate with functions (e.g., UPF 103, AMF104, etc.) serving the UE 101 through the (R) AN device 102. In general, in practical applications, the connections between the above-mentioned devices or service functions may be wireless connections or wired connections, and for convenience, the connections between the devices are shown by solid lines in fig. 1.
The (R) AN apparatus 102 is used for the UE 101 to access the network, and the (R) AN apparatus 102 may include a base station, AN evolved node base (eNB), a next generation base station (gNB), a new radio base station (new radio eNB), a macro base station, a micro base station, a high frequency base station or a Transmission and Reception Point (TRP), a non-third generation partnership project (3 GPP) access network (e.g., WiFi), and/or a non-3GPP interworking function (N3 GPP IWF), and the like.
UPF 103: for handling events related to the user plane, such as transmitting or routing packets, detecting packets, reporting traffic, handling quality of service (QoS), lawful interception, storing downstream packets, etc.
The AMF 104: for connection management, mobility relationships, registration management, access authentication and authorization, reachability management, security context management, and the like.
SMF 105: for session management (e.g., establishment, modification, and release of sessions), selection and control of the UPF 103, selection of a service and session continuity (service and session continuity) mode, and roaming service, etc. In the embodiment of the present invention, the SMF 105 is configured to determine, based on the identification information of the target service and a preset hash function, a hash position of the target service on the hash ring, and the like.
The PCF 106: the method is used for making a strategy, providing a strategy control service, acquiring subscription information related to strategy decision and the like.
AUSF 107: for interacting with UDM 111 to obtain user information and perform authentication related functions, such as generating intermediate keys, etc.
NRF 108: network function text for service discovery, maintaining available network function instances, and services supported by those network functions.
AF 109: interacting with the 3GPP core network, providing services or servers, for example, may interact with NEF 110.
NEF 110: various services and capabilities provided by the secure open 3GPP network function (including content open or open to a third party, etc.), information for converting or translating interaction with the AF 109 and information for interaction with the internal network function, such as AF service identification and content 5G core network information (e.g., network slice selection assistance information, etc.), and the like.
UDM 111: processing authentication information in a 3GPP authentication and key agreement mechanism, processing user identity information, access authorization, registration and mobility management, subscription management, short message management and the like. In the embodiment of the present invention, the UDM 111 is configured to receive, from the SMF 105, hash position correction data of the identification information of the service corresponding to the UPF to be recognized, hash position correction data of the identification information of the user corresponding to the UPF to be recognized, and hash position correction data of the computing power capability of the UPF to be recognized, and record and store the hash position correction data.
NSSF 112: for selecting a set of network slices for the UE 101, determining network slice selection protocol information, and determining a set of AMFs to serve the UE 101 (an AMF set refers to a set of multiple AMFs that may serve the UE 101).
Optionally, in the embodiment of the present invention, the above functional modules (i.e., UPF 103, AMF104, SMF 105, PCF 106, AUSF 107, NRF 108, AF 109, NEF110, UDM 111, and NSSF 112) may be integrated on a server to implement the functions thereof.
In conjunction with the above-described 5G communication system architecture, as shown in fig. 2, embodiments of the present invention may deploy multiple UPFs (including UPF 201, UPF 203, and UPF 205), which may be understood as UPFs that sink functionality to AN edge location, near the access location of the UE 101 (i.e., between the (R) AN devices 102 and 5 GC). Also, for each UPF of the plurality of UPFs, there may be at least one MEC server connected thereto that may provide the UE 101 with service data. Illustratively, as shown in fig. 2, the UPF 201 is connected to the MEC server 202, the UPF 203 is connected to the MEC server 204, and the UPF 205 is connected to the MEC server 206 and the MEC server 207, respectively.
It should be noted that the 3 UPF servers and 4 MEC servers shown in fig. 2 are only an example in the embodiment of the present invention, and the number of UPF servers and MEC servers is not specifically limited in the embodiment of the present invention.
Alternatively, the SMF may be a stand-alone device, for example, a server integrated with the SMF. In the embodiment of the present invention, an example in which SMF is integrated in one server is taken to introduce a hardware architecture of the server. As shown in fig. 3, the SMF-integrated server 30 according to the embodiment of the present invention includes a processor 301, a memory 302, a network interface 303, and the like.
The processor 301 is a core component of the server 30, and the processor 301 is configured to run an operating system of the server 30 and applications (including a system application and a third-party application) on the server 30, so as to implement the UPF determination method performed by the server 30.
In this embodiment, the processor 301 may be a Central Processing Unit (CPU), a microprocessor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof, which is capable of implementing or executing various exemplary logic blocks, modules, and circuits described in connection with the disclosure of the embodiment of the present invention; a processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like.
Optionally, the processor 301 of the server 30 includes one or more CPUs, which are single-core CPUs (single-CPUs) or multi-core CPUs (multi-CPUs).
The memory 302 includes, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical memory, or the like. The memory 302 holds the code for the operating system.
Optionally, the processor 301 reads the instruction stored in the memory 302 to implement the UPF determination method in the embodiment of the present invention, or the processor 301 implements the UPF determination method provided in the embodiment of the present invention by using an instruction stored inside. In the case where the processor 301 implements the UPF determination method provided in the embodiment of the present invention by reading the memory for storage, the memory stores instructions for implementing the UPF determination method provided in the embodiment of the present invention.
The network interface 303 is a wired interface, such as a Fiber Distributed Data Interface (FDDI) interface or a Gigabit Ethernet (GE) interface. Alternatively, the network interface 303 is a wireless interface. The network interface 303 is used for the server 30 to communicate with other devices.
The memory 302 is used for storing resource requirement information corresponding to the target service. Optionally, the memory 302 is also used for storing a preset hash function and the like. The at least one processor 301 further executes the method described in the embodiment of the present invention according to the resource requirement information corresponding to the target service stored in the memory 302 and the preset hash function. For more details of the processor 301 to implement the above functions, reference is made to the following description of various method embodiments.
Optionally, the server 30 further includes a bus, and the processor 301 and the memory 302 are connected to each other through the bus 304, or in other manners.
Optionally, the server 30 further comprises an input/output interface 305, and the input/output interface 305 is configured to connect with an input device and receive a UPF determination request input by a user through the input device. Input devices include, but are not limited to, a keyboard, a touch screen, a microphone, and the like. The input/output interface 305 is also used to interface with an output device that outputs the result of the UPF determination (i.e., determines at least one UPF) of the processor 301. Output devices include, but are not limited to, a display, a printer, and the like.
It should be understood that, in the embodiment of the present invention, the hardware structures of the UDM and the UPF are similar to the hardware structure of the server 30 shown in fig. 3, and the description of the hardware structures of the UDM and the UPF may refer to the description of the hardware structure of the server 30, and will not be described in detail here.
The UPF determining method and device provided by the embodiment of the invention are applied to a scene that the UE acquires the service data from the edge position. When the UE needs to acquire service data, the (R) AN device may send resource requirement information to the SMF, and then the SMF may select at least one UPF from the plurality of UPFs having a connection relationship with the base station device, and use AN MEC server corresponding to each UPF in the at least one UPF as a service server that can provide the service data for the UE.
In conjunction with the communication system shown above, the UPF determining method provided by the embodiment of the present invention is fully described below from the perspective of interaction among devices in the communication system, so as to illustrate a process of receiving, recording, and storing hash location correction data by a UDM and a process of determining at least one UPF by an SMF.
As shown in fig. 4, a UPF determination method provided in an embodiment of the present invention may include S101 to S109.
S101, the SMF acquires resource information of a plurality of UPFs.
The resource information of one UPF includes the IP address of the UPF, the identification information of the service corresponding to the UPF, the identification information of the user corresponding to the UPF, and the computing power capability of the UPF.
It should be understood that, when the UE is in AN area covered by a certain (R) AN device, the UPFs are UPFs corresponding to the (R) AN device, that is, UPFs having a connection relationship with the (R) AN device. The SMF may determine at least one UPF that may serve the UE from the plurality of UPFs by determining a plurality of UPFs having a connection relationship with the (R) AN device.
It will be appreciated that a single UPF may support multiple service types, such as video services and car networking services. Specifically, the identification information of one service corresponds to one service type, that is, the identification information of the service corresponding to the UPF may be multiple; similarly, one UPF may also provide services for multiple users, that is, the identification information of the user corresponding to the UPF may also be multiple. Alternatively, the identification information of the user may be a subscriber identity module (SMI) card number of the user.
The computing power of the UPF can be characterized by the maximum core number of the CPU supported by the UPF. For example, assuming that the maximum core number of a CPU supported by a certain UPF is 4, the computing power of the UPF can be expressed as a 4-core CPU.
S102, the SMF determines the hash position of the IP address of the UPF to be recognized on the hash ring based on the IP address of the UPF to be recognized and a preset hash function, determines the position of the identification information of the service corresponding to the UPF to be recognized on the hash ring based on the identification information of the service corresponding to the UPF to be recognized and the preset hash function, determines the position of the identification information of the user corresponding to the UPF to be recognized on the hash ring based on the identification information of the user corresponding to the UPF to be recognized and the preset hash function, and determines the hash position of the computing power of the UPF to be recognized on the hash ring based on the computing power of the UPF and the preset hash function.
Wherein, the UPF to be identified is one of the UPFs.
Specifically, for one type of data included in the resource information of the UPF to be identified, the data is an IP address, identification information of a service, identification information of a user, or computing power capability. The SMF may first map the data into a sequence of numbers; then, carrying out preset hash function operation on the digital sequence to obtain a key value; and then carrying out hash modular operation on the key value to obtain a remainder, namely the hash position of the data on the hash ring.
For example, assuming that the number sequence corresponding to the IP address of the UPF to be identified is 19216810, the preset hash function operates to square the number sequence and take seven bits in the middle, that is, the key value corresponding to the IP address is 8578657, then hash and modulo (8578657/4096) the key value, and the obtained remainder is 1633, and 1633 is the hash position of the IP address on the hash ring. In the embodiment of the present invention, the SMF may store the IP address in a hash position of the IP address on a hash ring, that is, the hash position of the IP address of the UPF to be identified on the hash ring is used to store the IP address of the UPF to be identified.
Similarly, assuming that the number sequence corresponding to the identification information of one service included in the UPF to be identified is 1000101, the number sequence corresponding to the identification information of one user included in the UPF to be identified is 15678432385, and the number sequence corresponding to the computing capability of the UPF to be identified is 10010, the SMF may determine that the hash position of the identification information of the service on the hash ring is 1306, the hash position of the identification information of the user on the hash ring is 2605, and the hash position of the computing capability on the hash ring is 3626. In this embodiment of the present invention, the SMF may further store the identification information of the service, the identification information of the user, and the computation capability in a hash position of the IP address on a hash ring, that is, the hash position of the IP address of the UPF to be recognized on the hash ring is further used to store the identification information of the service corresponding to the UPF to be recognized, the identification information of the user corresponding to the UPF to be recognized, and the computation capability corresponding to the UPF to be recognized. Therefore, when the identification information of the service corresponding to the UPF to be recognized, the identification information of the user corresponding to the UPF to be recognized, and the power calculation capability corresponding to the UPF to be recognized need to be obtained, the hash position of the IP address on the hash ring can be determined according to the IP address of the UPF, and then the identification information of the service corresponding to the UPF to be recognized, the identification information of the user corresponding to the UPF to be recognized, and the power calculation capability corresponding to the UPF to be recognized can be obtained (or obtained) from the hash position.
S103, the SMF determines hash position correction data of the identification information of the service corresponding to the UPF to be identified, hash position correction data of the identification information of the user corresponding to the UPF to be identified and hash position correction data of the computing power capability corresponding to the UPF to be identified.
The hash position correction data of the identification information of the service corresponding to the UPF to be recognized is a difference value between the hash position of the identification information of the service corresponding to the UPF to be recognized on the hash ring and the hash position of the IP address of the UPF to be recognized on the hash ring, the hash position correction data of the identification information of the user corresponding to the UPF to be recognized is a difference value between the hash position of the identification information of the user corresponding to the UPF to be recognized on the hash ring and the hash position of the IP address of the UPF to be recognized on the hash ring, and the hash position correction data of the computational power corresponding to the UPF to be recognized is a difference value between the hash position of the computational power of the UPF to be recognized on the hash ring and the hash position of the IP address of the UPF to be recognized on the hash ring.
With reference to the description of the foregoing embodiments, it should be understood that the hash position of the IP address of the UPF to be recognized on the hash ring may store the IP address of the UPF to be recognized, the identification information of the service corresponding to the UPF to be recognized, the identification information of the user corresponding to the UPF to be recognized, and the computing power of the UPF to be recognized. Thus, when an IP address of a certain UPF needs to be obtained, the service identification information corresponding to the UPF, the user identification information corresponding to the UPF, or the hash position corresponding to the computing power capability corresponding to the UPF (i.e., the hash position of the IP address of the UPF on the hash ring) can be found, and the SMF can also determine the hash position of the service identification information corresponding to the UPF on the hash ring, the hash position of the user identification information corresponding to the UPF on the hash ring, and the computing power capability of the UPF on the hash ring, and can determine the hash position of the IP address of the UPF on the hash ring by combining the hash position correction data of the service identification information corresponding to the UPF, the hash position correction data of the user identification information corresponding to the UPF, or the computing power capability correction data of the UPF, so as to obtain the IP address of the UPF.
It should be noted that, the hash position of the service identification information corresponding to the UPF on the hash ring, the hash position of the user identification information corresponding to the UPF on the hash ring, and the hash position of the computing power capability of the UPF on the hash ring may be understood as the initial hash position corresponding to the service identification information, the initial hash position corresponding to the user identification information, and the initial hash position corresponding to the computing power capability, respectively. The hash position of the IP address of the UPF on the hash ring may be understood as a final hash position corresponding to the identification information of the service, the identification information of the user, and the computation capability. In the embodiment of the present invention, the SMF may determine three kinds of hash position correction data (i.e., hash position correction data of identification information of a service corresponding to the UPF, hash position correction data of identification information of a user corresponding to the UPF, and hash position correction data of the computing power capability of the UPF) based on the three kinds of initial hash positions and the final hash position, and the SMF may determine the final hash position based on the three kinds of initial hash positions and the three kinds of hash position correction data, and acquire the IP address of the UPF from the final hash position.
Optionally, the IP address of the UPF, the identification information of the service corresponding to the UPF, the identification information of the user corresponding to the UPF, and the computation requirement of the UPF may be respectively stored in the final hash position according to a sequence. That is, after the SMF determines the hash position of the IP address of the UPF on the hash ring, it may be determined that the first piece of data is the IP address of the UPF.
Illustratively, in combination with the example in S102, that is, the hash position of the IP address of the UPF to be recognized on the hash ring is 1633, the hash position of the identification information of one service included in the UPF to be recognized on the hash ring is 1306, the hash position of the identification information of one user included in the UPF to be recognized on the hash ring is 2605, and the hash position of the computing power capability of the UPF to be recognized on the hash ring is 3626; SMF may determine that the hash position correction data of the service identification information is 327, the hash position correction data of the user identification information is (4096+ 1633-.
It should be appreciated that because the hash ring is clockwise, 2605 and 3626 are both greater than 1633, so one 4096 should be added in the calculation of the two hash position correction data.
S104, the SMF sends the hash position correction data of the identification information of the service corresponding to the UPF to be identified, the hash position correction data of the identification information of the user corresponding to the UPF to be identified and the hash position correction data of the computing power capability of the UPF to be identified to the UDM.
And S105, the UDM receives the Hash position correction data of the identification information of the service corresponding to the UPF to be identified, the Hash position correction data of the identification information of the user corresponding to the UPF to be identified and the Hash position correction data of the computing capacity of the UPF to be identified, which are sent by the SMF.
It should be understood that, after the UDM receives the above three kinds of hash position correction data sent by the SMF, the three kinds of hash position correction data may be recorded and stored. Further, when the SMF needs to acquire the three kinds of hash position correction data, it can be obtained from the UDM.
S106, the SMF acquires resource demand information corresponding to the target service.
The resource demand information includes identification information of the target service, identification information of a target user, and computational demand of the target service.
It should be understood that the computing power requirement of the target business may be understood as the number of cores that the CPU processing the target business needs to satisfy, for example, the computing power requirement of the target business may be 4-core CPU.
S107, the SMF determines the hash position of the identification information of the target service on the hash ring based on the identification information of the target service and a preset hash function, determines the hash position of the identification information of the target user on the hash ring based on the identification information of the target user and the preset hash function, and determines the hash position of the computing power requirement of the target service on the hash ring based on the computing power requirement of the target service and the preset hash function.
It should be understood that, how to determine the hash position of the identification information of the service on the hash ring, the hash position of the identification information of the user on the hash ring, and the hash position of the computing power on the hash ring may refer to the foregoing embodiments, and details are not described herein again.
It can be understood that the computing power capability is communicated with the meaning of the computing power requirement, the computing power capability is relative to the equipment, and the computing power requirement is relative to the business.
S108, the SMF acquires the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user and the hash position correction data of the calculation force requirement of the target service.
The hash position correction data of the identification information of the target service is the difference value between the hash position of the identification information of the target service on the hash ring and the hash position of the IP address of the UPF corresponding to the identification information of the target service on the hash ring, the hash position correction data of the identification information of the target user is the difference value between the hash position of the identification information of the target user on the hash ring and the hash position of the IP address of the UPF corresponding to the identification information of the target user on the hash ring, and the hash position correction data of the computing power requirement of the target service is the difference value between the hash position of the computing power requirement of the target service on the hash ring and the hash position of the IP address of the UPF corresponding to the computing power requirement of the target service on the hash ring.
In an implementation manner of the embodiment of the present invention, the step S108 specifically includes a step a.
Step A: and the SMF receives the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user and the hash position correction data of the calculation requirement of the target service, which are sent by the UDM.
In connection with the above description of the embodiments, it should be understood that the UDM stores therein a plurality of hash position correction data, that is, hash position correction data that may include identification information of a target service, hash position correction data of identification information of a target user, and hash position correction data of a calculation requirement of the target service. After the SMF sends a request message to the UDM requesting the three kinds of hash position correction data, the UDM may return the three kinds of hash position correction data to the SMF.
It should be noted that the execution sequence of S107 and S108 is not limited by the embodiment of the present invention. For example, S107 and then S108 may be performed first, or S108 and then S107 may be performed first, or S107 and S108 may be performed simultaneously.
S109, the SMF determines the IP address of at least one UPF according to the hash position of the identification information of the target service on the hash ring, the hash position of the identification information of the target user on the hash ring, the hash position of the computing power requirement of the target service on the hash ring, the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user and the hash position correction data of the computing power requirement of the target service.
And the at least one UPF is a UPF corresponding to the identification information of the target service, the identification information of the target user and the calculation requirement of the target service.
In an implementation manner of the embodiment of the present invention, the step S109 may specifically include a step B to a step E.
Step B, SMF determines a first UPF set based on the hash location of the identification information of the target service on the hash ring and the hash location correction data of the identification information of the target service.
The first UPF set comprises a plurality of UPF IP addresses corresponding to the identification information of the target service.
In conjunction with the description of the foregoing embodiment, it should be understood that the hash position of the identification information of the target service on the hash ring is the initial hash position corresponding to the identification information of the target service. The SMF may determine a final hash position corresponding to the identification information of the target service according to the initial hash position corresponding to the identification information of the target service and the hash position correction data of the identification information of the target service, where the final hash position is a hash position of the IP address of the UPF corresponding to the identification information of the target service on a hash ring, that is, the hash position is used to store the identification information of the target service and the IP address of the UPF. Since the hash position correction data of the identification information of the target service may be multiple, the SMF may determine multiple UPFs corresponding to the identification information of the target service, specifically, determine IP addresses (i.e., a first UPF set) of the multiple UPFs.
Step C, SMF determines a second UPF set based on the hash location of the identification information of the target user on the hash ring and the hash location correction data for the identification information of the target user.
And the second UPF set comprises the IP addresses of a plurality of UPFs corresponding to the identification information of the target user.
In conjunction with the description of the above embodiments, it should be understood that the hash position of the identification information of the target user on the hash ring is the initial hash position corresponding to the identification information of the target user. The SMF may determine a final hash position corresponding to the identification information of the target user according to the initial hash position corresponding to the identification information of the target user and the hash position correction data of the identification information of the target user, where the final hash position is a hash position of the IP address of the UPF corresponding to the identification information of the target user on a hash ring, that is, the hash position is used to store the identification information of the target user and the IP address of the UPF. Since the hash position correction data of the identification information of the target user may be multiple, the SMF may determine multiple UPFs corresponding to the identification information of the target user, specifically, determine IP addresses (i.e., a second UPF set) of the multiple UPFs.
Step D, SMF determines a third UPF set based on the hash location of the computing power requirement of the target service on the hash ring and the hash location correction data of the computing power requirement of the target service.
And the third UPF set comprises IP addresses of a plurality of UPFs corresponding to the calculation force requirement of the target service.
In conjunction with the description of the foregoing embodiments, it should be understood that the hash position of the computing power requirement of the target service on the hash ring is the initial hash position corresponding to the computing power requirement of the target service. The SMF may determine a final hash position corresponding to the computing power requirement of the target service according to the initial hash position corresponding to the computing power requirement of the target service and the hash position correction data of the computing power requirement of the target service, where the final hash position is a hash position of the IP address of the UPF corresponding to the computing power requirement of the target service on a hash ring, that is, a hash position for storing the computing power requirement of the target service and the IP address of the UPF. Since the hash position correction data of the computing power requirement of the target service may be multiple, the SMF may determine multiple UPFs corresponding to the computing power requirement of the target service, specifically, determine IP addresses (i.e., a third UPF set) of the multiple UPFs.
Step E, SMF determines an IP address of at least one UPF from the first UPF set, the second UPF combination, and the third UPF set.
Specifically, the SMF determines at least one IP address of a UPF corresponding to the identification information of the target service, the identification information of the target user, and the computational power requirement of the target service from the IP addresses of the UPFs included in the first UPF set, the IP addresses of the UPFs included in the second UPF set, and the IP addresses of the UPFs included in the third UPF set.
In the UPF determining method provided in the embodiment of the present invention, an SMF obtains resource demand information corresponding to a target service, where the resource demand information includes identification information of the target service, identification information of a target user, and a calculation requirement of the target service; based on the identification information of the target service, the identification information of the target user and the calculation power requirement of the target service, and a preset hash function, the SMF respectively determines a hash position of the identification information of the target service on a hash ring, a hash position of the identification information of the target user on the hash ring and a hash position of the calculation power requirement of the target service on the hash ring (namely, an initial hash position corresponding to the identification information of the target service, an initial hash position corresponding to the identification information of the target user and an initial hash position corresponding to the calculation power requirement of the target service); the SMF acquires hash position correction data of identification information of a target service, hash position correction data of identification information of a target user and hash position correction data of calculation force requirements of the target service; and the SMF determines the IP address of at least one UPF according to the three initial hash positions and the three hash position correction data. It should be understood that the SMF may determine a plurality of final hash positions according to an initial hash position and hash position correction data corresponding to the initial hash position, where one final hash position may be used to store corresponding data (i.e., identification information of a target service, identification information of a target user, or a calculation requirement of the target service, etc.) and an IP address of a UPF corresponding to the data, and thus, the SMF may determine at least one UPF corresponding to the identification information of the target service, the identification information of the target user, and the calculation requirement of the target service, and the at least one UPF may satisfy a related service requirement of the UE, and may more reasonably determine the UPF providing the service for the UE, thereby improving user experience.
Optionally, after S109, the method for determining a UPF according to the embodiment of the present invention may further include step F.
Step F, SMF determines a target UPF from the at least one UPF based on a path delay algorithm.
Wherein, the target UPF is used for determining an MEC server for providing service data for the UE.
In conjunction with the description of the above embodiments, it should be understood that for one UPF, the UPF may connect a plurality of MEC servers, and the UPF may determine (or select) an MEC server providing service data for the UE from the plurality of MEC servers.
It is to be understood that the path delay algorithm is used to determine an average delay between each UPF of the at least one UPF and the target base station node (i.e., the base station node having a connection relationship with the UE). Taking one UPF of the at least one UPF as an example, the method may specifically include step 1 to step 6.
Step 1, UPF sends Pdelay Req event message to target base station node, and records time stamp t for sending the Pdelay Req event message1
Step 2, the target base station node receives the Pdelay Req event message sent by the UPF, and records the time stamp t of the received Pdelay Req event message2
Step 3, the target base station node transmits the time stamp t2Packaging the event message into a Pdelay Resp event message, sending the Pdelay Resp event message to a UPF, and recording a time stamp t for sending the Pdelay Resp event message3
Step 4, the target base station node transmits the time stamp t3And packaging the Pdelay Resp Follow Up event message into a Pdelay Resp Follow Up event message, and sending the Pdelay Resp Follow Up event message to the UPF.
Step 5, the UPF receives the Pdelay Resp event message sent by the target base station node, and records the time stamp t of the received Pdelay Resp event message4And resolving the time stamp t contained in the Pdielay Resp event message2
Step 6, the UPF receives the Pdelay Resp Follow Up event message sent by the target base station node, and analyzes the Pdelay Resp Follow Up event messageIncluding time stamp t3
Thus, the UPF can receive 4 time stamps, t1、t2、t3And t4
And, the UPF may determine that the average delay between the UPF and the target base station node satisfies the following formula:
Figure BDA0002989461580000161
wherein, T represents the average time delay between the UPF and the target base station node, T 'represents the time delay from the UPF to the target base station node, and T' represents the time delay from the target base station node to the UPF.
Based on this, the UPF may send the average delay to the SMF after determining the average delay between the UPF and the target base station node, and the SMF determines the target UPF from at least one UPF, where the target UPF is the UPF with the smallest corresponding average delay in the at least one UPF.
In the embodiment of the present invention, the SMF and the like may be divided into functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 5 shows a schematic structural diagram of a UPF determining apparatus in the above embodiment, and as shown in fig. 5, the UPF determining apparatus 40 may include: an acquisition module 401 and a determination module 402.
The obtaining module 401 is configured to obtain resource requirement information corresponding to a target service, where the resource requirement information includes identification information of the target service, identification information of a target user, and a computing power requirement of the target service.
A determining module 402, configured to determine, based on the identification information of the target service and a preset hash function, a hash position of the identification information of the target service on a hash ring, determine, based on the identification information of the target user and the preset hash function, a hash position of the identification information of the target user on the hash ring, and determine, based on the computing power requirement of the target service and the preset hash function, a hash position of the computing power requirement of the target service on the hash ring.
The obtaining module 401 is further configured to obtain hash position correction data of the identification information of the target service, hash position correction data of the identification information of the target user, and hash position correction data of the computing power requirement of the target service, where the hash position correction data of the identification information of the target service is a difference between the hash position of the identification information of the target service on the hash ring and the hash position of the IP address of the UPF corresponding to the identification information of the target service on the hash ring, the hash position correction data of the identification information of the target user is a difference between the hash position of the identification information of the target user on the hash ring and the hash position of the IP address of the UPF corresponding to the identification information of the target user on the hash ring, and the hash position correction data of the computing power requirement of the target service is a hash position of the computing power requirement of the target service on the hash ring, the difference of the hash positions of the IP addresses of the UPFs on the hash ring corresponding to the computing power requirements of the target service.
The determining module 402 is further configured to determine an IP address of at least one UPF according to the hash position of the identification information of the target service on the hash ring, the hash position of the identification information of the target user on the hash ring, the hash position of the computing power requirement of the target service on the hash ring, the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user, and the hash position correction data of the computing power requirement of the target service, where the at least one UPF is a UPF corresponding to all of the identification information of the target service, the identification information of the target user, and the computing power requirement of the target service.
Optionally, the obtaining module 401 is further configured to obtain resource information of multiple UPFs, where the resource information of one UPF includes an IP address of the UPF, identification information of a service corresponding to the UPF, identification information of a user corresponding to the UPF, and computing power capability of the UPF.
The determining module 402 is further configured to determine, based on the IP address of the UPF to be recognized and the preset hash function, a hash position of the IP address of the UPF to be recognized on the hash ring, determine, based on the identification information of the service corresponding to the UPF to be recognized and the preset hash function, a hash position of the identification information of the service corresponding to the UPF to be recognized on the hash ring, determine, based on the identification information of the user corresponding to the UPF to be recognized and the preset hash function, a hash position of the identification information of the user corresponding to the UPF to be recognized on the hash ring, and determine, based on the computing power of the UPF and the preset hash function, a hash position of the computing power of the UPF to be recognized on the hash ring, where the UPF to be recognized is one of the UPFs.
The determining module 402 is further configured to determine hash position correction data of the identification information of the service corresponding to the UPF to be recognized, hash position correction data of the identification information of the user corresponding to the UPF to be recognized, and hash position correction data of the computing power capability of the UPF to be recognized, where the hash position correction data of the identification information of the service corresponding to the UPF to be recognized is a difference value between a hash position of the identification information of the service corresponding to the UPF to be recognized on the hash ring and a hash position of the IP address of the UPF to be recognized on the hash ring, the hash position correction data of the identification information of the user corresponding to the UPF to be recognized is a difference value between a hash position of the identification information of the user corresponding to the UPF to be recognized on the hash ring and a hash position of the IP address of the UPF to be recognized on the hash ring, and the hash position correction data of the computing power capability of the UPF to be recognized on the hash ring and the hash position of the IP address of the UPF to be recognized on the hash ring Difference of hash positions on the ring.
Optionally, the determining module 402 is specifically configured to determine a first UPF set according to the hash position of the identifier information of the target service on the hash ring and the hash position correction data of the identifier information of the target service, where the first UPF set includes IP addresses of multiple UPFs corresponding to the identifier information of the target service.
The determining module 402 is further specifically configured to determine a second UPF set according to the hash position of the identification information of the target user on the hash ring and the hash position correction data of the identification information of the target user, where the second UPF set includes IP addresses of multiple UPFs corresponding to the identification information of the target user.
The determining module 402 is further specifically configured to determine a third UPF set according to the hash position of the computing power requirement of the target service on the hash ring and the hash position correction data of the computing power requirement of the target service, where the third UPF set includes IP addresses of multiple UPFs corresponding to the computing power requirement of the target service.
The determining module 402 is further specifically configured to determine an IP address of the at least one UPF from the first UPF set, the second UPF set, and the third UPF set.
Optionally, the UPF determining apparatus 40 may further include a sending module 403 and a receiving module 404.
A sending module 403, configured to send, to the unified data management UDM, hash position correction data of the identification information of the service corresponding to the UPF to be recognized, hash position correction data of the identification information of the user corresponding to the UPF to be recognized, and hash position correction data of the computing capability of the UPF to be recognized.
A receiving module 404, configured to receive the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user, and the hash position correction data of the computing requirement of the target service, which are sent by the UDM.
Optionally, the determining module 402 is further configured to determine a target UPF from the at least one UPF based on a path delay algorithm, where the target UPF is used to determine a mobile edge computing MEC server providing service data for the user equipment UE.
Fig. 6 shows a schematic diagram of a possible structure of the UPF determining apparatus according to the above embodiment, in the case of an integrated unit. As shown in fig. 6, the UPF determining device 50 may include: a processing module 501 and a communication module 502. The processing module 501 may be used to control and manage the actions of the UPF determining apparatus 50. The communication module 502 may be used to support communication of the UPF determination apparatus 50 with other entities. Optionally, as shown in fig. 6, the UPF determining apparatus 50 may further include a storage module 503 for storing program codes and data of the UPF determining apparatus 50.
The processing module 501 may be a processor or a controller (for example, the processor 301 shown in fig. 3). The communication module 502 may be a transceiver, a transceiver circuit, or a communication interface, etc. (e.g., may be the network interface 303 as shown in fig. 3 described above). The storage module 503 may be a memory (e.g., may be the memory 302 described above with reference to fig. 3).
When the processing module 501 is a processor, the communication module 502 is a transceiver, and the storage module 503 is a memory, the processor, the transceiver, and the memory may be connected by a bus. The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the invention are all or partially effected when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for determining a User Plane Function (UPF) is characterized by comprising the following steps:
a Session Management Function (SMF) acquires resource demand information corresponding to a target service, wherein the resource demand information comprises identification information of the target service, identification information of a target user and computing power demand of the target service;
the SMF determines a hash position of the identification information of the target service on a hash ring based on the identification information of the target service and a preset hash function, determines a hash position of the identification information of the target user on the hash ring based on the identification information of the target user and the preset hash function, and determines a hash position of the computing power requirement of the target service on the hash ring based on the computing power requirement of the target service and the preset hash function;
the SMF acquires Hash position correction data of identification information of the target service, Hash position correction data of identification information of the target user and Hash position correction data of the computing power requirement of the target service, wherein the Hash position correction data of the identification information of the target service is the difference value of the Hash position of the identification information of the target service on a Hash ring and the Hash position of an Internet protocol IP address of UPF corresponding to the identification information of the target service on the Hash ring, the Hash position correction data of the identification information of the target user is the difference value of the Hash position of the identification information of the target user on the Hash ring and the Hash position of the IP address of the UPF corresponding to the identification information of the target user on the Hash ring, and the Hash position correction data of the computing power requirement of the target service is the Hash position of the computing power requirement of the target service on the Hash ring, a difference value of hash positions of the IP addresses of the UPFs on the hash ring corresponding to the computing power requirements of the target services;
the SMF determines an IP address of at least one UPF according to the hash position of the identification information of the target service on the hash ring, the hash position of the identification information of the target user on the hash ring, the hash position of the computing power requirement of the target service on the hash ring, the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user and the hash position correction data of the computing power requirement of the target service, wherein the at least one UPF is a UPF corresponding to the identification information of the target service, the identification information of the target user and the computing power requirement of the target service.
2. The UPF determining method according to claim 1, wherein before the SMF obtains the resource requirement information corresponding to the target service, the method further comprises:
the SMF acquires resource information of a plurality of UPFs, wherein the resource information of one UPF comprises an IP address of the UPF, identification information of a service corresponding to the UPF, identification information of a user corresponding to the UPF and computing power capability of the UPF;
the SMF determines a hash position of the IP address of the UPF to be recognized on the hash ring based on the IP address of the UPF to be recognized and the preset hash function, determines a hash position of the identification information of the service corresponding to the UPF to be recognized on the hash ring based on the identification information of the service corresponding to the UPF to be recognized and the preset hash function, determines a hash position of the identification information of the user corresponding to the UPF to be recognized on the hash ring based on the identification information of the user corresponding to the UPF to be recognized and the preset hash function, and determines a hash position of the computing power of the UPF to be recognized on the hash ring based on the computing power of the UPF to be recognized and the preset hash function, wherein the UPF to be recognized is one of the UPFs;
the SMF determines Hash position correction data of identification information of a service corresponding to the UPF to be recognized, Hash position correction data of identification information of a user corresponding to the UPF to be recognized and Hash position correction data of computing power capability of the UPF to be recognized, the Hash position correction data of the identification information of the service corresponding to the UPF to be recognized is a difference value between a Hash position of the identification information of the service corresponding to the UPF to be recognized on the Hash ring and a Hash position of an IP address of the UPF to be recognized on the Hash ring, the Hash position correction data of the identification information of the user corresponding to the UPF to be recognized is a difference value between a Hash position of the identification information of the user corresponding to the UPF to be recognized on the Hash ring and an IP address of the UPF to be recognized on the Hash ring, and the Hash position correction data of computing power capability of the UPF to be recognized is a Hash position of the computing power capability of the UPF to be recognized on the Hash ring and the UPF to be Identifying a difference in hash positions of the IP address of the UPF on the hash ring.
3. The UPF determining method according to claim 2, wherein the SMF determines the IP address of at least one UPF according to the hash position of the identification information of the target service on a hash ring, the hash position of the identification information of the target user on the hash ring, the hash position of the computing power requirement of the target service on the hash ring, the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user, and the hash position correction data of the computing power requirement of the target service, and includes:
the SMF determines a first UPF set according to the hash position of the identification information of the target service on the hash ring and the hash position correction data of the identification information of the target service, wherein the first UPF set comprises IP addresses of a plurality of UPFs corresponding to the identification information of the target service;
the SMF determines a second UPF set according to the hash position of the identification information of the target user on the hash ring and the hash position correction data of the identification information of the target user, wherein the second UPF set comprises IP addresses of a plurality of UPFs corresponding to the identification information of the target user;
the SMF determines a third UPF set according to the hash position of the computing power demand of the target service on the hash ring and the hash position correction data of the computing power demand of the target service, wherein the third UPF set comprises IP addresses of a plurality of UPFs corresponding to the computing power demand of the target service;
the SMF determines an IP address of the at least one UPF from the first UPF set, the second UPF set, and the third UPF set.
4. The UPF determination method according to claim 3, wherein after the SMF determines the hash position correction data of the identification information of the service corresponding to the UPF to be identified, the hash position correction data of the identification information of the user corresponding to the UPF to be identified, and the hash position correction data of the computing power capability of the UPF to be identified, the method further comprises:
the SMF sends hash position correction data of the identification information of the service corresponding to the UPF to be identified, hash position correction data of the identification information of the user corresponding to the UPF to be identified and hash position correction data of the computing power capability of the UPF to be identified to a Unified Data Management (UDM);
the SMF acquiring hash position correction data of the identification information of the target service, hash position correction data of the identification information of the target user, and hash position correction data of the calculation requirement of the target service, includes:
and the SMF receives the Hash position correction data of the identification information of the target service, the Hash position correction data of the identification information of the target user and the Hash position correction data of the calculation requirement of the target service, which are sent by the UDM.
5. The UPF determination method according to any of claims 1 to 4, wherein after the SMF determines the IP address of at least one UPF according to the hash position of the identification information of the target service on the hash ring, the hash position of the identification information of the target user on the hash ring, the hash position of the computational requirement of the target service on the hash ring, the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user, and the hash position correction data of the computational requirement of the target service, the method further comprises:
and the SMF determines a target UPF from the at least one UPF based on a path delay algorithm, wherein the target UPF is used for determining a mobile edge computing MEC server for providing service data for the user equipment UE.
6. A user plane function UPF determining apparatus, comprising: the device comprises an acquisition module and a determination module;
the acquisition module is used for acquiring resource demand information corresponding to a target service, wherein the resource demand information comprises identification information of the target service, identification information of a target user and computing power demand of the target service;
the determining module is configured to determine, based on the identification information of the target service and a preset hash function, a hash position of the identification information of the target service on a hash ring, determine, based on the identification information of the target user and the preset hash function, a hash position of the identification information of the target user on the hash ring, and determine, based on the computing power requirement of the target service and the preset hash function, a hash position of the computing power requirement of the target service on the hash ring;
the acquiring module is further configured to acquire hash position correction data of the identification information of the target service, hash position correction data of the identification information of the target user, and hash position correction data of the computing power requirement of the target service, where the hash position correction data of the identification information of the target service is a difference between a hash position of the identification information of the target service on the hash ring and a hash position of an internet protocol IP address of a UPF corresponding to the identification information of the target service on the hash ring, the hash position correction data of the identification information of the target user is a difference between a hash position of the identification information of the target user on the hash ring and a hash position of an IP address of a UPF corresponding to the identification information of the target user on the hash ring, and the hash position correction data of the computing power requirement of the target service is a hash position correction data of the computing power requirement of the target service on the hash ring And the difference value of the hash position of the IP address of the UPF corresponding to the calculation force requirement of the target service on the hash ring;
the determining module is further configured to determine an IP address of at least one UPF according to the hash position of the identification information of the target service on the hash ring, the hash position of the identification information of the target user on the hash ring, the hash position of the calculation requirement of the target service on the hash ring, the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user, and the hash position correction data of the calculation requirement of the target service, where the at least one UPF is a UPF corresponding to the identification information of the target service, the identification information of the target user, and the calculation requirement of the target service.
7. The UPF determination apparatus according to claim 6,
the obtaining module is further configured to obtain resource information of a plurality of UPFs, where the resource information of one UPF includes an IP address of the UPF, identification information of a service corresponding to the UPF, identification information of a user corresponding to the UPF, and a computing power capability of the UPF;
the determining module is further configured to determine, based on the IP address of the UPF to be recognized and the preset hash function, a hash position of the IP address of the UPF to be recognized on the hash ring, determine, based on the identification information of the service corresponding to the UPF to be recognized and the preset hash function, a hash position of the identification information of the service corresponding to the UPF to be recognized on the hash ring, determine, based on the identification information of the user corresponding to the UPF to be recognized and the preset hash function, a hash position of the identification information of the user corresponding to the UPF to be recognized on the hash ring, and determine, based on the computing power capability of the UPF and the preset hash function, a hash position of the computing power capability of the UPF to be recognized on the hash ring, where the UPF to be recognized is one of the multiple UPFs;
the determining module is further configured to determine hash position correction data of the identification information of the service corresponding to the UPF to be recognized, hash position correction data of the identification information of the user corresponding to the UPF to be recognized, and hash position correction data of the computing power capability of the UPF to be recognized, where the hash position correction data of the identification information of the service corresponding to the UPF to be recognized is a difference value between a hash position of the identification information of the service corresponding to the UPF to be recognized on the hash ring and a hash position of the IP address of the UPF to be recognized on the hash ring, the hash position correction data of the identification information of the user corresponding to the UPF to be recognized is a difference value between a hash position of the identification information of the user corresponding to the UPF to be recognized on the hash ring and a hash position of the IP address of the UPF to be recognized on the hash ring, and the hash position correction data of the computing power capability of the UPF to be recognized is a hash position of the computing power capability of the UPF to be recognized on the hash ring A difference between the desired location and the hash location of the IP address of the UPF to be identified on the hash ring.
8. The UPF determination apparatus according to claim 7,
the determining module is specifically configured to determine a first UPF set according to the hash position of the identifier information of the target service on the hash ring and hash position correction data of the identifier information of the target service, where the first UPF set includes IP addresses of multiple UPFs corresponding to the identifier information of the target service;
the determining module is specifically further configured to determine a second UPF set according to the hash position of the identification information of the target user on the hash ring and hash position correction data of the identification information of the target user, where the second UPF set includes IP addresses of multiple UPFs corresponding to the identification information of the target user;
the determining module is specifically further configured to determine a third UPF set according to the hash position of the computing power demand of the target service on the hash ring and the hash position correction data of the computing power demand of the target service, where the third UPF set includes IP addresses of multiple UPFs corresponding to the computing power demand of the target service;
the determining module is further specifically configured to determine an IP address of the at least one UPF from the first UPF set, the second UPF set, and the third UPF set.
9. The UPF determination apparatus of claim 8, wherein the determination apparatus further comprises a sending module and a receiving module;
the sending module is used for sending hash position correction data of the identification information of the service corresponding to the UPF to be identified, hash position correction data of the identification information of the user corresponding to the UPF to be identified and hash position correction data of the computing power capability of the UPF to be identified to a Unified Data Management (UDM);
and the receiving module is used for receiving the hash position correction data of the identification information of the target service, the hash position correction data of the identification information of the target user and the hash position correction data of the calculation requirement of the target service, which are sent by the UDM.
10. The UPF determination device according to any of the claims 6-9,
the determining module is further configured to determine a target UPF from the at least one UPF based on a path delay algorithm, where the target UPF is used to determine a mobile edge computing MEC server providing service data for the user equipment UE.
CN202110310415.9A 2021-03-23 2021-03-23 UPF (unified power flow) determination method and device Active CN113115332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110310415.9A CN113115332B (en) 2021-03-23 2021-03-23 UPF (unified power flow) determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110310415.9A CN113115332B (en) 2021-03-23 2021-03-23 UPF (unified power flow) determination method and device

Publications (2)

Publication Number Publication Date
CN113115332A true CN113115332A (en) 2021-07-13
CN113115332B CN113115332B (en) 2022-08-12

Family

ID=76710518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110310415.9A Active CN113115332B (en) 2021-03-23 2021-03-23 UPF (unified power flow) determination method and device

Country Status (1)

Country Link
CN (1) CN113115332B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023016461A1 (en) * 2021-08-10 2023-02-16 维沃移动通信有限公司 Resource allocation method and apparatus for computing task, network element, and medium
WO2023016396A1 (en) * 2021-08-10 2023-02-16 维沃移动通信有限公司 Computing session updating method and apparatus, and communication device
WO2023116560A1 (en) * 2021-12-21 2023-06-29 华为技术有限公司 Communication method and apparatus
WO2023246584A1 (en) * 2022-06-21 2023-12-28 维沃移动通信有限公司 Computing power processing method and apparatus, and communication device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110891269A (en) * 2018-09-10 2020-03-17 华为技术有限公司 Data protection method, equipment and system
WO2020248888A1 (en) * 2019-06-14 2020-12-17 华为技术有限公司 Communication method, apparatus and system
US20200404497A1 (en) * 2018-03-05 2020-12-24 Huawei Technologies Co., Ltd. Message processing method and system, and user plane function device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200404497A1 (en) * 2018-03-05 2020-12-24 Huawei Technologies Co., Ltd. Message processing method and system, and user plane function device
CN110891269A (en) * 2018-09-10 2020-03-17 华为技术有限公司 Data protection method, equipment and system
WO2020248888A1 (en) * 2019-06-14 2020-12-17 华为技术有限公司 Communication method, apparatus and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023016461A1 (en) * 2021-08-10 2023-02-16 维沃移动通信有限公司 Resource allocation method and apparatus for computing task, network element, and medium
WO2023016396A1 (en) * 2021-08-10 2023-02-16 维沃移动通信有限公司 Computing session updating method and apparatus, and communication device
WO2023116560A1 (en) * 2021-12-21 2023-06-29 华为技术有限公司 Communication method and apparatus
WO2023246584A1 (en) * 2022-06-21 2023-12-28 维沃移动通信有限公司 Computing power processing method and apparatus, and communication device

Also Published As

Publication number Publication date
CN113115332B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN113115332B (en) UPF (unified power flow) determination method and device
EP3657894B1 (en) Network security management method and apparatus
CN111901135B (en) Data analysis method and device
US11812496B2 (en) User group session management method and apparatus
WO2021037175A1 (en) Network slice management method and related device
CN110933061B (en) Communication method and device
EP3771242A1 (en) Key generation method and relevant apparatus
CN113115299B (en) URSP rule updating method and device
US20220272607A1 (en) Network Access Method and Communication Apparatus
CN112312466A (en) Method, device and system for sending event report
CN113543165B (en) Communication method, device and system
WO2020256742A1 (en) Method and apparatus for admission control of sessions based on priority
EP4319093A1 (en) Method and apparatus for selecting edge application server
CN112087777B (en) MDBV (minimum drive buffer volume) determination method, device and system
CN110933709A (en) Protocol data unit session management method and communication device
WO2021227600A1 (en) Network slice control method and communication apparatus
CN116723507B (en) Terminal security method and device for edge network
CN115996378A (en) Authentication method and device
CN116097751A (en) Re-anchoring with SMF reselection
CN113453222B (en) Communication method and device
CN116528234B (en) Virtual machine security and credibility verification method and device
CN115396873B (en) Communication method, device, server and storage medium
CN117202287B (en) Order distribution management method and device based on big data analysis
CN115567899B (en) Error analysis method and device for intelligent ammeter
CN117439819B (en) PDU cabinet safety monitoring method

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