User instance information acquisition method and device, computer equipment and storage medium
The NRF network element query target data list to obtain user instance information, which solves the problem of excessive resource consumption in the prior art, and improves the network element redundancy capability and information acquisition efficiency.
Patent Information
- Application Number
- CN202510335481.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-07-04
AI Technical Summary
In the prior art, the user information query method cannot accurately locate user instance information, resulting in excessive consumption of network element resources and reducing the redundancy capability of network element.
The NRF network element responds to the information query request of the AMF network element, determines the target data list corresponding to the target user, and querys the user instance information in the list, instead of traversing the database query, and reduces resource consumption.
It realizes reducing network element resource consumption when querying user instance information, improves network element redundancy capabilities, and ensures smooth information acquisition.
Smart Images

Figure CN120264383A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of mobile core networks, and in particular, to a method, apparatus, computer device, and storage medium for obtaining user instance information. Background Art
[0002] When a user needs to query information, data traversal queries can be performed according to all possible data query routes for completing data queries. For example, when a 5G (5th Generation Mobile Communication Technology) user accesses the network in a 4G (4th Generation Mobile Communication Technology) network, the 5G user signaling goes to the HSS (Home Subscriber Server) for data query after following the first data query route DRA (Diameter Routing Agent). If it is found that there is no 5G user information in the HSS, a redirection request is initiated through the HSS according to the second data query route, and the signaling is re-forwarded to the UDR (Unified Data Repository) for data query in proxy mode.
[0003] However, the user information query method in the prior art cannot accurately locate user instance information, resulting in additional consumption of a large amount of network element resources during the process of obtaining data instance information and reducing the original redundancy ability of the network elements. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a method, apparatus, computer device, and storage medium for obtaining user instance information that can reduce the consumption of network element resources and improve the redundancy ability of network elements.
[0005] In a first aspect, the present application provides a method for obtaining user instance information, which is applied to an NRF (NF Repository Function) network element. The method includes:
[0006] In response to an information query request for a target user sent by an access and mobility management function AMF network element, determining a target data list corresponding to the target user, where the target data list includes instance information identifiers of users with the same user communication attributes as the target user;
[0007] In the case that the instance information identifier corresponding to the target user is included in the target data list, determine the user instance information of the target user from the candidate instance information corresponding to the target data list;
[0008] Send the user instance information to the AMF network element.
[0009] In one embodiment, the determining the target data list corresponding to the target user according to the user communication attribute carried in the information query request includes:
[0010] If the user communication attribute of the target user is carried in the information query request, select the target data list whose list attribute is the same as the user communication attribute from at least two candidate data lists according to the user communication attribute;
[0011] If the user communication attribute of the target user is not carried in the information query request, perform a traversal query on at least two candidate data lists to determine the target data list corresponding to the target user.
[0012] In one embodiment, the user communication attribute includes the fifth-generation mobile communication technology 5G user type and the sixth-generation mobile communication technology 6G user type; the list attribute includes the 5G list type and the 6G list type.
[0013] In one embodiment, the determining the user instance information of the target user from the candidate instance information corresponding to the target data list includes:
[0014] Perform a data query in the database built in the unified data management function UDM network element corresponding to the target data list to obtain the user instance information of the target user;
[0015] Among them, the database built in the UDM network element stores the candidate instance information corresponding to the target data list.
[0016] In one embodiment, the method further includes:
[0017] Based on the customer relationship management CRM system, store the instance information identifier of the candidate user with the user communication attribute of the 6G user type into the candidate data list with the list attribute of the 6G list type; or,
[0018] Based on the CRM system, store the candidate instance information of the candidate user with the user communication attribute of the 6G user type into the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user with the user communication attribute of the 6G user type into the candidate data list with the list attribute of the 6G list type;
[0019] Among them, the candidate instance information includes the instance information identifier.
[0020] In one embodiment, if the user communication attribute of a candidate user changes from a 5G user type to a 6G user type, the method further includes:
[0021] Deleting the candidate instance information of the candidate user whose user communication attribute changes from a 5G user type to a 6G user type from the database built in the 5G UDM network element;
[0022] Based on the CRM system, storing the candidate instance information of the candidate user in the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user in the candidate data list with the list attribute of the 6G list type.
[0023] In a second aspect, the present application further provides an acquisition device for user instance information, configured in the NRF network element. The device includes:
[0024] A first determination module, configured to determine a target data list corresponding to the target user in response to an information query request for the target user sent by the access and mobility management function AMF network element, where the target data list includes instance information identifiers of users with the same user communication attribute as the target user;
[0025] A second determination module, configured to determine the user instance information of the target user from the candidate instance information corresponding to the target data list when the target data list includes the instance information identifier corresponding to the target user;
[0026] A sending module, configured to send the user instance information to the AMF network element.
[0027] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0028] In response to an information query request for the target user sent by the access and mobility management function AMF network element, determining a target data list corresponding to the target user, where the target data list includes instance information identifiers of users with the same user communication attribute as the target user;
[0029] When the target data list includes the instance information identifier corresponding to the target user, determining the user instance information of the target user from the candidate instance information corresponding to the target data list;
[0030] Send the user instance information to the AMF network element.
[0031] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0032] In response to an information query request for a target user sent by an access and mobility management function (AMF) network element, determine a target data list corresponding to the target user, where the target data list contains instance information identifiers of users with the same user communication attributes as the target user;
[0033] In the case where the target data list contains the instance information identifier corresponding to the target user, determine the user instance information of the target user from the candidate instance information corresponding to the target data list;
[0034] Send the user instance information to the AMF network element.
[0035] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0036] In response to an information query request for a target user sent by an access and mobility management function (AMF) network element, determine a target data list corresponding to the target user, where the target data list contains instance information identifiers of users with the same user communication attributes as the target user;
[0037] In the case where the target data list contains the instance information identifier corresponding to the target user, determine the user instance information of the target user from the candidate instance information corresponding to the target data list;
[0038] Send the user instance information to the AMF network element.
[0039] The above method, device, computer device, and storage medium for obtaining user instance information. The NRF network element obtains an information query request sent by the AMF network element for a target user, and determines a target data list corresponding to the target user according to the user communication attribute of the target user carried in the information query request. Furthermore, when the target data list contains the instance information identifier corresponding to the target user, the user instance information of the target user is determined from the candidate instance information corresponding to the target data list, and then the user instance information is sent to the AMF network element. According to the above content, it can be known that the target data list in this application contains the instance information identifiers of users with the same user communication attribute, and if there is an instance information identifier of a certain user in the target data list, it indicates that the user instance information of this user is stored in the database. Therefore, after determining the target data list corresponding to the target user in this application, it can be verified whether the target data list contains the instance information identifier corresponding to the target user. Furthermore, when the target data list contains the instance information identifier corresponding to the target user, it is determined that the user instance information of the target user is stored in the database, which is the process of determining the user instance information of the target user from the candidate instance information corresponding to the target data list. In summary, this application verifies whether the user instance information is stored in the database by querying the target data list corresponding to the target user, replaces the form of traversing and querying the database with the form of querying the target data list, reduces the consumption of network element resources, improves the redundancy ability of the network element, and ensures the smooth acquisition of user instance information. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a flowchart of 4G and 5G user data migration;
[0041] Figure 2 is a flowchart of 4G and 5G user data query routing;
[0042] Figure 3 is a flowchart of 5G and 6G user data migration;
[0043] Figure 4 is a flowchart of 5G and 6G user data query routing;
[0044] Figure 5 is an application environment diagram of a method for obtaining user instance information provided by an embodiment of this application;
[0045] Figure 6 is a flowchart of the first method for obtaining user instance information provided by an embodiment of this application;
[0046] Figure 7 is a flowchart of a data query routing scheme when a user accesses a 5G network;
[0047] Figure 8 Schematic diagram of the candidate data list built in the NRF;
[0048] Figure 9 Schematic diagram of the NRF returning instance information;
[0049] Figure 10 Signaling diagram of a method for obtaining user instance information provided by an embodiment of the present application;
[0050] Figure 11 Block diagram of a device for obtaining user instance information provided by an embodiment of the present application;
[0051] Figure 12 Internal structure diagram of a computer device in one embodiment. Detailed implementation manners
[0052] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] As Figure 1 shown, when a new 5G user opens an account, the CRM (Customer Relationship Management) system directly stores the user data in the UDR (Unified Data Repository), that is, the database in the UDM (Unified Data Management); for a 4G to 5G upgraded user, in order to achieve data migration between different networks without changing the SIM card or the phone number, the HSS-BE (Home Subscriber Server) (the database in the HSS) deletes the user's data, and the UDR adds the new user data and migrates the users one by one.
[0054] As Figure 2As shown, the dotted line "dash line" represents the access of 4G users in the 4G network. The MME (Mobility Management Entity, a network node) can directly query data in the HSS-BE; the dotted line "dash-dot line" ① represents the access of 5G users in the 4G network. The current data query routing method adopted is the HSS Proxy mode. For the HSS Proxy, after the transformation of the HSS Proxy interface between the HSS and the UDM is completed, the HSS determines the existence of user data. First, it defaults to query user data in the HSS. If the HSS fails to query the user data, it then forwards the user's request to the UDM through the HSS Proxy, and then queries in the UDR; the dotted line "dash-dot line" ② represents the access of 5G users in the 5G network. The AMF (registration process) and the SMF (session establishment process) directly query data in the UDR.
[0055] It can be seen from this that in the existing technical solution, when a 5G user accesses the 4G network (the process of the dotted line "dash-dot line" ①), the 5G user signaling goes to the HSS for data query after passing through the DRA. It is found that there is no 5G user information in the HSS. Then the HSS initiates a redirection request and forwards the signaling to the UDR for data query again through the HSS proxy mode.
[0056] Considering 6G (6th Generation Mobile Communication Technology) users, there are also two cases: when a new 6G user opens an account, the CRM system directly deposits the user data into the 6G UDR (the database in the 6G UDM); for users upgrading from 5G to 6G, in order to achieve data migration between different networks without changing the SIM card or the phone number, the 5G UDR (the database in the 5G UDM) deletes the data of this user, and the 6G UDR adds the data of this new user and migrates the users one by one. As Figure 3 shown:
[0057] If following the idea of the existing data query routing scheme, the predicted data query routing scheme for 5G and 6G users when accessing the network is as Figure 4 shown: Among them, the dotted line "dash-dot line" ① represents that when a 6G user accesses the 5G network, first, it defaults to query user data in the 5G UDM. If the 5G UDM fails to query the user data, it then forwards the user's request to the 6G UDM through the Proxy, and then queries in the 6G UDR.
[0058] In summary, the user information query method in the prior art cannot accurately locate the user instance information, resulting in additional consumption of a large amount of network element resources during the process of obtaining data instance information and reducing the original redundancy ability of the network element.
[0059] The method for obtaining user instance information provided by the embodiments of the present application can be applied to an application environment as Figure 5 shown. Among them, the AMF network element 102 communicates with the NRF network element 104 through the network. The NRF network element obtains an information query request for a target user sent by the AMF network element, and then determines a target data list corresponding to the target user according to the user communication attributes of the target user carried in the information query request. Furthermore, when the target data list contains the instance information identifier corresponding to the target user, the user instance information of the target user is determined from the candidate instance information corresponding to the target data list, and then the user instance information is sent to the AMF network element.
[0060] In one embodiment, as Figure 6 shown, a method for obtaining user instance information is provided. Taking the NRF network element in Figure 5 as an example, the method includes the following steps:
[0061] S601, in response to an information query request for a target user sent by the access and mobility management function AMF network element, determine a target data list corresponding to the target user according to the user communication attributes of the target user carried in the information query request.
[0062] Among them, the target data list contains the instance information identifiers of users with the same user communication attributes as the target user.
[0063] It should be noted that when it is necessary to determine the target data list corresponding to the target user according to the user communication attributes of the target user carried in the information query request, the user communication attributes applicable to each candidate data list can be obtained in advance, and then, from the user communication attributes applicable to each candidate data list, the target data list with user communication attributes applicable to the target user is determined.
[0064] Among them, the user communication attributes of the user are used to characterize the characteristics of the user during the communication process.
[0065] In an embodiment of the present application, to reduce the complexity of obtaining user instance information and the resource consumption of network elements, the candidate instance information of all candidate users stored in the database built in the UDM network element can be pre-statistically counted; and according to the characteristics of each candidate user during the communication process, each candidate user can be divided into different user communication attributes; furthermore, instance information identifiers are selected from the candidate instance information of each candidate user, and the instance information identifiers of candidate users belonging to the same user communication attribute are recorded in the same candidate data list.
[0066] S602. When the instance information identifier corresponding to the target user is included in the target data list, determine the user instance information of the target user from the candidate instance information corresponding to the target data list.
[0067] It should be noted that it can be pre-determined whether the instance information identifier corresponding to the target user is included in the target data list. If the instance information identifier corresponding to the target user is included in the target data list, it indicates that the candidate instance information corresponding to the target data list includes the user instance information of the target user; if the instance information identifier corresponding to the target user is not included in the target data list, it indicates that the candidate instance information corresponding to the target data list does not include the user instance information of the target user either.
[0068] Therefore, when the instance information identifier corresponding to the target user is included in the target data list, information can be queried in the candidate instance information corresponding to the target data list to implement the operation of determining the user instance information of the target user.
[0069] S603. Send the user instance information to the AMF network element.
[0070] For the method for obtaining the above user instance information, the NRF network element obtains an information query request sent by the AMF network element for a target user, and determines a target data list corresponding to the target user according to the user communication attribute of the target user carried in the information query request. Further, when the target data list contains the instance information identifier corresponding to the target user, the user instance information of the target user is determined from the candidate instance information corresponding to the target data list, and then the user instance information is sent to the AMF network element. According to the above content, it can be known that the target data list in this application contains the instance information identifiers of users with the same user communication attribute, and if there is an instance information identifier of a certain user in the target data list, it indicates that the user instance information of this user is stored in the database. Therefore, after determining the target data list corresponding to the target user in this application, it is possible to verify whether the target data list contains the instance information identifier corresponding to the target user. Further, when the target data list contains the instance information identifier corresponding to the target user, it is determined that the user instance information of the target user is stored in the database, which is the process of determining the user instance information of the target user from the candidate instance information corresponding to the target data list. In summary, this application queries the target data list corresponding to the target user to verify whether the user instance information is stored in the database, replacing the form of traversing and querying the database with the form of querying the target data list, reducing the consumption of network element resources, improving the redundancy ability of network elements, and ensuring the smooth acquisition of user instance information.
[0071] In one embodiment, when it is necessary to determine the target data list corresponding to the target user according to the user communication attribute of the target user carried in the information query request, the following specific content may be included:
[0072] If the information query request carries the user communication attribute of the target user, the target data list with the same list attribute as the user communication attribute is selected from at least two candidate data lists according to the user communication attribute;
[0073] If the information query request does not carry the user communication attribute of the target user, traverse and query at least two candidate data lists to determine the target data list corresponding to the target user.
[0074] It should be noted that the user communication attribute includes the 5G user type of the fifth-generation mobile communication technology and the 6G user type of the sixth-generation mobile communication technology; the list attribute includes the 5G list type and the 6G list type.
[0075] Furthermore, the user communication attribute of the 5G user type corresponds to the list attribute of the 5G list type; the user communication attribute of the 6G user type corresponds to the list attribute of the 6G list type.
[0076] In an embodiment of the present application, if there are two candidate data lists in total, which are candidate data list A and candidate data list B respectively. Among them, the list attribute of candidate data list A is of 5G list type; the list attribute of candidate data list B is of 6G list type. Therefore, if the user communication attribute of the target user is of 5G user type, then candidate data list A is used as the target data list corresponding to the target user; if the user communication attribute of the target user is of 6G user type, then candidate data list B is used as the target data list corresponding to the target user.
[0077] In another embodiment of the present application, if the user communication attribute of the target user is not carried in the information query request, at least two candidate data lists can be traversed and queried in accordance with the preset query sequence of candidate data lists to determine the target data list corresponding to the target user. Among them, the query sequence of candidate data lists can be specified to first query the candidate data list with the list attribute of 6G list type, and then query the candidate data list with the list attribute of 5G list type.
[0078] Further explanation, when it is necessary to determine the user instance information of the target user from the candidate instance information corresponding to the target data list, the following content can be included: query data in the database built in the unified data management function UDM network element corresponding to the target data list to obtain the user instance information of the target user;
[0079] Among them, the database built in the UDM network element stores the candidate instance information corresponding to the target data list.
[0080] In an embodiment of the present application, according to the above content, the service discovery routing process for the target user can be determined as Figure 7 shown as follows:
[0081] Among them, the situation of the candidate data list included in the NRF network element is as Figure 8 shown. The NRF network element stores a candidate data list (5G list) with the list attribute of 5G list type and a candidate data list (6G list) with the list attribute of 6G list type; when the NRF network element cannot obtain the user communication attribute of the target user, the NRF network element can first query the 6G List and then query the 5G List.
[0082] Specifically, as Figure 9As shown in the figure, the 5G UDM and 6G UDM are previously registered with the NRF through NF services. The AMF initiates an NF service discovery request to the NRF. When the NRF network element cannot obtain the user communication attributes of the target user, the NRF queries the 6G List and 5GList in sequence. If it is found that the user number belongs to the 6G List, the NRF returns the instance information of the 6G UDM to the AMF; if it is found that the user number belongs to the 5G List, the NRF returns the instance information of the 5G UDM to the AMF.
[0083] The above method for obtaining user instance information replaces the form of traversing and querying the database with the form of querying the target data list by determining the target data list corresponding to the target user, and then determining the user instance information of the target user from the candidate instance information corresponding to the target data list. This reduces the consumption of network element resources, improves the redundancy ability of network elements, and ensures the smooth acquisition of user instance information.
[0084] In one embodiment, the source of the instance information identifier of the candidate data list with the list attribute of the 6G list type includes, but is not limited to, the following methods:
[0085] Based on the Customer Relationship Management (CRM) system, deposit the instance information identifier of the candidate users with the user communication attribute of the 6G user type into the candidate data list with the list attribute of the 6G list type; or,
[0086] Based on the CRM system, deposit the candidate instance information of the candidate users with the user communication attribute of the 6G user type into the database built in the 6G UDM network element, so that the 6G UDM network element deposits the instance information identifier of the candidate users with the user communication attribute of the 6G user type into the candidate data list with the list attribute of the 6G list type;
[0087] Furthermore, if the user communication attribute of the candidate user changes from the 5G user type to the 6G user type, delete the candidate instance information of the candidate user whose user communication attribute changes from the 5G user type to the 6G user type from the database built in the 5G UDM network element; based on the CRM system, deposit the candidate instance information of the candidate user into the database built in the 6G UDM network element, so that the 6G UDM network element deposits the instance information identifier of the candidate user into the candidate data list with the list attribute of the 6G list type.
[0088] Among them, the candidate instance information contains the instance information identifier. As an example, the instance information identifier may include, but is not limited to, information such as SUPI.
[0089] The above method for obtaining user instance information ensures the smooth progress of the process for obtaining user instance information by defining the source of the instance information identifier of the candidate data list with the list attribute being the 6G list type, providing a basis for determining the user instance information of the target user from the candidate instance information corresponding to the target data list in the subsequent steps.
[0090] In one embodiment, as Figure 10 shown, when it is necessary to send the user instance information to the AMF network element after receiving an information query request for the target user sent by the AMF network element, the following content may be included:
[0091] S1001, an information query request for the target user sent by the AMF network element to the NRF network element.
[0092] S1002, the NRF network element traverses and queries at least two candidate data lists to determine the target data list corresponding to the target user.
[0093] S1003, the NRF network element determines the user instance information of the target user from the candidate instance information corresponding to the target data list.
[0094] S1004, the NRF network element sends the user instance information to the AMF network element.
[0095] For the above method for obtaining user instance information, the NRF network element obtains an information query request for a target user sent by the AMF network element, so as to determine a target data list corresponding to the target user according to the user communication attribute of the target user carried in the information query request. Furthermore, when the target data list contains the instance information identifier corresponding to the target user, the user instance information of the target user is determined from the candidate instance information corresponding to the target data list, and then the user instance information is sent to the AMF network element. According to the above content, it can be known that the target data list in this application contains the instance information identifiers of users with the same user communication attribute, and if there is an instance information identifier of a certain user in the target data list, it indicates that the user instance information of this user is stored in the database. Therefore, after determining the target data list corresponding to the target user in this application, it can be verified whether the target data list contains the instance information identifier corresponding to the target user. Furthermore, when the target data list contains the instance information identifier corresponding to the target user, it is determined that the user instance information of the target user is stored in the database, which is the process of determining the user instance information of the target user from the candidate instance information corresponding to the target data list. In summary, this application queries the target data list corresponding to the target user to verify whether the user instance information is stored in the database, replacing the form of traversing and querying the database with the form of querying the target data list, reducing the consumption of network element resources, improving the redundancy ability of network elements, and ensuring the smooth acquisition of user instance information.
[0096] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps or stages in other steps.
[0097] Based on the same inventive concept, an embodiment of this application also provides a device for obtaining user instance information for implementing the above-mentioned method for obtaining user instance information. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the device for obtaining user instance information provided below can refer to the limitations on the method for obtaining user instance information in the above text, and will not be repeated here.
[0098] In one embodiment, asFigure 11 As shown, a device for obtaining user instance information is provided, configured in the NRF network element, including: a first determination module 10, a second determination module 20, and a transmission module 30, where:
[0099] The first determination module 10 is configured to, in response to an information query request for a target user sent by an access and mobility management function (AMF) network element, determine a target data list corresponding to the target user, where the target data list contains instance information identifiers of users with the same user communication attributes as the target user;
[0100] The second determination module 20 is configured to, when the target data list contains the instance information identifier corresponding to the target user, determine the user instance information of the target user from the candidate instance information corresponding to the target data list.
[0101] The transmission module 30 is configured to send the user instance information to the AMF network element.
[0102] In one embodiment, if the information query request carries the user communication attributes of the target user, the target data list with the same list attributes as the user communication attributes is selected from at least two candidate data lists according to the user communication attributes;
[0103] If the information query request does not carry the user communication attributes of the target user, traverse and query at least two candidate data lists to determine the target data list corresponding to the target user.
[0104] In one embodiment, the user communication attributes include the fifth-generation mobile communication technology (5G) user type and the sixth-generation mobile communication technology (6G) user type; the list attributes include the 5G list type and the 6G list type.
[0105] In one embodiment, data query is performed in the database built in the unified data management function (UDM) network element corresponding to the target data list to obtain the user instance information of the target user;
[0106] Among them, the candidate instance information corresponding to the target data list is stored in the database built in the UDM network element.
[0107] In one embodiment, based on the customer relationship management (CRM) system, the instance information identifiers of candidate users with the 6G user type as the user communication attribute are stored in the candidate data list with the 6G list type as the list attribute; or,
[0108] Based on the CRM system, the candidate instance information of candidate users with the 6G user type as the user communication attribute is stored in the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifiers of candidate users with the 6G user type as the user communication attribute in the candidate data list with the 6G list type as the list attribute;
[0109] Among them, the candidate instance information includes an instance information identifier.
[0110] In one embodiment, the candidate instance information of a candidate user whose user communication attribute is changed from a 5G user type to a 6G user type is deleted from the database built in the 5G UDM network element;
[0111] Based on the CRM system, the candidate instance information of the candidate user is stored in the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user in the candidate data list whose list attribute is of the 6G list type.
[0112] For the above-mentioned apparatus for obtaining user instance information, the NRF network element obtains an information query request sent by the AMF network element for a target user, so as to determine a target data list corresponding to the target user according to the user communication attribute of the target user carried in the information query request. Furthermore, when the target data list contains the instance information identifier corresponding to the target user, the user instance information of the target user is determined from the candidate instance information corresponding to the target data list, and then the user instance information is sent to the AMF network element. According to the above content, it can be known that the target data list in this application contains the instance information identifiers of users with the same user communication attribute, and if there is an instance information identifier of a certain user in the target data list, it indicates that the user instance information of this user is stored in the database; therefore, after determining the target data list corresponding to the target user in this application, it can be verified whether the target data list contains the instance information identifier corresponding to the target user. Furthermore, when the target data list contains the instance information identifier corresponding to the target user, it is determined that the user instance information of the target user is stored in the database, which is the process of determining the user instance information of the target user from the candidate instance information corresponding to the target data list; in summary, this application verifies whether the user instance information is stored in the database by querying the target data list corresponding to the target user, so as to replace the form of traversing and querying the database with the form of querying the target data list, reduce the consumption of network element resources, improve the redundancy ability of the network element, and ensure the smooth acquisition of user instance information.
[0113] Each module in the above-mentioned apparatus for obtaining user instance information can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
[0114] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 12As shown in the figure. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a method for obtaining user instance information. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, a trackball, or a touchpad set on the computer device housing, or an external keyboard, touchpad, or mouse, etc.
[0115] Those skilled in the art can understand that Figure 12 the structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0116] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:
[0117] In response to receiving an information query request sent by the access and mobility management function (AMF) network element for a target user, determine a target data list corresponding to the target user, where the target data list contains instance information identifiers of users with the same user communication attributes as the target user;
[0118] In the case where the target data list contains the instance information identifier corresponding to the target user, determine the user instance information of the target user from the candidate instance information corresponding to the target data list;
[0119] Send the user instance information to the AMF network element.
[0120] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0121] If the information query request carries the user communication attribute of the target user, select the target data list with the same list attribute as the user communication attribute from at least two candidate data lists according to the user communication attribute;
[0122] If the information query request does not carry the user communication attribute of the target user, traverse and query at least two candidate data lists to determine the target data list corresponding to the target user.
[0123] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0124] The user communication attribute includes the 5G user type of the fifth-generation mobile communication technology and the 6G user type of the sixth-generation mobile communication technology; the list attribute includes the 5G list type and the 6G list type.
[0125] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0126] Perform a data query in the database built in the unified data management function UDM network element corresponding to the target data list to obtain the user instance information of the target user;
[0127] Among them, the candidate instance information corresponding to the target data list is stored in the database built in the UDM network element.
[0128] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0129] Based on the customer relationship management CRM system, store the instance information identifier of the candidate user with the user communication attribute of the 6G user type into the candidate data list with the list attribute of the 6G list type; or,
[0130] Based on the CRM system, store the candidate instance information of the candidate user with the user communication attribute of the 6G user type into the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user with the user communication attribute of the 6G user type into the candidate data list with the list attribute of the 6G list type;
[0131] Among them, the candidate instance information contains the instance information identifier.
[0132] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0133] Delete the candidate instance information of the candidate user whose user communication attribute is changed from the 5G user type to the 6G user type from the database built in the 5G UDM network element;
[0134] Based on the CRM system, store the candidate instance information of the candidate user in the database built into the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user in the candidate data list whose list attribute is of the 6G list type.
[0135] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0136] In response to an information query request for a target user sent by the access and mobility management function AMF network element, determine the target data list corresponding to the target user, where the target data list contains the instance information identifiers of users with the same user communication attributes as the target user;
[0137] In the case where the target data list contains the instance information identifier corresponding to the target user, determine the user instance information of the target user from the candidate instance information corresponding to the target data list;
[0138] Send the user instance information to the AMF network element.
[0139] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0140] If the information query request carries the user communication attributes of the target user, select the target data list whose list attribute is the same as the user communication attributes from at least two candidate data lists according to the user communication attributes;
[0141] If the information query request does not carry the user communication attributes of the target user, traverse and query at least two candidate data lists to determine the target data list corresponding to the target user.
[0142] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0143] The user communication attributes include the fifth-generation mobile communication technology 5G user type and the sixth-generation mobile communication technology 6G user type; the list attributes include the 5G list type and the 6G list type.
[0144] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0145] Perform a data query in the database built into the unified data management function UDM network element corresponding to the target data list to obtain the user instance information of the target user;
[0146] Among them, the database built into the UDM network element stores the candidate instance information corresponding to the target data list.
[0147] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0148] Based on the customer relationship management (CRM) system, store the instance information identifier of a candidate user with a user communication attribute of 6G user type into a candidate data list with a list attribute of 6G list type; or,
[0149] Based on the CRM system, store the candidate instance information of a candidate user with a user communication attribute of 6G user type into the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user with a user communication attribute of 6G user type into a candidate data list with a list attribute of 6G list type;
[0150] Wherein, the candidate instance information includes an instance information identifier.
[0151] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0152] Delete the candidate instance information of a candidate user whose user communication attribute is changed from 5G user type to 6G user type from the database built in the 5G UDM network element;
[0153] Based on the CRM system, store the candidate instance information of the candidate user into the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user into a candidate data list with a list attribute of 6G list type.
[0154] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0155] In response to an information query request for a target user sent by an access and mobility management function (AMF) network element, determine a target data list corresponding to the target user, wherein the target data list includes instance information identifiers of users with the same user communication attribute as the target user;
[0156] When the target data list includes the instance information identifier corresponding to the target user, determine the user instance information of the target user from the candidate instance information corresponding to the target data list;
[0157] Send the user instance information to the AMF network element.
[0158] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0159] If the user communication attribute of the target user is carried in the information query request, select the target data list whose list attribute is the same as the user communication attribute from at least two candidate data lists;
[0160] If the user communication attribute of the target user is not carried in the information query request, traverse and query at least two candidate data lists to determine the target data list corresponding to the target user.
[0161] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0162] The user communication attribute includes the 5G user type of the fifth-generation mobile communication technology and the 6G user type of the sixth-generation mobile communication technology; the list attribute includes the 5G list type and the 6G list type.
[0163] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0164] Perform a data query in the database built in the unified data management function UDM network element corresponding to the target data list to obtain the user instance information of the target user;
[0165] Among them, the candidate instance information corresponding to the target data list is stored in the database built in the UDM network element.
[0166] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0167] Based on the customer relationship management CRM system, store the instance information identifier of the candidate user with the user communication attribute of the 6G user type into the candidate data list with the list attribute of the 6G list type; or,
[0168] Based on the CRM system, store the candidate instance information of the candidate user with the user communication attribute of the 6G user type into the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user with the user communication attribute of the 6G user type into the candidate data list with the list attribute of the 6G list type;
[0169] Among them, the candidate instance information contains the instance information identifier.
[0170] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0171] Delete the candidate instance information of the candidate user whose user communication attribute is changed from the 5G user type to the 6G user type from the database built in the 5G UDM network element;
[0172] Based on the CRM system, the candidate instance information of the candidate user is stored in the database built into the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user in the candidate data list whose list attribute is of the 6G list type.
[0173] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.
[0174] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0175] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0176] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several deformations and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A method for obtaining user instance information, characterized in that, Applied to the Network Repository Function (NRF) network element, the method includes: In response to an information query request sent by the Access and Mobility Management Function (AMF) network element for a target user, determining a target data list corresponding to the target user, where the target data list contains instance information identifiers of users with the same user communication attributes as the target user; When the target data list contains the instance information identifier corresponding to the target user, determining the user instance information of the target user from the candidate instance information corresponding to the target data list; Sending the user instance information to the AMF network element.
2. The method according to claim 1, wherein The determining the target data list corresponding to the target user according to the user communication attributes of the target user carried in the information query request includes: If the user communication attributes of the target user are carried in the information query request, selecting a target data list with list attributes the same as the user communication attributes from at least two candidate data lists according to the user communication attributes; If the user communication attributes of the target user are not carried in the information query request, traversing and querying at least two candidate data lists to determine the target data list corresponding to the target user.
3. The method according to claim 2, wherein The user communication attributes include 5G user types of the 5th generation mobile communication technology and 6G user types of the 6th generation mobile communication technology; the list attributes include 5G list types and 6G list types.
4. The method according to claim 1, wherein The determining the user instance information of the target user from the candidate instance information corresponding to the target data list includes: Performing a data query in the database built in the Unified Data Management Function (UDM) network element corresponding to the target data list to obtain the user instance information of the target user; Wherein, the database built in the UDM network element stores the candidate instance information corresponding to the target data list.
5. The method according to claim 2, characterized in that, The method further includes: Based on the Customer Relationship Management (CRM) system, storing the instance information identifiers of candidate users with user communication attributes of 6G user types into a candidate data list with a list attribute of 6G list type; or, Based on the CRM system, storing the candidate instance information of candidate users with user communication attributes of 6G user types into the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifiers of candidate users with user communication attributes of 6G user types into a candidate data list with a list attribute of 6G list type; Wherein, the candidate instance information contains the instance information identifier.
6. The method according to claim 2, characterized in that, If the user communication attributes of the candidate user change from 5G user types to 6G user types, the method further includes: Deleting the candidate instance information of the candidate user whose user communication attributes change from 5G user types to 6G user types from the database built in the 5G UDM network element; Based on the CRM system, storing the candidate instance information of the candidate user into the database built in the 6G UDM network element, so that the 6G UDM network element stores the instance information identifier of the candidate user into a candidate data list with a list attribute of 6G list type.
7. An apparatus for obtaining user instance information, characterized in that, Configured in the NRF network element, the apparatus includes: A first determination module, configured to determine a target data list corresponding to the target user in response to an information query request for the target user sent by an access and mobility management function (AMF) network element, where the target data list contains instance information identifiers of users with the same user communication attributes as the target user; A second determination module, configured to determine the user instance information of the target user from the candidate instance information corresponding to the target data list when the target data list contains the instance information identifier corresponding to the target user; A sending module, configured to send the user instance information to the AMF network element.
8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.