CN111770488B - EHPLMN updating method, related equipment and storage medium - Google Patents
EHPLMN updating method, related equipment and storage medium Download PDFInfo
- Publication number
- CN111770488B CN111770488B CN202010635877.3A CN202010635877A CN111770488B CN 111770488 B CN111770488 B CN 111770488B CN 202010635877 A CN202010635877 A CN 202010635877A CN 111770488 B CN111770488 B CN 111770488B
- Authority
- CN
- China
- Prior art keywords
- information
- ehplmn
- terminal
- encrypted
- network device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
- H04W8/082—Mobility data transfer for traffic bypassing of mobility servers, e.g. location registers, home PLMNs or home agents
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了一种EHPLMN更新方法、芯片、通信设备及存储介质。其中,方法包括:终端接收网络设备发送的第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息;所述终端保存所述第一信息;将所述第一信息和所述终端中预先设置的EHPLMN信息共同作为更新后的EHPLMN信息。
The application discloses an EHPLMN update method, a chip, a communication device and a storage medium. Wherein, the method includes: the terminal receives the first information sent by the network device; the first information includes at least one piece of EHPLMN information; the first information includes EHPLMN information updated relative to the preset EHPLMN information in the terminal; the The terminal saves the first information; and uses the first information and the preset EHPLMN information in the terminal together as updated EHPLMN information.
Description
技术领域technical field
本申请涉及通信技术领域,具体涉及一种等效归属公共陆地移动网络(EHPLMN,Equivalent Home Public Land Mobile Network)更新方法、相关设备及存储介质。The present application relates to the field of communication technologies, and in particular to an Equivalent Home Public Land Mobile Network (EHPLMN, Equivalent Home Public Land Mobile Network) update method, related equipment and storage media.
背景技术Background technique
从全球移动通信系统(GSM,Global System for Mobile Communications)、通用移动通信系统(UMTS,Universal Mobile Telecommunications System)、长期演进(LTE,Long Term Evolution)系统到当前的第五代移动通信技术(5G,5th Generation)系统,EHPLMN都在终端中起着重要作用。From Global System for Mobile Communications (GSM, Global System for Mobile Communications), Universal Mobile Telecommunications System (UMTS, Universal Mobile Telecommunications System), Long Term Evolution (LTE, Long Term Evolution) system to the current fifth generation mobile communication technology (5G, 5th Generation) system, EHPLMN both play an important role in the terminal.
然而,相关技术中,更新EHPLMN的方法尚需优化。However, in the related art, the method for updating the EHPLMN still needs to be optimized.
发明内容Contents of the invention
为解决相关技术问题,本申请实施例提供一种EHPLMN更新方法、相关设备及存储介质。In order to solve related technical problems, embodiments of the present application provide an EHPLMN update method, related equipment, and a storage medium.
本申请实施例的技术方案是这样实现的:The technical scheme of the embodiment of the application is realized in this way:
本申请实施例提供了一种EHPLMN更新方法,包括:The embodiment of the present application provides a method for updating EHPLMN, including:
终端接收网络设备发送的第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息;The terminal receives the first information sent by the network device; the first information includes at least one piece of EHPLMN information; the first information includes EHPLMN information updated relative to the preset EHPLMN information in the terminal;
所述终端保存所述第一信息;将所述第一信息和所述终端中预先设置的EHPLMN信息共同作为更新后的EHPLMN信息。The terminal saves the first information; and uses the first information and the preset EHPLMN information in the terminal together as updated EHPLMN information.
上述方案中,所述终端接收网络设备发送的第一信息,包括:In the above solution, the terminal receives the first information sent by the network device, including:
所述终端通过非接入层(NAS,Non-access Stratum)信令接收所述网络设备发送的第一信息。The terminal receives the first information sent by the network device through non-access stratum (NAS, Non-access Stratum) signaling.
上述方案中,所述终端接收网络设备发送的第一信息,包括:In the above solution, the terminal receives the first information sent by the network device, including:
所述终端接收所述网络设备发送的加密后的第一信息;The terminal receives the encrypted first information sent by the network device;
所述保存所述第一信息,包括:The saving of the first information includes:
所述终端对所述加密后的第一信息进行解密处理,得到解密后的第一信息;The terminal decrypts the encrypted first information to obtain the decrypted first information;
保存所述解密后的第一信息。Save the decrypted first information.
上述方案中,所述对所述加密后的第一信息进行解密处理,包括:In the above solution, the decrypting the encrypted first information includes:
所述终端利用第二信息作为密钥,对所述加密后的第一信息进行解密处理;所述第二信息包含所述终端中预先设置的EHPLMN信息。The terminal uses the second information as a key to decrypt the encrypted first information; the second information includes EHPLMN information preset in the terminal.
上述方案中,所述终端对所述加密后的第一信息进行解密处理,包括:In the above solution, the terminal decrypts the encrypted first information, including:
所述终端对所述加密后的第一信息进行完整性检查;The terminal performs an integrity check on the encrypted first information;
所述加密后的第一信息的完整性检查通过后,所述终端对所述加密后的第一信息进行解密处理。After the integrity check of the encrypted first information passes, the terminal decrypts the encrypted first information.
上述方案中,所述对所述加密后的第一信息进行完整性检查,包括:In the above solution, the integrity check of the encrypted first information includes:
所述终端利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性检查;所述第一标识表征所述第一信息对应的版本。The terminal uses the length of the encrypted first information, the first identifier, and the length of the first identifier to perform an integrity check on the encrypted first information; the first identifier represents the first The version corresponding to the information.
上述方案中,接收所述第一信息时,所述方法还包括:In the above scheme, when receiving the first information, the method further includes:
所述终端接收所述网络设备发送的第一标识;所述第一标识表征所述第一信息对应的版本;The terminal receives the first identifier sent by the network device; the first identifier represents a version corresponding to the first information;
所述保存所述第一信息,包括:The saving of the first information includes:
在所述第一标识表征的版本高于第二标识表征的版本的情况下,所述终端利用所述第一信息更新本地存储的第三信息;所述第二标识表征所述终端本地存储的所述第三信息对应的版本;所述第三信息包含所述终端基于网络设备历史发送的信息更新的EHPLMN信息。When the version represented by the first identification is higher than the version represented by the second identification, the terminal uses the first information to update the locally stored third information; the second identification represents the locally stored third information of the terminal A version corresponding to the third information; the third information includes EHPLMN information updated by the terminal based on information sent by the network device in history.
本申请实施例还提供了一种EHPLMN更新方法,包括:The embodiment of the present application also provides a method for updating EHPLMN, including:
网络设备检测到更新EHPLMN信息的事件;The network device detects the event of updating EHPLMN information;
所述网络设备根据检测到的更新EHPLMN信息的事件,生成第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于终端中预先设置的EHPLMN信息更新的EHPLMN信息。The network device generates first information according to the detected event of updating EHPLMN information; the first information includes at least one piece of EHPLMN information; the first information includes EHPLMN information updated relative to the preset EHPLMN information in the terminal.
所述网络设备向所述终端发送生成的所述第一信息。The network device sends the generated first information to the terminal.
上述方案中,所述根据检测到的更新EHPLMN信息的事件,生成第一信息,包括:In the above solution, the first information is generated according to the detected event of updating EHPLMN information, including:
所述网络设备根据所述检测到的更新EHPLMN信息的事件,确定第四信息;所述第四信息包含执行了所述更新EHPLMN信息的事件对应的操作之后的全部EHPLMN信息;The network device determines fourth information according to the detected event of updating EHPLMN information; the fourth information includes all EHPLMN information after performing an operation corresponding to the event of updating EHPLMN information;
所述网络设备将所述第四信息中所述终端预先设置的EHPLMN信息去除,得到所述第一信息。The network device removes the EHPLMN information preset by the terminal in the fourth information to obtain the first information.
上述方案中,所述向终端发送生成的所述第一信息,包括:In the above solution, the sending the generated first information to the terminal includes:
所述网络设备通过NAS信令向所述终端发送所述第一信息。The network device sends the first information to the terminal through NAS signaling.
上述方案中,所述向终端发送生成的所述第一信息,包括:In the above solution, the sending the generated first information to the terminal includes:
所述网络设备对所述第一信息进行加密处理,得到加密后的第一信息;The network device encrypts the first information to obtain encrypted first information;
向所述终端发送所述加密后的第一信息。sending the encrypted first information to the terminal.
上述方案中,所述对所述第一信息进行加密处理,包括:In the above solution, the encrypting the first information includes:
所述网络设备利用第二信息作为密钥,对所述第一信息进行加密处理;所述第二信息包含所述终端中预先设置的EHPLMN信息。The network device encrypts the first information by using the second information as a key; the second information includes EHPLMN information preset in the terminal.
上述方案中,所述向所述终端发送所述加密后的第一信息,包括:In the above solution, the sending the encrypted first information to the terminal includes:
所述网络设备对所述加密后的第一信息进行完整性保护;The network device performs integrity protection on the encrypted first information;
向所述终端发送进行了完整性保护的所述加密后的第一信息。sending the encrypted first information with integrity protection to the terminal.
上述方案中,所述对所述加密后的第一信息进行完整性保护,包括:In the above solution, the integrity protection of the encrypted first information includes:
所述网络设备利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性保护;所述第一标识表征所述第一信息对应的版本。The network device uses the length of the encrypted first information, the first identifier, and the length of the first identifier to perform integrity protection on the encrypted first information; the first identifier represents the first A version corresponding to the information.
上述方案中,所述向终端发送生成的所述第一信息时,所述方法还包括:In the above solution, when sending the generated first information to the terminal, the method further includes:
所述网络设备向所述终端发送第一标识;所述第一标识表征所述第一信息对应的版本。The network device sends a first identifier to the terminal; the first identifier represents a version corresponding to the first information.
本申请实施例还提供了一种芯片,包括:处理器和接口;其中,The embodiment of the present application also provides a chip, including: a processor and an interface; wherein,
所述处理器用于运行计算机程序时,执行上述终端侧任一方法的步骤,或者执行上述网络设备侧任一方法的步骤。When the processor is used to run a computer program, it executes the steps of any one of the above-mentioned methods on the terminal side, or executes the steps of any one of the above-mentioned methods on the network device side.
本申请实施例还提供了一种通信设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,The embodiment of the present application also provides a communication device, including: a processor and a memory for storing a computer program that can run on the processor; wherein,
所述处理器用于运行所述计算机程序时,执行上述终端侧任一方法的步骤,或者执行上述网络设备侧任一方法的步骤。When the processor is used to run the computer program, it executes the steps of any method on the terminal side, or executes the steps of any method on the network device side.
本申请实施例还提供了一种存储介质,所述介质存储有计算机程序,所述计算机程序被处理器执行时实现上述终端侧任一方法的步骤,或者实现上述网络设备侧任一方法的步骤。The embodiment of the present application also provides a storage medium, the medium stores a computer program, and when the computer program is executed by a processor, it implements the steps of any of the above methods on the terminal side, or realizes the steps of any of the above methods on the network device side .
本申请实施例提供的EHPLMN更新方法、装置、相关设备及存储介质,网络设备检测到更新EHPLMN信息的事件;根据检测到的更新EHPLMN信息的事件,生成第一信息;并向终端发送生成的所述第一信息;而终端保存所述第一信息,并将所述第一信息和所述终端中预先设置的EHPLMN信息共同作为更新后的EHPLMN信息,所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息;本申请实施例的方案,终端将网络设备发送的至少一个EHPLMN信息和自身预先设置的EHPLMN信息共同作为更新后的EHPLMN信息,使得终端无需主动搜集相应运营商更新的EHPLMN信息,而是由相应运营商的网络设备将更新的EHPLMN信息发送至终端,如此,终端能够实时、准确地更新EHPLMN信息。In the EHPLMN update method, device, related equipment, and storage medium provided in the embodiments of the present application, the network equipment detects an event of updating EHPLMN information; generates first information according to the detected event of updating EHPLMN information; and sends the generated information to the terminal the first information; and the terminal saves the first information, and uses the first information and the preset EHPLMN information in the terminal together as the updated EHPLMN information, and the first information contains information relative to the terminal The EHPLMN information updated by the preset EHPLMN information in the application; the solution of the embodiment of this application, the terminal uses at least one EHPLMN information sent by the network device and the EHPLMN information preset by itself as the updated EHPLMN information, so that the terminal does not need to actively collect corresponding operation information. Instead, the network equipment of the corresponding operator sends the updated EHPLMN information to the terminal, so that the terminal can update the EHPLMN information in real time and accurately.
附图说明Description of drawings
图1为本申请实施例应用于网络设备的EHPLMN更新方法的流程示意图;Fig. 1 is the schematic flow chart of the EHPLMN updating method that the embodiment of the present application is applied to network equipment;
图2为本申请实施例应用于终端的EHPLMN更新方法的流程示意图;FIG. 2 is a schematic flow diagram of an EHPLMN update method applied to a terminal according to an embodiment of the present application;
图3为本申请应用实施例EHPLMN更新方法的时序示意图;3 is a schematic diagram of the sequence of the EHPLMN update method of the application embodiment of the present application;
图4为本申请应用实施例对额外的EHPLMN列表(Additional EHPLMN List)进行加密的流程示意图;Fig. 4 is a schematic flow diagram of encrypting an additional EHPLMN list (Additional EHPLMN List) in an application embodiment of the present application;
图5为本申请应用实施例对加密后的Additional EHPLMN List进行解密的流程示意图;Fig. 5 is a schematic flow diagram of decrypting the encrypted Additional EHPLMN List according to the application embodiment of the present application;
图6为本申请实施例EHPLMN更新装置的结构示意图一;FIG. 6 is a schematic structural diagram of an EHPLMN update device according to an embodiment of the present application;
图7为本申请实施例EHPLMN更新装置的结构示意图二;FIG. 7 is a schematic structural diagram II of an EHPLMN update device according to an embodiment of the present application;
图8为本申请实施例芯片的结构示意图;FIG. 8 is a schematic structural diagram of a chip according to an embodiment of the present application;
图9为本申请实施例通信设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of a communication device according to an embodiment of the present application.
具体实施方式Detailed ways
以下结合说明书附图及实施例对本申请的技术方案作进一步详细的阐述。The technical solution of the present application will be further described in detail below in conjunction with the drawings and embodiments of the description.
相关技术中,终端的全球用户识别卡(USIM,Universal Subscriber IdentityModule)中的基本文件(EF,Elementary File)EFEHPLMN中通常预先存储有多个EHPLMN信息,所述多个EHPLMN信息可以以一个EHPLMN列表(List)的方式体现;终端可以根据EHPLMNList判断当前登记的PLMN是否为漫游(Roaming)PLMN,并在确定当前登记的PLMN是RoamingPLMN的情况下,开始周期性地搜索网络,以便能够正确重回相应运营商指定的归属公共陆地移动网络(HPLMN,Home PLMN)。In related technologies, the elementary file (EF, Elementary File) EF EHPLMN in the Universal Subscriber Identity Module (USIM, Universal Subscriber Identity Module) of the terminal usually pre-stores a plurality of EHPLMN information, and the plurality of EHPLMN information can be represented by an EHPLMN list (List) method; the terminal can judge whether the currently registered PLMN is a roaming PLMN according to the EHPLMNList, and when it is determined that the currently registered PLMN is a RoamingPLMN, it starts to periodically search the network so that it can correctly return to the corresponding PLMN. The home public land mobile network (HPLMN, Home PLMN) designated by the operator.
近些年,由于无线技术的快速发展,以及智能手机的普及导致的终端用户的激增,一些大运营商在逐步对无线网络进行扩容和/或升级换代,这使得终端的USIM中预先设置的EHPLMN List可能无法满足相应运营商的需求。在对无线网络进行扩容和/或升级换代的过程中,运营商会在USIM预先设置的EHPLMN List的基础上增加新的EHPLMN信息,这些新的EHPLMN信息也可以以一个List的方式体现,通常,为了与EHPLMN List区分开,可以将运营商新增的EHPLMN信息对应的表格称为额外的(Additional)EHPLMN list;同时,相应运营商在EHPLMN List的基础上增加了Additional EHPLMN List后,为了保证终端对RoamingPLMN的正确判断,需要将相应运营商扩充的Additional EHPLMN List同步更新到终端。In recent years, due to the rapid development of wireless technology and the surge of end users caused by the popularity of smart phones, some large operators are gradually expanding and/or upgrading the wireless network, which makes the EHPLMN pre-set in the USIM of the terminal List may not meet the needs of the corresponding operator. In the process of expanding and/or upgrading the wireless network, the operator will add new EHPLMN information on the basis of the EHPLMN List preset by the USIM. These new EHPLMN information can also be reflected in a List. Usually, for Different from the EHPLMN List, the table corresponding to the EHPLMN information added by the operator can be called an additional (Additional) EHPLMN list; at the same time, after the corresponding operator adds the Additional EHPLMN List on the basis of the EHPLMN List, in order to ensure that the terminal is The correct judgment of RoamingPLMN needs to update the corresponding operator's expanded Additional EHPLMN List to the terminal synchronously.
通常,终端为了同步更新相应运营商扩充的Additional EHPLMN List,需要主动搜集相应运营商扩充的Additional EHPLMN List,再将搜集到的Additional EHPLMN List保存在自身的固定存储器(NVM,Non-volatile memory)中;由于全球的大运营商众多,要覆盖到所有大运营商的准确信息非常困难,即终端很难搜集到相应运营商扩充的准确的Additional EHPLMN List;并且,相应运营商可能会对无线网络进行多次扩容和/或升级换代,终端无法及时(即实时)地获取相应运营商每次扩充的Additional EHPLMN List;因此,终端采用上述方法不能实时、准确地同步更新相应运营商扩充的Additional EHPLMNList。Usually, in order to synchronously update the Additional EHPLMN List extended by the corresponding operator, the terminal needs to actively collect the Additional EHPLMN List extended by the corresponding operator, and then save the collected Additional EHPLMN List in its own fixed memory (NVM, Non-volatile memory) ;Due to the large number of large operators in the world, it is very difficult to cover the accurate information of all large operators, that is, it is difficult for the terminal to collect the accurate Additional EHPLMN List expanded by the corresponding operator; Due to multiple expansions and/or upgrades, the terminal cannot obtain the Additional EHPLMN List expanded each time by the corresponding operator in a timely manner (that is, in real time); therefore, the terminal cannot update the Additional EHPLMN List expanded by the corresponding operator synchronously and accurately in real time by using the above method.
基于此,在本申请的各种实施例中,通过网络设备向终端发送至少一个EHPLMN信息(即上述Additional EHPLMN List),使得终端将网络设备发送的至少一个EHPLMN信息以及自身预先设置的EHPLMN信息(即上述EHPLMN List)共同作为更新后的EHPLMN信息;终端无需主动搜集相应运营商更新的EHPLMN信息,而是由相应运营商的网络设备将更新的EHPLMN信息发送至终端,如此,终端能够实时、准确地更新EHPLMN信息。Based on this, in various embodiments of the present application, the network device sends at least one EHPLMN information (that is, the above-mentioned Additional EHPLMN List) to the terminal, so that the terminal sends at least one EHPLMN information sent by the network device and its own preset EHPLMN information ( That is, the above-mentioned EHPLMN List) together serve as the updated EHPLMN information; the terminal does not need to actively collect the updated EHPLMN information of the corresponding operator, but the network equipment of the corresponding operator sends the updated EHPLMN information to the terminal, so that the terminal can real-time and accurately Update the EHPLMN information accordingly.
本申请实施例提供了一种EHPLMN更新方法,应用于网络设备,如图1所示,所述方法包括以下步骤:The embodiment of the present application provides a kind of EHPLMN updating method, is applied to network equipment, as shown in Figure 1, described method comprises the following steps:
步骤101:网络设备检测到更新EHPLMN信息的事件;Step 101: the network device detects an event of updating EHPLMN information;
步骤102:所述网络设备根据检测到的更新EHPLMN信息的事件,生成第一信息;Step 102: The network device generates first information according to the detected event of updating EHPLMN information;
这里,所述第一信息包含至少一个EHPLMN信息;所述第一信息不包含第二信息;所述第二信息包含终端中预先设置的EHPLMN信息;也就是说,所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息;Here, the first information includes at least one piece of EHPLMN information; the first information does not include second information; the second information includes EHPLMN information preset in the terminal; that is, the first information includes information relative to The EHPLMN information updated by the preset EHPLMN information in the terminal;
步骤103:所述网络设备向所述终端发送生成的所述第一信息。Step 103: The network device sends the generated first information to the terminal.
这里,所述第一信息和所述第二信息作为所述终端能够使用的EHPLMN信息,比如可以用于供所述终端判断当前登记的PLMN是否为漫游PLMN。Here, the first information and the second information are used as EHPLMN information usable by the terminal, for example, for the terminal to determine whether the currently registered PLMN is a roaming PLMN.
所述第一信息不包含第二信息,也就是说,所述第一信息包含的EHPLMN信息与所述第二信息包含的EHPLMN信息完全不同。The first information does not include the second information, that is, the EHPLMN information included in the first information is completely different from the EHPLMN information included in the second information.
其中,所述第二信息即上述EHPLMN List;所述第一信息即上述AdditionalEHPLMN List。Wherein, the second information is the above-mentioned EHPLMN List; the first information is the above-mentioned AdditionalEHPLMN List.
这里,需要说明的是,所述终端为注册在所述网络设备对应的网络的任一终端。Here, it should be noted that the terminal is any terminal registered in the network corresponding to the network device.
在步骤101中,实际应用时,所述更新EHPLMN信息的事件可以是各种形式的事件,比如,所述更新EHPLMN信息的事件可以是相应运营商的管理员在所述网络设备对应的可视化管理页面中添加EHPLMN信息的操作;再比如,所述更新EHPLMN信息的事件可以是所述网络设备接收到相应运营商的管理员发送的用于添加EHPLMN信息的指令。In
实际应用时,可以在相应运营商在网络升级过程和/或网络扩容过程中发生更新EHPLMN信息的事件。In actual application, the event of updating EHPLMN information may occur during the network upgrade process and/or network expansion process of the corresponding operator.
在步骤102中,实际应用时,所述网络设备检测到更新EHPLMN信息的事件后,可以根据所述更新EHPLMN信息的事件,确定所述网络设备在执行了所述更新EHPLMN信息的事件对应的操作之后的全部EHPLMN信息(后续的描述中可以记作第四信息);由于所述网络设备中预先存储了所述第二信息,且所有更新EHPLMN信息的事件均为针对所述第二信息的更新事件;因此,所述第四信息包含所述第二信息,所述网络设备可以通过将所述第四信息中的所述第二信息去除来得到Additional EHPLMN List,即得到所述第一信息。In
基于此,在一实施例中,所述根据检测到的更新EHPLMN信息的事件,生成第一信息,可以包括:Based on this, in an embodiment, the generating the first information according to the detected event of updating EHPLMN information may include:
所述网络设备根据所述检测到的更新EHPLMN信息的事件,确定第四信息;所述第四信息包含执行了所述更新EHPLMN信息的事件对应的操作之后的全部EHPLMN信息;也就是说,所述第四信息包含所述第二信息;The network device determines fourth information according to the detected event of updating EHPLMN information; the fourth information includes all EHPLMN information after the operation corresponding to the event of updating EHPLMN information is performed; that is, the the fourth information includes the second information;
所述网络设备将所述第四信息中的所述第二信息(即所述终端中预先设置的EHPLMN信息)去除,得到所述第一信息。The network device removes the second information (that is, the preset EHPLMN information in the terminal) from the fourth information to obtain the first information.
实际应用时,为了减少对所述网络设备和所述终端的改造成本,当所述网络设备向所述终端发送所述第一信息时,可以利用现有网络侧和终端侧的信令交互流程中的信令对所述第一信息进行传输,例如NAS传输(Transport)流程。In practical application, in order to reduce the transformation cost of the network device and the terminal, when the network device sends the first information to the terminal, the existing signaling interaction process between the network side and the terminal side can be used The signaling in transmits the first information, for example, a NAS transport (Transport) process.
基于此,在一实施例中,在步骤103中,所述向终端发送生成的所述第一信息,可以包括:Based on this, in an embodiment, in
所述网络设备通过NAS信令向所述终端发送所述第一信息。The network device sends the first information to the terminal through NAS signaling.
这里,在本申请的各种实施例中,所述网络设备和所述终端交互的所有信息都可以通过NAS信令进行传输。Here, in various embodiments of the present application, all information exchanged between the network device and the terminal may be transmitted through NAS signaling.
实际应用时,可以将所述第一信息设置在所述NAS信令的有效载荷容器(PayloadContainer)域中;相应地,所述终端接收到所述NAS信令后,可以从所述NAS信令中的Payload Container域获取所述第一信息。In actual application, the first information may be set in the payload container (PayloadContainer) field of the NAS signaling; correspondingly, after the terminal receives the NAS signaling, it may The Payload Container domain in obtains the first information.
实际应用时,为了使终端能够区分携带有所述第一信息的NAS信令和其他NAS信令,所述网络设备可以在携带有所述第一信息的NAS信令中设置一个标识(后续的描述中可以记作第三标识),所述第三标识可以是任意一个相关技术中未被使用或定义的不具备特殊含义的值;当所述终端从NAS信令中检测到所述第三标识的情况下,所述终端可以确定接收到携带有所述第一信息的NAS信令,即接收到所述网络设备发送的所述第一信息。这里,可以在所述NAS信令的有效载荷容器类型(Payload Container Type)域中设置所述第三标识(例如,将Payload Container Type域设置为9);如此,可以提高终端确定当前的NAS信令是否携带第一信息的效率。In practical applications, in order to enable the terminal to distinguish between NAS signaling carrying the first information and other NAS signaling, the network device may set an identifier in the NAS signaling carrying the first information (subsequent may be recorded as a third identifier in the description), and the third identifier may be a value that is not used or defined in any related technology and has no special meaning; when the terminal detects the third identifier from NAS signaling In the case of identification, the terminal may determine that the NAS signaling carrying the first information is received, that is, the first information sent by the network device is received. Here, the third identifier can be set in the payload container type (Payload Container Type) field of the NAS signaling (for example, the Payload Container Type field is set to 9); in this way, the terminal can be improved to determine the current NAS signal Order whether to carry the efficiency of the first information.
基于此,在步骤103中,实际应用时,所述网络设备向终端发送生成的所述第一信息时,所述方法还可以包括:所述网络设备向所述终端发送第三标识;所述第三标识用于供所述终端确定接收到所述网络设备发送的所述第一信息。Based on this, in
实际应用时,所述网络设备可以包括网络侧的至少两个网元,比如统一数据管理(UDM,Unified Data Management)网元和接入及移动性管理功能(AMF,Access andMobility Management Function)网元。具体地,可以由UDM网元检测更新EHPLMN信息的事件,检测到更新EHPLMN信息的事件时,UDM网元可以根据所述更新EHPLMN信息的事件,确定所述第四信息,并将所述第四信息中的所述第二信息去除,生成所述第一信息,再通过签约数据通知(Nudm_SDM_Notification)消息将所述第一信息发送至AMF网元,由AMF网元通过下行NAS传输(Downlink NAS Transport)消息将所述第一信息发送至所述终端。In actual application, the network device may include at least two network elements on the network side, such as a unified data management (UDM, Unified Data Management) network element and an access and mobility management function (AMF, Access and Mobility Management Function) network element . Specifically, the UDM network element may detect the event of updating the EHPLMN information, and when the event of updating the EHPLMN information is detected, the UDM network element may determine the fourth information according to the event of updating the EHPLMN information, and send the fourth The second information in the information is removed, the first information is generated, and then the first information is sent to the AMF network element through the subscription data notification (Nudm_SDM_Notification) message, and the AMF network element transmits the downlink NAS transport (Downlink NAS Transport ) message to send the first information to the terminal.
实际应用时,为了使所述终端能够判断所述第一信息是否是自身需求的Additional EHPLMN List,即判断所述第一信息对应的版本是否高于自身存储的EHPLNM信息的版本(在所述终端确定所述第一信息对应的版本高于自身存储的EHPLNM信息的版本时,所述终端保存所述第一信息;在所述终端确定所述第一信息对应的版本低于或等于自身存储的EHPLNM信息的版本时,所述终端舍弃所述第一信息),所述网络设备向所述终端发送生成的第一信息时,还可以向所述终端发送表征所述第一信息对应的版本的标识信息(后续的描述中可以记作第一标识);如此,终端可以根据所述第一标识确定是否需要保存所述第一信息。In actual application, in order to enable the terminal to determine whether the first information is the Additional EHPLMN List required by itself, that is, to determine whether the version corresponding to the first information is higher than the version of the EHPLNM information stored in itself (in the terminal When determining that the version corresponding to the first information is higher than the version of the EHPLNM information stored by itself, the terminal saves the first information; when the terminal determines that the version corresponding to the first information is lower than or equal to the version stored by itself EHPLNM information version, the terminal discards the first information), when the network device sends the generated first information to the terminal, it may also send to the terminal a version representing the version corresponding to the first information Identification information (which may be referred to as a first identification in subsequent descriptions); in this way, the terminal may determine whether to save the first information according to the first identification.
基于此,在一实施例中,所述向终端发送生成的所述第一信息时,所述方法还可以包括:Based on this, in an embodiment, when sending the generated first information to the terminal, the method may further include:
所述网络设备向所述终端发送第一标识;所述第一标识表征所述第一信息对应的版本。The network device sends a first identifier to the terminal; the first identifier represents a version corresponding to the first information.
具体地,所述网络设备可以通过NAS信令向所述终端发送第一标识。Specifically, the network device may send the first identifier to the terminal through NAS signaling.
实际应用时,由于所述第一信息非常重要,为了避免所述第一信息在数据传输过程中被错误或恶意地篡改,进而导致所述终端长期待在一个访问公共陆地移动网络(VPLMN,Visited PLMN)上并误以为所述VPLMN为HPLMN,所述终端和所述网络设备需要安全地传输所述第一信息;比如,为所述第一信息加密;再比如,通过所述终端与所述网络设备建立的安全隧道传输所述第一信息。In practical applications, since the first information is very important, in order to prevent the first information from being incorrectly or maliciously tampered with during data transmission, the terminal stays on a Visited Public Land Mobile Network (VPLMN, Visited PLMN) and mistakenly think that the VPLMN is an HPLMN, the terminal and the network device need to transmit the first information securely; for example, encrypt the first information; for another example, through the terminal and the The secure tunnel established by the network device transmits the first information.
基于此,在一实施例中,所述向终端发送生成的所述第一信息,可以包括:Based on this, in an embodiment, the sending the generated first information to the terminal may include:
所述网络设备对所述第一信息进行加密处理,得到加密后的第一信息;The network device encrypts the first information to obtain encrypted first information;
向所述终端发送所述加密后的第一信息。sending the encrypted first information to the terminal.
实际应用时,所述网络设备和所述终端可以在本地预先设置加密密钥,用于对所述第一信息进行加密和解密。这里,由于所述终端和所述网络设备均存储有第二信息,且仅有所述终端和所述网络设备能够获知所述第二信息的内容;因此,为了节省所述终端和所述网络设备的存储空间,并进一步提高传输所述第一信息的安全性,可以直接将所述第二信息设置为加密密钥流,即将所述第二信息作为密钥;即所述网络设备利用所述第二信息作为密钥,对所述第一信息进行加密处理,得到加密后的第一信息;所述终端接收到所述加密后的第一信息后,可以利用所述第二信息为所述加密后的第一信息进行解密,得到解密后的第一信息。In practical applications, the network device and the terminal may locally preset an encryption key for encrypting and decrypting the first information. Here, since both the terminal and the network device store the second information, and only the terminal and the network device can know the content of the second information; therefore, in order to save the terminal and the network The storage space of the device, and to further improve the security of transmitting the first information, the second information can be directly set as an encryption key stream, that is, the second information is used as a key; that is, the network device uses the The second information is used as a key to encrypt the first information to obtain the encrypted first information; after the terminal receives the encrypted first information, it can use the second information for the Decrypt the encrypted first information to obtain the decrypted first information.
实际应用时,所述网络设备和所述终端可以利用任一加密方法对所述第一信息进行加密和解密;比如,所述网络设备对所述第一信息进行加密时,可以对所述第一信息和加密密钥流(例如,所述第二信息)进行异或操作,得到的异或操作的结果即为加密后的所述第一信息;相应地,所述终端对所述加密后的第一信息进行解密时,可以对所述加密后的第一信息和解密密钥流(对应于加密密钥流,即所述第二信息)进行异或操作,得到的异或操作的结果即为解密后的第一信息。In actual application, the network device and the terminal may use any encryption method to encrypt and decrypt the first information; for example, when the network device encrypts the first information, it may encrypt the first information Execute an XOR operation on information and an encrypted key stream (for example, the second information), and the obtained XOR operation result is the encrypted first information; correspondingly, the terminal encrypts the encrypted When decrypting the first information, an XOR operation can be performed on the encrypted first information and the decryption key stream (corresponding to the encryption key stream, that is, the second information), and the obtained XOR operation result That is, the decrypted first information.
实际应用时,在所述网络设备由UDM网元和AMF网元组成的情况下,可以由UDM网元在生成所述第一信息后,对所述第一信息进行加密,得到加密后的第一信息,再通过Nudm_SDM_Notification消息将所述加密后的第一信息发送至AMF网元,由AMF网元通过DownlinkNAS Transport消息将所述加密后的第一信息发送至所述终端。In actual application, when the network device is composed of a UDM network element and an AMF network element, the UDM network element may encrypt the first information after generating the first information to obtain the encrypted first information. information, and then send the encrypted first information to the AMF network element through a Nudm_SDM_Notification message, and the AMF network element sends the encrypted first information to the terminal through a DownlinkNAS Transport message.
实际应用时,为了保证终端接收到的所述加密后的第一信息的完整性,所述网络设备还可以对所述加密后的第一信息进行完整性保护,并向所述终端发送进行了完整性保护的所述加密后的第一信息。In practical applications, in order to ensure the integrity of the encrypted first information received by the terminal, the network device may further perform integrity protection on the encrypted first information, and send the encrypted first information to the terminal. The encrypted first information is integrity protected.
基于此,在一实施例中,所述向所述终端发送所述加密后的第一信息,可以包括:Based on this, in an embodiment, the sending the encrypted first information to the terminal may include:
所述网络设备对所述加密后的第一信息进行完整性保护;The network device performs integrity protection on the encrypted first information;
向所述终端发送进行了完整性保护的所述加密后的第一信息。sending the encrypted first information with integrity protection to the terminal.
这里,所述网络设备向所述终端发送进行了完整性保护的所述加密后的第一信息时,还需要同时发送第一完整性验证信息,所述第一完整性验证信息是所述网络设备对所述加密后的第一信息进行完整性保护后生成的,所述第一完整性验证信息用于供所述终端在接收到所述加密后的第一信息后,对所述加密后的第一信息进行完整性检查。Here, when the network device sends the encrypted first information with integrity protection to the terminal, it also needs to send first integrity verification information at the same time, and the first integrity verification information is the generated by the device after performing integrity protection on the encrypted first information, and the first integrity verification information is used for the terminal to verify the encrypted first information after receiving the encrypted first information The first message is sanity checked.
实际应用时,所述第一完整性验证信息可以包含消息验证码(MAC,MessageAuthentication Code)。In practical application, the first integrity verification information may include a Message Authentication Code (MAC, Message Authentication Code).
实际应用时,所述网络设备也可以通过Downlink NAS Transport消息将进行了完整性保护的所述加密后的第一信息对应的第一完整性验证信息发送至所述终端;因此,所述向所述终端发送进行了完整性保护的所述加密后的第一信息,可以包括:所述网络设备向所述终端发送所述加密后的第一信息以及所述加密后的第一信息对应的第一完整性验证信息。In practical applications, the network device may also send the first integrity verification information corresponding to the encrypted first information that has been integrity protected to the terminal through a Downlink NAS Transport message; therefore, the sending to the The terminal sending the encrypted first information with integrity protection may include: the network device sending the encrypted first information and the encrypted first information to the terminal. - Integrity verification information.
实际应用时,可以根据需要设置对所述加密后的第一信息进行完整性保护所需的参数以及对所述加密后的第一信息进行完整性检查所需的参数(对所述加密后的第一信息进行完整性保护所需的参数与对所述加密后的第一信息进行完整性检查所需的参数相同),比如所述加密后的第一信息的长度、所述第一标识、所述第一标识的长度等。In actual application, parameters required for integrity protection of the encrypted first information and parameters required for integrity check of the encrypted first information (for the encrypted first information) may be set as required. The parameters required for the integrity protection of the first information are the same as the parameters required for the integrity check of the encrypted first information), such as the length of the encrypted first information, the first identifier, The length of the first identification, etc.
基于此,在一实施例中,所述对所述加密后的第一信息进行完整性保护,可以包括:Based on this, in an embodiment, the performing integrity protection on the encrypted first information may include:
所述网络设备利用所述加密后的第一信息的长度、所述第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性保护。The network device performs integrity protection on the encrypted first information by using the length of the encrypted first information, the first identifier, and the length of the first identifier.
实际应用时,所述网络设备和所述终端可以利用任一数据完整性保护算法对所述加密后的第一信息进行完整性保护,并对所述加密后的第一信息进行完整性检查;比如MD5消息摘要算法(MD5,Message Digest Algorithm MD5)、密钥导出函数(KDF,KeyDerivation Function)等。同时,所述网络设备还可以包含鉴权服务功能(AUSF,Authentication Server Function)网元,并由AUSF网元对所述加密后的第一信息进行完整性保护。In actual application, the network device and the terminal may use any data integrity protection algorithm to perform integrity protection on the encrypted first information, and perform an integrity check on the encrypted first information; For example, MD5 message digest algorithm (MD5, Message Digest Algorithm MD5), key derivation function (KDF, KeyDerivation Function), etc. Meanwhile, the network device may further include an Authentication Server Function (AUSF, Authentication Server Function) network element, and the AUSF network element performs integrity protection on the encrypted first information.
举例来说,在所述网络设备由UDM网元、AUSF网元和AMF网元组成的情况下,所述网络设备利用KDF对所述加密后的第一信息进行完整性保护具体可以是这样实现的:UDM网元在生成所述第一信息后,对所述第一信息进行加密,得到加密后的第一信息,并向AUSF网元发送携带所述加密后的第一信息的完整性保护请求(可以表示为Nausf_AddEHPLMN_Protection)消息,以请求AUSF网元对所述加密后的第一信息进行完整性保护。AUSF网元接收到Nausf_AddEHPLMN_Protection消息后,可以生成一个初始值为第一值(所述第一值可以是任意一个相关技术中未被使用或定义的不具备特殊含义的值,例如0x00 0x01)的计数器(可以表示为CounterEHPLMN),CounterEHPLMN可以表征所述第一信息包含的至少一个EHPLMN信息对应的版本(即所述作第一标识);并将预设的第一FC值(所述第一FC值可以是任意一个相关技术中未被使用或定义的不具备特殊含义的值,例如0x80,FC值是KDF实例标识,用于标识不同的KDF实例,即用于区分计算目的不同的KDF实例)、所述加密后的第一信息、所述加密后的第一信息的长度、CounterEHPLMN(即所述第一标识)以及CounterEHPLMN的长度(即所述第一标识的长度)作为KDF的输入参数,将所述终端注册到所述网络设备对应的网络的过程中所述终端和所述AUSF网元协商的AUSF密钥(KAUSF)作为KDF的指定密钥,运行KDF;AUSF网元可以将运行KDF后输出的结果的低128比特(bit)确定为对所述加密后的第一信息进行完整性保护后得到的MAC(可以表示为EHPLMN-MAC-IAUSF);得到EHPLMN-MAC-IAUSF后,AUSF网元可以向UDM网元返回携带EHPLMN-MAC-IAUSF和CounterEHPLMN的完整性保护请求响应(可以表示为Nausf_AddEHPLMN_Protection_Rsp)消息;AUSF网元返回Nausf_AddEHPLMN_Protection_Rsp后,可以控制CounterEHPLMN加1,即利用CounterEHPLMN加1的结果更新CounterEHPLMN,以供AUSF网元下一次计算EHPLMN-MAC-IAUSF。UDM网元接收到Nausf_AddEHPLMN_Protection_Rsp消息后,可以通过Nudm_SDM_Notification消息将所述加密后的第一信息、EHPLMN-MAC-IAUSF以及CounterEHPLMN发送至AMF网元,再由AMF网元通过Downlink NAS Transport消息将所述加密后的第一信息、EHPLMN-MAC-IAUSF(即所述第一完整性验证信息)以及CounterEHPLMN(即所述第一标识)发送至所述终端。这里,可以将所述加密后的第一信息、EHPLMN-MAC-IAUSF以及CounterEHPLMN设置在Downlink NAS Transport消息的Payload Container域中,并将Downlink NAS Transport消息的Payload ContainerType域设置为所述第三标识(所述第三标识可以是任意一个相关技术中未被使用或定义的不具备特殊含义的值,例如9)。For example, when the network device is composed of a UDM network element, an AUSF network element, and an AMF network element, the network device uses KDF to protect the integrity of the encrypted first information, which may specifically be implemented as follows of: after the UDM network element generates the first information, it encrypts the first information to obtain the encrypted first information, and sends an integrity protection message carrying the encrypted first information to the AUSF network element request (may be expressed as Nausf_AddEHPLMN_Protection) message, to request the AUSF network element to perform integrity protection on the encrypted first information. After the AUSF network element receives the Nausf_AddEHPLMN_Protection message, it can generate a counter whose initial value is the first value (the first value can be a value that is not used or defined in any related technology and has no special meaning, such as 0x00 0x01) (may be expressed as Counter EHPLMN ), and Counter EHPLMN can characterize the version corresponding to at least one EHPLMN information contained in the first information (that is, the first identification); and the preset first FC value (the first The FC value can be a value that is not used or defined in any related technology and has no special meaning, such as 0x80. The FC value is the KDF instance identifier, which is used to identify different KDF instances, that is, to distinguish KDF instances with different computing purposes ), the encrypted first information, the length of the encrypted first information, Counter EHPLMN (i.e. the first identification) and the length of Counter EHPLMN (i.e. the length of the first identification) as KDF Input parameters, use the AUSF key (K AUSF ) negotiated between the terminal and the AUSF network element in the process of registering the terminal to the network corresponding to the network device as the designated key of KDF, and run KDF; AUSF network element The lower 128 bits (bit) of the result output after running the KDF can be determined as the MAC (can be expressed as EHPLMN-MAC-I AUSF ) obtained after the integrity protection of the encrypted first information; obtain EHPLMN-MAC After -I AUSF , the AUSF network element can return to the UDM network element an integrity protection request response (which can be expressed as Nausf_AddEHPLMN_Protection_Rsp) carrying EHPLMN-MAC-I AUSF and Counter EHPLMN ; after the AUSF network element returns Nausf_AddEHPLMN_Protection_Rsp, it can control the Counter EHPLMN to add 1. That is, use the result of adding 1 to Counter EHPLMN to update Counter EHPLMN for the AUSF network element to calculate EHPLMN-MAC-I AUSF next time. After the UDM network element receives the Nausf_AddEHPLMN_Protection_Rsp message, it can send the encrypted first information, EHPLMN-MAC-I AUSF , and Counter EHPLMN to the AMF network element through the Nudm_SDM_Notification message, and then the AMF network element sends the encrypted information to the AMF network element through the Downlink NAS Transport message. The encrypted first information, EHPLMN-MAC-I AUSF (that is, the first integrity verification information), and Counter EHPLMN (that is, the first identifier) are sent to the terminal. Here, the encrypted first information, EHPLMN-MAC-I AUSF and Counter EHPLMN can be set in the Payload Container field of the Downlink NAS Transport message, and the Payload ContainerType field of the Downlink NAS Transport message can be set as the third An identifier (the third identifier may be a value that is not used or defined in any related art and has no special meaning, such as 9).
相应地,针对上述对所述加密后的第一信息进行完整性保护的过程,所述终端利用KDF对所述加密后的第一信息进行完整性检查具体可以是这样实现的:所述终端接收来自所述网络设备的Downlink NAS Transport消息,当检测到Downlink NAS Transport消息的Payload Container Type域为所述第一标识时,所述终端确定接收到所述加密后的第一信息,即确定Downlink NAS Transport消息的Payload Container域包含所述加密后的第一信息;此时,所述终端需要对Downlink NAS Transport消息的Payload Container域进行安全性检查,所述安全性检查为“所述终端利用Downlink NAS Transport消息的PayloadContainer域包含的除所述加密后的第一信息外的其他信息,对所述加密后的第一信息进行完整性检查,并在所述加密后的第一信息的完整性检查通过后,对所述加密后的第一信息进行解密处理”的过程;具体地,所述终端从Downlink NAS Transport消息的PayloadContainer域获得所述加密后的第一信息、EHPLMN-MAC-IAUSF以及CounterEHPLMN,并将预设的第一FC值、所述加密后的第一信息、所述加密后的第一信息的长度、CounterEHPLMN以及CounterEHPLMN的长度作为KDF的输入参数,将所述KAUSF作为KDF的指定密钥,运行KDF;所述终端可以将运行KDF后输出的结果的低128bit确定为对所述加密后的第一信息进行完整性检查后得到的MAC(可以表示为EHPLMN-XMAC-IAUSF);得到EHPLMN-XMAC-IAUSF后,所述终端可以对EHPLMN-XMAC-IAUSF和EHPLMN-MAC-IAUSF进行比较,在EHPLMN-XMAC-IAUSF和EHPLMN-MAC-IAUSF相等的情况下,所述终端可以确定所述加密后的第一信息的完整性检查通过;此时,所述终端可以对所述加密后的第一信息进行解密处理,得到解密后的第一信息,并保存所述解密后的第一信息。这里,所述终端计算EHPLMN-XMAC-IAUSF的方式与AUSF网元计算EHPLMN-MAC-IAUSF的方式相同,也就是说,所述终端计算EHPLMN-XMAC-IAUSF所需的参数与AUSF网元计算EHPLMN-MAC-IAUSF所需的参数相同。Correspondingly, for the above-mentioned process of performing integrity protection on the encrypted first information, the terminal uses KDF to perform an integrity check on the encrypted first information, which may specifically be implemented as follows: the terminal receives In the Downlink NAS Transport message from the network device, when it is detected that the Payload Container Type field of the Downlink NAS Transport message is the first identifier, the terminal determines that the encrypted first information has been received, that is, determines that the Downlink NAS Transport The Payload Container field of the Transport message contains the encrypted first information; at this time, the terminal needs to perform a security check on the Payload Container field of the Downlink NAS Transport message, and the security check is "The terminal uses the Downlink NAS The PayloadContainer field of the Transport message contains other information except the encrypted first information, and the integrity check of the encrypted first information is performed, and the integrity check of the encrypted first information passes Then, the process of decrypting the encrypted first information”; specifically, the terminal obtains the encrypted first information, EHPLMN-MAC-I AUSF and Counter from the PayloadContainer field of the Downlink NAS Transport message EHPLMN , and the preset first FC value, the encrypted first information, the length of the encrypted first information, Counter EHPLMN and the length of Counter EHPLMN are used as input parameters of KDF, and the K AUSF As the specified key of KDF, run KDF; the terminal can determine the low 128bit of the output result after running KDF as the MAC (may be expressed as EHPLMN-XMAC) obtained after integrity checking of the encrypted first information -I AUSF ); After obtaining EHPLMN-XMAC-I AUSF , the terminal can compare EHPLMN-XMAC-I AUSF and EHPLMN-MAC-I AUSF , and EHPLMN-XMAC-I AUSF and EHPLMN-MAC-I AUSF are equal In the case of , the terminal may determine that the integrity check of the encrypted first information passes; at this time, the terminal may decrypt the encrypted first information to obtain the decrypted first information , and save the decrypted first information. Here, the way the terminal calculates the EHPLMN-XMAC-I AUSF is the same as the way the AUSF network element calculates the EHPLMN-MAC-I AUSF , that is, the parameters required by the terminal to calculate the EHPLMN-XMAC-I AUSF are the same as those of the AUSF network element. The parameters required to meta-calculate EHPLMN-MAC-I AUSF are the same.
实际应用时,为了使所述网络设备能够确定所述终端完成了EHPLMN更新,Downlink NAS Transport消息(即NAS信令)中还可以包含接收确认指示(可以表示为ACKIndication)信息;ACK Indication信息用于指示终端在保存所述第一信息后,向所述网络设备发送接收确认信息;当然,为了保证信息传输的完整性,所述接收确认信息可以进行了完整性保护;所述网络设备接收到所述接收确认信息后,可以对所述接收确认信息进行完整性检查,并在所述接收确认信息的完整性检查通过后,所述网络设备可以确定所述终端完成了EHPLMN更新。在所述接收确认信息的完整性检查未通过时,所述网络设备可以重新向所述终端发送所述第一信息,也可以不作处理,具体可以根据运营商的需求进行设置。因此,所述向终端发送生成的所述第一信息时,所述方法还可以包括:所述网络设备向所述终端发送接收确认指示信息(可以通过NAS信令发送);所述接收确认指示信息用于指示所述终端在保存所述第一信息后向所述网络设备发送接收确认信息。这里,当所述接收确认信息进行了完整性保护时,所述网络设备接收所述终端发送的接收确认信息时,还接收所述终端发送的第二完整性验证信息,并利用所述第二完整性验证信息对所述接收确认信息进行完整性检查;所述第二完整性验证信息是所述终端对所述接收确认信息进行完整性保护时生成的。In actual application, in order to enable the network device to determine that the terminal has completed the EHPLMN update, the Downlink NAS Transport message (that is, NAS signaling) may also include reception confirmation indication (which may be expressed as ACKIndication) information; ACK Indication information is used for Instructing the terminal to send receipt confirmation information to the network device after storing the first information; of course, in order to ensure the integrity of information transmission, the reception confirmation information may be integrity protected; the network device receives the After receiving the confirmation information, an integrity check may be performed on the reception confirmation information, and after the integrity check of the reception confirmation information passes, the network device may determine that the terminal has completed the EHPLMN update. When the integrity check of the receipt confirmation information fails, the network device may resend the first information to the terminal, or may not process it, which may be specifically set according to requirements of the operator. Therefore, when sending the generated first information to the terminal, the method may further include: the network device sending reception confirmation indication information (which may be sent through NAS signaling) to the terminal; the reception confirmation indication The information is used to instruct the terminal to send reception confirmation information to the network device after saving the first information. Here, when the reception confirmation information is integrity protected, when the network device receives the reception confirmation information sent by the terminal, it also receives the second integrity verification information sent by the terminal, and uses the second The integrity verification information performs an integrity check on the reception confirmation information; the second integrity verification information is generated when the terminal performs integrity protection on the reception confirmation information.
具体地,在所述网络设备由UDM网元、AUSF网元和AMF网元组成,且所述终端和所述网络设备利用KDF对所述接收确认信息进行完整性保护,并对所述接收确认信息进行完整性检查的情况下,当UDM网元向AUSF网元发送携带所述加密后的第一信息的Nausf_AddEHPLMN_Protection消息时,Nausf_AddEHPLMN_Protection消息还需要携带ACKIndication信息,ACK Indication信息用于指示AUSF网元计算终端的MAC(可以表示为EHPLMN-XMAC-IUE),EHPLMN-XMAC-IUE用于供UDM网元对所述终端保存所述第一信息后返回的接收确认信息进行完整性检查。AUSF网元接收到Nausf_AddEHPLMN_Protection消息,并得到CounterEHPLMN和EHPLMN-MAC-IAUSF后,可以将预设的第二FC值(所述第二FC值可以是任意一个相关技术中未被使用或定义的不具备特殊含义的值,例如0x81)、预设的第一字符串(所述第一字符串可以根据需要设置,例如“0x01(“Additional EHPLMN List”Acknowledgement)”等)、所述第一字符串的长度、CounterEHPLMN以及CounterEHPLMN的长度作为KDF的输入参数,将所述KAUSF作为KDF的指定密钥,运行KDF;AUSF网元可以将运行KDF后输出的结果的低128bit确定为EHPLMN-XMAC-IUE,并向UDM网元返回携带EHPLMN-MAC-IAUSF、EHPLMN-XMAC-IUE和CounterEHPLMN的Nausf_AddEHPLMN_Protection_Rsp消息。UDM网元接收到Nausf_AddEHPLMN_Protection_Rsp消息后,可以将EHPLMN-XMAC-IUE保存在本地,并可以通过Nudm_SDM_Notification消息将所述加密后的第一信息、EHPLMN-MAC-IAUSF以及CounterEHPLMN发送至AMF网元,再由AMF网元通过Downlink NAS Transport消息将所述加密后的第一信息、EHPLMN-MAC-IAUSF以、ACK Indication信息以及CounterEHPLMN发送至所述终端。所述终端接收来自所述网络设备的Downlink NAS Transport消息,对所述加密后的第一信息进行了完整性检查,并对所述加密后的第一信息进行了解密处理,得到解密后的第一信息,并保存了所述解密后的第一信息之后,所述终端可以将所述第二FC值、所述第一字符串、所述第一字符串的长度、CounterEHPLMN以及CounterEHPLMN的长度作为KDF的输入参数,将所述KAUSF作为KDF的指定密钥,运行KDF;所述终端可以将运行KDF后输出的结果的低128bit确定为对所述接收确认信息进行完整性保护后得到的MAC(可以表示为EHPLMN-MAC-IUE,即所述第二完整性验证信息),并将EHPLMN-MAC-IUE携带在响应Downlink NASTransport消息的上行NAS信令(Uplink NAS Transport)消息中发送至AMF网元;AMF网元通过响应Nudm_SDM_Notification消息的Nudm_SDM_Info消息将EHPLMN-MAC-IUE发送至UDM网元;UDM网元可以将EHPLMN-MAC-IUE与本地的EHPLMN-XMAC-IUE进行对比,当EHPLMN-MAC-IUE与EHPLMN-XMAC-IUE相等时,UDM网元可以确定所述接收确认信息的完整性检查通过,所述终端完成了EHPLMN更新。这里,所述终端计算EHPLMN-MAC-IUE的方式与AUSF网元计算EHPLMN-XMAC-IUE的方式相同,也就是说,所述终端计算EHPLMN-MAC-IUE所需的参数与AUSF网元计算EHPLMN-XMAC-IUE所需的参数相同。Specifically, the network device is composed of a UDM network element, an AUSF network element, and an AMF network element, and the terminal and the network device use KDF to protect the integrity of the reception confirmation information, and the reception confirmation In the case of information integrity check, when the UDM network element sends the Nausf_AddEHPLMN_Protection message carrying the encrypted first information to the AUSF network element, the Nausf_AddEHPLMN_Protection message also needs to carry ACKIndication information, and the ACK Indication information is used to instruct the AUSF network element to calculate The MAC of the terminal (may be expressed as EHPLMN-XMAC-I UE ), and the EHPLMN-XMAC-I UE is used for the UDM network element to check the integrity of the reception confirmation information returned by the terminal after storing the first information. After the AUSF network element receives the Nausf_AddEHPLMN_Protection message, and obtains the Counter EHPLMN and the EHPLMN-MAC-I AUSF , the preset second FC value (the second FC value may be unused or defined in any related technology A value with no special meaning, such as 0x81), a preset first character string (the first character string can be set as required, such as "0x01 ("Additional EHPLMN List"Acknowledgment)", etc.), the first character string The length of the string, Counter EHPLMN , and the length of Counter EHPLMN are used as the input parameters of KDF, and the K AUSF is used as the specified key of KDF to run KDF; the AUSF network element can determine the lower 128 bits of the output result after running KDF as EHPLMN- XMAC-I UE , and return the Nausf_AddEHPLMN_Protection_Rsp message carrying EHPLMN-MAC-I AUSF , EHPLMN-XMAC-I UE and Counter EHPLMN to the UDM network element. After the UDM network element receives the Nausf_AddEHPLMN_Protection_Rsp message, it can save the EHPLMN-XMAC-I UE locally, and can send the encrypted first information, EHPLMN-MAC-I AUSF and Counter EHPLMN to the AMF network element through the Nudm_SDM_Notification message , and then the AMF network element sends the encrypted first information, EHPLMN-MAC-I AUSF , ACK Indication information, and Counter EHPLMN to the terminal through a Downlink NAS Transport message. The terminal receives the Downlink NAS Transport message from the network device, checks the integrity of the encrypted first information, and decrypts the encrypted first information to obtain the decrypted first information. After storing the decrypted first information, the terminal can store the second FC value, the first character string, the length of the first character string, Counter EHPLMN , and Counter EHPLMN The length is used as the input parameter of KDF, and the K AUSF is used as the specified key of KDF to run KDF; the terminal can determine the lower 128 bits of the output result after running KDF as the integrity protection of the receiving confirmation information obtained MAC (may be expressed as EHPLMN-MAC-I UE , namely the second integrity verification information), and carry EHPLMN-MAC-I UE in the uplink NAS signaling (Uplink NAS Transport) message in response to the Downlink NASTransport message Send to the AMF network element; the AMF network element sends the EHPLMN-MAC-I UE to the UDM network element through the Nudm_SDM_Info message in response to the Nudm_SDM_Notification message; the UDM network element can communicate the EHPLMN-MAC-I UE with the local EHPLMN-XMAC-I UE In contrast, when the EHPLMN-MAC-I UE is equal to the EHPLMN-XMAC-I UE , the UDM network element may determine that the integrity check of the reception confirmation information passes, and the terminal completes the EHPLMN update. Here, the terminal calculates the EHPLMN-MAC-I UE in the same manner as the AUSF network element calculates the EHPLMN-XMAC-I UE , that is, the terminal calculates the parameters required for the EHPLMN-MAC-I UE and the AUSF network element The parameters required for meta-calculation of EHPLMN-XMAC-I UE are the same.
对应地,本申请实施例还提供了一种EHPLMN更新方法,应用于终端,如图2所示,所述方法包括以下步骤:Correspondingly, the embodiment of the present application also provides an EHPLMN update method, which is applied to a terminal, as shown in FIG. 2, and the method includes the following steps:
步骤201:终端接收网络设备发送的第一信息;Step 201: The terminal receives the first information sent by the network device;
这里,所述第一信息包含至少一个EHPLMN信息;所述第一信息不包含第二信息;所述第二信息包含所述终端中预先设置的EHPLMN信息;也就是说,所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息;Here, the first information includes at least one piece of EHPLMN information; the first information does not include second information; the second information includes EHPLMN information preset in the terminal; that is, the first information includes EHPLMN information updated relative to the EHPLMN information preset in the terminal;
步骤202:所述终端保存所述第一信息;并将所述第一信息和所述终端中预先设置(即运营商预先在所述终端中设置的)的EHPLMN信息共同作为更新后的EHPLMN信息。Step 202: The terminal saves the first information; and uses the first information and the EHPLMN information preset in the terminal (that is, the operator presets in the terminal) together as the updated EHPLMN information .
这里,所述第一信息和第二信息共同作为所述终端能够使用的EHPLMN信息,比如可以用于供所述终端判断当前登记的PLMN是否为漫游PLMN。Here, the first information and the second information together serve as the EHPLMN information that the terminal can use, for example, it can be used for the terminal to judge whether the currently registered PLMN is a roaming PLMN.
其中,所述第二信息即上述EHPLMN List;所述第一信息即上述AdditionalEHPLMN List。Wherein, the second information is the above-mentioned EHPLMN List; the first information is the above-mentioned AdditionalEHPLMN List.
这里,需要说明的是,所述终端为注册在所述网络设备对应的网络的任一终端。Here, it should be noted that the terminal is any terminal registered in the network corresponding to the network device.
在步骤201中,实际应用时,可以由所述终端的移动管理模块接收网络设备发送的第一信息。In
在步骤202中,实际应用时,可以由所述终端的移动管理模块将所述第一信息存入所述终端的NVM中,并利用所述第一信息和所述第二信息判断当前登记的PLMN是否为漫游PLMN;在确定当前登记的PLMN是漫游PLMN的情况下,所述移动管理模块可以指示所述终端的搜网模块离开当前的漫游PLMN,重回HPLMN。In
在步骤201中,实际应用时,所述终端接收网络设备发送的第一信息时,还可以接收所述网络设备发送的第三标识。具体地,所述终端可以判断从所述网络设备接收的信息中是否携带所述第三标识,在确定从所述网络设备接收的信息中携带所述第三标识的情况下,所述终端可以确定接收到所述网络设备发送的所述第一信息。当然,所述终端在确定从所述网络设备接收的信息中不携带所述第三标识的情况下,可以丢弃相应的从所述网络设备接收的信息,或不对从所述网络设备接收的信息进行处理。In
在一实施例中,所述终端接收网络设备发送的第一信息,可以包括:In an embodiment, the terminal receiving the first information sent by the network device may include:
所述终端通过NAS信令接收所述网络设备发送的第一信息。The terminal receives the first information sent by the network device through NAS signaling.
这里,在本申请的各种实施例中,所述网络设备和所述终端交互的所有信息都可以通过NAS信令进行传输。Here, in various embodiments of the present application, all information exchanged between the network device and the terminal may be transmitted through NAS signaling.
实际应用时,所述终端接收到NAS信令后,可以判断所述NAS信令的PayloadContainer Type域是否携带所述第三标识,在确定所述NAS信令携带所述第三标识的情况下,确定所述NAS信令携带所述第一信息,并可以从所述NAS信令中的Payload Container域获取所述第一信息。In actual application, after the terminal receives the NAS signaling, it may determine whether the PayloadContainer Type field of the NAS signaling carries the third identifier, and if it is determined that the NAS signaling carries the third identifier, It is determined that the NAS signaling carries the first information, and the first information may be obtained from a Payload Container field in the NAS signaling.
在一实施例中,所述终端接收网络设备发送的第一信息,可以包括:In an embodiment, the terminal receiving the first information sent by the network device may include:
所述终端接收所述网络设备发送的加密后的第一信息;The terminal receives the encrypted first information sent by the network device;
相应地,所述保存所述第一信息,可以包括:Correspondingly, the saving of the first information may include:
所述终端对所述加密后的第一信息进行解密处理,得到解密后的第一信息;The terminal decrypts the encrypted first information to obtain the decrypted first information;
保存所述解密后的第一信息。Save the decrypted first information.
实际应用时,所述终端可以在本地预先设置与所述网络设备相同的加密密钥,比如将所述第二信息设置为加密密钥流,即将所述第二信息作为密钥;即所述网络设备利用所述第二信息为所述第一信息加密,得到加密后的第一信息;所述终端利用所述第二信息作为密钥,对所述加密后的第一信息进行解密处理,得到解密后的第一信息。In practical applications, the terminal may preset the same encryption key as that of the network device locally, for example, setting the second information as an encryption key stream, that is, using the second information as a key; that is, the The network device encrypts the first information by using the second information to obtain encrypted first information; the terminal uses the second information as a key to decrypt the encrypted first information, The decrypted first information is obtained.
在一实施例中,所述加密后的第一信息进行了完整性保护,所述终端对所述加密后的第一信息进行解密处理,可以包括:In an embodiment, the encrypted first information is integrity-protected, and the terminal decrypts the encrypted first information, which may include:
所述终端对所述加密后的第一信息进行完整性检查;The terminal performs an integrity check on the encrypted first information;
所述加密后的第一信息的完整性检查通过后,所述终端对所述加密后的第一信息进行解密处理。After the integrity check of the encrypted first information passes, the terminal decrypts the encrypted first information.
实际应用时,为了对所述加密后的第一信息进行完整性检查,所述终端接收网络设备发送的第一信息时,还可以接收所述网络设备发送的第一完整性验证信息;所述第一完整性验证信息是所述网络设备对所述加密后的第一信息进行完整性保护后生成的,所述第一完整性验证信息用于供所述终端在接收到所述加密后的第一信息后,对所述加密后的第一信息进行完整性检查。因此,所述接收网络设备发送的第一信息,可以包括:所述终端接收所述网络设备发送的所述加密后的第一信息以及所述加密后的第一信息对应的第一完整性验证信息。In practical applications, in order to check the integrity of the encrypted first information, when the terminal receives the first information sent by the network device, it may also receive the first integrity verification information sent by the network device; The first integrity verification information is generated by the network device after performing integrity protection on the encrypted first information, and the first integrity verification information is used for the terminal to receive the encrypted first information After the first information, an integrity check is performed on the encrypted first information. Therefore, the receiving the first information sent by the network device may include: the terminal receiving the encrypted first information sent by the network device and the first integrity verification corresponding to the encrypted first information information.
在一实施例中,所述对所述加密后的第一信息进行完整性检查,可以包括:In an embodiment, the performing integrity check on the encrypted first information may include:
所述终端利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性检查;所述第一标识表征所述第一信息对应的版本。The terminal uses the length of the encrypted first information, the first identifier, and the length of the first identifier to perform an integrity check on the encrypted first information; the first identifier represents the first The version corresponding to the information.
实际应用时,在所述加密后的第一信息的完整性检查不通过的情况下,所述终端可以不作处理,等待所述网络设备重新发送所述第一信息;当然,所述终端也可以向所述网络设备发送EHPLMN更新请求消息以重新接受所述第一信息。In practical applications, if the integrity check of the encrypted first information fails, the terminal may not process it, and wait for the network device to resend the first information; of course, the terminal may also sending an EHPLMN update request message to the network device to accept the first information again.
在一实施例中,接收所述第一信息时,所述方法还可以包括:In an embodiment, when receiving the first information, the method may further include:
所述终端接收所述网络设备发送的所述第一标识;The terminal receives the first identifier sent by the network device;
相应地,所述保存所述第一信息,可以包括:Correspondingly, the saving of the first information may include:
在所述第一标识表征的版本高于第二标识表征的版本的情况下,所述终端利用所述第一信息更新本地存储的第三信息;所述第二标识表征所述终端本地存储的所述第三信息对应的版本;所述第三信息包含所述终端基于网络设备历史发送的信息更新的EHPLMN信息。When the version represented by the first identification is higher than the version represented by the second identification, the terminal uses the first information to update the locally stored third information; the second identification represents the locally stored third information of the terminal A version corresponding to the third information; the third information includes EHPLMN information updated by the terminal based on information sent by the network device in history.
实际应用时,所述第一标识和所述第一信息可以是所述终端通过同一个NAS信令接收的,即上述Downlink NAS Transport消息;所述第一标识即为上述CounterEHPLMN。In actual application, the first identifier and the first information may be received by the terminal through the same NAS signaling, that is, the above-mentioned Downlink NAS Transport message; the first identifier is the above-mentioned Counter EHPLMN .
具体地,在接收到所述第一信息后,为了验证所述第一信息是否是错误信息(比如所述第一信息包含的至少一个EHPLMN信息是所述终端已经更新过的EHPLMN信息),所述终端可以判断所述第一标识表征的版本是否高于所述第二标识表征的版本,并在所述第一标识表征的版本高于第二标识表征的版本的情况下,利用所述第一信息更新所述第三信息;同时,利用所述第一标识更新所述第二标识。当然,在所述第一标识表征的版本低于或等于第二标识表征的版本的情况下,所述终端可以舍弃所述第一信息。Specifically, after receiving the first information, in order to verify whether the first information is wrong information (for example, at least one piece of EHPLMN information contained in the first information is EHPLMN information that has been updated by the terminal), the The terminal may determine whether the version represented by the first logo is higher than the version represented by the second logo, and if the version represented by the first logo is higher than the version represented by the second logo, use the update the third information with one piece of information; and at the same time, update the second identifier with the first identifier. Of course, in the case that the version represented by the first identification is lower than or equal to the version represented by the second identification, the terminal may discard the first information.
实际应用时,当所述终端接收网络设备发送的第一信息时,还可以接收所述网络设备发送的接收确认指示信息;所述接收确认指示信息用于指示所述终端在保存所述第一信息后向所述网络设备发送接收确认信息。因此,响应于所述接收确认指示信息,所述终端在保存所述第一信息后,可以生成接收确认信息,并将生成的接收确认信息发送至所述网络设备,供所述网络设备确认所述终端完成了EHPLMN更新。当然,为了保证信息传输的完整性,所述终端可以对所述接收确认信息可以进行完整性保护,并生成进行了完整性保护的接收确认信息对应的第二完整性验证信息,将所述第二完整性验证消息和所述进行了完整性保护的接收确认信息一同发送至所述网络设备,供所述网络设备利用所述第二完整性验证消息对所述接收确认信息进行完整性验证。In practical applications, when the terminal receives the first information sent by the network device, it may also receive reception confirmation indication information sent by the network device; the reception confirmation indication information is used to indicate that the terminal is saving the first information. After receiving the information, the receiving confirmation information is sent to the network device. Therefore, in response to the receiving confirmation indication information, the terminal may generate receiving confirmation information after storing the first information, and send the generated receiving confirmation information to the network device for the network device to confirm the received The terminal has completed the EHPLMN update. Certainly, in order to ensure the integrity of information transmission, the terminal may perform integrity protection on the reception confirmation information, and generate second integrity verification information corresponding to the integrity-protected reception confirmation information, and convert the first The second integrity verification message and the integrity-protected reception confirmation information are sent to the network device together, so that the network device can use the second integrity verification message to perform integrity verification on the reception confirmation information.
本申请实施例提供的EHPLMN更新方法,网络设备检测到更新EHPLMN信息的事件;根据检测到的更新EHPLMN信息的事件,生成第一信息;并向终端发送生成的所述第一信息;而终端保存所述第一信息,并将所述第一信息和所述终端中预先设置的EHPLMN信息共同作为更新后的EHPLMN信息,所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息,使得终端无需主动搜集相应运营商更新的EHPLMN信息,而是由相应运营商的网络设备将更新的EHPLMN信息发送至终端,如此,终端能够实时、准确地更新EHPLMN信息。In the EHPLMN update method provided by the embodiment of the present application, the network device detects the event of updating the EHPLMN information; generates the first information according to the detected event of updating the EHPLMN information; and sends the generated first information to the terminal; and the terminal saves the The first information, using the first information and the preset EHPLMN information in the terminal together as the updated EHPLMN information, the first information includes information updated relative to the preset EHPLMN information in the terminal EHPLMN information, so that the terminal does not need to actively collect the updated EHPLMN information of the corresponding operator, but the network equipment of the corresponding operator sends the updated EHPLMN information to the terminal, so that the terminal can update EHPLMN information in real time and accurately.
下面结合应用实施例对本申请再作进一步详细的描述。The present application will be further described in detail below in conjunction with application examples.
本应用实施例提出一种由网络侧(即上述网络设备)主动发起的动态更新Additional EHPLMN List(即上述第一信息)给终端的机制,网络侧利用现有5G网络的安全架构以及已有的5G NAS Transport流程来实现Additional EHPLMN List的更新,并充分利用当前5G网络的安全网元功能,通过UDM网元和AUSF网元共同协作对Additional EHPLMNList进行安全性保护。具体地,终端注册上新空口(NR,New Radio)网络后,当UDM网元检测到所述终端中预先存储的EHPLMN List(即上述第二信息)需要扩充时,也就是说,当UDM网元通过相应运营商的管理员更新EHPLMN List的事件确定需要为所述终端提供AdditionalEHPLMN List时,UDM网元对Additional EHPLMN List进行加密,并由AUSF网元对加密后的Additional EHPLMN List进行完整性保护,最后由AMF网元将被加密并进行了完整性保护的Additional EHPLMN List通过DL(Downlink)NAS Transport流程下发给终端。终端的移动管理模块收到DL NAS Transport信息,对Additional EHPLMN List信息进行完整性检查和解密,并将解密后的Additional EHPLMN List存入终端的NVM中;Additional EHPLMNList与USIM卡中的EHPLMN List共同组成EHPLMN List,用于供所述移动管理模块指导所述终端的搜网模块离开当前的Roaming PLMN重回HPLMN。This application embodiment proposes a mechanism for dynamically updating the Additional EHPLMN List (that is, the first information above) initiated by the network side (that is, the above-mentioned network device) to the terminal. The network side utilizes the security architecture of the existing 5G network and the existing The 5G NAS Transport process is used to update the Additional EHPLMN List, and the security network element function of the current 5G network is fully utilized to protect the security of the Additional EHPLMN List through the cooperation of UDM network elements and AUSF network elements. Specifically, after the terminal registers on the New Radio (NR, New Radio) network, when the UDM network element detects that the pre-stored EHPLMN List (that is, the above-mentioned second information) in the terminal needs to be expanded, that is, when the UDM network When it is determined that an AdditionalEHPLMN List needs to be provided for the terminal through the event that the administrator of the corresponding operator updates the EHPLMN List, the UDM network element encrypts the Additional EHPLMN List, and the AUSF network element performs integrity protection on the encrypted Additional EHPLMN List , and finally the AMF network element sends the encrypted and integrity-protected Additional EHPLMN List to the terminal through the DL (Downlink) NAS Transport process. The mobile management module of the terminal receives the DL NAS Transport information, performs integrity check and decryption on the Additional EHPLMN List information, and stores the decrypted Additional EHPLMN List in the NVM of the terminal; the Additional EHPLMNList is composed of the EHPLMN List in the USIM card The EHPLMN List is used for the mobility management module to guide the network search module of the terminal to leave the current Roaming PLMN and return to the HPLMN.
本应用实施例提供的EHPLMN更新方法,如图3所示,具体可以包括以下步骤:The EHPLMN update method provided by this application embodiment, as shown in Figure 3, may specifically include the following steps:
步骤301:终端注册在NR网络上;之后执行步骤302。Step 301: The terminal is registered on the NR network; then step 302 is executed.
步骤302:UDM网元检测到当前的EHPLMN List不足,需要更新EHPLMN,并产生Additional EHPLMN List;之后执行步骤303。Step 302: The UDM network element detects that the current EHPLMN List is insufficient, and needs to update the EHPLMN, and generate an Additional EHPLMN List; then execute step 303.
具体地,UDM网元检测到更新EHPLMN List的事件,确定需要向终端发送Additional EHPLMN List,并根据更新EHPLMN List的事件生成Additional EHPLMN List。Specifically, the UDM network element detects an event of updating the EHPLMN List, determines that an Additional EHPLMN List needs to be sent to the terminal, and generates an Additional EHPLMN List according to the event of updating the EHPLMN List.
步骤303:UDM网元和AUSF网元对Additional EHPLMN List进行安全保护;之后执行步骤304。Step 303: The UDM network element and the AUSF network element perform security protection on the Additional EHPLMN List; then step 304 is executed.
这里,对Additional EHPLMN List进行安全保护可以包括对Additional EHPLMNList进行加密以及对Additional EHPLMN List进行完整性保护;具体地,执行步骤303的过程可以包括以下步骤:Here, performing security protection on the Additional EHPLMN List may include encrypting the Additional EHPLMNList and performing integrity protection on the Additional EHPLMN List; specifically, the process of performing step 303 may include the following steps:
步骤3031:UDM网元对Additional EHPLMN List进行加密;之后执行步骤3032。Step 3031: The UDM network element encrypts the Additional EHPLMN List; then execute step 3032.
具体地,考虑到所述终端的USIM卡的EFEHPLMN内容(即EHPLMN List)只有所述终端和UDM网元能够获知。所以可以将EHPLMN List设计成加密密钥流,UDM网元通过图4所示的流程来完成对Additional EHPLMN List的简单加密,即对EHPLMN List与AdditionalEHPLMN List的明文(即未加密的Additional EHPLMN List)进行异或操作,所述异或操作得出的内容即为加密后的Additional EHPLMN List。Specifically, only the terminal and the UDM network element can know the EF EHPLMN content (that is, the EHPLMN List) of the USIM card of the terminal. Therefore, the EHPLMN List can be designed as an encryption key stream, and the UDM network element completes the simple encryption of the Additional EHPLMN List through the process shown in Figure 4, that is, the plaintext of the EHPLMN List and the AdditionalEHPLMN List (that is, the unencrypted Additional EHPLMN List) Perform an XOR operation, and the content obtained by the XOR operation is the encrypted Additional EHPLMN List.
步骤3032:UDM网元完成信息加密后,发送Nausf_AddEHPLMN_Protection消息给AUSF网元,请求AUSF网元对加密后的Additional EHPLMN List进行信息完整性保护;之后执行步骤3033。Step 3032: After the UDM network element completes the information encryption, it sends a Nausf_AddEHPLMN_Protection message to the AUSF network element, requesting the AUSF network element to perform information integrity protection on the encrypted Additional EHPLMN List; then execute step 3033.
这里,Nausf_AddEHPLMN_Protection消息中包含加密后的Additional EHPLMNList以及ACK Indication,ACK Indication表明需要AUSF网元计算EHPLMN-XMAC-IUE,EHPLMN-XMAC-IUE用于供UDM网元在本地进行保存,并在后续收到所述终端发送的确收消息(Acknowledgment)时,对所述确收消息进行完整性检查。Here, the Nausf_AddEHPLMN_Protection message contains the encrypted Additional EHPLMNList and ACK Indication. The ACK Indication indicates that the AUSF network element needs to calculate EHPLMN-XMAC-I UE . When receiving an acknowledgment message (Acknowledgment) sent by the terminal, an integrity check is performed on the acknowledgment message.
步骤3033:AUSF网元完成对加密后的Additional EHPLMN List的完整性保护后返回Nausf_AddEHPLMN_Protection_Rsp消息给UDM网元;之后执行步骤304。Step 3033: The AUSF network element returns the Nausf_AddEHPLMN_Protection_Rsp message to the UDM network element after completing the integrity protection of the encrypted Additional EHPLMN List; and then executes
这里,Nausf_AddEHPLMN_Protection_Rsp消息中包含EHPLMN-MAC-IAUSF、EHPLMN-XMAC-IUE以及CounterEHPLMN。Here, the Nausf_AddEHPLMN_Protection_Rsp message includes EHPLMN-MAC-I AUSF , EHPLMN-XMAC-I UE and Counter EHPLMN .
具体地,AUSF网元对加密后的Additional EHPLMN List进行完整性保护的过程可以包括以下两个步骤:Specifically, the process for the AUSF network element to perform integrity protection on the encrypted Additional EHPLMN List may include the following two steps:
步骤1:AUSF网元生成用于完整性保护的CounterEHPLMN(即上述第一标识),CounterEHPLMN的初始值(即所述第一值)可以为0x00 0x01,完成一次Nausf_AddEHPLMN_Protection_Rsp消息生成之后,CounterEHPLMN值加1。Step 1: The AUSF network element generates the Counter EHPLMN (ie, the above-mentioned first identifier) for integrity protection, and the initial value of the Counter EHPLMN (ie, the first value) can be 0x00 0x01. After completing the generation of a Nausf_AddEHPLMN_Protection_Rsp message, the Counter EHPLMN value plus 1.
步骤2:AUSF网元将0x80(即上述第一FC值)作为KDF的输入参数FC、将加密后的Additional EHPLMN List作为KDF的输入参数P0、将加密后的Additional EHPLMN List的长度作为KDF的输入参数L0、将CounterEHPLMN作为KDF的输入参数P1、并将CounterEHPLMN的长度作为KDF的输入参数L1,将KAUSF作为KDF的指定密钥key,执行KDF;执行KDF后的输出结果的低128bit即为对加密后的Additional EHPLMN List进行完整性保护后得到的EHPLMN-MAC-IAUSF。Step 2: The AUSF network element uses 0x80 (that is, the first FC value above) as the input parameter FC of KDF, the encrypted Additional EHPLMN List as the input parameter P0 of KDF, and the length of the encrypted Additional EHPLMN List as the input of KDF Parameter L0, use Counter EHPLMN as the input parameter P1 of KDF, and use the length of Counter EHPLMN as the input parameter L1 of KDF, use K AUSF as the specified key key of KDF, and execute KDF; the lower 128 bits of the output result after executing KDF are It is the EHPLMN-MAC-I AUSF obtained after performing integrity protection on the encrypted Additional EHPLMN List.
同时,AUSF网元将0x81(即上述第二FC值)作为KDF的输入参数FC、将字符串“0x01(“Additional EHPLMN List”Acknowledgement)”(即上述第一字符串)作为KDF的输入参数P0、将字符串的长度作为KDF的输入参数L0、将CounterEHPLMN作为KDF的输入参数P1、并将CounterEHPLMN的长度作为KDF的输入参数L1,将KAUSF作为KDF的指定密钥key,执行KDF;执行KDF后的输出结果的低128bit即为EHPLMN-XMAC-IUE。At the same time, the AUSF network element uses 0x81 (that is, the above-mentioned second FC value) as the input parameter FC of KDF, and uses the string "0x01 ("Additional EHPLMN List"Acknowledgment)" (that is, the above-mentioned first string) as the input parameter P0 of KDF , use the length of the character string as the input parameter L0 of KDF, use Counter EHPLMN as the input parameter P1 of KDF, and use the length of Counter EHPLMN as the input parameter L1 of KDF, use K AUSF as the specified key key of KDF, and execute KDF; The lower 128 bits of the output result after executing KDF is EHPLMN-XMAC-I UE .
步骤304:UDM网元向AMF网元发送Nudm_SDM_Notification消息;之后执行步骤305。Step 304: The UDM network element sends a Nudm_SDM_Notification message to the AMF network element; then step 305 is executed.
这里,Nudm_SDM_Notification消息包含加密后的Additional EHPLMN List、EHPLMN-MAC-IAUSF以及CounterEHPLMN。Here, the Nudm_SDM_Notification message includes the encrypted Additional EHPLMN List, EHPLMN-MAC-I AUSF and Counter EHPLMN .
步骤305:AMF网元收到UDM网元发送的Nudm_SDM_Notification消息后,向终所述端发送DL NAS Transport消息;之后执行步骤306。Step 305: After receiving the Nudm_SDM_Notification message sent by the UDM network element, the AMF network element sends a DL NAS Transport message to the terminal; and then executes step 306.
这里,DL NAS Transport消息的Payload Container Type域可以设置为9(即上述第三标识);DL NAS Transport消息的Payload Container域可以包含加密后的AdditionalEHPLMN List、ACK Indication(即上述接收确认指示信息)、EHPLMN-MAC-IAUSF(即上述第一完整性验证信息)以及CounterEHPLMN(即上述第一标识)。Here, the Payload Container Type field of the DL NAS Transport message can be set to 9 (that is, the third identifier above); the Payload Container field of the DL NAS Transport message can include the encrypted AdditionalEHPLMN List, ACK Indication (that is, the above-mentioned reception confirmation indication information), EHPLMN-MAC-I AUSF (that is, the above-mentioned first integrity verification information) and Counter EHPLMN (that is, the above-mentioned first identifier).
步骤306:所述终端的移动管理模块接收到来自AMF网元的DL NAS Transport消息后,检测到DL NAS Transport消息的Payload Container Type域为9时,指示所述终端的安全模块对Payload Container域中的加密后的Additional EHPLMN List进行安全性检查;之后执行步骤307。Step 306: After receiving the DL NAS Transport message from the AMF network element, the mobile management module of the terminal detects that the Payload Container Type field of the DL NAS Transport message is 9, and instructs the security module of the terminal to check the DL NAS Transport message in the Payload Container field. The encrypted Additional EHPLMN List is checked for safety; then step 307 is executed.
这里,对加密后的Additional EHPLMN List进行安全性检查可以包括对加密后的Additional EHPLMN List进行完整性检查以及对加密后的Additional EHPLMN List进行解密;具体地,执行步骤306的过程可以包括以下步骤:Here, performing a security check on the encrypted Additional EHPLMN List may include performing an integrity check on the encrypted Additional EHPLMN List and decrypting the encrypted Additional EHPLMN List; specifically, the process of performing step 306 may include the following steps:
步骤3061:所述终端对加密后的Additional EHPLMN List进行完整性检查;之后执行步骤3062。Step 3061: The terminal checks the integrity of the encrypted Additional EHPLMN List; then executes step 3062.
这里,所述终端利用和AUSF网元计算EHPLMN-MAC-IAUSF的相同的方式计算EHPLMN-XMAC-IAUSF值,并将EHPLMN-MAC-IAUSF与EHPLMN-XMAC-IAUSF进行比较,若相等,则完整性检查通过;也就是说,所述终端利用和AUSF网元计算EHPLMN-MAC-IAUSF时相同的KDF的输入参数FC、P0、L0、P1、L1和相同的key计算EHPLMN-XMAC-IAUSF值。具体地,所述终端将0x80作为KDF的输入参数FC、将DL NAS Transport消息的Payload Container域中包含的加密后的Additional EHPLMN List作为KDF的输入参数P0、将加密后的Additional EHPLMN List的长度作为KDF的输入参数L0、将DL NAS Transport消息的Payload Container域中包含的CounterEHPLMN作为KDF的输入参数P1、并将CounterEHPLMN的长度作为KDF的输入参数L1,将KAUSF作为KDF的指定密钥key,执行KDF;执行KDF后的输出结果的低128bit即为对加密后的Additional EHPLMN List进行完整性检查后得到的EHPLMN-XMAC-IAUSF。Here, the terminal calculates the EHPLMN-XMAC-I AUSF value in the same way as the AUSF network element calculates the EHPLMN-MAC-I AUSF , and compares the EHPLMN-MAC-I AUSF with the EHPLMN-XMAC-I AUSF , if they are equal , the integrity check is passed; that is, the terminal uses the same KDF input parameters FC, P0, L0, P1, L1 and the same key to calculate EHPLMN-XMAC when the AUSF network element calculates EHPLMN-MAC-I AUSF -I AUSF value. Specifically, the terminal uses 0x80 as the input parameter FC of the KDF, uses the encrypted Additional EHPLMN List contained in the Payload Container field of the DL NAS Transport message as the input parameter P0 of the KDF, and uses the length of the encrypted Additional EHPLMN List as The input parameter L0 of KDF, the Counter EHPLMN contained in the Payload Container field of the DL NAS Transport message is used as the input parameter P1 of KDF, the length of Counter EHPLMN is used as the input parameter L1 of KDF, and K AUSF is used as the designated key key of KDF , execute KDF; the lower 128 bits of the output result after executing KDF is the EHPLMN-XMAC-I AUSF obtained after integrity checking of the encrypted Additional EHPLMN List.
步骤3062:加密后的Additional EHPLMN List的完整性检查通过后,所述终端利用和UDM网元对Additional EHPLMN List进行加密的同样的方式,对加密后的AdditionalEHPLMN List进行解密,解密后得到的Additional EHPLMN List明文(即上述解密后的第一信息);之后执行步骤307。Step 3062: After the integrity check of the encrypted Additional EHPLMN List is passed, the terminal decrypts the encrypted Additional EHPLMN List in the same way as the UDM network element encrypts the Additional EHPLMN List, and the obtained Additional EHPLMN List plaintext (that is, the above-mentioned decrypted first information); then execute
具体地,所述终端将EHPLMN List视为密钥流,通过图5所示的流程对EHPLMN List与加密后的Additional EHPLMN List进行异或操作,所述异或操作得出的内容即为Additional EHPLMN List明文的内容。Specifically, the terminal regards the EHPLMN List as a key stream, and performs an exclusive OR operation on the EHPLMN List and the encrypted Additional EHPLMN List through the process shown in Figure 5, and the content obtained by the exclusive OR operation is the Additional EHPLMN List plaintext content.
步骤307:所述终端的安全模块对加密后的Additional EHPLMN List的安全性检查通过后,计算EHPLMN-MAC-IUE,并将EHPLMN-MAC-IUE包含在UL NAS Transport消息中发送至AMF网元;之后执行步骤308。Step 307: After the security module of the terminal passes the security check of the encrypted Additional EHPLMN List, calculate EHPLMN-MAC-I UE , and include EHPLMN-MAC-I UE in the UL NAS Transport message and send it to the AMF network element; then execute step 308.
这里,UL NAS Transport消息是DL NAS Transport消息的Acknowledgement。具体地,得到Additional EHPLMN List的明文后,所述终端为了响应之前收到的DL NASTransport消息,需要利用和AUSF网元计算EHPLMN-XMAC-IUE时相同的KDF的输入参数FC、P0、L0、P1、L1和相同的key计算EHPLMN-MAC-IUE。Here, the UL NAS Transport message is an Acknowledgment of the DL NAS Transport message. Specifically, after obtaining the plain text of the Additional EHPLMN List, in order to respond to the previously received DL NASTransport message, the terminal needs to use the same KDF input parameters FC, P0, L0, P1, L1 and the same key calculate EHPLMN-MAC-I UE .
步骤308:AMF网元将从所述终端接收的DL NAS Transport消息中的EHPLMN-MAC-IUE(即上述第二完整性验证信息)通过Nudm_SDM_Info消息发送至UDM网元;之后执行步骤309。Step 308: The AMF network element sends the EHPLMN-MAC-I UE (that is, the above-mentioned second integrity verification information) in the DL NAS Transport message received from the terminal to the UDM network element through the Nudm_SDM_Info message; then execute step 309.
步骤309:UDM网元通过比较EHPLMN-MAC-IUE是否与之前保存的EHPLMN-XMAC-IUE相同,对终端的Acknowledgement进行完整性检查,若EHPLMN-MAC-IUE与EHPLMN-XMAC-IUE相同,则所述终端的Acknowledgement的完整性检查通过。Step 309: The UDM network element checks the integrity of the Acknowledgment of the terminal by comparing whether the EHPLMN -MAC-I UE is the same as the previously saved EHPLMN-XMAC-I UE . If they are the same, the integrity check of the Acknowledgment of the terminal passes.
这里,本应用实施例提供的EHPLMN更新方法的具体实现过程与图1所示的EHPLMN更新方法以及图2所示的EHPLMN更新方法的具体实现过程相同,这里不多赘述。Here, the specific implementation process of the EHPLMN update method provided in this application embodiment is the same as the specific implementation process of the EHPLMN update method shown in FIG. 1 and the EHPLMN update method shown in FIG. 2 , and will not be repeated here.
当运营商对网络进行升级换代改造时,需要在相应终端当前的USIM卡的EHPLMNList的基础上增加Additional EHPLMN List;如果由终端对Additional EHPLMN List进行搜集,搜集难度大;并且,由于搜集的Additional EHPLMN List可能不准确,终端很难与运营商同步更新Additional EHPLMN List。而采用本申请实施例提供的EHPLMN更新方法,由网络侧发起Additional EHPLMN List的更新动作,充分利用5G的安全架构和信令流程,确保Additional EHPLMN List在传输过程中的安全性和完整性,最终能够将AdditionalEHPLMN List实时、安全地更新至终端侧。When the operator upgrades the network, it needs to add the Additional EHPLMN List on the basis of the EHPLMNList of the current USIM card of the corresponding terminal; if the terminal collects the Additional EHPLMN List, it is very difficult to collect; and, because the collected Additional EHPLMN The List may be inaccurate, and it is difficult for the terminal to update the Additional EHPLMN List synchronously with the operator. However, using the EHPLMN update method provided by the embodiment of this application, the network side initiates the update action of the Additional EHPLMN List, making full use of the 5G security architecture and signaling process to ensure the security and integrity of the Additional EHPLMN List during transmission, and finally The AdditionalEHPLMN List can be updated to the terminal side in real time and safely.
因此,本应用实施例提供的EHPLMN更新方法,具备以下优点:Therefore, the EHPLMN update method provided in this application embodiment has the following advantages:
第一,EHPLMN的更新具备实时性和准确性;由于运营商的网络侧能够提供准确度最高的Additional EHPLMN List,所以由网络侧发起EHPLMN的更新是最实时准确的;这样,能够克服终端搜集Additional EHPLMN List困难、EHPLMN更新不及时(例如EHPLMN更新滞后)的问题,确保终端得到的Additional EHPLMN List总是相应运营商(即所述终端对应的服务运营商)的最新的EHPLMN信息。First, the update of EHPLMN is real-time and accurate; since the network side of the operator can provide the most accurate Additional EHPLMN List, it is the most real-time and accurate to initiate the update of EHPLMN by the network side; EHPLMN List is difficult, EHPLMN update is not timely (for example, EHPLMN update lag), ensure that the Additional EHPLMN List obtained by the terminal is always the latest EHPLMN information of the corresponding operator (that is, the service operator corresponding to the terminal).
第二,充分利用当前5G网络已有的安全架构和信令流程,在对现有5G网络设备和终端的改动尽量做到最小的前提下(即在控制成本的前提下),在信息传输过程中保证了Additional EHPLMN List的完整性与保密性(即安全性),最终将Additional EHPLMN List实时、安全地更新至终端侧。Second, make full use of the existing security architecture and signaling process of the current 5G network. Under the premise of minimizing changes to existing 5G network equipment and terminals (that is, under the premise of controlling costs), the information transmission process Integrity and confidentiality (that is, security) of the Additional EHPLMN List are guaranteed, and finally the Additional EHPLMN List is updated to the terminal side in real time and safely.
为了实现本申请实施例终端侧的方法,本申请实施例还提供了一种EHPLMN更新装置,设置在终端上,如图6所示,所述EHPLMN更新装置包括:接收单元61和第一处理单元62;其中,In order to implement the method on the terminal side of the embodiment of the present application, the embodiment of the present application also provides an EHPLMN update device, which is set on the terminal, as shown in Figure 6, the EHPLMN update device includes: a receiving
所述接收单元61,用于接收网络设备发送的第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息;The receiving
所述第一处理单元62,用于保存所述第一信息;将所述第一信息和所述终端中预先设置的EHPLMN信息共同作为更新后的EHPLMN信息。The
在一实施例中,所述接收单元61具体用于通过NAS信令接收所述网络设备发送的第一信息。In an embodiment, the receiving
在一实施例中,所述接收单元61还用于:In an embodiment, the receiving
接收所述网络设备发送的加密后的第一信息;receiving the encrypted first information sent by the network device;
相应地,所述第一处理单元62还用于:Correspondingly, the
对所述加密后的第一信息进行解密处理,得到解密后的第一信息;Decrypting the encrypted first information to obtain the decrypted first information;
保存所述解密后的第一信息。Save the decrypted first information.
在一实施例中,所述第一处理单元62还用于:In an embodiment, the
利用第二信息作为密钥,对所述加密后的第一信息进行解密处理;所述第二信息包含所述终端中预先设置的EHPLMN信息。Deciphering the encrypted first information by using the second information as a key; the second information includes EHPLMN information preset in the terminal.
在一实施例中,所述第一处理单元62还用于:In an embodiment, the
对所述加密后的第一信息进行完整性检查;performing an integrity check on the encrypted first information;
所述加密后的第一信息的完整性检查通过后,对所述加密后的第一信息进行解密处理。After the integrity check of the encrypted first information passes, the encrypted first information is decrypted.
在一实施例中,所述第一处理单元62还用于:In an embodiment, the
利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性检查;所述第一标识表征所述第一信息对应的版本。Perform an integrity check on the encrypted first information by using the length of the encrypted first information, the first identifier, and the length of the first identifier; the first identifier indicates that the first information corresponds to Version.
在一实施例中,所述接收单元61还用于接收所述网络设备发送的第一标识;所述第一标识表征所述第一信息对应的版本;In an embodiment, the receiving
所述第一处理单元62还用于:The
在所述第一标识表征的版本高于第二标识表征的版本的情况下,所述终端利用所述第一信息更新本地存储的第三信息;所述第二标识表征所述终端本地存储的所述第三信息对应的版本;所述第三信息包含所述终端基于网络设备历史发送的信息更新的EHPLMN信息。When the version represented by the first identification is higher than the version represented by the second identification, the terminal uses the first information to update the locally stored third information; the second identification represents the locally stored third information of the terminal A version corresponding to the third information; the third information includes EHPLMN information updated by the terminal based on information sent by the network device in history.
这里,所述接收单元61和所述第一处理单元62的功能可以相当于本申请应用实施例中终端的移动管理模块和安全模块的功能。Here, the functions of the receiving
实际应用时,所述接收单元61可由所述更新EHPLMN装置中的通信接口实现;所述第一处理单元62可由所述更新EHPLMN装置中的处理器实现。In actual application, the receiving
需要说明的是:上述实施例提供的EHPLMN更新装置在更新EHPLMN时,仅以上述各程序模块的划分进行举例说明,实际应用时,可以根据需要而将上述处理分配由不同的程序模块完成,即将EHPLMN更新装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的EHPLMN更新装置与终端侧的EHPLMN更新方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the EHPLMN update device provided by the above-mentioned embodiment updates the EHPLMN, it only uses the division of the above-mentioned program modules for illustration. The internal structure of the EHPLMN update device is divided into different program modules to complete all or part of the processing described above. In addition, the EHPLMN update device provided in the above embodiment is based on the same idea as the terminal-side EHPLMN update method embodiment, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
为了实现本申请实施例网络设备侧的方法,本申请实施例还提供了一种EHPLMN更新装置,设置在网络设备上,如图7所示,所述EHPLMN更新装置包括:检测单元71、第二处理单元72和发送单元73;其中,In order to implement the method on the network device side of the embodiment of the present application, the embodiment of the present application also provides an EHPLMN update device, which is set on the network device. As shown in FIG. 7, the EHPLMN update device includes: a
所述检测单元71,用于检测更新EHPLMN信息的事件;The
所述第二处理单元72,用于根据检测到的更新EHPLMN信息的事件,生成第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于终端中预先设置的EHPLMN信息更新的EHPLMN信息;The
所述发送单元73,用于向所述终端发送生成的所述第一信息。The sending
在一实施例中,所述第二处理单元72具体用于:In an embodiment, the
根据所述检测到的更新EHPLMN信息的事件,确定第四信息;所述第四信息包含执行了所述更新EHPLMN信息的事件对应的操作之后的全部EHPLMN信息;所述第四信息包含所述第二信息,所述第二信息包含所述终端中预先设置的EHPLMN信息;According to the detected event of updating EHPLMN information, determine fourth information; the fourth information includes all EHPLMN information after performing the operation corresponding to the event of updating EHPLMN information; the fourth information includes the first Two information, the second information includes EHPLMN information preset in the terminal;
将所述第四信息中的所述第二信息去除,得到所述第一信息。removing the second information from the fourth information to obtain the first information.
在一实施例中,所述发送单元73具体用于通过NAS信令向所述终端发送所述第一信息。In an embodiment, the sending
在一实施例中,所述第二处理单元72还用于对所述第一信息进行加密处理,得到加密后的第一信息;In an embodiment, the
所述发送单元73还用于向所述终端发送所述加密后的第一信息。The sending
在一实施例中,所述第二处理单元72还用于:In an embodiment, the
利用所述第二信息作为密钥,对所述第一信息进行加密处理。Encrypting the first information by using the second information as a key.
在一实施例中,所述第二处理单元72还用于对所述加密后的第一信息进行完整性保护;In an embodiment, the
所述发送单元73还用于向所述终端发送进行了完整性保护的所述加密后的第一信息。The sending
在一实施例中,所述第二处理单元72还用于:In an embodiment, the
利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性保护;所述第一标识表征所述第一信息对应的版本。Integrity protection of the encrypted first information is performed using the length of the encrypted first information, the first identifier, and the length of the first identifier; the first identifier indicates that the first information corresponds to Version.
在一实施例中,向终端发送生成的所述第一信息时,所述发送单元73,还用于:In an embodiment, when sending the generated first information to the terminal, the sending
向所述终端发送第一标识;所述第一标识表征所述第一信息对应的版本。Sending a first identifier to the terminal; the first identifier represents a version corresponding to the first information.
实际应用时,所述检测单元71和所述第二处理单元72可由所述EHPLMN更新装置中的处理器实现;所述发送单元73可由所述更新EHPLMN装置中的通信接口实现。In practical application, the
需要说明的是:上述实施例提供的EHPLMN更新装置在更新EHPLMN时,仅以上述各程序模块的划分进行举例说明,实际应用时,可以根据需要而将上述处理分配由不同的程序模块完成,即将EHPLMN更新装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的EHPLMN更新装置与网络设备侧的EHPLMN更新方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the EHPLMN update device provided by the above-mentioned embodiment updates the EHPLMN, it only uses the division of the above-mentioned program modules for illustration. The internal structure of the EHPLMN update device is divided into different program modules to complete all or part of the processing described above. In addition, the EHPLMN updating apparatus provided in the above embodiments and the EHPLMN updating method embodiments on the network device side belong to the same idea, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
为了实现本申请实施例终端侧或网络设备侧的方法,本申请实施例还提供了一种芯片,如图8所示,芯片80包括:In order to implement the method on the terminal side or the network device side of the embodiment of the present application, the embodiment of the present application also provides a chip. As shown in FIG. 8 , the
接口81,用于和存储器进行信息交互;
处理器82,与所述接口81连接,以实现与所述存储器进行信息交互,用于通过所述接口81读取所述存储器存储的计算机程序,并在运行计算机程序时,执行上述终端侧或网络设备侧一个或多个技术方案提供的方法。The
实际应用时,如图8所示,所述芯片80还可以包括存储器83,所述存储器83用于存储各种类型的数据以支持芯片80的操作。这些数据的示例包括:用于在芯片80上操作的任何计算机程序。In actual application, as shown in FIG. 8 , the
当然,研发人员也可以根据芯片设计需求,不在所述芯片80中设置存储器,由所述芯片80所处通信设备(比如终端或网络设备)的存储器存储能够在所述处理器82上运行的计算机程序。Certainly, the research and development personnel also can not arrange memory in described
具体地,在所述芯片80用于实现本申请实施例终端侧的方法时,所述处理器82用于执行以下操作:Specifically, when the
接收网络设备发送的第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息;Receiving first information sent by a network device; the first information includes at least one piece of EHPLMN information; the first information includes EHPLMN information updated relative to the preset EHPLMN information in the terminal;
保存所述第一信息;将所述第一信息和所述终端中预先设置的EHPLMN信息共同作为更新后的EHPLMN信息。saving the first information; using the first information and the preset EHPLMN information in the terminal together as updated EHPLMN information.
在一实施例中,所述处理器82,还用于通过NAS信令接收所述网络设备发送的第一信息。In an embodiment, the
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
接收所述网络设备发送的加密后的第一信息;receiving the encrypted first information sent by the network device;
对所述加密后的第一信息进行解密处理,得到解密后的第一信息;Decrypting the encrypted first information to obtain the decrypted first information;
保存所述解密后的第一信息。Save the decrypted first information.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
利用第二信息作为密钥,对所述加密后的第一信息进行解密处理;所述第二信息包含所述终端中预先设置的EHPLMN信息。Deciphering the encrypted first information by using the second information as a key; the second information includes EHPLMN information preset in the terminal.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
对所述加密后的第一信息进行完整性检查;performing an integrity check on the encrypted first information;
所述加密后的第一信息的完整性检查通过后,对所述加密后的第一信息进行解密处理。After the integrity check of the encrypted first information passes, the encrypted first information is decrypted.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性检查;所述第一标识表征所述第一信息对应的版本。Perform an integrity check on the encrypted first information by using the length of the encrypted first information, the first identifier, and the length of the first identifier; the first identifier indicates that the first information corresponds to Version.
在一实施例中,接收所述第一信息时,所述处理器82,还用于执行以下操作:In an embodiment, when receiving the first information, the
接收所述网络设备发送的第一标识;所述第一标识表征所述第一信息对应的版本;receiving a first identifier sent by the network device; the first identifier represents a version corresponding to the first information;
在所述第一标识表征的版本高于第二标识表征的版本的情况下,所述终端利用所述第一信息更新本地存储的第三信息;所述第二标识表征所述终端本地存储的所述第三信息对应的版本;所述第三信息包含所述终端基于网络设备历史发送的信息更新的EHPLMN信息。When the version represented by the first identification is higher than the version represented by the second identification, the terminal uses the first information to update the locally stored third information; the second identification represents the locally stored third information of the terminal A version corresponding to the third information; the third information includes EHPLMN information updated by the terminal based on information sent by the network device in history.
在所述芯片80用于实现本申请实施例网络设备侧的方法时,所述处理器82具体用于执行以下操作:When the
检测到更新EHPLMN信息的事件;An event to update EHPLMN information is detected;
根据检测到的更新EHPLMN信息的事件,生成第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于终端中预先设置的EHPLMN信息更新的EHPLMN信息;Generate first information according to the detected event of updating EHPLMN information; the first information includes at least one piece of EHPLMN information; the first information includes EHPLMN information updated relative to the preset EHPLMN information in the terminal;
向所述终端发送生成的所述第一信息。Send the generated first information to the terminal.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
根据所述检测到的更新EHPLMN信息的事件,确定第四信息;所述第四信息包含执行了所述更新EHPLMN信息的事件对应的操作之后的全部EHPLMN信息;Determine fourth information according to the detected event of updating EHPLMN information; the fourth information includes all EHPLMN information after performing the operation corresponding to the event of updating EHPLMN information;
将所述第四信息中所述终端预先设置的EHPLMN信息去除,得到所述第一信息。The first information is obtained by removing the EHPLMN information preset by the terminal in the fourth information.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
通过NAS信令向所述终端发送所述第一信息。sending the first information to the terminal through NAS signaling.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
对所述第一信息进行加密处理,得到加密后的第一信息;Encrypting the first information to obtain encrypted first information;
向所述终端发送所述加密后的第一信息。sending the encrypted first information to the terminal.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
利用第二信息作为密钥,对所述第一信息进行加密处理;所述第二信息包含所述终端中预先设置的EHPLMN信息。Encrypting the first information by using the second information as a key; the second information includes EHPLMN information preset in the terminal.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
对所述加密后的第一信息进行完整性保护;performing integrity protection on the encrypted first information;
向所述终端发送进行了完整性保护的所述加密后的第一信息。sending the encrypted first information with integrity protection to the terminal.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性保护;所述第一标识表征所述第一信息对应的版本。Integrity protection of the encrypted first information is performed using the length of the encrypted first information, the first identifier, and the length of the first identifier; the first identifier indicates that the first information corresponds to Version.
在一实施例中,所述处理器82,还用于执行以下操作:In one embodiment, the
向所述终端发送第一标识;所述第一标识表征所述第一信息对应的版本。Sending a first identifier to the terminal; the first identifier represents a version corresponding to the first information.
需要说明的是:所述处理器82具体执行上述操作的过程详见本申请终端侧的方法实施例以及网络设备侧的方法实施例,这里不再赘述。It should be noted that: for the specific process of the
基于上述程序模块的硬件实现,且为了实现本申请实施例终端侧或网络设备侧的方法,本申请实施例还提供了一种通信设备,所述通信设备可以是终端或网络设备,如图9所示,所述通信设备90包括:Based on the hardware implementation of the above program modules, and in order to implement the method on the terminal side or the network device side of the embodiment of the present application, the embodiment of the present application also provides a communication device, the communication device may be a terminal or a network device, as shown in Figure 9 As shown, the
通信接口91,能够与其他通信设备进行信息交互;
处理器92,与所述通信接口91连接,以实现与其他通信设备进行信息交互,用于运行计算机程序时,执行上述终端侧或网络设备侧一个或多个技术方案提供的方法;The processor 92 is connected to the
存储器93,用于存储能够在所述处理器92上运行的计算机程序。The
这里,在所述通信设备90为终端时,所述其他通信设备可以是网络设备;在所述通信设备90为网络设备时,所述其他通信设备可以是终端。Here, when the
具体地,在所述通信设备90用于实现本申请实施例终端侧的方法时,所述处理器92用于执行以下操作:Specifically, when the
接收网络设备发送的第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于所述终端中预先设置的EHPLMN信息更新的EHPLMN信息;Receiving first information sent by a network device; the first information includes at least one piece of EHPLMN information; the first information includes EHPLMN information updated relative to the preset EHPLMN information in the terminal;
保存所述第一信息;将所述第一信息和所述终端中预先设置的EHPLMN信息共同作为更新后的EHPLMN信息。saving the first information; using the first information and the preset EHPLMN information in the terminal together as updated EHPLMN information.
在一实施例中,所述处理器92,还用于通过NAS信令接收所述网络设备发送的第一信息。In an embodiment, the processor 92 is further configured to receive the first information sent by the network device through NAS signaling.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
接收所述网络设备发送的加密后的第一信息;receiving the encrypted first information sent by the network device;
对所述加密后的第一信息进行解密处理,得到解密后的第一信息;Decrypting the encrypted first information to obtain the decrypted first information;
保存所述解密后的第一信息。Save the decrypted first information.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
利用第二信息作为密钥,对所述加密后的第一信息进行解密处理;所述第二信息包含所述终端中预先设置的EHPLMN信息。Deciphering the encrypted first information by using the second information as a key; the second information includes EHPLMN information preset in the terminal.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
对所述加密后的第一信息进行完整性检查;performing an integrity check on the encrypted first information;
所述加密后的第一信息的完整性检查通过后,对所述加密后的第一信息进行解密处理。After the integrity check of the encrypted first information passes, the encrypted first information is decrypted.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性检查;所述第一标识表征所述第一信息对应的版本。Perform an integrity check on the encrypted first information by using the length of the encrypted first information, the first identifier, and the length of the first identifier; the first identifier indicates that the first information corresponds to Version.
在一实施例中,接收所述第一信息时,所述处理器92,还用于执行以下操作:In an embodiment, when receiving the first information, the processor 92 is further configured to perform the following operations:
接收所述网络设备发送的第一标识;所述第一标识表征所述第一信息对应的版本;receiving a first identifier sent by the network device; the first identifier represents a version corresponding to the first information;
在所述第一标识表征的版本高于第二标识表征的版本的情况下,所述终端利用所述第一信息更新本地存储的第三信息;所述第二标识表征所述终端本地存储的所述第三信息对应的版本;所述第三信息包含所述终端基于网络设备历史发送的信息更新的EHPLMN信息。When the version represented by the first identification is higher than the version represented by the second identification, the terminal uses the first information to update the locally stored third information; the second identification represents the locally stored third information of the terminal A version corresponding to the third information; the third information includes EHPLMN information updated by the terminal based on information sent by the network device in history.
在所述通信设备90用于实现本申请实施例网络设备侧的方法时,所述处理器92用于执行以下操作:When the
检测到更新EHPLMN信息的事件;An event to update EHPLMN information is detected;
根据检测到的更新EHPLMN信息的事件,生成第一信息;所述第一信息包含至少一个EHPLMN信息;所述第一信息包含相对于终端中预先设置的EHPLMN信息更新的EHPLMN信息;Generate first information according to the detected event of updating EHPLMN information; the first information includes at least one piece of EHPLMN information; the first information includes EHPLMN information updated relative to the preset EHPLMN information in the terminal;
向所述终端发送生成的所述第一信息。Send the generated first information to the terminal.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
根据所述检测到的更新EHPLMN信息的事件,确定第四信息;所述第四信息包含执行了所述更新EHPLMN信息的事件对应的操作之后的全部EHPLMN信息;Determine fourth information according to the detected event of updating EHPLMN information; the fourth information includes all EHPLMN information after performing the operation corresponding to the event of updating EHPLMN information;
将所述第四信息中所述终端预先设置的EHPLMN信息去除,得到所述第一信息。The first information is obtained by removing the EHPLMN information preset by the terminal in the fourth information.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
通过NAS信令向所述终端发送所述第一信息。sending the first information to the terminal through NAS signaling.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
对所述第一信息进行加密处理,得到加密后的第一信息;Encrypting the first information to obtain encrypted first information;
向所述终端发送所述加密后的第一信息。sending the encrypted first information to the terminal.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
利用第二信息作为密钥,对所述第一信息进行加密处理;所述第二信息包含所述终端中预先设置的EHPLMN信息。Encrypting the first information by using the second information as a key; the second information includes EHPLMN information preset in the terminal.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
对所述加密后的第一信息进行完整性保护;performing integrity protection on the encrypted first information;
向所述终端发送进行了完整性保护的所述加密后的第一信息。sending the encrypted first information with integrity protection to the terminal.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
利用所述加密后的第一信息的长度、第一标识及所述第一标识的长度对所述加密后的第一信息进行完整性保护;所述第一标识表征所述第一信息对应的版本。Integrity protection of the encrypted first information is performed using the length of the encrypted first information, the first identifier, and the length of the first identifier; the first identifier indicates that the first information corresponds to Version.
在一实施例中,所述处理器92,还用于执行以下操作:In one embodiment, the processor 92 is further configured to perform the following operations:
向所述终端发送第一标识;所述第一标识表征所述第一信息对应的版本。Sending a first identifier to the terminal; the first identifier represents a version corresponding to the first information.
需要说明的是:所述处理器92具体执行上述操作的过程详见本申请终端侧的方法实施例以及网络设备侧的方法实施例,这里不再赘述。It should be noted that: for the specific process of the processor 92 performing the above operations, refer to the method embodiment on the terminal side and the method embodiment on the network device side in this application, and details are not repeated here.
当然,实际应用时,通信设备90中的各个组件可以通过总线系统94耦合在一起。可理解,总线系统94用于实现这些组件之间的连接通信。总线系统94除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统94。Of course, in practical applications, various components in the
上述本申请终端侧或网络设备侧的方法实施例揭示的方法可以应用于处理器92中,或者由处理器92实现。处理器92可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器92中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器92可以是通用处理器、数字信号处理器(DSP,Digital SignalProcessor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器92可以实现或者执行本申请终端侧或网络设备侧的方法实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请终端侧或网络设备侧的方法实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器93,处理器92读取所述存储器93中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the above method embodiments on the terminal side or the network device side of the present application may be applied to the processor 92 or implemented by the processor 92 . The processor 92 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 92 or instructions in the form of software. The aforementioned processor 92 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 92 may implement or execute various methods, steps, and logic block diagrams disclosed in the method embodiments of the terminal side or the network device side of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the method embodiments on the terminal side or the network device side of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, the storage medium is located in the
在示例性实施例中,通信设备90可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,ProgrammableLogic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述终端侧或网络设备侧的方法。In an exemplary embodiment, the
可以理解,本申请实施例的存储器(比如芯片80中的存储器83或通信设备90中的存储器93)可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,ErasableProgrammable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,ElectricallyErasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagneticrandom access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,SynchronousStatic Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random AccessMemory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random AccessMemory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data RateSynchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其他适合类型的存储器。It can be understood that the memory in the embodiment of the present application (such as the
在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,比如芯片80中的存储计算机程序的存储器83,存储器83中存储的计算机程序可由芯片80中的处理器82执行,以完成前述终端侧或网络侧方法所述步骤。再比如存储计算机程序的存储器93,存储器93中存储的计算机程序可由通信设备90中的处理器92执行,以完成前述终端侧或网络侧方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, such as the
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和智能设备,可以通过其他的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其他形式的。In the several embodiments provided in this application, it should be understood that the disclosed methods and smart devices may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: various media that can store program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present application are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for Make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media capable of storing program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.
需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that: "first", "second", etc. are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence.
另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present application may be combined arbitrarily if there is no conflict.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010635877.3A CN111770488B (en) | 2020-07-03 | 2020-07-03 | EHPLMN updating method, related equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010635877.3A CN111770488B (en) | 2020-07-03 | 2020-07-03 | EHPLMN updating method, related equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111770488A CN111770488A (en) | 2020-10-13 |
| CN111770488B true CN111770488B (en) | 2023-03-21 |
Family
ID=72724628
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010635877.3A Active CN111770488B (en) | 2020-07-03 | 2020-07-03 | EHPLMN updating method, related equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111770488B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114598465B (en) * | 2022-03-08 | 2024-05-17 | 潍柴动力股份有限公司 | A data updating method and controller |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2016202264A1 (en) * | 2015-06-19 | 2016-12-22 | 广东欧珀移动通信有限公司 | Network access method and mobile communication terminal |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102905344A (en) * | 2011-07-26 | 2013-01-30 | 中兴通讯股份有限公司 | Method and system for access barring, network element on network side and UE (user equipment) |
| KR101857514B1 (en) * | 2014-05-12 | 2018-05-14 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Method for updating rplmn information, and user equipment |
| CN105764047A (en) * | 2014-12-15 | 2016-07-13 | 中兴通讯股份有限公司 | Method and device for updating mobile network information, and method and device for realizing network selection |
| CN108966260B (en) * | 2018-07-31 | 2022-03-25 | Oppo广东移动通信有限公司 | Data updating method and device and terminal equipment |
| WO2020132308A2 (en) * | 2018-12-19 | 2020-06-25 | Apple Inc. | Configuration management, performance management, and fault management to support edge computing |
-
2020
- 2020-07-03 CN CN202010635877.3A patent/CN111770488B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2016202264A1 (en) * | 2015-06-19 | 2016-12-22 | 广东欧珀移动通信有限公司 | Network access method and mobile communication terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111770488A (en) | 2020-10-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101378591B (en) | Method, system and device for security capability negotiation when terminal moves | |
| US10798082B2 (en) | Network authentication triggering method and related device | |
| US11381964B2 (en) | Cellular network authentication control | |
| CN110324287A (en) | Access authentication method, device and server | |
| US20110142239A1 (en) | Security protected non-access stratum protocol operation supporting method in a mobile telecommunication system | |
| CN112866981B (en) | Method and device for managing subscription data | |
| CN108605225B (en) | Safety processing method and related equipment | |
| US12413395B2 (en) | Vehicle certificate application method, vehicle-mounted device, and roadside unit | |
| CN111836260B (en) | Authentication information processing method, terminal and network equipment | |
| EP2974223A2 (en) | Digital credential with embedded authentication instructions | |
| EP4061037A1 (en) | Privacy information transmission method, apparatus, computer device and computer-readable medium | |
| CN104660567A (en) | D2D terminal access authentication method as well as D2D terminal and server | |
| CN102316450B (en) | Group-based M2M (machine-to-machine) communication authentication method and equipment | |
| CN114189343A (en) | Mutual authentication method and device | |
| CN111770488B (en) | EHPLMN updating method, related equipment and storage medium | |
| CN111132155A (en) | 5G secure communication method, equipment and storage medium | |
| CN105873045A (en) | Security protection method, device, system and terminal for soft SIM (Subscriber Identity Module) card | |
| EP3146742B1 (en) | Exception handling in cellular authentication | |
| KR101329789B1 (en) | Encryption Method of Database of Mobile Communication Device | |
| CN111107550A (en) | Dual-channel access registration method and device for 5G terminal equipment and storage medium | |
| US12342165B2 (en) | System, method, storage medium and equipment for mobile network access | |
| CN105516083A (en) | Data security management method, apparatus, and system | |
| CN102487505B (en) | Access authentication method of sensor node, apparatus thereof and system thereof | |
| CN108616861A (en) | A kind of air card-writing method and device | |
| CN118265031B (en) | Information security method, apparatus, communication device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |