Method and device for protecting truncated parameters

By judging the terminal conditions in the mobility management network element and sending NAS security-protected downlink NAS messages, the problem of security risks in truncated parameter transmission in the 5G system is solved, ensuring the integrity of the truncated parameters and the normal access of the terminal to the network.

CN114631342BActive Publication Date: 2024-10-29HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201980101852.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-08
Publication Date
2024-10-29
Estimated Expiration
2039-11-08

AI Technical Summary

Technical Problem

In the 5G system, there are security risks in the transmission process of truncated parameters, especially because the AS security context cannot be established between the access network equipment and the terminal, which makes the truncated parameters easily tampered by attackers, thus affecting the normal access of the terminal. network.

Method used

The mobile management network element determines whether the terminal meets the preset conditions. If it meets the requirements, it sends a downlink NAS message to the terminal through the NAS security context for NAS security protection to ensure that the truncated parameters are not tampered with during the transmission process, thereby preventing denial of service attacks.

Benefits of technology

It effectively reduces the security risk of truncated parameters during the transmission process, ensures the integrity of the truncated parameters received by the terminal, prevents attackers from tampering, and ensures that the terminal can normally access the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114631342B_ABST
    Figure CN114631342B_ABST
Patent Text Reader

Abstract

A method and device for protecting truncated parameters, relating to the field of communication technology, is used to ensure the security of truncated parameters during transmission. The method comprises the following steps: a mobile management network element determines whether a terminal accessing a network meets a preset condition, wherein the preset condition includes the terminal using a control plane CIoT 5GS optimization function (S101); when the terminal meets the preset condition, the mobile management network element sends a downlink NAS message to the terminal that is NAS-secured through a NAS security context, wherein the downlink NAS message includes the truncated parameters (S102). The method is applicable to the transmission process of truncated parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method and device for protecting truncated parameters. Background Art

[0002] Currently, in some processes (such as the re-establishment process), the terminal sends a radio resource control (RRC) message carrying the fifth-generation system architecture evolution-temporary mobile subscriber identity (5G-S-TMSI) to the access network device, so that the access network device can address a specific access and mobility management function (AMF) according to the 5G-S-TMSI.

[0003] However, the RRC message length is limited, so the RRC message may not be able to carry the complete 5G-S-TMSI. In this case, the terminal needs to truncate the 5G-S-TMSI according to the truncation parameters and then report the truncated 5G-S-TMSI to the access network device through the RRC message. After receiving the truncated parameters (such as the truncated 5G-S-TMSI), the access network device restores the truncated parameters to the complete parameters (such as the complete 5G-S-TMSI).

[0004] For other similar scenarios, the terminal may also need to truncate some other specific parameters and perform similar operations as above.

[0005] The truncated parameters used by the terminal are generally configured on the network side. No access stratum (AS) security context is established between the terminal and the access network device using the control plane cellular internet of things (CIoT) fifth-generation system (5GS) optimization function. Therefore, the access network device cannot perform AS security protection on the truncated parameters, resulting in the access network device only being able to send truncated parameters without AS security protection to the terminal. In this case, the truncated parameters are at risk of being tampered with by an attacker. If the truncated parameters are tampered with, the terminal cannot obtain the correct truncated parameters, resulting in the terminal being unable to access the network normally. Summary of the Invention

[0006] The present application provides a method and apparatus for protecting truncated parameters, which are used to reduce the security risks of truncated parameters during transmission.

[0007] In a first aspect, a method for protecting truncation parameters is provided, including: a mobility management network element determines whether a terminal meets preset conditions, the preset conditions including that the terminal uses a control plane CIoT 5GS optimization function; when the terminal meets the preset conditions, the mobility management network element sends a downlink NAS message to the terminal for NAS security protection through a NAS security context, the downlink NAS message includes a truncation parameter, and the truncation parameter is used to truncate the terminal's 5G-S-TMSI.

[0008] Based on the technical solution of this application, if the terminal meets the preset conditions and is a terminal using the control plane CIoT 5GS optimization function, the mobility management network element sends a downlink NAS message to the terminal using the NAS security context, so that the terminal obtains the truncated parameters that have been NAS security-protected. This ensures that the truncated parameters received by the terminal are not tampered with or forged, thereby preventing the terminal from being attacked by an attacker to launch a denial of service attack, and thus ensuring that the terminal can access the network normally.

[0009] In one possible design, the truncation parameters are pre-stored by the mobility management network element. In this way, the mobility management network element does not need to obtain the truncation parameters from other devices (such as access network devices), thereby achieving the purpose of simplifying the process.

[0010] In one possible design, the method further includes: the mobility management network element receiving the truncation parameters sent by the access network device. It is understandable that the mobility management network element obtains the truncation parameters from the access network device, so the mobility management network element does not need to pre-configure the truncation parameters, thereby reducing the configuration complexity of the truncation parameters.

[0011] In one possible design, the mobile management network element determines whether the terminal meets the preset conditions, including: the mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function; if the terminal uses the control plane CIoT5GS optimization function, the mobile management network element determines that the terminal meets the preset conditions; if the terminal does not use the control plane CIoT 5GS optimization function, the mobile management network element determines that the terminal does not meet the preset conditions.

[0012] In one possible design, the preset condition also includes: the terminal is a terminal that is initially registered with the network. The mobile management network element determines whether the terminal meets the preset condition, including: the mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function and whether the terminal is a terminal that is initially registered with the network; if the terminal uses the control plane CIoT 5GS optimization function and the terminal is a terminal that is initially registered with the network, the mobile management network element determines that the terminal meets the preset condition; if the terminal does not use the control plane CIoT5GS optimization function or the terminal is not a terminal that is initially registered with the network, the mobile management network element determines that the terminal does not meet the preset condition.

[0013] In one possible design, the mobility management network element determines whether the terminal is a terminal that has initially registered with the network, including: the mobility management network element determines whether the terminal is a terminal that has initially registered with the network based on the registration type reported by the terminal.

[0014] In one possible design, the preset condition also includes: the terminal needs to update the truncation parameters. The mobile management network element determines whether the terminal meets the preset condition, including: the mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function and whether the terminal needs to update the truncation parameters; if the terminal uses the control plane CIoT 5GS optimization function and the terminal is a terminal that needs to update the truncation parameters, the mobile management network element determines that the terminal meets the preset condition; if the terminal does not use the control plane CIoT 5GS optimization function or the terminal is not a terminal that needs to update the truncation parameters, the mobile management network element determines that the terminal does not meet the preset condition.

[0015] In one possible design, the mobility management network element determines whether the terminal needs to update the truncation parameters, including: when the truncation parameters configured by the mobility management network element are different from the truncation parameters stored in the context of the terminal, the mobility management network element determines that the terminal needs to update the truncation parameters.

[0016] In one possible design, the mobility management network element determines whether the terminal needs to update the truncation parameters, including: after the mobility management network element updates the truncation parameters, the mobility management network element determines that the terminal needs to update the truncation parameters. In one possible design, the mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, including: if the preferred network behavior reported by the terminal is used to indicate that the terminal prefers to use the control plane CIoT 5GS optimization function, and the mobility management network element supports the control plane CIoT 5GS optimization function, then the mobility management network element determines that the terminal uses the control plane CIoT 5GS optimization function.

[0017] In one possible design, the mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, including: if the context of the terminal is used to indicate that the terminal uses the control plane CIoT 5GS optimization function, the mobile management network element determines that the terminal uses the control plane CIoT 5GS optimization function.

[0018] In one possible design, the mobile management network element determines whether the terminal meets the preset conditions, including: after the mobile management network element receives a registration request message or a service request message from the terminal, the mobile management network element determines whether the terminal meets the preset conditions.

[0019] In one possible design, the downlink NAS message is a service acceptance message or a registration acceptance message.

[0020] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0021] In one possible design, the method also includes: the mobile management network element updates the truncation parameters according to the number of AMF set IDs and / or the number of AMF pointers; or, the mobile management network element updates the truncation parameters according to the instructions of the network management system; or, the mobile management network element receives the updated truncation parameters sent by the access network device.

[0022] According to a second aspect, a method for protecting truncated parameters is provided, including: a terminal receiving a downlink NAS message sent by a mobility management network element and protected by a NAS security context, the downlink NAS message including a truncation parameter, and the truncation parameter being used to truncate a 5G-S-TMSI of the terminal; the terminal de-protecting the downlink NAS message; and after successfully de-protecting the downlink NAS message, the terminal storing the truncation parameter.

[0023] Based on the technical solution of the present application, since the truncated parameters are carried in the downlink NAS message that has been protected by NAS security, the truncated parameters are also protected by NAS security, thereby ensuring that the truncated parameters are not tampered with or forged, thereby preventing the terminal from being attacked by a denial of service by an attacker, and thus ensuring that the terminal can access the network normally.

[0024] In one possible design, the terminal stores the truncation parameters, including: the NAS layer of the terminal stores the truncation parameters.

[0025] In one possible design, the method also includes: the NAS layer of the terminal sends a truncation parameter to the RRC layer of the terminal; the RRC layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI.

[0026] In one possible design, the method also includes: the NAS layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI; the NAS layer of the terminal sends the truncated 5G-S-TMSI to the RRC layer of the terminal.

[0027] In one possible design, the terminal stores the truncation parameter, including: the NAS layer of the terminal sends the truncation parameter to the RRC layer of the terminal; and the RRC layer of the terminal stores the truncation parameter.

[0028] In one possible design, the method also includes: the RRC layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI.

[0029] In one possible design, the method also includes: the RRC layer of the terminal sends the truncation parameter to the NAS layer of the terminal; the NAS layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI; the NAS layer of the terminal sends the truncated 5G-S-TMSI to the RRC layer of the terminal.

[0030] In one possible design, the method also includes: the terminal sends an RRC re-establishment request message to the access network device, and the RRC re-establishment request message includes the truncated 5G-S-TMSI.

[0031] In one possible design, the downlink NAS message is a service acceptance message or a registration acceptance message.

[0032] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0033] On the third aspect, a method for protecting truncation parameters is provided, including: the access network device determines whether the terminal supports the CIoT 5GS optimization feature; when the terminal supports the CIoT 5GS optimization feature, the access network device sends the truncation parameter to the mobile management network element, and the truncation parameter is used to truncate the terminal's 5G-S-TMSI.

[0034] Based on the technical solution of this application, when the terminal supports the CIoT 5GS optimization feature, the access network device sends the truncated parameters to the mobility management network element, so that the mobility management network element can perform NAS security protection on the truncated parameters. This prevents the access network device from directly sending the unprotected truncated parameters to the terminal, reducing the security risks of the truncated parameters during transmission.

[0035] In one possible design, the access network device determines whether the terminal supports the CIoT 5GS optimization feature, including: if the terminal's capability indication information is used to indicate that the terminal supports the CIoT 5GS optimization feature, then the access network device determines that the terminal supports the CIoT5GS optimization feature.

[0036] In one possible design, the access network device determines whether the terminal supports the CIoT 5GS optimization feature, including: if the frequency used by the terminal is the same as the frequency used by the CIoT device, the access network device determines that the terminal supports the CIoT 5GS optimization feature.

[0037] In one possible design, the access network device determines whether the terminal supports the CIoT 5GS optimization feature, including: if the type of message sent by the terminal is the same as the type of message sent by the CIoT device, the access network device determines that the terminal supports the CIoT5GS optimization feature.

[0038] In one possible design, the access network device determines whether the terminal supports the CIoT 5GS optimization feature, including: after the access network device receives the uplink RRC message sent by the terminal, the access network device determines whether the terminal supports the CIoT 5GS optimization feature.

[0039] In one possible design, the uplink RRC message is an RRC establishment request message or an RRC establishment completion message.

[0040] In one possible design, the access network device sends a truncation parameter to the mobility management network element, including: the access network device sends an initial UE message to the mobility management network element, and the initial UE message includes the truncation parameter.

[0041] In one possible design, the truncation parameters are pre-stored in the access network device.

[0042] In one possible design, the method also includes: the access network device receives an RRC re-establishment request message sent by the terminal, and the RRC re-establishment request message includes a truncated 5G-S-TMSI.

[0043] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0044] In a fourth aspect, a method for protecting truncated parameters is provided, including: the mobile management network element updates the truncated parameters, and the truncated parameters are used to truncate the 5G-S-TMSI; the mobile management network element searches for a terminal that uses the control plane CIoT 5GS optimization function; the mobile management network element sends a downlink NAS message that is NAS security protected by a NAS security context to the terminal that uses the control plane CIoT 5GS optimization function, and the downlink NAS message includes the updated truncated parameters.

[0045] Based on the technical solution of the present application, in the scenario where the mobile management network element updates the truncated parameters, the mobile management network element sends a downlink NAS message that is NAS-secured through the NAS security context to the terminal using the control plane CIoT 5GS optimization function. Since the updated truncated parameters are carried in the downlink NAS message, the updated truncated parameters will not be tampered with or forged by an attacker during air interface transmission. In this way, the terminal using the control plane CIoT 5GS optimization function can obtain the correct updated truncated parameters in a timely manner, ensuring that the terminal using the control plane CIoT 5GS optimization function can access the network normally.

[0046] In one possible design, the mobile management network element updates the truncation parameters, including: the mobile management network element updates the truncation parameters according to the number of AMFset IDs and / or the number of AMF pointers; or, the mobile management network element updates the truncation parameters according to the instructions of the network management system; or, the mobile management network element receives the updated truncation parameters sent by the access network device.

[0047] In one possible design, the mobility management network element sends a downlink NAS message that is NAS-secured through a NAS security context to a terminal that uses the control plane CIoT 5GS optimization function, including: when the terminal that uses the control plane CIoT 5GS optimization function is in a connected state, the mobility management network element sends a downlink NAS message to the terminal that uses the control plane CIoT 5GS optimization function.

[0048] In one possible design, the mobility management network element sends a downlink NAS message that is NAS-secured through a NAS security context to a terminal that uses the control plane CIoT 5GS optimization function, including: when the terminal that uses the control plane CIoT 5GS optimization function is in a non-connected state, the mobility management network element waits for the terminal that uses the control plane CIoT 5GS optimization function to enter a connected state; after the terminal that uses the control plane CIoT 5GS optimization function enters a connected state and NAS security is activated between the mobility management network element and the terminal that uses the control plane CIoT 5GS optimization function, the mobility management network element sends a downlink NAS message to the terminal that uses the control plane CIoT 5GS optimization function.

[0049] In one possible design, the mobility management network element sends a downlink NAS message that is NAS-secured through a NAS security context to a terminal that uses the control plane CIoT 5GS optimization function, including: when the terminal that uses the control plane CIoT 5GS optimization function is in a non-connected state, the mobility management network element triggers the terminal that uses the control plane CIoT 5GS optimization function to enter a connected state by paging; after the terminal that uses the control plane CIoT 5GS optimization function enters a connected state and NAS security is activated between the mobility management network element and the terminal that uses the control plane CIoT 5GS optimization function, the mobility management network element sends a downlink NAS message to the terminal that uses the control plane CIoT 5GS optimization function.

[0050] In one possible design, the downlink NAS message is a UE configuration update command message or a service acceptance message.

[0051] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0052] In the fifth aspect, a method for protecting truncated parameters is provided, including: a mobility management network element receives a truncated parameter sent by an access network device, the truncated parameter is used to truncate the terminal's 5G-S-TMSI; the mobility management network element performs integrity calculation on the terminal's 5G-S-TMSI according to the terminal's NAS security context, and generates a first NAS MAC; the mobility management network element sends the first NAS MAC to the access network device.

[0053] Based on the technical solution of the present application, the mobility management network element performs integrity calculation on the truncated parameters to obtain a first NAS MAC, and then sends the first NAS MAC to the access network device. In this way, the access network device can send the first NAS MAC and the truncated parameters to the terminal to ensure that the truncated parameters are not tampered with or forged by attackers during transmission, thereby reducing the security risks of the truncated parameters during transmission.

[0054] In one possible design, the method also includes: the mobile management network element receives protection indication information and / or freshness parameters sent by the access network device, the protection indication information is used to instruct the mobile management network element to perform security protection on the truncated parameters, and the freshness parameters are used to calculate the integrity of the truncated parameters.

[0055] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0056] In the sixth aspect, a method for protecting truncated parameters is provided, including: the access network device sends the truncated parameters to the mobility management network element, the truncated parameters are used to truncate the 5G-S-TMSI of the terminal; the access network device receives the first NAS MAC sent by the mobility management network element, the first NAS MAC is obtained by performing integrity calculation on the truncated parameters; the access network device sends the first NAS MAC and the truncated parameters to the terminal.

[0057] Based on the technical solution of the present application, the access network device can send the first NAS MAC and truncated parameters to the terminal to ensure that the truncated parameters are not tampered with or forged by attackers during transmission, thereby reducing the security risk of the truncated parameters during transmission.

[0058] In one possible design, the method further includes: the access network device determining whether the terminal supports the CIoT 5GS optimization feature. The access network device sending the truncation parameter to the mobility management network element includes: if the terminal supports the CIoT 5GS optimization feature, the access network device sending the truncation parameter to the mobility management network element.

[0059] In one possible design, the access network device determines whether the terminal supports the CIoT 5GS optimization feature, including: if the terminal's capability indication information is used to indicate that the terminal supports the CIoT 5GS optimization feature, then the access network device determines that the terminal supports the CIoT5GS optimization feature.

[0060] In one possible design, the access network device determines whether the terminal supports the CIoT 5GS optimization feature, including: if the frequency used by the terminal is the same as the frequency used by the CIot device, the access network device determines that the terminal supports the CIoT 5GS optimization feature.

[0061] In one possible design, the access network device determines whether the terminal supports the CIoT 5GS optimization feature, including: if the type of message sent by the terminal is the same as the type of message sent by the CIoT device, the access network device determines that the terminal supports the CIoT5GS optimization feature.

[0062] In one possible design, the access network device determines whether the terminal supports the CIoT 5GS optimization feature, including: after the access network device receives the uplink RRC message sent by the terminal, the access network device determines whether the terminal supports the CIoT 5GS optimization feature.

[0063] In one possible design, the uplink RRC message is an RRC establishment request message or an RRC establishment completion message.

[0064] In one possible design, the method also includes: the access network device sends protection indication information and / or freshness parameters to the mobile management network element, the protection indication information is used to instruct the mobile management network element to perform security protection on the truncated parameters, and the freshness parameters are used to calculate the integrity of the truncated parameters.

[0065] In one possible design, the method also includes: the access network device receives an RRC re-establishment request message sent by the terminal, and the RRC re-establishment request message includes a truncated 5G-S-TMSI.

[0066] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0067] In the seventh aspect, a method for protecting truncated parameters is provided, including: a terminal receives a first NAS MAC and a truncated parameter sent by an access network device, where the truncated parameter is used to truncate the terminal's 5G-S-TMSI; the terminal performs integrity calculation on the truncated parameter according to the NAS security context to generate a second NAS MAC; the terminal verifies the first NAS MAC based on the second NAS MAC; if the first NAS MAC passes the verification, the terminal stores the truncated parameter.

[0068] Based on the technical solution of the present application, since the terminal receives the first NAS MAC and the truncated parameter, the terminal can verify the integrity of the truncated parameter by verifying the first NAS MAC. If it is determined that the truncated parameter has not been tampered with or forged, the terminal stores the truncated parameter so that the 5G-S-TMSI can be truncated based on the truncated parameter in subsequent processes.

[0069] In one possible design, the terminal stores the truncation parameters, including: the RRC layer of the terminal stores the truncation parameters.

[0070] In one possible design, the method also includes: the RRC layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI.

[0071] In one possible design, the method also includes: the RRC layer of the terminal sends a truncation parameter to the NAS layer of the terminal; the NAS layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI; the NAS layer of the terminal sends the truncated 5G-S-TMSI to the RRC layer of the terminal.

[0072] In one possible design, the terminal stores the truncation parameter, including: the RRC layer of the terminal sends the truncation parameter to the NAS layer of the terminal; and the NAS layer of the terminal stores the truncation parameter.

[0073] In one possible design, the method also includes: the NAS layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI; the NAS layer of the terminal sends the truncated 5G-S-TMSI to the RRC layer of the terminal.

[0074] In one possible design, the method also includes: the NAS layer of the terminal sends a truncation parameter to the RRC layer of the terminal; the RRC layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI.

[0075] In one possible design, the method also includes: the terminal sends an RRC re-establishment request message to the access network device, and the RRC re-establishment request message includes a truncated 5G-S-TMSI.

[0076] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0077] In an eighth aspect, a communication device is provided, including: a processing module for determining whether a terminal meets preset conditions, the preset conditions including that the terminal uses a control plane CIoT 5GS optimization function; a communication module for sending a downlink NAS message for NAS security protection through a NAS security context to the terminal when the terminal meets the preset conditions, the downlink NAS message including a truncation parameter, and the truncation parameter being used to truncate the terminal's 5G-S-TMSI.

[0078] In one possible design, the communication device also includes a storage module; the storage module is used to store truncation parameters.

[0079] In one possible design, the communication module is also used to receive truncation parameters sent by the access network device.

[0080] In one possible design, the processing module is used to determine whether the terminal meets the preset conditions, including: determining whether the terminal uses the control plane CIoT 5GS optimization function; if the terminal uses the control plane CIoT 5GS optimization function, determining that the terminal meets the preset conditions; if the terminal does not use the control plane CIoT 5GS optimization function, determining that the terminal does not meet the preset conditions.

[0081] In one possible design, the preset condition also includes: the terminal is a terminal that is initially registered with the network. The processing module is used to determine whether the terminal meets the preset condition, including: determining whether the terminal uses the control plane CIoT5GS optimization function and whether the terminal is a terminal that is initially registered with the network; if the terminal uses the control plane CIoT5GS optimization function and the terminal is a terminal that is initially registered with the network, then determining that the terminal meets the preset condition; if the terminal does not use the control plane CIoT 5GS optimization function or the terminal is not a terminal that is initially registered with the network, then determining that the terminal does not meet the preset condition.

[0082] In one possible design, the processing module is specifically used to determine whether the terminal is a terminal that is initially registered to the network based on the registration type reported by the terminal.

[0083] In one possible design, the preset condition also includes: the terminal needs to update the truncation parameters. The processing module is used to determine whether the terminal meets the preset condition, including: determining whether the terminal uses the control plane CIoT5GS optimization function and whether the terminal needs to update the truncation parameters; if the terminal uses the control plane CIoT5GS optimization function and the terminal is a terminal that needs to update the truncation parameters, then determining that the terminal meets the preset condition; if the terminal does not use the control plane CIoT 5GS optimization function or the terminal is not a terminal that needs to update the truncation parameters, then determining that the terminal does not meet the preset condition.

[0084] In one possible design, the processing module is specifically used to determine that the terminal needs to update the truncation parameters when the truncation parameters configured by the mobility management network element are different from the truncation parameters stored in the context of the terminal.

[0085] In one possible design, the processing module is specifically used to determine that the terminal needs to update the truncation parameters after the mobile management network element updates the truncation parameters.

[0086] In one possible design, the processing module is also used to update the truncation parameters based on the number of AMF set IDs and / or the number of AMF pointers; or, to update the truncation parameters according to the instructions of the network management system; or, to receive the updated truncation parameters sent by the access network device.

[0087] In one possible design, the processing module is specifically used to determine that the terminal uses the control plane CIoT 5GS optimization function if the preferred network behavior reported by the terminal is used to indicate that the terminal prefers to use the control plane CIoT 5GS optimization function, and the mobile management network element supports the control plane CIoT 5GS optimization function.

[0088] In one possible design, the processing module is specifically used to determine whether the terminal uses the control plane CIoT 5GS optimization function if the context of the terminal is used to indicate that the terminal uses the control plane CIoT 5GS optimization function.

[0089] In one possible design, the processing module is specifically used to determine whether the terminal meets the preset conditions after the communication module receives the registration request message or service request message of the terminal.

[0090] In one possible design, the downlink NAS message is a service acceptance message or a registration acceptance message.

[0091] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0092] In one possible design, the processing module is used to update the truncation parameters according to the number of AMF set IDs and / or the number of AMFpointers.

[0093] In one possible design, the processing module is used to update the truncation parameters according to instructions of the network management system.

[0094] In one possible design, the communication module is used to receive updated truncation parameters sent by the access network device.

[0095] In a ninth aspect, a communication device is provided, including: a communication module for receiving a downlink NAS message sent by a mobility management network element and protected by NAS security context, the downlink NAS message including a truncation parameter, which is used to truncate the terminal's 5G-S-TMSI; a processing module for de-securitying the downlink NAS message; and a storage module for storing the truncation parameter after the processing module successfully de-securitying the downlink NAS message.

[0096] In one possible design, the storage module is used to store truncation parameters, including: NAS layer stores truncation parameters.

[0097] In one possible design, the processing module is also used to obtain a truncated 5G-S-TMSI, including: the NAS layer sends a truncation parameter to the RRC layer; the RRC layer truncates the terminal's 5G-S-TMSI according to the truncation parameter to obtain a truncated 5G-S-TMSI.

[0098] In one possible design, the processing module is also used to obtain a truncated 5G-S-TMSI, including: the NAS layer truncates the terminal's 5G-S-TMSI according to the truncation parameters to obtain a truncated 5G-S-TMSI; the NAS layer sends the truncated 5G-S-TMSI to the RRC layer.

[0099] In one possible design, the storage module is used to store truncation parameters, including: the NAS layer sends the truncation parameters to the RRC layer; the RRC layer stores the truncation parameters.

[0100] In one possible design, the processing module is also used to obtain a truncated 5G-S-TMSI, including: the RRC layer truncates the terminal's 5G-S-TMSI according to the truncation parameters to obtain a truncated 5G-S-TMSI.

[0101] In one possible design, the processing module is also used to obtain a truncated 5G-S-TMSI, including: the RRC layer sends the truncation parameter to the NAS layer; the NAS layer truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI; the NAS layer sends the truncated 5G-S-TMSI to the RRC layer.

[0102] In one possible design, the downlink NAS message is a service acceptance message or a registration acceptance message.

[0103] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0104] In one possible design, the communication module is also used to send an RRC re-establishment request message to the access network device, and the RRC re-establishment request message includes the truncated 5G-S-TMSI.

[0105] In the tenth aspect, a communication device is provided, including: a processing module for determining whether a terminal supports the CIoT 5GS optimization feature; a communication module for sending a truncation parameter to a mobile management network element when the terminal supports the CIoT 5GS optimization feature, and the truncation parameter is used to truncate the terminal's 5G-S-TMSI.

[0106] In one possible design, the processing module is specifically used to determine that the terminal supports the CIoT 5GS optimization feature if the terminal capability indication information is used to indicate that the terminal supports the CIoT 5GS optimization feature.

[0107] In one possible design, the processing module is specifically used to determine whether the terminal supports the CIoT 5GS optimization feature if the frequency used by the terminal is the same as the frequency used by the CIoT device.

[0108] In one possible design, the processing module is specifically used to determine whether the terminal supports the CIoT 5GS optimization feature if the type of message sent by the terminal is the same as the type of message sent by the CIoT device.

[0109] In one possible design, the processing module is specifically used to determine whether the terminal supports the CIoT 5GS optimization feature after the communication module receives the uplink RRC message sent by the terminal.

[0110] In one possible design, the uplink RRC message is an RRC establishment request message or an RRC establishment completion message.

[0111] In one possible design, the communication module is specifically used to send an initial UE message to a mobile management network element, where the initial UE message includes a truncation parameter.

[0112] In one possible design, the communication device also includes a storage module; the storage module is used to store truncation parameters.

[0113] In one possible design, the communication module is used to receive an RRC re-establishment request message sent by the terminal, and the RRC re-establishment request message includes a truncated 5G-S-TMSI.

[0114] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0115] In the eleventh aspect, a communication device is provided, including: a processing module for updating truncation parameters, the truncation parameters are used to truncate 5G-S-TMSI; searching for terminals using the control plane CIoT 5GS optimization function; a communication module for sending a downlink NAS message that is NAS-secured through a NAS security context to a terminal using the control plane CIoT 5GS optimization function, the downlink NAS message including the updated truncation parameters.

[0116] In one possible design, the processing module is used to update the truncation parameters based on the number of AMF set IDs and / or the number of AMF pointers; or, to update the truncation parameters according to the instructions of the network management system; or, to receive the updated truncation parameters sent by the access network device.

[0117] In one possible design, the communication module is specifically used to send a downlink NAS message to a terminal using the control plane CIoT 5GS optimization function when the terminal using the control plane CIoT 5GS optimization function is in a connected state.

[0118] In one possible design, the communication module is specifically used to wait for the terminal using the control plane CIoT 5GS optimization function to enter a connected state when the terminal using the control plane CIoT 5GS optimization function is in a non-connected state; after the terminal using the control plane CIoT 5GS optimization function enters a connected state and NAS security is activated between the mobile management network element and the terminal using the control plane CIoT 5GS optimization function, send a downlink NAS message to the terminal using the control plane CIoT 5GS optimization function.

[0119] In one possible design, the communication module is specifically used to trigger the terminal using the control plane CIoT 5GS optimization function to enter a connected state by paging when the terminal using the control plane CIoT 5GS optimization function is in a non-connected state; after the terminal using the control plane CIoT 5GS optimization function enters the connected state and NAS security is activated between the mobile management network element and the terminal using the control plane CIoT 5GS optimization function, a downlink NAS message is sent to the terminal using the control plane CIoT 5GS optimization function.

[0120] In one possible design, the downlink NAS message is a UE configuration update command message or a service acceptance message.

[0121] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI.

[0122] The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0123] In the twelfth aspect, a communication device is provided, including: a communication module for receiving a truncation parameter sent by an access network device, the truncation parameter being used to truncate the 5G-S-TMSI of the terminal; a processing module for performing integrity calculation on the 5G-S-TMSI of the terminal according to the NAS security context of the terminal to generate a first NAS MAC; the communication module is also used to send the first NAS MAC to the access network device.

[0124] In one possible design, the communication module is also used to receive protection indication information and / or freshness parameters sent by the access network device. The protection indication information is used to instruct the mobile management network element to perform security protection on the truncated parameters, and the freshness parameters are used to calculate the integrity of the truncated parameters.

[0125] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0126] In the thirteenth aspect, a communication device is provided, including: a communication module, used to send a truncation parameter to a mobility management network element, the truncation parameter is used to truncate the 5G-S-TMSI of the terminal; receiving a first NAS MAC sent by the mobility management network element, the first NAS MAC is obtained by performing integrity calculation on the truncation parameter; sending the first NAS MAC and the truncation parameter to the terminal.

[0127] In one possible design, the communication device also includes a processing module; the processing module is used to determine whether the terminal supports the CIoT 5GS optimization feature; and the communication module is specifically used to send truncation parameters to the mobile management network element by the access network device when the terminal supports the CIoT 5GS optimization feature.

[0128] In one possible design, the processing module is specifically used to determine that the terminal supports the CIoT 5GS optimization feature if the terminal capability indication information is used to indicate that the terminal supports the CIoT 5GS optimization feature.

[0129] In one possible design, the processing module is specifically used to determine whether the terminal supports the CIoT 5GS optimization feature if the frequency used by the terminal is the same as the frequency used by the CIot device.

[0130] In one possible design, the processing module is specifically used to determine whether the terminal supports the CIoT 5GS optimization feature if the type of message sent by the terminal is the same as the type of message sent by the CIoT device.

[0131] In one possible design, the communication module is also used to receive the uplink RRC message sent by the terminal; the processing module is specifically used to determine whether the terminal supports the CIoT5GS optimization feature after the communication module receives the uplink RRC message sent by the terminal.

[0132] In one possible design, the uplink RRC message is an RRC establishment request message or an RRC establishment completion message.

[0133] In one possible design, the communication module is also used to send protection indication information and / or freshness parameters to the mobile management network element. The protection indication information is used to instruct the mobile management network element to perform security protection on the truncated parameters, and the freshness parameters are used to calculate the integrity of the truncated parameters.

[0134] In one possible design, the communication module is also used to receive an RRC re-establishment request message sent by the terminal, and the RRC re-establishment request message includes a truncated 5G-S-TMSI.

[0135] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0136] In a fourteenth aspect, a communication device is provided, including: a communication module for receiving a first NAS MAC and a truncation parameter sent by an access network device, where the truncation parameter is used to truncate the 5G-S-TMSI of the terminal; a processing module for performing integrity calculation on the truncation parameter based on the NAS security context to generate a second NAS MAC; verifying the first NAS MAC based on the second NAS MAC; and a storage module for storing the truncation parameter if the first NAS MAC passes the verification.

[0137] In one possible design, the storage module is used to store truncation parameters, including: the RRC layer stores the truncation parameters.

[0138] In one possible design, the processing module is also used to obtain a truncated 5G-S-TMSI, including: the RRC layer truncates the terminal's 5G-S-TMSI according to the truncation parameters to obtain a truncated 5G-S-TMSI.

[0139] In one possible design, the processing module is also used to obtain a truncated 5G-S-TMSI, including: the RRC layer sends a truncation parameter to the NAS layer; the NAS layer truncates the terminal's 5G-S-TMSI according to the truncation parameter to obtain a truncated 5G-S-TMSI; the NAS layer sends the truncated 5G-S-TMSI to the RRC layer.

[0140] In one possible design, the storage module is used to store truncation parameters, including: the RRC layer sends the truncation parameters to the NAS layer; and the NAS layer stores the truncation parameters.

[0141] In one possible design, the processing module is also used to obtain a truncated 5G-S-TMSI, including: the NAS layer truncates the terminal's 5G-S-TMSI according to the truncation parameters to obtain a truncated 5G-S-TMSI; the NAS layer sends the truncated 5G-S-TMSI to the RRC layer.

[0142] In one possible design, the processing module is also used to obtain a truncated 5G-S-TMSI, including: the NAS layer sends a truncation parameter to the RRC layer; the RRC layer truncates the terminal's 5G-S-TMSI according to the truncation parameter to obtain a truncated 5G-S-TMSI.

[0143] In one possible design, the communication module is also used to send an RRC re-establishment request message to the access network device, and the RRC re-establishment request message includes a truncated 5G-S-TMSI.

[0144] In one possible design, the first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI. The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

[0145] In the fifteenth aspect, a communication device is provided, comprising a processor and a communication interface, wherein the processor is configured to execute computer program instructions so that the communication device implements a method for protecting truncated parameters involved in any design provided in any one of the first to seventh aspects.

[0146] In the sixteenth aspect, a computer-readable storage medium is provided, which stores instructions. When the instructions are executed on a computer, the computer implements the method for protecting truncated parameters involved in any design provided in any one of the first to seventh aspects.

[0147] In the seventeenth aspect, a computer program product is provided, which includes instructions. When the computer program product is run on a computer, the computer implements the protection method of truncated parameters involved in any design provided in any aspect from the first aspect to the seventh aspect.

[0148] In an eighteenth aspect, a chip is provided, which includes a processor. When the processor executes computer program instructions, the chip implements the protection method of truncated parameters involved in any one of the designs in the first to seventh aspects.

[0149] In the nineteenth aspect, a communication system is provided, which includes: a mobile management network element and an access network device, wherein the mobile management network element is used to execute the protection method of the truncated parameters involved in any one of the designs in the first aspect, and the access network device is used to execute the protection method of the truncated parameters involved in any one of the designs in the third aspect.

[0150] In the twentieth aspect, a communication system is provided, which includes a mobile management network element and an access network device, wherein the mobile management network element is used to execute the protection method of the truncated parameters involved in any one of the designs in the fifth aspect, and the access network device is used to execute the protection method of the truncated parameters involved in any one of the designs in the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0151] Figure 1 Schematic diagram of the encryption / decryption process;

[0152] Figure 2 Schematic diagram for sending and calculating MAC;

[0153] Figure 3 Schematic diagram of calculating MAC for the receiver;

[0154] Figure 4 A schematic diagram of a configuration process of truncation parameters in the prior art;

[0155] Figure 5 A schematic diagram of the structure of a 5G network provided in an embodiment of the present application;

[0156] Figure 6 A schematic diagram of a protocol stack provided in an embodiment of the present application;

[0157] Figure 7 A schematic diagram of the structure of a device provided in an embodiment of the present application;

[0158] Figure 8 A flowchart of a method for protecting truncated parameters provided in an embodiment of the present application;

[0159] Figure 9 A flowchart of another method for protecting truncated parameters provided in an embodiment of the present application;

[0160] Figure 10 A flowchart of another method for protecting truncated parameters provided in an embodiment of the present application;

[0161] Figure 11 A flowchart of another method for protecting truncated parameters provided in an embodiment of the present application;

[0162] Figure 12 A flowchart of another method for protecting truncated parameters provided in an embodiment of the present application;

[0163] Figure 13 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0164] Figure 14 A schematic diagram of the structure of an access network device provided in an embodiment of the present application;

[0165] Figure 15 A schematic diagram of the structure of a mobility management network element provided in an embodiment of the present application. DETAILED DESCRIPTION

[0166] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "a plurality" means two or more. Words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not limit them to be necessarily different.

[0167] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0168] In the description of this application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information (such as the first indication information described below) is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated. For example, the information to be indicated can be directly indicated, wherein the information to be indicated itself or the index of the information to be indicated, etc. For another example, the information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association relationship between the other information and the information to be indicated. For another example, only a part of the information to be indicated can be indicated, while the other parts of the information to be indicated are known or agreed in advance. In addition, the indication of specific information can be achieved by means of the arrangement order of each information agreed in advance (such as specified by the protocol), thereby reducing the indication overhead to a certain extent.

[0169] In order to facilitate understanding of the technical solution of this application, the following is a brief introduction to the terms involved in this application.

[0170] 1. Encryption / Decryption

[0171] Encryption / decryption: Protecting the confidentiality of data during transmission (also known as confidentiality protection). Confidentiality means that the true content cannot be directly revealed. Encryption protection is generally achieved by encrypting data using a key and an encryption algorithm. Specific encryption methods are described in 3GPP TS 33.401 f50, section 8.2, or 33.501 f50, section 6.4.4. These methods are not detailed here.

[0172] For example, Figure 1As shown, the encryption process of the sender can be as follows: the sender can input parameters such as count, length, bearer, and direction into the NEA to determine the keystream; then, the sender determines the ciphertext based on the keystream and plaintext.

[0173] For example, Figure 1 As shown, the decryption process at the receiving end can be as follows: the receiving end can input parameters such as count, length, bearer, and direction into NEA to determine the key stream; then, the receiving end determines the plaintext based on the key stream and the ciphertext.

[0174] 2. Integrity protection / verification

[0175] Integrity protection / verification: Integrity protection / verification is used to determine whether the content of a message has been altered during transmission. It can also be used for authentication to confirm the source of the message. Integrity verification and protection require the use of a message authentication code (MAC). Specific methods for integrity verification and protection can be found in Section 8.1 of 3rd Generation Partnership Project (3GPP) TS 33.401f50 or Section 6.4.3 of 33.501f50. These methods are not detailed here.

[0176] MAC can be used to check whether the content of a message has been changed during transmission; and MAC can be used as authentication to confirm the source of the message.

[0177] like Figure 2 As shown, the sender inputs parameters such as key, count, length, bearer, message, and direction into the evolved packet system integrity algorithm (EIA) to obtain a message authentication code integrity (MAC-I) or NAS-MAC.

[0178] like Figure 3As shown in FIG, the receiving end inputs parameters such as the integrity protection key, count, length, bearer, message, and direction into the EIA, and can obtain the expected excepted message authentication code integrity (XMAC-I) or the expected excepted non-access stratum message authentication code (XNAS-MAC).

[0179] The receiving end can compare the received MAC-I with the XMAC-I it generated to verify the message integrity. If the MAC-I and XMAC-I are the same, the receiving end determines that the received MAC-I has passed verification, and thus the receiving end can determine that the message sent by the sender is complete. If the MAC-I and XMAC-I are different, the receiving end can determine that the received MAC-I has not passed verification, and thus the receiving end can determine that the message sent by the sender is incomplete.

[0180] 3. Security Context

[0181] The security context refers to information that can be used to implement security protection (eg, encryption / decryption and / or integrity protection / verification) of data.

[0182] The security context may include one or more of the following: root key, encryption key, integrity protection key, specific parameters (such as NAS Count), key set identifier (KSI), security algorithm, security indication (for example, indication of whether encryption is enabled, indication of whether integrity protection is enabled, indication of key usage period, key length), etc.

[0183] The encryption key is the parameter the sender inputs when encrypting plaintext using an encryption algorithm to generate ciphertext. If symmetric encryption is used, the encryption key and decryption key are identical. The receiver can decrypt the ciphertext using the same encryption algorithm and encryption key. In other words, the sender and receiver can use the same key for encryption and decryption.

[0184] The integrity protection key is a parameter that the sender inputs when performing integrity protection on plaintext or ciphertext using an integrity protection algorithm. The receiver can verify the integrity of the integrity-protected data using the same integrity protection algorithm and integrity protection key.

[0185] Specific parameters (such as NAS Count) are input by the sender when performing anti-replay protection on plaintext or ciphertext using an anti-replay protection algorithm. The receiver can perform anti-replay verification on the protected data using the same anti-replay protection algorithm.

[0186] Security algorithms are algorithms used to protect data, such as encryption algorithms, decryption algorithms, and integrity protection algorithms.

[0187] In the embodiments of the present application, security contexts can be divided into NAS security contexts and AS security contexts. It is understood that the NAS security context is used to protect information transmitted between the terminal and the core network. The AS security context is used to protect information transmitted between the terminal and the base station.

[0188] 4. Activate NAS security

[0189] Activating NAS security includes activating NAS integrity protection and activating NAS encryption protection.

[0190] Activating NAS integrity protection: Once NAS integrity protection is activated, the integrity protection of subsequent uplink and downlink NAS messages must be handled consistently based on the NAS integrity key and NAS integrity protection algorithm of the current security context. All messages without NAS integrity protection are rejected and discarded, with the exception of certain special NAS messages, such as attach requests, location area update requests, service requests, control plane service requests, authentication requests, and identity requests. For example, after NAS integrity protection is activated, the user equipment will perform integrity protection on each uplink NAS message it sends based on the NAS integrity key and NAS integrity protection algorithm of the current security context. Each downlink NAS message it receives will be integrity-checked based on the NAS integrity key and NAS integrity protection algorithm of the current security context. After NAS integrity protection is activated, the mobility management network element will perform integrity protection on each uplink NAS message it receives based on the NAS integrity key and NAS integrity protection algorithm of the current security context. Each downlink NAS message it sends will be integrity-protected based on the NAS integrity key and NAS integrity protection algorithm of the current security context.

[0191] Activate NAS encryption protection: Once NAS encryption protection is activated, it means that the subsequent encryption protection for uplink / downlink NAS messages needs to be handled consistently according to the NAS encryption key and NAS encryption algorithm of the current security context. All messages without NAS encryption protection are not accepted and need to be discarded. For example, after the user equipment activates NAS integrity protection, each time it sends an uplink NAS message, the uplink NAS message will be encrypted and protected according to the NAS encryption key and NAS encryption algorithm of the current security context. Each time it receives a downlink NAS message, the downlink NAS message will be decrypted according to the NAS encryption key and NAS encryption algorithm of the current security context. After the mobile management network element activates NAS integrity protection, each time it receives an uplink NAS message, the uplink NAS message will be decrypted according to the NAS encryption key and NAS encryption algorithm of the current security context. Each time it sends a downlink NAS message, the downlink NAS message will be encrypted and protected according to the NAS encryption key and NAS encryption algorithm of the current security context.

[0192] 5. 5G-S-TMSI

[0193] The fifth generation globally unique temporary identity (5G-GUTI) is assigned to the terminal by the AMF.

[0194] The structure of 5G-GUTI is: 5G-GUTI= <mcc> + <mnc>+<AMF Region ID> +<AMF set ID> +<AMF Pointer> +<5G-TMSI>.

[0195] The mobile country code (MCC) is a 3-digit decimal number used to identify a country.

[0196] The Mobile Network Code (MNCO) is a 2- or 3-digit decimal number used to identify the operator's network within a country.

[0197] The AMF region ID occupies 8 bits and is used to identify a group of AMF sets.

[0198] The AMF set ID occupies 10 bits and is used to identify a group of AMFs that support the same network slice.

[0199] The AMF pointer occupies 6 bits and is used to identify an AMF.

[0200] The fifth generation temporary mobile subscriber identity (5G-TMSI) occupies 32 bits and is used to identify an AMF.

[0201] 5G-S-TMSI is the lower 48 bits of 5G-GUTI. The structure of 5G--S-TMSI is: 5G--S-TMSI=<AMF set ID> +<AMF Pointer> +<5G-TMSI>.

[0202] That is, the 5G-S-TMSI consists of 48 bits, of which the first bit to the tenth bit are used to represent the AMF set ID, the eleventh bit to the sixteenth bit are used to represent the AMF pointer, and the seventeenth bit to the forty-eighth bit are used to represent the 5G-TMSI.

[0203] 6. Truncation parameters

[0204] The truncation parameter is used to truncate the 5G-S-TMSI.

[0205] For example, the truncation parameter may include a first truncation parameter and a second truncation parameter, wherein the first truncation parameter is used to truncate the AMF set ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF Pointer and 5G-TMSI.

[0206] For ease of explanation, in the following text, the first truncation parameter is denoted as n, and the second truncation parameter is denoted as m.

[0207] It should be noted that the truncated 5G-S-TMSI = <truncated AMF set ID> + <truncated AMF Pointer> + <truncated 5G-TMSI>.

[0208] Among them, the truncated AMF set ID consists of the last n bits in the original AMF set ID.

[0209] The truncated AMF Pointer consists of the last m bits in the original AMF Pointer.

[0210] The truncated 5G-TMSI consists of the last 40 - n - m bits in the original 5G-TMSI.

[0211] For example, 5G-TMSI = 010(10bit)><000110(6bit)><000100……10(32bit)>. Assuming n = 5 and m = 3, the truncated 5G-TMSI = <01010(5bit)><110(3bit)><000100……10(32bit)>.

[0212] It should be noted that after receiving the truncated 5G-TMSI, the access network device can restore the truncated 5G-TMSI to the complete 5G-TMSI by padding with zeros.

[0213] The above is an introduction to the terms involved in the embodiments of the present application, which will not be elaborated below.

[0214] CIoT terminals for infrequent small packet transmissions (such as electricity meters) have the requirement of battery durability. For example, this type of terminal requires the battery to be used for 10 years. To meet the requirement of battery durability, 5G technology has designed the CIoT 5GS optimization feature. The CIoT 5GS optimization feature removes the feature of the terminal periodically reporting measurement reports. As a result, the source base station cannot obtain signal data to instruct the terminal to perform the handover process. In this way, the terminal using the control plane CIoT 5GS optimization function cannot switch to another base station like a traditional terminal when moving. Therefore, for the terminal using the control plane CIoT 5GS optimization function, a re-establishment process is introduced to ensure the session continuity of the terminal during movement.

[0215] During the re-establishment process, the RRC message reported by the terminal needs to carry the terminal's 5G-S-TMSI so that the access network device can address the specific AMF based on the 5G-S-TMSI and enable the AMF to find the terminal's security context based on the 5G-S-TMSI. However, the length of the RRC message is limited, and the length of the 5G-S-TMSI exceeds the maximum length of the RRC message, so the RRC message cannot carry the complete 5G-S-TMSI. Therefore, the terminal needs to use the truncation parameter to truncate the 5G-S-TMSI so that the RRC message carries the truncated 5G-S-TMSI.

[0216] like Figure 4 As shown, in the prior art, the process of configuring truncation parameters for a terminal by an access network device includes the following steps:

[0217] S10. The access network device pre-configures m and n.

[0218] S11. A registration process is performed between the terminal and the network side.

[0219] S12. The access network device sends an RRC reconfiguration message to the terminal. The RRC reconfiguration message includes m and n.

[0220] S13. The terminal stores m and n.

[0221] S14. The terminal obtains a truncated 5G-S-TMSI based on m, n and 5G-S-TMSI.

[0222] Optionally, the condition for the terminal to execute step S14 may be: the re-establishment process is triggered.

[0223] S15. The terminal sends an RRC re-establishment request message to the access network device, where the RRC re-establishment request message includes a truncated 5G-S-TMSI.

[0224] It should be noted that the RRC Re-establishment Request message can carry a maximum of 67 bits of information. The RRC Re-establishment Request message needs to reserve at least 27 bits for other parameters besides the 5G-S-TMSI. Therefore, the truncated 5G-S-TMSI carried in the RRC Re-establishment Request cannot exceed 40 bits.

[0225] S16. The access network device recovers the 5G-S-TMSI based on m, n, and the truncated 5G-GUTI.

[0226] exist Figure 4 In the illustrated process, no AS security context is established between a terminal using the CIoT 5GS control plane optimization function and the access network device. Therefore, the RRC messages sent by the access network device to the terminal using the CIoT 5GS control plane optimization function are not protected by the AS security. This poses a security risk that the truncated parameters carried in the RRC messages could be tampered with by an attacker.

[0227] In order to solve the problem of security risks in the transmission process of truncated parameters, the embodiments of the present application provide a method and device for protecting truncated parameters, and the details are as follows.

[0228] The technical solutions provided in the embodiments of the present application can be applied to various communication systems, such as 5G communication systems, future evolution systems, or multiple communication convergence systems. The technical solutions provided in the present application can be applied to a variety of application scenarios, such as machine to machine (M2M), macro and micro communications, enhanced mobile broadband (eMBB), ultra-reliable and ultra-low latency communication (ultra-reliable & low latency communication, uRLLC), and massive machine type communication (mMTC). These scenarios may include but are not limited to: communication scenarios between communication devices, communication scenarios between network devices, and communication scenarios between network devices. The following description will be based on the application of the communication scenario between network devices and terminals as an example.

[0229] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0230] like Figure 5 The figure shows the architecture of a 5G network to which the technical solutions provided in the embodiments of the present application are applicable. The 5G network may include: a terminal, a radio access network (RAN) or an access network (AN) (hereinafter referred to as (R)AN), a core network (CN), and a data network (DN).

[0231] Among them, the terminal can be a device with wireless transceiver function. The terminal can have different names, such as user equipment (UE), access terminal, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication device, terminal agent or terminal device, etc. The terminal can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal includes a handheld device, vehicle-mounted device, wearable device or computing device with wireless communication function. Exemplarily, the terminal can be a mobile phone, a tablet computer or a computer with wireless transceiver function. The terminal device can also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in smart grid, a wireless terminal in smart city, a wireless terminal in smart home, etc. In the embodiments of the present application, the device for implementing the functions of the terminal may be a terminal, or a device capable of supporting the terminal in implementing the functions, such as a chip system. In the embodiments of the present application, the chip system may be composed of a chip, or may include a chip and other discrete components. In the embodiments of the present application, the technical solutions provided in the embodiments of the present application are described using the terminal as an example.

[0232] In an embodiment of the present application, the terminal may be a terminal using the control plane CIoT 5GS optimization function. The terminal using the CIoT5GS optimization function uses the payload of the NAS message to transmit uplink and downlink user data between the terminal and the SMF without establishing a user plane connection for the PDU session. The NAS security context is used between the terminal using the CIoT 5GS optimization function and the AMF to perform integrity protection and encryption on the user data.

[0233] It should be noted that the control plane CIoT 5GS optimization can also be recorded as CIoT 5GS control plane optimization, but the embodiments of this application are not limited to this.

[0234] Access network equipment can also be called a base station. Base stations can include various forms of base stations, such as macro base stations, micro base stations (also known as small stations), relay stations, access points, etc. Specifically, they can be: access points (APs) in wireless local area networks (WLANs), base stations (Base Transceiver Stations, BTSs) in global systems for mobile communications (GSM) or code division multiple access (CDMA), base stations (NodeBs, NBs) in wideband code division multiple access (WCDMA), eNBs in LTE, relay stations or access points, in-vehicle devices, wearable devices, and the next generation node B (gNB) in future 5G networks, or base stations in future evolved public land mobile networks (PLMNs).

[0235] A base station typically consists of a baseband unit (BBU), a remote radio unit (RRU), an antenna, and the feeder cables connecting the RRU and antenna. The BBU is responsible for signal modulation. The RRU is responsible for RF processing. The antenna converts the guided waves on the cable into airborne waves. Distributed base stations significantly shorten the feeder cable between the RRU and antenna, reducing signal loss and lowering feeder costs. Furthermore, the RRU and antenna are relatively compact and can be installed anywhere, making network planning more flexible. In addition to remote RRUs, all BBUs can be centralized and placed in a central office (CO). This centralized approach significantly reduces the number of base station equipment rooms and the energy consumption of supporting equipment, especially air conditioning, significantly reducing carbon emissions. Furthermore, by centralizing distributed BBUs into a BBU baseband pool, unified management and scheduling are possible, making resource allocation more flexible. In this model, all physical base stations become virtual base stations. All virtual base stations share user data transmission and reception, channel quality and other information in the BBU baseband pool, and cooperate with each other to achieve joint scheduling.

[0236] In some deployments, a base station may include a centralized unit (CU) and a distributed unit (DU). The base station may also include an active antenna unit (AAU). The CU implements some of the base station's functions, while the DU implements some of the base station's functions. For example, the CU is responsible for processing non-real-time protocols and services, implementing the functions of the RRC layer and the packet data convergence protocol (PDCP) layer. The DU is responsible for processing physical layer protocols and real-time services, implementing the functions of the radio link control (RLC), media access control (MAC), and physical (PHY) layers. The AAU implements some physical layer processing functions, RF processing, and active antenna-related functions. Since RRC layer information will eventually become PHY layer information, or be converted from PHY layer information, in this architecture, higher-layer signaling, such as RRC layer signaling or PDCP layer signaling, can also be considered to be sent by the DU, or by the DU+AAU. It is understood that in the embodiments of the present application, the access network device may include one or more of a CU node, a DU node, and an AAU node. In addition, the CU may be classified as a network device in the RAN, or the CU may be classified as a network device in the core network (CN), without limitation herein.

[0237] In one possible design, the base station can separate the control plane (CP) and user plane (UP) of the CU and implement them as different entities. That is, the CU can be divided into CU-CP and CU-UP.

[0238] The core network includes multiple core network elements (or network function network elements), such as access and mobility management function (AMF) network element, session management function (SMF) network element, policy control function (PCF) network element, user plane function (UPF) network element, application layer function (application function) network element, authentication server function (AUSF) network element, and unified data management (UDM) network element.

[0239] In addition, the core network can also include some Figure 5 The network elements not shown in the figure, such as the security anchor function (SEAF) network element and the authentication credential repository and processing function (ARPF), are not described in detail in the embodiment of the present application.

[0240] The AMF network element is primarily responsible for mobility management processing, such as access control, mobility management, attach and detach, and SMF selection. When the AMF network element provides services for a session in a terminal, it provides control plane storage resources for the session to store the session identifier and the SMF identifier associated with the session identifier.

[0241] Among them, the terminal communicates with the AMF through the next generation network (Next generation, N) 1 interface (referred to as N1), the RAN device communicates with the AMF through the N2 interface (referred to as N2), the RAN device communicates with the UPF through the N3 interface (referred to as N3), and the UPF communicates with the DN through the N6 interface (referred to as N6).

[0242] Control plane network elements such as AMF, SMF, UDM, AUSF, or PCF can also use service-oriented interfaces to interact. For example, Figure 5 As shown, the service interface provided by AMF to the outside world may be Namf; the service interface provided by SMF to the outside world may be Nsmf; the service interface provided by UDM to the outside world may be Nudm; the service interface provided by PCF to the outside world may be Npcf, and the service interface provided by AUSF to the outside world may be Nausf; they will not be described one by one here.

[0243] like Figure 6 As shown in FIG, a schematic diagram of a protocol stack provided in an embodiment of the present application is provided. Figure 6 As shown in FIG, the terminal protocol stack includes at least the non-access stratum, RRC layer, packet data convergence protocol (PDCP) layer, radio link control (RLC) layer, media access control (MAC) layer, and physical layer (PHY layer). Among them, the RRC layer, PDCP layer, RLC layer, MAC layer, and PHY layer all belong to the access stratum.

[0244] The non-access layer is a functional layer between the terminal and the core network, used to support signaling and data transmission between the terminal and network elements of the core network (such as mobility management network elements).

[0245] The RRC layer is used to support functions such as radio resource management and RRC connection control.

[0246] For other protocol layers, such as the PDCP layer, the RLC layer, etc., their definitions and functions can be found in the description of the prior art and will not be repeated here.

[0247] Optionally, the devices mentioned in the embodiments of the present application, such as terminals, mobile management network elements, access network devices, etc., can be Figure 7 The device shown is implemented.

[0248] like Figure 7 As shown, the apparatus 100 includes at least one processor 101 , a communication line 102 , a memory 103 and at least one communication interface 104 .

[0249] The processor 101 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0250] The communication line 102 is used to transmit information between the above components.

[0251] The communication interface 104 , which uses any transceiver or other device, is used to communicate with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.

[0252] The memory 103 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via the communication line 102. The memory may also be integrated with the processor.

[0253] The memory 103 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 101. The processor 101 is used to execute the computer-executable instructions stored in the memory 103, thereby implementing the technical solution provided by the embodiment of the present application.

[0254] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.

[0255] In a specific implementation, as an embodiment, the processor 101 may include one or more CPUs, such as Figure 7 CPU0 and CPU1 in.

[0256] In a specific implementation, as an embodiment, the apparatus 100 may include multiple processors, such as Figure 7 1 and 107. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0257] In a specific implementation, as an embodiment, the apparatus 100 may further include an output device 105 and an input device 106. The output device 105 communicates with the processor 101 and can display information in a variety of ways. For example, the output device 105 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 106 communicates with the processor 101 and can receive user input in a variety of ways. For example, the input device 106 can be a mouse, a keyboard, a touch screen device, or a sensor device.

[0258] The technical solution provided by this application is described in detail below with reference to the accompanying drawings.

[0259] In order to reduce the security risk of truncated parameters during transmission, the present application provides the following three embodiments.

[0260] Among them, Examples 1 and 3 can be applied to scenarios where a terminal accesses the network, and Example 2 can be applied to scenarios where the AMF updates the truncation parameters of the terminal it serves. It should be noted that the technical features involved in the following three embodiments can refer to each other and be combined with each other. For example, when a terminal X using the control plane CIoT5GS optimization function registers to the network, it can trigger the execution of the solution described in Example 1, thereby securely obtaining the truncation parameters. Subsequently, the AMF on the network side will also actively update the truncation parameters for the terminal X according to the method described in Example 2.

[0261] Example 1

[0262] like Figure 8 As shown, a method for protecting truncated parameters provided in an embodiment of the present application includes the following steps:

[0263] S101. A mobility management network element determines whether a terminal accessing a network meets preset conditions.

[0264] In 5G networks, the mobility management element can be the AMF; in future evolution systems, the mobility management element can be a NAS security termination point similar to the AMF. This is explained here and will not be repeated below.

[0265] In an embodiment of the present application, the preset conditions include at least: the terminal uses the control plane CIoT 5GS optimization function.

[0266] Optionally, the preset conditions include the following situations:

[0267] Scenario 1: The default condition is: the terminal uses the control plane CIoT 5GS optimization function.

[0268] Based on scenario 1, step S101 can be specifically implemented as follows: the mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function. If the terminal uses the control plane CIoT 5GS optimization function, the mobility management network element determines that the terminal meets the preset conditions; if the terminal does not use the control plane CIoT 5GS optimization function, the mobility management network element determines that the terminal does not meet the preset conditions.

[0269] In an embodiment of the present application, the mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, including the following implementation methods:

[0270] Implementation method 1: The mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function based on the preferred network behavior reported by the terminal.

[0271] The preferred network behavior can be included in the registration request message sent by the terminal. The preferred network behavior indicates the network functions supported by the terminal. Alternatively, the preferred network behavior indicates the network functions that the terminal prefers to use. For example, the preferred network behavior may indicate whether the terminal supports the control plane CIoT 5GS optimization function, whether it supports the user plane CIoT 5GS optimization function, whether it supports N3 data transmission, whether it supports header compression, and so on.

[0272] That is to say, if the preferred network behavior reported by the terminal is used to indicate that the terminal prefers to use the control plane CIoT 5GS optimization function, and the mobile management network element supports the control plane CIoT 5GS optimization function, the mobile management network element can determine that the terminal uses the control plane CIoT 5GS optimization function.

[0273] Alternatively, if the preferred network behavior reported by the terminal is used to indicate that the terminal prefers to use the control plane CIoT 5GS optimization function, but the mobile management network element does not support the control plane CIoT 5GS optimization function, the mobile management network element can determine that the terminal does not use the control plane CIoT 5GS optimization function.

[0274] Alternatively, if the preferred network behavior reported by the terminal is used to indicate that the terminal does not prefer to use the control plane CIoT 5GS optimization function, the mobile management network element determines that the terminal does not use the control plane CIoT 5GS optimization function.

[0275] Implementation method 2: The mobile management network element determines whether the terminal uses the control plane CIoT5GS optimization function based on the terminal context.

[0276] That is, when the context of the terminal indicates that the terminal uses the control plane CIoT 5GS optimization function, the mobility management network element determines that the terminal uses the control plane CIoT 5GS optimization function. Alternatively, when the context of the terminal indicates that the terminal does not use the control plane CIoT 5GS optimization function, the mobility management network element determines that the terminal does not use the control plane CIoT 5GS optimization function.

[0277] It should be noted that if the terminal uses the control plane CIoT 5GS optimization function, no AS security context will be established between the terminal and the access network device. Therefore, the truncated parameters cannot be transmitted in the same way as in the prior art to avoid tampering by attackers. Based on this, the mobility management network element needs to perform the following step S102.

[0278] Scenario 2: The preset conditions are: the terminal uses the control plane CIoT 5GS optimization function, and the terminal is the first terminal to be registered with the network.

[0279] Based on scenario 2, step S101 can be specifically implemented as follows: the mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function and whether the terminal is a terminal that is initially registered with the network. If the terminal uses the control plane CIoT 5GS optimization function and the terminal is a terminal that is initially registered with the network, the mobility management network element determines that the terminal meets the preset conditions. If the terminal does not use the control plane CIoT 5GS optimization function, or the terminal is not a terminal that is initially registered with the network, the mobility management network element determines that the terminal does not meet the preset conditions.

[0280] In an embodiment of the present application, the mobility management network element determines whether the terminal is a terminal that is initially registered with the network based on the registration type reported by the terminal.

[0281] The terminal's registration type may be carried in the registration request message sent by the terminal. The terminal's registration type includes: initial registration, mobile update registration, periodic registration update, or emergency registration.

[0282] That is, when the terminal's registration type is initial registration, the mobility management network element can determine that the terminal is a terminal that has initially registered with the network. Alternatively, when the terminal's registration type is mobile update registration, periodic registration update, or emergency registration, the mobility management network element can determine that the terminal is not a terminal that has initially registered with the network.

[0283] Optionally, in the registration process, the preset condition may adopt scenario 2.

[0284] It should be noted that the truncation parameters do not change frequently, so the network side does not need to send the truncation parameters to the terminal in each terminal registration process. Therefore, for a terminal using the control plane CIoT 5GS optimization function, if the terminal is initially registered with the network, the mobility management network element executes the following step S102 to ensure that the terminal receives the correct truncation parameters; if the terminal is not initially registered with the network, it means that the terminal has stored the truncation parameters, so the mobility management network element can choose not to execute the following step S102 to save signaling overhead.

[0285] Scenario 3: The preset conditions are: the terminal uses the control plane CIoT 5GS optimization function, and the terminal needs to update the truncation parameters.

[0286] Based on scenario three, step S101 can be specifically implemented as follows: the mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function and whether the terminal needs to update the truncation parameters. If the terminal uses the control plane CIoT 5GS optimization function and the terminal needs to update the truncation parameters, the mobility management network element determines that the terminal meets the preset conditions. If the terminal does not use the control plane CIoT 5GS optimization function, or the terminal does not need to update the truncation parameters, the mobility management network element determines that the terminal does not meet the preset conditions.

[0287] In the embodiment of the present application, the mobility management network element determines whether the terminal needs to update the truncation parameter, including one of the following implementation methods:

[0288] Implementation method 1: The mobility management network element determines whether the truncation parameter configured by itself is the same as the truncation parameter stored in the context of the terminal, so as to determine whether the terminal needs to update the truncation parameter.

[0289] It should be noted that the mobility management network element stores the truncation parameters currently used by the terminal in the context of the terminal. That is, the truncation parameters stored in the context of the terminal are the truncation parameters currently used by the terminal.

[0290] That is, when the truncation parameter configured by the mobility management network element is different from the truncation parameter stored in the context of the terminal, the mobility management network element may determine that the terminal needs to update the truncation parameter. Alternatively, when the truncation parameter configured by the mobility management network element is the same as the truncation parameter stored in the context of the terminal, the mobility management network element may determine that the terminal does not need to update the truncation parameter.

[0291] Implementation method 2: The mobility management network element determines whether the terminal needs to update the truncation parameters by determining whether the current time is within a preset time period.

[0292] The starting time of the preset time period is the time when the mobility management network element determines that the truncation parameter is updated, and the duration of the preset time period is the preset duration. For example, the preset duration can be 1 minute or 10 minutes.

[0293] Optionally, the preset duration is greater than the time interval for periodic registration updates.

[0294] For example, the preset duration may be greater than twice the time interval of the periodic registration update.

[0295] It should be noted that the network can configure a periodic registration update interval for terminals, for example, 10 minutes. After the terminal's waiting time exceeds this interval, it will proactively initiate a registration request to notify the network that the terminal is still online. Therefore, the network sets the preset duration to be greater than twice the periodic registration update interval. This allows the mobility management network element to ensure that all online terminals can update their truncation parameters within the preset time.

[0296] That is, when the current time is within the preset time period, the mobility management network element determines that the terminal needs to update the truncation parameters; when the current time is not within the preset time period, the mobility management network element determines that the terminal does not need to update the truncation parameters.

[0297] Optionally, in a scenario where the truncation parameter is updated, the preset condition may adopt scenario three.

[0298] It should be noted that the manner in which the mobility management network element updates the truncation parameter can be referred to the description of step S401 below, which will not be described in detail here.

[0299] It should be noted that regardless of whether the terminal stores truncated parameters, when the network side updates the truncated parameters, the network side needs to send the updated truncated parameters to the terminal to avoid the terminal using the unupdated truncated parameters and obtaining the wrong truncated 5G-S-TMSI. Therefore, for terminals using the control plane CIoT 5GS optimization function, when the mobile management network element determines that the terminal needs to update the truncated parameters, the mobile management network element executes the following step S102 to ensure that the terminal can obtain the latest truncated parameters, thereby ensuring that the terminal can access the network normally; when the mobile management network element determines that the terminal does not need to update the truncated parameters, the mobile management network element may not execute the following step S102 to save signaling overhead.

[0300] It should be noted that the above situations 1 to 3 are merely examples of preset conditions, and the embodiments of the present application are not limited thereto.

[0301] S102: When the terminal meets a preset condition, the mobility management network element sends a downlink NAS message to the terminal that is NAS-secured via a NAS security context, where the downlink NAS message includes a truncation parameter.

[0302] Optionally, the mobility management network element may pre-store the truncation parameter; or the mobility management network element obtains the truncation parameter from the access network device.

[0303] The NAS security protection includes at least integrity protection and optionally encryption protection.

[0304] It is understandable that, since the downlink NAS message is protected by NAS security, the truncated parameters in the downlink NAS message are also protected by NAS security, thereby ensuring the security of the truncated parameters.

[0305] It should be noted that the downlink NAS message may be a newly added signaling or may reuse signaling in an existing process.

[0306] For example, in the registration process, the downlink NAS message may be a registration accept message.

[0307] For another example, in the service request process, the downlink NAS message may be a servers accept message.

[0308] S103: The terminal performs security protection on the downlink NAS.

[0309] When the NAS security protection for the downlink NAS message is integrity protection, the de-security protection is integrity check. Alternatively, when the downlink NAS message is integrity protected and encrypted, the de-security protection is integrity check and decryption.

[0310] S104: After successfully de-protecting the downlink NAS message, the terminal stores the truncation parameter.

[0311] As a possible implementation manner, after the NAS layer of the terminal successfully de-protects the downlink NAS message, the NAS layer of the terminal stores the truncation parameter.

[0312] As another possible implementation, after successfully de-protecting the downlink NAS message, the NAS layer of the terminal sends a truncation parameter to the RRC layer of the terminal, and the RRC layer of the terminal stores the truncation parameter.

[0313] based on Figure 8 In the technical solution shown, since the preset conditions include at least the terminal's use of the control plane CIoT 5GS optimization function, the terminal meets the preset conditions, indicating that the terminal uses the control plane CIoT 5GS optimization function. When the mobility management network element determines that the terminal uses the control plane CIoT 5GS optimization function, the mobility management network element sends a downlink NAS message to the terminal that is NAS-protected using a NAS security context to ensure that the truncated parameters are NAS-protected during transmission. This ensures that the truncated parameters are not tampered with or forged, thereby preventing the terminal from being attacked by an attacker and ensuring that the terminal can access the network normally.

[0314] The following is an explanation based on specific application scenarios. Figure 8 The technical solution shown.

[0315] Scenario 1: The mobility management network element pre-stores truncation parameters.

[0316] Based on scenario 1, Figure 9 As shown, a method for protecting truncated parameters provided in an embodiment of the present application includes the following steps:

[0317] S200: The mobility management network element pre-stores truncation parameters.

[0318] Optionally, the staff may configure the truncation parameters to the mobility management network element through the network management system, so that the mobility management network element can pre-store the truncation parameters.

[0319] In one possible design, the truncation parameter can be at the PLMN granularity or at the regional granularity. That is, the truncation parameter configured by the network management system can be applicable to the entire PLMN or only to a certain region.

[0320] The embodiment of the present application does not limit the specific implementation method of how the mobility management network element pre-configures the truncation parameters.

[0321] S201. A terminal sends an uplink NAS message to a mobility management network element, so that the mobility management network element receives the uplink NAS message sent by the terminal.

[0322] Exemplarily, the uplink NAS message may be a registration request message, a service request message, etc., but the embodiments of the present application are not limited thereto.

[0323] It should be noted that the registration request message may include the registration type (5GS registration type) and the preferred network behavior.

[0324] S202: Activate NAS security between the terminal and the mobility management network element.

[0325] For example, taking the uplink NAS message as a registration request message, after the mobility management network element receives the registration request message, the mobility management network element performs an authentication and key agreement (AKA) process on the terminal. After successful authentication, the mobility management network element and the terminal activate the NAS security context between the terminal and the mobility management network element through a NAS security mode command (SMC) process.

[0326] For example, taking the uplink NAS message as a service request message, after the mobility management network element receives the service request message, the mobility management network element performs an integrity check on the service request message; after the service request message passes the integrity check, the mobility management network element activates the NAS security context between the terminal and the mobility management network element.

[0327] S203-S206 are similar to steps S101-S104, and their detailed description can be found in Figure 8 The embodiments shown are not described in detail here.

[0328] Optionally, when the uplink NAS message is a registration request message, the downlink NAS message is a registration accept message.

[0329] Optionally, when the uplink NAS message is a service request message, the downlink NAS message is a service accept message.

[0330] based on Figure 9 In the embodiment shown, in some processes, such as the registration process or the service request process, the mobility management network element can actively determine whether the terminal meets the preset conditions; if the terminal meets the preset conditions, the mobility management network element sends truncated parameters that have been securely protected by NAS to the terminal, so that the terminal can use the truncated parameters in subsequent processes.

[0331] Scenario 2: The access network device pre-stores the truncation parameters.

[0332] Based on scenario 2, Figure 10 As shown, a method for protecting truncated parameters provided in an embodiment of the present application includes the following steps:

[0333] S300: The access network device pre-stores truncation parameters.

[0334] It should be noted that the access network equipment generally pre-configures truncation parameters so that the access network equipment can restore the complete 5G-S-TMSI based on the truncation parameters and the truncated 5G-S-TMSI.

[0335] Optionally, the staff may configure the truncation parameters to the access network device through the network management system, so that the access network device can pre-store the truncation parameters.

[0336] In one possible design, the truncation parameter can be at the PLMN granularity or at the regional granularity. That is, the truncation parameter configured by the network management system can be applicable to the entire PLMN or only to a certain region.

[0337] The embodiment of the present application does not limit the specific implementation method of how the access network device pre-configures the truncation parameters.

[0338] S301. The terminal sends an uplink RRC message to the access network device.

[0339] Exemplarily, the uplink RRC message may be an RRC establishment request message or an RRC establishment completion message, but the embodiments of the present application are not limited thereto.

[0340] Optionally, in addition to the uplink RRC message, the terminal may also send an uplink NAS message to the access network device so that the access network device forwards the uplink NAS message to the mobility management network element. Exemplarily, the uplink NAS message may be a registration request message or a service request message, but the embodiments of the present application are not limited thereto.

[0341] In one possible design, an uplink NAS message can serve as the payload of an uplink RRC message. For example, the uplink RRC message includes a NAS container, which contains the uplink NAS message. In this way, the terminal transmits the uplink RRC message and the uplink NAS message to the access network device, thereby transmitting both the uplink RRC message and the uplink NAS message to the network.

[0342] In another possible design, the terminal sends an uplink NAS message and an uplink RRC message to the access network device respectively.

[0343] S302. The access network device determines whether the terminal supports the CIoT 5GS optimization feature.

[0344] Among them, the CIoT 5GS optimization features include user plane CIoT 5GS optimization functions and / or control plane CIoT 5GS optimization functions.

[0345] That is, the terminal supports the CIoT 5GS optimization feature, which means that the terminal may support the user plane CIoT 5GS optimization function and / or the control plane CIoT 5GS optimization function.

[0346] Optionally, step S302 adopts at least one of the following implementations:

[0347] Implementation method 1: When the uplink RRC message includes a capability indication, the access network device determines whether the terminal supports the CIoT 5GS optimization feature based on the capability indication. In other words, if the capability indication is used to indicate that the terminal supports the CIoT 5GS optimization feature, the access network device determines that the terminal supports the CIoT 5GS optimization feature.

[0348] Optionally, if the capability indication does not indicate that the terminal supports the CIoT 5GS optimization feature, the access network device determines that the terminal does not support the CIoT 5GS optimization feature.

[0349] Implementation method 2: The access network device determines whether the terminal supports the CIoT 5GS optimization feature based on the terminal's access frequency. In other words, if the terminal accesses the frequency used by the CIoT device, the access network device determines that the terminal supports the CIoT 5GS optimization feature.

[0350] Optionally, if the terminal does not access the frequency used by the CIoT device, the access network device determines that the terminal does not support the CIoT5GS optimization feature.

[0351] Implementation method three: The access network device determines whether the terminal supports the CIoT5GS optimization feature based on the type of message sent by the terminal. In other words, if the type of message sent by the terminal is the same as the type of message dedicated to CIoT devices, the access network device determines that the terminal supports the CIoT 5GS optimization feature.

[0352] Optionally, if the type of message sent by the terminal is different from the type of message dedicated to the CIoT device, the access network device determines that the terminal does not support the CIoT 5GS optimization feature.

[0353] It is understandable that the above implementations 1 to 3 are merely examples of specific implementations of step S302. In practical applications, the above implementations 1, 2, and / or 3 can be used in combination with each other.

[0354] It should be noted that if the access network device determines that the terminal supports the CIoT 5GS optimization feature, the access network device executes the following step S303.

[0355] S303: The access network device sends an N2 message to the mobility management network element, so that the mobility management network element receives the N2 message sent by the access network device.

[0356] The N2 message includes a truncation parameter.

[0357] Optionally, the N2 message may be an initial UE message (Initial UE message).

[0358] Optionally, when the terminal also sends an uplink NAS message to the access network device, the N2 message carries the uplink NAS message.

[0359] S304-S307 are similar to steps S101-S04, and their detailed description can be found in Figure 8 The embodiments shown are not described in detail here.

[0360] based on Figure 10 In the illustrated embodiment, when the access network device stores truncation parameters, the access network device determines whether the accessed terminal supports the CIoT 5GS optimization feature. Subsequently, if the terminal supports the CIoT 5GS optimization feature, the access network device sends the truncation parameters to the mobility management network element, so that in subsequent processes, the mobility management network element can send the truncation parameters, which are protected by NAS security, to the terminal using the control plane CIoT 5GS optimization function. In the above process, the mobility management network element can obtain the truncation parameters from the access network device, so the mobility management network element does not need to pre-configure the truncation parameters, thereby reducing the configuration complexity of the truncation parameters.

[0361] Example 2

[0362] like Figure 11 As shown, a method for protecting truncated parameters provided in an embodiment of the present application includes the following steps:

[0363] S401. The mobility management network element updates truncation parameters.

[0364] Optionally, step S401 may include one of the following implementations:

[0365] Implementation method 1: The mobility management network element updates the truncation parameters according to the number of AMF set IDs and / or the number of AMF pointers.

[0366] For example, if the AMF set ID and / or AMF pointer truncated according to the current truncation parameters cannot represent all allocated mobility management network elements, the mobility management network element needs to adjust the truncation parameters.

[0367] For example, for the current truncation parameters, n is set to 5 and m is set to 3, then the truncated AMF set ID has only 5 bits, and the total number of AMF sets that the truncated AMF set ID can indicate is 32; the truncated AMF pointer has only 3 bits, and the total number of pointers that the truncated AMF pointer can indicate is 8. If the current number of AMF sets is 14 and the number of pointers is 9, the mobility management network element needs to update the truncation parameters. Optionally, for the updated truncation parameters, n can be adjusted to 4 and m can be adjusted to 4. In this way, the total number of AMF sets that the truncated AMF set ID can indicate is 16, and the total number of pointers that the truncated AMF pointer can indicate is 16.

[0368] Implementation method 2: The mobility management network element updates the truncation parameter according to the instruction of the network management system.

[0369] Optionally, the network management system may be an operation administration and maintenance (OAM) system.

[0370] Implementation method three: The mobility management network element receives the updated truncation parameter sent by the access network device.

[0371] It should be noted that the access network device can update the truncation parameters according to the instructions of the network management system.

[0372] S402. The mobile management network element finds a terminal that uses the control plane CIoT 5GS optimization function.

[0373] As a possible implementation method, the mobility management network element stores the context of the terminal, and the context of the terminal includes indication information of whether the corresponding terminal is a terminal using the control plane CIoT 5GS optimization function. The mobility management network element determines the terminal using the control plane CIoT 5GS optimization function based on the contexts of multiple terminals stored therein.

[0374] It is understandable that the number of terminals using the control plane CIoT 5GS optimization function may be one or more.

[0375] S403. The mobility management network element sends a downlink NAS message with NAS security protection through the NAS security context to the terminal using the control plane CIoT 5GS optimization function.

[0376] The downlink NAS message includes the updated truncation parameter.

[0377] For any terminal using the control plane CIoT 5GS optimization function, the mobility management network element sends a downlink NAS message to the terminal, including one of the following implementation methods:

[0378] Implementation method 1: If the terminal using the control plane CIoT 5GS optimization function is in the connected state, the mobility management network element can directly send a downlink NAS message with NAS security protection through the NAS security context to the terminal using the control plane CIoT 5GS optimization function.

[0379] Optionally, based on implementation mode 1, the downlink NAS message may be a UE Configuration Update Command message.

[0380] Implementation method 2: If the terminal using the control plane CIoT 5GS optimization function is in a non-connected state, the mobility management network element waits for the terminal to enter a connected state; after the terminal enters a connected state and activates NAS security, the mobility management network element sends a downlink NAS message to the terminal that is protected by NAS security through the NAS security context.

[0381] In the embodiment of the present application, the non-connected state may be an idle state or an RRC inactive state.

[0382] It should be noted that a terminal in a non-connected state can enter a connected state by actively initiating a service request message.

[0383] Optionally, based on implementation mode 2, the downlink NAS message may be a service acceptance message or a UE configuration update command message.

[0384] Implementation method three: If the terminal using the control plane CIoT 5GS optimization function is in a non-connected state, the mobile management network element actively pages the terminal to trigger the terminal to enter a connected state; after the terminal enters the connected state and activates NAS security, the mobile management network element sends a downlink NAS message to the terminal that is NAS security protected through the NAS security context.

[0385] Optionally, based on implementation mode three, the downlink NAS message may be a service acceptance message or a UE configuration update command (UE Configuration Update Command) message.

[0386] It should be noted that when the terminal is in a disconnected state, the terminal does not need to truncate the 5G-S-TMSI, so the terminal in the disconnected state does not need to update the truncation parameters immediately. In this case, the mobility management network element waits for the terminal to return to the connected state before updating the truncation parameters for the terminal. This can prevent the mobility management network element from sending a large number of NAS signaling to the terminal at the same time, thereby causing signaling congestion.

[0387] In addition, based on the third implementation mode, the mobility management network element does not actively wake up the terminal in the non-connected state, which is conducive to saving the power consumption of the terminal.

[0388] S404-S405 are similar to steps S103-S104, and their detailed description can be found in Figure 8 The embodiments shown are not described in detail here.

[0389] based on Figure 11 In the technical solution shown, after the mobile management network element updates the truncation parameters, the mobile management network element actively sends the updated truncation parameters that are securely protected by NAS to the terminal using the control plane CIoT 5GS optimization function, so that the terminal can obtain the updated truncation parameters, thereby avoiding the situation where the terminal cannot access the network normally due to the use of incorrect truncation parameters.

[0390] Example 3

[0391] like Figure 12 As shown, a method for protecting truncated parameters provided in an embodiment of the present application includes the following steps:

[0392] S500-S503 are similar to steps S300-S303, and their detailed description can be found in Figure 10 The embodiments shown are not described in detail here.

[0393] Optionally, in addition to the truncation parameter, the access network device may also send a freshness parameter and / or protection indication information to the mobility management network element.

[0394] The freshness parameter is used for integrity calculation of the truncation parameter and is used to ensure that the two generated NAS MACs are different. For example, the freshness parameter can be a downlink PDCP count value (count).

[0395] The protection indication information is used to instruct the mobility management network element to perform security protection on the truncated parameters.

[0396] S504: The mobility management network element performs integrity calculation on the truncated parameter according to the NAS security context to generate a first NAS MAC.

[0397] As a possible implementation manner, when the mobility management network element receives the truncated parameter, the mobility management network element performs integrity calculation on the truncated parameter to generate a first NAS MAC.

[0398] As another possible implementation, when the mobility management network element receives the truncated parameter and the protection indication information, the mobility management network element performs an integrity calculation on the truncated parameter and generates the first NAS MAC. When the mobility management network element receives the truncated parameter but does not receive the protection indication information, the mobility management network element does not perform an integrity calculation on the truncated parameter.

[0399] Optionally, the mobility management network element generates a first NAS MAC according to the integrity protection key, the truncation parameter, and the integrity protection algorithm.

[0400] Optionally, when the access network device sends the freshness parameter to the mobility management network element, the mobility management network element generates a first NAS MAC according to the integrity protection key, the truncation parameter, the integrity protection algorithm, and the freshness parameter.

[0401] S505: The mobility management network element sends a first NAS MAC to the access network device, so that the access network device receives the first NAS MAC sent by the mobility management network element.

[0402] S506: The access network device sends the truncation parameter and the first NAS MAC to the terminal, so that the terminal receives the truncation parameter and the first NAS MAC sent by the access network device.

[0403] The truncation parameter and the first NAS MAC may be carried in a downlink RRC message.

[0404] Optionally, the downlink RRC message also carries a freshness parameter indication, which may be part of the bits of the downlink PDCP COUNT.

[0405] Exemplarily, the downlink RRC message may be an RRC reconfiguration message, but the embodiments of the present application are not limited thereto.

[0406] S507: The terminal performs integrity calculation on the truncated parameter according to the NAS security context to generate a second NAS MAC.

[0407] Optionally, the terminal generates a second NASMAC according to the integrity protection key, the truncation parameter, and the integrity protection algorithm.

[0408] Optionally, when the terminal also receives a freshness parameter indication sent by the access network device, the terminal generates a second NAS MAC according to the integrity protection key, the truncation parameter, the freshness parameter, and the integrity protection algorithm.

[0409] It should be noted that after the terminal receives the freshness parameter indication, the terminal can obtain the freshness parameter according to the freshness parameter indication. For example, the terminal can restore the complete downlink PDCP COUNT according to some bits of the downlink PDCP COUNT.

[0410] S508: The terminal verifies the first NAS MAC according to the second NAS MAC.

[0411] As one possible implementation, the terminal determines whether the second NAS MAC is identical to the first NAS MAC. If the first NAS MAC and the second NAS MAC are identical, the terminal determines that the first NAS MAC has passed verification. If the first NAS MAC and the second NAS MAC are different, the terminal determines that the first NAS MAC has failed verification.

[0412] S509: After the first NAS MAC passes verification, the terminal stores the truncation parameter.

[0413] As a possible implementation manner, after the first NAS MAC passes verification, the RRC layer of the terminal stores the truncation parameter.

[0414] As another possible implementation, after the first NAS MAC passes verification, the RRC layer of the terminal sends the truncation parameter to the NAS layer of the terminal; thereafter, the NAS layer of the terminal stores the truncation parameter.

[0415] based on Figure 12 In the technical solution shown, when the access network device needs to send truncated parameters to a terminal, it first sends the truncated parameters to the mobility management network element to obtain the first NAS MAC corresponding to the truncated parameters. The access network device then sends the truncated parameters and the first NAS MAC to the terminal. This allows the terminal to verify whether the truncated parameters have been tampered with by an attacker using the first NAS MAC, thereby ensuring the integrity of the truncated parameters. If the terminal obtains the correct truncated parameters, it can access the network normally.

[0416] For terminals using the control plane CIoT 5GS optimization function, if a radio link failure (RLF) occurs, the terminal may trigger the RRC connection re-establishment process. During the RRC connection re-establishment process, the terminal needs to send an RRC Reestablishment Request message to the target access network device. The RRC Reestablishment Request message carries a truncated 5G-S-TMSI.

[0417] Therefore, during the RRC connection re-establishment process, the terminal needs to obtain the truncated 5G-S-TMSI.

[0418] Optionally, the terminal obtains a truncated 5G-S-TMSI, including one of the following implementations:

[0419] Implementation method 1: When the RRC layer of the terminal is responsible for storing the truncation parameters, when the terminal needs to use the truncated 5G-S-TMSI, the RRC layer of the terminal truncates the 5G-S-TMSI according to the truncation parameters to obtain the truncated 5G-S-TMSI.

[0420] Implementation method 2: When the RRC layer of the terminal is responsible for storing the truncation parameters, when the terminal needs to use the truncated 5G-S-TMSI, the RRC layer of the terminal sends the truncation parameters to the NAS layer of the terminal; the NAS layer of the terminal truncates the 5G-S-TMSI according to the truncation parameters to obtain the truncated 5G-S-TMSI; the NAS layer of the terminal sends the truncated 5G-S-TMSI to the RRC layer of the terminal.

[0421] Implementation method three: When the NAS layer of the terminal is responsible for storing the truncation parameters, when the terminal needs to use the truncated 5G-S-TMSI, the NAS layer of the terminal truncates the 5G-S-TMSI according to the truncation parameters to obtain the truncated 5G-S-TMSI; the NAS layer of the terminal sends the truncated 5G-S-TMSI to the RRC layer of the terminal.

[0422] Implementation method 4: When the NAS layer of the terminal is responsible for storing the truncation parameters, when the terminal needs to use the truncated 5G-S-TMSI, the NAS layer of the terminal sends the truncation parameters to the RRC layer of the terminal; thereafter, the RRC layer of the terminal truncates the 5G-S-TMSI according to the truncation parameters to obtain the truncated 5G-S-TMSI.

[0423] It is understandable that the truncation parameters stored by the terminal are the Figures 8 to 12 It can be obtained by the technical solution shown in any one of the figures.

[0424] The following details the RRC connection re-establishment process for terminals using the control plane CIoT 5GS optimization function.

[0425] Because terminals using the control plane CIoT 5GS optimization function do not have an available AS security context, to protect the re-establishment process, the terminal's AS layer triggers the NAS layer to provide UL_NAS_MAC and XDL_NAS_MAC. UL_NAS_MAC indicates that the terminal requests to re-establish the RRC connection, and XDL_NAS_MAC is used to indicate that the terminal is communicating with the real network.

[0426] It should be noted that the terminal sets the key to the integrity key (KNASint), the count to the uplink NAScount, the DIRECTION to 0, the message to the target cell identifier (cellTD) and the entire RRC re-establishment request message except the LSB of the NAS count and the UL_NAS_MAC; then, the terminal inputs these parameters (such as key, message, etc.) into the integrity algorithm currently used to generate the NAS MAC.

[0427] The first 16 bits of the NAS MAC constitute the UL_NAS_MAC, and the last 16 bits of the NAS MAC constitute the XDL_NAS_MAC.

[0428] Afterwards, the terminal sends an RRC re-establishment request message to the target access network device. The RRC re-establishment request message includes the truncated 5G-S-TMSI and the five least significant bits of the NAS count. The least significant bits of the NAS count are used to calculate the NASMAC.

[0429] The target access network device recovers the complete 5G-S-TMSI based on the truncated 5G-S-TMSI in the RRC re-establishment request message and the locally configured truncation parameters (m and n). The target access network device can determine the mobility management network element serving the terminal based on the complete 5G-S-TMSI. In addition, the target access network device sends the 5G-S-TMSI, the target cell-ID, and the entire RRC re-establishment request message except the truncated 5G-S-TMSI to the mobility management network element.

[0430] The mobility management network element uses the LSB of the NAS count associated with the NAS connection identifier "0x01" to estimate the complete uplink NAS count. The mobility management network element then uses this estimated uplink NAS count to calculate the XNAS-MAC.

[0431] The mobility management network element compares the first 16 bits of UL_NAS_MAC and XNAS-MAC to see if they are the same. If the first 16 bits of UL_NAS_MAC and XNAS-MAC are the same, the mobility management network element determines that the terminal has actually sent the RRC re-establishment request message.

[0432] Afterwards, the mobility management network element sends a connection establishment indication message to the target access network device, where the connection establishment indication message includes DL_NAS_MAC. It should be noted that DL_NAS_MAC is the last 16 bits of XNAS-MAC.

[0433] The access network device sends an RRC Reestablishment message to the terminal, where the RRC Reestablishment message includes DL_NAS_MAC.

[0434] The terminal checks whether the received DL_NAS_MAC is identical to the XDL_NAS_MAC. If the DL_NAS_MAC is identical to the XDL_NAS_MAC, the terminal completes the RRC connection re-establishment process.

[0435] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the interaction between each network element. It can be understood that each network element, such as a terminal, an access network device, and a mobile management network element, in order to implement the above functions, includes a hardware structure or software module corresponding to each function, or a combination of the two. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0436] The embodiment of the present application can divide the functional modules of the access network equipment, mobile management network element and terminal according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function:

[0437] Figure 13 This is a schematic diagram of the structure of a terminal provided in an embodiment of the present application. Figure 13 As shown, the terminal includes: a communication module 201, a processing module 202 and a storage module 203. The communication module 201 is used to support the terminal to execute Figure 8 Step S102 in Figure 9 Steps S201 and S204 in Figure 10 Steps S301 and S305 in Figure 11 Step S403 in Figure 12 Steps S501 and S506 in the embodiment of the present application, and / or other communication operations that the terminal needs to perform. The processing module 202 is used to support the terminal to perform Figure 8 Step S103 in Figure 9 Steps S202 and S205 in Figure 10 Step S306 in Figure 11 Step S404 in Figure 12 Steps S507 and S208 in the embodiment of the present application, and / or other processing operations that the terminal needs to perform. The storage module 203 is used to support the terminal to perform Figure 8 Step S104 in Figure 9 Step S206 in Figure 10 Step S307 in Figure 11 Step S405 in Figure 12 Step S509 in the embodiment of the present application, and / or other storage operations that the terminal needs to perform.

[0438] As an example, combining Figure 7 The device shown, Figure 13 The processing module 202 in the Figure 7 The processor 101 is implemented as follows, Figure 13 The communication module 201 in the Figure 7 The communication interface 104 is implemented in Figure 13 The storage module 203 in the Figure 7 The memory 103 in the embodiment is implemented, and this embodiment of the present application does not impose any limitation on this.

[0439] Figure 14 This is a schematic diagram of the structure of an access network device provided in an embodiment of the present application. Figure 14 As shown, the access network device includes a communication module 301, a processing module 302 and a storage module 303. The communication module 301 is used to support the access network device to execute Figure 10 Steps S301 and S303 in Figure 12 The processing module 302 is used to support the access network device to perform the steps S501, S503, S505 and S506, and / or other communication operations that the access network device needs to perform in the embodiment of the present application. Figure 10 Step S302 in Figure 12 The storage module 303 is used to support the access network device to execute the step S502 in the embodiment of the present application, and / or other processing operations that the access network device needs to perform. Figure 10 Step S300 in Figure 12 Step S500 in the embodiment of the present application, and / or other storage operations that the access network device needs to perform.

[0440] As an example, combining Figure 7 The device shown, Figure 14 The processing module 302 in the Figure 7 The processor 101 is implemented as follows, Figure 14 The communication module 301 in the Figure 7 The communication interface 104 is implemented in Figure 14 The storage module 303 in the Figure 7 The memory 103 in the embodiment is implemented, and this embodiment of the present application does not impose any limitation on this.

[0441] Figure 15 This is a schematic diagram of the structure of a mobility management network element provided in an embodiment of the present application. Figure 15 As shown, the mobility management network element includes a communication module 401, a processing module 402 and a storage module 403. The communication module 401 is used to support the mobility management network element to execute Figure 8 Step S102 in Figure 9 Steps S201 and S204 in Figure 10 Steps S303 and S305 in Figure 11 Step S403 in Figure 12 Steps S503 and S505 in the embodiment of the present application, and / or other communication operations that the mobility management network element needs to perform. The processing module 402 is used to support the mobility management network element to perform Figure 8 Step S101 in Figure 9 Steps S202 and S203 in Figure 10 Step S304 in Figure 11 Steps S401 and S402 in Figure 12 The storage module 403 is used to support the execution of step S504 of the mobile management network element and / or other processing operations that the mobile management network element needs to perform in the embodiment of the present application. Figure 9 Step S200 in the embodiment of the present application, and / or other storage operations that the mobility management network element needs to perform.

[0442] As an example, combining Figure 7 The device shown, Figure 15 The processing module 402 in the Figure 7 The processor 101 is implemented as follows, Figure 15 The communication module 401 in the Figure 7 The communication interface 104 is implemented in Figure 15 The storage module 403 in the Figure 7 The memory 103 in the embodiment is implemented, and this embodiment of the present application does not impose any limitation on this.

[0443] An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is run on a computer, the computer is enabled to execute the method for protecting truncated parameters provided in the embodiment of the present application.

[0444] The embodiment of the present application also provides a computer program product containing computer instructions, which, when executed on a computer, enables the computer to execute the truncated parameter protection method provided in the embodiment of the present application.

[0445] An embodiment of the present application provides a chip, which includes a processor. When the processor executes instructions, the chip can execute the truncated parameter protection method provided in the embodiment of the present application.

[0446] It should be understood that the computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (e.g., a solid-state drive).

[0447] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0448] It should be understood that the devices and methods disclosed in the several embodiments provided in this application can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0449] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0450] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0451] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application.

[0452] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.< / mnc> < / mcc>

Claims

1. A protection method for truncated parameters, It is characterized in that The method comprises: The mobility management network element determines whether the terminal meets the preset conditions; When the terminal meets the preset conditions, the mobility management network element sends a downlink NAS message to the terminal for NAS security protection through a non-access layer NAS security context, and the downlink NAS message includes the truncation parameter, and the truncation parameter is used to truncate the fifth-generation system architecture evolution temporary mobile station identifier 5G-S-TMSI of the terminal.

2. The method according to claim 1, It is characterized in that The truncation parameter is pre-stored by the mobility management network element.

3. The method according to claim 1, It is characterized in that The method further comprises: The mobility management network element receives the truncation parameter from the access network device.

4. The method according to any one of claims 1 to 3, It is characterized in that The preset condition includes that the terminal uses the control plane cellular Internet of Things CIoT fifth generation system 5GS optimization function; the mobile management network element determines whether the terminal meets the preset condition, including: The mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function; If the terminal uses the control plane CIoT 5GS optimization function, the mobility management network element determines that the terminal meets the preset conditions.

5. The method according to any one of claims 1 to 3, It is characterized in that The preset conditions include that the terminal uses the control plane cellular Internet of Things CIoT fifth generation system 5GS optimization function and that the terminal is a terminal initially registered to the network; The mobility management network element determines whether the terminal meets the preset conditions, including: The mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function and whether the terminal is a terminal initially registered with the network; If the terminal uses the control plane CIoT 5GS optimization function and the terminal is a terminal initially registered with the network, the mobile management network element determines that the terminal meets the preset conditions.

6. The method according to claim 5, It is characterized in that The mobility management network element determines whether the terminal is a terminal initially registered with the network, including: The mobility management network element determines, according to the registration type reported by the terminal, that the terminal is a terminal that initially registers with the network.

7. The method according to any one of claims 1 to 3, It is characterized in that The preset conditions include that the terminal uses the control plane cellular Internet of Things CIoT fifth generation system 5GS optimization function and that the terminal needs to update the truncation parameters; The mobility management network element determines whether the terminal meets the preset conditions, including: The mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, and whether the terminal needs to update the truncation parameters; If the terminal uses the control plane CIoT 5GS optimization function and the terminal is a terminal that needs to update the truncation parameters, the mobile management network element determines that the terminal meets the preset conditions.

8. The method according to claim 7, It is characterized in that The mobility management network element determines whether the terminal needs to update the truncation parameter, including: When the truncation parameter configured by the mobility management network element is different from the truncation parameter stored in the context of the terminal, the mobility management network element determines that the terminal needs to update the truncation parameter.

9. The method according to claim 7, It is characterized in that The mobility management network element determines whether the terminal needs to update the truncation parameter, including: After the mobility management network element updates the truncation parameter, the mobility management network element determines that the terminal needs to update the truncation parameter.

10. The method according to claim 4, It is characterized in that The mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, including: The mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function based on the preferred network behavior reported by the terminal.

11. The method according to claim 7, It is characterized in that The mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, including: The mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function based on the preferred network behavior reported by the terminal.

12. The method according to claim 4, It is characterized in that The mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, including: If the preferred network behavior reported by the terminal is used to indicate that the terminal prefers to use the control plane CIoT 5GS optimization function, and the mobility management network element supports the control plane CIoT 5GS optimization function, the mobility management network element determines that the terminal uses the control plane CIoT 5GS optimization function.

13. The method according to claim 7, It is characterized in that The mobile management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, including: If the preferred network behavior reported by the terminal is used to indicate that the terminal prefers to use the control plane CIoT 5GS optimization function, and the mobility management network element supports the control plane CIoT 5GS optimization function, the mobility management network element determines that the terminal uses the control plane CIoT 5GS optimization function.

14. The method according to claim 4, It is characterized in that The mobility management network element determines whether the terminal uses the control plane CIoT 5GS optimization function, including: If the context of the terminal is used to indicate that the terminal uses the control plane CIoT 5GS optimization function, the mobility management network element determines that the terminal uses the control plane CIoT 5GS optimization function.

15. The method according to any one of claims 1 to 3, It is characterized in that The mobility management network element determines whether the terminal meets the preset conditions, including: After the mobility management network element receives a registration request message or a service request message of a terminal, the mobility management network element determines whether the terminal meets a preset condition.

16. The method according to claim 4, It is characterized in that The mobility management network element determines whether the terminal meets the preset conditions, including: After the mobility management network element receives a registration request message or a service request message of a terminal, the mobility management network element determines whether the terminal meets a preset condition.

17. The method according to claim 7, It is characterized in that The mobility management network element determines whether the terminal meets the preset conditions, including: After the mobility management network element receives a registration request message or a service request message of a terminal, the mobility management network element determines whether the terminal meets a preset condition.

18. The method according to claim 10, It is characterized in that The mobility management network element determines whether the terminal meets the preset conditions, including: After the mobility management network element receives a registration request message or a service request message of a terminal, the mobility management network element determines whether the terminal meets a preset condition.

19. The method according to claim 11, It is characterized in that The mobility management network element determines whether the terminal meets the preset conditions, including: After the mobility management network element receives a registration request message or a service request message of a terminal, the mobility management network element determines whether the terminal meets a preset condition.

20. The method according to claim 12, It is characterized in that The mobility management network element determines whether the terminal meets the preset conditions, including: After the mobility management network element receives a registration request message or a service request message of a terminal, the mobility management network element determines whether the terminal meets a preset condition.

21. The method according to claim 13, It is characterized in that The mobility management network element determines whether the terminal meets the preset conditions, including: After the mobility management network element receives a registration request message or a service request message of a terminal, the mobility management network element determines whether the terminal meets a preset condition.

22. The method according to any one of claims 1 to 3, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

23. The method according to claim 4, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

24. The method according to claim 7, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

25. The method according to claim 10, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

26. The method according to claim 11, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

27. The method according to claim 12, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

28. The method according to claim 13, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

29. The method according to claim 15, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

30. The method according to any one of claims 1 to 3, It is characterized in that The first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI; The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMFset ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

31. The method according to claim 30, It is characterized in that The method further comprises: The mobility management network element updates the truncation parameter according to the number of AMF set IDs and / or the number of AMF pointers; or, The mobility management network element updates the truncation parameter according to the instruction of the network management system; or, The mobility management network element receives the updated truncation parameter from the access network device.

32. A method for protecting truncated parameters, It is characterized in that The method comprises: receiving a downlink NAS message protected by NAS security via a NAS security context from a mobility management network element, wherein the downlink NAS message includes the truncation parameter; De-security protection of the downlink NAS message; After successfully de-securitying the downlink NAS message, storing the truncation parameter; According to the truncation parameter, a fifth generation system architecture evolution temporary mobile station identifier 5G-S-TMSI of the terminal is truncated to obtain a truncated 5G-S-TMSI; Send an RRC re-establishment request message to the access network device, where the RRC re-establishment request message includes the truncated 5G-S-TMSI.

33. The method according to claim 32, It is characterized in that The method is executed by the terminal or a chip of the terminal.

34. The method according to claim 33, It is characterized in that The terminal uses the control plane cellular Internet of Things (CIoT) fifth generation system 5GS optimization function.

35. The method according to claim 34, It is characterized in that Before receiving the downlink NAS message, the method further includes: Send a preferred network behavior, wherein the preferred network behavior indicates a preference for using the control plane CIoT 5GS optimization function.

36. The method according to claim 35, It is characterized in that The preferred network behavior is carried in the registration request message.

37. The method according to claim 33, It is characterized in that The storing of the truncation parameters comprises: The NAS layer of the terminal stores the truncation parameters.

38. The method according to claim 37, It is characterized in that The method further comprises: the NAS layer of the terminal sending a truncation parameter to the radio resource control RRC layer of the terminal; The method of truncating the fifth generation system architecture evolution temporary mobile station identifier 5G-S-TMSI of the terminal according to the truncation parameters to obtain the truncated 5G-S-TMSI includes: the RRC layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameters to obtain the truncated 5G-S-TMSI.

39. The method according to claim 37, It is characterized in that The method further comprises: The NAS layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI; The NAS layer of the terminal sends the truncated 5G-S-TMSI to the RRC layer of the terminal.

40. The method according to claim 33, It is characterized in that The storing of the truncation parameters comprises: The NAS layer of the terminal sends the truncation parameter to the RRC layer of the terminal; The RRC layer of the terminal stores the truncation parameter.

41. The method according to claim 40, It is characterized in that The method further comprises: The RRC layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI.

42. The method according to claim 41, It is characterized in that The method further comprises: The RRC layer of the terminal sends the truncation parameter to the NAS layer of the terminal; The NAS layer of the terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain a truncated 5G-S-TMSI; The NAS layer of the terminal sends the truncated 5G-S-TMSI to the RRC layer of the terminal.

43. A method according to any one of claims 32 to 42, It is characterized in that The downlink NAS message is a service acceptance message or a registration acceptance message.

44. The method according to any one of claims 32 to 42, It is characterized in that The first to tenth bits of the 5G-S-TMSI are used to indicate the AMF set ID, the eleventh to sixteenth bits of the 5G-S-TMSI are used to indicate the AMF pointer, and the seventeenth to forty-eighth bits of the 5G-S-TMSI are used to indicate the 5G-TMSI; The truncation parameters include a first truncation parameter and a second truncation parameter, the first truncation parameter is used to truncate the AMFset ID and 5G-TMSI, and the second truncation parameter is used to truncate the AMF pointer and 5G-TMSI.

45. A communication device, It is characterized in that The communication device comprises a module for executing the method according to any one of claims 1 to 31 , or comprises a module for executing the method according to any one of claims 32 to 44 .

46. ​​A communication device, It is characterized in that It comprises a processor and a communication interface, wherein the processor is used to execute computer program instructions so that the communication device implements the truncated parameter protection method as described in any one of claims 1 to 44.

47. A computer readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to execute the method for protecting truncated parameters as claimed in any one of claims 1 to 44.

48. A computer program product, It is characterized in that The computer program product comprises instructions, and when the computer program product is run on a computer, the computer is caused to execute the method for protecting truncated parameters according to any one of claims 1 to 44.

49. A chip, It is characterized in that The chip includes a processor, and when the processor executes computer program instructions, the chip executes the truncated parameter protection method according to any one of claims 1 to 44.

50. A communication method, It is characterized in that include: The mobility management network element determines whether the terminal meets the preset conditions; When the terminal meets the preset condition, the mobility management network element sends a downlink NAS message for NAS security protection through a non-access layer NAS security context to the terminal, wherein the downlink NAS message includes the truncation parameter, and the truncation parameter is used to truncate a fifth-generation system architecture evolution temporary mobile station identifier 5G-S-TMSI of the terminal to obtain a truncated 5G-S-TMSI; The access network device receives an RRC re-establishment request message from the terminal, where the RRC re-establishment request message includes the truncated 5G-S-TMSI.

51. The method according to claim 50, It is characterized in that The method further comprises: The terminal receives the downlink NAS message from the mobility management network element; The terminal removes security protection from the downlink NAS message; After successfully de-securitying the downlink NAS message, the terminal stores the truncation parameter; The terminal truncates the 5G-S-TMSI of the terminal according to the truncation parameter to obtain the truncated 5G-S-TMSI; The terminal sends an RRC re-establishment request message to the access network device, and the RRC re-establishment request message includes the truncated 5G-S-TMSI.

52. A communication system, It is characterized in that include: A mobility management network element and access network equipment for executing the method according to any one of claims 1 to 31, The access network device is used to receive an RRC re-establishment request message from a terminal, where the RRC re-establishment request message includes a truncated 5G-S-TMSI.

53. The system according to claim 52, It is characterized in that The communication system further comprises: a terminal for executing the method according to any one of claims 32 to 44.

Citation Information

Patent Citations

  • Connection processing method and device

    CN107396455A

  • Connection reestablishing method and device as well as electronic equipment

    CN108377518A

  • Method and user equipment for transmitting data volume information

    EP3240350A1

  • Devices and methods for resume failure fallback

    WO2017171924A1

  • A mechanism to enable interworking between network slicing and evolved packet core connectivity

    WO2019078964A1