CN115297495A - Method and device for acquiring network element information and electronic equipment - Google Patents

Method and device for acquiring network element information and electronic equipment Download PDF

Info

Publication number
CN115297495A
CN115297495A CN202211056989.9A CN202211056989A CN115297495A CN 115297495 A CN115297495 A CN 115297495A CN 202211056989 A CN202211056989 A CN 202211056989A CN 115297495 A CN115297495 A CN 115297495A
Authority
CN
China
Prior art keywords
network element
information
target
field
interaction
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.)
Pending
Application number
CN202211056989.9A
Other languages
Chinese (zh)
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.)
Asiainfo Technologies China Inc
Original Assignee
Asiainfo Technologies China Inc
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 Asiainfo Technologies China Inc filed Critical Asiainfo Technologies China Inc
Priority to CN202211056989.9A priority Critical patent/CN115297495A/en
Publication of CN115297495A publication Critical patent/CN115297495A/en
Pending legal-status Critical Current

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
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application provides a method and a device for acquiring network element information, electronic equipment, a computer readable storage medium and a computer program product, and relates to the field of 5G. The method comprises the following steps: and the first network element sends an interaction request to the second network element and waits for the feedback of the second network element. If an interaction result which carries the target field and is fed back by the second network element based on the interaction request is received, acquiring corresponding information of the target field from the interaction result; wherein the information corresponding to the target field includes at least one item of target information describing the second network element. In the solution provided in the embodiment of the present application, when no NRF network element is configured in the network, or when the NRF does not provide the target information of the second network element, the first network element may further obtain the target information of the second network element in a manner of directly interacting with the second network element, so as to perform daily service processing according to the obtained target information.

Description

Method and device for acquiring network element information and electronic equipment
Technical Field
The present application relates to the field of 5G technologies, and in particular, to a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for acquiring network element information.
Background
At present, if a 5G core network deploys an NRF network element, an SMF may report its load information to the NRF through an NF registration and NF update interface. When the AMF sends an SMF service discovery request to the NRF, the NRF will bring the load of each SMF to the AMF.
When no NRF is deployed in the 5G core network or NRF is deployed but SMF does not report load, AMF cannot know load information of SMF. There is no relevant solution to this problem for the time being.
Disclosure of Invention
An embodiment of the present application aims to provide a method, an apparatus, an electronic device, and a related product for acquiring network element information, which are used to solve one of the above technical problems. In order to achieve the purpose, the following scheme is provided in the embodiment of the application.
On one hand, the embodiment of the application provides a method for acquiring network element information, which is applied to a first network element; the method comprises the following steps:
sending an interaction request to a second network element; if an interaction result carrying a target field and fed back by the second network element based on the interaction request is received, acquiring information corresponding to the target field from the interaction result; the information corresponding to the target field includes at least one item of target information describing the second network element.
Optionally, the target field includes a time field and other fields; and the time information corresponding to the time field is the time for describing that the second network element provides the target information corresponding to other fields.
Optionally, the method further comprises:
comparing the received time information with current historical time information; the historical time information is the time for describing that the second network element acquires historical target information corresponding to other fields; and if the comparison result is different, storing the received time information and the target information.
Optionally, the first network element is an AMF network element, and the second network element is an SMF network element.
Optionally, the interaction requests any of the following requests:
creating a session request; wherein the interaction result comprises session management context created data, and the session management context created data comprises a target field.
Updating the session request; wherein the interaction result comprises session management context updated data, and the session management context updated data comprises a target field.
Releasing the session request; the interaction result comprises the released data of the session management context, and the released data of the session management context comprises a target field.
Optionally, the other fields include a load information field, and information corresponding to the load information field is used to describe load information of the SMF network element.
On the other hand, the embodiment of the application provides a method for acquiring network element information, which is applied to a second network element; the method comprises the following steps:
responding to an interactive request sent by a first network element, and performing transaction processing; if the processing result is successful, feeding back an interaction result carrying the target field and corresponding information to the first network element; the information corresponding to the destination field includes at least one item of destination information describing the second network element.
Optionally, the target field includes a time field and other fields; feeding back an interaction result carrying a target field and corresponding information to the first network element, wherein the interaction result comprises the following steps:
acquiring target information corresponding to other fields and current time; comparing the obtained target information with historical target information; the historical target information is the target information obtained last time; if the comparison result is not within the preset range, carrying the current time and the acquired target information in the interaction result; if the comparison result is within the preset range, carrying the historical target information and the time corresponding to the historical target information in the interaction result; and feeding back the interaction result to the first network element.
Optionally, the first network element is an AMF, and the second network element is an SMF; the target field comprises a load information field, and the corresponding information of the load information field is the load information of the second network element; acquiring target information corresponding to other fields, including:
and processing according to the current CPU use information, the memory use information and the current accessed user number to obtain the load information of the second network element.
On the other hand, the embodiment of the present application further provides a device for acquiring network element information, which is applied to a first network element; the device includes:
and the transceiver module is used for sending the interaction request to the second network element.
The acquisition module is used for acquiring corresponding information of the target field from the interaction result if the interaction result which carries the target field and is fed back by the second network element based on the interaction request is received; the information corresponding to the target field includes at least one item of target information describing the second network element.
In still another aspect, an embodiment of the present application further provides a device for acquiring network element information, which is applied to a second network element; the device includes:
and the processing module is used for responding to the interaction request sent by the first network element and performing transaction processing.
The receiving and sending module is used for feeding back an interaction result carrying the target field and corresponding information to the first network element if the processing result is successful; the information corresponding to the target field includes at least one item of target information describing the second network element.
An embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory, where the processor executes the computer program to implement the steps of any one of the methods in the embodiment of the present application.
The embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of any one of the methods in the embodiments of the present application.
Embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods described in the embodiments of the present application are implemented.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
the embodiment of the application provides a method for acquiring network element information, which is applied to a first network element and comprises the following steps: and the first network element sends an interaction request to the second network element and waits for the feedback of the second network element. If an interaction result which carries the target field and is fed back by the second network element based on the interaction request is received, acquiring corresponding information of the target field from the interaction result; wherein the information corresponding to the target field includes at least one item of target information describing the second network element. In the method of the embodiment of the application, when the 5G core network is not configured with the NRF, or the NRF does not provide the target information of the second network element, the target information of the second network element may also be obtained in a manner of directly interacting with the second network element, so as to perform daily service processing according to the obtained target information.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic view of a session creation scenario provided in the related art;
FIG. 2 is a 5G system architecture provided in the related art;
fig. 3 is a schematic flowchart of a method for acquiring network element information according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a process for responding to an interactive request according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another method for acquiring network element information according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for acquiring network element information according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another apparatus for acquiring network element information according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the embodiments set forth below in connection with the drawings are exemplary descriptions for explaining technical solutions of the embodiments of the present application, and do not limit the technical solutions of the embodiments of the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the terms "comprises" and/or "comprising," when used in this specification in connection with embodiments of the present application, specify the presence of stated features, information, data, steps, operations, elements, and/or components, but do not preclude the presence or addition of other features, information, data, steps, operations, elements, components, and/or groups thereof, as embodied in the art. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein indicates at least one of the items defined by the term, e.g., "a and/or B" may be implemented as "a", or as "B", or as "a and B".
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
In a 5G core network, AMF (Access and mobility Management Function) and SMF (Session Management Function) are two important control plane network elements. The AMF is responsible for the access and mobility management functions of the user equipment; the SMF network element is responsible for session management of a User, address allocation of a terminal device, selection of a UPF (User Plane Function) network element, and tunnel establishment. In one network, there are a plurality of AMFs and SMFs.
Fig. 1 shows a scene diagram of session creation based on a 5G core network. In this scenario, the process of creating a session is specifically as follows: UE sends control plane signaling to AMF through N1 interface, or AN sends control plane signaling to AMF through N2 interface; after receiving any control plane signaling, the AMF needs to select an adaptive SMF from the multiple SMFs, and select a UPF from the adaptive SMF to perform session flow creation. The 3gpp 23.501 protocol describes the general procedure and method for selecting an adaptive SMF, and a plurality of factors that may affect the selection result, including the load of the SMF. For example, for several SMFs that all satisfy the condition, the SMF with the higher residual load should be selected as much as possible, and the SMF with the higher residual load has a greater probability to be selected. In order to be able to select an SMF based on "load", the AMF needs to acquire load information of the SMF in advance.
Currently, the protocol provides that each NF (Network element) must register with an NRF (Network Repository Function) to provide services when it is started. Each NF provides NFProfile of the NF at registration, and the NFProfile at least includes the following contents: NFtype, NF instance ID, NF capacity, IP address of NF, slice information supported by NF, PLMN ID (Public Land Mobile Network, which can uniquely identify a communication operator) of NF, etc. After registering, each network element reports changes such as supported function updates and device offline to the NRF. When each network element is registered, it may also notify the NRF of the NF of interest, and the NRF may pay attention to and notify when any new NF is registered (for example, when the AMF is registered, it notifies the NRF of the network element of interest being the SMF).
Fig. 2 shows a 5G system architecture in which AMF, SMF and NRF are connected, and NRF accepts registration of AMF and NRF. When the SMF is registered, the NFProfile may further include load information of the SMF; when registering in the AMF, the AMF may also send an interested network element as an SMF to the NRF, and once there is an SMF registration, the AMF can know, and the AMF can obtain load information of the SMF by acquiring NFProfile of the SMF.
However, the protocol specifies the load information in NFProfile as padding information, that is, NFProfile may not have compliance information. If the NFProfile does not include the load information, the AMF cannot acquire the load information of the SMF through the NRF. In addition, there is a 5G system architecture in which NRFs may not be deployed. Therefore, without NRF deployment, load information of SMF cannot be acquired.
The embodiment of the present application provides a method for acquiring network element information, so as to solve one of the above technical problems. The method may be applicable to a plurality of network elements in a 5G system architecture, such as a first network element (e.g., AMF) and a second network element (e.g., SMF). Specifically, the method comprises the following steps: the first network element sends an interaction request to the second network element; after receiving the sent interactive request, the second network element performs transaction processing, and if the processing result is successful, feeds back an interactive result carrying a target field and corresponding information to the first network element, wherein the information corresponding to the target field comprises at least one item of target information describing the second network element; after the first network element receives the interaction result, the interaction information of the second network element can be obtained. The method obtains the target information through normal interaction processing, and avoids that the target information of the second network element can be obtained through a direct interaction mode with the second network element when the NRF is not configured or the target information of the second network element is not in the NRF, so that the daily service processing can be executed according to the obtained target information.
Optionally, the method provided in this embodiment of the present application is based on a 3gpp 23.501 protocol, and is implemented to improve multiple pieces of structured data defined in the 3gpp29.502 protocol, such as the following structured data: the session management context has created data (smcontextcreatedata), the session management context has updated data (SmContextUpdatedData), and the session management context has released data (smcontextthreadeddata).
In order to make the technical solutions provided by the present application clearer, the following describes the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application through the description of several exemplary embodiments. It should be noted that the following embodiments may be referred to, referred to or combined with each other, and the description of the same terms, similar features, similar implementation steps and the like in different embodiments is not repeated.
Fig. 3 is a flowchart illustrating a method for acquiring network element information according to an embodiment of the present application. Wherein the method is applied to a first network element. As shown in fig. 3, the method includes steps S310 to S320.
S310, the interactive request is sent to the second network element.
S320, if receiving an interaction result carrying a target field fed back by the second network element based on the interaction request, acquiring information corresponding to the target field from the interaction result; the information corresponding to the target field includes at least one item of target information describing the second network element.
Optionally, the target field includes a time field and other fields. Wherein, the time information corresponding to the time field is the time for describing the target information corresponding to other fields provided by the second network element.
In an optional embodiment, the first network element is an AMF, and the second network element is an SMF.
Alternatively, one AMF may be connected to one or more SMFs.
Optionally, a session management context needs to be constructed between each AMF and SMF.
Optionally, the interactive request may be any one of the following requests: creating a session request, updating a session request, and releasing a session request.
Creating a session request: the interaction result includes session management context created data, which includes the target field.
Optionally, the target field includes a field describing load information, and the target information includes the load information. It should be noted that the target information may also include other types of information.
Specifically, if the AMF selects the target SMF as the SMF of the session creation flow, the AMF sends a session creation request to the target SMF to create the session management context. The session creation request carries information of the mobile phone side and the base station side, such as SUPI, PLMN, access protocol type (4G/5G), and location of the terminal. The target SMF creates a session management context upon receiving the create session request. And if the session is successfully established, feeding back the established data of the session management context. The session management context created data includes load information at the current time and a timestamp at the current time. The session management context created data also includes information of the created session, such as a session ID, and the like.
Optionally, if the creation fails, session creation failure information is fed back.
Referring to the flowchart of an interactive request shown in fig. 4 for example, in the interactive scenario, the interactive scenario includes step 1 and step 2, step 1 is that the AMF sends an interactive request to the SMF, and step 2 is that the SMF sends feedback to the AMF according to the interactive request.
With reference to fig. 4, step 1: the AMF sends a session creation request to the SMF to request creation of a session management context. Step 2: and the SMF carries out session creation according to the session creation request to obtain the created data of the session management context, and feeds back the created data of the session management context to the AMF. The session management context created data includes load information load at the current time and a current timestamp loadTimeStamp.
Updating the session request: the interaction result includes session management context updated data, the session management context updated data including the target field.
Optionally, the target field includes a field describing load information, and the target information includes the load information. It should be noted that the target information may also include other types of information.
Specifically, if the AMF knows that the information of the SMF is updated, the AMF sends an update session request to the SMF. The SMF updates the corresponding session management context after receiving the update session request. The update session request carries various parameters, such as PLMN, access type (2G/3G/4G/5G), location of the ue, time zone, etc. And if the updating is successful, obtaining the updated data SmContextUpdateData of the session management context, and feeding back the updated data of the session management context to the AMF in the form of the updated data of the session management context. The updated data of the session management context includes load information load at the current time and a current timestamp loadTimeStamp.
Alternatively, if the user terminal changes from base station 1 to base station 2, the base station information in the corresponding session management context needs to be adjusted. The adjustment may involve updating of load information of the SMF.
Illustratively, after designating the target SMF as the SMF that creates the session flow, the AMF will proactively send a request to the target SMF to modify the load information of the target SMF. And after receiving the request, the target SMF determines the session management context to be updated according to the request and updates the session management context. Since each session management context may take a certain load in the SMF. If the session management context is updated, the load information of the SMF is updated.
Referring again to fig. 4, step 1: the AMF sends an update session request to the SMF to request an update of the corresponding session management context. And 2, after receiving the session updating request, the SMF acquires the corresponding session management context and updates the session management context to obtain updated data of the session management context. The session management context created data includes load information load at the current time and a current timestamp loadTimeStamp.
Releasing the session request: the interaction result includes session management context released data, which includes the target field.
Optionally, the target field includes a field describing load information, and the target information includes the load information. It should be noted that the target information may also include other types of information.
Specifically, if the AMF learns that the user terminal has terminated the session service, the AMF sends a session release request to the target SMF to release the corresponding session management context. Wherein, the session release request carries information such as session ID. And after receiving the session release request, the target SMF releases the corresponding session management context. And if the release is successful, feeding back the released data of the session management context. The session management context released data includes load information at the current time and a timestamp at the current time.
Referring again to fig. 4, step 1: the AMF sends a session release request to the SMF to request that the corresponding session management context be released. And 2, step: the SMF performs a release operation according to the session ID carried in the session creation request to obtain session management context released data (smcontextriesseddata), and feeds back the session management context created data to the AMF. The session management context created data includes load information load at the current time and a current timestamp loadTimeStamp.
Since the session creation/update/release operation is the most frequent operation between the AMF and the SMF, the load information of the SMF at the current time can be obtained once every time any one of the above operations is performed, so as to obtain the latest load information of the SMF, and the adaptive SMF can be selected for the control plane signaling sent by various user terminals through the latest load information. Wherein SmContextCreatedData is obtained after the session creation operation is carried out; smContextUpdatedData is obtained after the session update operation, and SmContextTreleedData is obtained after the session release operation. By carrying the load information load of the SMF at the current time in the various data and the current timestamp load timestamp, the purpose of feeding back the latest load information can be realized.
In an optional embodiment, the method may further comprise:
comparing the received time information with current historical time information; the historical time information is the time for describing that the second network element obtains the historical target information corresponding to other fields; and if the comparison result is different, storing the received time information and the target information. And if the comparison result is the same, abandoning to store the target information.
Optionally, after the information corresponding to the target field is obtained from the interaction result, storing the target field and the corresponding target information is further included. After the storage, the time information is updated to the historical time information, and the target information is updated to the historical target information.
Alternatively, the historical time information may exist in plural. The current historical time information is the time corresponding to the time field closest to the current time.
The embodiment of the application provides a method for acquiring network element information, which is applied to a first network element and comprises the following steps: and the first network element sends an interaction request to the second network element and waits for the feedback of the second network element. If an interaction result which carries the target field and is fed back by the second network element based on the interaction request is received, acquiring corresponding information of the target field from the interaction result; wherein the information corresponding to the target field includes at least one item of target information describing the second network element. According to the method in the embodiment of the application, when no NRF network element is configured in the network or NRF does not provide the target information of the second network element, the target information of the second network element can be acquired in a direct interaction manner with the second network element, so that daily service processing can be executed according to the acquired information of the second network element.
In the 5G system architecture, there are other combinations of network elements besides such a combination of AMF and SMF. Such as SMF and UDM, SMF needs to acquire information stored in UDM in order to perform session creation; for example, SMF and PCF, SMF needs to obtain information of multiple PCFs to determine which PCF sends the control policy to perform session control. In the related art, the problem of how to acquire UDM and PCF information is generally solved by configuring NRFs. Based on the scheme provided by the embodiment of the application, the information can be acquired through interaction between the two network elements. Taking SMF and UDM as examples, when UDM feeds back the interaction result to SMF, time information and information corresponding to other fields may also be added to the feedback result to feed back the target information.
Fig. 5 is a flowchart illustrating another method for acquiring network element information according to an embodiment of the present application. Wherein the method is applied to the second network element. As shown in fig. 5, the method includes steps S510 to S520.
S510, performing a transaction process in response to the interaction request sent by the first network element.
Optionally, if a session creation request is received, creating a corresponding session management context; if receiving a request for updating the session, updating the corresponding session management context; and if receiving the session release request, releasing the corresponding session management context.
S520, if the processing result is successful, feeding back an interaction result carrying the target field and corresponding information to the first network element; the information corresponding to the target field includes at least one item of target information describing the second network element.
Specifically, target information corresponding to other fields is obtained, and time information corresponding to the operation is obtained; comparing the obtained target information with historical target information; the historical target information is the target information obtained last time; if the comparison result is not within the preset range, carrying the time information corresponding to the acquisition operation and the acquired target information in the interaction result; if the comparison result is within the preset range, carrying the historical target information and the time information for acquiring the historical target information in the interaction result; and feeding back the interaction result to the first network element.
Optionally, after the target field and the corresponding target information are sent each time, the target field and the corresponding target information are stored, and the stored target information is history target information.
Optionally, if the information corresponding to the target field is numerical value information, subtracting a numerical value corresponding to the target information from a numerical value corresponding to the historical target information to obtain a difference value. A difference range is preset, namely the preset range. If the difference value is not within the range of the difference value, carrying the current time and the obtained target information in the interaction result; and if the difference value is within the range of the difference value, carrying the historical target information and the time corresponding to the historical target information in the interaction result. And the time corresponding to the historical target information is the time for acquiring the historical target information.
Optionally, if the difference is within the range of the difference, it may also be selected not to carry any target information in the interaction result.
To avoid notifying the AMF of every change, a difference range may be set, and the AMF is notified of the interaction result after the load change exceeds the difference range.
In an optional embodiment, the first network element is an AMF, and the second network element is an SMF. The target field comprises a load information field, and the information corresponding to the information field is the load information of the second network element. Acquiring target information corresponding to other fields, which may specifically include:
and processing according to the current CPU use information, the memory use information and the current accessed user number to obtain the load information of the second network element.
Optionally, processing is performed according to the current CPU usage information, memory usage information, and the number of currently accessed users, so as to obtain a numerical value. Wherein the value ranges from 0 to 100. Where 0 represents the minimum load and 100 represents the maximum load. Thus, the load information may be a comprehensive indicator.
Fig. 6 shows a schematic structural diagram of an apparatus for acquiring network element information according to an embodiment of the present application. Wherein the apparatus 600 is applied to a first network element, the apparatus 600 includes the following modules.
A transceiver module 610, configured to send an interaction request to the second network element.
An obtaining module 620, configured to, if an interaction result carrying a target field and fed back by a second network element based on the interaction request is received, obtain information corresponding to the target field from the interaction result; the information corresponding to the target field includes at least one item of target information describing the second network element.
Optionally, the target field includes a time field and other fields; and the time information corresponding to the time field is the time for describing that the second network element provides the target information corresponding to other fields.
Optionally, the other fields include a load information field, and information corresponding to the load information field is used to describe load information of the SMF network element.
Optionally, the apparatus 600 further includes an updating module 630, and the updating module 630 is specifically configured to:
comparing the received time information with current historical time information; the historical time information is the time for describing that the second network element obtains the historical target information corresponding to other fields; and if the comparison result is different, storing the received time information and the target information.
Optionally, the interaction request sent by the transceiver module 610 is any one of the following requests:
creating a session request; wherein the interaction result comprises session management context created data, and the session management context created data comprises a target field.
Updating the session request; wherein the interaction result comprises session management context updated data, and the session management context updated data comprises a target field.
Releasing the session request; the interaction result comprises the released data of the session management context, and the released data of the session management context comprises a target field.
Fig. 7 is a schematic structural diagram of an apparatus for acquiring network element information. Wherein the apparatus 700 is applied to a second network element. As shown in fig. 7, the apparatus 700 includes a processing unit 710 and a transceiver unit 720.
The processing unit 710 is configured to perform a transaction processing in response to the interaction request sent by the first network element.
A transceiving unit 720, configured to feed back an interaction result carrying the target field and corresponding information to the first network element if the processing result is successful; the information corresponding to the target field includes at least one item of target information describing the second network element.
Optionally, the target field includes a time field and other fields; the transceiving unit 720, in feeding back the interaction result carrying the target field and the corresponding information to the first network element, is specifically configured to:
acquiring target information corresponding to other fields and current time; comparing the obtained target information with historical target information; the historical target information is the target information obtained last time; if the comparison result is not within the preset range, carrying the current time and the acquired target information in the interaction result; if the comparison result is within the preset range, carrying the historical target information and the time corresponding to the historical target information in the interaction result; and feeding back the interaction result to the first network element.
Optionally, the first network element is an AMF, and the second network element is an SMF; the target field comprises a load information field, and the information corresponding to the load information field is the load information of the second network element; the transceiving unit 720 is specifically configured to, in acquiring the target information corresponding to the other fields:
and processing according to the current CPU use information, the memory use information and the current accessed user number to obtain the load information of the second network element.
The apparatus of the embodiment of the present application may execute the method provided by the embodiment of the present application, and the implementation principle is similar, the actions executed by the modules in the apparatus of the embodiments of the present application correspond to the steps in the method of the embodiments of the present application, and for the detailed functional description of the modules of the apparatus, reference may be specifically made to the description in the corresponding method shown in the foregoing, and details are not repeated here.
An embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory, where the processor executes the computer program to implement the steps of the method for acquiring network element information, and as compared with the related art, the method can implement: under the condition that the NRF network element is not configured in the 5G core network or the NRF does not have the target information of the second network element, the target information of the second network element can be acquired in a manner of directly interacting with the second network element, so that the daily service processing is performed according to the acquired information of the second network element.
In an alternative embodiment, an electronic device is provided, as shown in FIG. 8, the electronic device 8000 shown in FIG. 8 including: a processor 8001 and memory 8003. Processor 8001 and memory 8003 are connected, such as by bus 8002. Optionally, the electronic device 8000 may further include a transceiver 8004, and the transceiver 8004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. In addition, the transceiver 8004 is not limited to one in practical applications, and the structure of the electronic device 8000 does not limit the embodiment of the present application.
Processor 8001 may be a CPU (Central Processing Unit), general purpose Processor, DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array), or other Programmable logic device, transistor logic, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. Processor 8001 may also be a combination of computing functionality, e.g., comprising one or more microprocessors in combination, a DSP and a microprocessor in combination, or the like.
Bus 8002 may include a path to transfer information between the above components. The bus 8002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 8002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
The Memory 8003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium, other magnetic storage devices, or any other medium that can be used to carry or store a computer program and that can be Read by a computer, without limitation.
The memory 8003 is used for storing computer programs for executing the embodiments of the present application, and is controlled by the processor 8001 to execute the programs. The processor 8001 is used to execute computer programs stored in the memory 8003 to implement the steps shown in the foregoing method embodiments.
Wherein, the electronic device includes but is not limited to: and various network elements in the 5G core network, such as AMF, PCF, UDM, SMF and the like.
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program may implement the steps and corresponding contents of the foregoing method embodiments.
Embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps and corresponding contents of the foregoing method embodiments can be implemented.
The terms "first," "second," "third," "fourth," "1," "2," and the like in the description and claims of this application and in the preceding drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than illustrated or otherwise described herein.
It should be understood that, although each operation step is indicated by an arrow in the flowchart of the embodiment of the present application, the implementation order of the steps is not limited to the order indicated by the arrow. In some implementation scenarios of the embodiments of the present application, the implementation steps in the flowcharts may be performed in other sequences as desired, unless explicitly stated otherwise herein. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on an actual implementation scenario. Some or all of these sub-steps or stages may be performed at the same time, or each of these sub-steps or stages may be performed at different times. In a scenario where execution times are different, an execution sequence of the sub-steps or the phases may be flexibly configured according to requirements, which is not limited in the embodiment of the present application.
The foregoing is only an optional implementation manner of a part of implementation scenarios in this application, and it should be noted that, for those skilled in the art, other similar implementation means based on the technical idea of this application are also within the protection scope of the embodiments of this application without departing from the technical idea of this application.

Claims (14)

1. A method of obtaining network element information, characterized by being applied to a first network element; the method comprises the following steps:
sending an interaction request to a second network element;
if an interaction result which carries a target field and is fed back by the second network element based on the interaction request is received, acquiring information corresponding to the target field from the interaction result; the information corresponding to the target field comprises at least one item of target information describing the second network element.
2. The method of claim 1, wherein the target field comprises a time field and other fields; wherein, the time information corresponding to the time field is a time for describing that the second network element provides the target information corresponding to the other fields.
3. The method of claim 2, further comprising:
comparing the received time information with current historical time information; the historical time information is used for describing the time for the second network element to acquire the historical target information corresponding to the other fields;
and if the comparison result is different, storing the received time information and the target information.
4. The method of claim 1, wherein the first network element is an AMF network element and the second network element is an SMF network element.
5. The method of claim 4, wherein the interactive request comprises any one of the following requests:
creating a session request; wherein the interaction result comprises session management context created data comprising the target field;
updating the session request; wherein the interaction result comprises session management context updated data comprising the target field;
releasing the session request; wherein the interaction result comprises session management context released data, and the session management context released data comprises the target field.
6. The method of claim 2, wherein the other fields include a load information field, and wherein information corresponding to the load information field is used to describe load information of the SMF.
7. A method of obtaining network element information, characterized by being applied to a second network element; the method comprises the following steps:
responding to an interactive request sent by a first network element, and performing transaction processing;
if the processing result is successful, feeding back an interaction result carrying a target field and corresponding information to the first network element; the information corresponding to the target field comprises at least one item of target information describing the second network element.
8. The method of claim 7, wherein the target field comprises a time field and other fields; the feeding back the interaction result carrying the target field and the corresponding information to the first network element includes:
acquiring target information corresponding to the other fields and current time;
comparing the obtained target information with historical target information; the historical target information is the target information obtained last time;
if the comparison result is not within the preset range, carrying the current time and the acquired target information in an interaction result;
if the comparison result is within a preset range, carrying the historical target information and the time corresponding to the historical target information in an interaction result;
and feeding back the interaction result to the first network element.
9. The method of claim 7, wherein the first network element is AMF and the second network element is SMF; the target field comprises a load information field, and the information corresponding to the load information field is the load information of the second network element; acquiring target information corresponding to other fields, including:
and processing according to the current CPU use information, the memory use information and the current accessed user number to obtain the load information of the second network element.
10. An apparatus for obtaining network element information, applied to a first network element; the device comprises:
the receiving and sending module is used for sending an interaction request to the second network element;
an obtaining module, configured to obtain, if an interaction result carrying a target field and fed back by the second network element based on the interaction request is received, information corresponding to the target field from the interaction result; the information corresponding to the target field comprises at least one item of target information describing the second network element.
11. An apparatus for obtaining network element information, wherein the apparatus is applied to a second network element, and the apparatus comprises:
the processing module is used for responding to the interaction request sent by the first network element and performing transaction processing;
the transceiver module is used for feeding back an interaction result carrying a target field and corresponding information to the first network element if the processing result is successful; the information corresponding to the target field comprises at least one item of target information describing the second network element.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to implement the steps of the method of any one of claims 1 to 6 or claims 7 to 9.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6 or 7 to 9.
14. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 or claims 7 to 9 when executed by a processor.
CN202211056989.9A 2022-08-29 2022-08-29 Method and device for acquiring network element information and electronic equipment Pending CN115297495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211056989.9A CN115297495A (en) 2022-08-29 2022-08-29 Method and device for acquiring network element information and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211056989.9A CN115297495A (en) 2022-08-29 2022-08-29 Method and device for acquiring network element information and electronic equipment

Publications (1)

Publication Number Publication Date
CN115297495A true CN115297495A (en) 2022-11-04

Family

ID=83831874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211056989.9A Pending CN115297495A (en) 2022-08-29 2022-08-29 Method and device for acquiring network element information and electronic equipment

Country Status (1)

Country Link
CN (1) CN115297495A (en)

Similar Documents

Publication Publication Date Title
US10581984B2 (en) Methods and apparatus for providing information associated with network function (NF) instances of a 5G mobile network
CN110603837B (en) Method for associating network slice instances of a mobile radio communications network with network functions
US12034611B2 (en) NF service consumer restart detection using direct signaling between NFs
CN111955031A (en) Method and apparatus for using network slice in mobile communication system
US20220312309A1 (en) Method and Apparatus for Reporting User Plane Function Information, Storage Medium, and Electronic Apparatus
US12035411B2 (en) Methods, network function nodes and computer readable media for event subscription management
US12081420B2 (en) Historical data support enhancement for network entities
CN110324152B (en) Method, device and system for acquiring policy and charging control rule
WO2021197076A1 (en) Methods and apparatuses for establishment of pdu session
US20230413214A1 (en) Method, apparatus and computer program
EP4128664A1 (en) Exposure and discovery of distributed network functions serving a user equipment or ppdu session
WO2022071945A1 (en) Task responsibility coordination
CN110519749B (en) API information transmission method and device
CN115297495A (en) Method and device for acquiring network element information and electronic equipment
WO2021198207A1 (en) Methods and apparatuses for enhanced 5gc restoration when a network function (nf) set is deployed in the network
CN115334493A (en) Method, device and equipment for state subscription notification
CN116806424A (en) Methods, apparatus and computer program products for wireless communication
CN114389943A (en) Network configuration method, device, equipment and computer storage medium
CN115004663B (en) IMEI retrieval and IMEI change notification in 5GC-EPC interworking scenario
WO2023279256A1 (en) Methods and apparatuses for facilitating network slice selection
US20220330140A1 (en) Edge computing
CN111491314A (en) Communication method, device and equipment
CN118160285A (en) Method and apparatus for network function discovery

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