Communication method and device
By having AIoT devices report their protected identifiers, network function modules are triggered to perform authentication, which solves the problem that AIoT devices cannot actively authenticate, thus improving the applicability and efficiency of authentication.
Patent Information
- Application Number
- PCT/CN2024/089666
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-04-24
- Publication Date
- 2025-10-30
AI Technical Summary
Because AIoT devices do not actively send messages, they cannot proactively execute the authentication process, making it difficult for them to effectively authenticate with the network.
After receiving a request, the AIoT device reports the protected identifier, triggering the Network Function Module (NF) to execute the authentication process, adapting to the characteristics of AIoT devices.
It has implemented an authentication process applicable to AIoT devices with lower capabilities and that do not actively send data, thereby improving the applicability and efficiency of authentication.
Smart Images

Figure CN2024089666_30102025_PF_FP_ABST
Abstract
Description
Communication methods and devices Technical Field
[0001] This application relates to the field of communications, and more specifically, to a communication method and device. Background Technology
[0002] With technological advancements, Ambient Powered IoT (AIoT) devices also require access to communication systems or networks for data interaction, necessitating authentication between AIoT devices and the network. However, characteristics of AIoT devices, such as not actively sending messages, prevent them from proactively executing the authentication process. Therefore, designing an authentication process more suited to the characteristics of AIoT devices becomes a problem that needs to be addressed.
[0003] Summary of the Invention
[0004] This application provides a communication method and device.
[0005] This application provides a communication method executed by a first AIoT device, including:
[0006] Receive a first request, wherein the first request is used by the first AIoT device to determine the reporting device identifier;
[0007] Send a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used by the AIoT Network Function (NF) to determine and trigger the AIoT Authentication Function to perform authentication with the first AIoT device.
[0008] This application provides a communication method executed by AIoT NF, including:
[0009] Send a first request, wherein the first request is used by the first AIoT device to determine the reporting device identifier;
[0010] Receive a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used to determine to trigger the AIoT authentication function to perform authentication with the first AIoT device.
[0011] This application provides a communication method executed by an AIoT authentication function, including:
[0012] Receive an authentication request from the AIoT NF, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device.
[0013] This application provides a first AIoT device, including:
[0014] A first communication unit is configured to receive a first request, wherein the first request is used by the first AIoT device to determine and report a device identifier; and to send a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used by the AIoT NF to determine and trigger the AIoT authentication function to perform authentication with the first AIoT device.
[0015] This application provides an AIoT NF, including:
[0016] The second communication unit is configured to send a first request, wherein the first request is used by the first AIoT device to determine and report a device identifier; and to receive a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used to determine to trigger the AIoT authentication function to perform authentication with the first AIoT device.
[0017] This application provides an AIoT authentication function, including:
[0018] The third communication unit is used to receive an authentication request from the AIoT NF, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device.
[0019] By adopting the above scheme, when the first AIoT device receives a request to report its identifier, it reports the protected identifier, enabling the AIoT NF on the network side to trigger the AIoT authentication function to perform authentication with the first AIoT device. This makes the authentication process more suitable for AIoT device types with lower capabilities that do not actively send data. Attached Figure Description
[0020] Figure 1 is a schematic diagram of an application scenario according to an embodiment of this application.
[0021] Figure 2 is a schematic flowchart of a communication method according to an embodiment of this application.
[0022] Figure 3 is a schematic flowchart of a communication method according to another embodiment of this application.
[0023] Figure 4 is a schematic flowchart of a communication method according to another embodiment of this application.
[0024] Figure 5 is a schematic diagram of a permanent identifier of a first AIoT device according to an embodiment of this application.
[0025] Figure 6 is a schematic diagram of an encrypted permanent identifier of a first AIoT device according to an embodiment of this application.
[0026] Figure 7 is a schematic diagram of a key derivation architecture according to an embodiment of this application.
[0027] Figures 8 and 9 are two schematic flowcharts of a communication method according to an embodiment of this application.
[0028] Figure 10 is a schematic block diagram of a first AIoT device according to an embodiment of this application.
[0029] Figure 11 is a schematic block diagram of an AIoT NF according to an embodiment of this application.
[0030] Figure 12 is a schematic block diagram of an AIoT authentication function according to an embodiment of this application. Detailed Implementation
[0031] The technical solutions of this application embodiment can be applied to various communication systems, such as LTE, LTE-A, NR, NR evolution, WLAN, WiFi, or other communication systems.
[0032] This application describes various embodiments in conjunction with network devices and terminals. The terminal can be mobile or fixed, and may also be referred to as a mobile station, user unit, etc. The terminal can be a station in a WLAN, or a smart terminal, wireless modem, laptop, tablet, etc. In this application's embodiments, the terminal can be a VR / AR terminal, industrial control terminal, autonomous driving terminal, telemedicine terminal, smart grid terminal, transportation safety terminal, smart city terminal, or smart home wireless terminal, etc. By way of example and not limitation, in this application's embodiments, the terminal can also be a wearable device.
[0033] In this embodiment, the network device can be a device for communicating with a terminal. The network device can be an access point in a WLAN, an evolved base station in LTE, a relay station, a network device (gNB) in a vehicle-mounted device, wearable device, or NR network, or a network device in a future PLMN network, or a network device in a non-terrestrial network, etc. As an example and not a limitation, in this embodiment, the network device can have mobility characteristics; for example, the network device can be a mobile device.
[0034] To facilitate understanding of the technical solutions of the embodiments of this application, the relevant technologies of the embodiments of this application are described below. The following relevant technologies are optional solutions and can be combined with the technical solutions of the embodiments of this application in any way, and they all fall within the protection scope of the embodiments of this application.
[0035] Figure 1 exemplarily illustrates a communication system 100. This communication system includes a network device 110 and two terminals 120. In one possible implementation, the communication system 100 may include multiple network devices 110, and the coverage area of each network device 110 may include other numbers of terminals 120; this embodiment does not limit this. In another possible implementation, the communication system 100 may also include other network entities such as a mobility management entity and access and mobility management functions; this embodiment does not limit this. The network devices may further include access network devices and core network devices. That is, the communication system may also include multiple core networks for communicating with the access network devices. The access network devices may be base stations of LTE, LTE-A, or NR systems. Taking the communication system shown in Figure 1 as an example, the communication devices may include network devices and terminals with communication functions. The communication devices may also include other devices in the communication system, such as network controllers, mobility management entities, and other network entities; this embodiment does not limit this.
[0036] The design goals for AIoT devices are outlined in the relevant technologies, which will be discussed in detail below:
[0037] Target power consumption includes two categories: peak power consumption of approximately 1 μW and peak power consumption less than or equal to several hundred μW. Specifically, when the peak power consumption is approximately 1 μW, the AIoT device has energy storage capabilities, an initial sampling frequency offset (SFO) of 10X ppm, and lacks both DL (downlink) and UL (uplink) amplification. The uplink transmission of the AIoT device is achieved through backscattering on an externally provided carrier. When the peak power consumption is ≤ several hundred μW, the AIoT device has energy storage, an initial sampling frequency offset (SFO) of 10X ppm, and both DL and UL amplification capabilities. The uplink transmission of the AIoT device can be generated internally or through backscattering on an externally provided carrier.
[0038] The network topology includes Topology 1 and Topology 2. Topology 1 consists of BS (Base station). AIoT devices, meaning AIoT devices that communicate directly and bidirectionally with the BS, include environmental IoT data and / or signals. Topology 2: BS intermediate node AIoT devices, or AIoT devices, communicate bidirectionally with intermediate nodes. These intermediate nodes can be relays, IAB nodes, UEs, repeaters, etc. The intermediate nodes transmit Ambient IoT (AIoT or A-IoT) data and / or signaling between the BS and the AIoT devices. Here, Topology 1, in deployment scenario 1, refers to AIoT devices indoors, and the base station refers to a micro base station; Topology 2, in deployment scenario 2, refers to AIoT devices and UEs both indoors, with the UE acting as an intermediate node under network control, and the base station refers to a macro base station.
[0039] The transmission methods include two categories: DO-DTT (Device-originated-device-terminated triggered) and DT (Device-terminated). DT refers to signal termination at the AIoT device, suitable for indoor-command scenarios, i.e., sending a command message to the AIoT device. DO-DTT refers to signals emitted by the device being triggered by signals terminated at the device, suitable for indoor-inventory scenarios.
[0040] Business processes can include command processes and inventory processes, etc.
[0041] Figure 2 is a schematic flowchart of a communication method performed by a first AIoT device according to an embodiment of this application. The method includes at least a portion of the following.
[0042] S210. Receive a first request, wherein the first request is used by the first AIoT device to determine the reporting device identifier.
[0043] S220. Send a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used by the AIoT NF to determine and trigger the AIoT authentication function to perform authentication with the first AIoT device.
[0044] Figure 3 is a schematic flowchart of a communication method performed by an AIoT Network Function (NF) according to an embodiment of this application. The method includes at least a portion of the following.
[0045] S310. Send a first request, wherein the first request is used for the first AIoT device to determine the reporting device identifier.
[0046] S320. Receive a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used to determine to trigger the AIoT authentication function to perform authentication with the first AIoT device.
[0047] Figure 4 is a schematic flowchart of a communication method performed by an AIoT authentication function according to an embodiment of this application. The method includes at least a portion of the following.
[0048] S410. Receive an authentication request from the AIoT NF, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device.
[0049] The AIoT NF can be alternatively referred to as AIoTF (AIoT Function) or AIoT MF (Management Function).
[0050] The AIoT NF can be set in the first core network device. The first core network device can be an existing core network element in 5GC, but this element has added AIoT functionality. For example, the first core network device can be a control plane network element with an AIoT NF set. Alternatively, the first core network device can be a newly added network element in the core network dedicated to AIoT (or dedicated to AIoT services, or dedicated to AIoT business).
[0051] This AIoT authentication function can be replaced by the AIoT authentication and authorization function.
[0052] Optionally, the AIoT authentication function can be set in the first core network device. That is, both the AIoT authentication function and the AIoT NF are set in the first core network device.
[0053] Optionally, the AIoT authentication function can be set in a second core network device, which is different from the first core network device. That is, the AIoT authentication function and the AIoT NF are set in two different core network devices. The second core network device can be an existing core network element in the 5GC, but this element has added the AIoT authentication function (or AIoT authentication and authorization function); or, the second core network device can be a newly added network element in the core network dedicated to AIoT authentication.
[0054] To facilitate understanding of the subsequent process, we will first explain the various types of identifiers for the first AIoT device that may be involved in the text.
[0055] The permanent identifier of the first AIoT device can be referred to as the true identifier of the first AIoT device, or as the long-term identifier of the first AIoT device.
[0056] Optionally, the permanent identifier of the first AIoT device can be pre-stored on the first AIoT device and the network side (including at least AIoT NF, or AIoT authentication function).
[0057] Optionally, the permanent identifier of the first AIoT device can be pre-stored on both the first AIoT and the Application Function (AF) side. In this case, the AF can also provide the permanent identifier of the first AIoT device to the network side (including at least the AIoT NF or AIoT authentication function).
[0058] The permanent identifier of the first AIoT device may consist of at least one of the following five parts: home domain network identifier, network routing identifier, ID for identifying a third party, ID for identifying a specific first AIoT device, and identifier of the first AIoT device defined by a third party.
[0059] The Home Network Identifier (HN ID) is used to identify the network to which the first AIoT device belongs. This HN ID can also be called the Carrier Identifier, Carrier Identifier, or Home Network ID, and can be represented as the Home Network Identifier (HN ID).
[0060] The network routing identifier is used by the network to route the relevant requests of the first AIoT device to the corresponding network. This network routing identifier can be used when the AIoT device does not have the concept of a home domain network. For example, if the permanent identifier of the first AIoT device includes a home domain network identifier, it may not include a network routing identifier; or, if the permanent identifier of the first AIoT device includes a network routing identifier, it may not include a home domain network identifier.
[0061] The ID used to identify a third party can also be referred to as a third-party ID, or Owner Identifier. This ID can be an AF ID or at least a portion thereof. The third party can be the manufacturer of the AIoT device, a third-party server, or a third-party application function (AF). The function of this AF can include sending a service request message to the 5GC (specifically, an AIoT NF) to trigger AIoT services.
[0062] The ID used to identify a specific first AIoT device can be alternatively referred to as the specific identifier of the first AIoT device, or the specific identifier of the first AIoT device in the 5G network. This ID used to identify the specific first AIoT device can be represented as an Instance Identifier. This ID used to identify the specific first AIoT device can be assigned by 5GC to the AIoT device.
[0063] The identifier for the first AIoT device defined by a third party can be represented as a 3rd Party-defined identifier. This identifier can also be alternatively referred to as the third-party identifier of the first AIoT device, or the third-party defined identifier of the first AIoT device, etc. This third-party-defined identifier for the first AIoT device can be assigned to the first AIoT device by the AF (Agent Function).
[0064] Whether the permanent identifier of the first AIoT device includes some or all of the above five parts can be determined based on the actual situation. For example, the content included in the permanent identifier of the first AIoT device may be related to the allocation method of the permanent identifier of the first AIoT device. There are two possible allocation methods for the permanent identifier of the first AIoT device:
[0065] Method 1: Device Identifier Defined by 3GPP. Third-party AFs rely on operator-assigned device identifiers (i.e., IDs used to identify a specific first AIoT device) to perform AIoT services. The network (such as a 3GPP network) will uniquely identify the specific AIoT device. In this method, the permanent identifier of the first AIoT device does not include a third-party defined identifier. The permanent identifier of the first AIoT device may include a home domain network identifier and an ID used to identify the specific first AIoT device; or, the permanent identifier of the first AIoT device may include a home domain network identifier as shown in the solid line box in Figure 5, an ID used to identify the third party, and an ID used to identify the specific first AIoT device.
[0066] Method 2: Device Identifier Defined by 3GPP and Third Parties. In this method, the network (such as a 3GPP network) relies on a third party to allocate and manage the identifier of the first AIoT device. Specifically, the third party pre-allocates and writes a third-party defined identifier into the first AIoT device, and the network (3GPP network) relies on this identifier. The network needs to interact with the first AIoT device beforehand to obtain the third-party defined identifier, ultimately obtaining a permanent identifier identical to the first AIoT device. For example, the network can broadcast a portion of the first AIoT device's ID (e.g., only the Home Network Identifier (HN ID) and Owner Identifier). Upon receiving this broadcast, if the first AIoT device determines that it matches the broadcast HN ID and Owner Identifier, it will respond to the broadcast, returning a specific device identifier in the response (e.g., at least the third-party defined identifier). The network can then generate a permanent identifier for the first AIoT device based on the specific device identifier, HN ID, and Owner Identifier returned in the response. In this approach, the permanent identifier of the first AIoT device may include, as shown in Figure 5, a home domain network identifier, an ID used to identify a third party, and an identifier for the first AIoT device defined by the third party.
[0067] Optionally, the permanent identifier of the first AIoT device may also include the device type. The device type can be the type ID corresponding to the AIoT device type.
[0068] It should also be noted that the first AIoT device will only use the secure channel to send a protected permanent identifier to the network after the secure channel is established. The establishment of the secure channel can refer to the period after key generation and security protection are enabled.
[0069] The above is merely an illustrative description of the composition of the permanent identifier using the first AIoT device as an example. The following text may refer to the permanent identifier of each of the one or more AIoT devices. The composition of the permanent identifier of each AIoT device may be the same as that of the permanent identifier of the first AIoT device, so it will not be described in detail.
[0070] The external identifier of the first AIoT device is used by the AF to uniquely identify the first AIoT device. For example, when the AF needs to send a service request message carrying downlink data corresponding to the first AIoT device, it can uniquely identify the specific first AIoT device by carrying the external identifier of the first AIoT device.
[0071] The external identifier of the first AIoT device may be generated by and stored in the AF, and its composition is not limited in this embodiment. In some possible examples, the external identifier of the first AIoT device may be a third-party identifier of the first AIoT device.
[0072] Optionally, the external identifier of the first AIoT device can be stored or configured on the first AIoT device side. For example, it can be pre-configured by the AF or the AIoT NF. This embodiment does not limit or exhaustively list the configuration methods. The external identifier of the first AIoT device can also be included in the messages sent by the network side, such as the AIoT NF, to the first AIoT device.
[0073] Optionally, the external identifier of the first AIoT device can also be stored in AIoT NF.
[0074] The composition of the temporary identifier of the first AIoT device is not limited in this embodiment.
[0075] Optionally, the temporary identifier of the first AIoT device can be stored in both the first AIoT device and the AF. In this case, the AF can generate the temporary identifier of the first AIoT device and pre-configure the temporary identifier to the first AIoT device; the AF can also send the temporary identifier of the first AIoT device to the network side (at least including the AIoT NF), so that the first AIoT device, the AIoT NF, and the AF all obtain the temporary identifier of the first AIoT device in advance.
[0076] Optionally, the temporary identifier of the first AIoT device can be stored in both the first AIoT device and the network side (including at least the AIoT NF). In this case, the temporary identifier of the first AIoT device can be assigned or generated by the AIoT NF.
[0077] The temporary identifier of the first AIoT device can be further divided into two types: the initial temporary identifier of the first AIoT device and the updated temporary identifier of the first AIoT device.
[0078] In one example, the initial temporary identifier of the first AIoT device can be assigned by the AF (Automatic Front-End). Specifically, the initial temporary identifier of the first AIoT device can be generated by the AF and pre-configured for the first AIoT device; furthermore, the AF can also send the initial temporary identifier of the first AIoT device to the AIoT NF (Automatic Front-End). The composition of the initial temporary identifier of the first AIoT device is not limited in this embodiment, as long as the initial temporary identifier of the first AIoT device is different from other types of identifiers of the first AIoT device, it is within the protection scope of this embodiment.
[0079] In one example, the updated temporary identifier of the first AIoT device can be assigned by the network side (such as the AIoT NF). Specifically, the updated temporary identifier of the first AIoT device can be generated by the AIoT NF and assigned to the first AIoT device through a message transmitted between the AIoT NF and the first AIoT device. The composition of the updated temporary identifier of the first AIoT device is not limited in this embodiment; as long as the updated temporary identifier of the first AIoT device is different from other identifiers of the first AIoT device, it is within the scope of protection of this embodiment.
[0080] The updated temporary identifier of the first AIoT device can be an updated temporary identifier relative to the previous temporary identifier of the first AIoT device. For example, the updated temporary identifier of the first AIoT device is the first updated temporary identifier after the initial temporary identifier of the first AIoT device; or the updated temporary identifier of the first AIoT device is the temporary identifier updated again after the previous updated temporary identifier of the first AIoT device.
[0081] The following may include a description of the temporary identifier currently used or stored by the first AIoT device. For example, when the first AIoT device has not been registered, the temporary identifier currently used or stored by the first AIoT device may be the initial temporary identifier of the first AIoT device; or when the first AIoT device has been registered or updated one or more times, the temporary identifier currently used or stored by the first AIoT device may refer to the temporary identifier of the first AIoT device in its last (or most recent) update.
[0082] The use of a temporary identifier for the first AIoT device is illustrated below. When the network side (such as the AIoT NF) needs to perform paging or discovery processing on the first AIoT device, the temporary identifier of the first AIoT device (which can be the initial temporary identifier of the first AIoT device or the temporary identifier updated in the last (or most recent) update) can be carried in the corresponding message. After the network side (such as the AIoT NF) establishes a secure connection with the first AIoT device, an updated temporary identifier can be assigned to the first AIoT device to prevent the AIoT device from being attacked by connectivity and traceability issues. The update frequency of the temporary identifier can be determined by the network side (such as the AIoT NF). For example, the network side can determine whether to assign an updated temporary identifier to the first AIoT device based on a pre-configured temporary identifier update cycle. Accordingly, the messages sent by the first AIoT device can carry its own temporary identifier to avoid transmitting a permanent identifier.
[0083] The internal identifier of the first AIoT device can be used by the network side (such as AIoT NF) to identify the first AIoT device.
[0084] The AIoT NF maintains a mapping or correspondence between the external identifier and the internal identifier of the first AIoT device. The purpose of this mapping is as follows: when the AIoT NF receives a service request message (e.g., a first service request message) carrying the external identifier of the first AIoT device, it converts the external identifier into the internal identifier based on the mapping relationship to identify the specific AIoT device in the service request message (e.g., the first service request message).
[0085] The internal identifier of the first AIoT device may include at least one of the following: a permanent identifier of the first AIoT device, or a temporary identifier of the first AIoT device.
[0086] Optionally, the internal identifier of the first AIoT device may also include at least one of the following: information about the group to which the first AIoT device belongs, information about the region where the first AIoT device is located, etc.
[0087] The information related to the group to which the first AIoT device belongs may include at least one of the following: the group ID (e.g., represented as GID) of the group to which the first AIoT device belongs, or a portion of the permanent identifier of the first AIoT device. The portion of the permanent identifier of the first AIoT device may refer to the ID that is the same as that of one or more other AIoT devices. For example, the portion of the permanent identifier of the first AIoT device may include a home network ID and an ID used to identify a third party. Since multiple AIoT devices may have the same home network ID and the ID used to identify a third party, this portion of the permanent identifier of the first AIoT device can be used as one type of information related to the group to which the first AIoT device belongs.
[0088] The relevant information about the area where the first AIoT device is located can be replaced by a default identifier related to specific location information. The relevant information about the area where the first AIoT device is located can be represented by a region-related number, index number, or serial number, or by a geographical location. This embodiment does not limit or exhaustively list such examples.
[0089] In some possible implementations, the processing of AIoT NF may include: receiving a first service request message, wherein the first service request message carries downlink data corresponding to one or more AIoT devices, including the first AIoT device.
[0090] Taking the first AIoT device as an example, the processing after the AIoT NF receives the first service request message may include: sending the first request if no available security context for the first AIoT device is found. Here, the AIoT NF can determine that authentication of the first AIoT device is required if no available security context for the first AIoT device is found, and thus send the first request.
[0091] The first service request message may also be referred to as the first AIoT service request (message).
[0092] The downlink data corresponding to the one or more AIoT devices refers to the downlink data corresponding to each of the one or more AIoT devices. The downlink data corresponding to different AIoT devices may be the same or different, and this embodiment does not limit it.
[0093] Taking the first AIoT device as an example, the downlink data corresponding to the first AIoT device may include at least one of the following: inventory messages, read commands, write commands, and specific data to be written to memory. For example, the downlink data corresponding to the first AIoT device may only include inventory messages or read commands corresponding to the first AIoT device. For example, the downlink data corresponding to the first AIoT device may include: write commands corresponding to the first AIoT device and specific data to be written to memory.
[0094] In one embodiment, the first service request message may also carry one of the following: the external identifier of each AIoT device among the one or more AIoT devices, or the permanent identifier of each AIoT device.
[0095] In one example, the first service request message may carry downlink data for each AIoT device and the external identifier of each AIoT device.
[0096] Taking the first AIoT device as an example, the processing after the AIoT NF receives the first service request message may include: if the first service request message carries the external identifier of the first AIoT device, converting the external identifier of the first AIoT device into the internal identifier of the first AIoT device based on the correspondence or mapping relationship between the external identifier and the internal identifier of the first AIoT device; and if it is determined based on the internal identifier of the first AIoT device that no available security context of the first AIoT device has been found, sending the first request.
[0097] Optionally, the method for determining whether a usable security context of the first AIoT device can be found based on the internal identifier of the first AIoT device may include: if the identifier of the security context of the first AIoT device associated with the internal identifier of the first AIoT device is not found, it is determined that no usable security context of the first AIoT device has been found.
[0098] The correspondence or mapping relationship between the external identifier and the internal identifier of the first AIoT device can be stored in the AIoT NF, that is, AIoTNF can perform the above judgment locally.
[0099] Alternatively, the correspondence or mapping between the external and internal identifiers of the first AIoT device can be stored in the AIoT authentication function. The AIoT NF can send the internal identifier of the first AIoT device to the AIoT authentication function and receive a result from the AIoT authentication function indicating whether it stores the identifier of the security context corresponding to or associated with the internal identifier of the first AIoT device. Correspondingly, the AIoT authentication function, based on the internal identifier of the first AIoT device sent by the AIoT NF, searches locally to see if it stores the identifier of the security context corresponding to or associated with the internal identifier of the first AIoT device, and feeds back the result to the AIoT NF.
[0100] In this example, the first AIoT device may not have gone through the authentication process, so the AIoT NF and / or AIoT authentication functions cannot find the security context of the first AIoT device, thus failing to determine to authenticate the first AIoT device and send the first request.
[0101] Optionally, the method for determining whether a usable security context of the first AIoT device can be found based on the internal identifier of the first AIoT device may include: if the identifier of the security context of the first AIoT device associated with the internal identifier of the first AIoT device is found, and the security context of the first AIoT device associated with the identifier of the security context of the first AIoT device has expired, then it is determined that no usable security context of the first AIoT device has been found.
[0102] The method by which the AIoT NF side determines whether the security context identifier of the first AIoT device associated with the internal identifier of the first AIoT device is found is the same as the previous example and will not be repeated here.
[0103] If the security context of the first AIoT device is stored in the AIoT NF, then the AIoT NF can determine whether the security context of the first AIoT device has expired by judging whether the authentication result in the locally stored security context of the first AIoT device is valid or expired. In this embodiment, the determination or configuration method of the relevant duration of the authentication result being valid or expired is not limited.
[0104] If the security context of the first AIoT device is stored in the AIoT authentication function, the AIoT NF can determine whether the security context of the first AIoT device associated with the security context identifier of the first AIoT device has expired in the following ways: The AIoT NF can send the identifier of the security context of the first AIoT device to the AIoT authentication function, which will then find the security context of the first AIoT device locally. The AIoT NF will then receive the security context of the first AIoT device sent by the AIoT authentication function and determine whether the security context of the first AIoT device has expired. Alternatively, the AIoT NF can send the identifier of the security context of the first AIoT device to the AIoT authentication function, which will then find the security context of the first AIoT device locally. The AIoT NF will then receive the result from the AIoT authentication function indicating whether the security context of the first AIoT device has expired.
[0105] In this example, the first AIoT device may have gone through the authentication process, but the security context of the first AIoT device has expired. This means that before a new security is established, the transmitted messages cannot be protected with the existing security context. The security context of the first AIoT device needs to be updated, and the first AIoT device needs to be updated or re-authenticated. A first request is sent to the first AIoT device.
[0106] In one example, the first service request message may carry downlink data for each AIoT device and a permanent identifier for each AIoT device.
[0107] Taking the first AIoT device as an example, the processing after the AIoT NF receives the first service request message can specifically include: if it is determined based on the permanent identifier of the first AIoT device that no available security context for the first AIoT device has been found, then sending the first request. In this example, the specific processing method for determining whether an available security context for the first AIoT device has been found based on the permanent identifier of the first AIoT device is the same as the specific processing method for determining whether an available security context for the first AIoT device has been found based on the internal identifier of the first AIoT device in the previous example, and will not be described again.
[0108] In one embodiment, the first service request message may also carry at least one of the following: the identifier of the read / write device, or area information.
[0109] The read / write device can be one of the following: an access network device or a terminal. The access network device can refer to an access network device that serves or manages the one or more AIoT devices. The terminal can be an intermediate device, proxy device, or relay device for the one or more AIoT devices, meaning that the one or more AIoT devices can interact with network-side devices through the terminal. In some possible examples, the terminal can also be referred to as an Intermediate node, proxy UE, intermediate UE, relay device, intermediate device, proxy device, etc.
[0110] The identifier of the read / write device may include at least one of the following: a permanent identifier of the read / write device, a temporary identifier of the read / write device, or an external identifier of the read / write device.
[0111] The external identifier of the read / write device may include a third-party identifier of the read / write device. The AIoT NF can store a mapping or correspondence between the external identifier and the internal identifier of the read / write device. In this case, the internal identifier of the read / write device may include at least one of the following: a temporary identifier of the read / write device, a permanent identifier of the read / write device, etc. The processing after the AIoT NF receives the first service request message may include: if the first service request message carries the external identifier of the read / write device, converting the external identifier of the read / write device into an internal identifier.
[0112] The area information may include one or more tracking areas (TAs). Any TA may be represented by at least one of the following: the TAC (Tracking Area Code) corresponding to the TA, or the TAI (Tracking Area Identity) corresponding to the TA.
[0113] In one example, the AIoT NF receiving the first service request message can be: The AIoT NF receives the first service request message from the AF.
[0114] In one example, the AIoT NF receiving the first service request message can be as follows: The AIoT NF receives a first service request message from the NEF (Network Exposure Function). The NEF's processing can include: receiving a second service request message from the AF, and sending the first service request message to the AIoT NF. The AF's processing can be as follows: sending the second service request message to the NEF.
[0115] In one scenario, the content carried by the second service request message is the same as that of the first service request message.
[0116] In another scenario, the second service request message differs from the first service request message in at least part.
[0117] Both the second service request message and the first service request message carry downlink data corresponding to one or more AIoT devices.
[0118] In addition to carrying downlink data corresponding to one or more AIoT devices, the second service request message may also carry at least one of the following: the external identifier of the one or more AIoT devices, the external identifier of the read / write device, and area information. In this case, the NEF can perform identifier conversion processing, so that the first service request message it sends may carry at least one of the following, in addition to carrying downlink data corresponding to one or more AIoT devices: the internal identifier of the one or more AIoT devices, the internal identifier of the read / write device, and area information. The identifier conversion processing performed by the NEF is similar to the identifier conversion processing performed by the AIoT NF in the aforementioned embodiment, and will not be repeated.
[0119] In some possible implementations, the first request is proactively triggered by the AIoT NF. The AIoT NF method further includes sending the first request when the security context of the first AIoT device needs to be updated.
[0120] Optionally, the security context of the first AIoT device may include security parameters corresponding to the first AIoT device, and these security parameters (specifically, one or more keys) may have a corresponding update cycle. Optionally, the security context of the first AIoT device may correspond to or be associated with the authentication validity period (or the validity period of the authentication result).
[0121] If the security context of the first AIoT device is stored in the AIoT NF, the AIoT NF determines whether the security parameters corresponding to the first AIoT device have reached the update cycle and / or whether the authentication of the security context of the first AIoT device has expired. If the security parameters corresponding to the first AIoT device have reached the update cycle and / or the authentication of the security context of the first AIoT device has expired, the AIoT NF determines that the security parameters in the security context of the first AIoT device need to be updated.
[0122] If the security context of the first AIoT device is stored in the AIoT authentication function, then when the AIoT NF receives a notification from the AIoT authentication function that the security parameters corresponding to the first AIoT device have reached their update cycle, and / or a notification that the security context authentication of the first AIoT device has expired, it determines that the security parameters in the security context of the first AIoT device need to be updated. The processing of the AIoT authentication function may include: sending a notification to the AIoT NF that the security parameters corresponding to the first AIoT device have reached their update cycle when the security parameters have reached their update cycle; and / or sending a notification to the AIoT NF that the security context authentication of the first AIoT device has expired, or is not within its validity period.
[0123] In this embodiment, determining whether the security context authentication of the first AIoT device has expired can be replaced by determining whether the security context authentication of the first AIoT device is about to expire. The method for determining whether the security context of the first AIoT device is about to expire can be as follows: subtract a specified duration from the time when the security context authentication of the first AIoT device expires, and use this time as the time when the security context of the first AIoT device is about to expire. If the current time reaches the time when the security context of the first AIoT device is about to expire, then the security context of the first AIoT device is determined to be about to expire. The specified duration can be configured according to actual conditions, such as 1 hour, 10 minutes, longer, or shorter; it is not limited or exhaustively listed here.
[0124] In this embodiment, the first AIoT device may have gone through an authentication process, but the security context of the first AIoT device has expired (or is about to expire), or the security parameters (i.e., the key) need to be updated. This means that there may be a risk that the transmitted message cannot be protected with the existing security context. Therefore, it is necessary to update the authentication (or re-authenticate) of the first AIoT device to update the security context of the first AIoT device.
[0125] Optionally, the AIoT NF sending the first request can be: the AIoT NF sends a first request to the read / write device. The first AIoT device receiving the first request can be: the first AIoT device receives the first request from the read / write device. In this case, the aforementioned first service request message can carry the identifier of the read / write device so that the AIoT NF can identify the read / write device. The first request can be sent by the AIoT NF to the first AIoT device through the read / write device.
[0126] Optionally, the AIoT NF sending the first request can be: the AIoT NF sending a downlink NAS message carrying the first request to the first AIoT device. The first AIoT device receiving the first request can be: the first AIoT device receiving the downlink NAS message carrying the first request from the AIoT NF.
[0127] The first request may carry at least one of the following: a temporary identifier of the first AIoT device, information related to the group to which the first AIoT device belongs, or information related to the region where the first AIoT device is located.
[0128] Optionally, the first request may carry a temporary identifier of the first AIoT device.
[0129] The AIoT NF can be a first request sent because the first AIoT device may not have gone through the authentication process and authentication of the first AIoT device is required. This first request can be used for initial paging or initial discovery of the first AIoT device. The first request is called an initial paging message (e.g., the reader / writer is an access network device) or an initial discovery message (e.g., the reader / writer is a terminal). The first request carries the initial temporary identifier of the first AIoT device.
[0130] Alternatively, the AIoT NF can be a first request sent because the security context of the first AIoT device has expired (or is about to expire), or the security parameters (i.e., the key) need to be updated, determining that the first AIoT device needs to be updated for authentication (or re-authenticated). This first request can be for registration update, security parameter update, key update, or re-authentication of the first AIoT device. In this case, the first request may carry a temporary identifier currently used or stored by the first AIoT device.
[0131] It should be understood that if the AIoT NF receives the first service request message before issuing the first request, the AIoT NF can first save the downlink data corresponding to the first AIoT device, that is, the first request does not carry the downlink data of the first AIoT device.
[0132] Optionally, the first AIoT device sending a first response may include sending a first response if the first request carries a temporary identifier of the first AIoT device. Since the first request carries a temporary identifier of the first AIoT device, only the first AIoT device will send a first response.
[0133] It should be noted that if it is determined on the AIoT NF side that another AIoT device also needs to be authenticated or have its authentication updated, a first request can be sent to the other AIoT device. Since the relevant processing for other AIoT devices is the same as that for the first AIoT device, it will not be described in detail.
[0134] Optionally, the first request may carry information related to the group to which the first AIoT device belongs, or information related to the region to which the first AIoT device is located. The process of the first AIoT device sending a first response may include: sending a first response if the first request carries information related to the group to which the first AIoT device belongs, or information related to the region to which the first AIoT device is located. This first request may be a broadcast message, and in addition to the first AIoT device, one or more other AIoT devices may send responses.
[0135] For example, if the AIoT NF determines that multiple AIoT devices, including the first AIoT device, need to be authenticated (or re-authenticated), the AIoT NF can carry information about the group to which the first AIoT device belongs or information about the area to which the first AIoT device is located in the first request, so as to discover or page multiple AIoT devices at once.
[0136] For example, if the AIoT NF determines that only the first AIoT device needs to be authenticated (or re-authenticated), but there is no available security context for the first AIoT device, it can carry information about the group to which the first AIoT device belongs or information about the region to which the first AIoT device is located in the first request, in order to avoid directly sending the permanent identifier of the first AIoT device.
[0137] For example, the first request can be an initial downlink paging or an initial discovery message. It can be sent by sending information related to the group to which the first AIoT device is located, or information related to the area to which the first AIoT device is located (specifically, it can include at least one of GID, service identifier, or location-related ID). This avoids sending the identifier of a specific AIoT device without establishing security and is applicable to scenarios in group services that trigger multiple AIoT devices.
[0138] In some embodiments, the protected identifier of the first AIoT device includes: a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
[0139] Here, the protected identifier of the first AIoT device can also be simply referred to as the identifier of the first AIoT device, or alternatively referred to as the identifier reported by the AIoT device. Here, we do not limit or exhaust all possible alternative names for the protected identifier of the first AIoT device.
[0140] The temporary identifier of the first AIoT device can be the initial temporary identifier of the first AIoT device, or the temporary identifier of the first AIoT device that was last updated or most recently updated.
[0141] The encrypted permanent identifier of the first AIoT device is calculated based on the anonymous key (AK) and the permanent identifier of the first AIoT device, wherein the AK is calculated based on the root key corresponding to the first AIoT device.
[0142] The root key corresponding to the first AIoT device can be contained in the security credentials of the first AIoT device.
[0143] The security credentials of the first AIoT device can be pre-stored in the first AIoT device. Alternatively, the security credentials of the first AIoT device can be provided to the first AIoT device by a third party (such as AF). The security credentials of the first AIoT device can also be pre-provided by a third party (such as AF) to the network-side AIoT authentication function and / or AIoT key management function.
[0144] In addition to the root key (denoted as K), the security credentials of the first AIoT device may also include: a permanent identifier of the first AIoT device, or a first part of the permanent identifier of the first AIoT device. For example, the first part may be an identifier of the first AIoT device defined by a third party; or, a third-party ID and a third-party defined identifier of the first AIoT device, etc. The content or type of the identifier of the first AIoT device that may be included in the security credentials of the first AIoT device is not exhaustively or limited.
[0145] Optionally, the calculation of AK may include: taking the fresh value as an input parameter and the root key K as an input key, and using a first preset algorithm to calculate AK from the input parameter and the input key. This first preset algorithm can be configured according to actual conditions, such as the f5 function (anonymous key derivation function), etc., and is not limited or exhaustively listed here.
[0146] The freshness value can be transmitted from the AIoT device to the network side, or generated by the first AIoT device and the network side in the same way. By incorporating a freshness value during AK generation, the tracking of repeatedly used encrypted identifiers can be prevented. For example, the freshness value can be determined based on a counter or timer. For instance, the AIoT authentication and / or AIoT key management functions on both the first AIoT device and the network side maintain synchronized timers, using the timer value when calculating the AK as the freshness value. Alternatively, the AIoT authentication and / or AIoT key management functions on both the first AIoT device and the network side maintain a counter with the same initial value. The first AIoT device uses the counter value when calculating the AK as the freshness value. This counter can be incremented by one for each encryption or decryption calculation related to the first AIoT device, or it can be incremented by one for each AK calculation related to the first AIoT device.
[0147] Optionally, AK can be calculated using a lower-level key derived from K. This embodiment does not limit the calculation method for this derivative.
[0148] For example, the encrypted permanent identifier of the first AIoT device may be calculated based on at least a portion of the AK and the permanent identifier of the first AIoT device.
[0149] In one scenario, the encrypted permanent identifier of the first AIoT device is a fully encrypted identifier, which can be calculated based on the AK and the entire contents of the first AIoT device's permanent identifier. The encryption algorithm for the encrypted permanent identifier of the first AIoT device can be configured according to the actual situation.
[0150] For example, the first AIoT device can calculate a first confidentiality keystream based on AK and first encryption parameters. Then, it can perform an XOR operation on the first confidentiality keystream and the entire contents of the first AIoT device's permanent identifier to obtain the encrypted permanent identifier of the first AIoT device. The first encryption parameters can be configured according to actual conditions, such as including the length of the first AIoT device's permanent identifier, a freshness value, etc. The possible contents of the first encryption parameters are not limited or exhaustively listed here. Including a freshness value during the identifier encryption process is also to prevent the long-term use of the same encrypted identifier from being tracked.
[0151] In another scenario, the encrypted permanent identifier of the first AIoT device is a partially encrypted identifier. This encrypted permanent identifier can be calculated based on the AK and a portion of the permanent identifier of the first AIoT device. Specifically, the encrypted permanent identifier of the first AIoT device can include: a plaintext portion identifier and a ciphertext portion identifier, wherein the ciphertext portion identifier can be obtained by encrypting a second portion of the permanent identifier of the first AIoT device based on the AK.
[0152] The encrypted identifier of the first AIoT device can be calculated as follows: a second confidentiality key stream is calculated based on AK and the second encryption parameters; then, an XOR operation is performed between the second confidentiality key stream and the second part of the permanent identifier of the first AIoT device to obtain the encrypted identifier of the first AIoT device. The second encryption parameters can be configured according to actual conditions, and may include, for example, the length and freshness value of the second part of the permanent identifier of the first AIoT device. The possible contents of the second encryption parameters are not limited or exhaustively listed here.
[0153] In this case, the encrypted portion of the identifier of the first AIoT device is mainly used to keep the unique identifier portion of the first AIoT device confidential; the plaintext portion of the identifier of the first AIoT device serves to route the received message (or the content of the message) to the corresponding AIoT authentication function (or the network element with the AIoT authentication function) and / or to identify the network information of the first AIoT device.
[0154] The second part of the permanent identifier of the first AIoT device may include at least one of the following: an ID for identifying a third party, an ID for identifying a specific first AIoT device, or an identifier for the first AIoT device defined by a third party. Preferably, the second part includes at least the ID for identifying a specific first AIoT device. Optionally, the second part may include the ID for identifying a specific first AIoT device, an identifier for the first AIoT device defined by a third party; or, the ID for identifying a third party, the ID for identifying a specific first AIoT device, and an identifier for the first AIoT device defined by a third party.
[0155] The plaintext portion of the first AIoT device's identifier may include the remaining portion of the first AIoT device's permanent identifier, excluding the second portion. For example, if the second portion includes an ID for identifying a specific first AIoT device and a third-party defined identifier for the first AIoT device, then the plaintext portion of the first AIoT device's identifier may include at least one of the following: a home domain network identifier, a network routing identifier, or an ID for identifying a third party.
[0156] Optionally, the plaintext portion of the identifier for the first AIoT device may also include the device type.
[0157] Optionally, the plaintext portion of the identifier of the first AIoT device may further include a protection algorithm identifier. The purpose of this protection algorithm identifier is to enable the AIoT NF to determine the encryption algorithm used in the ciphertext portion of the first AIoT device's identifier. Since symmetric encryption is used in this embodiment, the AIoT NF can determine the corresponding decryption algorithm once it has determined the encryption algorithm.
[0158] Referring to Figure 6, an exemplary description of the encrypted permanent identifier of the first AIoT device is provided. The encrypted permanent identifier of the first AIoT device includes a plaintext part identifier and a ciphertext part identifier (Figure 6 simply illustrates the ciphertext). The plaintext part identifier of the first AIoT device includes a home domain network identifier, a network routing identifier, and a protection algorithm identifier.
[0159] In addition, the encrypted permanent identifier of the first AIoT device may be used in the above possible processes, including but not limited to. For example, when the first AIoT device receives an Identity request to determine that it needs to report the device identifier for network synchronization, the encrypted permanent identifier of the first AIoT device may also be reported using the above processing method.
[0160] Optionally, the first AIoT device sending the first response can be: the first AIoT device sends a first response to the read / write device. The AIoT NF receiving the first response can be: the AIoT NF receives the first response from the read / write device.
[0161] Optionally, the first AIoT device sending the first response can be: the first AIoT device sending an uplink NAS message carrying the first response to the AIoT NF. The AIoT NF receiving the first response can be: the AIoT NF receiving the uplink NAS message carrying the first response from the first AIoT device.
[0162] In some possible implementations, after receiving the first response, the AIoT NF further includes: calculating the permanent identifier of the first AIoT device based on the AK and the encrypted permanent identifier of the first AIoT device, wherein the AK is calculated based on the root key corresponding to the first AIoT device.
[0163] Optionally, the AK can be calculated by the AIoT NF, and the calculation method is the same as that of the first AIoT device, which will not be described in detail. The root key K of the first AIoT device can be obtained by the AIoT NF from the function that stores the security credentials of the first AIoT device (such as the AIoT authentication function or the AIoT key management function).
[0164] Optionally, the AK may be obtained by the AIoT NF from a function that stores the security credentials of the first AIoT device (such as an AIoT authentication function or an AIoT key management function). For example, the AIoT NF may send a request to the AIoT authentication function or the AIoT key management function to obtain the AK, and receive the AK from the AIoT authentication function or the AIoT key management function.
[0165] The decryption algorithm for the encrypted permanent identifier of the first AIoT device should correspond to the encryption algorithm for the encrypted permanent identifier of the first AIoT device.
[0166] In one example, the encrypted permanent identifier of the first AIoT device is obtained by encrypting the entire contents of either a permanent identifier or a temporary identifier. The AIoT NF can calculate a first decryption key stream based on AK and a first decryption parameter. Then, an XOR operation is performed between the first decryption key stream and the encrypted permanent identifier of the first AIoT device to obtain the permanent identifier of the first AIoT device. The first decryption parameter should correspond to the first encryption parameter, and may include, for example, the length and freshness value of the encrypted permanent identifier of the first AIoT device. The possible contents of the first decryption parameter are not limited or exhaustively listed here.
[0167] In one example, the encrypted permanent identifier of the first AIoT device includes a plaintext identifier and a ciphertext identifier of the first AIoT device. The AIoT NF can calculate a second decryption key stream based on AK and a second decryption parameter. An XOR operation is then performed between the second decryption key stream and the ciphertext identifier of the first AIoT device to obtain the second part of the permanent identifier of the first AIoT device. Finally, the permanent identifier of the first AIoT device is obtained based on the second part of the permanent identifier and the plaintext identifier. The second decryption parameter should correspond to the second encryption parameter, and may include, for example, the length and freshness value of the ciphertext identifier of the first AIoT device. The possible contents of the second decryption parameter are not limited or exhaustively listed here.
[0168] In some possible implementations, after receiving the first response, the AIoT NF may further include: sending an encrypted permanent identifier of the first AIoT device; and receiving the permanent identifier of the first AIoT device.
[0169] Sending the encrypted permanent identifier of the first AIoT device can be achieved by sending the encrypted permanent identifier of the first AIoT device to the decryption function. Receiving the permanent identifier of the first AIoT device can be achieved by receiving the permanent identifier of the first AIoT device sent by the decryption function.
[0170] The decryption function can calculate AK and decrypt the encrypted permanent identifier of the first AIoT device. The method for calculating AK is the same as in the previous embodiment, and the decryption algorithm for the encrypted permanent identifier of the first AIoT device is the same as in the previous embodiment, and will not be described again.
[0171] The decryption function can be set up in a newly added network element in the core network dedicated to decrypting the identifier of AIoT devices. Alternatively, the decryption function can be set up in an existing network element in the core network, that is, adding a function dedicated to decrypting the encrypted permanent identifier of AIoT devices to an existing network element in the core network. Optionally, this decryption function can also be replaced by an AIoT key management function or other possible functions, which are not limited or exhaustive here.
[0172] In some possible implementations, after receiving the first response, the AIoT NF further includes sending an authentication request to the AIoT authentication function, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device. The authentication request carries one of the following: a permanent identifier of the first AIoT device, a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
[0173] In one embodiment, after receiving the first response and obtaining either the decrypted permanent identifier of the first AIoT device or the temporary identifier of the first AIoT device, the AIoT NF sends an authentication request to the AIoT authentication function. The authentication request carries one of the following: the permanent identifier of the first AIoT device or the temporary identifier of the first AIoT device.
[0174] Optionally, after obtaining the permanent identifier or temporary identifier of the first AIoT device, the AIoT NF can also determine whether the first AIoT device is any one of the one or more AIoT devices requested by the first service request message. If the first AIoT device is any one of the one or more AIoT devices requested by the first service request message, then an authentication request is sent to the AIoT authentication function to trigger authentication between the AIoT authentication function and the first AIoT device.
[0175] For example, the AIoT NF side can obtain the permanent identifier or internal identifier of one or more AIoT devices in advance based on the first service request message. Correspondingly, determining whether the first AIoT device is any one of the one or more AIoT devices requested by the first service request message can be as follows: if the AIoT NF obtains the decrypted permanent identifier or the temporary identifier of the first AIoT device, it can determine whether the permanent identifier or temporary identifier of the one or more AIoT devices corresponding to the first service request message contains the permanent identifier or temporary identifier of the first AIoT device. If it does, then the first AIoT device is determined to be one of the one or more AIoT devices requested by the first service request message.
[0176] In one embodiment, after receiving the first response, the AIoT NF includes sending an authentication request to the AIoT authentication function. The authentication request carries an encrypted permanent identifier of the first AIoT device. That is, the AIoT NF may not perform decryption processing.
[0177] In one scenario, the encrypted permanent identifier of the first AIoT device is a partially encrypted identifier. The AIoT NF can send an authentication request to the AIoT authentication function by: determining the corresponding AIoT authentication function based on the plaintext portion of the encrypted permanent identifier of the first AIoT device, and then sending an authentication request to that AIoT authentication function.
[0178] Determining the corresponding AIoT authentication function based on the plaintext portion of the encrypted permanent identifier of the first AIoT device, and sending an authentication request to the AIoT authentication function, may include: if the plaintext portion of the first AIoT device matches any one of one or more AIoT devices in the first service request message, determining the corresponding AIoT authentication function based on the plaintext portion of the encrypted permanent identifier of the first AIoT device, and sending an authentication request to the AIoT authentication function.
[0179] In one scenario, the AIoT NF may only address one AIoT authentication function. In this case, the encrypted permanent identifier of the first AIoT device in the first response (whether fully or partially encrypted) is not decrypted, and the encrypted permanent identifier of the first AIoT device is directly sent to the AIoT authentication function in the authentication request.
[0180] Regardless of whether the encrypted permanent identifier of the first AIoT device is fully encrypted or partially encrypted, the AIoT authentication function's decryption process for the encrypted permanent identifier of the first AIoT device is the same as in the aforementioned embodiments, and will not be repeated here.
[0181] In some possible implementations, after receiving an authentication request, the AIoT authentication function can perform authentication with the first AIoT device. Authentication between the AIoT authentication function and the first AIoT device can include one of the following: two-way authentication between the AIoT authentication function and the first AIoT device, one-way authentication by the AIoT authentication function to the first AIoT device, or one-way authentication by the first AIoT device to the AIoT authentication function. In some preferred examples, only one-way authentication by the first AIoT device to the AIoT authentication function may be performed. The specific processing methods for each of these authentication methods are not limited in this embodiment.
[0182] After the AIoT authentication function completes the authentication with the first AIoT device, the security parameters corresponding to the AIoT device can be derived.
[0183] In some embodiments, on the AIoT authentication function side, the method further includes: obtaining security parameters corresponding to the first AIoT device, wherein the security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, a third key between the first AIoT device and the read / write device, and a fourth key between the first AIoT device and the service function AF.
[0184] The AIoT authentication function obtains the security parameters corresponding to the first AIoT device, including one of the following: obtaining the security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device; or obtaining the security parameters corresponding to the first AIoT device from the AIoT key management function.
[0185] In one embodiment, the timing for obtaining the security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device can be after the AIoT authentication function has completed authentication with the first AIoT device (preferably), or during the authentication process with the first AIoT device.
[0186] In one example, obtaining the security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device may include: deriving at least one of the first key, the second key, the third key, and the fourth key based on the root key corresponding to the first AIoT device.
[0187] Optionally, deriving the first key based on the root key corresponding to the first AIoT device may include: deriving the first key based on the root key corresponding to the first AIoT device and the first key generation parameters; or, deriving an intermediate key based on the root key corresponding to the first AIoT device, and deriving the first key based on the intermediate key and the first key generation parameters.
[0188] The intermediate key may include CK (Ciphering Key) and / or IK (Integrity Key), and the derivation method of the intermediate key is not limited in this embodiment. The calculation method for deriving the first key based on the intermediate key and the first key generation parameters is not limited in this example.
[0189] The first key generation parameters may include the identifier of the first AIoT device and the identifier of the AIoT authentication function. The identifier of the first AIoT device can be a permanent identifier of the first AIoT device. Alternatively, the identifier of the first AIoT device can be obtained based on the authentication request; for example, if the authentication request carries a permanent identifier, then the permanent identifier of the first AIoT device can be used; if the authentication request carries a temporary identifier, then the temporary identifier of the first AIoT device can be used. As long as the identifier and its type used by the first AIoT device are the same as the identifier and its type used by the AIoT authentication function, they are within the scope of protection of this embodiment.
[0190] The first key generation parameters may further include at least one of a first random number, a first count value, etc. The first random number may be generated by the first AIoT device during the authentication process and transmitted to the AIoT authentication function via messages during the authentication process, or it may be generated by the AIoT authentication function and transmitted to the first AIoT device via messages during the authentication process. The first count value may be the same value obtained by both the first AIoT device and the AIoT authentication function. For example, the first AIoT device and the AIoT authentication function may configure a counter corresponding to the first AIoT device, and both may set the same initial value (e.g., 0). Each time the derived security parameter processing (or key calculation, or encryption calculation, or computational processing, etc.) is performed, both parties increment the count value by one to ensure that the first AIoT device and the AIoT authentication function use the same count value.
[0191] Optionally, deriving the second key based on the root key corresponding to the first AIoT device may include: deriving the second key based on the root key and the second key generation parameters corresponding to the first AIoT device; or, deriving an intermediate key based on the root key corresponding to the first AIoT device, and deriving the second key based on the intermediate key and the second key generation parameters.
[0192] The second key generation parameters may include at least the identifier of the first AIoT device and the identifier of the AIoT NF. Further, the second key generation parameters may also include at least one of a second random number and a second count value. The second random number may be the same as or different from the first random number, and the method for obtaining or configuring the second random number is the same as the method for obtaining the first random number. The second count value may be the same as or different from the first count value, and the method for determining the second count value is similar to that of the first count value. As long as the first AIoT device and the AIoT authentication function use the same second random number and / or the same second count value, it is within the scope of protection of this embodiment.
[0193] Optionally, deriving the third key based on the root key corresponding to the first AIoT device may include: deriving the third key based on the root key corresponding to the first AIoT device and the third key generation parameters; or, deriving an intermediate key based on the root key corresponding to the first AIoT device, and deriving the third key based on the intermediate key and the third key generation parameters.
[0194] The third key generation parameter may include at least the identifier of the first AIoT device and the identifier of the read / write device. Furthermore, the third key generation parameter may also include at least one of a third random number and a third count value. The description of the third random number is the same as that of the second random number and the first random number in the aforementioned embodiments. The description of the third count value is the same as that of the first count value and the second count value in the aforementioned embodiments, and will not be repeated here.
[0195] Optionally, deriving the fourth key based on the root key corresponding to the first AIoT device may include: deriving the fourth key based on the root key corresponding to the first AIoT device and the fourth key generation parameters; or, deriving an intermediate key based on the root key corresponding to the first AIoT device, and deriving the fourth key based on the intermediate key and the fourth key generation parameters.
[0196] The fourth key generation parameter may include at least the identifier of the first AIoT device and the identifier of the AF. Furthermore, the fourth key generation parameter may also include at least one of a fourth random number and a fourth count value. The description of the fourth random number is the same as that of the random numbers in the previous embodiments. The description of the fourth count value is the same as that of the count values in the previous embodiments, and will not be repeated here.
[0197] In one example, obtaining the security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device includes: obtaining the first key based on the root key corresponding to the first AIoT device, and deriving at least one of the following based on the first key: the second key, the third key, and the fourth key.
[0198] Obtaining the first key based on the root key corresponding to the first AIoT device can include one of the following: directly using the root key corresponding to the first AIoT device as the first key; deriving the first key based on the root key corresponding to the first AIoT device and the first key generation parameters; deriving an intermediate key based on the root key corresponding to the first AIoT device, and deriving the first key based on the intermediate key and the first key generation parameters. The above processing methods are the same as those in the foregoing embodiments and will not be repeated.
[0199] Deriving the second key from the first key can include: deriving the second key based on the first key and second key generation parameters. Deriving the third key from the first key can include: deriving the third key based on the first key and third key generation parameters. Deriving the fourth key from the first key can include: deriving the fourth key based on the first key and fourth key generation parameters.
[0200] It should be understood that the above is only an exemplary description of the first to fourth key generation parameters. In actual processing, the above key generation parameters may include other parameters that are the same or different, which are not exhaustively listed or limited here.
[0201] It should also be noted that the key algorithms used to derive the first to fourth keys can be configured according to the actual situation. For example, keys can be derived from the AES algorithm, such as using AES-128, and the calculated 128-bit string can be used as a key.
[0202] In one example, the AIoT authentication function obtains the security parameters corresponding to the first AIoT device, including obtaining the security parameters corresponding to the first AIoT device from the AIoT Key Management Function (AIoT KMF).
[0203] For example, the AIoT authentication function can trigger the AIoT key management function to derive the security parameters corresponding to the first AIoT device after completing the authentication with the first AIoT device (or during the authentication process with the first AIoT device), and receive the security parameters corresponding to the first AIoT device from the AIoT key management function.
[0204] The AIoT key management function can be a new feature added to 5GC, such as being set in a new network element; or, the AIoT key management function can be implemented from any of the following functions: AUSF (Authentication Server Function), SEAF (Security Anchor Function), or AMF (Access and Mobility Management Function). This embodiment does not exhaustively list or limit the specific implementation of the AIoT key management function.
[0205] The AIoT authentication function and the AIoT key management function can be set in the same core network device, such as both in the first core network device or the second core network device. Alternatively, the AIoT authentication function and the AIoT key management function can be set in different core network devices, such as the AIoT key management function being set in the third core network device, and the AIoT authentication function being set in the first core network device or the second core network device.
[0206] The processing of each key in the security parameters corresponding to the first AIoT device derived from the AIoT key management function is the same as the processing of each key in the security parameters corresponding to the first AIoT device derived from the AIoT authentication function. Therefore, it will not be explained again.
[0207] Taking AIoT KMF as an example, as shown in Figure 7, the first step is to derive the shared key K between the AIoT KMF and the first AIoT device. AUSF (i.e., the first key), the next-level key K AIoT-UE / gNB (i.e., the third key, the reading / writing device can be a UE or gNB), K AIoT-AIoTF (i.e., the second key), K AIoT-AF (i.e., the fourth key) can be obtained from K AUSF Derivation. Furthermore, as shown in Figure 7, AUSF can also first derive CK and / or IK from K, and then derive K from CK and / or IK. AUSF Furthermore, AUSF can also derive AK from K. The specific generation methods for each of the above keys are the same as those in the aforementioned embodiments, and will not be repeated here.
[0208] In some embodiments, on the first AIoT device side, the method further includes: obtaining security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device, wherein the security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, a third key between the first AIoT device and the read / write device, and a fourth key between the first AIoT device and the service function AF.
[0209] The first AIoT device may obtain its security parameters after completing authentication with the AIoT authentication function or during the authentication process with the AIoT authentication function.
[0210] Optionally, obtaining the security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device includes: obtaining the first key based on the root key corresponding to the first AIoT device, and deriving at least one of the following based on the first key: the second key, the third key, and the fourth key.
[0211] The processing method for obtaining each key of the security parameters corresponding to the first AIoT device from the first AIoT device should be the same as the processing method for obtaining each key of the security parameters corresponding to the first AIoT device from the AIoT authentication function (or AIoT key management function), and will not be elaborated further.
[0212] In some possible implementations, on the AIoT authentication function and the first AIoT device side, the method further includes: generating or updating the security context of the first AIoT device based on the security parameters corresponding to the first AIoT device.
[0213] Optionally, the first request may be for initial paging or initial discovery of the first AIoT device, and correspondingly, the security context of the first AIoT device may be generated for the first time. On the AIoT authentication function and the first AIoT device side, security parameters corresponding to the first AIoT device can be added to the security context of the first AIoT device. In addition, the security context of the first AIoT device may also include other parameters besides the security parameters corresponding to the first AIoT device; the possible types or generation methods of these other parameters are not limited or exhaustively listed here.
[0214] Optionally, the first request may be for registration update, security parameter update, key update, or re-authentication of the first AIoT device. Correspondingly, the security context of the first AIoT device may be updated. On the AIoT authentication function and the first AIoT device side, the original security parameters of the first AIoT device in its security context can be deleted, and the newly generated security parameters corresponding to the first AIoT device can be replaced in its security context. Furthermore, this embodiment does not limit whether other parameters included in the security context of the first AIoT device are updated.
[0215] In some possible embodiments, after generating or updating the security context of the first AIoT device, the AIoT authentication function further includes at least one of the following: sending the second key to the AIoT NF; sending the identifier of the security context of the first AIoT device to the AIoT NF; sending the security context of the first AIoT device to the AIoT NF; sending the third key to the read / write device corresponding to the first AIoT device; sending the fourth key to the AF; and sending the identifier of the security context of the first AIoT device to the first AIoT device.
[0216] On the AIoT NF side, it further includes at least one of the following: receiving a second key between the first AIoT device and the AIoT NF from the AIoT authentication function; receiving an identifier of the security context of the first AIoT device from the AIoT authentication function; receiving the security context of the first AIoT device from the AIoT authentication function, wherein the security context of the first AIoT device includes security parameters corresponding to the first AIoT device, and the security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, and a third key between the first AIoT device and the read / write device.
[0217] In one scenario, the AIoT NF receives a second key from the AIoT authentication function and stores it locally. The AIoT NF can then request the AIoT authentication function and obtain the corresponding result the next time it needs to determine whether a first AIoT device's security context is available or whether it is usable.
[0218] In one scenario, the AIoT NF receives and stores the security context identifier of the first AIoT device from the AIoT authentication function locally. When the AIoF NF needs to use a second key with the first AIoT device, it can obtain that second key from the AIoT authentication function.
[0219] In one scenario, the AIoT NF receives the identifier and second key of the security context from the first AIoT device of the AIoT authentication function and stores them locally.
[0220] In one scenario, the AIoT NF can receive the security context and its identifier from the first AIoT device of the AIoT authentication function and store them locally. The AIoT NF can directly determine whether the security context is available based on the locally stored content and directly extract the second key from the security context.
[0221] The above is merely an illustrative example; it does not exhaustively list or limit all the content that AIoT NF may receive.
[0222] The AIoT NF can also generate an updated temporary identifier for the first AIoT device (this can be done during authentication, after authentication, or after receiving at least one of the above from the AIoT authentication function). The AIoT NF's processing also includes sending the temporary identifier and the permanent identifier of the first AIoT device to the corresponding read / write device. Correspondingly, the read / write device's processing may further include receiving the temporary identifier and the permanent identifier of the first AIoT device from the AIoT NF, and associating and storing the temporary identifier and the permanent identifier of the first AIoT device.
[0223] In one embodiment, the processing of the first AIoT device further includes: receiving an identifier of the security context of the first AIoT device.
[0224] In one scenario, the security context identifier of the first AIoT device may be sent by the AIoT NF. For example, after receiving the security context identifier of the first AIoT device on the AIoT NF side, the method further includes: sending the security context identifier of the first AIoT device to the first AIoT device.
[0225] In one scenario, the security context identifier of the first AIoT device may be sent by the AIoT authentication function.
[0226] In one scenario, the identifier of the security context of the first AIoT device can be sent by the AIoT key management function. For example, after the AIoT key management function generates or updates the security context of the first AIoT device, it can send the identifier of the security context of the first AIoT device to the first AIoT device.
[0227] In some possible implementations, the AIoT NF processing further includes sending a second request, wherein the second request carries downlink data corresponding to the first AIoT device that is securely protected based on security parameters corresponding to the first AIoT device in the security context of the first AIoT device.
[0228] The AIoT NF can send a second request in the following ways: After receiving the first service request message, the AIoT NF sends a second request if it finds an available security context for the first AIoT device. In this case, since the AIoT NF can find the security context of the first AIoT device, it can directly send the second request to the first AIoT device after receiving the first service request message.
[0229] Alternatively, the AIoT NF may send the second request after receiving the first service request message and after receiving at least the second key (or the security context of the first AIoT device) from the AIoT authentication function.
[0230] The method of sending the second request is similar to that of sending the first request in the aforementioned embodiments, and will not be described again.
[0231] The security protection may include encryption (encryption processing) and / or integrity protection (integrity protection processing).
[0232] Optionally, the second request may carry: a first integrity check code obtained by performing integrity calculation on the downlink data corresponding to the first AIoT device based on the second key, and the downlink data (i.e., downlink plaintext data or downlink service data).
[0233] Optionally, the second request may carry: downlink ciphertext data obtained by encrypting the downlink data corresponding to the first AIoT device based on the second key.
[0234] Optionally, the second request may carry downlink ciphertext data and a first integrity check code obtained by performing integrity calculation on the downlink ciphertext data based on the second key.
[0235] The second key can be used directly as a security key to calculate the first security check code and / or directly as a confidentiality key to calculate downlink ciphertext data; and / or, the second key can also be used to derive a security key and / or a confidentiality key between the first AIoT device and the AIoT NF, and then the first security check code can be calculated based on the derived security key, and the downlink ciphertext data can be calculated based on the derived confidentiality key.
[0236] The method of integrity calculation described above is not limited in this embodiment. The specific algorithm for encryption calculation is also not limited in this embodiment.
[0237] Furthermore, the second request may also carry at least one of the following: a temporary identifier of the first AIoT device, a permanent identifier of the first AIoT device for security protection based on the security parameters corresponding to the first AIoT device, information related to the group to which the first AIoT device belongs, information related to the region to which the first AIoT device belongs, an identifier of the security context of the first AIoT device, and a key identifier, wherein the key identifier is used by the first AIoT device to determine the key used to perform security protection from the security parameters corresponding to the first AIoT device.
[0238] Preferably, the second request may carry a temporary identifier of the first AIoT device, that is, a temporary identifier currently used by the first AIoT device.
[0239] Optionally, if AIoTNF updates the temporary identifier of the first AIoT device, the second request may carry the updated temporary identifier of the first AIoT device, which is protected based on the security parameters corresponding to the first AIoT device. For example, the AIoT NF may protect the updated temporary identifier of the first AIoT device together with the downlink data corresponding to the first AIoT device. That is, in the aforementioned process of calculating the first integrity check code and / or downlink ciphertext data, the downlink data corresponding to the first AIoT device and the updated temporary identifier of the first AIoT device may be used together. Alternatively, the AIoT NF may calculate a new integrity check code and / or new ciphertext data separately from the updated temporary identifier of the first AIoT device. The method of calculating the check code and ciphertext data is similar to the aforementioned embodiments and will not be described in detail.
[0240] Optionally, the second request may also carry a permanent identifier of the first AIoT device, which is protected based on the security parameters corresponding to the first AIoT device. For example, the AIoT NF may protect the permanent identifier of the first AIoT device together with the downlink data corresponding to the first AIoT device. That is, in the aforementioned process of calculating the first integrity check code and / or downlink ciphertext data, the downlink data corresponding to the first AIoT device and the permanent identifier of the first AIoT device may be used together. Alternatively, the AIoT NF may calculate a new integrity check code and / or new ciphertext data separately from the permanent identifier of the first AIoT device. The method of calculating the check code and ciphertext data is similar to the aforementioned embodiments and will not be described in detail.
[0241] Optionally, when it is necessary to send downlink data to multiple AIoT devices in the same group as the first AIoT device, the second request may carry information related to the group to which the first AIoT device belongs; when it is necessary to send downlink data to multiple AIoT devices in the same area as the first AIoT device, the second request may carry information related to the area to which the first AIoT device belongs.
[0242] The purpose of identifying the security context of the first AIoT device is to enable the first AIoT device to determine the security context currently used on the AIoT NF side.
[0243] It should be noted that the first service request message can refer to any service request message sent by AF to AIoT NF (or sent by AF to AIoT NF through NEF). The processing performed by each service request message sent by AF to AIoT NF is similar to the processing corresponding to the first service request message, but for the sake of simplicity, it will not be described in detail.
[0244] On the first AIoT device side, the method further includes: receiving a second request, wherein the second request carries downlink data for security protection based on security parameters corresponding to the first AIoT device.
[0245] The first AIoT device can perform security verification and / or decryption on the downlink data.
[0246] Optionally, the second request may carry a first integrity verification code and the downlink data. The processing of the first AIoT device further includes: calculating the first integrity verification code based on the second key in the security parameters corresponding to the first AIoT device and the downlink data; and verifying the integrity of the second request based on the first integrity verification code and the first integrity verification code.
[0247] Optionally, the second request may carry downlink encrypted data. The processing by the first AIoT device further includes: decrypting the downlink encrypted data based on the second key in the security parameters corresponding to the first AIoT device to obtain the downlink data. The algorithm used for this decryption calculation is not limited in this embodiment; as long as it corresponds to the encryption calculation algorithm, it is within the protection scope of this embodiment.
[0248] Optionally, the second request may carry downlink encrypted data and a first integrity verification code. The processing of the first AIoT device further includes: calculating the first integrity verification code based on the second key in the security parameters corresponding to the first AIoT device and the downlink encrypted data; if the first integrity verification code and the first integrity verification code are consistent, determining that the integrity of the second request has been verified; and decrypting the downlink encrypted data based on the second key to obtain the downlink data.
[0249] Specifically, verifying the integrity of the second request based on the first integrity verification code and the first integrity check code can be as follows: if the first integrity verification code and the first integrity check code are consistent, the integrity verification of the second request is determined to be successful; and / or, if the first integrity verification code and the first integrity check code are inconsistent, the integrity verification of the second request is determined to be unsuccessful. Further, if the integrity verification of the second request is determined to be successful, the first AIoT device can extract the downlink data.
[0250] If the second request carries the identifier of the security context and / or the key identifier of the first AIoT device, the first AIoT device may determine the second key based on the identifier of the security context and / or the key identifier of the first AIoT device. If the second request does not carry the identifier of the security context and / or the key identifier of the first AIoT device, the first AIoT device may use the second key in the currently saved security context by default.
[0251] The first AIoT device can directly use the second key as the integrity key and / or confidentiality key, and / or it can also derive the integrity key and / or confidentiality key between the first AIoT device and the AIoT NF based on the second key, and then calculate the first integrity verification code based on the integrity key and decrypt it based on the confidentiality key. There are no restrictions on the calculation methods such as deriving the integrity key. As long as the key used by the first AIoT device is consistent with the AIoT NF, it is within the protection scope of this embodiment.
[0252] When the second request carries the temporary identifier of the first AIoT device, the first AIoT device may first extract its temporary identifier. If this temporary identifier is an updated temporary identifier, it saves the updated temporary identifier and then performs integrity verification and / or decryption. Alternatively, the first AIoT device may perform integrity verification and / or decryption when the second request carries information related to the group to which the first AIoT device belongs or information related to the region to which the first AIoT device is located.
[0253] When the second request carries the permanent identifier of the first AIoT device which is protected by security parameters corresponding to the first AIoT device, the permanent identifier of the first AIoT device after security protection can be subjected to integrity verification and / or decryption. The integrity verification and / or decryption process is similar to the aforementioned processing of downlink data and will not be described in detail.
[0254] In some embodiments, the processing of the first AIoT device further includes sending a second response, wherein the second response carries uplink data that is protected by security parameters corresponding to the first AIoT device.
[0255] The uplink data may include the content fed back by the first AIoT device in response to the commands contained in the received downlink data. Specifically, the uplink data may include one of the following: the permanent identifier of the first AIoT device, the data content read by the first AIoT device, or the execution result of the first AIoT device writing data. Specifically, the permanent identifier of the first AIoT device may be the feedback content of the AIoT device in response to the inventory message contained in the downlink data; the data content read by the first AIoT device may be the data content fed back by the AIoT device when executing the read command contained in the downlink data (e.g., it may include sensor data); the execution result of the first AIoT device writing data may be the execution result fed back by the first AIoT device when executing the write command contained in the downlink data (e.g., write completed or write failed).
[0256] Optionally, the second response may carry: a second integrity check code obtained by performing integrity calculation on the uplink data based on the second key, and the uplink data (i.e., uplink plaintext data). The method of integrity calculation is not limited, and the second key can be used directly or derived from an integrity key, and will not be repeated here.
[0257] Optionally, the second response may carry: uplink ciphertext data obtained by encrypting the uplink data based on the second key. The specific algorithm for the encryption calculation is not limited in this embodiment. The second key can be a direct use of or a derived confidentiality key, and will not be described again.
[0258] Optionally, the second request may carry: uplink ciphertext data obtained by encrypting the uplink data based on the second key, and a second integrity check code obtained by performing integrity calculation on the uplink ciphertext data based on the second key.
[0259] The second response may also carry at least one of the following: a temporary identifier of the first AIoT device, or a permanent identifier of the first AIoT device that is protected based on the security parameters corresponding to the first AIoT device.
[0260] Preferably, the second response may carry a temporary identifier of the first AIoT device, that is, the temporary identifier currently used by the first AIoT device. For example, if an updated temporary identifier of the first AIoT device is received through the second request, the updated temporary identifier of the first AIoT device may be carried in the second response.
[0261] Optionally, the second response may also carry a permanent identifier of the first AIoT device, which is protected by security parameters corresponding to the first AIoT device. The description of the permanent identifier for security protection in the second response is similar to the description of the permanent identifier for security protection carried in the second request, and will not be repeated here.
[0262] In some embodiments, the AIoT NF processing further includes receiving a second response, wherein the second response carries uplink data that is protected by security parameters corresponding to the first AIoT device.
[0263] Optionally, the second response may carry a second integrity verification code and the uplink data. The AIoT NF processing includes: calculating the second integrity verification code based on the second key in the security parameters corresponding to the first AIoT device and the uplink data; and verifying the integrity of the second response based on the second integrity verification code and the second integrity check code.
[0264] Optionally, the second response may carry uplink ciphertext data. The AIoT NF processing includes: decrypting the uplink ciphertext data based on the second key in the security parameters corresponding to the first AIoT device to obtain the uplink data. The algorithm used for this decryption calculation is not limited in this embodiment; as long as it corresponds to the encryption calculation algorithm, it is within the protection scope of this embodiment.
[0265] Optionally, the second information may carry uplink encrypted data and a second integrity verification code. The AIoT NF processing further includes: calculating the second integrity verification code based on the second key in the security parameters corresponding to the first AIoT device and the uplink encrypted data; if the second integrity verification code and the second integrity verification code are consistent, determining that the integrity of the second response has been verified; and decrypting the uplink encrypted data based on the second key to obtain the uplink data.
[0266] The description of the second key is similar to that of the aforementioned embodiments and will not be repeated here.
[0267] Specifically, verifying the integrity of the second response based on the second integrity verification code and the second integrity check code can be as follows: if the second integrity verification code and the second integrity check code are consistent, the integrity verification of the second response is determined to be successful; and / or, if the second integrity verification code and the second integrity check code are inconsistent, the integrity verification of the second response is determined to be unsuccessful. Further, if the integrity verification of the second response is determined to be successful, the AIoT NF can extract the uplink data.
[0268] If the second response carries the temporary identifier of the first AIoT device, the AIoT NF can first extract the temporary identifier of the first AIoT device. If the temporary identifier of the first AIoT device is the latest (most recently updated) temporary identifier of the first AIoT device, then perform integrity verification and / or decryption of the uplink data.
[0269] When the second response carries the permanent identifier of the first AIoT device which is protected by the security parameters corresponding to the first AIoT device, the AIoT NF performs integrity verification and / or decryption based on the second key in the security parameters corresponding to the first AIoT device. This specific process is similar to the aforementioned integrity verification and / or decryption process for uplink data, and will not be elaborated further.
[0270] After the AIoT NF receives the uplink data, it may also include: sending the uplink data of the first AIoT device to the AF.
[0271] Referring to Figure 8, an exemplary description of the communication method provided in the embodiments of this application will be given:
[0272] Step 801: The AF initiates a service request (i.e., the first service request message) to the core network element AIoTF, which may contain one or more AIoT device IDs (which can be external identifiers of AIoT devices), Reader IDs (which can be external identifiers of read / write devices) (the read / write device can be a UE or a base station), and area information. The AF may send the service request directly to the AIoTF or send it through the NEF to the AIoTF.
[0273] Step 802: AIoTF (or NEF) performs identifier mapping to obtain the internal identifiers of one or more AIoT devices. AIoTF then retrieves the corresponding security context or security context identifier of each AIoT device based on its internal identifier. The identifier mapping process can also convert the external identifier of the Reader into an internal identifier.
[0274] If AIoTF does not find the security context of a certain AIoT device (taking the first AIoT device as an example), the requested first AIoT device may not have undergone the authentication process, and AIoTF further executes step 803. If the retrieved security context of the first AIoT device is unavailable, for example, if the authentication result in the security context has expired, these situations mean that the transmitted messages cannot be protected with the existing security context of the first AIoT device until a new security is established, and AIoTF further executes step 803. If AIoTF finds the security context of the first AIoT device, or if the retrieved security context of the first AIoT device is available, AIoTF further executes step 809.
[0275] Step 803: The AIoTF establishes a connection with the requested first AIoT device through the Reader and sends a first request to the first AIoT device through the Reader. If the Reader is a base station, the first request can be a paging message; if the Reader is a UE, the first request can be a discovery message.
[0276] In this step, to avoid transmitting the permanent identifier of the AIoT device over the air interface:
[0277] Method 1: The first request (or downlink message) contains at least one of the following: GID, default identifier associated with specific location information (hereinafter referred to as default ID), and partial identifier (partial identifier in the permanent identifier of the first AIoT device), which can be used to wake up multiple eligible AIoT devices.
[0278] Method 2: The first request includes an initial temporary ID for the first AIoT device. This initial temporary ID is pre-stored on both the first AIoT device and the network side, and is only used in the initial downlink paging or discovery messages. After the first AIoT device establishes a secure connection with the network, the network will assign a new temporary ID to the AIoT device for subsequent paging or discovery of the device.
[0279] In step 804, if the first AIoT device determines that it will respond to the first request, it sends a first response to the AIoTF through the Reader. The first response may carry the encrypted real ID of the first AIoT device (or a temporary identifier of the first AIoT device). This ensures that the real ID of the first AIoT device is not transmitted in plaintext. If the Reader is a base station, the first response may be a paging response; if the Reader is a UE, the first response may be a discovery response.
[0280] Method 1: If the first request carries at least one of the following: GID, default identifier, and partial identifier, then the first AIoT device responds to the first request if the following conditions are met: the group ID of the first AIoT device matches the GID; the region where the first AIoT device is located matches the default ID; or the permanent identifier of the first AIoT device contains one of the aforementioned partial identifiers. Alternatively, one or more other AIoT devices may also meet the following conditions, in which case all of those devices may respond to the first request.
[0281] Method 2: If the first request carries its own initial temporary ID, the first AIoT device can respond to the first request.
[0282] Step 805: AIoTF obtains the plaintext of the real ID of the first AIoT device based on the first response. Furthermore, AIoTF can also verify whether the device is the one requested by AF based on the real identifier of the first AIoT device. If so, proceed to step 806; otherwise, end the process.
[0283] Step 806: AIoTF sends an authentication request for the first AIoT device to the AIoT authentication and authorization function (which may be AUSF, UDM, or other core network elements). This authentication request may carry the real identifier of the first AIoT device. Executing step 806 triggers the authentication and authorization process for the first AIoT device.
[0284] The AIoT authentication and authorization function performs two-way or one-way authentication with the first AIoT device.
[0285] Step 807: After two-way authentication or one-way authentication, the first AIoT device negotiates a key with the AIoT key management function. The first AIoT device can generate at least one of the following: a key between the first AIoT device and the Reader, a key between the first AIoT device and the AIoTF, or a key between the first AIoT device and the AF.
[0286] Step 808, the AIoT authentication and authorization function performs key distribution, which may include at least one of the following: sending the key between the first AIoT device and the Reader to the Reader, sending the key between the first AIoT device and the AIoTF to the AIoTF, and sending the key between the first AIoT device and the AF to the AF.
[0287] In step 809, AIoTF sends a second request to the first AIoT device via the Reader, which may carry the first AIoT device's real ID, temporary ID, and downlink data. This downlink data can be securely protected based on the first AIoT device's security context.
[0288] Step 810 (optionally), the Reader stores the mapping between the real ID and temporary ID of the first AIoT device. That is, by sending the real ID and temporary ID of the first AIoT device to the reader, the AIoTF can enable the Reader to understand the mapping between the real ID and temporary ID of the first AIoT device.
[0289] Here, the AIoTF sends the real ID and temporary ID of the first AIoT device to the Reader. This can also be done at other times, without limitation or exhaustive enumeration.
[0290] AIoTF can also send the temporary ID assigned to the first AIoT device to the first AIoT device. The timing of AIoTF sending the temporary ID assigned to the first AIoT device to the first AIoT device can be during the execution of step 803, or at the same time as or after step 807, or after step 808. This embodiment does not limit or exhaustively list the timing of AIoTF sending the temporary ID assigned to the first AIoT device to the first AIoT device.
[0291] In step 811, the first AIoT device sends a second response to the AIoTF via a Reader. This second response may carry the first AIoT device's real ID, temporary ID, and uplink data. The uplink data may be securely protected based on the first AIoT device's security context.
[0292] Step 812, AIoTF sends a service response to AF, which may carry the external ID of the first AIoT device and uplink data.
[0293] In addition, the network side (AIoTF, AIoT key management function, or AIoT authentication and authorization function) generates a security context identifier, sends it to the first AIoT device through a secure connection, and stores it on the network side. This facilitates the network side in retrieving the security context, determining whether to trigger authentication of the first AIoT device, and identifying the security context between the network and the first AIoT device.
[0294] Referring to Figure 9, another exemplary description of the communication method provided in the embodiments of this application will be given:
[0295] Steps 901 to 902 are the same as steps 801 and 802, and will not be described again.
[0296] Step 903: If AIoTF retrieves the available security context of the first AIoT device, it sends a second request to the first AIoT device through the Reader. The second request carries downlink service data (or downlink data) protected by the security context. The second request can be one of paging, discovery message, or AIoT service request.
[0297] AIOTF can use a security context to securely transmit at least one of the first AIoT device's updated temporary ID and the first AIoT device's real ID to the first AIoT device. And / or, AIOTF can wake up multiple AIoT devices by including one of the GID, default ID, and partial ID in the paging or discovery message (second request).
[0298] The paging and discovery message (second request) sent by the network side to the first AIoT device may also include a security context identifier or a key identifier, so that the first AIoT device can identify the security context or key being used.
[0299] Step 904: The first AIoT device finds the corresponding key through the security context identifier or key identifier, obtains the downlink business data, and returns a second response to the AIoTF through the Reader according to the business type (command, inventory, etc.). The second response may contain protected uplink business data (device identifier, goods information to be inventoried). The second response may also include at least one of the updated temporary ID of the first AIoT device and the real ID of the first AIoT device.
[0300] AIoTF can send a service response (or AIoT service response) to AF, which can carry the external ID of the first AIoT device and uplink data.
[0301] In step 905, AIoTF can determine whether to trigger the authentication of the first AIoT device again based on the configuration policy. For example, if the key needs to be updated or the authentication is about to expire, it can be determined that the authentication of the first AIoT device needs to be triggered. If it is determined that the authentication of the first AIoT device needs to be triggered, steps 806 to 808 in the previous embodiments can be executed, and will not be repeated.
[0302] By adopting the above scheme, when the first AIoT device receives a request to report its identifier, it reports the protected identifier so that the AIoT NF on the network side triggers the AIoT authentication function to perform authentication with the first AIoT device. This makes the authentication process more suitable for AIoT device types with lower capabilities that do not actively send data; additionally, it ensures the security of privacy information (such as identifiers) transmitted by the AIoT device before authentication. Correspondingly, on the AIoT NF side, based on the availability of the first AIoT device's security context, it determines whether to initiate authentication for the first AIoT device and whether to send a first request to it, making the authentication process more suitable for AIoT device types with lower capabilities that do not actively send data.
[0303] Due to the low power consumption and environmentally dependent nature of AIoT devices, the protection of their identifiers during initial registration differs from that of existing terminals. This application employs a combination of temporary identifiers and encrypted permanent IDs for AIoT devices to prevent the permanent identifiers from being exposed or vulnerable to linkability and traceability attacks. Furthermore, due to the power consumption limitations of AIoT devices, they cannot support multiple layers of key derivation and existing key generation algorithms. This application uses AES key generation, enabling AIoT devices to efficiently derive keys with readers, core network elements, or AFs, thereby establishing secure connections.
[0304] Figure 10 is a schematic diagram of the composition structure of a first AIoT device according to an embodiment of this application, including:
[0305] The first communication unit 1001 is configured to receive a first request, wherein the first request is used by the first AIoT device to determine and report a device identifier; and to send a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used by the AIoT network function NF to determine and trigger the AIoT authentication function to perform authentication with the first AIoT device.
[0306] The first request carries at least one of the following: a temporary identifier of the first AIoT device, information related to the group to which the first AIoT device belongs, and information related to the region where the first AIoT device is located.
[0307] The protected identifier of the first AIoT device includes: a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
[0308] The encrypted permanent identifier of the first AIoT device is calculated based on the anonymous key AK and the permanent identifier of the first AIoT device, wherein the AK is calculated based on the root key corresponding to the first AIoT device.
[0309] The first AIoT device further includes: a first processing unit 1002, configured to obtain security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device, wherein the security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, a third key between the first AIoT device and the read / write device, and a fourth key between the first AIoT device and the service function AF.
[0310] The first processing unit is configured to obtain the first key based on the root key corresponding to the first AIoT device, and derive at least one of the following based on the first key: the second key, the third key, and the fourth key.
[0311] The first processing unit is configured to generate or update the security context of the first AIoT device based on the security parameters corresponding to the first AIoT device.
[0312] The first communication unit is used to receive the identifier of the security context of the first AIoT device.
[0313] The first communication unit is configured to receive a second request, wherein the second request carries downlink data for security protection based on the security parameters corresponding to the first AIoT device.
[0314] The second request also carries at least one of the following: a temporary identifier of the first AIoT device, a permanent identifier of the first AIoT device for security protection based on the security parameters corresponding to the first AIoT device, information related to the group to which the first AIoT device belongs, information related to the region to which the first AIoT device belongs, an identifier of the security context of the first AIoT device, and a key identifier, wherein the key identifier is used to determine the key used to perform security protection from the security parameters corresponding to the first AIoT device.
[0315] The first communication unit is configured to send a second response, wherein the second response carries uplink data for security protection based on the security parameters corresponding to the first AIoT device.
[0316] The second response also carries at least one of the following: a temporary identifier of the first AIoT device, or a permanent identifier of the first AIoT device that is protected by security parameters corresponding to the first AIoT device.
[0317] Figure 11 is a schematic diagram of the composition structure of an AIoT NF according to an embodiment of this application, including:
[0318] The second communication unit 1101 is configured to send a first request, wherein the first request is used for the first AIoT device to determine the device identifier to be reported; and to receive a first response, wherein the first response carries the protected identifier of the first AIoT device, and the first response is used to determine to trigger the AIoT authentication function to perform authentication with the first AIoT device.
[0319] The first request carries at least one of the following: a temporary identifier of the first AIoT device, information related to the group to which the first AIoT device belongs, and information related to the region where the first AIoT device is located.
[0320] The protected identifier of the first AIoT device includes: a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
[0321] The AIoT NF further includes a second processing unit 1102, used to calculate the permanent identifier of the first AIoT device based on the anonymous key AK and the encrypted permanent identifier of the first AIoT device, wherein the AK is calculated based on the root key corresponding to the first AIoT device.
[0322] The second communication unit is used to send the encrypted permanent identifier of the first AIoT device and receive the permanent identifier of the first AIoT device.
[0323] The second communication unit is used to send an authentication request to the AIoT authentication function, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device.
[0324] The authentication request carries one of the following: a permanent identifier of the first AIoT device, a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
[0325] The second communication unit is configured to perform at least one of the following: receiving a second key between the first AIoT device and the AIoT NF from the AIoT authentication function; receiving an identifier of the security context of the first AIoT device from the AIoT authentication function; receiving the security context of the first AIoT device from the AIoT authentication function, wherein the security context of the first AIoT device includes security parameters corresponding to the first AIoT device, and the security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, and a third key between the first AIoT device and the read / write device.
[0326] The second communication unit is used to send the temporary identifier and the permanent identifier of the first AIoT device to the read / write device corresponding to the first AIoT device.
[0327] The second communication unit is used to send the identifier of the security context of the first AIoT device to the first AIoT device.
[0328] The second communication unit is configured to receive a first service request message, wherein the first service request message carries downlink data corresponding to one or more AIoT devices, and the one or more AIoT devices include the first AIoT device.
[0329] The second communication unit is configured to send the first request if no available security context for the first AIoT device is found.
[0330] The second communication unit is used to send the first request when the security context corresponding to the first AIoT device needs to be updated.
[0331] The second communication unit is configured to send a second request, wherein the second request carries downlink data corresponding to the first AIoT device that is protected by security parameters corresponding to the first AIoT device in the security context of the first AIoT device.
[0332] The second request also carries at least one of the following: a temporary identifier of the first AIoT device, a permanent identifier of the first AIoT device for security protection based on the security parameters corresponding to the first AIoT device, information related to the group to which the first AIoT device belongs, information related to the region to which the first AIoT device belongs, an identifier of the security context of the first AIoT device, and a key identifier, wherein the key identifier is used by the first AIoT device to determine the key used to perform security protection from the security parameters corresponding to the first AIoT device.
[0333] The second communication unit is configured to receive a second response, wherein the second response carries uplink data for security protection based on the security parameters corresponding to the first AIoT device.
[0334] The second response also carries at least one of the following: a temporary identifier of the first AIoT device, or a permanent identifier of the first AIoT device that is protected by security parameters corresponding to the first AIoT device.
[0335] Figure 12 is a schematic diagram of the composition structure of an AIoT authentication function according to an embodiment of this application, including:
[0336] The third communication unit 1201 is used to receive an authentication request from the AIoT network function NF, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device.
[0337] The authentication request carries one of the following: a permanent identifier of the first AIoT device, a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
[0338] The AIoT authentication function further includes a third processing unit 1202, used to calculate the permanent identifier of the first AIoT device based on the anonymous key AK and the encrypted permanent identifier of the first AIoT device, wherein the AK is calculated based on the root key corresponding to the first AIoT device.
[0339] The third processing unit is used to obtain the security parameters corresponding to the first AIoT device, wherein the security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, a third key between the first AIoT device and the read / write device, and a fourth key between the first AIoT device and the service function AF.
[0340] The third processing unit is configured to perform one of the following: obtain the security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device; or obtain the security parameters corresponding to the first AIoT device from the AIoT key management function.
[0341] The third processing unit is configured to obtain the first key based on the root key corresponding to the first AIoT device, and derive at least one of the following based on the first key: the second key, the third key, and the fourth key.
[0342] The third processing unit is used to generate or update the security context of the first AIoT device based on the security parameters corresponding to the first AIoT device.
[0343] The third communication unit is configured to perform at least one of the following: send the second key to the AIoT NF; send the identifier of the security context of the first AIoT device to the AIoT NF; send the security context of the first AIoT device to the AIoT NF; send the third key to the read / write device corresponding to the first AIoT device; send the fourth key to the AF; and send the identifier of the security context of the first AIoT device to the first AIoT device.
[0344] The device in this application embodiment can realize the corresponding functions of the various devices in the foregoing communication method embodiments. The processes, functions, implementation methods, and beneficial effects of each module (sub-module, unit, or component, etc.) in this device can be found in the corresponding descriptions in the above method embodiments, and will not be repeated here. It should be noted that the functions described for each module (sub-module, unit, or component, etc.) in the device of this application embodiment can be implemented by different modules (sub-modules, units, or components, etc.) or by the same module (sub-module, unit, or component, etc.).
[0345] It should be understood that the sequence number of each process in the various embodiments of this application does not imply the order of execution; the execution order of each process should be determined by its function and internal logic. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. The above descriptions are merely specific embodiments of this application, and the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication method performed by a first-environment Internet of Things (AIoT) device, comprising: Receive a first request, wherein the first request is used by the first AIoT device to determine the reporting device identifier; Send a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used by the AIoT Network Function (NF) to determine and trigger the AIoT Authentication Function to perform authentication with the first AIoT device.
2. The method according to claim 1, wherein, The first request carries at least one of the following: a temporary identifier of the first AIoT device, information related to the group to which the first AIoT device belongs, and information related to the region where the first AIoT device is located.
3. The method according to claim 1 or 2, wherein, The protected identifier of the first AIoT device includes: a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
4. The method according to claim 3, wherein, The encrypted permanent identifier of the first AIoT device is calculated based on the anonymous key AK and the permanent identifier of the first AIoT device, wherein the AK is calculated based on the root key corresponding to the first AIoT device.
5. The method according to any one of claims 1-4, wherein, The method further includes: The security parameters corresponding to the first AIoT device are obtained based on the root key corresponding to the first AIoT device. The security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, a third key between the first AIoT device and the read / write device, and a fourth key between the first AIoT device and the service function AF.
6. The method according to claim 5, wherein, The step of obtaining the security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device includes: The first key is obtained based on the root key corresponding to the first AIoT device, and at least one of the following is derived from the first key: the second key, the third key, and the fourth key.
7. The method according to claim 5 or 6, wherein, The method further includes: Based on the security parameters corresponding to the first AIoT device, generate or update the security context of the first AIoT device.
8. The method according to claim 7, wherein, The method further includes: Receive the identifier of the security context of the first AIoT device.
9. The method according to any one of claims 5-8, wherein, The method further includes: A second request is received, wherein the second request carries downlink data for security protection based on the security parameters corresponding to the first AIoT device.
10. The method according to claim 9, wherein, The second request also carries at least one of the following: a temporary identifier of the first AIoT device, a permanent identifier of the first AIoT device for security protection based on the security parameters corresponding to the first AIoT device, information related to the group to which the first AIoT device belongs, information related to the region to which the first AIoT device belongs, an identifier of the security context of the first AIoT device, and a key identifier, wherein the key identifier is used to determine the key used to perform security protection from the security parameters corresponding to the first AIoT device.
11. The method according to claim 9 or 10, wherein, The method further includes: Send a second response, wherein the second response carries uplink data for security protection based on the security parameters corresponding to the first AIoT device.
12. The method according to claim 11, wherein, The second response also carries at least one of the following: a temporary identifier of the first AIoT device, or a permanent identifier of the first AIoT device that is protected by security parameters corresponding to the first AIoT device.
13. A communication method performed by an AIoT network function NF, comprising: Send a first request, wherein the first request is used for the first environment IoT AIoT device to determine the reporting device identifier; Receive a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used to determine to trigger the AIoT authentication function to perform authentication with the first AIoT device.
14. The method according to claim 13, wherein, The first request carries at least one of the following: a temporary identifier of the first AIoT device, information related to the group to which the first AIoT device belongs, and information related to the region where the first AIoT device is located.
15. The method according to claim 13 or 14, wherein, The protected identifier of the first AIoT device includes: a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
16. The method according to claim 15, wherein, The method further includes: The permanent identifier of the first AIoT device is calculated based on the anonymous key AK and the encrypted permanent identifier of the first AIoT device, wherein the AK is calculated based on the root key corresponding to the first AIoT device.
17. The method according to claim 15, wherein, The method further includes: Send the encrypted permanent identifier of the first AIoT device; Receive the permanent identifier of the first AIoT device.
18. The method according to any one of claims 15-17, wherein, The method further includes: Send an authentication request to the AIoT authentication function, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device.
19. The method according to claim 18, wherein, The authentication request carries one of the following: a permanent identifier of the first AIoT device, a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
20. The method according to claim 18 or 19, wherein, The method further includes at least one of the following: Receive a second key between the first AIoT device and the AIoT NF from the AIoT authentication function; Receive the identifier of the security context of the first AIoT device from the AIoT authentication function; The security context of the first AIoT device is received from the AIoT authentication function. The security context of the first AIoT device includes security parameters corresponding to the first AIoT device. The security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, and a third key between the first AIoT device and the read / write device.
21. The method according to any one of claims 18-20, wherein, The method further includes: Send the temporary identifier and the permanent identifier of the first AIoT device to the read / write device corresponding to the first AIoT device.
22. The method according to claim 20, wherein, The method further includes: Send the identifier of the security context of the first AIoT device to the first AIoT device.
23. The method according to any one of claims 13-22, wherein, The method further includes: Receive a first service request message, wherein the first service request message carries downlink data corresponding to one or more AIoT devices, and the one or more AIoT devices include the first AIoT device.
24. The method according to claim 23, wherein, The method further includes: If no available security context for the first AIoT device is found, the first request is sent.
25. The method according to any one of claims 13-22, wherein, The method further includes: If the security context corresponding to the first AIoT device needs to be updated, the first request is sent.
26. The method according to claim 23, wherein, The method further includes: Send a second request, wherein the second request carries downlink data corresponding to the first AIoT device that is protected by security parameters corresponding to the first AIoT device based on the security context of the first AIoT device.
27. The method according to claim 26, wherein, The second request also carries at least one of the following: a temporary identifier of the first AIoT device, a permanent identifier of the first AIoT device for security protection based on the security parameters corresponding to the first AIoT device, information related to the group to which the first AIoT device belongs, information related to the region to which the first AIoT device belongs, an identifier of the security context of the first AIoT device, and a key identifier, wherein the key identifier is used by the first AIoT device to determine the key used to perform security protection from the security parameters corresponding to the first AIoT device.
28. The method according to claim 26 or 27, wherein, The method further includes: Receive a second response, wherein the second response carries uplink data for security protection based on the security parameters corresponding to the first AIoT device.
29. The method according to claim 28, wherein, The second response also carries at least one of the following: a temporary identifier of the first AIoT device, or a permanent identifier of the first AIoT device that is protected by security parameters corresponding to the first AIoT device.
30. A communication method performed by an AIoT authentication function, comprising: Receive an authentication request from the AIoT network function NF, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device.
31. The method according to claim 30, wherein, The authentication request carries one of the following: a permanent identifier of the first AIoT device, a temporary identifier of the first AIoT device, or an encrypted permanent identifier of the first AIoT device.
32. The method according to claim 31, wherein, The method further includes: The permanent identifier of the first AIoT device is calculated based on the anonymous key AK and the encrypted permanent identifier of the first AIoT device, wherein the AK is calculated based on the root key corresponding to the first AIoT device.
33. The method according to any one of claims 30-32, wherein, The method further includes: Obtain the security parameters corresponding to the first AIoT device, wherein the security parameters corresponding to the first AIoT device include at least one of the following: a first key between the first AIoT device and the AIoT authentication function, a second key between the first AIoT device and the AIoT NF, a third key between the first AIoT device and the read / write device, and a fourth key between the first AIoT device and the service function AF.
34. The method according to claim 33, wherein, The step of obtaining the security parameters corresponding to the first AIoT device includes one of the following: The security parameters corresponding to the first AIoT device are obtained based on the root key corresponding to the first AIoT device. Obtain the security parameters corresponding to the first AIoT device from the AIoT key management function.
35. The method according to claim 34, wherein, The step of obtaining the security parameters corresponding to the first AIoT device based on the root key corresponding to the first AIoT device includes: The first key is obtained based on the root key corresponding to the first AIoT device, and at least one of the following is derived from the first key: the second key, the third key, and the fourth key.
36. The method according to any one of claims 33-35, wherein, The method further includes: Based on the security parameters corresponding to the first AIoT device, generate or update the security context of the first AIoT device.
37. The method according to any one of claims 33-36, wherein, The method further includes at least one of the following: Send the second key to the AIoT NF; Send the identifier of the security context of the first AIoT device to the AIoT NF; Send the security context of the first AIoT device to the AIoT NF; Send the third key to the read / write device corresponding to the first AIoT device; Send the fourth key to the AF; Send the identifier of the security context of the first AIoT device to the first AIoT device.
38. A first-environment Internet of Things (AIoT) device, comprising: A first communication unit is configured to receive a first request, wherein the first request is used by the first AIoT device to determine and report a device identifier; and to send a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used by the AIoT network function (NF) to determine and trigger the AIoT authentication function to perform authentication with the first AIoT device.
39. An AIoT network function NF, comprising: The second communication unit is configured to send a first request, wherein the first request is used for the first environment IoT AIoT device to determine and report a device identifier; and to receive a first response, wherein the first response carries a protected identifier of the first AIoT device, and the first response is used to determine to trigger the AIoT authentication function to perform authentication with the first AIoT device.
40. An AIoT authentication function, comprising: The third communication unit is used to receive an authentication request from the AIoT network function NF, wherein the authentication request is used to trigger authentication between the AIoT authentication function and the first AIoT device.
Citation Information
Patent Citations
Signing method and device, communication equipment, Internet of Things equipment and network element
CN116980876A
Information processing method and device, communication system and storage medium
CN117121526A
Communication method and device, communication equipment, communication system and storage medium
CN117136574A
Communication method and device and readable storage medium
CN117544947A
Authentication method and device, communication equipment, storage medium and program product
CN117750368A