Method, device, electronic device and medium for responding to discovery request in 5G network
By comparing the interval between the producer network element registration number segment and the local configuration number segment on the backbone NRF of the 5G network, the problem of users being unable to use the SA network due to errors in the number segment configuration in the 5G network is solved, and dynamic discovery is improved accuracy.
Patent Information
- Application Number
- CN202111547375.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2041-12-16
AI Technical Summary
In 5G networks, because the producer's network element registration information contains the wrong number segment configuration, users cannot use the SA network in roaming scenarios.
By obtaining the discovery request on the backbone NRF, extracting the producer's network element registration number segment, and performing interval comparison with the local configuration number segment. When the interval comparison is incorrect, a return response is generated to correct the error number segment to ensure that the user can be correct Access to the network.
It effectively avoids the situation where users cannot use 5G networks due to incorrect number segment configuration, improves the accuracy of network element dynamic discovery, and ensures that users can use the SA network normally.
Smart Images

Figure CN114205902B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication computer information processing, and specifically, to a method, device, electronic device and computer-readable medium for responding to discovery requests in a 5G network. Background Art
[0002] The basic process of signaling interaction within the 5G SA core network is divided into: registration, discovery, and service request. In the registration process, the "SUPI and GPSI number segments that can provide services" in the registration information of the producer network element are manually configured, which is prone to configuration errors in the early stage of network construction, and the number segments including other provinces or even the whole country are configured. If the producer network element in Province A configures and registers the number segments of Province A and Province B, in a roaming scenario, when the consumer network element in the visiting province discovers the producer network element in Province A, due to a configuration error in Province A, it obtains registration information containing the number segments of Province A and Province B, causing users in Province B to roam to the visiting province. When accessing from the visiting province, the service request will be sent to Province A, but Province A does not have the registration data of users in Province B, which ultimately prevents users in Province B from using the SA network.
[0003] Therefore, a new method, device, electronic device and computer-readable medium for responding to discovery requests in a 5G network are needed.
[0004] The above information disclosed in the Background section is only for enhancement of understanding of the background of the present application and therefore it may contain information that does not constitute the prior art that is already known to a person of ordinary skill in the art. Summary of the invention
[0005] In view of this, the present application provides a method, device, electronic device and computer-readable medium for responding to discovery requests in a 5G network, which can avoid the situation where users in other provinces cannot use the 5G network due to incorrect number segment configuration in a certain province, and improve the accuracy of dynamic discovery of network elements.
[0006] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0007] According to one aspect of the present application, a method for responding to a discovery request in a 5G network is proposed, the method comprising: a backbone NRF in the 5G network obtains a discovery request; obtains UDM registration information based on the discovery request; extracts a producer network element registration number segment from the UDM registration information; performs interval comparison between the producer network element registration number segment and a backbone NRF local configuration number segment; when the interval comparison is incorrect, generates a return response for the discovery request based on the local configuration number segment.
[0008] In an exemplary embodiment of the present application, it also includes: when the interval comparison is correct, generating a return response based on the producer network element registration number segment.
[0009] In an exemplary embodiment of the present application, it also includes: generating the local configuration number segment of the backbone NRF through all the number segments in the 4G backbone network element HDRA.
[0010] In an exemplary embodiment of the present application, before the backbone NRF in the 5G network obtains a discovery request, it includes: the AMF in the current province where the user is located sends a discovery request to the NRF in the current province; the NRF in the current province extracts the user SUPI or user GPSI from the discovery request; when the user SUPI or user GPSI exceeds the UDM registration number segment of the NRF in the current province, the NRF in the current province forwards the discovery request to the backbone NRF.
[0011] In an exemplary embodiment of the present application, obtaining UDM registration information based on the discovery request includes: the backbone NRF extracting user SUPI or user GPSI from the discovery request; determining the target province based on the user SUPI or user GPSI; the backbone NRF forwarding the discovery request to the target province NRF; the target province NRF generating the UDM registration information based on the locally configured number segment.
[0012] In an exemplary embodiment of the present application, the producer network element registration number segment and the backbone NRF local configuration number segment are compared, including: extracting the minimum registration number segment and the maximum registration number segment in the producer network element registration number segment; extracting the configuration number segment of the target province in the backbone NRF local configuration number segment; comparing the minimum registration number segment, the maximum registration number segment and the configuration number segment interval of the target province.
[0013] In an exemplary embodiment of the present application, when the interval comparison is incorrect, a return response is generated for the discovery request based on the local configuration number segment, including: when the interval comparison is incorrect, extracting the configuration number segment of the target province based on the local configuration number segment; generating a return response based on the configuration number segment; sending the return response to the current province NRF; the current province NRF sends the return response to the current province AMF.
[0014] According to one aspect of the present application, a response device for a discovery request in a 5G network is proposed, and the device includes: a request module, which is used for the backbone NRF in the 5G network to obtain a discovery request; an information module, which is used to obtain UDM registration information based on the discovery request; a segment module, which is used to extract the producer network element registration segment from the UDM registration information; a comparison module, which is used to compare the producer network element registration segment with the backbone NRF local configuration segment; and a replacement module, which is used to generate a return response for the discovery request based on the local configuration segment when the interval comparison is incorrect.
[0015] According to one aspect of the present application, an electronic device is proposed, which includes: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.
[0016] According to one aspect of the present application, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described above is implemented.
[0017] According to the method, device, electronic device and computer-readable medium for responding to discovery requests in a 5G network of the present application, a discovery request is obtained through the backbone NRF in the 5G network; UDM registration information is obtained based on the discovery request; the producer network element registration number segment is extracted from the UDM registration information; the producer network element registration number segment and the backbone NRF local configuration number segment are compared; when the interval comparison is incorrect, a return response is generated for the discovery request based on the local configuration number segment. This can avoid the situation where users in other provinces cannot use the 5G network due to incorrect number segment configuration in a certain province, thereby improving the accuracy of dynamic discovery of network elements.
[0018] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other objects, features and advantages of the present application will become more apparent by describing in detail the exemplary embodiments thereof with reference to the accompanying drawings. The accompanying drawings described below are only some embodiments of the present application, and it is clear to a person skilled in the art that other accompanying drawings can be obtained from these accompanying drawings without creative effort.
[0020] Figure 1 It is a system block diagram of a method and device for responding to a discovery request in a 5G network according to an exemplary embodiment.
[0021] Figure 2 The present invention is a flowchart of a method for responding to a discovery request in a 5G network according to an exemplary embodiment.
[0022] Figure 3 The present invention is a flowchart of a method for responding to a discovery request in a 5G network according to another exemplary embodiment.
[0023] Figure 4 The present invention is a flowchart of a method for responding to a discovery request in a 5G network according to another exemplary embodiment.
[0024] Figure 5 It is a block diagram of a device for responding to a discovery request in a 5G network according to an exemplary embodiment.
[0025] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment.
[0026] Figure 7 It is a block diagram of a computer-readable medium according to an exemplary embodiment. DETAILED DESCRIPTION
[0027] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this application will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0028] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0029] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0030] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0031] It should be understood that although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one component from another component. Therefore, the first component discussed below can be referred to as the second component without departing from the teachings of the concepts of the present application. As used herein, the term "and / or" includes any one of the associated listed items and all combinations of one or more.
[0032] Those skilled in the art will appreciate that the drawings are merely schematic diagrams of example embodiments, and the modules or processes in the drawings are not necessarily necessary for implementing the present application, and therefore cannot be used to limit the scope of protection of the present application.
[0033] The technical abbreviations involved in this application are explained as follows:
[0034] AMF, Access and Mobility Management Function, performs registration, connection, reachability, and mobility management. It provides a session management message transmission channel for UE and SMF, provides authentication and authorization functions for user access, and is the access point of the terminal and wireless core network control plane. It is similar to the mobility management in 4G MME. AMF allocates 5G-GUTI, and AMF selects SMF.
[0035] SMF, Session Management function, is responsible for tunnel maintenance, IP address allocation and management, UP function selection, policy implementation and QoS control, billing data collection, roaming, etc. SMF selects UPF based on the granularity of UE or session, can allocate IP addresses, collect billing data, and connect to the billing center.
[0036] AUSF, Authentication Server Function, implements 3GPP and non-3GPP access authentication. It is similar to the authentication function in MME and HSS authentication data management.
[0037] UPF, the User plane function, packet routing and forwarding, policy implementation, traffic reporting, and QoS processing. Similar to the sgw and pgw user plane functions in 4G. UPF is the anchor point of the session and records the traffic forwarding volume.
[0038] PCF, Policy Control function, is a unified policy framework that provides policy rules for control plane functions. PCF delivers control plane network functions.
[0039] UDM, The Unified Data Management, unified data management functions, 3GPP AKA authentication, user identification, access authorization, registration, mobility, subscription, SMS management, etc.
[0040] NRF, NF Repository Function, is a new function that provides registration and discovery functions, enabling network functions (NFs) to discover each other and communicate through API interfaces.
[0041] NSSF, the Network Slice Selection Function, determines the network slice instance that the UE is allowed to access based on the UE's slice selection auxiliary information, subscription information, etc.
[0042] NEF, Network Exposure Function, opens up the capabilities of each NF and converts internal and external information. It is used in edge computing scenarios.
[0043] The basic process of signaling interaction within the 5G SA core network is divided into: registration, discovery, and service request.
[0044] The specific steps are as follows:
[0045] 1. Registration process: The core network producer network element (such as UDM, PCF) registers with NRF and provides NRF with key information such as the network element service address information, SUPI that can provide services, GPSI number segment, etc.
[0046] 2. Discovery process: The consumer network element (such as AMF, SMF) sends a discovery request to the NRF with the target network element type, the user SUPI and GPSI of the service, and other discovery parameters. The NRF matches the network element registration information according to the discovery parameters and returns the matching producer network element registration information. If the NRF cannot find a matching network element, it will send the discovery request to the backbone NRF. The backbone NRF matches the discovery parameters carried in the request with the locally configured national SUPI and GPSI number segments, and forwards the discovery request to the province to which the user belongs.
[0047] 3. Service request process: The consumer network element matches the user SUPI or GPSI according to the registration information of the producer network element obtained in the discovery process, selects the successfully matched producer network element, and sends a service request to it.
[0048] As mentioned above, when the registration information of the producer network element in a certain province is configured incorrectly, users in other provinces will eventually be unable to use the SA network. In view of the defects in the prior art, this application proposes a response method for discovery requests in a 5G network, which detects the registration number segment returned by the discovery request on the backbone NRF, detects and identifies the number segment information in the producer network element registration information returned by the NRF of the belonging province in the discovery process, modifies the erroneous registration number segment information, and returns the correct registration number segment to the consumer network element in the visited province with the discovery response, avoiding the situation where users in other provinces cannot use the SA network due to incorrect number segment configuration in a certain province, and improving the accuracy of dynamic discovery of network elements.
[0049] The contents of this application are described in detail below with the help of specific embodiments.
[0050] Figure 1 It is a system block diagram of a method and device for responding to a discovery request in a 5G network according to an exemplary embodiment.
[0051] like Figure 1 As shown, the system architecture 10 may include a user terminal device 101, 5G network devices 102, 103, 104 and 105. The 5G network is used to provide a medium for communication links between the user terminal device 101, the 5G network devices 102, 103, 104 and 105.
[0052] The user can use the user terminal device 101 network to receive and send data through 5G network devices 102, 103, 104 and 105. The user terminal device 101 can be installed with various communication client applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0053] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0054] 5G network device 102 may be an AMF device, 5G network device 103 may be an NRF device of Province A, 5G network device 104 may be a backbone NRF device, and 5G network device 105 may be an NRF of Province B.
[0055] The 5G network device 104 may, for example, obtain a discovery request; the 5G network device 104 may, for example, obtain UDM registration information based on the discovery request; the 5G network device 104 may, for example, extract the producer network element registration number segment from the UDM registration information; the 5G network device 104 may, for example, compare the producer network element registration number segment with the backbone NRF local configuration number segment; the 5G network device 104 may, for example, generate a return response for the discovery request based on the local configuration number segment when the interval comparison is incorrect. The 5G network device 104 may, for example, generate a return response based on the producer network element registration number segment when the interval comparison is correct.
[0056] The processing content of other 5G network devices will be described in detail later.
[0057] It should be noted that the response method for discovery request in the 5G network provided in the embodiment of the present application can be executed by 5G network devices 102, 103, 104 and 105, and accordingly, the response device for discovery request in the 5G network can be set in the 5G network devices 102, 103, 104 and 105.
[0058] Figure 21 is a flowchart of a method for responding to a discovery request in a 5G network according to an exemplary embodiment. The method 20 for responding to a discovery request in a 5G network includes at least steps S202 to S212.
[0059] like Figure 2 As shown, in S202, the backbone NRF in the 5G network obtains a discovery request. More specifically, the AMF in the current province where the user is located sends a discovery request to the NRF in the current province; the NRF in the current province extracts the user SUPI or user GPSI from the discovery request; when the user SUPI or user GPSI exceeds the UDM registration number segment of the NRF in the current province, the NRF in the current province forwards the discovery request to the backbone NRF.
[0060] In S204, UDM registration information is obtained based on the discovery request. The backbone NRF extracts the user SUPI or user GPSI from the discovery request; determines the target province based on the user SUPI or user GPSI; the backbone NRF forwards the discovery request to the target province NRF; the target province NRF generates the UDM registration information based on the local configuration segment.
[0061] In S206, the producer network element registration number segment is extracted from the UDM registration information.
[0062] In S208, the producer network element registration number segment and the backbone NRF local configuration number segment are compared. The minimum registration number segment and the maximum registration number segment in the producer network element registration number segment are extracted; the configuration number segment of the target province is extracted from the backbone NRF local configuration number segment; and the minimum registration number segment, the maximum registration number segment and the configuration number segment interval of the target province are compared.
[0063] In one embodiment, the local configuration number segment of the backbone NRF can be generated through all the number segments in the 4G backbone network element HDRA.
[0064] In S210, when the interval comparison is incorrect, a return response is generated for the discovery request based on the local configuration number segment. More specifically, when the interval comparison is incorrect, the configuration number segment of the target province is extracted based on the local configuration number segment; a return response is generated based on the configuration number segment; the return response is sent to the current province NRF; the current province NRF sends the return response to the current province AMF.
[0065] In S210, when the interval comparison is correct, a return response is generated based on the producer network element registration number segment. If the registration number segment in the producer network element is correct, a return response is directly generated based on this number segment.
[0066] According to the response method for discovery request in 5G network of the present application, the discovery request is obtained through the backbone NRF in the 5G network; UDM registration information is obtained based on the discovery request; the producer network element registration number segment is extracted from the UDM registration information; the producer network element registration number segment and the backbone NRF local configuration number segment are compared; when the interval comparison is incorrect, a return response is generated for the discovery request based on the local configuration number segment. This can avoid the situation where users in other provinces cannot use the 5G network due to incorrect number segment configuration in a certain province, thereby improving the accuracy of dynamic discovery of network elements.
[0067] It should be clearly understood that the present application describes how to form and use specific examples, but the principles of the present application are not limited to any details of these examples. On the contrary, based on the teaching of the content disclosed in the present application, these principles can be applied to many other embodiments.
[0068] Figure 3 The present invention is a flowchart of a method for responding to a discovery request in a 5G network according to another exemplary embodiment. Figure 3 The process 30 shown is for Figure 2 The process shown in FIG. 1 is a detailed description of S208 “comparing the producer network element registration number segment with the backbone NRF local configuration number segment”.
[0069] like Figure 3 As shown, in S302, the minimum registration number segment and the maximum registration number segment in the registration number segment of the producer network element are extracted. In the 5GSA roaming scenario, when the user accesses the visiting province 5G, the visiting province consumer network element will discover the registration information of the target producer network element in the belonging province according to the user SUPI number through the visiting province NRF-backbone NRF-home province NRF. The backbone NRF locally configures the number segment and forwards the discovery request according to the user SUPI number. The home province NRF will return the producer network element registration information including the user SUPI number segment that can provide services. After receiving the registration information returned by the home province NRF, the backbone NRF extracts the minimum registration number segment of the user SUPI number segment that can provide services. min Sum segment maximum value registration segment max .
[0070] In S304, the configuration number segment of the target province is extracted from the local configuration number segment of the backbone NRF. More specifically, the local configuration number segment of the backbone NRF can be generated through all the number segments in the 4G backbone network element HDRA.
[0071] In S306, the minimum registration number segment, the maximum registration number segment and the configured number segment interval of the target province are compared.
[0072] By matching the registration number segment minAnd the number segment configured in the backbone NRF, find the configured number segment in one of the configured SUPI number segments min and configure the number segment max ;
[0073] If the configuration segment is met min ≤Registration number segment min <Configuration number segment max , then compare the registration number segment max Is it less than or equal to the configured number segment? max .
[0074] Such as registration number segment max ≤Configuration number segment max , judged as a legal registration number segment, the registration information of the home province NRF is returned to the visited province consumer network element through the visited province NRF;
[0075] Such as registration number segment max >Configure number segment max , it is judged as an illegal registration segment. The backbone NRF confirms the home province based on the IP address of the home province NRF that returns the response, and replaces the producer network element registration segment in the response with the corresponding home province segment configuration locally configured in the backbone NRF for routing roaming discovery requests. The backbone NRF returns the discovery response after replacing the segment to the visited province consumer network element through the visited province NRF. The visited province consumer network element can successfully cache the correct segment and will not cache the wrong segment configured in the home province.
[0076] Figure 4 The present invention is a flowchart of a method for responding to a discovery request in a 5G network according to another exemplary embodiment. Figure 4 The process 40 shown is based on a specific embodiment Figure 2 The process shown is described in detail.
[0077] Among them, 400000000000000-4000000000000099 is the number range of Province A;
[0078] Among them, 400000000000100-400000000000199 is the number range of Province B;
[0079] Among them, 400000000000200-400000000000299 is the number range of Province C.
[0080] The correct number segment is configured on the backbone NRF:
[0081] Due to incorrect number segment configuration, Province A's UDM carried the number segment 4000000000000000-4000000000000199 of Province A and Province B when registering with Province A's NRF.
[0082] like Figure 4 As shown, in S401, the user in Province A (SUPI=400000000000011) roams to the visited province C, and the AMF in Province C sends a discovery request to the NRF in Province C, requesting the address information of the UDM that can provide services to the user.
[0083] In S402, the NRF of Province C matches the UDM registration number segment information of Province C according to the user SUPI, finds that the user is not a user of Province C, and forwards the discovery request to the backbone NRF.
[0084] In S403, the backbone NRF matches the locally configured national number segment according to the user SUPI, and the matching result shows that the user SUPI belongs to Province A, and forwards the request to the NRF of Province A.
[0085] In S404, the NRF of Province A returns the wrong UDM registration number segment (400000000000000-4000000000000199) to the backbone HNRF.
[0086] In S405, after receiving the discovery response, the backbone NRF extracts the registration number segment information registration number segment min =400000000000000, registration number segment max =400000000000199.
[0087] In S406, find out the A province number segment configured in the backbone NRF min =400000000000000, configuration number segment max =400000000000099, which meets the configuration number segment min ≤Registration number segment min <Configuration number segment max .
[0088] Compare registration number segments max and configure the number segment max , due to the registration number segment max >Configure number segment max , it is judged as an illegally registered number segment.
[0089] In S407, the backbone NRF confirms that the home province is Province A based on the IP address of the home province NRF that returns the response, that is, replaces the producer network element registration segment (4000000000000000-400000000000199) in the response with the segment configuration (4000000000000000-400000000000099) locally configured in the backbone NRF, and uses it to route the roaming discovery request. Return the corrected discovery response to the visited province NRF.
[0090] In this embodiment, the visited province NRF returns a discovery failure response to the visited province AMF, and the AMF will not cache the error number segment, so it will not affect the use of the SA network by users in Province A and Province B in the visited province.
[0091] If the wrong number segment is not detected by the method in this application, the visiting province AMF will correspond the number segment 4000000000000000-4000000000000199 to the UDM of Province A. When the user in Province B (SUPI = 400000000000111) accesses, the AMF will match the user's SUPI to the number segment of Province A (4000000000000000-400000000000199) and request user information from the UDM of Province A. However, the UDM of Province A does not have the user information of Province B, and will return authentication failure, resulting in the user in Province B being unable to use the SA network.
[0092] In the prior art, there is no means to effectively avoid the consumer network element dynamically discovering the wrong number segment due to the incorrect number segment configuration during the producer network element registration process. In this application, the national number segment maintained on the backbone NRF is imported from the existing 4G backbone network element HDRA, and the probability of configuration error is lower than the probability of each province configuring its own provincial number segment in the interspersed number segments. The backbone HNRF compares the locally configured number segment with the producer network element registration number segment returned by the affiliated provincial NRF, detects whether the registration information number segment returned by the affiliated provincial NRF is correct, and can correct the registration information of the wrong number segment and return it to the visited provincial consumer network element, thereby improving the accuracy of dynamic discovery of network elements.
[0093] Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments are implemented as a computer program executed by a CPU. When the computer program is executed by the CPU, the above functions defined by the above method provided in the present application are executed. The program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0094] In addition, it should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present application, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0095] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0096] Figure 51 is a block diagram of a device for responding to a discovery request in a 5G network according to an exemplary embodiment. Figure 5 As shown, the response device 50 for discovery request in the 5G network includes: a request module 502, an information module 504, a number segment module 506, a comparison module 508, and a replacement module 510.
[0097] The request module 502 is used for the backbone NRF in the 5G network to obtain a discovery request;
[0098] The information module 504 is used to obtain UDM registration information based on the discovery request;
[0099] The number segment module 506 is used to extract the producer network element registration number segment from the UDM registration information;
[0100] The comparison module 508 is used to compare the producer network element registration number segment with the backbone NRF local configuration number segment;
[0101] The replacement module 510 is used to generate a return response for the discovery request based on the local configuration segment when the interval comparison is incorrect.
[0102] According to the response device for discovery request in 5G network of the present application, the discovery request is obtained through the backbone NRF in the 5G network; UDM registration information is obtained based on the discovery request; the producer network element registration number segment is extracted from the UDM registration information; the producer network element registration number segment and the backbone NRF local configuration number segment are compared; when the interval comparison is incorrect, a return response is generated for the discovery request based on the local configuration number segment, which can avoid the situation where users in other provinces cannot use the 5G network due to incorrect number segment configuration in a certain province, thereby improving the accuracy of dynamic discovery of network elements.
[0103] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment.
[0104] Refer to the following Figure 6 The electronic device 600 according to this embodiment of the present application is described. Figure 6 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0105] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0106] The storage unit stores a program code, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps described in this specification according to various exemplary embodiments of the present application. For example, the processing unit 610 can perform the following steps: Figure 2 , Figure 3 , Figure 4 Follow the steps shown in .
[0107] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0108] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0109] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0110] The electronic device 600 may also communicate with one or more external devices 600' (e.g., keyboards, pointing devices, Bluetooth devices, etc.) to enable a user to communicate with the electronic device 600, and / or any device (e.g., routers, modems, etc.) that the electronic device 600 can communicate with one or more other computing devices. Such communication may be performed via an input / output (I / O) interface 650. In addition, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0111] Through the above description of the implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by combining software with necessary hardware. Figure 7As shown, the technical solution according to the implementation mode of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the implementation mode of the present application.
[0112] The software product may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0113] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0114] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0115] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by a device, the computer-readable medium realizes the following functions: the backbone NRF in the 5G network obtains a discovery request; obtains UDM registration information based on the discovery request; extracts the producer network element registration number segment from the UDM registration information; compares the producer network element registration number segment with the backbone NRF local configuration number segment; when the interval comparison is incorrect, generates a return response for the discovery request based on the local configuration number segment, and when the interval comparison is correct, generates a return response based on the producer network element registration number segment. The computer-readable medium can also realize the following functions: generate the local configuration number segment of the backbone NRF through all the number segments in the 4G backbone network element HDRA.
[0116] Those skilled in the art will appreciate that the above modules can be distributed in the device according to the description of the embodiment, or can be changed accordingly and only used in one or more devices different from the embodiment. The modules of the above embodiments can be combined into one module, or further divided into multiple sub-modules.
[0117] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present application.
[0118] The exemplary embodiments of the present application are specifically shown and described above. It should be understood that the present application is not limited to the detailed structures, configurations or implementations described herein; on the contrary, the present application is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.
Claims
1. A method for responding to a discovery request in a 5G network, characterized in that: include: The backbone NRF in the 5G network obtains a discovery request; the backbone NRF extracts the user SUP I or the user GPS I from the discovery request; According to the user SUP I number or user GPS I, the UDM registration information is discovered through the visited province NRF-backbone NRF-home province NRF; Extracting the producer network element registration number segment from the UDM registration information; Compare the producer network element registration number segment with the backbone NRF local configuration number segment; When the interval comparison is incorrect, a return response is generated for the discovery request based on the local configuration segment.
2. The response method according to claim 1, characterized in that: Also includes: When the interval comparison is correct, a return response is generated based on the producer network element registration number segment.
3. The response method according to claim 2, characterized in that: Also includes: The local configuration number segment of the backbone NRF is generated by all the number segments in the 4G backbone network element HDRA.
4. The response method according to claim 1, characterized in that: Before the backbone NRF in the 5G network obtains the discovery request, it includes: The user's current province AMF sends a discovery request to the current province NRF; The current province NRF extracts the user SUPI or user GPSI from the discovery request; When the user SUP I or user GPS I exceeds the UDM registration number segment of the current provincial NRF, the current provincial NRF forwards the discovery request to the backbone NRF.
5. The response method according to claim 1, characterized in that: According to the user SUP I number or user GPS I, the UDM registration information is found through the visited province NRF-backbone NRF-home province NRF, including: Determine the target province based on user SUP I or user GPS I; The backbone NRF forwards the discovery request to the target provincial NRF; The target province NRF generates the UDM registration information based on the locally configured number segment.
6. The response method according to claim 1, characterized in that: The producer network element registration number segment and the backbone NRF local configuration number segment are compared, including: Extracting the minimum registration number segment and the maximum registration number segment from the producer network element registration number segment; Extract the configuration number segment of the target province from the local configuration number segment of the backbone NRF; The minimum registration number segment, the maximum registration number segment and the configured number segment interval of the target province are compared.
7. The response method according to claim 1, characterized in that: When the interval comparison is incorrect, a return response is generated for the discovery request based on the local configuration number segment, including: When the interval comparison is incorrect, extract the configuration segment of the target province based on the local configuration segment; Generate a return response based on the configuration number segment; Sending the return response to the current province NRF; The current provincial NRF sends the return response to the current provincial AMF.
8. A device for responding to a discovery request in a 5G network, characterized in that: include: Request module, used for backbone NRF acquisition discovery request in 5G network; The backbone NRF extracts the user SUP I or the user GPS I from the discovery request; An information module, used to discover UDM registration information according to the user SUP I number or user GPS I through the visited province NRF-backbone NRF-home province NRF; A number segment module, used to extract the producer network element registration number segment from the UDM registration information; A comparison module, used for comparing the producer network element registration number segment with the backbone NRF local configuration number segment; The replacement module is used to generate a return response for the discovery request based on the local configuration number segment when the interval comparison is incorrect.
9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
