Network element registration method, apparatus, device, and storage medium
By determining the registration permissions and verifying the registration information of target network elements in the 5G network, the problem of inaccurate network element registration is solved, achieving higher registration accuracy and user experience.
Patent Information
- Application Number
- CN202310679368.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2043-06-08
AI Technical Summary
The accuracy of network element registration in the current 5G network is poor, leading to service failures and affecting the user experience.
By obtaining the registration information and type of the target network element, its registration permission is determined as either "allowed to register and allowed to be discovered," "allowed to register but not allowed to be discovered," or "not allowed to register." The registration of the target network element is then completed, and the completeness and legality of the registration information are verified to prevent incomplete or illegal registration.
This improves the accuracy of network element registration, prevents subsequent call failures due to registration information issues, and enhances user experience and network stability.
Smart Images

Figure CN116528351B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, and particularly relates to a network element registration method and device, equipment and a storage medium. BACKGROUND
[0002] At present, with the rapid development of the 5th generation mobile communication technology (5G), 5G has been widely applied in many industry fields. In the current 5G network architecture, each network function is abstracted as an independent network service to realize the decoupling of the network function. And by providing a service interface to the outside, the same interface is used to provide services for the caller. By converting multiple coupling interfaces into a single service interface, a service based architecture (SBA) of 5G is realized. In the current 5G network service architecture, the 5G core network element mainly realizes the network element registration through a network repository function (NRF).
[0003] However, the current network element registration process mainly initiates registration by the network element to the NRF, and the NRF automatically registers the network element configuration and capability of the network element, which is used to realize the subsequent service discovery and calling. In the above method, when the configuration of the 5G core network element is problematic, the subsequent process of calling the network element may be problematic, the user service fails, and the user experience is affected. Therefore, the accuracy of the current network element registration is poor. SUMMARY
[0004] The present application provides a network element registration method, device, equipment and storage medium, which is used to improve the accuracy of network element registration.
[0005] To achieve the above purpose, the present application adopts the following technical solutions:
[0006] In a first aspect, a network element registration method is provided, which includes: obtaining registration information of a target network element and a target network element type, the registration information including at least one of the following: number segment information, location information, and Internet Protocol (IP) information; determining a registration authority of the target network element according to the registration information of the target network element and the target network element type, the registration authority of the target network element being any one of the following: allowed to be registered and allowed to be discovered, allowed to be registered and not allowed to be discovered, and not allowed to be registered; and completing the registration of the target network element when the registration authority of the target network element is allowed to be registered and allowed to be discovered, or allowed to be registered and not allowed to be discovered.
[0007] In a possible implementation, the registration permission of the target network element is determined according to the registration information of the target network element and the target network element type, including: determining target element information corresponding to the network element of the target network element type, the target element information being information that needs to be included in the registration information when the network element of the target network element type is registered, the element information corresponding to the network elements of different network element types being different; in a case where the registration information of the target network element does not contain the target element information, determining that the registration permission of the target network element is not allowed to register; in a case where the registration information of the target network element contains the target element information and the target element information does not meet the preset format requirement, determining that the registration permission of the target network element is allowed to register and not allowed to be discovered; in a case where the registration information contains the target element information and the target element information meets the preset format requirement, determining that the registration permission of the target network element is allowed to register and allowed to be discovered.
[0008] In a possible implementation, before the registration information of the target network element and the target network element type are acquired, the method further includes: acquiring an identifier of the target network element; and in a case where the identifier of the target network element is not included in a preset list, allowing the target network element to register, the preset list including a plurality of preset identifiers, the plurality of preset identifiers indicating network elements that are not allowed to be registered.
[0009] In a possible implementation, the method further includes: in a case where the plurality of network elements that have completed registration include an already-registered network element that has the same registration information as the target network element, determining whether the home of the already-registered network element is the same as the home of the target network element; in a case where the home of one of the already-registered network elements is the same as the home of the target network element, suspending the target network element and not allowing the target network element to be discovered; and in a case where the home of at least two of the already-registered network elements is the same as the home of the target network element, deregistering the target network element.
[0010] In a possible implementation, the method further includes: in a case where the registration permission of the target network element is allowed to register and not allowed to be discovered, or not allowed to register, sending alarm information.
[0011] In a second aspect, a network element registration apparatus is provided, including: an acquisition unit, a determination unit, and a registration unit; the acquisition unit is configured to acquire registration information of a target network element and a target network element type, the registration information including at least one of the following: number segment information, location information, and Internet Protocol (IP) information; the determination unit is configured to determine a registration permission of the target network element according to the registration information of the target network element and the target network element type, the registration permission of the target network element being any one of the following: allowed to register and allowed to be discovered, allowed to register and not allowed to be discovered, and not allowed to register; and the registration unit is configured to complete registration of the target network element in a case where the registration permission of the target network element is allowed to register and allowed to be discovered, or allowed to register and not allowed to be discovered.
[0012] In a possible implementation, the determining unit is further configured to determine target element information corresponding to the target network element of the target network element type, the target element information being information that needs to be included in the registration information of the target network element of the target network element type, the element information corresponding to network elements of different network element types being different; the determining unit is further configured to determine that the registration permission of the target network element is not allowed to register, in a case where the registration information of the target network element does not contain the target element information; the determining unit is further configured to determine that the registration permission of the target network element is allowed to register and not allowed to be discovered, in a case where the registration information of the target network element contains the target element information and the target element information does not meet preset format requirements; and the determining unit is further configured to determine that the registration permission of the target network element is allowed to register and allowed to be discovered, in a case where the registration information contains the target element information and the target element information meets the preset format requirements.
[0013] In a possible implementation, the obtaining unit is further configured to obtain an identifier of the target network element; and the registering unit is further configured to allow the target network element to register, in a case where the identifier of the target network element is not included in a preset list, the preset list including a plurality of preset identifiers, the plurality of preset identifiers indicating network elements that are not allowed to be registered.
[0014] In a possible implementation, the determining unit is further configured to determine whether the home location of a registered network element is the same as the home location of the target network element, in a case where the registered network element that is the same as the registration information of the target network element is included in the plurality of network elements that have completed registration; and the registering unit is further configured to suspend the target network element and not allow the target network element to be discovered, in a case where the determining unit determines that the home location of one registered network element is the same as the home location of the target network element; and the registering unit is further configured to deregister the target network element, in a case where the determining unit determines that the home locations of at least two registered network elements are the same as the home location of the target network element.
[0015] In a possible implementation, the determining unit is further configured to send alarm information, in a case where the registration permission of the target network element is allowed to register and not allowed to be discovered, or not allowed to register.
[0016] In a third aspect, an electronic device is provided, including a processor and a memory; the memory is configured to store one or more programs including computer execution instructions; when the electronic device is running, the processor executes the computer execution instructions stored in the memory, so that the electronic device executes the network element registration method in the first aspect.
[0017] In a fourth aspect, a computer readable storage medium storing one or more programs is provided, the one or more programs including instructions that, when executed by a computer, cause the computer to perform the network element registration method in the first aspect.
[0018] The application provides a network element registration method, device, equipment and storage medium, which is applied to the scenario of managing the registration of network elements, and is used for improving the accuracy of network element registration. When a target network element registers, the registration information of the target network element is obtained, the registration information including at least one of number segment information, location information and Internet Protocol (IP) information, and the target network element type of the target network element is obtained, and the registration authority of the target network element is determined according to the registration information and the target network element type of the target network element. Further, in the case that the registration authority of the target network element is allowed to register and allowed to be discovered, or the registration authority of the target network element is allowed to register and not allowed to be discovered, the registration of the target network element is completed, so as to realize the registration of the target network element according to the registration authority of the target network element. Through the above method, the application can automatically determine different registration authorities for the target network element according to the registration information and the target network element type of the target network element, and in the case that the registration authority of the target network element is allowed to register (allowed to register and allowed to be discovered, or allowed to register and not allowed to be discovered), the registration of the target network element is realized. Therefore, when the target network element registers, the registration information of the target network element is verified to prevent the registration of the target network element in the case that the registration information of the target network element has a problem, such as incomplete registration information of the network element, so as to prevent problems in the subsequent process of calling the network element, affect the use experience of users, and even cause the failure of the service of the user. The accuracy of network element registration is improved. BRIEF DESCRIPTION OF DRAWINGS
[0019] Figure 1 A network architecture schematic diagram is provided for an embodiment of the application.
[0020] Figure 2 A network element registration system structure schematic diagram is provided for an embodiment of the application.
[0021] Figure 3 A network element registration method flowchart is provided for an embodiment of the application. Figure 1 ;
[0022] Figure 4 A network element registration method flowchart is provided for an embodiment of the application. Figure 2 ;
[0023] Figure 5 A network element registration method flowchart is provided for an embodiment of the application. Figure 3 ;
[0024] Figure 6 A network element registration method flowchart is provided for an embodiment of the application. Figure 4 ;
[0025] Figure 7 A network element registration method flowchart is provided for an embodiment of the application.Figure 5 ;
[0026] Figure 8 A network element registration method flowchart provided for an embodiment of the present application Figure 6 ;
[0027] Figure 9 A network element registration method flowchart provided for an embodiment of the present application Figure 7 ;
[0028] Figure 10 A network element registration device structure diagram provided for an embodiment of the present application
[0029] Figure 11 An electronic device structure diagram provided for an embodiment of the present application DETAILED DESCRIPTION
[0030] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
[0031] In the description of the present application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this document is only a description of the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can mean that A exists alone, A and B exist together, and B exists alone. In addition, "at least one" "multiple" means two or more. "First", "second", etc. do not limit the quantity and execution order, and "first", "second", etc. also do not necessarily mean different.
[0032] At present, with the rapid development of communication technology, 5G fusion application technology has been widely used in many industries such as industrial field, medical field, education field and transportation field, etc. due to its characteristics of large bandwidth, low latency, wide connection, high security, etc. and plays an enabling effect. It plays an important role in the digital upgrading of traditional industries, the cost reduction and efficiency improvement of enterprises, and the public service and benefit of people's livelihood.
[0033] In 5G related technologies, in order to adapt to the characteristics of diversification and uncertainty of related vertical industries, in the 5G network architecture, the control plane function can be abstracted as multiple independent network services, and the construction of the network is realized in a software, modular and service manner (such as SBA architecture).
[0034] Through the SBA architecture, each 5G software function can be defined by a fine-grained "service" so that the network can implement customization and orchestration of functions in units of "services" (granularity) according to business scenarios, ensuring modularity for customization. In addition, in terms of interfaces, interaction can be implemented based on relevant Internet protocols using application programming interfaces (APIs) that can be flexibly invoked, reducing the internal network configuration and signaling overhead, and providing a unified interface for external capability exposure, achieving lightweight and easy-to-expand effects. Moreover, in the SBA architecture, independent deployment and gray release of services can be implemented, so that network functions can be quickly upgraded to introduce new functions, and services can be quickly deployed and elastically scaled based on a virtualization platform.
[0035] Specifically, as shown in Figure 1 In the SBA architecture, each network service and other services are decoupled on the business function, a service interface is provided externally, and the same interface is used to provide services for other callers. By converting multiple coupled interfaces into a single service interface, the number of interfaces is reduced.
[0036] Among them, the network function decoupling mainly refers to that each network function is abstracted as an independent network service to realize independent scaling, independent evolution and other functions. And through the control plane of each network function (NF), the traditional point-to-point communication mode is abandoned, and a service-based interface (SBI) of a service-based structure is used to pass through a bus interface protocol. The transmission bus can uniformly use the hyperText transfer protocol (HTTP), such as the HTTP / 2 protocol, and the application layer is associated with different service messages. The service interface is implemented on each NF, and since the underlying transmission mode is the same, transmission of all service interfaces on the same bus can be realized.
[0037] In addition, automatic discovery of network services can be implemented through the NRF to facilitate automatic deployment and improve network agility. Moreover, due to the introduction of the SBA architecture, each NFS can communicate arbitrarily according to needs, reducing the intermediate links of the traditional network and optimizing the communication path.
[0038] In the implementation process of the SBA architecture, the NF registration and discovery of the NRF are one of the key links for architecture implementation.
[0039] Specifically, in combination with Figure 1 , a 5G core network (5GC) network element, i.e., an NF, such as Figure 1The unified data management function (UDM), the authentication server function (AUSF), the policy control function (PCF), the access and mobility management function (AMF), the session management function (SMF), and the binding support function (BSF) in the 5GC network register with the NRF by registering their configurations, i.e., capabilities, with the NRF when they are registered. The NRF marks the NFs as available for other network elements to discover and invoke, and maintains the available NF instances and the service profiles supported by the NFs.
[0040] Specifically, in the current network, when the 5GC network element initiates registration with the NRF, the NRF automatically (passively) registers the network element configuration and its capabilities, and is automatically used for subsequent service discovery, invocation, etc. However, in the case of incorrect configuration of the 5GC network element, it may cause continuous errors when the network element is discovered and invoked subsequently, and even cause large-scale failure of user registration, session, and other services, resulting in serious consequences.
[0041] It should be noted that, Figure 1 The NSSF refers to the network slice selection function (NSSF), which is mainly used to determine the network slice instances that the UE is allowed to access according to the slice selection assistance information, subscription information, etc. of the UE. AN refers to the access network (access network, AN). RAN refers to the radio access network (radio access network, RAN). UPF refers to the user plane function (user plane function, UPF). DN refers to the data network (data network, DN). N1, N2, N3, N4, N5, Nnssf, Nnef, Nnrf, Npcf, Nudm, Naf, Nausf, Namf, Nsmf, etc. refer to the corresponding network transmission interface.
[0042] The network element registration method provided by the embodiments of the present application can be applied to a network element registration system. Figure 2 A structural schematic diagram of the network element registration system is shown. As shown in Figure 2 The network element registration system 20 includes an electronic device 21 and a server 22.
[0043] The network element registration system 20 can be used for the Internet of Things, and the network element registration system 20 (such as the electronic device 21 and the server 22) can include a plurality of central processing units (CPUs), a plurality of memories, a storage device storing a plurality of operating systems, and the like hardware.
[0044] The electronic device 21 is configured to implement the registration of the network element. For example, the electronic device 21 can interact with the server 22 to obtain the registration information of the target network element and the type of the target network element, determine the registration permission of the target network element, and complete the registration of the target network element in the case that the registration permission of the target network element is permission to register and permission to be discovered or permission to register and no permission to be discovered.
[0045] The server 22 is configured to implement the storage of data. For example, when the target network element is registered, the registration information of the target network element and the type of the target network element are sent to the server 22, and the server 22 stores the registration information of the target network element and the type of the target network element.
[0046] The network element registration method provided in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0047] As shown in Figure 3 The network element registration method provided in the embodiments of the present application includes S201-S203.
[0048] S201, obtain the registration information of a target network element and the type of the target network element.
[0049] The registration information includes at least one of the following: number segment information, location information, and Internet Protocol (IP) information.
[0050] Optionally, the registration information of the target network element can be the related configuration information submitted by the target network element when the target network element is registered.
[0051] Exemplarily, the registration number segment information can be international mobile subscriber identity (IMSI), mobile subscriber international ISDN number (MSISDN), routing-indicator, and the like registration number segment identification information; the location information can be tracking area identity (TAI), i.e., location area ID information; the internet protocol (IP) information, i.e., internet protocol (IP) information, such as information of a user equipment (UE) address segment that can be served by the BSF network element, IPV4, IPV6, and the like information.
[0052] Optionally, the target network element type refers to a network element type of the target network element, such as a UDM, an AUSF, a PCF, an AMF, an SMF, a BSF, and the like network element.
[0053] Optionally, when the target network element needs to be registered, the registration information and the type need to be actively reported, such as being reported to an electronic device, so as to realize acquisition of the registration information of the target network element and the target network element type.
[0054] S202. Determine a registration authority of the target network element according to the registration information of the target network element and the target network element type.
[0055] The registration authority of the target network element is any one of the following: allowed to be registered and allowed to be discovered, allowed to be registered and not allowed to be discovered, and not allowed to be registered.
[0056] Optionally, the registration information of different network element types can be limited, and the registration authority of the target network element is determined according to whether the registration information of the target network element meets the registration information requirement of the target network element type.
[0057] Exemplarily, the integrity of the registration information of the target network element can be verified, so as to determine the registration authority of the target network element.
[0058] Specifically, in a case where all information of the target network element is accurate, it is determined that the registration authority of the target network element is allowed to be registered and allowed to be discovered; in a case where most information of the target network element is accurate (such as 80% or more information is accurate), it is determined that the registration authority of the target network element is allowed to be registered and not allowed to be discovered; and in a case where most information of the target network element is incorrect (such as 50% or more information is incorrect), it is determined that the registration authority of the target network element is not allowed to be registered.
[0059] Optionally, the determination threshold of the registration authority can also be determined according to different target network element types of the target network element, such as 80%, 50%, and the like.
[0060] It should be noted that the registration authority of the target network element can be understood as a management level defined by the NRF for the target network element; the allowed registration means that the NRF accepts the registration of the target network element and registers the related information of the target network element, such as the NF profile and the like; and the allowed discovery means that the NRF allows the target network element to be queried and selected by other network elements, such as when any network element needs to obtain the related information of the target network element and make a call, the NRF sends the related information of the target network element to the any network element.
[0061] It can be understood that the disallowed registration means that the NRF does not accept the registration of the network element (rejects the registration of the network element) and does not register the related information of the target network element; and the disallowed discovery means that when any network element needs to obtain a network element of a target network element type, the NRF does not send the related information of the target network element to the any network element.
[0062] It should be noted that the disallowed discovery can also be understood as considering that the target network element has a problem and can fail in subsequent calls, so that the target network element is not allowed to be discovered and called by other network elements.
[0063] Optionally, in a possible implementation, the registration authority of the target network element can be divided into two categories, a network element registration authority and a network element discovery authority, wherein the network element registration authority can include the allowed registration and the disallowed registration, and the network element discovery authority can include the allowed discovery and the disallowed discovery.
[0064] S203, in a case where the registration authority of the target network element is the allowed registration and the allowed discovery or the allowed registration and the disallowed discovery, completing the registration of the target network element.
[0065] Optionally, in a case where the registration authority of the target network element is the allowed registration (the allowed registration and the allowed discovery or the allowed registration and the disallowed discovery), the registration of the target network element can be implemented through the NRF.
[0066] It should be noted that completing the registration of the target network element can be understood as the NRF registering the configuration and capability of the target network element and automatically used for subsequent service discovery and calling.
[0067] Optionally, the NRF can also mark the target network element in the process of implementing the registration of the target network element based on whether the target network element is allowed to be discovered, so as to determine whether any network element is allowed to discover the target network element when the any network element needs the target network element, such as whether to send the related information of the target network element to the any network element.
[0068] Optionally, after the registration of the target network element is completed, when service discovery is implemented based on the target network element subsequently, fine matching can be performed, that is, when service discovery is performed, the network element corresponding to the information with the smallest granularity can be used preferentially.
[0069] For example, for an AMF network element, it is determined through a query that there are a first AMF network element and a second AMF network element. Taking the target element information in S301 as an example, the location information of the first AMF network element includes only TAI1, and the location information of the second AMF network element includes TAI1, TAI2, and TAI3. Therefore, the first AMF is the network element corresponding to the information with the smallest granularity (that is, only one TAI information), and the first AMF is determined preferentially as the network element that needs to be called for service discovery.
[0070] In the embodiment of the application, when the target network element is registered, the registration information of the target network element is obtained, the registration information including at least one of the number range information, the location information, and the Internet Protocol (IP) information, and the target network element type of the target network element. Then, according to the registration information and the target network element type of the target network element, the registration permission of the target network element is determined from multiple registration permissions, including permission to register and permission to be discovered, permission to register and not permission to be discovered, and not permission to register. Further, when the registration permission of the target network element is permission to register and permission to be discovered, or the registration permission of the target network element is permission to register and not permission to be discovered, the registration of the target network element is completed, so that the registration of the target network element is completed according to the registration permission of the target network element. Through the above method, the application can automatically determine different registration permissions for the target network element according to the registration information and the target network element type of the target network element, and when the registration permission of the target network element is permission to register (permission to register and permission to be discovered, or permission to register and not permission to be discovered), the registration of the target network element is implemented. Therefore, when the target network element is registered, the registration information of the target network element is verified to prevent the registration of the target network element from being completed in the case where the registration information of the target network element is incomplete, which may cause problems in the subsequent calling process of the network element, affect the user's use experience, and even cause the user's service to fail. The accuracy of network element registration is improved.
[0071] In a possible implementation manner, as shown in Figure 4 The S202 in the network element registration method provided by the embodiment of the application includes S301-S304.
[0072] S301, target element information corresponding to a network element of a target network element type is determined.
[0073] The target element information is information that needs to be included in the registration information of the network element of the target network element type when the network element is registered, and the element information corresponding to the network elements of different network element types is different.
[0074] It should be noted that the target network element information can be understood as the element information that needs to be verified as the focus when the network element of the target network element type is registered again.
[0075] For the target element information corresponding to different target network element types, specific business requirements can be combined, such as the information that needs to be used as the focus in subsequent calls of the network element of the target type, or the business experience of the communication service operator.
[0076] For example, as shown in Figure 5 For the network element of the UDM type, the corresponding element information can be the number segment information in the registration information, that is, the network element of the UDM type needs to include the number segment information when registering, such as at least including at least one of IMSI, MSISDN, and routing-indicator; for the network element of the AUSF type, the corresponding element information can be the number segment information in the registration information, such as at least including at least one of IMSI, MSISDN, and routing-indicator; for the network element of the PCF type, the corresponding element information can be the number segment information in the registration information, that is, the network element of the UDM type needs to include the number segment information when registering, such as at least including at least one of IMSI, MSISDN, and routing-indicator; for the network element of the AMF or SMF type, the corresponding element information can be the address information in the registration element, such as must including TAI information; for the network element of the BSF type, the corresponding element information can be the IP information in the registration information, such as at least including at least one of IPV4 or IPV6 address information.
[0077] Optionally, for the same registration information, such as the number segment information, there can be differences in the specific element information that needs to be included due to different network element types.
[0078] For example, as shown in Figure 5 For the network element of the UDM type, it can be at least one of at least one of IMSI, MSISDN, and routing-indicator; for the network element of the AUSF type, it can be at least one of at least one of IMSI and routing-indicator; for the network element of the PCF type, it can be at least one of at least one of IMSI and MSISDN.
[0079] Optionally, after determining the element information corresponding to the network element of the target network element type, the registration information of the target network element can be verified to determine the registration permission of the target network element.
[0080] S302, in the case that the registration information of the target network element does not contain the target element information, determining that the registration permission of the target network element is not allowed to register.
[0081] S303, in a case where the registration information of the target network element contains the target element information and the target element information does not meet the preset format requirement, determining that the registration permission of the target network element is to allow registration and not to allow being discovered.
[0082] S304, in a case where the registration information contains the target element information and the target element information meets the preset format requirement, determining that the registration permission of the target network element is to allow registration and to allow being discovered.
[0083] It should be noted that in some cases, although the registration information of the network element includes the element information, the information cannot be normally identified, such as all 0 or all f, and it can be considered that the element information does not meet the preset format requirement, and in subsequent calling, the network element calling can still fail, and therefore the network element can be temporarily not allowed to be discovered.
[0084] Optionally, in a case where it is determined that the registration permission of the target network element is to allow registration and not to allow being discovered, an indication information can be sent to the target network element registration request end to require the target network element registration request end to modify the element information of the target network element and re-register.
[0085] Optionally, S301-S304 can be understood as verifying the element information in the registration information of the network element, that is, registration element verification.
[0086] In the embodiment of the application, different target element information is set for different target network element types, and the registration permission of the target network element is determined based on the verification of the target element information, so as to accurately realize the management of the registration permission of the network element and improve the registration efficiency of the network element.
[0087] In a possible implementation manner, as shown in Figure 6 The network element registration method provided by the embodiment of the application further includes S401-S402 before S201.
[0088] S401, obtaining an identifier of a target network element.
[0089] Optionally, the identifier of the target network element can be an ID of the target network element, that is, an NF ID.
[0090] S402, in a case where the identifier of the target network element is not an identifier included in a preset list, allowing the target network element to register.
[0091] The preset list includes a plurality of preset identifiers, and the network elements indicated by the plurality of preset identifiers are not allowed to be registered.
[0092] It can be understood that the preset list can be understood as a black list registered by the network element, that is, when the identifier of the target network element is an identifier in the black list, the registration of the target network element is not allowed; and when the identifier of the target network element is not an identifier in the black list, the registration of the target network element is allowed.
[0093] Optionally, a white list can also be set, that is, when the identifier of the target network element is an identifier in the white list, the registration of the target network element is allowed; and when the identifier of the target network element is not an identifier in the white list, the registration of the target network element is not allowed.
[0094] It should be noted that for the black list and the white list, specific use requirements can be combined for selection, such as rejecting a test network element or preventing the registration of a network element to be built by the black list to protect the security of the existing network; and in the case of limiting specific network elements in the internal network, the registration of external network elements is limited by the white list.
[0095] It can be understood that for the black and white lists, only the registration process of the network element in the early stage (such as the initiation stage) is limited, and the specific registration authority of the target network element needs to be determined in combination with the registration information of the target network element, the type of the target network element and the like.
[0096] In addition, for the black list and the white list, they can be understood as relative concepts. For example, in the case of only setting the black list, it can be understood that the identifiers of all network elements except the identifiers included in the black list belong to the identifiers in the white list; and in the case of only setting the white list, it can be understood that the identifiers of all network elements except the identifiers included in the white list belong to the identifiers in the black list.
[0097] In a possible implementation, as shown in Figure 7 , the 5GC network element performs NRF registration, the NRF determines the registration authority of the network element based on the registration information and the type of the network element, directly rejects the registration of the network element in the black list, and determines the registration authority of the network element in the white list based on subsequent element verification and the like.
[0098] In the embodiment of the present application, by setting the preset list, the management of the registration of the network element based on the identifier of the network element is realized, that is, for part of the network elements, it can be determined that the registration of the network element is not allowed only by the identifier of the network element, so as to further improve the management efficiency of the registration of the network element.
[0099] In a possible implementation, as shown in Figure 8 , the network element registration method provided by the embodiment of the present application further includes S501-S503:
[0100] S501, in a case where it is determined that the registered network elements include the registered network element with the same registration information as the target network element, determining whether the home of the registered network element is the same as the home of the target network element.
[0101] S502, in a case where it is determined that the home of one of the registered network elements is the same as the home of the target network element, suspending the target network element and disallowing the target network element to be discovered.
[0102] S503, in a case where it is determined that the home of at least two of the registered network elements is the same as the home of the target network element, deregistering the target network element.
[0103] It should be noted that the registered network element refers to a network element that has completed registration in the existing network; and the registration information being the same refers to the registration information of two network elements being consistent.
[0104] It should be noted that when the registration information of two network elements is consistent, it can be considered that there is an attribute conflict between the two network elements, and corresponding processing needs to be performed.
[0105] Optionally, the registration information can be all registration information of the target network element, or can be the target element information in S301, and the specific selection can be made according to the use requirement.
[0106] Optionally, the home of the network element can be understood as the large area and / or province information corresponding to the network element, such as the large area and / or province information corresponding to the network element identifier (NF ID).
[0107] It should be noted that S501-S503 can be understood as verifying whether the registered network element conflicts with the registered network element, that is, registration conflict verification.
[0108] Optionally, in a possible implementation manner, as shown in Figure 9 For network element registration in the white list, the registration permission of the network element can be determined through registration element verification and registration conflict verification.
[0109] It should be noted that in a possible implementation manner, the registration conflict verification needs to be performed after the registration element verification is completed and the registration of the network element is completed, and then whether there is a registration conflict between the network elements is verified.
[0110] Optionally, the network element subjected to the registration element verification mainly refers to the network element that has completed registration after it is determined in the registration element verification process that the registration permission of the network element is allowed to register and allowed to be discovered.
[0111] In the embodiment of the application, by performing conflict verification on the registration information of the network element and the registration information of the registered network element, repeated registration of network elements with different homes is avoided, and network stability is improved.
[0112] In a possible implementation, the method for registering a network element provided in the embodiment of the present application further includes S601:
[0113] S601, if the registration permission of the target network element is to allow registration without allowing discovery or not to allow registration, sending an alarm message.
[0114] Optionally, in combination with Figure 5 , Figure 9 if the registration permission of the target network element is not to allow registration and allow discovery, it generally indicates that the target network element has problems such as incomplete registration information or conflict with a registered network element, and therefore, after determining the registration permission of the target network element, the related alarm message can be generated and sent to the management platform to prompt the background maintenance personnel to perform subsequent confirmation and processing.
[0115] The embodiment of the present application can divide a network element registration device into functional modules according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be realized in the form of hardware or in the form of a software functional module. Optionally, the division of the modules in the embodiment of the present application is illustrative, and is only a logical functional division. In actual implementation, another division mode can be used.
[0116] Figure 10 A structural schematic diagram of a network element registration device provided in the embodiment of the present application is shown in FIG. 1. As shown in FIG. 1, the network element registration device 100 is used to improve the accuracy of network element registration, for example, to execute the network element registration method shown in FIG. 2. The network element registration device 100 includes an acquisition unit 1001, a determination unit 1002, and a registration unit 1003. Figure 10 Figure 3 The acquisition unit 1001 is configured to acquire registration information of a target network element and a target network element type. The registration information includes at least one of the following: number segment information, location information, and Internet Protocol (IP) information.
[0117] The determination unit 1002 is configured to determine a registration permission of the target network element according to the registration information of the target network element and the target network element type. The registration permission of the target network element is any one of the following: to allow registration and allow discovery, to allow registration without allowing discovery, or not to allow registration.
[0118] The registration unit 1003 is configured to complete registration of the target network element if the registration permission of the target network element is to allow registration and allow discovery or to allow registration without allowing discovery.
[0119] The registration unit 1003 is configured to complete registration of the target network element if the registration permission of the target network element is to allow registration and allow discovery or to allow registration without allowing discovery.
[0120] In a possible implementation, the determining unit 1002 is further configured to determine target element information corresponding to the target network element type, the target element information being information that needs to be included in the registration information of the target network element type when registering, and the element information corresponding to different network element types being different.
[0121] The determining unit 1002 is further configured to determine that the registration permission of the target network element is not allowed to register, in a case where the registration information of the target network element does not contain the target element information.
[0122] The determining unit 1002 is further configured to determine that the registration permission of the target network element is allowed to register and not allowed to be discovered, in a case where the registration information of the target network element contains the target element information and the target element information does not meet the preset format requirement.
[0123] The determining unit 1002 is further configured to determine that the registration permission of the target network element is allowed to register and allowed to be discovered, in a case where the registration information contains the target element information and the target element information meets the preset format requirement.
[0124] In a possible implementation, the obtaining unit 1001 is further configured to obtain an identifier of the target network element.
[0125] The registering unit 1003 is further configured to allow the target network element to register, in a case where the identifier of the target network element is not included in a preset list, the preset list including a plurality of preset identifiers, and the plurality of preset identifiers indicating network elements that are not allowed to be registered.
[0126] In a possible implementation, the determining unit 1002 is further configured to determine whether the home location of a registered network element is the same as the home location of the target network element, in a case where the registered network element with the same registration information as the target network element is included in the plurality of network elements that have completed registration.
[0127] The registering unit 1003 is further configured to suspend the target network element and not allow the target network element to be discovered, in a case where the determining unit 1002 determines that the home location of one of the registered network elements is the same as the home location of the target network element.
[0128] The registering unit 1003 is further configured to deregister the target network element, in a case where the determining unit 1002 determines that the home locations of at least two of the registered network elements are the same as the home location of the target network element.
[0129] In a possible implementation, the determining unit 1002 is further configured to send an alarm information, in a case where the registration permission of the target network element is allowed to register and not allowed to be discovered, or not allowed to register.
[0130] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the present embodiment provides a possible structural schematic diagram of the electronic device involved in the above-mentioned embodiments. As shown in Figure 11 Fig. 1, an electronic device 110 is configured to improve the accuracy of network element registration, for example, to perform the network element registration method shown in Figure 3 Fig. 2. The electronic device 110 includes a processor 1101, a memory 1102, and a bus 1103. The processor 1101 and the memory 1102 can be connected through the bus 1103.
[0131] The processor 1101 is the control center of the communication device, which can be one processor or a general term of multiple processing elements. For example, the processor 1101 can be a general central processing unit (CPU), or other general-purpose processors, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0132] As an embodiment, the processor 1101 can include one or more CPUs, such as the CPU 0 and the CPU 1 shown in Figure 11 Fig. 3.
[0133] The memory 1102 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0134] As a possible implementation, the memory 1102 can exist independently of the processor 1101. The memory 1102 can be connected to the processor 1101 through the bus 1103, for storing instructions or program codes. When the processor 1101 invokes and executes the instructions or program codes stored in the memory 1102, the network element registration method provided by the present embodiment can be implemented.
[0135] In another possible implementation, the memory 1102 can also be integrated with the processor 1101.
[0136] The bus 1103 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 11 Only one thick line is used to represent the bus in the figure, but it does not mean that there is only one bus or only one type of bus.
[0137] It should be noted that, Figure 11 The structure shown does not constitute a limitation on the electronic device 110. In addition to Figure 11 the components shown, the electronic device 110 can include more or fewer components than shown, or combine certain components, or different component arrangements.
[0138] As an example, in combination with Figure 10 , the functions implemented by the acquisition unit 1001, the determination unit 1002, and the registration unit 1003 in the network element registration apparatus 100 are the same as the functions of the processor 1101 in Figure 11 .
[0139] Optionally, as shown in Figure 11 , the electronic device 110 provided by the embodiments of the present application can further include a communication interface 1104.
[0140] The communication interface 1104 is configured to connect with other devices through a communication network. The communication network can be an Ethernet, a wireless access network, a wireless local area network (WLAN), or the like. The communication interface 1104 can include a receiving unit for receiving data, and a sending unit for sending data.
[0141] In a possible implementation, in the electronic device provided by the embodiments of the present application, the communication interface can also be integrated in the processor.
[0142] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of functional units is taken as an example. In actual application, the above functions can be completed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0143] The embodiment of the present application further provides a computer readable storage medium, which stores instructions, and when a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.
[0144] The embodiment of the present application provides a computer program product containing instructions, which, when executed on a computer, cause the computer to execute a network element registration method in the above method embodiment.
[0145] The computer readable storage medium may, for example, be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any combination of the above. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing, or any other medium of the form of a computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). In the embodiment of the present application, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0146] Since the electronic device, the computer readable storage medium, and the computer program product in the embodiment of the present application can be applied to the above method, the technical effects that can be obtained thereby can be referred to the above method embodiment, and the embodiment of the present application will not be described here.
[0147] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited to this. Any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application.
Claims
1. A method for registering a network element, characterized in that, The method comprises: obtaining registration information of a target network element and a target network element type, the registration information comprising at least one of: number segment information, location information, and Internet Protocol (IP) information; determining a registration authority of the target network element according to the registration information of the target network element and the target network element type, the registration authority of the target network element being any one of: allowed to register and allowed to be discovered, allowed to register but not allowed to be discovered, and not allowed to register; in a case where the registration authority of the target network element is allowed to register and allowed to be discovered or allowed to register but not allowed to be discovered, completing registration of the target network element; the determining of the registration authority of the target network element according to the registration information of the target network element and the target network element type comprises: determining target element information corresponding to a network element of the target network element type, the target element information being information that needs to be included in the registration information of the network element of the target network element type when registering, the element information corresponding to network elements of different network element types being different; in a case where the registration information of the target network element does not contain the target element information, determining that the registration authority of the target network element is not allowed to register; in a case where the registration information of the target network element contains the target element information and the target element information does not meet preset format requirements, determining that the registration authority of the target network element is allowed to register but not allowed to be discovered; in a case where the registration information contains the target element information and the target element information meets preset format requirements, determining that the registration authority of the target network element is allowed to register and allowed to be discovered.
2. The method of claim 1, wherein, Before the obtaining of the registration information of the target network element and the target network element type, the method further comprises: obtaining an identifier of the target network element; in a case where the identifier of the target network element is not an identifier included in a preset list, allowing the target network element to register, the preset list comprising a plurality of preset identifiers, the plurality of preset identifiers indicating network elements that are not allowed to be registered.
3. The method of claim 1, wherein, The method further comprises: in a case where it is determined that a plurality of network elements that have completed registration include a registered network element that is the same as the registration information of the target network element, determining whether a place of origin of the registered network element is the same as a place of origin of the target network element; in a case where it is determined that the place of origin of one of the registered network elements is the same as the place of origin of the target network element, suspending the target network element and not allowing the target network element to be discovered; in a case where it is determined that the place of origin of at least two of the registered network elements is the same as the place of origin of the target network element, deregistering the target network element.
4. The method of claim 1, wherein, The method further comprises: in a case where the registration authority of the target network element is allowed to register but not allowed to be discovered or not allowed to register, sending an alarm message.
5. A network element registration apparatus, characterized by comprising: The network element registration apparatus comprises an obtaining unit, a determining unit, and a registration unit; the obtaining unit is configured to obtain registration information of a target network element and a target network element type, the registration information comprising at least one of: number segment information, location information, and Internet Protocol (IP) information; The determining unit is configured to determine a registration authority of the target network element according to the registration information of the target network element and the target network element type, the registration authority of the target network element being any one of: allowed to be registered and allowed to be discovered, allowed to be registered and not allowed to be discovered, and not allowed to be registered. The registering unit is configured to complete the registration of the target network element in a case where the registration authority of the target network element is allowed to be registered and allowed to be discovered or allowed to be registered and not allowed to be discovered. The determining unit is further configured to determine target element information corresponding to the network element of the target network element type, the target element information being information that needs to be included in the registration information of the network element of the target network element type when registering, and the element information corresponding to the network elements of different network element types being different. The determining unit is further configured to determine that the registration authority of the target network element is not allowed to be registered in a case where the registration information of the target network element does not contain the target element information. The determining unit is further configured to determine that the registration authority of the target network element is allowed to be registered and not allowed to be discovered in a case where the registration information of the target network element contains the target element information and the target element information does not meet preset format requirements. The determining unit is further configured to determine that the registration authority of the target network element is allowed to be registered and allowed to be discovered in a case where the registration information contains the target element information and the target element information meets preset format requirements.
6. The network element registration apparatus of claim 5, wherein, The obtaining unit is further configured to obtain an identifier of the target network element. The registering unit is further configured to allow the target network element to register in a case where the identifier of the target network element is not an identifier included in a preset list, the preset list including a plurality of preset identifiers, and the network elements indicated by the plurality of preset identifiers being not allowed to be registered.
7. The network element registration apparatus of claim 5, wherein, The determining unit is further configured to determine whether a home location of a registered network element included in a plurality of network elements that have completed registration is same as a home location of the target network element in a case where the registered network element included in the plurality of network elements that have completed registration is same as the registration information of the target network element. The registering unit is further configured to suspend the target network element and not allow the target network element to be discovered in a case where the determining unit determines that the home location of one registered network element included in the registered network elements is same as the home location of the target network element. The registering unit is further configured to deregister the target network element in a case where the determining unit determines that the home locations of at least two registered network elements included in the registered network elements are same as the home location of the target network element.
8. The network element registration apparatus of claim 5, wherein, The determining unit is further configured to send alarm information in a case where the registration authority of the target network element is allowed to be registered and not allowed to be discovered or not allowed to be registered.
9. An electronic device, comprising: The electronic device comprises a processor and a memory, wherein the memory is configured to store one or more programs, the one or more programs comprising computer execution instructions, and when the electronic device is running, the processor executes the computer execution instructions stored in the memory, so that the electronic device executes the network element registration method in any one of claims 1-4. 10. A computer-readable storage medium storing one or more programs, the one or more programs comprising instructions for: The one or more programs include instructions that, when executed by a computer, cause the computer to perform the network element registration method of any one of claims 1-4.
Citation Information
Patent Citations
5G network element registration information auditing method and device, electronic equipment and storage medium
CN114615737A