5g terminal nsa upgrading sa method and device, computer device and storage medium

By signing up a DNN in the HSS and establishing a virtual APN mapping in the PGW, and using the transmission channel of NSA and SA networking for OTA upgrades, the network disconnection problem during the NSA to SA upgrade process of IoT terminals is solved, and a stable upgrade process is achieved.

CN116321112BActive Publication Date: 2026-07-31E SURFING IOT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
E SURFING IOT CO LTD
Filing Date
2022-12-30
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

During the upgrade process from NSA to SA networking for IoT terminals, traditional upgrade methods are prone to network access failure, terminal disconnection, inability to be remotely controlled, and ultimately, the terminal is rendered obsolete.

Method used

In the HSS of NSA networking, a DNN of SA networking is signed up, and a virtual APN mapping from DNN to APN is established in the PGW. OTA upgrades are performed through the APN of NSA networking and the DNN of SA networking to ensure the stability of the transmission channel during the upgrade process.

Benefits of technology

It enables a smooth upgrade of IoT terminals from NSA to SA, avoids network interruptions, ensures stable access and control of terminals during the upgrade process, and prevents terminals from being discarded.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116321112B_ABST
    Figure CN116321112B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, computer device, and storage medium for upgrading a 5G terminal from NSA to SA. In the HSS of the NSA network, the number of the terminal to be upgraded is subscribed to an SA network DNN. The DNN is configured according to the format of the NSA network APN, and the APNOI of the DNN is the same as the APNOI of the NSA network APN. A virtual APN mapping is established in the NSA network PGW to convert the SA DNN to the NSA APN. The terminal to be upgraded is connected to the NSA network through the NSA network APN, and an OTA file is sent to the terminal using the first transmission channel of the corresponding NSA network APN. The terminal to be upgraded is connected to the NSA network through the SA network DNN, and an OTA upgrade is performed on the terminal using the second transmission channel of the corresponding SA network DNN. In the second transmission channel, the SA network DNN switches to the NSA network APN through the virtual APN mapping. By implementing the method of this invention, a 5G terminal can be smoothly upgraded from NSA to SA, with the terminal upgraded remotely via OTA, and the service channel is not interrupted during the upgrade process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Internet of Things (IoT) technology, and in particular to a method, apparatus, computer device, and storage medium for upgrading a 5G terminal from NSA to SA. Background Technology

[0002] With the rapid development of technology, 5G networks are becoming increasingly common in people's lives, and 4G networks are gradually being converted to 5G. As 5G SA networks are deployed on a large scale, early-deployed NSA IoT terminals need to be upgraded remotely via OTA (Over-The-Air) updates to access the SA network. During the upgrade process, uninterrupted service and seamless user experience are required. Human-to-human (HHM) networks primarily use mobile phones or handheld terminals. Upgrading from 4G to 5G, or from NSA to SA, is generally done manually, requiring significant human intervention. Most IoT terminals are already deployed and in use, such as in-vehicle infotainment systems, outdoor cameras, and VGA carts in production workshops. These terminals continuously provide services, and in these deployment scenarios, manual on-site upgrades are not feasible. Remote upgrades are necessary. If the terminal's APN or DNN configuration is modified using traditional upgrade methods, and the SA upgrade is not completed while the APN has already switched to the SA DNN, the terminal will experience network access failure and be in a state of disconnection, unable to be remotely controlled. Without on-site human intervention, the terminal will be rendered unusable. Summary of the Invention

[0003] This invention provides a method, apparatus, computer device, and storage medium for upgrading a 5G terminal from NSA to SA, aiming to solve problems such as transmission interruption and terminal scrapping caused by remote upgrades when IoT terminals cannot be manually upgraded on-site.

[0004] In a first aspect, embodiments of the present invention provide a method for upgrading a 5G terminal from NSA to SA, comprising: subscribing a number of a terminal to be upgraded to a DNN of the SA network in the HSS of the NSA network, wherein the DNN is configured according to the format of the APN of the NSA network, and the APNOI of the DNN is the same as the APNOI of the APN of the NSA network; establishing a virtual APN mapping in the PGW of the NSA network to convert the DNN of the SA network to the APN of the NSA network; connecting the terminal to be upgraded to the NSA network through the APN of the NSA network, and sending an OTA file to the terminal to be upgraded using a first transmission channel corresponding to the APN of the NSA network; connecting the terminal to be upgraded to the NSA network through the DNN of the SA network, and performing an OTA upgrade on the terminal to be upgraded using a second transmission channel corresponding to the DNN of the SA network, wherein in the second transmission channel, the DNN of the SA network is switched to the APN of the NSA network through the virtual APN mapping.

[0005] Secondly, embodiments of the present invention also provide a 5G terminal NSA to SA upgrade device, comprising: a subscription unit, configured to subscribe to an SA network DNN for the number of the terminal to be upgraded in the HSS of the NSA network, wherein the DNN is configured according to the format of the APN of the NSA network, and the APNOI of the DNN is the same as the APNOI of the APN of the NSA network; a mapping unit, configured to establish a virtual APN mapping in the PGW of the NSA network to convert the SA network DNN to the APN of the NSA network; and a distribution unit, configured to use... The upgrade unit connects the terminal to be upgraded to the NSA network via the APN of the NSA network, and sends an OTA file to the terminal to be upgraded using the first transmission channel corresponding to the APN of the NSA network; the upgrade unit connects the terminal to be upgraded to the NSA network via the DNN of the SA network, and performs an OTA upgrade on the terminal to be upgraded using the second transmission channel corresponding to the DNN of the SA network, wherein, in the second transmission channel, the DNN of the SA network switches to the APN of the NSA network through the virtual APN mapping.

[0006] Thirdly, embodiments of the present invention also provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0007] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed by a processor, can implement the above-described method.

[0008] This invention provides a method, apparatus, computer device, and storage medium for upgrading a 5G terminal from NSA to SA. The method includes: subscribing the number of the terminal to be upgraded to an SA network DNN in the HSS of the NSA network, wherein the DNN is configured according to the format of the APN of the NSA network, and the APNOI of the DNN is the same as the APNOI of the APN of the NSA network; establishing a virtual APN mapping in the PGW of the NSA network to convert the SA network DNN to the NSA network APN; connecting the terminal to be upgraded to the NSA network through the NSA network APN, and sending an OTA file to the terminal to be upgraded using a first transmission channel corresponding to the NSA network APN; connecting the terminal to be upgraded to the NSA network through the SA network DNN, and performing an OTA upgrade on the terminal to be upgraded using a second transmission channel corresponding to the SA network DNN, wherein in the second transmission channel, the SA network DNN switches to the NSA network APN through the virtual APN mapping. In this embodiment of the invention, SADNN is enabled on the HSS, and the APNOI of the DNN in SA networking is the same as the APNOI of the PN in NSA networking. A virtual APN mapping is created at the PGW, and after the OTA file is issued, the APN is switched, changing the access type from NSA to SA. This ensures that the upgrade channel will not be interrupted during remote upgrades, regardless of how the terminal's access point changes, avoiding the terminal from going offline after the upgrade, and achieving a smooth upgrade from NSA to SA for IoT 5G terminals. Attached Figure Description

[0009] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 This is a flowchart illustrating the 5G terminal NSA to SA upgrade method provided in an embodiment of the present invention;

[0011] Figure 2 A schematic diagram of a sub-process of the 5G terminal NSA to SA upgrade method provided in an embodiment of the present invention;

[0012] Figure 3 A schematic diagram of a sub-process of the 5G terminal NSA to SA upgrade method provided in an embodiment of the present invention;

[0013] Figure 4 A schematic diagram of a sub-process of the 5G terminal NSA to SA upgrade method provided in an embodiment of the present invention;

[0014] Figure 5 A schematic diagram of a sub-process of the 5G terminal NSA to SA upgrade method provided in an embodiment of the present invention;

[0015] Figure 6 A schematic block diagram of a 5G terminal NSA to SA upgrade device provided in an embodiment of the present invention;

[0016] Figure 7 A schematic block diagram of a computer device provided for an embodiment of the present invention. Detailed Implementation

[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0018] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0019] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0020] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0021] Please see Figure 1 , Figure 1This is a schematic flowchart illustrating the 5G terminal NSA to SA upgrade method provided in this embodiment of the invention. The 5G terminal NSA to SA upgrade method in this embodiment can be applied to many terminal devices, such as in-vehicle infotainment systems for vehicle-to-everything (V2X) systems, outdoor cameras, and VGA carts in production workshops. If the upgrade is performed using traditional methods, and the terminal's SA upgrade is not completed while the APN has already switched to the SA's DNN, the terminal will experience network access failure and be in a state of disconnection, unable to be remotely controlled. Without on-site human intervention, the terminal will be abandoned. Using this method, regardless of how the terminal's APN switches, the upgrade channel for the terminal is guaranteed to remain uninterrupted. This achieves a smooth upgrade from NSA to SA for IoT 5G terminals.

[0022] Figure 1 This is a flowchart illustrating the 5G terminal NSA to SA upgrade method provided in an embodiment of the present invention. As shown in the figure, the method includes the following steps S110-140.

[0023] S110. In the HSS of the NSA network, subscribe the number of the terminal to be upgraded to the DNN of the SA network, wherein the DNN is configured according to the format of the APN of the NSA network, and the APNOI of the DNN is the same as the APNOI of the APN of the NSA network.

[0024] In this embodiment, NSA refers to Non-Standalone networking, a network architecture where 4G and 5G base stations coexist on the radio end, and the core network adopts either a 4G or 5G core network. SA refers to a network architecture where the radio end uses 5G base stations and the core network adopts a 5G core network. HSS (Home Subscriber Server) is a server in EPS used to store user subscription information. It is an evolution and upgrade of the 2G / 3G network element HLR, primarily responsible for managing user subscription data and mobile user location information. APN refers to a network access technology, i.e., Access Point Name. The DNN in 5G is equivalent to the APN in 4G; DNN and APN are equivalent. APNOI is the Access Point Identifier. In the HSS, the APN used by the NSA for the number of the terminal to be upgraded is ota.nsa.xx (APNOI: wlw.mnc011.mcc460.gprs). Then, the number of the terminal to be upgraded is subscribed to the DNN (otasa.xx.iot) of the SA network, but the APNOI used is the same as the APNOI of the NSA, that is, subscribed to (APNOI: wlw.mnc011.mcc460.gprs). By signing up for the SA network and ensuring that the APNOI is the same as the APNOI of the NSA APN, the terminal to be upgraded can allow the DNN of the SA network and the APN of the NSA network to access the network under the NSA network. This allows the terminal to obtain an NSA access channel after switching APN before the function upgrade is successful, ensuring that the terminal has a relatively stable transmission channel during the upgrade process, facilitating the smooth completion of subsequent steps and avoiding the problem of upgrade failure due to the inability to access the SA network. This has a beneficial effect in the process of upgrading 5G terminals from NSA to SA.

[0025] S120. Establish a virtual APN mapping in the PGW of the NSA network to convert the DNN of the SA network to the APN of the NSA network;

[0026] In this embodiment, the PGW (PDNGateWay) is an important network element in the EPC mobile communication network. The EPC network is actually an evolved version of the original 3G core network PS domain, and the PGW is also equivalent to an evolved GGSN network element, with functions and roles comparable to the original GGSN network element. A virtual APN mapping is configured in the private network PGW from the DNN (otasa.xx.iot) of the SA network to the APN (ota.nsa.xx) of the NSA network. By establishing a virtual APN mapping from the SA network DNN to the NSA network APN, the terminal to be upgraded can successfully establish a service channel on the private network PGW when accessing via the SA DNN. By using the virtual APN mapping method on the private network PGW, the conversion between the SA network DNN and the NSA network APN can be solved, realizing dual-channel access during the upgrade process on the private network PGW. This allows the terminal to be upgraded to adapt to either of the two APNs and establish a transmission channel, effectively avoiding the terminal from disconnecting from the network after the upgrade, and ensuring the smooth progress of the 5G terminal NSA to SA upgrade.

[0027] S130. The terminal to be upgraded is connected to the NSA network through the APN of the NSA network, and an OTA file is sent to the terminal to be upgraded using the first transmission channel of the APN corresponding to the NSA network.

[0028] In this embodiment, OTA (Over-the-Air Technology) is a technology that enables remote management of mobile terminal devices and SIM card data through the air interface of mobile communication. The OTA file is sent via the first transmission channel of the NSA network's APN. This first transmission channel is an existing channel of the NSA network, specifically, the sequence of which is UE->NSA base station->SGW->Private network PGW (NSAAPN: ota.nsa.xx)->OTA platform. The OTA file is sent entirely using the NSA network. By connecting the terminal to be upgraded to the NSA network and sending the OTA file via the first transmission channel, data transmission is completed. Subsequently, the terminal to be upgraded can be remotely upgraded via OTA, solving the data transmission problem in the smooth upgrade of IoT 5G terminals from NSA to SA. This is an important and indispensable part of the 5G terminal NSA to SA upgrade process.

[0029] In one embodiment, such as Figure 2 As shown, step S1301 is included before step S130.

[0030] S1301. In the UDM of the SA network, subscribe the number of the terminal to be upgraded to the DNN of the SA network, wherein the DNN is configured according to the 5G format.

[0031] In this embodiment, the UDM is a 5G core network. Within the UDM, the number of the terminal to be upgraded is subscribed to a 5G DNN (otasa.xx.iot), and the APNOI (smfg1.xx.iot.mnc011.mcc460.gprs) is the access point network element used by 5G SA, where xx represents the province identifier. By subscribing the UDM to the DNN of the SA network, and configuring the DNN according to the 5G format, the terminal to be upgraded can smoothly access the required network elements when it falls back to 4G, ensuring uninterrupted service. After the 5G UDM is activated, it ensures that the terminal can successfully access the SA core network after completing the NSA to SA upgrade, avoiding service interruptions caused by the UDM not being subscribed, thus preventing issues such as the smooth upgrade from NSA to SA.

[0032] In one embodiment, such as Figure 3 As shown, step S1302 is included before step S130.

[0033] S1302. In the 2BSMF&UPF of the SA network, subscribe the number of the terminal to be upgraded to the DNN of the SA network.

[0034] In this embodiment, the 2BSMF and UPF are deployed within the province for SA services. SA services access the 5GC, and 2B dedicated UDM / PCFs are deployed in Guangzhou and Nanjing for SIM card activation. A 2B dedicated SMF is deployed within the province, and the UPF reuses the province-wide 2CUPF. The number of the terminal to be upgraded is subscribed to the DNN of the SA network, where the DNN is otasa.xx.iot and the APN is smfg1.xx.iot.mnc011.mcc460.gprs. The APN and DNN are distinguished by the iot identifier, which helps differentiate between them and avoid confusion. By subscribing the number of the terminal to be upgraded to the SA network's DNN through the 2BSMF & UPF of the SA network, a 5G core network session and transmission channel can be established after the terminal accesses the SA network, preparing for subsequent upgrades and transmissions, enabling the smooth upgrade of the 5G terminal from NSA to SA.

[0035] S140. The terminal to be upgraded is connected to the NSA network through the DNN of the SA network, and the terminal to be upgraded is upgraded via OTA using the second transmission channel corresponding to the DNN of the SA network. In the second transmission channel, the DNN of the SA network is switched to the APN of the NSA network through the virtual APN mapping.

[0036] In this embodiment, the DNN of the SA network is otasa.xx.iot, and the APN01I is wlw.mnc011.mcc460.gprs. At this time, the APN01I of the SA network is the same as that of the NSA network, and both can connect the terminal to be upgraded to the NSA network. The second transmission channel of the DNN of the SA network is: UE --> NSA base station --> SGW --> private network PGW (SAAPN: otasa.xx.iot --> NSAAPN: ota.nsa.xx) --> OTA platform. Through the virtual APN mapping configured above, the SADNN: otasa.xx.iot is changed to SAAPN: otasa.xx.iot. Compared with the first transmission channel in the above method, the second channel has an additional virtual APN conversion in the private network PGW. By using the same APN1 for the SA network and the NSA network, the terminal to be upgraded is connected to the NSA network, and an OTA upgrade is performed on the terminal according to the second transmission channel of the DNN of the SA network. By using the virtual APN mapping configured above, the terminal can be effectively prevented from going offline after the upgrade, so that the task of upgrading the 5G terminal from NSA to SA can be carried out smoothly, and the terminal can be successfully upgraded via OTA.

[0037] In one embodiment, such as Figure 4 As shown, step S140 further includes step S1401.

[0038] S1401. After the upgrade of the terminal to be upgraded is completed, the terminal to be upgraded is connected to the SA network through the DNN of the SA network, and the terminal to be upgraded is subsequently upgraded via OTA using the third transmission channel of the DNN of the SA network.

[0039] In this embodiment, the terminal to be upgraded is connected to the SA network through the DNN of the SA network. The DNN of the SA network is otasa.xx.iot, and the APNOI is smfg1.xx.iot.mnc011.mcc460.gprs. Both the DNN and the APNOI are in 5G format. After the upgrade is successfully completed, the terminal to be upgraded uses SADNN to access the 5G core network. The transmission channel becomes the third transmission channel. The transmission process of the third transmission channel is: UE --> SA base station --> UPF (SADNN: otasa.xx.iot) --> OTA platform. The terminal to be upgraded is connected to the SA network through the DNN of the SA network. The terminal to be upgraded is then upgraded via the third transmission channel of the corresponding DNN of the SA network. This connects the channel of the SA network DNN, facilitating the subsequent upgrade of the remaining parts. This completes the process of smooth upgrade from NSA to SA for 5G terminals. It avoids the problems of upgrade failure caused by not using the DNN of the SA network to connect the terminal to the SA network after OTA file distribution and upgrade in the above method. This is an important part of the process of upgrading from NSA to SA for 5G terminals.

[0040] In one embodiment, such as Figure 5 As shown, step S140 further includes step S1403.

[0041] S1402. Cancel the number of the terminal to be upgraded in the HSS of the NSA network.

[0042] S1403. Delete the APN configuration in the PGW of the NSA network.

[0043] In this embodiment, the HSS is a 4G private network deployed in Guangzhou and Nanjing for account opening and control plane network elements. The PGW user plane is deployed in Chengdu, Guangzhou, Nanjing, and Beijing. Terminals access the nearest PGW node based on their access province. The APN configuration is deleted from the PGW of the NSA network, specifically the APN (otasa.xx.iot) and APN011 (wlw.mnc011.mcc460.gprs). This is achieved by cancelling the number of the terminal to be upgraded in the HSS of the NSA network and deleting the APN configuration, retaining only the DNN and APN settings of the SA network. The DNN and APN formats are now in 5G format; specifically, the DNN is otasa.xx.iot, and the APN011 is...

[0044] The file smfg1.xx.iot.mnc011.mcc460.gprs ensures that when the terminal falls back to 4G, it can access the 5G core network 2BSMF&UPF, ensuring that the upgrade will not fail due to data conflicts during the final process of upgrading the 5G terminal from NSA to SA.

[0045] Figure 6 This is a schematic block diagram of a 5G terminal NSA to SA upgrade device 200 provided in an embodiment of the present invention. Figure 6 As shown, corresponding to the above-described 5G terminal NSA to SA upgrade method, the present invention also provides a 5G terminal NSA to SA upgrade device. This 5G terminal NSA to SA upgrade device includes a unit for performing the above-described 5G terminal NSA to SA upgrade method, and the device can be configured in a desktop computer, tablet computer, laptop computer, or other terminal. For details, please refer to... Figure 6 The 5G terminal NSA to SA upgrade device includes a signing unit 210, a mapping unit 220, a distribution unit 230, and an upgrade unit 240.

[0046] The signing unit 210 is used to sign up the number of the terminal to be upgraded in the HSS of the NSA network with the DNN of the SA network, wherein the DNN is configured according to the format of the APN of the NSA network, and the APNOI of the DNN is the same as the APNOI of the APN of the NSA network.

[0047] Mapping unit 220 is used to establish a virtual APN mapping in the PGW of the NSA network to convert the DNN of the SA network to the APN of the NSA network;

[0048] The sending unit 230 is used to connect the terminal to be upgraded to the NSA network through the APN of the NSA network, and send OTA files to the terminal to be upgraded using the first transmission channel of the APN corresponding to the NSA network.

[0049] In one embodiment, the issuing unit 230 includes a configuration unit.

[0050] A configuration unit is used to subscribe the number of the terminal to be upgraded to the DNN of the SA network in the UDM of the SA network, wherein the DNN is configured according to the 5G format;

[0051] In one embodiment, the configuration unit includes a terminal unit.

[0052] A terminal unit is used to subscribe the number of the terminal to be upgraded to the DNN of the SA network in the 2BSMF&UPF of the SA network.

[0053] In one embodiment, the terminal unit includes an access unit.

[0054] The access unit is used to connect the terminal to be upgraded to the SA network through the DNN of the SA network after the upgrade is completed, and to perform subsequent OTA upgrades on the terminal to be upgraded using the third transmission channel of the DNN corresponding to the SA network.

[0055] In one embodiment, the access unit includes a cancellation unit and a deletion unit.

[0056] The account cancellation unit is used to cancel the number of the terminal to be upgraded in the HSS of the NSA network.

[0057] The deletion unit is used to delete the configuration of the APN in the PGW of the NSA network.

[0058] Upgrade unit 240 is used to connect the terminal to be upgraded to the NSA network through the DNN of the SA network, and to perform OTA upgrade on the terminal to be upgraded using the second transmission channel corresponding to the DNN of the SA network. In the second transmission channel, the DNN of the SA network is switched to the APN of the NSA network through the virtual APN mapping.

[0059] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned 5G terminal NSA upgrade SA device 400 and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.

[0060] The aforementioned 5G terminal NSA to SA upgrade device can be implemented as a computer program, which can, for example... Figure 7 It runs on the computer device shown.

[0061] Please see Figure 7 , Figure 7 This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 500 can be a terminal or a server. The terminal can be an electronic device with communication functions, such as a smartphone, tablet, laptop, desktop computer, personal digital assistant, or wearable device. The server can be a standalone server or a server cluster composed of multiple servers.

[0062] See Figure 7 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.

[0063] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a 5G terminal NSA upgrade SA method.

[0064] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0065] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a 5G terminal NSA upgrade SA method.

[0066] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0067] The processor 502 is used to run a computer program 5032 stored in a memory to implement the steps of the above method.

[0068] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0069] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0070] Therefore, the present invention also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When executed by a processor, the program instructions cause the processor to perform the steps of the method described above.

[0071] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.

[0072] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0073] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0074] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0075] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0076] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for upgrading a 5G terminal from NSA to SA, characterized in that, include: In the HSS of the NSA network, the number of the terminal to be upgraded is subscribed to the DNN of the SA network. The DNN is configured according to the format of the APN of the NSA network, and the APNOI of the DNN is the same as the APNOI of the APN of the NSA network. In the PGW of the NSA network, a virtual APN mapping is established to convert the DNN of the SA network to the APN of the NSA network; The terminal to be upgraded is connected to the NSA network through the APN of the NSA network, and an OTA file is sent to the terminal to be upgraded using the first transmission channel of the APN corresponding to the NSA network. The terminal to be upgraded is connected to the NSA network through the DNN of the SA network, and the terminal to be upgraded is upgraded via OTA using the second transmission channel corresponding to the DNN of the SA network. In the second transmission channel, the DNN of the SA network switches to the APN of the NSA network through the virtual APN mapping.

2. The method according to claim 1, characterized in that, Before the step of connecting the terminal to be upgraded to the NSA network via the APN of the NSA network, and sending the OTA file to the terminal to be upgraded using the first transmission channel of the APN corresponding to the NSA network, the method further includes: In the UDM of the SA network, the number of the terminal to be upgraded is subscribed to the DNN of the SA network, wherein the DNN is configured according to the 5G format.

3. The method according to claim 2, characterized in that, Before the step of connecting the terminal to be upgraded to the NSA network via the APN of the NSA network, and sending the OTA file to the terminal to be upgraded using the first transmission channel of the APN corresponding to the NSA network, the method further includes: In the 2BSMF&UPF of the SA network, the number of the terminal to be upgraded is subscribed to the DNN of the SA network.

4. The method according to claim 3, characterized in that, The method further includes: After the upgrade of the terminal to be upgraded is completed, the terminal to be upgraded is connected to the SA network through the DNN of the SA network, and the terminal to be upgraded is then upgraded via the third transmission channel of the DNN of the SA network.

5. The method according to claim 4, characterized in that, The method further includes: The number of the terminal to be upgraded is cancelled in the HSS of the NSA network. Remove the APN configuration from the PGW in the NSA network.

6. The method according to claim 1, characterized in that, The method further includes adding a distinguishing identifier to the DNN of the SA network in the HSS of the NSA network.

7. The method according to claim 1, characterized in that, The APN of the NSA network in the HSS is ota.nsa.xx, where xx is the province identifier; the APN01I is wlw.mnc011.mcc460.gprs. The APN of the DNN in the SA network in the HSS is otasa.xx.iot, where xx is the province identifier; the APN0I is wlw.mnc011.mcc460.gprs.

8. A 5G terminal NSA to SA upgrade device, characterized in that, include: The subscription unit is used to subscribe the number of the terminal to be upgraded to the DNN of the SA network in the HSS of the NSA network, wherein the DNN is configured according to the format of the APN of the NSA network, and the APNOI of the DNN is the same as the APNOI of the APN of the NSA network. The mapping unit is used to establish a virtual APN mapping in the PGW of the NSA network to convert the DNN of the SA network to the APN of the NSA network; The distribution unit is used to connect the terminal to be upgraded to the NSA network through the APN of the NSA network, and distribute the OTA file to the terminal to be upgraded using the first transmission channel of the APN corresponding to the NSA network. The upgrade unit is used to connect the terminal to be upgraded to the NSA network through the DNN of the SA network, and to perform OTA upgrade on the terminal to be upgraded using the second transmission channel corresponding to the DNN of the SA network. In the second transmission channel, the DNN of the SA network is switched to the APN of the NSA network through the virtual APN mapping.

9. A computer device, characterized in that, The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-7.

10. A storage medium, characterized in that, The storage medium stores a computer program, which includes program instructions that, when executed by a processor, can implement the method as described in any one of claims 1-7.