User data synchronization method, UDM and computer readable storage medium
By determining and synchronizing real-time data with public network UDM in private network UDM, the real-time needs of industry customers for local authentication and user contract updates are solved, efficient user data management is achieved, and system hardware changes are avoided.
Patent Information
- Application Number
- CN202310678145.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2024-12-10
AI Technical Summary
The existing technology cannot meet the real-time needs of industry customers for local authentication and user contract updates, and there is also the problem of inefficiency in the system.
After receiving the terminal registration request of the private network AMF, real-time data synchronization and local data can be achieved by determining the public network UDM corresponding to the private network and sending a target request to it to obtain and subscribe to user data, including user authentication data and contract data. Authentication process.
It realizes real-time local authentication and user data updates for industry customers, and does not require hardware changes to the system, and only minimum operator network and business branch system transformation is carried out.
Smart Images

Figure CN119110271A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of wireless communication technology, and in particular to a user data synchronization method, a UDM, and a computer-readable storage medium. Background Art
[0002] Currently, industry customers have increasingly higher requirements for the security and isolation of production data, and require that the operation of downlink network elements should not be affected by long-distance transmission interruptions, link failures, and upgrades of public network (also known as large network) network elements. Therefore, the current downlink customer-side private network usually includes emergency UDM (Unified Data Management) (also known as private network UDM or local UDM or campus UDM), which synchronizes data with the operator's UDM (i.e., public network UDM) to achieve emergency access capabilities for local data services when the public network fails or the connection is interrupted.
[0003] From the perspective of operators, it is hoped that the user card issuance and control rights belong to the operator and are subordinate to the public network UDM, that is, user data is mainly contracted with the public network to reduce the risk of the operator being bypassed. However, from the perspective of industry customers, for the sake of industry security, it is hoped that when private network users access, authentication and business data are carried by local network elements, and card opening and number release can be uniformly planned and executed by the operator. Summary of the invention
[0004] The embodiments of the present invention provide a user data synchronization method, a UDM and a computer-readable storage medium, which are used to solve the problem of how to meet the local authentication requirements of industry customers and the real-time nature of user contract updates.
[0005] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:
[0006] In a first aspect, an embodiment of the present invention provides a user data synchronization method, including:
[0007] After receiving the terminal registration request sent by the private network AMF, determine the public network UDM corresponding to the private network, where the private network is the private network to which the private network AMF belongs;
[0008] Sending a target request to the public network UDM, wherein the target request is used to obtain and subscribe to user data;
[0009] Receiving user data sent by the public network UDM; the user data at least includes user authentication data;
[0010] Send the user authentication data to the private network AMF.
[0011] Optionally, after receiving the user data sent by the public network UDM, the step further includes: storing the user data.
[0012] Optionally, the method further includes:
[0013] Receiving updated user data sent by the public network UDM;
[0014] The locally stored user data is updated according to the updated user data.
[0015] Optionally, determining the public network UDM corresponding to the private network includes:
[0016] Send a service discovery request to the NRF, wherein the service discovery request includes identification information of the private network; receive information of the public network UDM corresponding to the private network sent by the NRF; determine the public network UDM corresponding to the private network according to the information of the public network UDM corresponding to the private network;
[0017] or
[0018] Based on the locally stored correspondence between the private network and the public network UDM, the public network UDM corresponding to the private network is determined.
[0019] Optionally, the sending the target request to the public network UDM includes:
[0020] The simulated BOSS system sends a request instruction to the public network UDM, wherein the request instruction includes the target request;
[0021] or
[0022] Simulate AMF and SMF to send target requests to the public network UDM.
[0023] Optionally, the user data further includes user subscription data, and the user subscription data includes: mobility subscription data and session subscription data;
[0024] The target request includes a first request and a second request;
[0025] The simulating AMF and SMF to send a target request to the public network UDM includes:
[0026] Simulate AMF to send the first request to the public network UDM, where the first request is used to obtain and subscribe to user authentication data and mobility subscription data;
[0027] The simulated SMF sends the second request to the public network UDM, where the second request is used to obtain and subscribe to session contract data.
[0028] Optionally, the method further includes:
[0029] Send the user subscription data to the private network AMF and private network SMF.
[0030] Optionally, storing the user data includes:
[0031] Permanently store the user data;
[0032] or,
[0033] For the preset storage duration.
[0034] In a second aspect, an embodiment of the present invention provides a user data synchronization method, including:
[0035] Receive a target request sent by a private network UDM, where the target request is used to obtain and subscribe to user data;
[0036] According to the target request, user data is sent to the private network UDM, where the user data at least includes user authentication data.
[0037] Optionally, the method further includes:
[0038] After the user data in the private network corresponding to the private network UDM is updated, the updated user data is sent to the private network UDM.
[0039] Optionally, the receiving a target request sent by a private network UDM includes:
[0040] Receiving a request instruction sent by the private network UDM simulation BOSS system, wherein the request instruction includes the target request;
[0041] or
[0042] Receive the target request sent by the private network UDM simulating AMF and SMF.
[0043] In a third aspect, an embodiment of the present invention provides a private network UDM, including:
[0044] A determination module, configured to determine the public network UDM corresponding to the private network after receiving the terminal registration request sent by the private network AMF, where the private network is the private network to which the private network AMF belongs;
[0045] A first sending module, used for sending a target request to the public network UDM, wherein the target request is used for acquiring and subscribing to user data;
[0046] A first receiving module, configured to receive user data sent by the public network UDM; the user data at least includes user authentication data;
[0047] The second sending module is used to send the user authentication data to the private network AMF.
[0048] In a fourth aspect, an embodiment of the present invention provides a public network UDM, including:
[0049] A receiving module, used to receive a target request sent by a private network UDM, wherein the target request is used to obtain and subscribe to user data;
[0050] The first sending module is used to send user data to the private network UDM according to the target request, and the user data at least includes user authentication data.
[0051] In a fifth aspect, an embodiment of the present invention provides a UDM, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the user data synchronization method described in the first aspect are implemented, or when the program is executed by the processor, the steps of the user data synchronization method described in the second aspect are implemented.
[0052] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the user data synchronization method as described in the first aspect above are implemented; or, when the computer program is executed by a processor, the steps of the user data synchronization method as described in the second aspect above are implemented.
[0053] In an embodiment of the present invention, after the operator has completed the unified card issuance and number issuance for industry customers, when the industry customer turns on the phone and uses the service, a terminal registration request is sent to the private network AMF to access through the private network AMF. After the private network UDM receives the terminal registration request forwarded by the private network AMF, it obtains user data from the public network UDM in real time. The subsequent registration and authentication process is completed by the private network UDM, thereby realizing local authentication of industry customers. At the same time, subscribing to user data from the public network UDM can meet the real-time nature of user data updates. In addition, there is no need to make hardware changes to the system, and the operator network and industry support system are minimally modified. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0055] Figure 1 A schematic diagram of the architecture of a communication system involved in an embodiment of the present invention;
[0056] Figure 2 and Figure 3 A flowchart of a user data synchronization method in an existing solution;
[0057] Figure 4A schematic diagram of a flow chart of a user data synchronization method according to an embodiment of the present invention;
[0058] Figure 5 A schematic diagram of a flow chart of a user data synchronization method according to another embodiment of the present invention;
[0059] Figure 6 A schematic diagram of a flow chart of a user data synchronization method according to another embodiment of the present invention;
[0060] Figure 7 A schematic diagram of the structure of a private network UDM according to an embodiment of the present invention;
[0061] Figure 8 This is a schematic diagram of the structure of the public network UDM according to an embodiment of the present invention;
[0062] Fig. 9 FIG. 4 is a schematic diagram of the structure of the UDM according to an embodiment of the present invention. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] The structure of the communication system involved in the embodiment of the present invention is as follows Figure 1 As shown, the communication system includes a public network and a private network, and the private network includes private network UDM / UDR, private network AMF and private network SMF.
[0065] The existing park user data synchronization solution can be seen in Table 1:
[0066] Table 1
[0067]
[0068] The non-real-time file export and import solution is relatively simple. It only requires defining and clarifying the protocol, synchronization cycle, and export and import file formats used by the connection interface between the public network and the private network UDM.
[0069] The existing campus user authentication solution can be referenced Figure 2 and Figure 3 Under the existing solution, the private network UDM can only be enabled after the private network is disconnected from the operator's public network. Under normal circumstances, the public network UDM is used for access authentication and authorization.
[0070] Under normal circumstances, the use of public network UDM for access authentication and authorization cannot meet the local authentication requirements of industry customers. At the same time, the data synchronization method between private network UDM and public network UDM is non-real-time, which cannot meet the real-time requirements of user contract updates and is inefficient.
[0071] The user data synchronization method, UDM and computer-readable storage medium provided in the embodiments of the present application are described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.
[0072] Please refer to Figure 4 The present invention provides a user data synchronization method, which is executed by a private network UDM. The user data synchronization method includes:
[0073] Step 41: After receiving the terminal registration request sent by the private network AMF, determine the public network UDM corresponding to the private network, where the private network is the private network to which the private network AMF belongs;
[0074] In the embodiment of the present invention, optionally, the terminal registration request may be a registration request sent by a campus user when accessing the campus for the first time.
[0075] Step 42: Send a target request to the public network UDM, where the target request is used to obtain and subscribe to user data;
[0076] It should be noted that, in an embodiment of the present invention, the target request is used to request to obtain user data and to subscribe to user data, wherein the target request for obtaining user data and the target request for subscribing to user data can be one request sent in one message, or can be two requests sent in two messages respectively, and the present invention is not limited to this.
[0077] Step 43: receiving user data sent by the public network UDM; the user data at least includes user authentication data;
[0078] In the embodiment of the present invention, the user data may be all user data of the private network.
[0079] Step 44: Send the user authentication data to the private network AMF to complete the terminal authentication process.
[0080] In an embodiment of the present invention, after the operator has completed the unified card issuance and number issuance for industry customers, when the industry customer turns on the phone and uses the service, a terminal registration request is sent to the private network AMF to access through the private network AMF. After the private network UDM receives the terminal registration request forwarded by the private network AMF, it obtains user data from the public network UDM in real time. The subsequent registration and authentication process is completed by the private network UDM, thereby realizing local authentication of industry customers. At the same time, subscribing to user data from the public network UDM can meet the real-time nature of user data updates. In addition, there is no need to make hardware changes to the system, and the operator network and industry support system are minimally modified.
[0081] In the embodiment of the present invention, optionally, the method further includes: storing the user data, that is, storing the user data locally so as to be used when the user accesses next time.
[0082] In the embodiment of the present invention, optionally, the method further includes:
[0083] Step 45: receiving updated user data sent by the public network UDM;
[0084] Step 46: Update the locally stored user data according to the updated user data.
[0085] That is, when user data is updated, the public network UDM can send the updated user data to the private network UDM in a timely manner to meet the real-time nature of user data updates.
[0086] In the embodiment of the present invention, the public network UDM corresponding to the private network can be determined in two ways.
[0087] In one embodiment, determining the public network UDM corresponding to the private network includes: sending a service discovery request to an NRF (Network Function Repository Function), wherein the service discovery request includes identification information of the private network; receiving information of the public network UDM corresponding to the private network sent by the NRF; and determining the public network UDM corresponding to the private network according to the information of the public network UDM corresponding to the private network. In an embodiment of the present invention, the NRF stores the correspondence between the identification information of the private network and the information of the public network UDM.
[0088] In the embodiment of the present invention, optionally, the identification information of the private network may be a park identification (ID) or an industry customer identification.
[0089] In one embodiment, the determining of the public network UDM corresponding to the private network includes: determining the public network UDM corresponding to the private network based on the correspondence between the private network and the public network UDM stored locally. That is, the correspondence between the private network and the public network UDM is configured locally and stored. In an embodiment of the present invention, the correspondence between the identification information of the private network and the information of the public network UDM can be stored.
[0090] In the embodiment of the present invention, optionally, the identification information of the private network may be a park identification (ID) or an industry customer identification.
[0091] In the embodiment of the present invention, optionally, the information of the public network UDM may be address information of the public network UDM.
[0092] In the embodiment of the present invention, optionally, two solutions may be used to send a target request to the public network UDM.
[0093] In one solution, sending the target request to the public network UDM includes: simulating a BOSS (Business Operation Supporting System) system to send a request instruction to the public network UDM, wherein the request instruction includes the target request. In some embodiments, optionally, the request instruction may be a SOAP (Simple Object Access Protocol) GET instruction.
[0094] In one solution, AMF and SMF are simulated to send a target request to the public network UDM.
[0095] In the embodiment of the present invention, optionally, the user data further includes user subscription data, and the user subscription data includes: mobility subscription data and session subscription data;
[0096] The target request includes a first request and a second request;
[0097] The simulating AMF and SMF to send a target request to the public network UDM includes:
[0098] Simulate AMF to send the first request to the public network UDM, where the first request is used to obtain user authentication data and mobility subscription data;
[0099] The simulated SMF sends the second request to the public network UDM, where the second request is used to obtain session subscription data.
[0100] In an embodiment of the present application, in the target request sent by the simulated AMF to the public network UDM to obtain user authentication data and mobility subscription data, the user authentication data and the mobility subscription data can be obtained through one request, or through two requests, respectively.
[0101] In some embodiments of the present invention, AUSF (Authentication Server Function) is integrated with UDM. At this time, simulating AMF to send a target request to the public network UDM for obtaining user authentication data can be: simulating AMF to send a target request to the public network AUSF for obtaining user authentication data.
[0102] In an embodiment of the present invention, optionally, the method further includes: sending the user contract data to the private network AMF and private network SMF to implement processes such as session establishment.
[0103] In an embodiment of the present invention, optionally, storing the user data includes: permanently storing the user data; or storing the user data for a preset storage duration. If the storage duration is exceeded, the user data is deleted. In the timed storage mode, the user data clearing time can be configured to increase the operator's control over the edge network.
[0104] Please refer to Figure 5 The present invention provides a user data synchronization method, which is executed by a public network UDM. The user data synchronization method includes:
[0105] Step 51: receiving a target request sent by the private network UDM, wherein the target request is used to obtain and subscribe to user data;
[0106] Step 52: according to the target request, send user data to the private network UDM, wherein the user data at least includes user authentication data.
[0107] In an embodiment of the present invention, after the operator has completed the unified card issuance and number issuance for industry customers, when the industry customer turns on the phone and uses the service, a terminal registration request is sent to the private network AMF to access through the private network AMF. After the private network UDM receives the terminal registration request forwarded by the private network AMF, it obtains user data from the public network UDM in real time. The subsequent registration and authentication process is completed by the private network UDM, thereby realizing local authentication of industry customers. At the same time, subscribing to user data from the public network UDM can meet the real-time nature of user data updates. In addition, there is no need to make hardware changes to the system, and the operator network and industry support system are minimally modified.
[0108] In the embodiment of the present invention, optionally, the method further includes: after the user data in the private network corresponding to the private network UDM is updated, sending the updated user data to the private network UDM.
[0109] In some embodiments of the present invention, optionally, the receiving the target request sent by the private network UDM includes: receiving a request instruction sent by the private network UDM simulating a BOSS system, wherein the request instruction includes the target request. The request instruction may be a SOAP Get instruction.
[0110] In some other embodiments of the present invention, optionally, the receiving the target request sent by the private network UDM includes: receiving the target request sent by the private network UDM simulating AMF and SMF.
[0111] Please refer to Figure 6 The present invention provides a user data synchronization method, the user data synchronization method comprising:
[0112] Step 1: The BOSS system sends the account opening user data to the public network UDM (in some embodiments, the public network AUSF is also integrated), and the user data includes user authentication data and user contract data, and the user contract data includes: mobility contract data and session contract data.
[0113] Step 2: When the terminal (UE) in the private network starts to use the service, it sends a terminal registration request (Registration Request) to the private network AMF.
[0114] Step 3: The private network AMF sends a terminal registration request to the private network UDM.
[0115] Step 4: After receiving the terminal registration request sent by the private network AMF, the private network UDM determines the public network UDM corresponding to the private network, where the private network is the private network to which the private network AMF belongs;
[0116] In the embodiment of the present invention, the public network UDM corresponding to the private network can be determined in two ways.
[0117] In the first embodiment, the public network UDM corresponding to the private network includes:
[0118] Step 4a1: Send a service discovery request to NRF, where the service discovery request includes identification information of the private network;
[0119] Step 4a2: Receive the public network UDM information corresponding to the private network sent by the NRF. In the embodiment of the present invention, the NRF stores the corresponding relationship between the private network identification information and the public network UDM information.
[0120] In the embodiment of the present invention, optionally, the identification information of the private network may be a park identification (ID) or an industry customer identification.
[0121] In the second method, determining the public network UDM corresponding to the private network includes:
[0122] Step 4b: Based on the locally stored correspondence between the private network and the public network UDM, determine the public network UDM corresponding to the private network. That is, configure and store the correspondence between the private network and the public network UDM locally. In the embodiment of the present invention, the correspondence between the identification information of the private network and the information of the public network UDM can be stored.
[0123] In the embodiment of the present invention, optionally, the identification information of the private network may be a park identification (ID) or an industry customer identification.
[0124] Step 5: The private network UDM sends a target request to the public network UDM, where the target request is used to obtain and subscribe to user data;
[0125] In the embodiment of the present invention, optionally, two solutions may be used to send a target request to the public network UDM.
[0126] In the first solution, sending the target request to the public network UDM includes:
[0127] Step 5a1: The simulated BOSS system sends a SOAP Get request (Request) to the public network UDM, and the SOAP Get request includes the target request. The SOAP Get response (Response) sent by the public network UDM is received, and the SOAP Get response (Response) includes user data.
[0128] In solution 2, AMF and SMF are simulated to send target requests to the public network UDM. Specifically, it includes:
[0129] Step 5b1: Simulate AMF to send a target request to the public network UDM, where the target request includes a user data acquisition request (Nudm_SDM_Get) for obtaining user authentication data and mobility subscription data, and a user data subscription request (Nudm_SDM_Subscribe) for subscribing to user authentication data and mobility subscription data.
[0130] Step 5b2: Simulate SMF to send a target request to the public network UDM, where the target request includes a user data acquisition request (Nudm_SDM_Get) for acquiring session subscription data, and a user data subscription request (Nudm_SDM_Subscribe) for subscribing to session subscription data.
[0131] Step 6: The private network UDM stores the user data.
[0132] Step 7: When the user data is updated, the public network UDM sends the updated user data to the private network UDM.
[0133] Step 8: The private network UDM returns the user authentication data based on the private network AMF request to complete the authentication and registration process.
[0134] Step 9: The terminal initiates a session establishment request and sends it to the private network AMF, which forwards it to the private network UDM.
[0135] Step 10: The private network UDM returns the session signing data based on the private network SMF request to complete the session process.
[0136] Please refer to Figure 7 The embodiment of the present invention further provides a private network UDM70, including:
[0137] A determination module 71 is used to determine the public network UDM corresponding to the private network after receiving the terminal registration request sent by the private network AMF, where the private network is the private network to which the private network AMF belongs;
[0138] A first sending module 72, configured to send a target request to the public network UDM, wherein the target request is used to obtain and subscribe to user data;
[0139] The first receiving module 73 is used to receive user data sent by the public network UDM; the user data at least includes user authentication data;
[0140] The second sending module 74 is used to send the user authentication data to the private network AMF.
[0141] Optionally, the private network UDM70 further includes:
[0142] A storage module is used to store the user data.
[0143] Optionally, the private network UDM70 further includes:
[0144] A second receiving module, used to receive updated user data sent by the public network UDM;
[0145] An updating module is used to update the locally stored user data according to the updated user data.
[0146] Optionally, the determination module 71 is used to send a service discovery request to the NRF, wherein the service discovery request includes identification information of the private network; receive information of a public network UDM corresponding to the private network sent by the NRF; and determine the public network UDM corresponding to the private network according to the information of the public network UDM corresponding to the private network;
[0147] or
[0148] The determination module 71 is used to determine the public network UDM corresponding to the private network based on the correspondence relationship between the private network and the public network UDM stored locally.
[0149] Optionally, the first sending module 72 is used to simulate the BOSS system to send a request instruction to the public network UDM, where the request instruction includes the target request;
[0150] or
[0151] The first sending module 72 is used to simulate AMF and SMF to send a target request to the public network UDM.
[0152] Optionally, the user data further includes user subscription data, and the user subscription data includes: mobility subscription data and session subscription data;
[0153] The target request includes a first request and a second request;
[0154] The simulating AMF and SMF to send a target request to the public network UDM includes:
[0155] Simulate AMF to send the first request to the public network UDM, where the first request is used to obtain user authentication data and mobility subscription data;
[0156] The simulated SMF sends the second request to the public network UDM, where the second request is used to obtain session subscription data.
[0157] Optionally, the private network UDM70 also includes: a third sending module, used to send the user signing data to the private network AMF and private network SMF.
[0158] Optionally, the storage module 74 is used to permanently store the user data; or to store the user data for a preset storage duration, wherein if the storage duration is exceeded, the user data is deleted.
[0159] Please refer to Figure 8 The embodiment of the present invention further provides a public network UDM80, including:
[0160] A receiving module 81 is used to receive a target request sent by the private network UDM, where the target request is used to obtain and subscribe to user data;
[0161] The first sending module 82 is used to send user data to the private network UDM according to the target request, and the user data at least includes user authentication data.
[0162] In the embodiment of the present invention, optionally, the public network UDM80 further includes:
[0163] The second sending module is used to send updated user data to the private network UDM after the user data in the private network corresponding to the private network UDM is updated.
[0164] In the embodiment of the present invention, optionally, the receiving module 81 is used to receive a request instruction sent by the private network UDM simulation BOSS system, where the request instruction includes the target request;
[0165] or
[0166] The receiving module 81 is used to receive the target request sent by the private network UDM simulating AMF and SMF.
[0167] Please refer to Fig. 9 The embodiment of the present invention further provides a UDM90, including a processor 91, a memory 92, and a computer program stored in the memory 92 and executable on the processor 91. When the computer program is executed by the processor 91, each process of the user data synchronization method embodiment executed by the private network UDM is implemented. Alternatively, when the computer program is executed by the processor 91, each process of the user data synchronization method embodiment executed by the public network UDM is implemented. The same technical effect can be achieved. To avoid repetition, it will not be described here.
[0168] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned user data synchronization method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0169] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0171] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A user data synchronization method, It is characterized in that include: After receiving the terminal registration request sent by the private network access and mobility management function AMF, determine the public network unified data management UDM corresponding to the private network, where the private network is the private network to which the private network AMF belongs; Sending a target request to the public network UDM, wherein the target request is used to obtain and subscribe to user data; Receiving user data sent by the public network UDM; the user data at least includes user authentication data; Send the user authentication data to the private network AMF.
2. The method according to claim 1, It is characterized in that After receiving the user data sent by the public network UDM, the method further includes: storing the user data; Receiving updated user data sent by the public network UDM; The locally stored user data is updated according to the updated user data.
3. The method according to claim 1, It is characterized in that Determining the public network UDM corresponding to the private network includes: Sending a service discovery request to a network function storage function NRF, wherein the service discovery request includes identification information of the private network; receiving information of a public network UDM corresponding to the private network sent by the NRF; determining the public network UDM corresponding to the private network according to the information of the public network UDM corresponding to the private network; or Based on the locally stored correspondence between the private network and the public network UDM, the public network UDM corresponding to the private network is determined.
4. The method according to claim 1, It is characterized in that The sending of the target request to the public network UDM includes: The simulated business operation support system BOSS system sends a request instruction to the public network UDM, wherein the request instruction includes the target request; or The simulated AMF and session management function SMF send the target request to the public network UDM.
5. The method according to claim 4, It is characterized in that The user data also includes user subscription data, and the user subscription data includes: mobility subscription data and session subscription data; The target request includes a first request and a second request; The simulating AMF and SMF to send a target request to the public network UDM includes: Simulate AMF to send the first request to the public network UDM, where the first request is used to obtain and subscribe to user authentication data and mobility subscription data; The simulated SMF sends the second request to the public network UDM, where the second request is used to obtain and subscribe to session contract data.
6. The method according to claim 5, It is characterized in that The method further comprises: Send the user subscription data to the private network AMF and private network SMF.
7. The method according to claim 2, It is characterized in that The storing of the user data comprises: Permanently store the user data; or, The user data is stored for a predefined storage period.
8. A method for synchronizing user data, It is characterized in that include: Receive a target request sent by a private network UDM, where the target request is used to obtain and subscribe to user data; According to the target request, user data is sent to the private network UDM, where the user data at least includes user authentication data.
9. The method according to claim 8, It is characterized in that Also includes: After the user data in the private network corresponding to the private network UDM is updated, the updated user data is sent to the private network UDM.
10. The method according to claim 8, It is characterized in that The receiving of the target request sent by the private network UDM includes: Receiving a request instruction sent by the private network UDM simulation BOSS system, wherein the request instruction includes the target request; or Receive the target request sent by the private network UDM simulating AMF and SMF.
11. A private network UDM, It is characterized in that include: A determination module, configured to determine the public network UDM corresponding to the private network after receiving the terminal registration request sent by the private network AMF, where the private network is the private network to which the private network AMF belongs; A first sending module, used for sending a target request to the public network UDM, wherein the target request is used for acquiring and subscribing to user data; A first receiving module, configured to receive user data sent by the public network UDM; the user data at least includes user authentication data; The second sending module is used to send the user authentication data to the private network AMF.
12. A public network UDM, It is characterized in that include: A receiving module, used to receive a target request sent by a private network UDM, wherein the target request is used to obtain and subscribe to user data; The first sending module is used to send user data to the private network UDM according to the target request, and the user data at least includes user authentication data.
13. A UDM, It is characterized in that include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the user data synchronization method as described in any one of claims 1 to 7, or the program, when executed by the processor, implements the steps of the user data synchronization method as described in any one of claims 8 to 10.
14. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the user data synchronization method as described in any one of claims 1 to 7; or, when executed by a processor, implements the steps of the user data synchronization method as described in any one of claims 8 to 10.
