CN111917808B - Load control method, service provider NF and service user NF - Google Patents

Load control method, service provider NF and service user NF Download PDF

Info

Publication number
CN111917808B
CN111917808B CN201910384598.1A CN201910384598A CN111917808B CN 111917808 B CN111917808 B CN 111917808B CN 201910384598 A CN201910384598 A CN 201910384598A CN 111917808 B CN111917808 B CN 111917808B
Authority
CN
China
Prior art keywords
load control
service
control information
resource
service provider
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910384598.1A
Other languages
Chinese (zh)
Other versions
CN111917808A (en
Inventor
陈旭
宋月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910384598.1A priority Critical patent/CN111917808B/en
Priority to PCT/CN2020/085295 priority patent/WO2020224413A1/en
Publication of CN111917808A publication Critical patent/CN111917808A/en
Application granted granted Critical
Publication of CN111917808B publication Critical patent/CN111917808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

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

Abstract

The invention provides a load control method, a service provider NF and a service user NF, wherein the method comprises the following steps: receiving a service request message sent by a service user NF; sending a service response message to the service user NF, wherein the service response message carries the resource address of the load control information; the embodiment of the invention solves the problem that the existing HTTP protocol can not carry out different operations on a plurality of resources in one service call by carrying the resource address of the load control information in the service response message, can superpose a universal end-to-end load control mechanism in the service call, and avoids expanding parameters with more quantity and complex types in the HTTP protocol, thereby being beneficial to flexibly expanding the load control information and avoiding the compatibility problem.

Description

Load control method, service provider NF and service user NF
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a load control method, a service provider NF, and a service user NF.
Background
The 5G core Network adopts a service interface, service call among Network Functions (NF) is designed facing to resources, and each service can only carry out specific operation aiming at one resource.
The 5G core network adopts a service architecture, and interfaces among the NF adopt service interfaces. The 5G services interface has explicitly used HTTP (HyperText Transfer Protocol)/2 + TCP (Transmission Control Protocol) Protocol. NF uses a communication mechanism for service invocation, which is implemented by HTTP, and is different from a messaging mechanism of P2P (peer-to-peer). An Application Programming Interface (API) design style adopts Representational State Transfer (REST), and in terms of resources, the following considerations are required:
operations on a given resource (create, read, update, delete) and supported HTTP methods (processing that a client wants a server to perform on a resource).
When each service is called, the operation/HTTP method for the resource is related to the specific business process implemented by the service, and only specific operation can be performed for one resource, and the resource and the specific operation are designed according to the upper application logic.
The signaling interworking between the 5G NF is in the control plane of the core network. Under the scenes of NF faults or emergencies such as geological disasters, a user may trigger a large number of attachment, session establishment and call routing query processes to generate a signaling storm. For end-to-end load control, the service provider NF needs to report its load status and control policy to each service user NF in real time. The load control information process is independent of the specific interface and the specific service.
In the prior art, reporting of the load status of a service provider NF to a relevant service consumer NF is implemented by an NRF (Network discovery Function) subscription/notification mechanism. That is, the service user NF needs to subscribe to the load status of the service provider NF from the NRF, and the service provider NF needs to register the load status of the NF and the load status of all services on the NF with the NRF and update them. There are the following problems:
1. the end-to-end load control needs to transmit load control information of a service provider (NF), including load information, congestion level, load control algorithm, load control validity period and the like of the NF, and has complex contents and flexible expansion requirements. However, the current NF registration information only supports one parameter of capacity (capacity) for the load status, and is only suitable for the service user to use in service discovery and NF selection, and cannot implement control mechanisms such as end-to-end flow adjustment.
2. The load status update process and the notification process involve NRF, and need to detect the subscription event of NF, the real-time performance is poor, and the notification cannot be directed to the user who causes a certain service to reduce the number of service requests.
The HTTP base protocol does not support carrying of load control information in the header parameters at present, and if the HTTP base protocol is supported by using the extended parameters, the parameters need to be continuously defined, which is not favorable for flexible extension.
Disclosure of Invention
Embodiments of the present invention provide a load control method, a service provider NF, and a service user NF, so as to solve a problem that a conventional HTTP protocol cannot perform different operations on multiple resources in one service call.
In order to solve the above problem, an embodiment of the present invention provides a load control method, applied to a service provider network function NF, including:
receiving a service request message sent by a service user NF;
and sending a service response message to the service user NF, wherein the service response message carries the resource address of the load control information.
Wherein the method further comprises:
creating load control information and generating a resource address of the load control information.
Wherein the load control information is stored on the service provider NF, or the load control information is stored on another network entity.
Wherein, in case the load control information is stored on other network entities,
the network entity storing the load control information is able to provide a resource address of the load control information.
Wherein the creating of the load control information and the generating of the resource address of the load control information comprises:
after the service provider NF starts operation, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provided by the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
and under the condition that the load of the service provided by the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information.
Wherein, the service response message also carries description information for indicating the resource name and/or the usage of the load control information.
Wherein the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
Wherein the method further comprises:
and updating the load control information according to the load control information of the service provider NF and/or the load control information of at least one service provided by the service provider NF.
Wherein the load control information is a resource including a plurality of resource attributes.
Wherein the load control information comprises at least one of the following information:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
a load control policy of the service provider NF;
load information of at least one service provided by a service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
a load control validity period of at least one service provided by a service provider NF;
load control policy for at least one service provided by the service provider NF.
The service request message is a service request of any service call of the service user NF to any service provided by the service provider NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
The embodiment of the invention also provides a load control method, which is applied to the network function NF of the service user and comprises the following steps:
sending a service request message to a service provider (NF);
receiving a service response message sent by the service provider NF, wherein the service response message carries a resource address of load control information;
and acquiring the load control information according to the resource address of the load control information.
Wherein the method further comprises:
and triggering the flow control of the service request message of the service provider NF according to the load control information.
Wherein, according to the resource address of the load control information, acquiring the load control information comprises:
acquiring the load control information from the service provider NF according to the resource address of the load control information;
alternatively, the first and second electrodes may be,
and acquiring the load control information from a network entity storing the load control information according to the resource address of the load control information.
Wherein, the service response message also carries description information for indicating the resource name and/or the usage of the load control information.
Wherein the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
Wherein the load control information is a resource including a plurality of resource attributes.
Wherein the load control information comprises at least one of the following information:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
a load control policy of the service provider NF;
load information of at least one service provided by a service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
a load control validity period of at least one service provided by a service provider NF;
a load control policy of at least one service provided by the service provider NF.
The service request message is a service request of any service call of the service user NF to any service provided by the service provider NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
The embodiment of the invention also provides a service provider NF, which comprises a processor and a transceiver, wherein the processor is used for controlling the transceiver to execute the following processes:
receiving a service request message sent by a service user NF;
and sending a service response message to the service user NF, wherein the service response message carries the resource address of the load control information.
Wherein the processor is further configured to:
creating load control information and generating a resource address of the load control information.
Wherein the load control information is stored on the service provider NF, or the load control information is stored on another network entity.
Wherein, in case the load control information is stored on other network entities,
the network entity storing the load control information is able to provide a resource address of the load control information.
Wherein the processor is further configured to:
after the service provider NF starts operation, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second liquid crystal display panels may be,
under the condition that the load of the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information;
alternatively, the first and second liquid crystal display panels may be,
under the condition that the load of the service provided by the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
and under the condition that the load of the service provided by the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information.
Wherein, the service response message also carries description information for indicating the resource name and/or the usage of the load control information.
Wherein the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
Wherein the processor is further configured to:
and updating the load control information according to the load control information of the service provider NF and/or the load control information of at least one service provided by the service provider NF.
Wherein the load control information is a resource including a plurality of resource attributes.
Wherein the load control information comprises at least one of the following information:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
a load control policy of the service provider NF;
load information of at least one service provided by a service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
a load control validity period of at least one service provided by a service provider NF;
a load control policy of at least one service provided by the service provider NF.
The service request message is a service request of any service call of the service user NF to any service provided by the service provider NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
The embodiment of the invention also provides a service user NF, which comprises a processor and a transceiver, wherein the transceiver is used for executing the following processes:
sending a service request message to a service provider (NF);
receiving a service response message sent by the service provider NF, wherein the service response message carries a resource address of the load control information;
the processor is used for executing the following processes:
and acquiring the load control information according to the resource address of the load control information.
Wherein the processor is further configured to perform the following process:
and triggering the flow control of the service request message of the service provider NF according to the load control information.
Wherein the processor is further configured to:
acquiring the load control information from the service provider NF according to the resource address of the load control information;
alternatively, the first and second electrodes may be,
and acquiring the load control information from a network entity storing the load control information according to the resource address of the load control information.
Wherein, the service response message also carries description information for indicating the resource name and/or the usage of the load control information.
Wherein the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
Wherein the load control information is a resource including a plurality of resource attributes.
Wherein the load control information comprises at least one of the following information:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
a load control policy of the service provider NF;
load information of at least one service provided by a service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
a load control validity period of at least one service provided by a service provider NF;
a load control policy of at least one service provided by the service provider NF.
The service request message is a service request of any service call of the service user NF to any service provided by the service provider NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
The embodiment of the invention also provides a network module NF, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor; wherein the processor implements the load control method as described above when executing the program.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the load control method as described above.
The technical scheme of the invention at least has the following beneficial effects:
in the load control method, the service provider NF and the service user NF of the embodiment of the invention, when the service provider NF receives a service request message of the service user NF, the service provider NF sends a resource address of the load control information to the service user NF through a current service response message.
Drawings
Fig. 1 is a flowchart illustrating steps of a load control method applied to a service provider NF according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a flow of acquiring load control information in the load control method according to an embodiment of the present invention;
fig. 3 is a second schematic view illustrating a process of acquiring load control information in the load control method according to the embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a manner of a resource address carrying load control information in a service response message in a load control method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating steps of a load control method applied to a service user NF according to an embodiment of the invention;
FIG. 6 is a block diagram of a service provider NF according to an embodiment of the invention;
fig. 7 is a schematic structural diagram of a service user NF according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a load control method, applied to a service provider network function NF, including:
step 11, receiving a service request message sent by a service user NF;
and step 12, sending a service response message to the service user NF, wherein the service response message carries the resource address of the load control information.
The service provider NF may also be an HTTP server or other network nodes capable of performing the same operation, which is not limited in this embodiment.
Preferably, after the service provider NF starts end-to-end load control, when receiving a service request message from the service user NF, the service response message (including success and failure) carries the resource address of the load control information.
Optionally, the Resource address of the load control information is a Resource address in a URI (Uniform Resource Identifier) format.
Optionally, the load control information is a resource including a plurality of resource attributes; alternatively, the load control information is a structured resource, and the structured resource may contain resource attributes of different levels.
As an alternative embodiment, the method further comprises:
creating load control information and generating a resource address of the load control information.
The load control information created by the service provider NF may be stored on the service provider NF, or the load control information may be stored on another network entity. The network entity storing the load control information is capable of providing a resource address of the load control information in case the load control information is stored on another network entity.
For example, as shown in fig. 2, the load control information created by the service provider NF is on the service provider NF, and URI #1 is a resource address of the load control information. The service provider NF carries the resource address (i.e. app resource, _ link: URI #1 in fig. 2) in the service response message, and the service user NF obtains the load control information from the service provider NF according to the resource address and performs load control.
As shown in fig. 3, the load control information resources created by the service provider NF are located at the load control information storage entity. The resource address of the load control information is provided by the load control information storage entity. After the service provider NF obtains the resource address of the load control information (URI #1 is the resource address of the load control information), the service provider NF carries the resource address (i.e. the address _ link: URI #1 in fig. 2) in the service response message, and the service user NF obtains the load control information from the resource address load removal control information storage entity and performs load control.
Further, the creating load control information and generating the resource address of the load control information includes:
after the service provider NF starts operation, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provided by the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
and under the condition that the load of the service provided by the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information.
In short, the service provider NF may generate the load control information and the resource address after starting operation, or may generate the load control information and the resource address after the load or the load of a certain service meets a certain end-to-end load control threshold or congestion level when the signaling storm impacts.
As a preferred embodiment, the service response message further carries description information for indicating a resource name and/or a purpose of the load control information.
In other words, the service provider NF may also carry the resource address of the load control information carried in the service response message, and may also carry description information of the load control information, and may indicate the resource name and/or the usage.
As another preferred embodiment, the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
In other words, the resource address of the load control information carried in the service response message by the service provider NF may be located in a resource attribute of the original resource in the service response message; or in a resource attribute of a particular resource that is separate from the original resource.
For example, as shown in FIG. 4, a _link { } is a resource attribute of the APP resource, and carries href and relationship parameters, where href indicates a resource address URI of the load control information, and relationship indicates a use of the resource corresponding to the resource address (OCI: overload control information).
Further, after the service provider NF starts end-to-end load control, the method further includes:
and updating the load control information according to the load control information of the service provider NF and/or the load control information of at least one service provided by the service provider NF.
Optionally, the load control information includes at least one of the following information:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
a load control policy of the service provider NF; e.g., predefined traffic priorities, service priorities, etc.;
load information of at least one service provided by a service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
a load control validity period of at least one service provided by a service provider NF;
a load control policy of at least one service provided by the service provider NF, such as a service operation priority, etc.
The load control information includes the above information as a resource attribute of the load control information.
It should be further noted that the service request message is a service request of any service invocation of the service user NF on any service provided by the service provider NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
As an optional embodiment, the service response message carries resource addresses of multiple pieces of load control information; the service response message also carries: and instruction information that matches the resource addresses of the plurality of pieces of load control information, respectively, the instruction information being used to instruct the conditions to which the load control information corresponding to the resource addresses is applied. Specifically, the indication information may indicate load control logic of the load control information corresponding to the resource address, and the like.
In the embodiment of the invention, the service provider NF indicates the end-to-end load control logic, so that the problem of inconsistent mismatch between the local strategy of the service user NF and the strategy of the service provider NF can be avoided, and the load control requirement of the service provider NF can be better met.
Further, the service response message also carries:
and the service name and the service operation respectively corresponding to the resource addresses of the plurality of pieces of load control information are used for indicating the service call which can be executed subsequently to the service user NF.
In the embodiment of the present invention, the service provider NF indicates the load control logic by providing the resource address of different load control information and the applicable condition thereof. The service response message may also include a service name and a service operation, indicating to the service consumer NF the service call that can be subsequently executed and the address of the resource involved.
In summary, in the embodiments of the present invention, when receiving a service request message from a service user NF, a service provider NF sends a resource address of load control information to the service user NF through a current service response message, and the embodiments of the present invention, by carrying the resource address of the load control information in the service response message, solve the problem that different operations cannot be performed on multiple resources in one service invocation in the existing HTTP protocol on the one hand, and can superimpose a general end-to-end load control mechanism in the service invocation on the other hand, avoid extending parameters with a large number and complex types in the HTTP protocol on the other hand, which is beneficial to flexibly extending the load control information and avoiding the compatibility problem. In the embodiment of the invention, the service provider NF also indicates the end-to-end load control logic, so that the problem of inconsistent mismatch between the local strategy of the service user NF and the strategy of the service provider NF can be avoided, and the load control requirement of the service provider NF can be better met.
As shown in fig. 5, an embodiment of the present invention further provides a load control method applied to a network function NF of a service user, including:
step 21, sending a service request message to a service provider NF;
step 22, receiving a service response message sent by the service provider NF, where the service response message carries a resource address of the load control information;
and step 23, acquiring the load control information according to the resource address of the load control information.
In the embodiment of the invention, when receiving a service request message of a service user NF, a service provider NF sends a resource address of load control information to the service user NF through a current service response message, and after receiving the resource address of the load control information, the service user NF acquires the load control information according to the resource address of the load control information.
The service user NF may also be an HTTP client or other network node capable of performing the same operation, and is not limited herein.
Preferably, after the service provider NF starts end-to-end load control, when receiving a service request message from the service user NF, the service response message (including success and failure) carries the resource address of the load control information.
Optionally, the Resource address of the load control information is a Resource address in a URI (Uniform Resource Identifier) format.
Optionally, the load control information is a resource including a plurality of resource attributes; alternatively, the load control information is a structured resource, which may contain different levels of resource attributes.
Further, the method further comprises:
and triggering the flow control of the service request message of the service provider NF according to the load control information.
In other words, the service user NF receives the resource address of the load control information from the service response message, acquires the load control information of the service provider NF according to the resource address, and triggers the flow control of the service request message to the service provider NF according to the load control information.
It should be noted that the load control information created by the service consumer NF may be stored on the service provider NF, or the load control information may be stored on another network entity. The network entity storing the load control information is capable of providing a resource address of the load control information in case the load control information is stored on another network entity.
Accordingly, step 23 comprises:
acquiring the load control information from the service provider NF according to the resource address of the load control information;
alternatively, the first and second electrodes may be,
and acquiring the load control information from a network entity storing the load control information according to the resource address of the load control information.
As a preferred embodiment, the service response message further carries description information for indicating a resource name and/or a purpose of the load control information.
In other words, the service provider NF may also carry the resource address of the load control information carried in the service response message, and may also carry description information of the load control information, and may indicate the resource name and/or the usage.
As another preferred embodiment, the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
In other words, the resource address of the load control information carried in the service response message by the service provider NF may be located in a resource attribute of the original resource in the service response message; or in a resource attribute of a particular resource that is separate from the original resource.
Optionally, the load control information includes at least one of the following information:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
a load control policy of the service provider NF;
load information of at least one service provided by the service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
a load control validity period of at least one service provided by a service provider NF;
a load control policy of at least one service provided by the service provider NF.
The load control information includes the above information as a resource attribute of the load control information.
It should be further noted that the service request message is a service request of any service invocation of the service user NF on any service provided by the service provider NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
As an optional embodiment, the service response message carries resource addresses of a plurality of pieces of load control information; the service response message also carries: and instruction information that matches the resource addresses of the plurality of pieces of load control information, respectively, the instruction information being used to instruct the conditions to which the load control information corresponding to the resource addresses is applied. Specifically, the indication information may indicate load control logic of load control information corresponding to the resource address, and the like.
In the embodiment of the invention, the service provider NF indicates the end-to-end load control logic, so that the problem of inconsistent mismatch between the local strategy of the service user NF and the strategy of the service provider NF can be avoided, and the load control requirement of the service provider NF can be better met.
Further, the service response message also carries:
and the service name and the service operation respectively corresponding to the resource addresses of the plurality of pieces of load control information are used for indicating the service call which can be executed subsequently to the service user NF.
In the embodiment of the present invention, the service provider NF indicates the load control logic by providing the resource address of different load control information and the applicable condition thereof. The service response message may also include a service name and a service operation, indicating to the service consumer NF the service call that can be subsequently executed and the address of the resource involved.
Correspondingly, the method further comprises the following steps: and executing subsequent service calling according to the service name, the service operation and the resource address carried in the service response message.
In other words, after receiving the resource address list and the applicable conditions of the load control information, the service user NF obtains the load control information according to the applicable conditions and the resource address; and simultaneously executing subsequent service calling according to the service name and the service operation.
In summary, in the above embodiments of the present invention, when receiving the service request message of the service user NF, the service provider NF sends the resource address of the load control information to the service user NF through the current service response message, and after receiving the resource address of the load control information, the service user NF obtains the load control information according to the resource address of the load control information; the embodiment of the invention solves the problem that the existing HTTP protocol can not carry out different operations on a plurality of resources in one service call by carrying the resource address of the load control information in the service response message, can superpose a universal end-to-end load control mechanism in the service call, and avoids expanding parameters with more quantity and complex types in the HTTP protocol, thereby being beneficial to flexibly expanding the load control information and avoiding the compatibility problem. In the embodiment of the invention, the service provider NF also indicates the end-to-end load control logic, so that the problem of inconsistent mismatch between the local strategy of the service user NF and the strategy of the service provider NF can be avoided, and the load control requirement of the service provider NF can be better met.
As shown in fig. 6, an embodiment of the present invention further provides a service provider NF, including a processor 300 and a transceiver 310, where the processor 300 is configured to control the transceiver 310 to perform the following processes:
receiving a service request message sent by a service user NF;
and sending a service response message to the service user NF, wherein the service response message carries the resource address of the load control information.
Optionally, in the foregoing embodiment of the present invention, the processor 300 is further configured to:
creating load control information and generating a resource address of the load control information.
Optionally, in the above embodiment of the present invention, the load control information is stored in the service provider NF, or the load control information is stored in another network entity.
Optionally, in the above embodiments of the present invention, in case that the load control information is stored on other network entities,
the network entity storing the load control information is able to provide a resource address of the load control information.
Optionally, in the foregoing embodiment of the present invention, the processor 300 is further configured to:
after the service provider NF starts operation, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provided by the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
and under the condition that the load of the service provided by the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information.
Optionally, in the foregoing embodiment of the present invention, the service response message further carries description information for indicating a resource name and/or a use of the load control information.
Optionally, in the foregoing embodiment of the present invention, the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
Optionally, in the foregoing embodiment of the present invention, the processor 300 is further configured to:
and updating the load control information according to the load control information of the service provider NF and/or the load control information of at least one service provided by the service provider NF.
Optionally, in the foregoing embodiment of the present invention, the load control information is a resource including a plurality of resource attributes.
Optionally, in the foregoing embodiment of the present invention, the load control information includes at least one of the following information:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
a load control policy of the service provider NF;
load information of at least one service provided by a service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
a load control validity period of at least one service provided by a service provider NF;
a load control policy of at least one service provided by the service provider NF.
Optionally, in the foregoing embodiment of the present invention, the service request message is a service request of any service invocation of any service provided by the service provider NF by the service user NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
In summary, in the embodiments of the present invention, when receiving a service request message from a service user NF, a service provider NF sends a resource address of load control information to the service user NF through a current service response message, and the embodiment of the present invention carries the resource address of the load control information in the service response message, so as to solve the problem that the existing HTTP protocol cannot perform different operations on multiple resources in one service invocation, and superimpose a general end-to-end load control mechanism in the service invocation, and on the other hand, avoid extending parameters with a large number and a complex type in the HTTP protocol, thereby facilitating flexible extension of the load control information and avoiding the problem of compatibility. In the embodiment of the invention, the service provider NF also indicates the end-to-end load control logic, so that the problem of inconsistent mismatch between the local strategy of the service user NF and the strategy of the service provider NF can be avoided, and the load control requirement of the service provider NF can be better met.
It should be noted that the service provider NF provided in the embodiment of the present invention is a service provider NF capable of executing the load control method, and all embodiments of the load control method are applicable to the service provider NF and can achieve the same or similar beneficial effects.
An embodiment of the present invention further provides a base station, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the processes in the embodiment of the load control method applied to the service provider NF when executing the program, and can achieve the same technical effects, and details are not repeated here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the processes in the embodiment of the load control method applied to the service provider NF, and can achieve the same technical effects, and in order to avoid repetition, the processes are not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As shown in fig. 7, an embodiment of the present invention further provides a service user NF, which includes a processor 400 and a transceiver 410, where the transceiver 410 is configured to perform the following processes:
sending a service request message to a service provider (NF);
receiving a service response message sent by the service provider NF, wherein the service response message carries a resource address of load control information;
the processor 400 is configured to perform the following processes:
and acquiring the load control information according to the resource address of the load control information.
Optionally, in the foregoing embodiment of the present invention, the processor 400 is further configured to perform the following processes:
and triggering the flow control of the service request message of the service provider NF according to the load control information.
Optionally, in the foregoing embodiment of the present invention, the processor 400 is further configured to:
acquiring the load control information from the service provider NF according to the resource address of the load control information;
alternatively, the first and second electrodes may be,
and acquiring the load control information from a network entity storing the load control information according to the resource address of the load control information.
Optionally, in the foregoing embodiment of the present invention, the service response message further carries description information for indicating a resource name and/or a use of the load control information.
Optionally, in the foregoing embodiment of the present invention, the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
Optionally, in the foregoing embodiment of the present invention, the load control information is a resource including a plurality of resource attributes.
Optionally, in the above embodiment of the present invention, the load control information includes at least one of the following information:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
a load control policy of the service provider NF;
load information of at least one service provided by the service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
a load control validity period of at least one service provided by a service provider NF;
a load control policy of at least one service provided by the service provider NF.
Optionally, in the foregoing embodiment of the present invention, the service request message is a service request of any service invocation of any service provided by the service provider NF for the service user NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
In summary, in the above embodiments of the present invention, when receiving the service request message of the service user NF, the service provider NF sends the resource address of the load control information to the service user NF through the current service response message, and after receiving the resource address of the load control information, the service user NF obtains the load control information according to the resource address of the load control information; the embodiment of the invention solves the problem that the existing HTTP protocol can not carry out different operations on a plurality of resources in one service call by carrying the resource address of the load control information in the service response message, can superpose a universal end-to-end load control mechanism in the service call, and avoids expanding parameters with more quantity and complex types in the HTTP protocol, thereby being beneficial to flexibly expanding the load control information and avoiding the compatibility problem. In the embodiment of the invention, the service provider NF also indicates the end-to-end load control logic, so that the problem of inconsistent mismatch between the local strategy of the service user NF and the strategy of the service provider NF can be avoided, and the load control requirement of the service provider NF can be better met.
It should be noted that the service user NF provided by the embodiment of the present invention is a service user NF capable of executing the load control method, and all embodiments of the load control method are applicable to the service user NF and can achieve the same or similar beneficial effects.
An embodiment of the present invention further provides a base station, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the processes in the above-described embodiment of the load control method applied to the NF of the service user when executing the program, and can achieve the same technical effects, and details are not repeated here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the processes in the above-described embodiment of the load control method applied to the NF of the service user, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (23)

1. A load control method is applied to a service provider network function NF, and is characterized by comprising the following steps:
receiving a service request message sent by a service user NF;
sending a service response message to the service user NF, wherein the service response message carries a resource address of load control information, and the load control information comprises: a load control policy of the service provider NF, and/or a load control policy of at least one service provided by the service provider NF;
wherein, the resource address of the load control information is multiple; the service response message also carries: and indication information which is matched with the resource addresses of the plurality of pieces of load control information respectively, wherein the indication information is used for indicating the application condition of the load control information corresponding to the resource addresses.
2. The method of claim 1, further comprising:
creating load control information and generating a resource address of the load control information.
3. The method of claim 2, wherein the load control information is stored on the service providing NF or wherein the load control information is stored on another network entity.
4. The method according to claim 3, wherein, in case the load control information is stored on other network entities,
the network entity storing the load control information is able to provide a resource address of the load control information.
5. The method of claim 2, wherein creating the load control information and generating the resource address for the load control information comprises:
after the service provider NF starts operation, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
under the condition that the load of the service provided by the service provider NF meets a preset load control threshold, creating load control information and generating a resource address of the load control information;
alternatively, the first and second electrodes may be,
and under the condition that the load of the service provided by the service provider NF meets a preset congestion level, creating load control information and generating a resource address of the load control information.
6. The method of claim 1, wherein the service response message further carries description information indicating a resource name and/or a usage of the load control information.
7. The method of claim 1, wherein the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource related to the service request in the service response message.
8. The method of claim 2, further comprising:
and updating the load control information according to the load control information of the service provider NF and/or the load control information of at least one service provided by the service provider NF.
9. The method of claim 1, wherein the load control information is a resource comprising a plurality of resource attributes.
10. The method of claim 1, wherein the load control information comprises at least one of:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
load information of at least one service provided by a service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
the service provider NF provides a load control validity period for at least one service.
11. The method of claim 1, wherein the service request message is a service request of any service invocation from a service consumer NF to any service provided by a service provider NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
12. A load control method applied to a network function NF of a service user is characterized by comprising the following steps:
sending a service request message to a service provider (NF);
receiving a service response message sent by the service provider NF, wherein the service response message carries a resource address of load control information, and the load control information comprises: a load control policy of the service provider NF, and/or a load control policy of at least one service provided by the service provider NF;
wherein, the resource address of the load control information is multiple; the service response message also carries: indication information respectively matched with the resource addresses of the plurality of load control information, wherein the indication information is used for indicating the applicable condition of the load control information corresponding to the resource addresses;
and acquiring the load control information according to the resource address of the load control information.
13. The method of claim 12, further comprising:
and triggering the flow control of the service request message of the service provider NF according to the load control information.
14. The method of claim 12, wherein obtaining the load control information according to the resource address of the load control information comprises:
acquiring the load control information from the service provider NF according to the resource address of the load control information;
alternatively, the first and second electrodes may be,
and acquiring the load control information from a network entity storing the load control information according to the resource address of the load control information.
15. The method according to claim 12, wherein the service response message further carries description information indicating a resource name and/or a usage of the load control information.
16. The method of claim 12, wherein the resource address of the load control information is located in a resource attribute of the first resource in the service response message;
the first resource is a resource related to the service request in the service response message, or the first resource is an independent resource of the resource related to the service request in the service response message.
17. The method of claim 12, wherein the load control information is a resource comprising a plurality of resource attributes.
18. The method of claim 12, wherein the load control information comprises at least one of:
load information of the service provider NF;
congestion level of the service provider NF;
a load control algorithm of the service provider NF;
the load control validity period of the service provider NF;
load information of at least one service provided by the service provider NF;
a congestion level of at least one service provided by the service provider NF;
a load control algorithm for at least one service provided by the service provider NF;
the load control lifetime of at least one service provided by the service provider NF.
19. The method of claim 12, wherein the service request message is a service request of any service invocation from a service consumer NF to any service provided by a service provider NF;
the service response message is a service response of the service provider NF to a service request message of any service invocation of any service sent by the service consumer NF.
20. A service provider NF comprising a processor and a transceiver, wherein said processor is configured to control said transceiver to perform the following:
receiving a service request message sent by a service user NF;
sending a service response message to the service user NF, wherein the service response message carries the resource address of the load control information; the load control information includes: a load control policy of the service provider NF, and/or a load control policy of at least one service provided by the service provider NF;
wherein, the resource address of the load control information is multiple; the service response message also carries: and instruction information that matches the resource addresses of the plurality of pieces of load control information, respectively, the instruction information being used to instruct the conditions to which the load control information corresponding to the resource addresses is applied.
21. A service user NF comprising a processor and a transceiver, wherein said transceiver is configured to perform the following:
sending a service request message to a service provider (NF);
receiving a service response message sent by the service provider NF, wherein the service response message carries a resource address of load control information, and the load control information comprises: a load control policy of the service provider NF, and/or a load control policy of at least one service provided by the service provider NF;
wherein, the resource address of the load control information is multiple; the service response message also carries: indication information respectively matched with the resource addresses of the plurality of load control information, wherein the indication information is used for indicating the applicable condition of the load control information corresponding to the resource addresses; the processor is used for executing the following processes:
and acquiring the load control information according to the resource address of the load control information.
22. A network module NF comprising a memory, a processor and a computer program stored on said memory and executable on said processor; wherein the processor implements the load control method according to any one of claims 1 to 11 when executing the program; alternatively, the processor, when executing the program, implements a load control method as claimed in any of claims 12-19.
23. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the load control method according to any one of claims 1-11; alternatively, the program when executed by a processor implements the steps in the load control method of any of claims 12-19.
CN201910384598.1A 2019-05-09 2019-05-09 Load control method, service provider NF and service user NF Active CN111917808B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910384598.1A CN111917808B (en) 2019-05-09 2019-05-09 Load control method, service provider NF and service user NF
PCT/CN2020/085295 WO2020224413A1 (en) 2019-05-09 2020-04-17 Load control method, service provider nf, and service user nf

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910384598.1A CN111917808B (en) 2019-05-09 2019-05-09 Load control method, service provider NF and service user NF

Publications (2)

Publication Number Publication Date
CN111917808A CN111917808A (en) 2020-11-10
CN111917808B true CN111917808B (en) 2022-06-03

Family

ID=73051278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910384598.1A Active CN111917808B (en) 2019-05-09 2019-05-09 Load control method, service provider NF and service user NF

Country Status (2)

Country Link
CN (1) CN111917808B (en)
WO (1) WO2020224413A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656937A (en) * 2015-11-03 2017-05-10 电信科学技术研究院 Access control method, access control token issuing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632312B (en) * 2017-03-20 2020-01-17 中国移动通信有限公司研究院 Network function information interaction method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656937A (en) * 2015-11-03 2017-05-10 电信科学技术研究院 Access control method, access control token issuing method and device

Also Published As

Publication number Publication date
WO2020224413A1 (en) 2020-11-12
CN111917808A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN112868206B (en) Method, system and computer readable medium for providing service broker functionality
US20210235542A1 (en) Message and system for application function influence on traffic routing
CN109474936B (en) Internet of things communication method and system applied among multiple lora gateways
US11563649B2 (en) NF service consumer restart detection using direct signaling between NFs
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
CN110730478B (en) Slice association method, device, end-to-end slice organizer and storage medium
CN106878072B (en) Message transmission method and device
CN112751897B (en) Load balancing method, device, medium and equipment
CN112969209B (en) Switching control method and device of service server, electronic equipment and storage medium
JP2022537643A (en) Resource subscription method, device, server and computer storage medium
EP3057287A1 (en) Node allocation method, device and system
EP3808151A1 (en) A method of and a device for operating network gateway services in a service based telecommunications system
CN111917808B (en) Load control method, service provider NF and service user NF
CN114390629B (en) Control method and system for backhaul route of 5G network terminal
US20230385161A1 (en) Network nodes and methods therein for providing backup network function
WO2018077313A1 (en) Connection capability notification method and device
US11924294B2 (en) Service request handling
US20230275974A1 (en) Network functionality (nf) aware service provision based on service communication proxy (scp)
WO2016177135A1 (en) Resource management method, device, and control terminal
EP3896926A1 (en) Network device and packet processing method using same
CN112055083B (en) Request processing method and device, electronic equipment and medium
US20240015232A1 (en) Bound service request handling
CN112702801B (en) Method and device for establishing session
US20230141872A1 (en) Shared reference for a charging data resource for pdu sessions in communications system
WO2023148124A1 (en) Session management for redundant pdu sessions

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