Processing methods for credential information of internet-of-things device, apparatus and related device

By enabling message interaction and functional collaboration among IoT devices, the problem of resource waste in processing IoT device credential information is solved, and timely credential information processing and network connectivity are achieved when device status changes.

WO2024222602A1PCT designated stage expired Publication Date: 2024-10-31VIVO MOBILE COMM CO LTD

Patent Information

Application Number
PCT/CN2024/089011
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2024-04-22
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

In existing technologies, IoT devices cannot effectively process credential information when their status or usage scenarios change, resulting in a waste of credential information resources and untimely communication network connections.

Method used

Through message interaction between the first and second devices, the credential information of IoT devices is processed, including operations such as deactivation, activation, deletion, release, addition, and push. The first and second functions are used to process the credential information of IoT devices in a coordinated manner.

Benefits of technology

Timely processing of credential information for IoT devices avoids resource waste and ensures that devices can quickly connect to the communication network when needed, saving signaling processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024089011_31102024_PF_FP_ABST
    Figure CN2024089011_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of communications. Disclosed are processing methods for credential information of an Internet-of-Things device, an apparatus and a related device. A method on a first device side of the embodiments of the present application comprises: a first device receives a first message from a first function, the first message being at least used for requesting processing of credential information on a second device, the second device comprising an Internet-of-Things (IoT) device, the first device being a read-write device of the second device, and the credential information being credential information of the second device in a communication network; and the first device sends a second message to the second device, the second message being at least used for requesting processing of the credential information.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and related equipment for processing credential information of Internet of Things devices

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310477939.6 filed in China on April 28, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the field of communication technology, and specifically relates to a method, apparatus, and related equipment for processing credential information of an Internet of Things device. Background Art

[0004] With the development of Internet of Things (IoT) technology, IoT devices (i.e., IoT devices) with detection, sensing and other functions can use wireless signals to communicate with communication networks. When IoT devices access a communication network to obtain services, they may need to obtain credentials or sign a contract with the communication network. The number of IoT devices is usually large, and each IoT device is generally used in a specific scenario or for a specific service. When the status or usage scenario of an IoT device changes (such as: temporarily or permanently no longer needed, or the usage scenario or service is adjusted), there is a need to process the credential information of the IoT device. However, the relevant technology does not yet have a solution for processing the credential information of IoT devices, which makes it impossible to process the credential information of IoT devices.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a method, apparatus, and related equipment for processing credential information of an IoT device, which can solve the problem that related technologies are unable to process credential information of IoT devices.

[0007] In a first aspect, a method for processing IoT device credential information is provided, the method comprising:

[0008] A first device receives a first message from a first function, where the first message is used at least to request credential information processing for a second device, where the second device includes an IoT device, the first device is a reader / writer for the second device, and the credential information is credential information of the second device in a communication network;

[0009] The first device sends a second message to the second device, where the second message is at least used to request processing of the credential information.

[0010] In a second aspect, a method for processing IoT device credential information is provided, the method comprising:

[0011] The second device receives a second message from the first device, where the second message is at least used to request the second device to perform a first process on the credential information;

[0012] The second device performs a first process on the credential information;

[0013] or,

[0014] The second device receives a twelfth message from the first device, where the twelfth message is used to request deactivation of the second device or request activation of the second device;

[0015] The second device performs second processing on the credential information;

[0016] The second device includes an Internet of Things (IoT) device, and the first device is a read-write device of the second device.

[0017] In a third aspect, a method for processing IoT device credential information is provided, the method comprising:

[0018] The first function receives a thirteenth message from the second function;

[0019] The first function sends a first message to the first device, and the first message is at least used to request processing of credential information of the second device. The second device includes an Internet of Things (IoT) device, the first device is a reading and writing device of the second device, and the credential information is the credential information of the second device in the communication network.

[0020] In a fourth aspect, a method for processing IoT device credential information is provided, the method comprising:

[0021] The second function sends a thirteenth message to the first function;

[0022] The second function receives a fourteenth message from the first function, where the fourteenth message is used to indicate that the second device has processed the credential information, where the second device includes an Internet of Things (IoT) device, and the credential information is the credential information of the second device in the communication network.

[0023] In a fifth aspect, a device for processing credential information of an IoT device is provided, which is applied to a first device and includes:

[0024] a first receiving module, configured to receive a first message from a first function, the first message being used to at least request credential information processing for a second device, the second device comprising an IoT device, the first device being a reader / writer for the second device, and the credential information being credential information of the second device in a communication network;

[0025] The first sending module is configured to send a second message to the second device, where the second message is at least used to request processing of the credential information.

[0026] In a sixth aspect, a device for processing credential information of an IoT device is provided, which is applied to a second device. The device includes a first receiving module and a processing module, wherein:

[0027] The first receiving module is configured to: receive a second message from the first device, where the second message is at least used to request the second device to perform a first process on the credential information;

[0028] The processing module is used to: perform a first process on the credential information;

[0029] or,

[0030] The first receiving module is configured to: receive a twelfth message from the first device, where the twelfth message is used to request deactivation of the second device or request activation of the second device;

[0031] The processing module is used to: perform second processing of the credential information;

[0032] The second device includes an Internet of Things (IoT) device, and the first device is a read-write device of the second device.

[0033] In a seventh aspect, a device for processing credential information of an IoT device is provided, which is applied to the first function, and includes:

[0034] A first receiving module, configured to receive a thirteenth message from the second function;

[0035] The first sending module is used to send a first message to a first device, where the first message is at least used to request processing of credential information of a second device, where the second device includes an Internet of Things (IoT) device, the first device is a reading and writing device of the second device, and the credential information is credential information of the second device in a communication network.

[0036] In an eighth aspect, a device for processing credential information of an IoT device is provided, which is applied to the second function, and includes:

[0037] A first sending module, configured to send a thirteenth message to the first function;

[0038] The first receiving module is used to receive a fourteenth message from the first function, where the fourteenth message is used to indicate that the second device has processed the credential information, where the second device includes an Internet of Things (IoT) device, and the credential information is the credential information of the second device in the communication network.

[0039] In a ninth aspect, a terminal is provided, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0040] In a tenth aspect, a terminal is provided, comprising a processor and a communication interface. The communication interface is configured to: receive a first message from a first function, the first message being used to at least request credential information processing for a second device, where the second device comprises an Internet of Things (IoT) device, the first device being a reader / writer for the second device, and the credential information being credential information of the second device in a communication network; and send a second message to the second device, the second message being used to at least request credential information processing.

[0041] In the eleventh aspect, an Internet of Things device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the second aspect are implemented.

[0042] In a twelfth aspect, an Internet of Things device is provided, comprising a processor and a communication interface. The communication interface is configured to: receive a second message from a first device, the second message being configured to at least request the second device to perform a first process on credential information; and the processor is configured to: perform the first process on the credential information;

[0043] or,

[0044] The communication interface is used to: receive a twelfth message from the first device, where the twelfth message is used to request deactivation of the second device, or request activation of the second device; the processor is used to: perform a second processing of the credential information; wherein the second device includes an Internet of Things (IoT) device, and the first device is a reading and writing device for the second device.

[0045] In the thirteenth aspect, an access network device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0046] In a fourteenth aspect, an access network device is provided, comprising a processor and a communication interface. The communication interface is configured to: receive a first message from a first function, the first message being used to at least request credential information processing for a second device, where the second device comprises an Internet of Things (IoT) device, the first device being a reader / writer for the second device, and the credential information being credential information of the second device in a communication network; and send a second message to the second device, the second message being used to at least request credential information processing.

[0047] In the fifteenth aspect, a core network device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the third aspect or the fourth aspect are implemented.

[0048] In the sixteenth aspect, a core network device is provided, including a processor and a communication interface.

[0049] When the core network device is the first function, the communication interface is used to: receive the thirteenth message from the second function; send a first message to the first device, the first message is at least used to request processing of credential information of the second device, the second device includes an Internet of Things IoT device, the first device is a reading and writing device of the second device, and the credential information is the credential information of the second device in the communication network.

[0050] When the core network device is the second function, the communication interface is used to: send a thirteenth message to the first function; receive a fourteenth message from the first function, and the fourteenth message is used to indicate that the second device has processed the credential information, and the second device includes an Internet of Things IoT device, and the credential information is the credential information of the second device in the communication network.

[0051] In the seventeenth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented, or the steps of the method described in the third aspect are implemented, or the steps of the method described in the fourth aspect are implemented.

[0052] In aspect 18, a wireless communication system is provided, including: a first device, a second device, a first function and a second function, wherein the first device can be used to execute the steps of the method described in aspect 1, the second device can be used to execute the steps of the method described in aspect 2, the first function can be used to execute the steps of the method described in aspect 3, and the second function can be used to execute the steps of the method described in aspect 4.

[0053] In the nineteenth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method described in the first aspect, or the steps of the method described in the second aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fourth aspect.

[0054] In the twentieth aspect, a computer program / program product is provided, which is stored in a storage medium, and the program / program product is executed by at least one processor to implement the steps of the method described in the first aspect, or the steps of the method described in the second aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fourth aspect.

[0055] In an embodiment of the present application, a first device receives a first message from a first function, the first message being used to at least request credential information processing for a second device, the second device comprising an IoT device, the first device being a reader / writer for the second device, and the credential information being the credential information of the second device in a communication network. The first device then sends a second message to the second device, the second message being used to at least request the second device to process the credential information. Through the above process, credential information processing for IoT devices can be achieved. Thus, when there is a need to process credential information for an IoT device, such as when the state or usage scenario of the IoT device changes, the credential information of the IoT device can be processed promptly. Because the credential information of an IoT device in a communication network can be processed promptly, on the one hand, when the IoT device is temporarily or permanently no longer needed, the credential information of the IoT device in the communication network can be promptly released or recovered, thereby avoiding waste of credential information resources. On the other hand, when the IoT device is activated or needs to be activated, credential information can be added to the IoT device promptly, enabling the IoT device to connect to the communication network as quickly as possible, saving signaling traffic. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] FIG1 is a block diagram of a wireless communication system provided in an embodiment of the present application;

[0057] FIG2 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application;

[0058] FIG3 is a flow chart of an embodiment provided by the present application;

[0059] FIG4 is a flow chart of another embodiment provided by the embodiments of the present application;

[0060] FIG5 is a flow chart of another embodiment provided by the embodiments of the present application;

[0061] FIG6 is a flow chart of another embodiment provided by the embodiments of the present application;

[0062] FIG7 is a flow chart of another embodiment provided by the embodiments of the present application;

[0063] FIG8 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application;

[0064] FIG9 is a structural diagram of an apparatus for processing credential information of an IoT device provided in an embodiment of the present application;

[0065] FIG10a is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application;

[0066] FIG10b is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application;

[0067] FIG11 is a structural diagram of an apparatus for processing credential information of an IoT device provided in an embodiment of the present application;

[0068] FIG12 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application;

[0069] FIG13 is a structural diagram of an apparatus for processing credential information of an IoT device provided in an embodiment of the present application;

[0070] FIG14 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application;

[0071] FIG15 is a structural diagram of a device for processing credential information of an IoT device provided in an embodiment of the present application;

[0072] FIG16 is a structural diagram of a communication device provided in an embodiment of the present application;

[0073] FIG17 is a schematic diagram of the hardware structure of a terminal provided in an embodiment of the present application;

[0074] FIG18 is a schematic diagram of the hardware structure of an Internet of Things device provided in an embodiment of the present application;

[0075] FIG19 is a schematic diagram of the hardware structure of an access network device provided in an embodiment of the present application;

[0076] Figure 20 is a schematic diagram of the hardware structure of another core network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0077] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0078] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "or" in this application represents at least one of the connected objects. For example, "A or B" covers three options, namely, Option 1: including A but not including B; Option 2: including B but not including A; Option 3: including both A and B. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0079] The term "indication" in this application can be either a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, the operation to be performed, or the requested result, etc. in the instruction sent; an indirect indication can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the operation to be performed or the requested result, etc. based on the judgment result.

[0080] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the technology described can be used for the systems and radio technologies mentioned above, as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following description, but these technologies can also be applied to systems other than NR systems, such as 6th generation (6G) systems. th Generation, 6G) communication system.

[0081] Figure 1 shows a block diagram of a wireless communication system applicable to embodiments of the present application. The wireless communication system includes an Internet of Things device 11, a terminal 12, an access network device 13, and a core network device 14.

[0082] The IoT device 11 may be a device having detection, sensing and other functions, for example.

[0083] The terminal 12 may be a mobile phone, tablet computer (Tablet Personal Computer), laptop computer, notebook computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR), virtual reality (VR) equipment, robot, wearable device, flight vehicle, vehicle user equipment (VUE), shipborne equipment, pedestrian user equipment (PUE), smart home (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), game console, personal computer (PC), ATM or self-service machine, etc. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. The vehicle-mounted device may also be referred to as a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip, or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 12 is not limited in the embodiment of the present application.

[0084] The access network device 13 may also be referred to as a radio access network (RAN) device, a radio access network function, or a radio access network unit. The access network device 13 may include a base station, a wireless local area network (WLAN) access point (AP), or a wireless fidelity (WiFi) node. Among them, the base station can be referred to as Node B (NB), Evolved Node B (eNB), the next generation Node B (gNB), New Radio Node B (NR Node B), access point, Relay Base Station (RBS), Serving Base Station (SBS), Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B (HNB), Home Evolved Node B (home evolved Node B), Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.

[0085] The core network device 14 may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (MME), access mobility management function (AMF), session management function (SMF), user plane function (UPF), policy control function (PCF), policy and charging rules function unit (PCRF), edge application server discovery function (EASDF), unified data management (UDM), unified data repository (UDR), home subscriber server (HSS), centralized network configuration (CNC), network storage function (NRF), network exposure function (NEF), local NEF (L-NEF), binding support function (BSF), application function ( It should be noted that in the embodiments of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.

[0086] The "credential information" in this application refers to the credential information of an IoT device in a communication network. The related devices involved in the processing of the credential information of the IoT device in this application include but are not limited to a first device, a second device, a first function, and a second function. Among them, the second device can be, for example, the IoT device 11 in Figure 1. For example, the second device can be an Ambient Internet of Things (AIoT) device in the IoT device; the first device represents a reading and writing device (or reader / writer) of the second device. The first device can be, for example, the terminal 12 (also called User Equipment (UE)) or the access network device 13 in Figure 1; the first function can be the core network device 14 in Figure 1, and the second function can also be the core network device 14 in Figure 1.

[0087] To facilitate understanding, the following is a brief introduction to IoT devices and AIoT devices respectively.

[0088] IoT devices generally refer to terminal devices used in specific scenarios or services. For example, IoT devices can be used in scenarios or services such as smart homes, smart cities, smart utilities, and e-health. IoT devices can be optimized for the specific needs of the services or applications they need to perform (such as IoT apps).

[0089] AIoT devices are IoT devices that can harvest energy from their environment. Environmental energy sources can include solar energy, wireless signals, vibrations, and more. AIoT devices can also be triggered to communicate by the network. For example, the network sends an excitation signal to the AIoT device, which triggers the device to communicate.

[0090] AIoT devices can communicate directly with terminals or access network devices. AIoT devices can also access the network through terminals or access network devices. AIoT devices can be used in a variety of scenarios. For example, when a flower shop is cultivating flowers, it can place an AIoT device on the flower pot; the AIoT device can detect the environmental parameters of the flower pot (such as temperature, humidity, etc.) and send them to the flower shop's application server through the communication network; the flower shop attendant can cultivate flowers according to the environmental parameters received by the application server, such as watering the flowers or adding nutrient solution.

[0091] When IoT devices, such as AIoT devices, access communication networks to obtain services, they may need to obtain network credentials and sign contracts. In the above example, when a flower pot is sold at the flower shop, the AIoT device placed on the flower pot no longer needs to detect the flower pot's environmental parameters and send them to the flower shop app. In this case, there are two possible scenarios:

[0092] Scenario 1: The AIoT device will no longer be used. In this case, the AIoT device can be permanently deactivated (a deactivated device means that the device cannot send wireless signals). In this scenario, the credential information of the AIoT device in the communication network is occupied by the AIoT device and cannot be used by other devices. Due to the large number of AIoT devices, this will result in a waste of information resources, specifically, a waste of credential information resources.

[0093] Scenario 2: The AIoT device may still be activated later, for example, if it is recycled. In this case, the AIoT device can be temporarily deactivated. Considering that the scenarios or services used by the AIoT device after recycling may be adjusted, and the operator and enterprise associated with the AIoT device may change, the credential information of the AIoT device in the communication network can no longer be used by the AIoT device, resulting in the AIoT device being unable to connect to the communication network in a timely manner.

[0094] As can be seen from the above, when the state or usage scenario of an IoT device changes, there is a need to process the credential information of the IoT device. However, the related art does not yet have a solution for processing the credential information of IoT devices, which makes it impossible to process the credential information of IoT devices. In view of this, the embodiments of the present application provide a method for processing the credential information of IoT devices to solve the problem of the related art being unable to process the credential information of IoT devices.

[0095] The following, in conjunction with the accompanying drawings, describes in detail the method, apparatus, and related equipment for processing IoT device credential information provided by the embodiments of the present application through some embodiments and their application scenarios.

[0096] FIG2 shows a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application. As shown in FIG2 , the method for processing IoT device credential information includes the following steps:

[0097] Step 201: The second function sends a thirteenth message to the first function;

[0098] Step 202: The first function receives the thirteenth message from the second function;

[0099] Step 203: The first function sends a first message to the first device, where the first message is used to at least request that the second device process credential information, where the first device is a reader / writer for the second device, and the credential information is credential information of the second device in the communication network;

[0100] Step 204: The first device receives a first message from the first function;

[0101] Step 205: The first device sends a second message to the second device, where the second message is at least used to request the second device to process the credential information;

[0102] Step 206: The second device receives the second message from the first device;

[0103] Step 207: The second device processes the credential information.

[0104] In the embodiments of the present application, the above process enables processing of the credential information of the second device in the communication network. Thus, when the state of the second device changes, the credential information of the second device in the communication network can be processed, thereby resolving the issue of unusable credential information of the second device in the communication network. Since there is no unusable credential information, waste of credential information resources can be avoided.

[0105] In the embodiment of the present application, the second function may be, for example, an IoT Network Function (IoT NF) or an AIoT NF, the second function may also be an NEF, the first function may be, for example, an AMF, the first device may be, for example, a UE or a RAN, and the second device may be, for example, an IoT device or an AIoT device. It should be noted that, in the embodiment of the present application, the first device may be either a UE or a RAN. When the first device is a UE, the message between the AMF and the UE may be encapsulated using the UE's Non-Access-Stratum (NAS) protocol. When the first device is a RAN, the message between the AMF and the RAN may be encapsulated using the Next Generation Application Protocol (NGAP).

[0106] Among them, the second function can communicate with the first function, and the second function can initiate a request to deactivate the second device, or initiate a request to activate the second device, or initiate a request to process the credential information of the second device, or simultaneously initiate a request to deactivate the second device and delete (or release, deregister) the credential information of the second device, or simultaneously initiate a request to activate the second device and add (or push) the credential information of the second device.

[0107] The first function can communicate with the first device, and the first function can forward any of the above requests initiated by the second function to the first device, or, upon receiving a request initiated by the second function to deactivate the second device, simultaneously initiate a request to deactivate the second device and delete (or release, deregister) the credential information of the second device, or, upon receiving a request initiated by the second function to activate the second device, simultaneously initiate a request to activate the second device and add (or push) the credential information of the second device.

[0108] The first device is a read-write device for the second device. The first device can forward any of the above requests sent by the first function to the second device. The first device being a read-write device for the second device can be understood as including but not limited to the following:

[0109] The first device is an access point for the second device;

[0110] The second device accesses the communication network through the first device;

[0111] The first device sends an excitation signal to the second device;

[0112] The second device communicates with the communication network using the excitation signal from the first device.

[0113] Upon receiving any of the above requests forwarded by the second device, the second device can at least process the credential information. Additionally, the second device can also deactivate or activate the credential information. Specific related solutions will be described below.

[0114] It can be seen from the above description that in the embodiment of the present application, the thirteenth message sent by the second function to the first function may include the following situations:

[0115] Case 1: the thirteenth message is used to request deactivation of the second device;

[0116] Case 2: the thirteenth message is used to request activation of the second device;

[0117] Case 3: The thirteenth message is at least used to request the second device to process the credential information.

[0118] Among them, situation 3 includes the following two situations:

[0119] Case 3-1: The thirteenth message is used to request credential information processing for the second device, and the thirteenth message is also used to request deactivation of the second device;

[0120] Case 3-2: The thirteenth message is used to request credential information processing for the second device, and the thirteenth message is also used to request activation of the second device.

[0121] For case 3, the relevant processing methods of the credential information may include at least one of deletion processing, release processing, deregistration processing, new addition processing, and push processing. For case 1 and case 3-1, the processing of the credential information can be understood as processing related to the deactivation of the AIoT device, for example, it may include at least one of deletion processing, release processing, and deregistration processing. For case 2 and case 3-2, the processing of the credential information can be understood as processing related to the activation of the AIoT device, for example, it may include at least one of new addition processing and push processing. That is to say, the processing methods of the credential information related to the deactivation of (AIoT device) may include deletion processing, release processing or deregistration processing, and the processing methods of the credential information related to the activation of (AIoT device) may include new addition processing or push processing.

[0122] Optionally, the thirteenth message includes at least one of the following information:

[0123] a first service identifier, where the first service identifier is used by the first device to identify the second device;

[0124] a second service identifier, where the second service identifier is used by the second function (and the first function) to identify the second device;

[0125] Information indicating the first area;

[0126] Information indicating a first service type;

[0127] Information used to indicate a reason for processing the credential information on the second device.

[0128] For the above situation 1, if the thirteenth message contains the first service identifier, it can be understood that the thirteenth message is used to request the deactivation of the second device identified by the first service identifier. If the thirteenth message contains the second service identifier, it can be understood that the thirteenth message is used to request the deactivation of the second device identified by the second service identifier. It should be noted that the second device corresponding to the first service identifier and the second service identifier is actually the same second device, except that the first service identifier is used by the first device to identify the second device, and the second service identifier is used by the core network device (such as the second function, the first function) to identify the second device. The first service identifier can also be called an air interface service identifier, such as an Electronic Product Code (EPC). The second service identifier can also be called a core network service identifier, such as an International Mobile Subscriber Identity (IMSI). If the thirteenth message contains information indicating the first area, it can be understood that the thirteenth message is used to request the deactivation of the second device located in the first area. If the thirteenth message contains information indicating the first service type, it can be understood that the thirteenth message is used to request the deactivation of the second device of the first service type.

[0129] Correspondingly, for the above situation 2, if the thirteenth message includes the first service identifier, it can be understood that the thirteenth message is used to request activation of the second device identified by the first service identifier. If the thirteenth message includes the second service identifier, it can be understood that the thirteenth message is used to request activation of the second device identified by the second service identifier. If the thirteenth message includes information indicating the first area, it can be understood that the thirteenth message is used to request activation of the second device located in the first area. If the thirteenth message includes information indicating the first service type, it can be understood that the thirteenth message is used to request activation of the second device of the first service type.

[0130] Correspondingly, for the above situation 3, if the thirteenth message includes the first service identifier, it can be understood that the thirteenth message is used to request the processing of the credential information of the second device identified by the first service identifier. If the thirteenth message includes the second service identifier, it can be understood that the thirteenth message is used to request the processing of the credential information of the second device identified by the second service identifier. If the thirteenth message includes information indicating the first area, it can be understood that the thirteenth message is used to request the processing of the credential information of the second device located in the first area. If the thirteenth message includes information indicating the first service type, it can be understood that the thirteenth message is used to request the processing of the credential information of the second device of the first service type.

[0131] Correspondingly, for the above situation 3-1, if the thirteenth message contains the first service identifier, it can be understood that the thirteenth message is used to request the deactivation of the second device identified by the first service identifier, and is also used to request the processing of the credential information related to the deactivation of the second device identified by the first service identifier. If the thirteenth message contains the second service identifier, it can be understood that the thirteenth message is used to request the deactivation of the second device identified by the second service identifier, and is also used to request the processing of the credential information related to the deactivation of the second device identified by the second service identifier. If the thirteenth message contains information indicating the first area, it can be understood that the thirteenth message is used to request the deactivation of the second device located in the first area, and is also used to request the processing of the credential information related to the deactivation of the second device located in the first area. If the thirteenth message contains information indicating the first service type, it can be understood that the thirteenth message is used to request the deactivation of the second device of the first service type, and is also used to request the processing of the credential information related to the deactivation of the second device of the first service type.

[0132] Correspondingly, for the above situation 3-2, if the thirteenth message contains the first service identifier, it can be understood that the thirteenth message is used to request the activation of the second device identified by the first service identifier, and is also used to request the processing of the credential information related to the activation of the second device identified by the first service identifier. If the thirteenth message contains the second service identifier, it can be understood that the thirteenth message is used to request the activation of the second device identified by the second service identifier, and is also used to request the processing of the credential information related to the activation of the second device identified by the second service identifier. If the thirteenth message contains information indicating the first area, it can be understood that the thirteenth message is used to request the activation of the second device located in the first area, and is also used to request the processing of the credential information related to the activation of the second device located in the first area. If the thirteenth message contains information indicating the first service type, it can be understood that the thirteenth message is used to request the activation of the second device of the first service type, and is also used to request the processing of the credential information related to the activation of the second device of the first service type.

[0133] In the embodiment of the present application, the first message sent by the first function to the first device may include the following situations:

[0134] Case a: the first message is used to request credential information processing of the second device;

[0135] Case b: the first message is used to request deactivation of the second device and processing of credential information;

[0136] Case c: The first message is used to request activation of the second device and processing of credential information.

[0137] Optionally, the first message includes at least one of the following information:

[0138] a first service identifier, wherein the first message is used at least to request processing of the credential information on the second device identified by the first service identifier;

[0139] Information indicating a first area, the first message being used at least to request processing of the credential information on the second device in the first area;

[0140] Information indicating a first service type, the first message being used at least to request processing of the credential information on the second device of the first service type;

[0141] Information used to indicate a reason for processing the credential information on the second device.

[0142] The above situation b can be understood as the first function can simultaneously send deactivation and credential information processing requests through one message (ie, the first message), that is, the deactivation process and the credential information deletion (or release, deregistration) processing process are merged.

[0143] In case c, the first function can send both activation and credential information processing requests via a single message (i.e., the first message), merging the activation process with the credential information addition (or push) process. In case c, the first message can include the second credential information for the second device.

[0144] For scenario a, the first function may first request deactivation (or activation) of the second device, and then request credential information processing for the second device. For example, after receiving a feedback (or response) message indicating that the second device has been deactivated (or activated), the first function then requests credential information processing for the second device.

[0145] For scenario a, the first function may first request the second device to process the credential information, and then request the deactivation (or activation) of the second device. For example, after receiving a feedback (or response) message indicating that the second device has processed the credential information, the first function then requests the deactivation (or activation) of the second device.

[0146] Optionally, in the case of deactivation, before the first function sends the first message to the first device, the method for processing the IoT device credential information further includes the following steps:

[0147] The first function sends a sixth message to the first device, where the sixth message is used to request deactivation of the second device;

[0148] The first device receives a sixth message from the first function.

[0149] Optionally, the sixth message includes at least one of the following information:

[0150] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;

[0151] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;

[0152] The sixth message is used to indicate information of a first service type, and is used to request deactivation of the second device whose service type includes the first service type.

[0153] Optionally, in the case of activation, before the first function sends the first message to the first device, the method for processing the IoT device credential information further includes the following steps:

[0154] The first function sends a tenth message to the first device, where the tenth message is used to request activation of the second device;

[0155] The first device receives a tenth message from the first function.

[0156] In this optional solution, the second credential information for the second device (i.e., the credential information that the second device needs to add) can be carried by the tenth message, or the second credential information for the second device can be carried by the first message. This embodiment of the present application does not limit this.

[0157] Optionally, the tenth message includes at least one of the following information:

[0158] a first service identifier, the tenth message being used to request activation of the second device identified by the first service identifier;

[0159] information indicating a first area, the tenth message being used to request activation of the second device in the first area;

[0160] The tenth message is used to indicate information of a first service type, and is used to request activation of the second device whose service type includes the first service type.

[0161] Optionally, after step 202 and before step 203, the method for processing IoT device credential information may further include the following steps:

[0162] The first function determines the first device based on the thirteenth message.

[0163] Specifically, the first function can determine the first device based on the information contained in the thirteenth message, or can determine the first device based on the read / write device information (or reader / writer information) corresponding to the second device. After the first function determines the first device, step 203 can be executed.

[0164] In the embodiment of the present application, the second message sent by the first device to the second device may include the following situations:

[0165] Case d: the second message is used to request the second device to process the credential information;

[0166] Case e: the second message is used to request the second device to deactivate and process the credential information;

[0167] Case f: The second message is used to request the second device to activate and process credential information.

[0168] The above situation e can be understood as the first device can simultaneously send a request for deactivation and credential information processing through one message (ie, the second message), that is, the deactivation process and the credential information deletion (or release, deregistration) processing process are merged.

[0169] The above scenario (f) can be understood as the first device sending a single message (i.e., the second message) to simultaneously request activation and credential information processing, merging the activation process with the credential information addition (or push) process. In scenario (f), the second message can include second credential information for the second device.

[0170] For scenario d, before requesting the second device to process the credential information, the first device may first request the second device to be deactivated (or activated). After receiving a confirmation message that the second device has been deactivated (or activated), the first device may then request the second device to process the credential information.

[0171] Optionally, in the case of deactivation, before the first device sends the second message to the second device, the method for processing the IoT device credential information further includes the following steps:

[0172] The first device sends a seventh message to the second device, where the seventh message is used to request deactivation of the second device;

[0173] The second device receives the seventh message from the first device;

[0174] The second device performs a deactivation action and sends a deactivation confirmation message to the first device.

[0175] Here, the deactivation confirmation message can be understood as the successful deactivation of the second device. In some cases, the situation where the deactivation of the second device fails is not excluded. If the deactivation of the second device fails, the second device can send a deactivation response message to the second device, and the message can include information for indicating the reason for the failure.

[0176] Optionally, in the case of activation, before the first device sends the second message to the second device, the method for processing the IoT device credential information further includes the following steps:

[0177] The first device sends an eleventh message to the second device, where the eleventh message is used to request activation of the second device;

[0178] The second device receives an eleventh message from the first device;

[0179] The second device performs an activation action and sends an activation confirmation message to the first device.

[0180] In this optional solution, the second credential information for the second device (i.e., the credential information that the second device needs to add) can be carried through the eleventh message, or the second credential information for the second device can be carried through the second message. This embodiment of the present application is not limited to this.

[0181] In the case where the first message includes the first service identifier, it should be noted that if the first device has already obtained the first service identifier of the second device before step 205 of this embodiment of the present application, then after step 204, the first device may send a second message to the second device corresponding to the first service identifier based on the first service identifier. If the first device has not obtained the first service identifier of the second device, one approach is: after step 204, the first device may broadcast a second message, carrying the first service identifier in the second message. In this way, after receiving the second message, the second device with the same service identifier as the first service identifier may process the credential information and send a confirmation message to the first device. Other devices that do not have the same service identifier as the first service identifier may not respond. Another approach is: after step 204, the first device receives a third message from the second device, the third message including the first service identifier of the second device. Here, the second device may proactively report its first service identifier, i.e., the second device proactively sends the third message to the first device, or it may report its first service identifier based on an inventory request from the first device, i.e., the second device sends the third message to the first device after receiving the inventory request from the first device. The inventory request sent by the first device can be a broadcast message or a message sent to multiple devices. In this case, the first device can receive not only the first service identifier reported by the second device, but also the service identifiers reported by other devices. After obtaining the device's service identifier, the first device can send the second message only to the second device that matches the first service identifier.

[0182] It is worth noting that the method in which the first device obtains the first service identifier of the second device after step 204 can also be used for the first device to obtain the first service identifier of the second device before step 205 .

[0183] In step 207, the second device may process the credential information in the following two situations:

[0184] Case g: The second device processes the credential information, including at least one of the following:

[0185] Deleting the first credential information of the second device;

[0186] releasing the first credential information of the second device;

[0187] Deregister the first credential information of the second device.

[0188] Case g applies to scenarios where the second device is deactivated or needs to be deactivated. Here, the first credential information can be understood as the credential information used by the second device before deactivation. After the second device is deactivated, the second device cannot send wireless signals, and the first credential information cannot be used by other IoT devices. The first credential information can be considered idle credential information.

[0189] Case h: The second device processes the credential information, including:

[0190] The second device stores second credential information.

[0191] Case h applies to the scenario where the second device is activated or needs to be activated. Here, the second credential information can be understood as the credential information newly added (or newly pushed) by the communication network for the second device. After activation, the second device needs to use the second credential information to access the communication network.

[0192] Optionally, after step 207, the method for processing IoT device credential information further includes the following steps:

[0193] The second device sends a fourth message to the first device, where the fourth message is at least used to indicate confirmation of the second device's processing of the credential information;

[0194] The first device receives a fourth message from the second device;

[0195] The first device sends a fifth message to the first function, where the fifth message is at least used to indicate confirmation of processing of the credential information by the second device;

[0196] The first function receives a fifth message from the first device;

[0197] The first function sends a fourteenth message to the second function, where the fourteenth message is at least used to indicate confirmation of the second device's processing of the credential information.

[0198] Optionally, the fifth message further includes at least one of the following information:

[0199] a first service identifier of the second device;

[0200] Information used to indicate the area where the second device is located;

[0201] Information used to indicate the service type of the second device.

[0202] Optionally, the fourteenth message includes:

[0203] a second service identifier of the second device.

[0204] Optionally, in the case where the credential information processing is deletion (or release, deregistration), after the first function receives the fifth message from the first device, the method for processing the credential information of the Internet of Things device further includes the following steps:

[0205] The first function deletes the context information of the second device.

[0206] Optionally, the context information of the second device includes at least one of the following information:

[0207] status information of the second device;

[0208] Credential information of the second device in the communication network;

[0209] a first service identifier of the second device;

[0210] a second service identifier of the second device;

[0211] contract information of the second device (also referred to as “contract data”);

[0212] Information of the read-write device corresponding to the second device.

[0213] Optionally, in the case where the deactivation process and the credential information deletion (or release, deregistration) processing process are combined, the fourth message is also used to indicate the second device's confirmation of the deactivation.

[0214] Optionally, in the case where the deactivation process and the credential information deletion (or release, deregistration) processing process are not combined, the method further includes:

[0215] The first device receives an eighth message from the second device, where the eighth message is used to indicate confirmation of the deactivation by the second device.

[0216] Here, the eighth message can be understood as the aforementioned deactivation confirmation message.

[0217] Optionally, in the case where the deactivation process and the credential information deletion (or release, deregistration) processing process are combined, the fifth message is also used to indicate that the second device has been deactivated.

[0218] Optionally, in the case where the deactivation process and the credential information deletion (or release, deregistration) processing process are not combined, the method further includes:

[0219] The first device sends a ninth message to the first function, where the ninth message is used to indicate that the second device has been deactivated;

[0220] The first function receives a ninth message from the first device.

[0221] It should be noted that, based on the aforementioned solution of first deactivating the second device and then processing the credential information of the second device, the first device may send the ninth message to the first function before the first device sends the fifth message to the first function, and the first device may send the ninth message to the first function after the first device receives the eighth message from the second device.

[0222] Optionally, in the case where the deactivation process and the credential information deletion (or release, deregistration) processing process are not combined, the fourteenth message is also used to indicate that the second device has been deactivated.

[0223] Optionally, in the case where the deactivation process and the credential information deletion (or release, deregistration) processing process are not combined, the method further includes:

[0224] The first function sends a fifteenth message to the second function, where the fifteenth message is used to indicate that the second device has been deactivated.

[0225] It should be noted that, based on the aforementioned solution of first deactivating the second device and then processing the credential information of the second device, the first function may send the fifteenth message to the second function before the first function sends the fourteenth message to the second function, and the first function may send the fifteenth message to the second function after the first function receives the ninth message from the first device.

[0226] Optionally, in the case where the activation process and the credential information addition (or push) processing process are combined, the fourteenth message is also used to indicate that the second device has been activated.

[0227] Optionally, in the case where the activation process and the credential information adding (or pushing) processing process are not merged, the method further includes:

[0228] The first function sends a seventeenth message to the second function, where the seventeenth message is used to indicate that the second device has been activated.

[0229] For the case where the activation process and the credential information addition (or push) processing process are merged, the relevant instructions can refer to the relevant instructions for merging the deactivation process and the credential information deletion (or release, deregistration) processing process mentioned above. To avoid repetition, this will not be repeated.

[0230] In the case where the activation process and the new (or pushed) processing process of credential information are not merged, the relevant interactive processes and unmentioned messages can be adaptively added according to needs. For example, messages such as the 21st message and the 22nd message can be added to indicate that the second device has been activated. To avoid repetition, this will not be elaborated.

[0231] The above describes the interactive process of the method for processing IoT device credential information involving a second function, a first function, a first device, and a second device. During the above interactive process, either the second function or the first function can initiate a credential information processing request to process the credential information of the second device in the communication network. The above also provides corresponding IoT device credential information processing solutions for the two possible scenarios of deactivation and activation. Furthermore, the corresponding implementation methods for the four specific scenarios are described: merging the deactivation process with the credential information processing process, not merging the deactivation process with the credential information processing process, merging the activation process with the credential information processing process, and not merging the activation process with the credential information processing process.

[0232] In the embodiments of the present application, the second function can have multiple options. For example, the second function can be selected as either IoT NF or NEF. When different second functions are selected, the interaction flow of the aforementioned method for processing IoT device credential information can also involve more different interaction processes. The following describes various scenarios for the second function.

[0233] Optionally, the second function includes the IoT NF, and the method further includes:

[0234] The second function processes relevant information of the second device.

[0235] Optionally, in the case where the credential information processing is deletion (or release, deregistration), the second function processes the relevant information of the second device, including at least one of the following:

[0236] The second function deletes the contract information corresponding to the first credential information of the second device;

[0237] The second function marks the contract information corresponding to the first credential information of the second device as unused;

[0238] The second function marks the contract information corresponding to the first credential information of the second device as a deactivated state;

[0239] The second function deletes the correspondence between the service identifier of the second device and the first credential information of the second device;

[0240] The second function marks the first credential information of the second device as unused;

[0241] The second function marks the first credential information of the second device as a deactivated state;

[0242] The second function deletes the service identification of the second device;

[0243] The second function marks the service identification of the second device as a state without credential information.

[0244] If the second device is deactivated, the credential information of the second device in the communication network cannot be used, and accordingly, the contract information corresponding to the credential information cannot be used. Therefore, in this embodiment, by deleting the contract information of the second device, the waste of information resources can be further reduced.

[0245] Optionally, in the case where the credential information processing is a newly added processing, the second function processes the relevant information of the second device, including at least one of the following:

[0246] The second function adds contract information corresponding to the second credential information of the second device;

[0247] The second function marks the contract information corresponding to the second credential information of the second device as in use;

[0248] The second function marks the contract information corresponding to the second credential information of the second device as activated;

[0249] The second function adds a correspondence between the service identifier of the second device and the second credential information of the second device;

[0250] The second function marks the second credential information of the second device as in use;

[0251] The second function marks the second credential information of the second device as activated;

[0252] The second function stores a service identifier of the second device;

[0253] The second function marks the service identification of the second device as having credential information.

[0254] In this implementation, when the second device has newly added credential information, the contract information of the second device is newly processed, which can ensure that the newly added credential information of the second device can be used normally, thereby reducing the waste of information resources.

[0255] Optionally, the second function includes the IoT NF, and before the second function sends the thirteenth message to the first function, the method further includes:

[0256] The second function receives an eighteenth message from a third function, where the eighteenth message is used to request deactivation of the second device or activation of the second device, and the third function includes the NEF.

[0257] That is, when the second function selects the IoT NF, the IoT NF may initiate step 201 based on the deactivation (or activation) request initiated by the NEF. It should be noted that the NEF may initiate a deactivation (or activation) request based on the deactivation (or activation) request initiated by the IoT App. In this embodiment of the present application, the IoT App may also be referred to as the IoT AF.

[0258] Optionally, the eighteenth message further includes at least one item of the following information:

[0259] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first device is a read-write device for the second device;

[0260] a second service identifier, where the second service identifier is used by the second function to identify the second device;

[0261] Information indicating the first area;

[0262] Information indicating the first service type.

[0263] Optionally, the method further includes:

[0264] The second function sends a nineteenth message to the third function, where the nineteenth message is used to indicate that the second device has been deactivated, or to indicate that the second device has been activated.

[0265] Optionally, the second function includes the NEF, and the method further includes:

[0266] The first function sends a sixteenth message to the third function, where the sixteenth message is used to instruct the third function to process the subscription information of the second device, and the third function includes the IoT NF.

[0267] Optionally, the second function includes the NEF, and the method further includes:

[0268] The second function sends a twentieth message to the third function, where the twentieth message is used to instruct the third function to process the subscription information of the second device, and the third function includes the IoT NF.

[0269] Optionally, in the case where the credential information processing is deletion (or release, deregistration), processing the contract information of the second device includes:

[0270] Delete the contract information of the second device.

[0271] Optionally, in the case where the credential information processing is a newly added processing, processing the contract information of the second device includes:

[0272] Add the contract information of the second device.

[0273] Additionally, the following optional solutions are provided in the embodiments of the present application:

[0274] First, when neither the second function nor the first function initiates a credential information processing request, the second device performs local credential information processing.

[0275] Second, when the second function does not initiate a credential information processing request, the first function performs local credential information processing.

[0276] The above optional solutions are described below.

[0277] Optionally, when the second device receives the twelfth message from the first device, the second device processes the credential information, wherein:

[0278] When the twelfth message is used to request deactivation of the second device, the second device processes the credential information, including at least one of the following:

[0279] The second device deletes the first credential information;

[0280] The second device releases the first credential information;

[0281] The second device deregisters the first credential information;

[0282] In a case where the twelfth message is used to request activation of the second device, the twelfth message includes second credential information for the second device, and the second device processes the credential information, including:

[0283] The second device stores second credential information.

[0284] In this implementation, upon receiving the deactivation request, the second device may locally delete (or release, deregister) the credential information of the second device.

[0285] Correspondingly, the second device may locally add credential information when receiving the activation request and when the activation request carries new credential information.

[0286] This embodiment simplifies the interaction process of the method for processing IoT device credential information by having the second device perform local credential information processing.

[0287] Optionally, the thirteenth message is used to request deactivation of the second device, and the method further includes:

[0288] After receiving the thirteenth message, the first function directly deletes the context information of the second device.

[0289] In this implementation, upon receiving the deactivation request, the first function may directly and locally delete the context information of the second device.

[0290] This implementation can simplify the interaction process of the method for processing IoT device credential information by having the first function execute the behavior of locally deleting the second device context information.

[0291] In summary, the embodiments of the present application can realize the processing of credential information of IoT devices. In this way, when there is a need to process credential information of IoT devices, for example, when the status or usage scenario of IoT devices changes, the credential information of IoT devices can be processed in a timely manner. Since the credential information of IoT devices in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[0292] In order to better understand the technical solution of the present application, the following takes the second device as an AIoT device, the first device as UE1, the first function as AMF, the second function as AIoT NF, and the third function as NEF as an example to provide a specific embodiment to illustrate the method for processing IoT device credential information of the present application. In addition, it should be noted that for details not described in the method embodiment corresponding to Figure 2, please refer to the relevant description of any of the following embodiments. The relevant description of any of the following embodiments is applicable to the method embodiment corresponding to Figure 2. To avoid repetition, this will not be described in detail.

[0293] Example 1: AIoT NF determines to trigger the credential deletion process, first deactivating and then deleting the credential

[0294] As shown in Figure 3, the method for processing IoT device credential information includes the following steps:

[0295] Step 301: The AIoT app sends a deactivation request message to the NEF. The deactivation request message includes at least one of the following parameters: region, AIoT device external service identifier, and AIoT device service type. The AIoT device external service identifier is used by the AIoT app to identify the AIoT device.

[0296] In the embodiment of the present application, AIoT App may also be referred to as AIoT AF.

[0297] Among them, the area describes the AIoT device in which area to be deactivated; the AIoT device external service identifier describes the target AIoT device that needs to be deactivated; and the AIoT device service type describes the type of target AIoT device that needs to be deactivated.

[0298] Optionally, the deactivation request includes an indication that the credential needs to be deleted, which indicates that the credential of the target AIoT device needs to be deleted.

[0299] The credential is the target AIoT device's credential information in the core network (such as the 5G core network), which is used to authenticate the AIoT device or identify the AIoT device in the core network. For example, the credential of an AIoT device may include at least one of the following parameters: the identification of the AIoT device in the core network, the key or security parameters used by the AIoT device for authentication, and the key or security parameters used to transmit data between the AIoT device and the communication network.

[0300] Step 302: NEF sends a deactivation request message to the AIoT NF.

[0301] Optionally, the NEF authorizes the deactivation request message. For example, the NEF determines whether the AIoT app is allowed to make the deactivation request, whether the AIoT app is allowed to deactivate the AIoT device in the deactivation request message, or whether the AIoT app has sufficient funds to make the request. The NEF can authorize the deactivation request message based on the operator's configured policy.

[0302] Step 303: The AIoT NF sends a deactivation request message to the AMF.

[0303] At this time, the deactivation message carries the parameters acquired in step 301.

[0304] Step 304: AMF sends a deactivation request message to UE1.

[0305] This includes the air interface service identifier of the AIoT device.

[0306] The air interface service identifier is used by UE1 to identify the AIoT device. As a possible implementation scheme, UE1 can obtain the air interface service identifier through other processes (such as the process of inventorying or obtaining the AIoT device identifier).

[0307] The AMF may determine UE1 based on the parameter information in the deactivation request and send a deactivation request to the UE1. Optionally, the AMF may also determine UE1 based on the reader / writer information corresponding to the AIoT device.

[0308] Step 305: UE1 deactivates the AIoT device.

[0309] Exemplarily, UE1 sends a deactivation request message to the AIoT device and UE1 may receive a deactivation confirmation message from the AIoT device.

[0310] Optionally, UE1 may first send an inventory request message to the AIoT device, obtain the service identifier of the AIoT device, and then send a deactivation request message to the AIoT device.

[0311] UE1 sends a deactivation request message only to the AIoT device that matches the AIoT device service identifier in the deactivation request message in step 304.

[0312] Step 306: UE1 sends a deactivation response message to AMF.

[0313] The deactivation response message includes at least one of the following parameters: the service identifier of the AIoT device, the region, and the AIoT device service type.

[0314] Step 307: The AMF sends a deactivation response message to the AIoT NF. The AIoT NF receives the deactivation response message.

[0315] Step 308: The AIoT NF sends a DeleteCredentials Request message to the AMF. The DeleteCredentials Request is used to request the deletion of the credentials of the relevant AIoT device.

[0316] The credential deletion request includes at least one of the following parameters: the service identifier of the AIoT device, the identifier used by the AIoT device in the core network (for example, IMSI), the region, the AIoT device service type, and the deletion reason.

[0317] The above parameters may be determined according to corresponding parameters in the deactivation request received in step 302 , or according to corresponding parameters in the deactivation response message received in step 307 .

[0318] For example, the deletion reason may be set to "AIoT device deactivation".

[0319] The AIoT NF can obtain the identifier used by the AIoT device in the core network based on the service identifier of the AIoT device.

[0320] Exemplarily, the credential deletion request message may be a deregistration request message or an AIoT deregistration request message.

[0321] Note: Steps 307 to 308 are optional steps. If steps 307 to 308 do not occur, the AMF executes step 309 after receiving the deactivation response in step 306.

[0322] Step 309: AMF sends a credential deletion request message to UE1, which includes at least one of the following parameters: the air interface service identifier of the AIoT device, the AIoT device service type, and the deletion reason.

[0323] The AIoT device's air interface service identifier is used to identify the AIoT device over the air interface. "Air interface" refers to the communication interface between the reader and the AIoT device. In this embodiment, the reader is described using a UE (i.e., UE1) as an example, but it can also be replaced by a RAN.

[0324] Optionally, the AMF deletes the context information of the AIoT device. The context information of the AIoT device may include at least one of the following: the status of the AIoT device, the credential of the AIoT device, the service identifier of the AIoT device, the core network identifier of the AIoT device, the subscription of the AIoT device, and the reader / writer information corresponding to the AIoT device.

[0325] In this embodiment, UE1 is a reader / writer. The AMF can determine to which UE to send the credential deletion request based on at least one of the area information and the reader / writer information corresponding to the AIoT device.

[0326] Step 3010: UE1 executes a credential deletion request for the AIoT device.

[0327] Exemplarily, UE1 sends a credential deletion request message to the AIoT device and receives a credential deletion confirmation message from the AIoT device.

[0328] Optionally, UE1 may first send an inventory request message to the AIoT device, obtain the service identifier of the AIoT device, and then send a delete credential request message to the AIoT device.

[0329] UE1 sends the delete credential request message only to the AIoT device that matches the AIoT device service identifier in the delete credential request message in step 309.

[0330] Step 3011: UE1 sends a delete credential response message to AMF.

[0331] The delete credential response message may include at least one of the following parameters: the air interface service identifier of the AIoT device, the AIoT device service type, a deletion success indication, and a deletion failure reason value.

[0332] Optionally, the AMF does not perform the operation of deleting the context information of the AIoT device in step 309, but performs the operation of deleting the context information of the AIoT device after step 3011.

[0333] Step 3012: AMF sends a delete credential response message to the AIoT NF.

[0334] The delete credential response message may include at least one of the following parameters: the air interface service identifier of the AIoT device, the identifier used by the AIoT device in the core network, the AIoT device service type, a deletion success indication, and a deletion failure reason value.

[0335] The AIoT NF obtains the AIoT device credential corresponding to the AIoT device identifier (air interface service identifier or identifier used in the core network or AIoT device service type). Optionally, the AIoT NF deletes the contract data (or contract information) corresponding to the credential. For example, the AIoT NF may perform at least one of the following: delete the correspondence between the AIoT device service tag and the credential; mark the credential and the corresponding contract data as unused or deactivated; delete the contract data corresponding to the credential; delete the AIoT device service tag; mark the AIoT device service identifier as having no credential.

[0336] Steps 309 to 3012 are optional. If steps 309 to 3012 do not occur, the AIoT NF can also release the credential and related subscription data locally. The AMF can also release the context information related to the AIoT device locally.

[0337] In addition, AIoT devices can also release credentials locally.

[0338] Releasing the credential locally means deleting the locally stored credential associated with the AIoT device, as well as related contract data or context information.

[0339] Step 3013: AIoT NF sends a deactivation response message to NEF.

[0340] The deactivation response message indicates that the AIoT device was successfully deactivated, or indicates that the AIoT device deactivation failed. If failed, it may also include a failure reason parameter.

[0341] Optionally, the deactivation response message also includes at least one of the following parameters: region, AIoT device service identifier, and AIoT device service type.

[0342] Optionally, the deactivation response message also includes a delete credential parameter, indicating that the credential of the corresponding AIoT device has been deleted.

[0343] Step 3014: NEF sends a deactivation response message to the AIoT App.

[0344] The above is the relevant description of Example 1. Example 1 can realize the processing of credential information of IoT devices in the deactivation scenario. When the IoT device is temporarily or permanently no longer needed, it can be deactivated and the credential information of the IoT device in the communication network can be released or recovered in a timely manner, which can save the operator's credentials / contracts and realize the recycling of credentials / contracts, thereby avoiding the waste of credential information resources.

[0345] Example 2: The AIoT NF determines to trigger the credential deletion process. The deactivation and credential deletion processes are combined as shown in Figure 4. The method for processing IoT device credential information includes the following steps:

[0346] Step 401 to step 402: refer to the description of step 301 to step 302 in embodiment 1.

[0347] Step 403: The AIoT NF sends a deactivation request to the AMF.

[0348] At this time, the deactivation request carries the parameters obtained in step 401 and the delete credential request parameter. The delete credential request parameter indicates that the corresponding credential of the target deactivated AIoT device needs to be deleted.

[0349] Step 404: AMF sends a deactivation request to UE1.

[0350] The deactivation request includes the service identifier of the AIoT device. Refer to the description of step 304 in Example 1.

[0351] The deactivation request also includes a delete credential request parameter.

[0352] Step 405: UE1 deactivates the AIoT device.

[0353] Refer to the description of step 305 in Example 1.

[0354] Step 405a: UE1 deletes the credential of the AIoT device.

[0355] Refer to the description of step 3010 in Example 1.

[0356] It is worth noting that in steps 405 and 405a, UE1 can send a single message to the AIoT device, including a request to deactivate and delete the credential, or it can use two messages to execute the deactivation and deletion requests respectively. The order of the deactivation and deletion operations is not limited in this embodiment of the application.

[0357] If the deactivation and credential deletion requests are executed separately, UE1 can perform an inventory of the AIoT device before each of the two requests to obtain the service identifier of the AIoT device. UE1 can also perform an inventory before both requests and then execute both requests.

[0358] Exemplarily, UE1 sends an inventory request to the AIoT device, obtains the service identifier of the AIoT device, and then sends a deactivation request message to the AIoT device. The deactivation request message includes a delete credential request message. UE1 sends a deactivation request message to the AIoT device that matches the AIoT service identifier in step 404.

[0359] Step 406: UE1 sends a deactivation response message to AMF.

[0360] The deactivation response message includes a delete credential response parameter, indicating that the credential of the AIoT device has been deleted as requested.

[0361] Optionally, the deactivation response message also includes the service identifier of the AIoT device, indicating that the credential of the AIoT device has been deleted.

[0362] Optionally, the AMF deletes the context information of the AIoT device. The context information of the AIoT device may include at least one of the following: the status of the AIoT device, the credential of the AIoT device, the service identifier of the AIoT device, the core network identifier of the AIoT device, the subscription of the AIoT device, and the reader / writer information corresponding to the AIoT device.

[0363] Step 407: The AMF sends a deactivation response to the AIoT NF. The AIoT NF receives the deactivation response.

[0364] The deactivation response message includes a delete credential response parameter. Optionally, the deactivation response message also includes the service identifier of the AIoT device.

[0365] The AIoT NF obtains the AIoT device credential corresponding to the AIoT device service identifier. Optionally, the AIoT NF deletes the subscription data corresponding to the credential. For example, the AIoT NF may perform at least one of the following: delete the correspondence between the AIoT device service identifier and the credential; mark the credential and the corresponding subscription data as unused or deactivated; delete the subscription data corresponding to the credential; delete the AIoT device service identifier; or mark the AIoT device service identifier as having no credential.

[0366] Step 408 to step 409: refer to step 3013 to step 3014 of embodiment 1.

[0367] It is worth noting that in step 403, the AIoT NF may also send a Delete Credential Request message. Optionally, this message includes a Deactivation Request Indication. Accordingly, in step 404, the AMF sends a Delete Credential Request message. Optionally, this message includes a Deactivation Request Indication. Accordingly, in step 406, UE1 sends a Delete Credential Response message. Optionally, this message includes a Deactivation Response. Accordingly, in step 407, the AMF sends a Delete Credential Response message. Optionally, this message includes a Deactivation Response.

[0368] The above is the relevant description of Example 2. Example 2 can realize the processing of credential information of IoT devices in the deactivation scenario. When the IoT device is temporarily or permanently no longer needed, it can be deactivated and the credential information of the IoT device in the communication network can be released or recovered in a timely manner, which can save the operator's credentials / contracts and realize the recycling of credentials / contracts, thereby avoiding the waste of credential information resources.

[0369] Example 3: AMF determines to trigger the credential deletion process, and merges the deactivation and deletion processes

[0370] As shown in Figure 5, the method for processing IoT device credential information includes the following steps:

[0371] Step 501 to step 503: refer to the description of step 301 to step 303 in embodiment 1.

[0372] Step 504: AMF sends a deactivation request to UE1.

[0373] The deactivation request includes the service identifier of the AIoT device. Refer to the description of step 304 in Example 1.

[0374] The deactivation request also includes a delete credential request parameter.

[0375] Step 505 to step 505a: refer to the description of step 405 to step 405a in embodiment 2.

[0376] Step 506: Refer to the description of step 406 in embodiment 2.

[0377] Step 507: The AMF sends a deactivation response to the AIoT NF. The AIoT NF receives the deactivation response.

[0378] Step 507a: AMF sends a credential deletion notification to the AIoT NF.

[0379] This notification indicates that the target AIoT device's credential has been deleted.

[0380] The notification may include at least one of the following: the service identifier of the AIoT device, the credential of the AIoT device, the identifier of the AIoT device in the core network, the type of the AIoT device, and the area where the AIoT device is located.

[0381] It is worth noting that the area can be a geographical location, a geographical location range, or a network location. For example, it is composed of at least one of the following information: cell identity, tracking area identity, cell identity list, tracking area identity list, and AMF identity.

[0382] Optionally, the AIoT NF deletes the subscription data corresponding to the credential. For example, the AIoT NF may perform at least one of the following: delete the correspondence between the AIoT device service tag and the credential; mark the credential and the corresponding subscription data as unused or deactivated; delete the subscription data corresponding to the credential; delete the AIoT device service tag; or mark the AIoT device service identifier as credential-less.

[0383] If the notification includes the service identifier of the AIoT device but does not include the credential of the AIoT device, the AIoT NF obtains the credential of the AIoT device corresponding to the AIoT device service identifier.

[0384] Step 507a may be combined with step 507. For example, the AMF sends a deactivation response message or a credential deletion notification message to the AIoT NF, which indicates that the credential of the target AIoT device has been deleted and the AIoT device has been deactivated.

[0385] Step 508 to step 509: refer to step 3013 to step 3014 of embodiment 1.

[0386] It is worth noting that in step 504, the AMF may also send a delete credential request message. Optionally, the message may include a deactivation request indication. Correspondingly, in step 506, the UE1 may also send a delete credential response message. Optionally, the message may include a deactivation response.

[0387] It is worth noting that in step 504, the AMF may also trigger the deactivation and credential deletion processes, respectively. For example, the AMF sends a deactivation request message and a credential deletion request message to UE1, respectively. Accordingly, in step 506, UE1 sends a deactivation response message and a credential deletion response message to the AMF, respectively.

[0388] The above is the relevant description of Example 3. Example 3 can realize the processing of credential information of IoT devices in the deactivation scenario. When the IoT device is temporarily or permanently no longer needed, it can be deactivated and the credential information of the IoT device in the communication network can be released or recovered in a timely manner, which can save the operator's credentials / contracts and realize the recycling of credentials / contracts, thereby avoiding the waste of credential information resources.

[0389] Example 4: AIoT NF determines the triggering process of pushing credential, first activates and then pushes the credential

[0390] As shown in FIG6 , the method for processing IoT device credential information includes the following steps:

[0391] Step 601: The AIoT App sends an activation request message to the capability exposure platform NEF. The activation request message includes at least one of the following parameters: region, AIoT device external service identifier, and AIoT device service type.

[0392] Among them, the region describes the AIoT device in which region to activate; the AIoT device external service identifier describes the target AIoT device that needs to be activated; and the AIoT device service type describes the type of target AIoT device that needs to be activated.

[0393] Optionally, the activation request includes an indication that a credential needs to be pushed, which indicates that a credential needs to be pushed to the target AIoT device.

[0394] Step 602: NEF sends an activation request message to the AIoT NF.

[0395] Optionally, the NEF authorizes the activation request message. For how to authorize, refer to the description of step 302 in embodiment 1, where deactivation is replaced by activation.

[0396] Step 603: The AIoT NF sends an activation request message to the AMF.

[0397] At this time, the activation message carries the parameters obtained in step 601.

[0398] Step 604: AMF sends an activation request message to UE1.

[0399] Refer to the description of step 304 in embodiment 1, where deactivation is replaced by activation.

[0400] Step 605: UE1 activates the AIoT device.

[0401] Refer to the description of step 305 in embodiment 1, where deactivation is replaced by activation.

[0402] Step 606 to step 607: refer to the description of step 306 to step 307 in embodiment 1, where deactivation can be replaced by activation.

[0403] Optionally, step 606 also includes a core network identity acquisition indication. This can be an implicit indication. For example, if the AIoT device already has a credential or identity, the indication is carried; otherwise, the indication is not carried. The absence of the indication indicates that the core network identity acquisition indication is required. Conversely, carrying the indication indicates that the AIoT device needs to obtain credentials, while not carrying the indication indicates that credentials are not required.

[0404] Step 608: The AIoT NF sends a push credential request message to the AMF. The push credential request is used to request that credentials be pushed to the relevant AIoT device.

[0405] The push credential request includes at least one of the following parameters: the service identifier of the AIoT device, the identifier used by the AIoT device in the core network (such as IMSI), the region, the AIoT device service type, the credential of the AIoT device, and the push reason.

[0406] The above parameters may be determined based on corresponding parameters in the activation request received in step 602 , or may be determined based on corresponding parameters in the activation response message received in step 607 .

[0407] For example, the push reason may be set to "AIoT device activation".

[0408] Optionally, the AIoT NF performs at least one of the following:

[0409] Added the contract information corresponding to the credential of the AIoT device;

[0410] Mark the contract information corresponding to the AIoT device credential as in use;

[0411] Mark the contract information corresponding to the AIoT device credential as activated;

[0412] Added the correspondence between the AIoT device service identifier and the AIoT device credential;

[0413] Mark the AIoT device credential as in use;

[0414] Mark the AIoT device credential as active;

[0415] Store the service ID of the AIoT device;

[0416] Mark the service ID of the AIoT device as having credential information.

[0417] Optionally, the AIoT NF sends a push request according to the core network identifier acquisition indication in the activation response message.

[0418] Optionally, after receiving the activation response message, the AIoT NF sends a push request.

[0419] Optionally, after the AIoT NF obtains the identifier of the AIoT device (step 607), it authenticates the identifier and then sends the push request.

[0420] The AIoT NF can confirm that it is the App's device based on the AIoT device's service identifier, or obtain the AIoT device's device identifier and perform authentication based on the relationship between the device identifier and the service identifier.

[0421] Steps 607 to 608 are optional. If steps 607 to 608 do not occur, the AMF executes step 609 after receiving the activation response in step 606.

[0422] Step 609: AMF sends a push credential request message to UE1, which includes at least one of the following parameters: the air interface service identifier of the AIoT device, the AIoT device service type, and the deletion reason.

[0423] Optionally, the AMF adds context information for the AIoT device. The context information for the AIoT device may include at least one of the following: the status of the AIoT device, the credential of the AIoT device, the service identifier of the AIoT device, the 5G core network identifier of the AIoT device, the subscription of the AIoT device, and the reader / writer information corresponding to the AIoT device.

[0424] Step 6010: UE1 executes a push credential request for the AIoT device, that is, UE1 pushes the credential to the AIoT device according to the request.

[0425] Step 6011: UE1 sends a push credential response message to AMF.

[0426] Step 6012: AMF sends a push credential response message to AIoT NF.

[0427] Step 6013: AIoT NF sends an activation response message to NEF.

[0428] Step 6014: NEF sends an activation response message to AIoT AF.

[0429] The above steps may refer to the description of step 3010 to step 3014 in embodiment 1. Deactivation is replaced by activation, and deletion is replaced by adding or pushing.

[0430] The above is the relevant description of Example 4. Example 4 can realize the processing of credential information of IoT devices in the activation scenario. When the IoT device is activated or needs to be activated, credential information can be added to the IoT device in a timely manner, so that the IoT device can connect to the communication network as soon as possible, saving signaling process.

[0431] Example 5: AIoT NF determines to trigger the push credential process, and merges the activation and push credential processes

[0432] Based on Example 4, steps 608 to 609 can be respectively merged with steps 603 to 604, and steps 6011 to 6012 can also be merged with steps 606 to 607.

[0433] For example, the activation request includes an indication of pushing the credential and the credential.

[0434] The activation response includes push credential response information.

[0435] Alternatively, the push credential request message includes activation request indication information; and the push credential response message includes activation request response information.

[0436] As shown in FIG7 , the method for processing IoT device credential information includes the following steps:

[0437] Step 701 to Step 702: See the description of Step 601 to Step 602 in Example 4.

[0438] Step 703: The AIoT NF sends an activation request to the AMF.

[0439] At this time, the activation request carries the parameters obtained in step 701 and the push credential request parameter. The push credential request parameter indicates that the credential needs to be pushed to the target activation AIoT device.

[0440] Step 704: AMF sends an activation request to UE1.

[0441] The activation request includes the service identifier of the AIoT device. Refer to the description of step 604 in Example 4.

[0442] The activation request also includes push credential request parameters.

[0443] Step 705: UE1 activates the AIoT device.

[0444] Refer to the description of step 605 in Example 4.

[0445] Step 705a: UE1 executes a push credential request for the AIoT device.

[0446] Refer to the description of step 6010 in Example 4.

[0447] It is worth noting that in steps 705 and 705a, UE1 can send a single message to the AIoT device, including a request to activate and push the credential, or it can use two messages to execute the activation and push credential requests respectively. The order of the activation and push credential operations is not limited in this embodiment of the application.

[0448] If the activation and credential push requests are executed separately, UE1 can perform an inventory of the AIoT device before each of the two requests to obtain the service identifier of the AIoT device. UE1 can also perform an inventory before both requests and then execute both requests.

[0449] Exemplarily, UE1 sends an inventory request to the AIoT device, obtains the service identifier of the AIoT device, and then sends an activation request message to the AIoT device. The activation request message includes a push credential request message. UE1 sends an activation request message to the AIoT device that matches the AIoT service identifier in step 704.

[0450] Step 706: UE1 sends an activation response message to AMF.

[0451] The activation response message includes a push credential response parameter, indicating that the credential of the AIoT device has been pushed as requested.

[0452] Optionally, the activation response message also includes a service identifier of the AIoT device, indicating that the credential of the AIoT device has been pushed.

[0453] Step 707: The AMF sends an activation response to the AIoT NF. The AIoT NF receives the activation response.

[0454] The activation response message includes a push credential response parameter. Optionally, the activation response message also includes the service identifier of the AIoT device.

[0455] The AIoT NF obtains the AIoT device credential corresponding to the AIoT device service identifier. Optionally, the AIoT NF marks the newly added credential. For example, the AIoT NF may perform at least one of the following: adding a new correspondence between the AIoT device service identifier and the credential; marking the credential and the corresponding subscription data as being in use or activated; adding the subscription data corresponding to the credential; storing the AIoT device service identifier; or marking the AIoT device service identifier as having a credential.

[0456] Step 708 to step 709: refer to step 6013 to step 6014 of embodiment 4.

[0457] It is worth noting that in step 703, the AIoT NF may also send a push credential request message. Optionally, this message includes an activation request indication. Accordingly, in step 704, the AMF sends a push credential request message. Optionally, this message includes an activation request indication. Accordingly, in step 706, UE1 sends a push credential response message. Optionally, this message includes an activation response. Accordingly, in step 707, the AMF sends a push credential response message. Optionally, this message includes an activation response.

[0458] The above is the relevant description of Example 5. Example 5 can realize the processing of credential information of IoT devices in the activation scenario. When the IoT device is activated or needs to be activated, credential information can be added to the IoT device in a timely manner, so that the IoT device can connect to the communication network as soon as possible, saving signaling processes.

[0459] FIG8 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application, wherein the method for processing IoT device credential information is executed by a first device. As shown in FIG8 , the method for processing IoT device credential information includes the following steps:

[0460] Step 801: A first device receives a first message from a first function, where the first message is used to request at least credential information processing for a second device, where the second device comprises an IoT device, the first device is a reader / writer for the second device, and the credential information is credential information of the second device in a communication network.

[0461] Step 802: The first device sends a second message to the second device, where the second message is at least used to request processing of the credential information.

[0462] Optionally, the first message includes at least one of the following information:

[0463] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first message is used at least to request processing of the credential information of the second device identified by the first service identifier;

[0464] Information indicating a first area, the first message being used at least to request processing of the credential information on the second device in the first area;

[0465] Information indicating a first service type, the first message being used at least to request processing of the credential information on the second device of the first service type;

[0466] Information used to indicate a reason for processing the credential information on the second device.

[0467] Optionally, before the first device sends the second message to the second device, the method further includes:

[0468] The first device receives a third message from the second device, where the third message includes the first service identifier of the second device.

[0469] Optionally, the method further includes:

[0470] The first device receives a fourth message from the second device, where the fourth message is at least used to indicate confirmation of the second device's processing of the credential information; or

[0471] The first device sends a fifth message to the first function, where the fifth message is at least used to indicate confirmation of processing of the credential information by the second device.

[0472] Optionally, the fifth message further includes at least one of the following information:

[0473] a first service identifier of the second device;

[0474] Information used to indicate the area where the second device is located;

[0475] Information used to indicate the service type of the second device.

[0476] Optionally, processing the credential information on the second device includes at least one of the following:

[0477] Deleting the first credential information of the second device;

[0478] releasing the first credential information of the second device;

[0479] Deregister the first credential information of the second device.

[0480] Optionally, the first message is further used to request deactivation of the second device;

[0481] or,

[0482] The method further comprises:

[0483] The first device receives a sixth message from the first function, where the sixth message is used to request deactivation of the second device.

[0484] Optionally, the sixth message includes at least one of the following information:

[0485] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;

[0486] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;

[0487] The sixth message is used to indicate information of a first service type, and is used to request deactivation of the second device whose service type includes the first service type.

[0488] Optionally, the second message is further used to request deactivation of the second device;

[0489] or,

[0490] The method further comprises:

[0491] The first device sends a seventh message to the second device, where the seventh message is used to request deactivation of the second device.

[0492] Optionally, the first device receives a fourth message from the second device, where the fourth message is further used to indicate confirmation of the deactivation by the second device;

[0493] or,

[0494] The method further comprises:

[0495] The first device receives an eighth message from the second device, where the eighth message is used to indicate confirmation of the deactivation by the second device.

[0496] Optionally, when the first device sends a fifth message to the first function, the fifth message is further used to indicate that the second device has been deactivated;

[0497] or,

[0498] The method further comprises:

[0499] The first device sends a ninth message to the first function, where the ninth message is used to indicate that the second device has been deactivated.

[0500] Optionally, processing the credential information on the second device includes at least one of the following:

[0501] Adding the second credential information of the second device;

[0502] Push second credential information to the second device.

[0503] Optionally, the first message is further used to request activation of the second device, and the first message includes the second credential information for the second device;

[0504] or,

[0505] The method further comprises:

[0506] The first device receives a tenth message from the first function, where the tenth message is used to request activation of the second device, and the first message or the tenth message includes the second credential information for the second device.

[0507] Optionally, the tenth message includes at least one of the following information:

[0508] a first service identifier, the tenth message being used to request activation of the second device identified by the first service identifier;

[0509] information indicating a first area, the tenth message being used to request activation of the second device in the first area;

[0510] The tenth message is used to indicate information of a first service type, and is used to request activation of the second device whose service type includes the first service type.

[0511] Optionally, the second message is further used to request activation of the second device, and the second message includes second credential information for the second device;

[0512] or,

[0513] The method further comprises:

[0514] The first device sends an eleventh message to the second device, where the eleventh message is used to request activation of the second device, and the second message or the eleventh message includes the second credential information for the second device.

[0515] Optionally, the first device includes a terminal or an access network device, and the first function includes an access mobility management function AMF.

[0516] In the embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[0517] The method for processing IoT device credential information provided in the embodiments of the present application can be executed by a device for processing IoT device credential information. In the embodiments of the present application, the device for processing IoT device credential information is used as an example to illustrate the device for processing IoT device credential information provided in the embodiments of the present application.

[0518] FIG9 shows a structural diagram of an apparatus for processing IoT device credential information provided by an embodiment of the present application, which can be applied to a first device. As shown in FIG9 , an apparatus 900 for processing IoT device credential information includes:

[0519] A first receiving module 901 is configured to receive a first message from a first function, where the first message is used to at least request credential information processing for a second device, where the second device includes an IoT device, the first device is a reader / writer for the second device, and the credential information is credential information of the second device in a communication network;

[0520] The first sending module 902 is configured to send a second message to the second device, where the second message is at least used to request processing of the credential information.

[0521] Optionally, the first message includes at least one of the following information:

[0522] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first message is used at least to request processing of the credential information of the second device identified by the first service identifier;

[0523] Information indicating a first area, the first message being used at least to request processing of the credential information on the second device in the first area;

[0524] Information indicating a first service type, the first message being used at least to request processing of the credential information on the second device of the first service type;

[0525] Information used to indicate a reason for processing the credential information on the second device.

[0526] Optionally, the IoT device credential information processing device 900 further includes:

[0527] The second receiving module is configured to receive a third message from the second device, where the third message includes the first service identifier of the second device.

[0528] Optionally, the IoT device credential information processing device 900 further includes:

[0529] a third receiving module, configured to receive a fourth message from the second device, wherein the fourth message is at least used to indicate confirmation of the second device's processing of the credential information; or

[0530] The second sending module is configured to send a fifth message to the first function, where the fifth message is at least used to indicate confirmation of the second device's processing of the credential information.

[0531] Optionally, the fifth message further includes at least one of the following information:

[0532] a first service identifier of the second device;

[0533] Information used to indicate the area where the second device is located;

[0534] Information used to indicate the service type of the second device.

[0535] Optionally, processing the credential information on the second device includes at least one of the following:

[0536] Deleting the first credential information of the second device;

[0537] releasing the first credential information of the second device;

[0538] Deregister the first credential information of the second device.

[0539] Optionally, the first message is further used to request deactivation of the second device;

[0540] or,

[0541] The IoT device credential information processing apparatus 900 further includes:

[0542] The fourth receiving module is used to receive a sixth message from the first function, where the sixth message is used to request deactivation of the second device.

[0543] Optionally, the sixth message includes at least one of the following information:

[0544] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;

[0545] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;

[0546] The sixth message is used to indicate information of a first service type, and is used to request deactivation of the second device whose service type includes the first service type.

[0547] Optionally, the second message is further used to request deactivation of the second device;

[0548] or,

[0549] The IoT device credential information processing apparatus 900 further includes:

[0550] The third sending module is configured to send a seventh message to the second device, where the seventh message is used to request deactivation of the second device.

[0551] Optionally, the fourth message is further used to indicate confirmation of the deactivation by the second device;

[0552] or,

[0553] The IoT device credential information processing apparatus 900 further includes:

[0554] The fifth receiving module is used to receive an eighth message from the second device, where the eighth message is used to indicate confirmation of the deactivation by the second device.

[0555] Optionally, when the first device sends a fifth message to the first function, the fifth message is further used to indicate that the second device has been deactivated;

[0556] or,

[0557] The IoT device credential information processing apparatus 900 further includes:

[0558] The fourth sending module is used to send a ninth message to the first function, where the ninth message is used to indicate that the second device has been deactivated.

[0559] Optionally, processing the credential information on the second device includes at least one of the following:

[0560] Adding the second credential information of the second device;

[0561] Push second credential information to the second device.

[0562] Optionally, the first message is further used to request activation of the second device, and the first message includes the second credential information for the second device;

[0563] or,

[0564] The IoT device credential information processing apparatus 900 further includes:

[0565] The sixth receiving module is configured to receive a tenth message from the first function, where the tenth message is used to request activation of the second device, and the first message or the tenth message includes the second credential information for the second device.

[0566] Optionally, the tenth message includes at least one of the following information:

[0567] a first service identifier, the tenth message being used to request activation of the second device identified by the first service identifier;

[0568] information indicating a first area, the tenth message being used to request activation of the second device in the first area;

[0569] The tenth message is used to indicate information of a first service type, and is used to request activation of the second device whose service type includes the first service type.

[0570] Optionally, the second message is further used to request activation of the second device, and the second message includes second credential information for the second device;

[0571] or,

[0572] The IoT device credential information processing apparatus 900 further includes:

[0573] The fifth sending module is configured to send an eleventh message to the second device, where the eleventh message is used to request activation of the second device, and the second message or the eleventh message includes the second credential information for the second device.

[0574] Optionally, the first device includes a terminal or an access network device, and the first function includes an access mobility management function AMF.

[0575] In an embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of an IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, the problem that the credential information of the IoT device in the communication network cannot be used can be solved. Since there is no unusable credential information, when the IoT device is temporarily or permanently not needed, the device needs to be deactivated, and the credential information / contract of the IoT device in the 5G communication network can be released or recovered in a timely manner, which can save the operator's credentials / contract and recycle it. Thus, the waste of credential information resources can be avoided; on the other hand, when the IoT device is activated or needs to be activated, credential information can be added to the IoT device in a timely manner, so that the IoT device can contact the communication network as soon as possible, saving signaling processes.

[0576] The device 900 for processing IoT device credential information provided in the embodiment of the present application can implement the various processes implemented in the method embodiment of Figure 8 and achieve the same technical effects. To avoid repetition, they will not be described here.

[0577] Figure 10a shows a flowchart of a method for processing IoT device credential information provided in an embodiment of the present application, and Figure 10b shows a flowchart of a method for processing IoT device credential information provided in an embodiment of the present application. The method for processing IoT device credential information in Figure 10a and the method for processing IoT device credential information in Figure 10b are both executed by the second device.

[0578] As shown in FIG10a , the method for processing IoT device credential information includes the following steps:

[0579] Step 1001a: The second device receives a second message from the first device, where the second message is used to at least request the second device to perform a first process on the credential information, the second device comprising an IoT device, and the first device being a reader / writer for the second device;

[0580] Step 1002a: The second device performs a first process on the credential information.

[0581] As shown in FIG10b , the method for processing IoT device credential information includes the following steps:

[0582] Step 1001b: The second device receives a twelfth message from the first device, where the twelfth message is used to request deactivation of the second device or activation of the second device, where the second device includes an IoT device, and the first device is a read / write device of the second device.

[0583] Step 1002b: The second device performs a second process on the credential information.

[0584] Optionally, the second device performs a first processing on the credential information, including at least one of the following:

[0585] The second device deletes the first credential information;

[0586] The second device releases the first credential information;

[0587] The second device deregisters the first credential information;

[0588] The second device stores second credential information.

[0589] Optionally, the twelfth message is used to request deactivation of the second device, and the second device performs second processing of the credential information, including at least one of the following:

[0590] The second device deletes the first credential information;

[0591] The second device releases the first credential information;

[0592] The second device deregisters the first credential information.

[0593] Optionally, the twelfth message is used to request activation of the second device, the twelfth message includes second credential information for the second device, and the second device performs second processing on the credential information, including:

[0594] The second device stores the second credential information.

[0595] Optionally, the method further includes:

[0596] The second device sends a fourth message to the first device, where the fourth message is at least used to indicate confirmation of the second device's processing of the credential information.

[0597] Optionally, the second message is further used to request deactivation of the second device;

[0598] or,

[0599] The method further comprises:

[0600] The second device receives a seventh message from the first device, where the seventh message is used to request deactivation of the second device.

[0601] Optionally, the fourth message is further used to indicate confirmation of the deactivation by the second device;

[0602] or,

[0603] The method further comprises:

[0604] The second device sends an eighth message to the first device, where the eighth message is used to indicate confirmation of the deactivation by the second device.

[0605] Optionally, the second message is further used to request activation of the second device, and the second message includes second credential information for the second device;

[0606] or,

[0607] The method further comprises:

[0608] The second device receives an eleventh message from the first device, where the eleventh message is used to request activation of the second device, and the second message or the eleventh message includes the second credential information for the second device.

[0609] Optionally, the first device includes a terminal or an access network device.

[0610] In the embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[0611] The method for processing IoT device credential information provided in the embodiments of the present application can be executed by a device for processing IoT device credential information. In the embodiments of the present application, the device for processing IoT device credential information is used as an example to illustrate the device for processing IoT device credential information provided in the embodiments of the present application.

[0612] Figure 11 shows a structural diagram of a device for processing IoT device credential information provided by an embodiment of the present application, which can be applied to a second device. As shown in Figure 11, the device for processing IoT device credential information 1100 includes a first receiving module 1101 and a processing module 1102:

[0613] The first receiving module 1101 is configured to receive a second message from a first device, where the second message is at least configured to request the second device to perform a first process on the credential information;

[0614] The processing module 1102 is used to perform a first process on the credential information;

[0615] or,

[0616] The first receiving module 1101 is configured to receive a twelfth message from the first device, where the twelfth message is used to request deactivation of the second device or request activation of the second device;

[0617] The processing module 1102 is used to perform a second process on the credential information;

[0618] The second device includes an Internet of Things (IoT) device, and the first device is a read-write device of the second device.

[0619] Optionally, the processing module 1102 is specifically configured to perform at least one of the following:

[0620] Deleting the first credential information;

[0621] releasing the first credential information;

[0622] Deregistering the first credential information;

[0623] Added second credential information.

[0624] Optionally, the twelfth message is used to request deactivation of the second device, and the processing module 1102 is specifically configured to perform at least one of the following:

[0625] Deleting the first credential information;

[0626] releasing the first credential information;

[0627] Deregister the first credential information.

[0628] Optionally, the twelfth message is used to request activation of the second device, and the twelfth message includes second credential information for the second device. The processing module 1102 is specifically configured to:

[0629] The second credential information is stored.

[0630] Optionally, the IoT device credential information processing apparatus 1100 further includes:

[0631] The first sending module is configured to send a fourth message to the first device, where the fourth message is at least used to indicate confirmation of the second device's processing of the credential information.

[0632] Optionally, the second message is further used to request deactivation of the second device;

[0633] or,

[0634] The IoT device credential information processing apparatus 1100 further includes:

[0635] The second receiving module is configured to receive a seventh message from the first device, where the seventh message is used to request deactivation of the second device.

[0636] Optionally, the fourth message is further used to indicate confirmation of the deactivation by the second device;

[0637] or,

[0638] The IoT device credential information processing apparatus 1100 further includes:

[0639] The second sending module is used to send an eighth message to the first device, where the eighth message is used to indicate confirmation of the deactivation by the second device.

[0640] Optionally, the second message is further used to request activation of the second device, and the second message includes second credential information for the second device;

[0641] or,

[0642] The IoT device credential information processing apparatus 1100 further includes:

[0643] The third receiving module is configured to receive an eleventh message from the first device, where the eleventh message is used to request activation of the second device, and the second message or the eleventh message includes the second credential information for the second device.

[0644] Optionally, the first device includes a terminal or an access network device.

[0645] In the embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[0646] The device 1100 for processing IoT device credential information provided in the embodiment of the present application can implement the various processes implemented in the method embodiment of Figure 10a or Figure 10b and achieve the same technical effect. To avoid repetition, it will not be described here.

[0647] FIG12 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application, wherein the method for processing IoT device credential information is executed by the first function. As shown in FIG12 , the method for processing IoT device credential information includes the following steps:

[0648] Step 1201: The first function receives the thirteenth message from the second function;

[0649] Step 1202: The first function sends a first message to the first device based on the thirteenth message. The first message is at least used to request processing of credential information of the second device. The second device includes an Internet of Things (IoT) device. The first device is a reading and writing device of the second device. The credential information is the credential information of the second device in the communication network.

[0650] Optionally, the thirteenth message is used to request deactivation of the second device; wherein processing the credential information on the second device includes at least one of the following:

[0651] Deleting the first credential information of the second device;

[0652] releasing the first credential information of the second device;

[0653] Deregister the first credential information of the second device.

[0654] Optionally, the method further includes:

[0655] After receiving the thirteenth message, the first function deletes the context information of the second device.

[0656] Optionally, the thirteenth message is used to request activation of the second device; wherein processing the credential information on the second device includes at least one of the following:

[0657] Adding the second credential information of the second device;

[0658] Push second credential information to the second device.

[0659] Optionally, the thirteenth message is at least used to request the second device to process the credential information.

[0660] Optionally, the thirteenth message is further used to request deactivation of the second device; wherein processing the credential information on the second device includes at least one of the following:

[0661] Deleting the first credential information of the second device;

[0662] releasing the first credential information of the second device;

[0663] Deregister the first credential information of the second device.

[0664] Optionally, the thirteenth message is further used to request activation of the second device, and the thirteenth message includes second credential information for the second device; wherein processing the credential information on the second device includes at least one of the following:

[0665] Add the second credential information of the second device;

[0666] Push the second credential information to the second device.

[0667] Optionally, the first message includes at least one of the following information:

[0668] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first message is used to request processing of the credential information of the second device identified by the first service identifier;

[0669] Information indicating a first area, the first message being used to request processing of the credential information on the second device in the first area;

[0670] Information indicating a first service type, the first message being used to request processing of the credential information on the second device of the first service type;

[0671] Information used to indicate a reason for processing the credential information on the second device.

[0672] Optionally, the thirteenth message includes at least one of the following information:

[0673] a first service identifier, where the first service identifier is used by the first device to identify the second device;

[0674] a second service identifier, where the second service identifier is used by the second function to identify the second device;

[0675] Information indicating the first area;

[0676] Information indicating a first service type;

[0677] Information used to indicate a reason for processing the credential information on the second device.

[0678] Optionally, before the first function sends the first message to the first device, the method further includes:

[0679] The first function determines the first device based on the thirteenth message.

[0680] Optionally, after the first function sends the first message to the first device, the method further includes:

[0681] The first function receives a fifth message from the first device, the fifth message including at least a confirmation of processing of the credential information by the second device.

[0682] Optionally, the fifth message includes at least one of the following information:

[0683] a first service identifier of the second device;

[0684] Information used to indicate the area where the second device is located;

[0685] Information used to indicate the service type of the second device.

[0686] Optionally, after the first function receives the fifth message from the first device, the method further includes:

[0687] The first function sends a fourteenth message to the second function, the fourteenth message including at least a confirmation of the second device's processing of the credential information.

[0688] Optionally, the fourteenth message includes:

[0689] a second service identifier of the second device, where the second service identifier is used for the second function to identify the second device.

[0690] Optionally, after the first function receives the fifth message from the first device, the method further includes:

[0691] The first function deletes the context information of the second device.

[0692] Optionally, the context information of the second device includes at least one of the following information:

[0693] status information of the second device;

[0694] Credential information of the second device in the communication network;

[0695] a first service identifier of the second device;

[0696] a second service identifier of the second device;

[0697] the contract information of the second device;

[0698] Information of the read-write device corresponding to the second device.

[0699] Optionally, the first message is further used to request deactivation of the second device;

[0700] or,

[0701] The method further comprises:

[0702] The first function sends a sixth message to the first device, where the sixth message is used to request deactivation of the second device.

[0703] Optionally, the sixth message includes at least one of the following information:

[0704] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;

[0705] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;

[0706] The sixth message is used to indicate information of a first service type, and is used to request deactivation of the second device whose service type includes the first service type.

[0707] Optionally, the fifth message is further used to indicate that the second device has been deactivated;

[0708] or,

[0709] The method further comprises:

[0710] The first function receives a ninth message from the first device, where the ninth message is used to indicate that the second device has been deactivated.

[0711] Optionally, the fourteenth message is further used to indicate that the second device has been deactivated;

[0712] or,

[0713] The method further comprises:

[0714] The first function sends a fifteenth message to the second function, where the fifteenth message is used to indicate that the second device has been deactivated.

[0715] Optionally, the first message is further used to request activation of the second device, and the first message includes the second credential information for the second device;

[0716] or,

[0717] The method further comprises:

[0718] The first device receives a tenth message from the first function, where the tenth message is used to request activation of the second device, and the first message or the tenth message includes the second credential information for the second device.

[0719] Optionally, the first device includes a terminal or an access network device, the first function includes an access mobility management function AMF, and the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.

[0720] Optionally, the second function includes the NEF, and the method further includes:

[0721] The first function sends a sixteenth message to the third function, where the sixteenth message is used to instruct the third function to process the subscription information of the second device, and the third function includes the IoT NF.

[0722] Optionally, processing the contract information of the second device includes:

[0723] Deleting the contract information of the second device;

[0724] or,

[0725] Add the contract information of the second device.

[0726] In the embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[0727] The method for processing IoT device credential information provided in the embodiments of the present application can be executed by a device for processing IoT device credential information. In the embodiments of the present application, the device for processing IoT device credential information is used as an example to illustrate the device for processing IoT device credential information provided in the embodiments of the present application.

[0728] FIG13 shows a structural diagram of an apparatus for processing IoT device credential information provided in an embodiment of the present application, which can be applied to the first function. As shown in FIG13 , the apparatus 1300 for processing IoT device credential information includes:

[0729] The first receiving module 1301 is configured to receive a thirteenth message from the second function;

[0730] The first sending module 1302 is used to send a first message to the first device based on the thirteenth message, where the first message is at least used to request processing of credential information of the second device, where the second device includes an Internet of Things (IoT) device, the first device is a reading and writing device of the second device, and the credential information is credential information of the second device in the communication network.

[0731] Optionally, the thirteenth message is used to request deactivation of the second device; wherein processing the credential information on the second device includes at least one of the following:

[0732] Deleting the first credential information of the second device;

[0733] releasing the first credential information of the second device;

[0734] Deregister the first credential information of the second device.

[0735] Optionally, the IoT device credential information processing device 1300 further includes:

[0736] The first deleting module is configured to delete the context information of the second device after the first receiving module 1301 receives the thirteenth message.

[0737] Optionally, the thirteenth message is used to request activation of the second device; wherein processing the credential information on the second device includes at least one of the following:

[0738] Adding the second credential information of the second device;

[0739] Push second credential information to the second device.

[0740] Optionally, the thirteenth message is at least used to request the second device to process the credential information.

[0741] Optionally, the thirteenth message is further used to request deactivation of the second device; wherein processing the credential information on the second device includes at least one of the following:

[0742] Deleting the first credential information of the second device;

[0743] releasing the first credential information of the second device;

[0744] Deregister the first credential information of the second device.

[0745] Optionally, the thirteenth message is further used to request activation of the second device, and the thirteenth message includes second credential information for the second device; wherein processing the credential information on the second device includes at least one of the following:

[0746] Add the second credential information of the second device;

[0747] Push the second credential information to the second device.

[0748] Optionally, the first message includes at least one of the following information:

[0749] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first message is used to request processing of the credential information of the second device identified by the first service identifier;

[0750] Information indicating a first area, the first message being used to request processing of the credential information on the second device in the first area;

[0751] Information indicating a first service type, the first message being used to request processing of the credential information on the second device of the first service type;

[0752] Information used to indicate a reason for processing the credential information on the second device.

[0753] Optionally, the thirteenth message includes at least one of the following information:

[0754] a first service identifier, where the first service identifier is used by the first device to identify the second device;

[0755] a second service identifier, where the second service identifier is used by the second function to identify the second device;

[0756] Information indicating the first area;

[0757] Information indicating a first service type;

[0758] Information used to indicate a reason for processing the credential information on the second device.

[0759] Optionally, before the first function sends the first message to the first device, the method further includes:

[0760] The first function determines the first device based on the thirteenth message.

[0761] Optionally, the IoT device credential information processing device 1300 further includes:

[0762] The second receiving module is configured to receive a fifth message from the first device, where the fifth message at least includes a confirmation of the second device's processing of the credential information.

[0763] Optionally, the fifth message includes at least one of the following information:

[0764] a first service identifier of the second device;

[0765] Information used to indicate the area where the second device is located;

[0766] Information used to indicate the service type of the second device.

[0767] Optionally, the IoT device credential information processing device 1300 further includes:

[0768] The second sending module is configured to send a fourteenth message to the second function, where the fourteenth message at least includes confirmation of the second device's processing of the credential information.

[0769] Optionally, the fourteenth message includes:

[0770] a second service identifier of the second device, where the second service identifier is used for the second function to identify the second device.

[0771] Optionally, the IoT device credential information processing device 1300 further includes:

[0772] The second deleting module is configured to delete the context information of the second device after the second receiving module receives the fifth message.

[0773] Optionally, the context information of the second device includes at least one of the following information:

[0774] status information of the second device;

[0775] Credential information of the second device in the communication network;

[0776] a first service identifier of the second device;

[0777] a second service identifier of the second device;

[0778] the contract information of the second device;

[0779] Information of the read-write device corresponding to the second device.

[0780] Optionally, the first message is further used to request deactivation of the second device;

[0781] or,

[0782] The IoT device credential information processing apparatus 1300 further includes:

[0783] The third sending module is configured to send a sixth message to the first device, where the sixth message is used to request deactivation of the second device.

[0784] Optionally, the sixth message includes at least one of the following information:

[0785] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;

[0786] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;

[0787] The sixth message is used to indicate information of a first service type, and is used to request deactivation of the second device whose service type includes the first service type.

[0788] Optionally, the fifth message is further used to indicate that the second device has been deactivated;

[0789] or,

[0790] The IoT device credential information processing apparatus 1300 further includes:

[0791] The fourth receiving module is used to receive a ninth message from the first device, where the ninth message is used to indicate that the second device has been deactivated.

[0792] Optionally, the fourteenth message is further used to indicate that the second device has been deactivated;

[0793] or,

[0794] The IoT device credential information processing apparatus 1300 further includes:

[0795] The fourth sending module is used to send a fifteenth message to the second function, where the fifteenth message is used to indicate that the second device has been deactivated.

[0796] Optionally, the first message is further used to request activation of the second device, and the first message includes the second credential information for the second device;

[0797] or,

[0798] The IoT device credential information processing apparatus 1300 further includes:

[0799] The fifth receiving module is configured to receive a tenth message from the first function, where the tenth message is used to request activation of the second device, and the first message or the tenth message includes the second credential information for the second device.

[0800] Optionally, the first device includes a terminal or an access network device, the first function includes an access mobility management function AMF, and the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.

[0801] Optionally, the second function includes the NEF, and the method further includes:

[0802] The first function sends a sixteenth message to the third function, where the sixteenth message is used to instruct the third function to process the subscription information of the second device, and the third function includes the IoT NF.

[0803] Optionally, processing the contract information of the second device includes:

[0804] Deleting the contract information of the second device;

[0805] or,

[0806] Add the contract information of the second device.

[0807] In the embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[0808] The device 1300 for processing IoT device credential information provided in the embodiment of the present application can implement the various processes implemented in the method embodiment of Figure 12 and achieve the same technical effects. To avoid repetition, they will not be described here.

[0809] FIG14 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application, wherein the method for processing IoT device credential information is executed by the second function. As shown in FIG14 , the method for processing IoT device credential information includes the following steps:

[0810] Step 1401: The second function sends a thirteenth message to the first function;

[0811] Step 1402: The second function receives the fourteenth message from the first function, where the fourteenth message is used to indicate that the second device has processed the credential information, where the second device includes an Internet of Things (IoT) device, and the credential information is the credential information of the second device in the communication network.

[0812] Optionally, the thirteenth message is used to request deactivation of the second device; wherein the processing of the credential information performed by the second device includes at least one of the following:

[0813] The second device has deleted the first credential information;

[0814] The second device has released the first credential information;

[0815] The second device has deregistered the first credential information.

[0816] Optionally, the thirteenth message is used to request activation of the second device; wherein the processing of the credential information performed by the second device includes:

[0817] The second device has processed the addition of the second credential information.

[0818] Optionally, the thirteenth message is at least used to request the second device to process the credential information.

[0819] Optionally, the thirteenth message is further used to request deactivation of the second device; wherein the processing of the credential information performed by the second device includes at least one of the following:

[0820] The second device has deleted the first credential information;

[0821] The second device has released the first credential information;

[0822] The second device has deregistered the first credential information.

[0823] Optionally, the thirteenth message is further used to request activation of the second device, and the thirteenth message includes second credential information for the second device; wherein the processing of the credential information performed by the second device includes:

[0824] The second device has processed the addition of the second credential information.

[0825] Optionally, the thirteenth message includes at least one of the following information:

[0826] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first device is a read-write device for the second device;

[0827] a second service identifier, where the second service identifier is used by the second function to identify the second device;

[0828] Information indicating the first area;

[0829] Information indicating a first service type;

[0830] Information used to indicate a reason for processing the credential information on the second device.

[0831] Optionally, the fourteenth message includes:

[0832] A second service identifier, where the second service identifier is used by the second function to identify the second device.

[0833] Optionally, the fourteenth message is further used to indicate that the second device has been deactivated;

[0834] or,

[0835] The method further comprises:

[0836] The second function receives a fifteenth message from the first function, where the fifteenth message is used to indicate that the second device has been deactivated.

[0837] Optionally, the fourteenth message is further used to indicate that the second device has been activated;

[0838] or,

[0839] The method further comprises:

[0840] The second function receives a seventeenth message from the first function, where the seventeenth message is used to indicate that the second device has been activated.

[0841] Optionally, the first function includes an access mobility management function AMF, and the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.

[0842] Optionally, the second function includes the IoT NF, and the method further includes:

[0843] The second function processes relevant information of the second device.

[0844] Optionally, the second function processes the relevant information of the second device, including at least one of the following:

[0845] The second function deletes the contract information corresponding to the first credential information of the second device;

[0846] The second function marks the contract information corresponding to the first credential information of the second device as unused;

[0847] The second function marks the contract information corresponding to the first credential information of the second device as a deactivated state;

[0848] The second function deletes the correspondence between the service identifier of the second device and the first credential information of the second device;

[0849] The second function marks the first credential information of the second device as unused;

[0850] The second function marks the first credential information of the second device as a deactivated state;

[0851] The second function deletes the service identification of the second device;

[0852] The second function marks the service identifier of the second device as a state without credential information;

[0853] The second function adds contract information corresponding to the second credential information of the second device;

[0854] The second function marks the contract information corresponding to the second credential information of the second device as in use;

[0855] The second function marks the contract information corresponding to the second credential information of the second device as activated;

[0856] The second function adds a correspondence between the service identifier of the second device and the second credential information of the second device;

[0857] The second function marks the second credential information of the second device as in use;

[0858] The second function marks the second credential information of the second device as activated;

[0859] The second function stores a service identifier of the second device;

[0860] The second function marks the service identification of the second device as having credential information.

[0861] Optionally, the second function includes the IoT NF, and before the second function sends the thirteenth message to the first function, the method further includes:

[0862] The second function receives an eighteenth message from a third function, where the eighteenth message is used to request deactivation of the second device or activation of the second device, and the third function includes the NEF.

[0863] Optionally, the eighteenth message further includes at least one item of the following information:

[0864] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first device is a read-write device for the second device;

[0865] a second service identifier, where the second service identifier is used by the second function to identify the second device;

[0866] Information indicating the first area;

[0867] Information indicating the first service type.

[0868] Optionally, the method further includes:

[0869] The second function sends a nineteenth message to the third function, where the nineteenth message is used to indicate that the second device has been deactivated, or to indicate that the second device has been activated.

[0870] Optionally, the second function includes the NEF, and the method further includes:

[0871] The second function sends a twentieth message to the third function, where the twentieth message is used to instruct the third function to process the subscription information of the second device, and the third function includes the IoT NF.

[0872] Optionally, processing the contract information of the second device includes:

[0873] Deleting the contract information of the second device;

[0874] or,

[0875] Add the contract information of the second device.

[0876] In the embodiments of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently no longer needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[0877] The method for processing IoT device credential information provided in the embodiments of the present application can be executed by a device for processing IoT device credential information. In the embodiments of the present application, the device for processing IoT device credential information is used as an example to illustrate the device for processing IoT device credential information provided in the embodiments of the present application.

[0878] FIG15 shows a structural diagram of an apparatus for processing IoT device credential information provided by an embodiment of the present application, which can be applied to the second function. As shown in FIG15 , an apparatus 1500 for processing IoT device credential information includes:

[0879] The first sending module 1501 is configured to send a thirteenth message to the first function;

[0880] The first receiving module 1502 is used to receive the fourteenth message from the first function, where the fourteenth message is used to indicate that the second device has processed the credential information, where the second device includes an Internet of Things (IoT) device, and the credential information is the credential information of the second device in the communication network.

[0881] Optionally, the thirteenth message is used to request deactivation of the second device; wherein the processing of the credential information performed by the second device includes at least one of the following:

[0882] The second device has deleted the first credential information;

[0883] The second device has released the first credential information;

[0884] The second device has deregistered the first credential information.

[0885] Optionally, the thirteenth message is used to request activation of the second device; wherein the processing of the credential information performed by the second device includes:

[0886] The second device has processed the addition of the second credential information.

[0887] Optionally, the thirteenth message is at least used to request the second device to process the credential information.

[0888] Optionally, the thirteenth message is further used to request deactivation of the second device; wherein the processing of the credential information performed by the second device includes at least one of the following:

[0889] The second device has deleted the first credential information;

[0890] The second device has released the first credential information;

[0891] The second device has deregistered the first credential information.

[0892] Optionally, the thirteenth message is further used to request activation of the second device, and the thirteenth message includes second credential information for the second device; wherein the processing of the credential information performed by the second device includes:

[0893] The second device has processed the addition of the second credential information.

[0894] Optionally, the thirteenth message includes at least one of the following information:

[0895] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first device is a read-write device for the second device;

[0896] a second service identifier, where the second service identifier is used by the second function to identify the second device;

[0897] Information indicating the first area;

[0898] Information indicating a first service type;

[0899] Information used to indicate a reason for processing the credential information on the second device.

[0900] Optionally, the fourteenth message includes:

[0901] A second service identifier, where the second service identifier is used by the second function to identify the second device.

[0902] Optionally, the fourteenth message is further used to indicate that the second device has been deactivated;

[0903] or,

[0904] The IoT device credential information processing apparatus 1500 further includes:

[0905] The second receiving module is used to receive a fifteenth message from the first function, where the fifteenth message is used to indicate that the second device has been deactivated.

[0906] Optionally, the fourteenth message is further used to indicate that the second device has been activated;

[0907] or,

[0908] The IoT device credential information processing apparatus 1500 further includes:

[0909] The third receiving module is configured to receive a seventeenth message from the first function, where the seventeenth message is used to indicate that the second device has been activated.

[0910] Optionally, the first function includes an access mobility management function AMF, and the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.

[0911] Optionally, the second function includes the IoT NF, and the IoT device credential information processing device 1500 further includes:

[0912] A processing module is used to process the relevant information of the second device.

[0913] Optionally, the processing module is specifically used for at least one of the following:

[0914] Deleting the contract information corresponding to the first credential information of the second device;

[0915] Marking the contract information corresponding to the first credential information of the second device as unused;

[0916] Marking the contract information corresponding to the first credential information of the second device as deactivated;

[0917] Deleting the correspondence between the service identifier of the second device and the first credential information of the second device;

[0918] Marking the first credential information of the second device as unused;

[0919] Marking the first credential information of the second device as deactivated;

[0920] Deleting the service identifier of the second device;

[0921] Marking the service identifier of the second device as a state without credential information;

[0922] Adding the contract information corresponding to the second credential information of the second device;

[0923] Marking the contract information corresponding to the second credential information of the second device as in use;

[0924] Marking the contract information corresponding to the second credential information of the second device as activated;

[0925] Adding a correspondence between the service identifier of the second device and the second credential information of the second device;

[0926] Marking the second credential information of the second device as in use;

[0927] Marking the second credential information of the second device as activated;

[0928] storing a service identifier of the second device;

[0929] The service identification of the second device is marked as having credential information.

[0930] Optionally, the second function includes the IoT NF, and the IoT device credential information processing device 1500 further includes:

[0931] The fourth receiving module is configured to receive an eighteenth message from a third function, where the eighteenth message is used to request deactivation of the second device or activation of the second device, and the third function includes the NEF.

[0932] Optionally, the eighteenth message further includes at least one item of the following information:

[0933] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first device is a read-write device for the second device;

[0934] a second service identifier, where the second service identifier is used by the second function to identify the second device;

[0935] Information indicating the first area;

[0936] Information indicating the first service type.

[0937] Optionally, the IoT device credential information processing device 1500 further includes:

[0938] The second sending module is used to send a nineteenth message to the third function, where the nineteenth message is used to indicate that the second device has been deactivated, or to indicate that the second device has been activated.

[0939] Optionally, the second function includes the NEF, and the device 1500 for processing IoT device credential information further includes:

[0940] The third sending module is used to send a twentieth message to the third function, where the twentieth message is used to instruct the third function to process the contract information of the second device, and the third function includes the IoT NF.

[0941] Optionally, processing the contract information of the second device includes:

[0942] Deleting the contract information of the second device;

[0943] or,

[0944] Add the contract information of the second device.

[0945] In the embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[0946] The device 1500 for processing IoT device credential information provided in the embodiment of the present application can implement the various processes implemented in the method embodiment of Figure 14 and achieve the same technical effects. To avoid repetition, they will not be described here.

[0947] The device for processing IoT device credential information in the embodiments of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or chip. The electronic device may be a terminal, or may be a device other than a terminal. For example, the terminal may include but is not limited to the types of terminal 12 listed above, and other devices may be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiments of the present application.

[0948] As shown in Figure 16, an embodiment of the present application also provides a communication device 1600, including a processor 1601 and a memory 1602, wherein the memory 1602 stores a program or instruction that can be run on the processor 1601. For example, when the communication device 1600 is a first device, the program or instruction is executed by the processor 1601 to implement the various steps of the method embodiment of Figure 8 and can achieve the same technical effect. When the communication device 1600 is a second device, the program or instruction is executed by the processor 1601 to implement the various steps of the method embodiment of Figure 10a or Figure 10b above and can achieve the same technical effect. When the communication device 1600 is a first function, the program or instruction is executed by the processor 1601 to implement the various steps of the method embodiment of Figure 12 above and can achieve the same technical effect. When the communication device 1600 is a second function, the program or instruction is executed by the processor 1601 to implement the various steps of the method embodiment of Figure 14 above and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0949] The present application also provides a first device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps in the method embodiment shown in FIG8 . This first device embodiment corresponds to the first device-side method embodiment described above, and each implementation process and implementation method of the first device-side method embodiment described above are applicable to this first device embodiment and can achieve the same technical effects.

[0950] The present application also provides a second device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps in the method embodiment shown in Figure 10a or Figure 10b. This second device embodiment corresponds to the aforementioned second device-side method embodiment, and each implementation process and implementation method of the aforementioned second device-side method embodiment are applicable to this second device embodiment and can achieve the same technical effects.

[0951] The embodiment of the present application further provides a first function, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps in the method embodiment shown in Figure 12. This first function embodiment corresponds to the first function side method embodiment described above, and each implementation process and implementation method of the first function side method embodiment described above are applicable to this first function embodiment and can achieve the same technical effects.

[0952] The embodiment of the present application also provides a second function, including a processor and a communication interface, the communication interface and the processor being coupled, and the processor being configured to execute a program or instruction to implement the steps in the method embodiment shown in Figure 14. This second function embodiment corresponds to the above-mentioned second function side method embodiment, and each implementation process and implementation method of the above-mentioned second function side method embodiment can be applied to this second function embodiment and can achieve the same technical effects.

[0953] The present application also provides a terminal including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps of the method embodiment shown in FIG8 . This terminal embodiment corresponds to the first device-side method embodiment described above. Each implementation process and implementation method of the above method embodiment are applicable to this terminal embodiment and can achieve the same technical effects.

[0954] Specifically, Figure 17 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of the present application.

[0955] The terminal 1700 includes but is not limited to: a radio frequency unit 1701, a network module 1702, an audio output unit 1703, an input unit 1704, a sensor 1705, a display unit 1706, a user input unit 1707, an interface unit 1708, a memory 1709 and at least some of the components of the processor 1710.

[0956] Those skilled in the art will appreciate that terminal 1700 may also include a power supply (such as a battery) to power various components. The power supply may be logically connected to processor 1710 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The terminal structure shown in FIG17 does not limit the terminal. The terminal may include more or fewer components than shown, or may combine certain components or arrange the components differently, which will not be described in detail here.

[0957] It should be understood that in an embodiment of the present application, the input unit 1704 may include a graphics processing unit (GPU) 17041 and a microphone 17042, and the graphics processor 17041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1706 may include a display panel 17061, and the display panel 17061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1707 includes a touch panel 17071 and at least one of other input devices 17072. The touch panel 17071 is also called a touch screen. The touch panel 17071 may include two parts: a touch detection device and a touch controller. Other input devices 17072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0958] In the embodiment of the present application, after receiving downlink data from the access network device, the radio frequency unit 1701 may transmit the data to the processor 1710 for processing. Furthermore, the radio frequency unit 1701 may send uplink data to the access network device. Typically, the radio frequency unit 1701 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.

[0959] Memory 1709 can be used to store software programs or instructions and various data. Memory 1709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, memory 1709 may include volatile memory or non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0960] Processor 1710 may include one or more processing units. Optionally, processor 1710 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1710.

[0961] The radio frequency unit 1701 is used for:

[0962] receiving a first message from a first function, the first message being used at least to request credential information processing for a second device, where the second device includes an Internet of Things (IoT) device, the first device is a reader / writer device for the second device, and the credential information is credential information of the second device in a communication network;

[0963] A second message is sent to the second device, where the second message is at least used to request processing of the credential information.

[0964] Optionally, the first message includes at least one of the following information:

[0965] a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first message is used at least to request processing of the credential information of the second device identified by the first service identifier;

[0966] Information indicating a first area, the first message being used at least to request processing of the credential information on the second device in the first area;

[0967] Information indicating a first service type, the first message being used at least to request processing of the credential information on the second device of the first service type;

[0968] Information used to indicate a reason for processing the credential information on the second device.

[0969] Optionally, the radio frequency unit 1701 is further configured to:

[0970] A third message is received from the second device, where the third message includes the first service identifier of the second device.

[0971] Optionally, the radio frequency unit 1701 is further configured to:

[0972] receiving a fourth message from the second device, the fourth message being used to at least indicate confirmation of processing of the credential information by the second device;

[0973] A fifth message is sent to the first function, where the fifth message is at least used to indicate confirmation of processing of the credential information by the second device.

[0974] Optionally, the fifth message further includes at least one of the following information:

[0975] a first service identifier of the second device;

[0976] Information used to indicate the area where the second device is located;

[0977] Information used to indicate the service type of the second device.

[0978] Optionally, processing the credential information on the second device includes at least one of the following:

[0979] Deleting the first credential information of the second device;

[0980] releasing the first credential information of the second device;

[0981] Deregister the first credential information of the second device.

[0982] Optionally, the first message is further used to request deactivation of the second device;

[0983] or,

[0984] The radio frequency unit 1701 is further configured to:

[0985] A sixth message is received from the first function, where the sixth message is used to request deactivation of the second device.

[0986] Optionally, the sixth message includes at least one of the following information:

[0987] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;

[0988] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;

[0989] The sixth message is used to indicate information of a first service type, and is used to request deactivation of the second device whose service type includes the first service type.

[0990] Optionally, the second message is further used to request deactivation of the second device;

[0991] or,

[0992] The radio frequency unit 1701 is further configured to:

[0993] A seventh message is sent to the second device, where the seventh message is used to request deactivation of the second device.

[0994] Optionally, the first device receives a fourth message from the second device, where the fourth message is further used to indicate confirmation of the deactivation by the second device;

[0995] or,

[0996] The radio frequency unit 1701 is further configured to:

[0997] An eighth message is received from the second device, where the eighth message is used to indicate confirmation of the deactivation by the second device.

[0998] Optionally, when the first device sends a fifth message to the first function, the fifth message is further used to indicate that the second device has been deactivated;

[0999] or,

[1000] The radio frequency unit 1701 is further configured to:

[1001] A ninth message is sent to the first function, where the ninth message is used to indicate that the second device has been deactivated.

[1002] Optionally, processing the credential information on the second device includes at least one of the following:

[1003] Adding the second credential information of the second device;

[1004] Push second credential information to the second device.

[1005] Optionally, the first message is further used to request activation of the second device, and the first message includes the second credential information for the second device;

[1006] or,

[1007] The radio frequency unit 1701 is further configured to:

[1008] A tenth message is received from the first function, where the tenth message is used to request activation of the second device, and the first message or the tenth message includes the second credential information for the second device.

[1009] Optionally, the tenth message includes at least one of the following information:

[1010] a first service identifier, the tenth message being used to request activation of the second device identified by the first service identifier;

[1011] information indicating a first area, the tenth message being used to request activation of the second device in the first area;

[1012] The tenth message is used to indicate information of a first service type, and is used to request activation of the second device whose service type includes the first service type.

[1013] Optionally, the second message is further used to request activation of the second device, and the second message includes second credential information for the second device;

[1014] or,

[1015] The radio frequency unit 1701 is further configured to:

[1016] An eleventh message is sent to the second device, where the eleventh message is used to request activation of the second device, and the second message or the eleventh message includes the second credential information for the second device.

[1017] Optionally, the first function includes an access mobility management function AMF.

[1018] In the embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[1019] The present application also provides an IoT device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps of the method embodiment shown in FIG10a or FIG10b. This IoT device embodiment corresponds to the second device-side method embodiment described above. Each implementation process and implementation method of the above method embodiment can be applied to this IoT device embodiment and can achieve the same technical effect.

[1020] Specifically, the present application also provides an IoT device. As shown in FIG18 , the IoT device 1800 includes: a radio frequency unit 1801 (optional), a sensor unit 1802 (optional), a storage unit 1803 , an interface unit 1804 , and a processor 1805 .

[1021] The radio frequency unit 1801 is used for:

[1022] receiving a second message from the first device, the second message being used to at least request the second device to perform a first process on the credential information;

[1023] The processor 1805 is used to:

[1024] A first processing of the credential information is performed.

[1025] or,

[1026] The radio frequency unit 1801 is used for:

[1027] receiving a twelfth message from the first device, where the twelfth message is used to request deactivation of the second device or request activation of the second device;

[1028] The processor 1805 is used to:

[1029] Perform second processing of the credential information.

[1030] The second device includes an Internet of Things (IoT) device, and the first device is a read-write device of the second device.

[1031] Optionally, the processor 1805 is specifically configured to perform at least one of the following:

[1032] Deleting the first credential information;

[1033] releasing the first credential information;

[1034] Deregistering the first credential information;

[1035] Added second credential information.

[1036] Optionally, the twelfth message is used to request deactivation of the second device, and the processor 1805 is specifically configured to perform at least one of the following:

[1037] Deleting the first credential information;

[1038] releasing the first credential information;

[1039] Deregister the first credential information.

[1040] Optionally, the twelfth message is used to request activation of the second device, and the twelfth message includes second credential information for the second device. The processor 1805 is specifically configured to:

[1041] The second credential information is stored.

[1042] Optionally, the radio frequency unit 1801 is further configured to:

[1043] A fourth message is sent to the first device, where the fourth message is at least used to indicate confirmation of the second device's processing of the credential information.

[1044] Optionally, the second message is further used to request deactivation of the second device;

[1045] or,

[1046] The radio frequency unit 1801 is further configured to:

[1047] A seventh message is received from the first device, where the seventh message is used to request deactivation of the second device.

[1048] Optionally, the fourth message is further used to indicate confirmation of the deactivation by the second device;

[1049] or,

[1050] The radio frequency unit 1801 is further configured to:

[1051] An eighth message is sent to the first device, where the eighth message is used to indicate confirmation of the deactivation by the second device.

[1052] Optionally, the second message is further used to request activation of the second device, and the second message includes second credential information for the second device;

[1053] or,

[1054] The radio frequency unit 1801 is further configured to:

[1055] An eleventh message is received from the first device, where the eleventh message is used to request activation of the second device, and the second message or the eleventh message includes the second credential information for the second device.

[1056] Optionally, the first device includes a terminal or an access network device.

[1057] In the embodiment of the present application, it is possible to process the credential information of an IoT device. In this way, when there is a need to process the credential information of an IoT device, for example, when the status or usage scenario of the IoT device changes, the credential information of the IoT device can be processed in a timely manner. Since the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to connect to the communication network as soon as possible, saving signaling processes.

[1058] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the embodiment of the method for processing IoT device credential information, and achieve the same or corresponding technical effects. To avoid repetition, it will not be repeated here.

[1059] The present application also provides an access network device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps of the method embodiment shown in FIG8 . This access network device embodiment corresponds to the first device-side method embodiment described above. Each implementation process and implementation method of the above method embodiment are applicable to this access network device embodiment and can achieve the same technical effects.

[1060] Specifically, embodiments of the present application also provide an access network device. As shown in Figure 19, access network device 1900 includes an antenna 191, a radio frequency device 192, a baseband device 193, a processor 194, and a memory 195. Antenna 191 is connected to radio frequency device 192. In the uplink direction, radio frequency device 192 receives information via antenna 191 and sends the received information to baseband device 193 for processing. In the downlink direction, baseband device 193 processes the information to be transmitted and sends it to radio frequency device 192. Radio frequency device 192 processes the received information and then sends it through antenna 191.

[1061] The method executed by the access network device in the above embodiment may be implemented in the baseband device 193 , which includes a baseband processor.

[1062] The baseband device 193 may include, for example, at least one baseband board, on which multiple chips are arranged, as shown in Figure 19, one of the chips is, for example, a baseband processor, which is connected to the memory 195 through a bus interface to call the program in the memory 195 and execute the network device operations shown in the above method embodiment.

[1063] The access network device may further include a network interface 196, which is, for example, a Common Public Radio Interface (CPRI).

[1064] Specifically, the access network device 1900 of an embodiment of the present application also includes: instructions or programs stored in the memory 195 and executable on the processor 194. The processor 194 calls the instructions or programs in the memory 195 to execute the methods of execution of each module shown in FIG9 and achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[1065] The embodiment of the present application further provides a core network device. As shown in FIG20 , the core network device 2000 includes: a processor 2001, a network interface 2002, and a memory 2003. The network interface 2002 is, for example, a common public radio interface (CPRI).

[1066] Specifically, the core network device 2000 of the embodiment of the present application also includes: instructions or programs stored in the memory 2003 and executable on the processor 2001. The processor 2001 calls the instructions or programs in the memory 2003 to execute the methods executed by the modules shown in FIG13 or FIG15 and achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[1067] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the method for processing the credential information of the Internet of Things device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[1068] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. In some examples, the readable storage medium may be a non-transitory readable storage medium.

[1069] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned embodiment of the method for processing credential information of IoT devices, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[1070] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[1071] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-mentioned embodiment of the method for processing IoT device credential information, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[1072] An embodiment of the present application also provides a communication system, including: a first device, a second device, a first function, and a second function. The first device can be used to execute the steps of the method for processing the credential information of an Internet of Things device on the first device side as described above, and the second device can be used to execute the steps of the method for processing the credential information of an Internet of Things device on the second device side as described above. The first function can be used to execute the steps of the method for processing the credential information of an Internet of Things device on the first function side as described above, and the second function can be used to execute the steps of the method for processing the credential information of an Internet of Things device on the second function side as described above.

[1073] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[1074] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, or of course, by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes a number of instructions for enabling a terminal or an IoT device or an access network device or a core network device to execute the methods described in each embodiment of the present application.

[1075] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of this application and the scope of protection of the claims. These implementation methods are all within the protection of this application.

Claims

1. A method for processing credential information of an IoT device, comprising: The first device receives a first message from a first function, where the first message is at least used to request that credential information of a second device be processed, where the second device includes an IoT device, the first device is a reading and writing device of the second device, and the credential information is credential information of the second device in a communication network; The first device sends a second message to the second device, where the second message is at least used to request processing of the credential information.

2. The method according to claim 1, wherein: The method further comprises: The first device receives a fourth message from the second device, the fourth message being used to at least indicate confirmation of the second device's processing of the credential information; or, The first device sends a fifth message to the first function, where the fifth message is at least used to indicate confirmation of processing of the credential information by the second device.

3. The method according to claim 1 or 2, wherein: Processing the credential information on the second device includes at least one of the following: Deleting the first credential information of the second device; releasing the first credential information of the second device; Deregistering the first credential information of the second device; Adding the second credential information of the second device; Push second credential information to the second device.

4. The method according to any one of claims 1 to 3, wherein: The first device includes a terminal or an access network device, and the first function includes an access mobility management function AMF.

5. A method for processing credential information of an IoT device, comprising: The second device receives a second message from the first device, where the second message is at least used to request the second device to perform a first process on the credential information; The second device performs a first process on the credential information; or, The second device receives a twelfth message from the first device, where the twelfth message is used to request to deactivate the second device or to request to activate the second device; The second device performs a second process on the credential information; The second device includes an Internet of Things (IoT) device, and the first device is a reading and writing device of the second device.

6. The method according to claim 5, wherein: The second device performs a first process on the credential information, including at least one of the following: The second device deletes the first credential information; The second device releases the first credential information; The second device performs deregistration processing on the first credential information; The second device stores second credential information.

7. The method according to claim 5, wherein: The twelfth message is used to request deactivation of the second device, and the second device performs a second process on the credential information, including at least one of the following: The second device deletes the first credential information; The second device releases the first credential information; The second device deregisters the first credential information.

8. The method according to claim 5, wherein: The twelfth message is used to request activation of the second device, the twelfth message includes second credential information for the second device, and the second device performs second processing on the credential information, including: The second device stores the second credential information.

9. The method according to any one of claims 5 to 8, wherein: The method further comprises: The second device sends a fourth message to the first device, where the fourth message is at least used to indicate confirmation of the second device's processing of the credential information.

10. A method for processing credential information of an IoT device, comprising: The first function receives a thirteenth message from the second function; The first function sends a first message to the first device based on the thirteenth message, and the first message is at least used to request processing of credential information of the second device. The second device includes an Internet of Things (IoT) device, the first device is a reading and writing device of the second device, and the credential information is the credential information of the second device in the communication network.

11. The method according to claim 10, wherein: The thirteenth message is used to request deactivation of the second device; wherein the processing of the credential information on the second device includes at least one of the following: Deleting the first credential information of the second device; releasing the first credential information of the second device; Deregister the first credential information of the second device.

12. The method according to claim 11, wherein: After the first function receives the thirteenth message, the method further includes: The context information of the second device is deleted.

13. The method according to claim 10, wherein: The thirteenth message is used to request activation of the second device; wherein the processing of the credential information on the second device includes at least one of the following: Adding the second credential information of the second device; Push second credential information to the second device.

14. The method according to claim 10, wherein: The thirteenth message is at least used to request the second device to process the credential information.

15. The method according to claim 14, wherein: The thirteenth message is also used to request deactivation of the second device; wherein the processing of the credential information on the second device includes at least one of the following: Deleting the first credential information of the second device; releasing the first credential information of the second device; Deregister the first credential information of the second device.

16. The method according to claim 14, wherein: The thirteenth message is also used to request activation of the second device, and the thirteenth message includes second credential information for the second device; wherein processing the credential information on the second device includes at least one of the following: Add the second credential information of the second device; Push the second credential information to the second device.

17. The method according to any one of claims 10 to 16, wherein: The first message includes at least one of the following information: a first service identifier, where the first service identifier is used by the first device to identify the second device, and the first message is used to request that the credential information of the second device identified by the first service identifier be processed; information indicating a first area, the first message being used to request processing of the credential information on the second device in the first area; information indicating a first service type, the first message being used to request the second device of the first service type to process the credential information; Information used to indicate a reason for processing the credential information on the second device.

18. The method according to any one of claims 10 to 17, wherein: The thirteenth message includes at least one of the following information: a first service identifier, where the first service identifier is used by the first device to identify the second device; a second service identifier, where the second service identifier is used by the second function to identify the second device; Information for indicating a first area; Information indicating a first service type; Information used to indicate a reason for processing the credential information on the second device.

19. The method according to any one of claims 10 to 18, wherein: Before the first function sends the first message to the first device, the method further includes: The first function determines the first device based on the thirteenth message.

20. The method according to any one of claims 10 to 19, wherein: After the first function sends the first message to the first device, the method further includes: The first function receives a fifth message from the first device, the fifth message including at least a confirmation of processing of the credential information by the second device.

21. The method according to claim 20, wherein: After the first function receives a fifth message from the first device, the method further includes: The first function sends a fourteenth message to the second function, the fourteenth message including at least a confirmation of the processing of the credential information by the second device.

22. The method according to claim 20 or 21, wherein: After the first function receives a fifth message from the first device, the method further includes: The first function deletes context information of the second device.

23. The method according to claim 12 or 22, wherein: The context information of the second device includes at least one of the following information: status information of the second device; Credential information of the second device in the communication network; a first service identifier of the second device; a second service identifier of the second device; The contract information of the second device; Information of the read-write device corresponding to the second device.

24. The method of claim 11, 12 or 15, wherein: The first message is also used to request deactivation of the second device; or, The method further comprises: The first function sends a sixth message to the first device, where the sixth message is used to request to deactivate the second device.

25. The method according to claim 13 or 16, wherein: The first message is also used to request activation of the second device, the first message including the second credential information for the second device; or, The method further comprises: The first device receives a tenth message from the first function, the tenth message being used to request activation of the second device, the first message or the tenth message comprising the second credential information for the second device.

26. The method according to any one of claims 10 to 25, wherein: The first device includes a terminal or an access network device, the first function includes an access mobility management function AMF, and the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.

27. The method according to claim 26, wherein: The second function includes the NEF, and the method further includes: The first function sends a sixteenth message to the third function, where the sixteenth message is used to instruct the third function to process the signing information of the second device, and the third function includes the IoT NF.

28. The method according to claim 27, wherein: Processing the contract information of the second device includes: Deleting the contract information of the second device; or, Add the contract information of the second device.

29. A method for processing credential information of an IoT device, comprising: The second function sends a thirteenth message to the first function; The second function receives a fourteenth message from the first function, where the fourteenth message is used to indicate that the second device has processed the credential information, where the second device includes an Internet of Things (IoT) device, and the credential information is the credential information of the second device in the communication network.

30. The method of claim 29, wherein: The thirteenth message is used to request deactivation of the second device; wherein the processing of the credential information performed by the second device includes at least one of the following: The second device has deleted the first credential information; The second device has released the first credential information; The second device has deregistered the first credential information.

31. The method of claim 29, wherein: The thirteenth message is used to request activation of the second device; wherein the processing of the credential information performed by the second device includes: The second device has processed the newly added second credential information.

32. The method of claim 29, wherein: The thirteenth message is at least used to request the second device to process the credential information.

33. The method of claim 32, wherein: The thirteenth message is also used to request deactivation of the second device; wherein the processing of the credential information performed by the second device includes at least one of the following: The second device has deleted the first credential information; The second device has released the first credential information; The second device has deregistered the first credential information.

34. The method of claim 32, wherein: The thirteenth message is also used to request activation of the second device, and the thirteenth message includes second credential information for the second device; wherein the processing of the credential information performed by the second device includes: The second device has processed the newly added second credential information.

35. The method according to any one of claims 29 to 34, wherein: The thirteenth message includes at least one of the following information: A first service identifier, where the first service identifier is used by the first device to identify the second device, and the first device is a read-write device for the second device; a second service identifier, where the second service identifier is used by the second function to identify the second device; Information for indicating a first area; Information indicating a first service type; Information used to indicate a reason for processing the credential information on the second device.

36. A method according to any one of claims 29 to 35, wherein: The first function includes an access mobility management function AMF, and the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.

37. The method of claim 36, wherein: The second function includes the IoT NF, and the method further includes: The second function processes relevant information of the second device.

38. The method of claim 37, wherein: The second function processes the relevant information of the second device, including at least one of the following: The second function deletes the contract information corresponding to the first credential information of the second device; The second function marks the contract information corresponding to the first credential information of the second device as unused; The second function marks the contract information corresponding to the first credential information of the second device as a deactivated state; The second function deletes the correspondence between the service identifier of the second device and the first credential information of the second device; The second function marks the first credential information of the second device as unused; The second function marks the first credential information of the second device as a deactivated state; The second function deletes the service identification of the second device; The second function marks the service identification of the second device as a state without credential information; The second function adds contract information corresponding to the second credential information of the second device; The second function marks the contract information corresponding to the second credential information of the second device as being in use; The second function marks the contract information corresponding to the second credential information of the second device as an activated state; The second function adds a correspondence between the service identifier of the second device and the second credential information of the second device; The second function marks the second credential information of the second device as being in use; The second function marks the second credential information of the second device as activated; The second function stores a service identifier of the second device; The second function marks the service identification of the second device as having credential information.

39. The method of claim 36, wherein: The second function includes the IoT NF, and before the second function sends the thirteenth message to the first function, the method further includes: The second function receives an eighteenth message from a third function, where the eighteenth message is used to request deactivation of the second device, or to request activation of the second device, and the third function includes the NEF.

40. The method of claim 36, wherein: The second function includes the NEF, and the method further includes: The second function sends a twentieth message to the third function, where the twentieth message is used to instruct the third function to process the subscription information of the second device, and the third function includes the IoT NF.

41. The method of claim 40, wherein: Processing the contract information of the second device includes: Deleting the contract information of the second device; Or, add new contract information to the second device.

42. A device for processing credential information of an Internet of Things device, applied to a first device, the device comprising: a first receiving module, configured to receive a first message from a first function, wherein the first message is at least used to request that credential information of a second device be processed, wherein the second device includes an IoT device, and the first device is the second A reading and writing device of a device, wherein the credential information is the credential information of the second device in the communication network; The first sending module is used to send a second message to the second device, where the second message is at least used to request processing of the credential information.

43. A device for processing credential information of an Internet of Things device, applied to a second device, the device comprising a first receiving module and a processing module, wherein: The first receiving module is used to: receive a second message from the first device, where the second message is at least used to request the second device to perform a first process on the credential information; The processing module is used to: perform a first process on the credential information; or, The first receiving module is used to: receive a twelfth message from the first device, where the twelfth message is used to request to deactivate the second device, or to request to activate the second device; The processing module is used to: perform second processing of the credential information; The second device includes an Internet of Things (IoT) device, and the first device is a reading and writing device of the second device.

44. A device for processing credential information of an Internet of Things device, applied to a first function, the device comprising: A first receiving module, configured to receive a thirteenth message from the second function; The first sending module is used to send a first message to a first device, where the first message is at least used to request processing of credential information of a second device, where the second device includes an Internet of Things (IoT) device, the first device is a reading and writing device of the second device, and the credential information is credential information of the second device in a communication network.

45. A device for processing credential information of an Internet of Things device, applied to a second function, the device comprising: A first sending module, configured to send a thirteenth message to the first function; The first receiving module is used to receive a fourteenth message from the first function, where the fourteenth message is used to indicate that the second device has processed the credential information, where the second device includes an Internet of Things (IoT) device, and the credential information is the credential information of the second device in the communication network.

46. ​​A communication device, comprising a processor and a memory, the memory storing a program or instruction that can be run on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method for processing the credential information of an Internet of Things device as described in any one of claims 1 to 4, or implements the steps of the method for processing the credential information of an Internet of Things device as described in any one of claims 5 to 9, or implements the steps of the method for processing the credential information of an Internet of Things device as described in any one of claims 10 to 28, or implements the steps of the method for processing the credential information of an Internet of Things device as described in any one of claims 29 to 41.

47. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the method for processing the credential information of an Internet of Things device as described in any one of claims 1 to 4, or implements the steps of the method for processing the credential information of an Internet of Things device as described in any one of claims 5 to 9, or implements the steps of the method for processing the credential information of an Internet of Things device as described in any one of claims 10 to 28, or implements the steps of the method for processing the credential information of an Internet of Things device as described in any one of claims 29 to 41.

Citation Information

Patent Citations

  • Credential distribution method, user terminal, user subscription authentication management unit and medium

    CN109150807A

  • Dynamic allocation of network slice-specific credentials

    CN114097261A

  • Device logout method, device registration method, communication device and cloud platform

    CN115699678A

  • One-time wireless authentication of an internet-of-things device

    US20220141658A1

  • Credential transmission method and apparatus, communication device, and storage medium

    WO2023000139A1

Cited By

  • Communication device and communication method

    WO2026033782A1

  • Network node and communication method

    WO2026033783A1

  • Network node, base station, and communication method

    WO2026033784A1

  • Communication method and apparatus

    WO2026098140A1

  • Communication method, apparatus, communication device, and readable storage medium

    WO2026098385A1