Method and device for processing voucher information of Internet of Things equipment and related equipment
By enabling message interaction and functional coordination between IoT devices, the shortcomings in the processing of credential information by IoT devices are resolved, enabling timely processing of credential information and effective utilization of resources, and ensuring the normal operation of devices in the communication network.
Patent Information
- Application Number
- CN202310477939.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-10-29
AI Technical Summary
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.
The credential information is processed through message interaction between the first and second devices, including operations such as deactivation, activation, addition, and release. The first and second functions are used to coordinate the credential information management of IoT devices.
It enables timely processing of IoT device credential information, avoids resource waste, and ensures the effective use and rapid communication of devices in the communication network.
Smart Images

Figure CN118869722A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a method, device and related equipment for processing credential information of an Internet of Things device. Background Art
[0002] 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 communication networks to obtain services, they may need to obtain credentials or sign contracts for 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 not 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. Summary of the invention
[0003] The embodiments of the present application provide a method, apparatus and related equipment for processing credential information of an Internet of Things device, which can solve the problem that related technologies cannot process credential information of an Internet of Things device.
[0004] In a first aspect, a method for processing credential information of an IoT device is provided, the method comprising:
[0005] 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;
[0006] 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.
[0007] In a second aspect, a method for processing credential information of an IoT device is provided, the method comprising:
[0008] 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;
[0009] The second device performs a first process on the credential information;
[0010] or,
[0011] 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;
[0012] The second device performs a second process on the credential information;
[0013] The second device includes an Internet of Things (IoT) device, and the first device is a reading and writing device of the second device.
[0014] In a third aspect, a method for processing IoT device credential information is provided, the method comprising:
[0015] The first function receives a thirteenth message from the second function;
[0016] The first function sends a first message to a first device, and the first message is at least used to request processing of credential information of a 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 credential information of the second device in a communication network.
[0017] In a fourth aspect, a method for processing credential information of an IoT device is provided, the method comprising:
[0018] The second function sends a thirteenth message to the first function;
[0019] 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.
[0020] 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:
[0021] 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, 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;
[0022] 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.
[0023] In a sixth aspect, a device for processing credential information of an IoT device is provided, which is applied to a second device, and the device includes a first receiving module and a processing module, wherein:
[0024] 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;
[0025] The processing module is used to: perform a first process on the credential information;
[0026] or,
[0027] 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;
[0028] The processing module is used to: perform second processing of the credential information;
[0029] The second device includes an Internet of Things (IoT) device, and the first device is a reading and writing device of the second device.
[0030] In a seventh aspect, a device for processing credential information of an IoT device is provided, which is applied to the first function, and the device includes:
[0031] A first receiving module, configured to receive a thirteenth message from the second function;
[0032] 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.
[0033] In an eighth aspect, a device for processing credential information of an IoT device is provided, which is applied to the second function, and the device includes:
[0034] A first sending module, used for sending a thirteenth message to the first function;
[0035] 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.
[0036] In a ninth aspect, a terminal is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.
[0037] In a tenth aspect, a terminal is provided, comprising a processor and a communication interface. The communication interface is used to: receive a first message from a first function, the first message is at least used to request the processing of credential information of a second device, the second device comprises an IoT device, the first device is a read-write device of the second device, and the credential information is the credential information of the second device in a communication network; send a second message to the second device, the second message is at least used to request the processing of the credential information.
[0038] 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.
[0039] In a twelfth aspect, an Internet of Things device is provided, including a processor and a communication interface. The communication interface is used to: receive a second message from a first device, the second message is at least used to request the second device to perform a first process on credential information; the processor is used to: perform the first process on the credential information;
[0040] or,
[0041] The communication interface is used to: receive a twelfth message from the first device, the twelfth message is used to request to deactivate the second device, or request to activate 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 of the second device.
[0042] In a 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.
[0043] In a fourteenth aspect, an access network device is provided, comprising a processor and a communication interface. The communication interface is used to: receive a first message from a first function, the first message is at least used to request the processing of credential information of a second device, the second device comprises an IoT device, the first device is a read-write device of the second device, and the credential information is the credential information of the second device in the communication network; send a second message to the second device, the second message is at least used to request the processing of the credential information.
[0044] 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 programs or instructions are executed by the processor, the steps of the method described in the third aspect or the fourth aspect are implemented.
[0045] In the sixteenth aspect, a core network device is provided, including a processor and a communication interface.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] In the eighteenth aspect, 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 the first aspect, the second device can be used to execute the steps of the method described in the second aspect, the first function can be used to execute the steps of the method described in the third aspect, and the second function can be used to execute the steps of the method described in the fourth aspect.
[0050] 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 a program 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.
[0051] 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.
[0052] In an embodiment of the present application, a first device receives a first message from a first function, the first message is at least used to request the second device to process the credential information, the second device includes an IoT device, the first device is a read-write device of the second device, and the credential information is the credential information of the second device in the communication network; the first device sends a second message to the second device, the second message is at least used to request the second device to process the credential information. Through the above process, the credential information of the IoT device can be processed. In this way, when there is a need to process the credential information of the IoT device, for example, when the state 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, so that the IoT device can be connected to the communication network as soon as possible, saving the signaling process. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 is a block diagram of a wireless communication system provided by an embodiment of the present application;
[0054] Figure 2 It is a flow chart of a method for processing IoT device credential information provided by an embodiment of the present application;
[0055] Figure 3 It is a flow chart of an embodiment provided by the embodiment of the present application;
[0056] Figure 4 is a flow chart of another embodiment provided by the embodiments of the present application;
[0057] Figure 5 is a flow chart of another embodiment provided by the embodiments of the present application;
[0058] Figure 6 is a flow chart of another embodiment provided by the embodiments of the present application;
[0059] Figure 7is a flow chart of another embodiment provided by the embodiments of the present application;
[0060] Figure 8 It is a flow chart of a method for processing IoT device credential information provided by an embodiment of the present application;
[0061] Fig. 9 It is a structural diagram of a device for processing credential information of an Internet of Things device provided in an embodiment of the present application;
[0062] Fig.10a It is a flow chart of a method for processing IoT device credential information provided by an embodiment of the present application;
[0063] Fig.10b It is a flow chart of a method for processing IoT device credential information provided by an embodiment of the present application;
[0064] Fig.11 It is a structural diagram of a device for processing credential information of an Internet of Things device provided in an embodiment of the present application;
[0065] Fig.12 It is a flow chart of a method for processing IoT device credential information provided by an embodiment of the present application;
[0066] Fig.13 It is a structural diagram of a device for processing credential information of an Internet of Things device provided in an embodiment of the present application;
[0067] Fig.14 It is a flow chart of a method for processing IoT device credential information provided by an embodiment of the present application;
[0068] Fig.15 It is a structural diagram of a device for processing credential information of an Internet of Things device provided in an embodiment of the present application;
[0069] Fig.16 is a structural diagram of a communication device provided in an embodiment of the present application;
[0070] Fig.17 is a schematic diagram of the hardware structure of a terminal provided in an embodiment of the present application;
[0071] Fig.18 This is a schematic diagram of the hardware structure of an Internet of Things device provided in an embodiment of the present application;
[0072] Fig.19 It is a schematic diagram of the hardware structure of an access network device provided in an embodiment of the present application;
[0073] Fig. 20 It is a schematic diagram of the hardware structure of another core network device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0075] The terms "first", "second", etc. of the present 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 one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0076] The term "indication" in this application can be 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, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.
[0077] 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 described technology 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 descriptions, but these technologies can also be applied to systems other than NR systems, such as the 6th generation (6 th Generation, 6G) communication system.
[0078] Figure 1 A block diagram of a wireless communication system applicable to the embodiment of the present application is shown. 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.
[0079] Among them, the Internet of Things device 11 can be, for example, a device with detection, sensing and other functions.
[0080] The terminal 12 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle user equipment (VUE), a shipborne equipment, a pedestrian terminal (Pedestrian User Equipment, PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and other terminal side devices. 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. Among them, the vehicle-mounted device can also be called 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.
[0081] 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, etc. Among them, the base station may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B (home evolved Node B), a 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 embodiments 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.
[0082] 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 (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home user server (Home Subscriber Server, HSS), centralized network configuration (CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiment 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.
[0083] 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 IoT device credential information in this application include but are not limited to the first device, the second device, the first function and the second function. The second device can be, for example, Figure 1 In the IoT device 11, the second device may be an Ambient Internet of Things (AIoT) device in the IoT device; the first device represents a read / write device (or reader / writer) of the second device, and the first device may be, for example, Figure 1The terminal 12 (also referred to as user equipment (UE)) or access network device 13 in the embodiment; the first function may be Figure 1 The core network device 14 in the second function may also be Figure 1 The core network equipment 14 in.
[0084] To facilitate understanding, the following is a brief introduction to IoT devices and AIoT devices respectively.
[0085] IoT devices generally refer to terminal devices used in certain specific scenarios or specific services. For example, IoT devices can be applied to 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 (such as IoT Apps) to be executed.
[0086] AIoT devices refer to IoT devices that can obtain energy from the environment, where the environmental energy sources may include solar energy, wireless signals, vibrations, etc. AIoT devices can also be triggered by the network to communicate. For example, the network sends an excitation signal to the AIoT device, which is used to trigger the AIoT device to communicate.
[0087] 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 application server of the flower shop 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.
[0088] When IoT devices such as AIoT devices access a communication network to obtain services, they may need to obtain network credentials and sign a contract. In the above example, when a flower pot is sold in a flower shop, the AIoT device placed on the flower pot no longer needs to detect the environmental parameters of the flower pot and send them to the flower shop App. At this time, there may be two scenarios:
[0089] Scenario 1: The AIoT device will no longer be used. At this point, the AIoT device can be permanently deactivated (a device is deactivated, which 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 cause a waste of information resources, specifically, a waste of credential information resources.
[0090] Scenario 2: The AIoT device may still be activated later, for example, the AIoT device will be recycled. At this time, 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 operators and enterprises 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 contact the communication network in a timely manner.
[0091] In summary, 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 an IoT device, which makes it impossible to process the credential information of an IoT device. In view of this, an embodiment of the present application provides a method for processing the credential information of an IoT device to solve the problem that the related art cannot process the credential information of an IoT device.
[0092] In the following, in conjunction with the accompanying drawings, the method, apparatus and related equipment for processing the credential information of the Internet of Things device provided by the embodiments of the present application are described in detail through some embodiments and their application scenarios.
[0093] Figure 2 A flowchart of a method for processing IoT device credential information provided by an embodiment of the present application is shown. Figure 2 As shown, the method for processing IoT device credential information includes the following steps:
[0094] Step 201: The second function sends a thirteenth message to the first function;
[0095] Step 202: The first function receives the thirteenth message from the second function;
[0096] Step 203: The first function sends a first message to the first device, where the first message is at least used to request the second device to process the credential information, 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;
[0097] Step 204: The first device receives a first message from the first function;
[0098] 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;
[0099] Step 206: The second device receives a second message from the first device;
[0100] Step 207: The second device processes the credential information.
[0101] In the embodiment of the present application, through the above process, the credential information of the second device in the communication network can be processed. In this way, when the state of the second device changes, since the credential information of the second device in the communication network can be processed, the problem that the credential information of the second device in the communication network cannot be used can be solved. Since there is no unusable credential information, the waste of credential information resources can be avoided.
[0102] In an 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 an embodiment of the present application, the first device may be either a UE or a RAN. When the first device is a UE, messages 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, messages between the AMF and the RAN may be encapsulated using the Next Generation Application Protocol (NGAP).
[0103] 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.
[0104] The first function can communicate with the first device, and the first function can forward any of the above-mentioned 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.
[0105] The first device is a read-write device of the second device, and 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 of the second device can include but is not limited to the following understandings:
[0106] The first device is an access point for the second device;
[0107] The second device accesses the communication network through the first device;
[0108] The first device sends an excitation signal to the second device;
[0109] The second device communicates with the communication network using the excitation signal from the first device.
[0110] The second device can at least process the credential information when receiving any of the above requests forwarded by the second device. In addition, the second device can also perform deactivation or activation. Specific related solutions will be described below.
[0111] 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:
[0112] Case 1: the thirteenth message is used to request to deactivate the second device;
[0113] Case 2: the thirteenth message is used to request activation of the second device;
[0114] Case 3: The thirteenth message is at least used to request the second device to process the credential information.
[0115] Among them, situation 3 includes the following two situations:
[0116] Case 3-1: the thirteenth message is used to request to process the credential information of the second device, and the thirteenth message is also used to request to deactivate the second device;
[0117] Case 3-2: The thirteenth message is used to request to process the credential information of the second device, and the thirteenth message is also used to request to activate the second device.
[0118] 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 cases 1 and 3-1, the processing of 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 cases 2 and 3-2, the processing of 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. In other words, 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.
[0119] Optionally, the thirteenth message includes at least one of the following information:
[0120] a first service identifier, where the first service identifier is used by the first device to identify the second device;
[0121] a second service identifier, where the second service identifier is used by the second function (and the first function) to identify the second device;
[0122] Information for indicating a first area;
[0123] Information indicating a first service type;
[0124] Information used to indicate a reason for processing the credential information on the second device.
[0125] 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 for the first device to identify the second device, and the second service identifier is used for 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 (Electronic Product Code, EPC), etc. The second service identifier can also be called a core network service identifier, such as an International Mobile Subscriber Identity (International Mobile Subscriber Identity, IMSI), etc. If the thirteenth message contains information for 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 for 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.
[0126] Correspondingly, for the above situation 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. 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. 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. 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.
[0127] Correspondingly, for the above situation 3, if the thirteenth message contains 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 contains 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 contains 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 contains 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.
[0128] 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 second device identified by the first service identifier to process the credential information related to the deactivation. 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 second device identified by the second service identifier to process the credential information related to the deactivation. 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 second device located in the first area to process the credential information related to the deactivation. 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 second device of the first service type to process the credential information related to the deactivation.
[0129] 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 second device identified by the first service identifier to process the credential information related to the activation. 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 second device identified by the second service identifier to process the credential information related to the activation. 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 second device located in the first area to process the credential information related to the activation. 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 second device of the first service type to process the credential information related to the activation.
[0130] In the embodiment of the present application, the first message sent by the first function to the first device may include the following situations:
[0131] Case a: the first message is used to request the second device to process the credential information;
[0132] Case b: the first message is used to request deactivation of the second device and processing of credential information;
[0133] Case c: The first message is used to request activation of the second device and processing of credential information.
[0134] Optionally, the first message includes at least one of the following information:
[0135] a first service identifier, wherein the first message is at least used to request that the second device identified by the first service identifier be processed with respect to the credential information;
[0136] 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;
[0137] information indicating a first service type, the first message being used at least to request the second device of the first service type to process the credential information;
[0138] Information used to indicate a reason for processing the credential information on the second device.
[0139] The above situation b can be understood as the first function can send a request for deactivation and credential information processing at the same time through one message (ie, the first message), that is, the deactivation process and the credential information deletion (or release, deregistration) processing process are merged.
[0140] The above situation c can be understood as the first function can send activation and credential information processing requests at the same time through one message (ie, the first message), that is, the activation process and the credential information addition (or push) processing process are merged. In situation c, the first message can include the second credential information for the second device.
[0141] For case a, the first function may first request to deactivate (or activate) the second device, and then request to process the credential information of the second device. For example, after receiving a feedback (or response) message that the second device has been deactivated (or activated), the first function then requests to process the credential information of the second device.
[0142] For situation a, the first function may first request the second device to process the credential information, and then request the second device to be deactivated (or activated). For example, after receiving a feedback (or response) message that the second device has processed the credential information, the first function then requests the second device to be deactivated (or activated).
[0143] 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:
[0144] The first function sends a sixth message to the first device, where the sixth message is used to request to deactivate the second device;
[0145] The first device receives a sixth message from the first function.
[0146] Optionally, the sixth message includes at least one of the following information:
[0147] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;
[0148] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;
[0149] The sixth message is used to indicate information of a first service type, and is used to request to deactivate the second device whose service type includes the first service type.
[0150] 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:
[0151] The first function sends a tenth message to the first device, where the tenth message is used to request activation of the second device;
[0152] The first device receives a tenth message from the first function.
[0153] 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, which is not limited to the embodiment of the present application.
[0154] Optionally, the tenth message includes at least one of the following information:
[0155] a first service identifier, the tenth message being used to request activation of the second device identified by the first service identifier;
[0156] information indicating a first area, the tenth message being used to request activation of the second device in the first area;
[0157] 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.
[0158] Optionally, after step 202 and before step 203, the method for processing IoT device credential information may further include the following steps:
[0159] The first function determines the first device based on the thirteenth message.
[0160] Specifically, the first function can determine the first device according to the information contained in the thirteenth message, and the first function can also determine the first device according to 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.
[0161] In the embodiment of the present application, the second message sent by the first device to the second device may include the following situations:
[0162] Case d: the second message is used to request the second device to process the credential information;
[0163] Case e: the second message is used to request the second device to deactivate and process the credential information;
[0164] Case f: The second message is used to request the second device to activate and process the credential information.
[0165] The above situation e can be understood as the first device can send a request for deactivation and credential information processing at the same time through one message (ie, the second message), that is, the deactivation process and the credential information deletion (or release, deregistration) processing process are merged.
[0166] The above situation f can be understood as the first device can send a request for activation and credential information processing at the same time through one message (ie, the second message), that is, the activation process and the credential information addition (or push) processing process are merged. In situation f, the second message can include the second credential information for the second device.
[0167] For situation d, before the first device requests 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 then requests the second device to process the credential information.
[0168] 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:
[0169] The first device sends a seventh message to the second device, where the seventh message is used to request to deactivate the second device;
[0170] The second device receives a seventh message from the first device;
[0171] The second device performs a deactivation action and sends a deactivation confirmation message to the first device.
[0172] 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 cause of the failure.
[0173] 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:
[0174] The first device sends an eleventh message to the second device, where the eleventh message is used to request activation of the second device;
[0175] The second device receives an eleventh message from the first device;
[0176] The second device performs an activation action and sends an activation confirmation message to the first device.
[0177] 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, which is not limited to the embodiment of the present application.
[0178] In the case where the first message includes the first service identifier, it should be noted that if the first device has obtained the first service identifier of the second device before step 205 of the embodiment of the present application, then after step 204, the first device can send the second message to the second device corresponding to the first service identifier according to the first service identifier. If the first device does not obtain the first service identifier of the second device, one way is: after step 204, the first device can send the second message in a broadcast manner, and carry the first service identifier in the second message, so that the second device with the same service identifier as the first service identifier can process the credential information after receiving the second message, 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 perform any response. Another way is: after step 204, the first device receives a third message from the second device, and the third message includes the first service identifier of the second device. Here, the second device can actively report its first service identifier, that is, the second device actively sends the third message to the first device, or it can report its first service identifier based on the inventory request of the first device, that is, the second device sends the third message to the first device after receiving the inventory request of 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, in addition to receiving the first service identifier reported by the second device, the first device can also receive service identifiers reported by other devices. After obtaining the service identifier of the device, the first device can only send the second message to the second device that matches the first service identifier.
[0179] 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 .
[0180] In step 207, the second device may process the credential information in the following two cases:
[0181] Case g: The second device processes the credential information, including at least one of the following:
[0182] Deleting the first credential information of the second device;
[0183] releasing the first credential information of the second device;
[0184] Deregister the first credential information of the second device.
[0185] Case g applies to the scenario 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 regarded as idle credential information.
[0186] Case h: The second device processes the credential information, including:
[0187] The second device stores second credential information.
[0188] Case h is applicable 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.
[0189] Optionally, after step 207, the method for processing IoT device credential information further includes the following steps:
[0190] The second device sends a fourth message to the first device, where the fourth message is at least used to indicate confirmation of the processing of the credential information by the second device;
[0191] The first device receives a fourth message from the second device;
[0192] The first device sends a fifth message to the first function, the fifth message being used at least to indicate confirmation of the processing of the credential information by the second device;
[0193] The first function receives a fifth message from the first device;
[0194] The first function sends a fourteenth message to the second function, where the fourteenth message is at least used to indicate confirmation of the processing of the credential information by the second device.
[0195] Optionally, the fifth message further includes at least one of the following information:
[0196] a first service identifier of the second device;
[0197] Information used to indicate the area where the second device is located;
[0198] Information used to indicate a service type of the second device.
[0199] Optionally, the fourteenth message includes:
[0200] a second service identifier of the second device.
[0201] 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:
[0202] The first function deletes context information of the second device.
[0203] Optionally, the context information of the second device includes at least one of the following information:
[0204] status information of the second device;
[0205] Credential information of the second device in the communication network;
[0206] a first service identifier of the second device;
[0207] a second service identifier of the second device;
[0208] The contract information of the second device (may also be referred to as “contract data”);
[0209] Information of the read-write device corresponding to the second device.
[0210] 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 confirmation of the deactivation by the second device.
[0211] 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:
[0212] 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.
[0213] Here, the eighth message can be understood as the aforementioned deactivation confirmation message.
[0214] 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.
[0215] 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:
[0216] 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;
[0217] The first function receives a ninth message from the first device.
[0218] 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.
[0219] 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.
[0220] 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:
[0221] 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.
[0222] 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.
[0223] 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.
[0224] Optionally, in the case where the activation process and the credential information adding (or pushing) processing process are not merged, the method further includes:
[0225] 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.
[0226] For the case where the activation process and the credential information addition (or push) processing process are combined, the relevant instructions can refer to the relevant instructions for combining the above-mentioned deactivation process and the credential information deletion (or release, deregistration) processing process. To avoid repetition, this will not be repeated.
[0227] For the case where the activation process and the credential information new addition (or push) processing process are not merged, the relevant interaction processes and unmentioned messages can be adaptively added according to needs. For example, messages such as the twenty-first message and the twenty-second message can be added to indicate that the second device has been activated. To avoid repetition, this is not elaborated.
[0228] The above introduces the interaction process of the second function, the first function, the first device and the second device in the method for processing the credential information of the IoT device. In the above interaction process, the second function or the first function can initiate a credential information processing request to realize the processing of the credential information of the second device in the communication network. The above also gives the corresponding processing solutions for the credential information of the IoT device in the two possible situations of deactivation and activation. Furthermore, it also introduces the implementation methods corresponding to the four specific situations: the deactivation process is combined with the credential information processing process, the deactivation process is not combined with the credential information processing process, the activation process is combined with the credential information processing process, and the activation process is not combined with the credential information processing process.
[0229] In the embodiment of the present application, the second function can have multiple options, for example, the second function can select IoT NF or NEF. When the second function is selected differently, the interaction flow of the above-mentioned method for processing IoT device credential information can also involve more different interaction processes. The following describes various situations of the second function respectively.
[0230] Optionally, the second function includes the IoT NF, and the method further includes:
[0231] The second function processes relevant information of the second device.
[0232] Optionally, in the case where the credential information processing is a deletion (or release, deregistration) processing, the second function processes the relevant information of the second device, including at least one of the following:
[0233] The second function deletes the contract information corresponding to the first credential information of the second device;
[0234] The second function marks the contract information corresponding to the first credential information of the second device as unused;
[0235] The second function marks the contract information corresponding to the first credential information of the second device as a deactivated state;
[0236] The second function deletes the correspondence between the service identifier of the second device and the first credential information of the second device;
[0237] The second function marks the first credential information of the second device as unused;
[0238] The second function marks the first credential information of the second device as a deactivated state;
[0239] The second function deletes the service identification of the second device;
[0240] The second function marks the service identification of the second device as a state without credential information.
[0241] When 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.
[0242] 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:
[0243] The second function adds contract information corresponding to the second credential information of the second device;
[0244] The second function marks the contract information corresponding to the second credential information of the second device as being in use;
[0245] The second function marks the contract information corresponding to the second credential information of the second device as an activated state;
[0246] The second function adds a correspondence between the service identifier of the second device and the second credential information of the second device;
[0247] The second function marks the second credential information of the second device as being in use;
[0248] The second function marks the second credential information of the second device as activated;
[0249] The second function stores a service identifier of the second device;
[0250] The second function marks the service identification of the second device as having credential information.
[0251] In this implementation, when the second device has newly added credential information, the contract information of the second device is newly added, which can ensure that the newly added credential information of the second device can be used normally, thereby also reducing the waste of information resources.
[0252] Optionally, the second function includes the IoT NF, and before the second function sends a thirteenth message to the first function, the method further includes:
[0253] 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.
[0254] That is, when the second function selects IoT NF, IoT NF can initiate step 201 based on the deactivation (or activation) request initiated by NEF. It should be noted that NEF can initiate a deactivation (or activation) request based on the deactivation (or activation) request initiated by IoT App. In the embodiment of the present application, IoT App may also be referred to as IoT AF.
[0255] Optionally, the eighteenth message further includes at least one of the following information:
[0256] 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;
[0257] a second service identifier, where the second service identifier is used by the second function to identify the second device;
[0258] Information for indicating a first area;
[0259] Information used to indicate the first service type.
[0260] Optionally, the method further comprises:
[0261] 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.
[0262] Optionally, the second function includes the NEF, and the method further includes:
[0263] 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.
[0264] Optionally, the second function includes the NEF, and the method further includes:
[0265] 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.
[0266] Optionally, in the case where the credential information processing is deletion (or release, deregistration), the contract information of the second device is processed, including:
[0267] The contract information of the second device is deleted.
[0268] Optionally, in the case where the credential information processing is a newly added processing, the contract information of the second device is processed, including:
[0269] Add the contract information of the second device.
[0270] In addition, the following optional solutions are also provided in the embodiments of the present application:
[0271] First, when neither the second function nor the first function initiates a credential information processing request, the second device performs local credential information processing.
[0272] Second, when the second function does not initiate a credential information processing request, the first function performs local credential information processing.
[0273] The above optional solutions are described below respectively.
[0274] Optionally, when the second device receives the twelfth message from the first device, the second device processes the credential information, wherein:
[0275] In a case where 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:
[0276] The second device deletes the first credential information;
[0277] The second device releases the first credential information;
[0278] The second device performs deregistration processing on the first credential information;
[0279] 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:
[0280] The second device stores second credential information.
[0281] In this implementation, upon receiving the deactivation request, the second device may locally delete (or release, deregister) the credential information of the second device.
[0282] Correspondingly, the second device may locally add credential information when receiving the activation request and when the activation request carries new credential information.
[0283] This implementation can simplify the interaction process of the method for processing credential information of an IoT device by having the second device perform local credential information processing.
[0284] Optionally, the thirteenth message is used to request deactivation of the second device, and the method further includes:
[0285] After receiving the thirteenth message, the first function directly deletes the context information of the second device.
[0286] In this implementation, the first function may directly and locally delete the context information of the second device upon receiving the deactivation request.
[0287] 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.
[0288] 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 devices are temporarily or permanently not needed, the credential information of IoT devices 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 devices are activated or need to be activated, the credential information can be added to the IoT devices in a timely manner, thereby enabling the IoT devices to contact the communication network as soon as possible, saving signaling processes.
[0289] 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 the IoT device credential information of the present application. In addition, it should be noted that Figure 2 For details not described in the corresponding method embodiment, please refer to the relevant description of any of the following embodiments, and the relevant description of any of the following embodiments is applicable to Figure 2 The corresponding method embodiments are not described in detail to avoid repetition.
[0290] Example 1: AIoT NF determines to trigger the credential deletion process, first deactivates and then deletes the credential
[0291] like Figure 3 As shown, the method for processing IoT device credential information includes the following steps:
[0292] Step 301: AIoT App sends a deactivation request message to NEF. The deactivation request message includes at least one of the following parameters: region, AIoT device external service identifier, AIoT device service type. Here, the AIoT device external service identifier is used by the AIoT App to identify the AIoT device.
[0293] In the embodiment of the present application, AIoT App may also be referred to as AIoT AF.
[0294] Among them, the area describes the area in which the AIoT devices are 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.
[0295] 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.
[0296] Credential is the credential information of the target AIoT device in the core network (such as the 5G core network), which is used to authenticate the AIoT device or to identify the AIoT device in the core network. Exemplarily, the credential of the 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 parameter used by the AIoT device for authentication, and the key or security parameter for transmitting data between the AIoT device and the communication network.
[0297] Step 302: NEF sends a deactivation request message to AIoT NF.
[0298] Optionally, NEF authorizes the deactivation request message. For example, NEF confirms whether the AIoT App is allowed to make a deactivation request, or whether the AIoT App is allowed to deactivate the AIoT device in the deactivation request message, or whether the AIoT App has a balance to make the request. NEF can authorize the deactivation request message according to the policy configured by the operator.
[0299] Step 303: AIoT NF sends a deactivation request message to AMF.
[0300] At this time, the deactivation message carries the parameters acquired in step 301.
[0301] Step 304: AMF sends a deactivation request message to UE1.
[0302] This includes the air interface service identifier of the AIoT device.
[0303] 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).
[0304] AMF can determine UE1 according to the parameter information in the deactivation request and send a deactivation request to UE1. Optionally, AMF also determines UE1 according to the reader / writer information corresponding to the AIoT device.
[0305] Step 305: UE1 deactivates the AIoT device.
[0306] Exemplarily, UE1 sends a deactivation request message to the AIoT device. UE1 may receive a deactivation confirmation message from the AIoT device.
[0307] 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.
[0308] UE1 only sends a deactivation request message to the AIoT device that matches the AIoT device service identifier in the deactivation request message in step 304.
[0309] Step 306: UE1 sends a deactivation response message to AMF.
[0310] The deactivation response message includes at least one of the following parameters: service identifier of the AIoT device, region, and service type of the AIoT device.
[0311] Step 307: AMF sends a deactivation response message to AIoT NF. AIoT NF receives the deactivation response message.
[0312] Step 308: AIoT NF sends a credential deletion request message to AMF. The credential deletion request is used to request to delete the credential of the related AIoT device.
[0313] 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 reason for deletion.
[0314] The above parameters may be determined according to corresponding parameters in the deactivation request received in step 302 , or may be determined according to corresponding parameters in the deactivation response message received in step 307 .
[0315] Exemplarily, the deletion reason may be set to "AIoT device deactivation".
[0316] AIoT NF can obtain the identifier used by AIoT device in the core network based on the service identifier of AIoT device.
[0317] Exemplarily, the credential deletion request message may be a deregistration request message or an AIoT deregistration request message.
[0318] 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.
[0319] 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.
[0320] The air interface service identifier of the AIoT device is used to identify the AIoT device at the air interface. "Air interface" refers to the communication interface between the reader and the AIoT device. In this embodiment, the reader is introduced by taking UE (ie, UE1) as an example, and can also be replaced by RAN.
[0321] Optionally, 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 contract of the AIoT device, and the reader / writer information corresponding to the AIoT device.
[0322] 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.
[0323] Step 3010: UE1 executes a credential deletion request for the AIoT device.
[0324] Exemplarily, UE1 sends a credential deletion request message to the AIoT device, and UE1 may receive a credential deletion confirmation message from the AIoT device.
[0325] 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 credential deletion request message to the AIoT device.
[0326] UE1 only sends a credential deletion request message to the AIoT device that matches the AIoT device service identifier in the credential deletion request message in step 309.
[0327] Step 3011: UE1 sends a delete credential response message to AMF.
[0328] The credential deletion 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.
[0329] Optionally, 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.
[0330] Step 3012: AMF sends a delete credential response message to AIoT NF.
[0331] The credential deletion 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.
[0332] AIoT NF obtains the credential of the AIoT device corresponding to the AIoT device identifier (air interface service identifier or identifier used in the core network or AIoT device service type). Optionally, AIoT NF deletes the contract data (or contract information) corresponding to the credential. For example, AIoT NF can 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 AIoTdevice service identifier as no credential.
[0333] Steps 309 to 3012 are optional steps. 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.
[0334] In addition, AIoT devices can also release credentials locally.
[0335] Releasing the credential locally means deleting the locally stored credential related to the AIoT device, as well as related contract data or context information.
[0336] Step 3013: AIoT NF sends a deactivation response message to NEF.
[0337] The deactivation response message indicates that the AIoT device is successfully deactivated, or indicates that the AIoT device deactivation fails. If it fails, it may also include a failure reason parameter.
[0338] Optionally, the deactivation response message also includes at least one of the following parameters: region, AIoT device service identifier, and AIoT device service type.
[0339] Optionally, the deactivation response message also includes a delete credential parameter, indicating that the credential of the corresponding AIoT device has been deleted.
[0340] Step 3014: NEF sends a deactivation response message to the AIoT App.
[0341] The above is the relevant description of Example 1. Example 1 can realize the processing of credential information of IoT devices in deactivation scenarios. When IoT devices are not needed temporarily or permanently, IoT devices can be deactivated, and the credential information of IoT devices in the communication network can be released or recovered in time, which can save the operator's credentials / contracts and realize the recycling of credentials / contracts, thereby avoiding the waste of credential information resources.
[0342] Example 2: AIoT NF determines to trigger the credential deletion process, and the deactivation and deletion credential processes are combined as follows: Figure 4 As shown, the method for processing IoT device credential information includes the following steps:
[0343] Step 401 to step 402: refer to the description of step 301 to step 302 in embodiment 1.
[0344] Step 403: AIoT NF sends a deactivation request to AMF.
[0345] At this time, the deactivation request carries the parameters obtained in step 401 and the credential deletion request parameter. The credential deletion request parameter indicates that the corresponding credential of the target deactivation AIoT device needs to be deleted.
[0346] Step 404: AMF sends a deactivation request to UE1.
[0347] The deactivation request includes the service identifier of the AIoT device. Refer to the description of step 304 in Example 1.
[0348] The deactivation request also includes a delete credential request parameter.
[0349] Step 405: UE1 deactivates the AIoT device.
[0350] Refer to the description of step 305 in Example 1.
[0351] Step 405a: UE1 deletes the credential of the AIoT device.
[0352] Refer to the description of step 3010 of Example 1.
[0353] It is worth noting that in step 405 and step 405a, UE1 can send a message to the AIoT device, including a request to deactivate and delete the credential, or use two messages to execute the deactivation and deletion requests respectively. The order of deactivation and deletion of the credential operations is not limited in the embodiments of the present application.
[0354] If the deactivation and credential deletion requests are executed separately, UE1 can perform an inventory of the AIoT device before the two requests and obtain the service identifier of the AIoT device. UE1 can also perform an inventory before the two requests and then execute the two requests.
[0355] 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 credential deletion request message. UE1 sends a deactivation request message to the AIoT device that matches the AIoT service identifier in step 404.
[0356] Step 406: UE1 sends a deactivation response message to AMF.
[0357] The deactivation response message includes a delete credential response parameter, indicating that the credential of the AIoT device has been deleted as requested.
[0358] Optionally, the deactivation response message also includes a service identifier of the AIoT device, indicating that the credential of the AIoT device has been deleted.
[0359] Optionally, 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 contract of the AIoT device, and the reader / writer information corresponding to the AIoT device.
[0360] Step 407: AMF sends a deactivation response to AIoT NF. AIoT NF receives the deactivation response.
[0361] The deactivation response message includes a delete credential response parameter. Optionally, the deactivation response message also includes a service identifier of the AIoT device.
[0362] The AIoT NF obtains the credential of the AIoT device corresponding to the AIoT device service identifier. Optionally, the AIoT NF deletes the contract 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 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 no credential.
[0363] Step 408 to step 409: refer to step 3013 to step 3014 of embodiment 1.
[0364] It is worth noting that in step 403, AIoT NF may also send a credential deletion request message. Optionally, it includes a deactivation request indication. Accordingly, in step 404, AMF sends a credential deletion request message. Optionally, it includes a deactivation request indication. Accordingly, in step 406, UE1 sends a credential deletion response message. Optionally, it includes a deactivation response. Accordingly, in step 407, AMF sends a credential deletion response message. Optionally, it includes a deactivation response.
[0365] The above is the relevant description of Example 2. Example 2 can realize the processing of credential information of IoT devices in deactivation scenarios. When IoT devices are not needed temporarily or permanently, IoT devices can be deactivated, and the credential information of IoT devices in the communication network can be released or recovered in time, which can save the operator's credentials / contracts and realize the recycling of credentials / contracts, thereby avoiding the waste of credential information resources.
[0366] Example 3: AMF determines to trigger the credential deletion process, and the deactivation and deletion credential processes are combined as follows Figure 5 As shown, the method for processing IoT device credential information includes the following steps:
[0367] Step 501 to step 503: refer to the description of step 301 to step 303 in embodiment 1.
[0368] Step 504: AMF sends a deactivation request to UE1.
[0369] The deactivation request includes the service identifier of the AIoT device. Refer to the description of step 304 in Example 1.
[0370] The deactivation request also includes a delete credential request parameter.
[0371] Step 505 to step 505a: refer to the description of step 405 to step 405a in Example 2.
[0372] Step 506: Refer to the description of step 406 in Example 2.
[0373] Step 507: AMF sends a deactivation response to AIoT NF. AIoT NF receives the deactivation response.
[0374] Step 507a: AMF sends a credential deletion notification to AIoT NF.
[0375] This notification indicates that the target AIoT device's credential has been deleted.
[0376] 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.
[0377] 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, AMF identity.
[0378] Optionally, the AIoT NF deletes the contract 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 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 no credential.
[0379] 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 service identifier of the AIoT device.
[0380] 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.
[0381] Step 508 to step 509: refer to step 3013 to step 3014 of embodiment 1.
[0382] It is worth noting that in step 504, the AMF may also send a delete credential request message. Optionally, it includes a deactivation request indication. Correspondingly, in step 506, the UE1 may also send a delete credential response message. Optionally, it includes a deactivation response.
[0383] It is worth noting that in step 504, AMF can also trigger the deactivation and credential deletion processes respectively. Exemplarily, AMF sends a deactivation request message and a credential deletion request message to UE1 respectively. Correspondingly, in step 506, UE1 sends a deactivation response message and a credential deletion response message to AMF respectively.
[0384] The above is the relevant description of Example 3. Example 3 can realize the processing of credential information of IoT devices in deactivation scenarios. When IoT devices are not needed temporarily or permanently, IoT devices can be deactivated, and the credential information of IoT devices in the communication network can be released or recovered in time, which can save the operator's credentials / contracts and realize the recycling of credentials / contracts, thereby avoiding the waste of credential information resources.
[0385] Example 4: AIoT NF determines to trigger the credential push process, activates first and then pushes the credential
[0386] like Figure 6 As shown, the method for processing IoT device credential information includes the following steps:
[0387] Step 601: AIoT App sends an activation request message to the capability exposure platform NEF, wherein the activation request message includes at least one of the following parameters: region, AIoT device external service identifier, and AIoT device service type.
[0388] 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.
[0389] 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.
[0390] Step 602: NEF sends an activation request message to AIoT NF.
[0391] Optionally, the NEF authorizes the activation request message. For how to authorize, please refer to the description of step 302 in embodiment 1, where deactivation is replaced by activation.
[0392] Step 603: AIoT NF sends an activation request message to AMF.
[0393] At this time, the activation message carries the parameters obtained in step 601.
[0394] Step 604: AMF sends an activation request message to UE1.
[0395] Refer to the description of step 304 in Example 1, where deactivation is replaced by activation.
[0396] Step 605: UE1 activates the AIoT device.
[0397] Refer to the description of step 305 in Example 1, where deactivation is replaced by activation.
[0398] 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.
[0399] Optionally, step 606 also includes a core network identification acquisition indication. The core network identification acquisition indication can be an implicit indication, for example, if the AIoT device already has a credential or an identification, the indication is carried, if not, the indication is not carried, and not carrying the indication indicates that the core network identification acquisition indication is required to be obtained. Or conversely, if the indication is carried, it means that the AIoT device needs to obtain a credential, and not carrying the indication means that the credential does not need to be obtained.
[0400] Step 608: AIoT NF sends a push credential request message to AMF. The push credential request is used to request to push credentials to the relevant AIoT device.
[0401] 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.
[0402] The above parameters may be determined according to corresponding parameters in the activation request received in step 602 , or may be determined according to corresponding parameters in the activation response message received in step 607 .
[0403] Exemplarily, the push reason may be set to "AIoT device activation".
[0404] Optionally, the AIoT NF performs at least one of the following:
[0405] Added the contract information corresponding to the credential of AIoT device;
[0406] Mark the contract information corresponding to the credential of the AIoT device as in use;
[0407] Mark the contract information corresponding to the credential of the AIoT device as activated;
[0408] Added the correspondence between the service identifier of AIoT device and the credential of AIoT device;
[0409] Mark the AIoT device credential as in use;
[0410] Mark the AIoT device credential as activated;
[0411] Store the service ID of the AIoT device;
[0412] Mark the service ID of the AIoT device as having credential information.
[0413] Optionally, the AIoT NF sends a push request according to the core network identifier acquisition indication in the activation response message.
[0414] Optionally, after receiving the activation response message, the AIoT NF sends a push request.
[0415] Optionally, after the AIoT NF obtains the identifier of the AIoT device (step 607), it authenticates the identifier and then sends the push request.
[0416] AIoT NF can confirm that it is the device of the App based on the service identifier of the AIoT device, or obtain the device identifier of the AIoT device and perform authentication based on the relationship between the device identifier and the service identifier.
[0417] Steps 607 to 608 are optional steps. If steps 607 to 608 do not occur, the AMF performs step 609 after receiving the activation response in step 606.
[0418] 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.
[0419] Optionally, AMF adds context information of AIoT devices. The context information of AIoT devices may include at least one of the following: the status of AIoT device, the credential of AIoT device, the service identifier of AIoT device, the 5G core network identifier of AIoT device, the contract of AIoT device, and the reader / writer information corresponding to AIoT device.
[0420] Step 6010: UE1 executes a credential push request for the AIoT device, that is, UE1 pushes the credential to the AIoT device according to the request.
[0421] Step 6011: UE1 sends a push credential response message to AMF.
[0422] Step 6012: AMF sends a push credential response message to AIoT NF.
[0423] Step 6013: AIoT NF sends an activation response message to NEF.
[0424] Step 6014: NEF sends an activation response message to AIoT AF.
[0425] 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.
[0426] 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 time, so that the IoT device can contact the communication network as soon as possible, saving signaling process.
[0427] Example 5: AIoT NF determines to trigger the credential push process, and merges the activation and credential push processes
[0428] On the basis of Example 4, steps 608 to 609 may be respectively combined with steps 603 to 604, and steps 6011 to 6012 may also be combined with steps 606 to 607.
[0429] For example, the activation request includes an indication to push the credential and the credential.
[0430] The activation response includes push credential response information.
[0431] Alternatively, the push credential request message includes activation request indication information; the push credential response message includes activation request response information.
[0432] like Figure 7 As shown, the method for processing IoT device credential information includes the following steps:
[0433] Step 701 to Step 702: See the description of Step 601 to Step 602 in Example 4.
[0434] Step 703: AIoT NF sends an activation request to AMF.
[0435] 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.
[0436] Step 704: AMF sends an activation request to UE1.
[0437] The activation request includes the service identifier of the AIoT device. Refer to the description of step 604 in Example 4.
[0438] The activation request also includes push credential request parameters.
[0439] Step 705: UE1 activates the AIoT device.
[0440] Refer to the description of step 605 in Example 4.
[0441] Step 705a: UE1 executes a push credential request for the AIoT device.
[0442] Refer to the description of step 6010 of Example 4.
[0443] It is worth noting that in step 705 and step 705a, UE1 can send a message to the AIoT device, including a request to activate and push the credential, or use two messages to execute the activation and push credential requests respectively. The order of the operations of activating and pushing the credential is not limited in the embodiment of the present application.
[0444] If the activation and credential push requests are executed separately, UE1 can perform an inventory of the AIoT device before the two requests and obtain the service identifier of the AIoT device. UE1 can also perform an inventory before the two requests and then execute the two requests.
[0445] 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.
[0446] Step 706: UE1 sends an activation response message to AMF.
[0447] The activation response message includes a push credential response parameter, indicating that the credential of the AIoT device has been pushed as requested.
[0448] 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.
[0449] Step 707: AMF sends an activation response to AIoT NF. AIoT NF receives the activation response.
[0450] The activation response message includes a push credential response parameter. Optionally, the activation response message also includes a service identifier of the AIoT device.
[0451] The AIoT NF obtains the credential of the AIoT device 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 corresponding relationship between the AIoT device service identifier and the credential; marking the credential and the corresponding contract data as being in use or activated; adding contract data corresponding to the credential; storing the AIoT device service identifier; marking the AIoT device service identifier as having a credential.
[0452] Step 708 to step 709: refer to step 6013 to step 6014 of embodiment 4.
[0453] It is worth noting that in step 703, AIoT NF may also send a push credential request message. Optionally, it includes an activation request indication. Accordingly, in step 704, AMF sends a push credential request message. Optionally, it includes an activation request indication. Accordingly, in step 706, UE1 sends a push credential response message. Optionally, it includes an activation response. Accordingly, in step 707, AMF sends a push credential response message. Optionally, it includes an activation response.
[0454] 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 time, so that the IoT device can contact the communication network as soon as possible, saving signaling process.
[0455] Figure 8 A flowchart of a method for processing IoT device credential information provided by an embodiment of the present application is shown, and the method for processing IoT device credential information is executed by a first device. Figure 8 As shown, the method for processing IoT device credential information includes the following steps:
[0456] Step 801: a first device receives a first message from a first function, wherein the first message is at least used to request processing of credential information of a second device, wherein the second device includes an IoT device, the first device is a reader / writer of the second device, and the credential information is credential information of the second device in a communication network;
[0457] 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.
[0458] Optionally, the first message includes at least one of the following information:
[0459] 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 that the second device identified by the first service identifier be used to process the credential information;
[0460] 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;
[0461] information indicating a first service type, the first message being used at least to request the second device of the first service type to process the credential information;
[0462] Information used to indicate a reason for processing the credential information on the second device.
[0463] Optionally, before the first device sends the second message to the second device, the method further includes:
[0464] The first device receives a third message from the second device, where the third message includes a first service identifier of the second device.
[0465] Optionally, the method further comprises:
[0466] 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,
[0467] 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.
[0468] Optionally, the fifth message further includes at least one of the following information:
[0469] a first service identifier of the second device;
[0470] Information used to indicate the area where the second device is located;
[0471] Information used to indicate a service type of the second device.
[0472] Optionally, processing the credential information on the second device includes at least one of the following:
[0473] Deleting the first credential information of the second device;
[0474] releasing the first credential information of the second device;
[0475] Deregister the first credential information of the second device.
[0476] Optionally, the first message is also used to request deactivation of the second device;
[0477] or,
[0478] The method further comprises:
[0479] The first device receives a sixth message from the first function, where the sixth message is used to request deactivation of the second device.
[0480] Optionally, the sixth message includes at least one of the following information:
[0481] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;
[0482] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;
[0483] The sixth message is used to indicate information of a first service type, and is used to request to deactivate the second device whose service type includes the first service type.
[0484] Optionally, the second message is further used to request deactivation of the second device;
[0485] or,
[0486] The method further comprises:
[0487] The first device sends a seventh message to the second device, where the seventh message is used to request to deactivate the second device.
[0488] 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;
[0489] or,
[0490] The method further comprises:
[0491] 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.
[0492] 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;
[0493] or,
[0494] The method further comprises:
[0495] 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.
[0496] Optionally, processing the credential information on the second device includes at least one of the following:
[0497] Adding the second credential information of the second device;
[0498] Push second credential information to the second device.
[0499] 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;
[0500] or,
[0501] The method further comprises:
[0502] 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.
[0503] Optionally, the tenth message includes at least one of the following information:
[0504] a first service identifier, the tenth message being used to request activation of the second device identified by the first service identifier;
[0505] information indicating a first area, the tenth message being used to request activation of the second device in the first area;
[0506] 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.
[0507] 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;
[0508] or,
[0509] The method further comprises:
[0510] 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.
[0511] Optionally, the first device includes a terminal or an access network device, and the first function includes an access mobility management function AMF.
[0512] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[0513] The method for processing IoT device credential information provided in the embodiment of the present application can be executed by a device for processing IoT device credential information. In the embodiment 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 embodiment of the present application.
[0514] Fig. 9 The structure diagram of the device for processing the credential information of an Internet of Things device provided in an embodiment of the present application is shown, and the device for processing the credential information of an Internet of Things device can be applied to the first device. Fig. 9 As shown, the device 900 for processing the credential information of an IoT device includes:
[0515] A first receiving module 901 is used to receive 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;
[0516] 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.
[0517] Optionally, the first message includes at least one of the following information:
[0518] 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 that the second device identified by the first service identifier be used to process the credential information;
[0519] 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;
[0520] information indicating a first service type, the first message being used at least to request the second device of the first service type to process the credential information;
[0521] Information used to indicate a reason for processing the credential information on the second device.
[0522] Optionally, the IoT device credential information processing device 900 further includes:
[0523] 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.
[0524] Optionally, the IoT device credential information processing device 900 further includes:
[0525] A third receiving module is 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
[0526] The second sending module is used 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.
[0527] Optionally, the fifth message further includes at least one of the following information:
[0528] a first service identifier of the second device;
[0529] Information used to indicate the area where the second device is located;
[0530] Information used to indicate a service type of the second device.
[0531] Optionally, processing the credential information on the second device includes at least one of the following:
[0532] Deleting the first credential information of the second device;
[0533] releasing the first credential information of the second device;
[0534] Deregister the first credential information of the second device.
[0535] Optionally, the first message is also used to request deactivation of the second device;
[0536] or,
[0537] The IoT device credential information processing device 900 further includes:
[0538] The fourth receiving module is used to receive a sixth message from the first function, where the sixth message is used to request to deactivate the second device.
[0539] Optionally, the sixth message includes at least one of the following information:
[0540] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;
[0541] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;
[0542] The sixth message is used to indicate information of a first service type, and is used to request to deactivate the second device whose service type includes the first service type.
[0543] Optionally, the second message is further used to request deactivation of the second device;
[0544] or,
[0545] The IoT device credential information processing device 900 further includes:
[0546] The third sending module is used to send a seventh message to the second device, where the seventh message is used to request to deactivate the second device.
[0547] Optionally, the fourth message is further used to indicate confirmation of the deactivation by the second device;
[0548] or,
[0549] The IoT device credential information processing device 900 further includes:
[0550] 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.
[0551] 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;
[0552] or,
[0553] The IoT device credential information processing device 900 further includes:
[0554] 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.
[0555] Optionally, processing the credential information on the second device includes at least one of the following:
[0556] Adding the second credential information of the second device;
[0557] Push second credential information to the second device.
[0558] 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;
[0559] or,
[0560] The IoT device credential information processing device 900 further includes:
[0561] The sixth receiving module is used 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.
[0562] Optionally, the tenth message includes at least one of the following information:
[0563] a first service identifier, the tenth message being used to request activation of the second device identified by the first service identifier;
[0564] information indicating a first area, the tenth message being used to request activation of the second device in the first area;
[0565] 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.
[0566] 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;
[0567] or,
[0568] The IoT device credential information processing device 900 further includes:
[0569] The fifth sending module is used 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.
[0570] Optionally, the first device includes a terminal or an access network device, and the first function includes an access mobility management function AMF.
[0571] 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 state 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 time, which can save the operator's credentials / contract and recycle it. Thereby, the waste of credential information resources can be avoided; 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, so that the IoT device can be connected to the communication network as soon as possible, saving the signaling process.
[0572] The IoT device credential information processing device 900 provided in the embodiment of the present application can achieve Figure 8 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.
[0573] Fig.10a A flowchart of a method for processing IoT device credential information provided by an embodiment of the present application is shown. Fig.10b A flowchart of a method for processing IoT device credential information provided by an embodiment of the present application is shown. Fig.10a Method for processing IoT device credential information and Fig.10b The method for processing the IoT device credential information is executed by the second device.
[0574] like Fig.10a As shown, the method for processing IoT device credential information includes the following steps:
[0575] Step 1001a: 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 includes an IoT device, and the first device is a read-write device for the second device;
[0576] Step 1002a: The second device performs a first process on the credential information.
[0577] like Fig.10b As shown, the method for processing IoT device credential information includes the following steps:
[0578] Step 1001b: 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 activate the second device, where the second device includes an IoT device, and the first device is a read-write device of the second device;
[0579] Step 1002b: The second device performs a second process on the credential information.
[0580] Optionally, the second device performs a first processing on the credential information, including at least one of the following:
[0581] The second device deletes the first credential information;
[0582] The second device releases the first credential information;
[0583] The second device performs deregistration processing on the first credential information;
[0584] The second device stores second credential information.
[0585] Optionally, the twelfth message is used to request deactivation of the second device, and the second device performs second processing on the credential information, including at least one of the following:
[0586] The second device deletes the first credential information;
[0587] The second device releases the first credential information;
[0588] The second device deregisters the first credential information.
[0589] 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 of the credential information, including:
[0590] The second device stores the second credential information.
[0591] Optionally, the method further comprises:
[0592] 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.
[0593] Optionally, the second message is further used to request deactivation of the second device;
[0594] or,
[0595] The method further comprises:
[0596] The second device receives a seventh message from the first device, where the seventh message is used to request deactivation of the second device.
[0597] Optionally, the fourth message is further used to indicate confirmation of the deactivation by the second device;
[0598] or,
[0599] The method further comprises:
[0600] 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.
[0601] 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;
[0602] or,
[0603] The method further comprises:
[0604] 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.
[0605] Optionally, the first device includes a terminal or an access network device.
[0606] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[0607] The method for processing IoT device credential information provided in the embodiment of the present application can be executed by a device for processing IoT device credential information. In the embodiment 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 embodiment of the present application.
[0608] Fig.11The structure diagram of the device for processing the credential information of the Internet of Things device provided in the embodiment of the present application is shown, and the device for processing the credential information of the Internet of Things device can be applied to the second device. Fig.11 As shown, the device 1100 for processing IoT device credential information includes a first receiving module 1101 and a processing module 1102:
[0609] The first receiving module 1101 is used to receive a second message from a first device, where the second message is at least used to request the second device to perform a first process on the credential information;
[0610] The processing module 1102 is used to perform a first process on the credential information;
[0611] or,
[0612] The first receiving module 1101 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;
[0613] The processing module 1102 is used to perform a second process on the credential information;
[0614] The second device includes an Internet of Things (IoT) device, and the first device is a reading and writing device of the second device.
[0615] Optionally, the processing module 1102 is specifically configured to perform at least one of the following:
[0616] Deleting the first credential information;
[0617] releasing the first credential information;
[0618] Deregistering the first credential information;
[0619] Added second credential information.
[0620] Optionally, the twelfth message is used to request deactivation of the second device, and the processing module 1102 is specifically used for at least one of the following:
[0621] Deleting the first credential information;
[0622] releasing the first credential information;
[0623] The first credential information is deregistered.
[0624] 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 processing module 1102 is specifically configured to:
[0625] The second credential information is stored.
[0626] Optionally, the IoT device credential information processing device 1100 further includes:
[0627] The first sending module is used 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.
[0628] Optionally, the second message is further used to request deactivation of the second device;
[0629] or,
[0630] The IoT device credential information processing device 1100 further includes:
[0631] The second receiving module is used to receive a seventh message from the first device, where the seventh message is used to request to deactivate the second device.
[0632] Optionally, the fourth message is further used to indicate confirmation of the deactivation by the second device;
[0633] or,
[0634] The IoT device credential information processing device 1100 further includes:
[0635] 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.
[0636] 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;
[0637] or,
[0638] The IoT device credential information processing device 1100 further includes:
[0639] 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.
[0640] Optionally, the first device includes a terminal or an access network device.
[0641] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[0642] The device 1100 for processing IoT device credential information provided in the embodiment of the present application can realize Fig.10a or Fig.10b The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.
[0643] Fig.12 A flowchart of a method for processing IoT device credential information provided by an embodiment of the present application is shown, and the method for processing IoT device credential information is executed by a first function. Fig.12 As shown, the method for processing IoT device credential information includes the following steps:
[0644] Step 1201: The first function receives the thirteenth message from the second function;
[0645] Step 1202: 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, and 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.
[0646] Optionally, 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:
[0647] Deleting the first credential information of the second device;
[0648] releasing the first credential information of the second device;
[0649] Deregister the first credential information of the second device.
[0650] Optionally, the method further comprises:
[0651] After receiving the thirteenth message, the first function deletes the context information of the second device.
[0652] Optionally, 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:
[0653] Adding the second credential information of the second device;
[0654] Push second credential information to the second device.
[0655] Optionally, the thirteenth message is at least used to request the second device to process the credential information.
[0656] Optionally, the thirteenth message is further 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:
[0657] Deleting the first credential information of the second device;
[0658] releasing the first credential information of the second device;
[0659] Deregister the first credential information of the second device.
[0660] 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:
[0661] Add the second credential information of the second device;
[0662] Push the second credential information to the second device.
[0663] Optionally, the first message includes at least one of the following information:
[0664] 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;
[0665] 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;
[0666] 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;
[0667] Information used to indicate a reason for processing the credential information on the second device.
[0668] Optionally, the thirteenth message includes at least one of the following information:
[0669] a first service identifier, where the first service identifier is used by the first device to identify the second device;
[0670] a second service identifier, where the second service identifier is used by the second function to identify the second device;
[0671] Information for indicating a first area;
[0672] Information indicating a first service type;
[0673] Information used to indicate a reason for processing the credential information on the second device.
[0674] Optionally, before the first function sends the first message to the first device, the method further includes:
[0675] The first function determines the first device based on the thirteenth message.
[0676] Optionally, after the first function sends the first message to the first device, the method further includes:
[0677] 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.
[0678] Optionally, the fifth message includes at least one of the following information:
[0679] a first service identifier of the second device;
[0680] Information used to indicate the area where the second device is located;
[0681] Information used to indicate a service type of the second device.
[0682] Optionally, after the first function receives a fifth message from the first device, the method further includes:
[0683] 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.
[0684] Optionally, the fourteenth message includes:
[0685] A second service identifier of the second device, where the second service identifier is used for the second function to identify the second device.
[0686] Optionally, after the first function receives a fifth message from the first device, the method further includes:
[0687] The first function deletes context information of the second device.
[0688] Optionally, the context information of the second device includes at least one of the following information:
[0689] status information of the second device;
[0690] Credential information of the second device in the communication network;
[0691] a first service identifier of the second device;
[0692] a second service identifier of the second device;
[0693] The contract information of the second device;
[0694] Information of the read-write device corresponding to the second device.
[0695] Optionally, the first message is also used to request deactivation of the second device;
[0696] or,
[0697] The method further comprises:
[0698] The first function sends a sixth message to the first device, where the sixth message is used to request to deactivate the second device.
[0699] Optionally, the sixth message includes at least one of the following information:
[0700] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;
[0701] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;
[0702] The sixth message is used to indicate information of a first service type, and is used to request to deactivate the second device whose service type includes the first service type.
[0703] Optionally, the fifth message is further used to indicate that the second device has been deactivated;
[0704] or,
[0705] The method further comprises:
[0706] 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.
[0707] Optionally, the fourteenth message is further used to indicate that the second device has been deactivated;
[0708] or,
[0709] The method further comprises:
[0710] 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.
[0711] 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;
[0712] or,
[0713] The method further comprises:
[0714] 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.
[0715] 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.
[0716] Optionally, the second function includes the NEF, and the method further includes:
[0717] 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.
[0718] Optionally, processing the contract information of the second device includes:
[0719] Deleting the contract information of the second device;
[0720] or,
[0721] Add the contract information of the second device.
[0722] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[0723] The method for processing IoT device credential information provided in the embodiment of the present application can be executed by a device for processing IoT device credential information. In the embodiment 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 embodiment of the present application.
[0724] Fig.13 The structure diagram of the device for processing the credential information of the Internet of Things device provided in the embodiment of the present application is shown, and the device for processing the credential information of the Internet of Things device can be applied to the first function. Fig.13 As shown, the device 1300 for processing the credential information of an IoT device includes:
[0725] The first receiving module 1301 is used to receive a thirteenth message from the second function;
[0726] The first sending module 1302 is used to send a first message to the first device based on the thirteenth message, wherein the first message is at least used to request processing of credential information of a second device, wherein 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.
[0727] Optionally, 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:
[0728] Deleting the first credential information of the second device;
[0729] releasing the first credential information of the second device;
[0730] Deregister the first credential information of the second device.
[0731] Optionally, the IoT device credential information processing device 1300 further includes:
[0732] 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.
[0733] Optionally, 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:
[0734] Adding the second credential information of the second device;
[0735] Push second credential information to the second device.
[0736] Optionally, the thirteenth message is at least used to request the second device to process the credential information.
[0737] Optionally, the thirteenth message is further 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:
[0738] Deleting the first credential information of the second device;
[0739] releasing the first credential information of the second device;
[0740] Deregister the first credential information of the second device.
[0741] 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:
[0742] Add the second credential information of the second device;
[0743] Push the second credential information to the second device.
[0744] Optionally, the first message includes at least one of the following information:
[0745] 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;
[0746] 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;
[0747] 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;
[0748] Information used to indicate a reason for processing the credential information on the second device.
[0749] Optionally, the thirteenth message includes at least one of the following information:
[0750] a first service identifier, where the first service identifier is used by the first device to identify the second device;
[0751] a second service identifier, where the second service identifier is used by the second function to identify the second device;
[0752] Information for indicating a first area;
[0753] Information indicating a first service type;
[0754] Information used to indicate a reason for processing the credential information on the second device.
[0755] Optionally, before the first function sends the first message to the first device, the method further includes:
[0756] The first function determines the first device based on the thirteenth message.
[0757] Optionally, the IoT device credential information processing device 1300 further includes:
[0758] The second receiving module is configured to receive a fifth message from the first device, wherein the fifth message at least includes a confirmation of the second device's processing of the credential information.
[0759] Optionally, the fifth message includes at least one of the following information:
[0760] a first service identifier of the second device;
[0761] Information used to indicate the area where the second device is located;
[0762] Information used to indicate a service type of the second device.
[0763] Optionally, the IoT device credential information processing device 1300 further includes:
[0764] The second sending module is used 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.
[0765] Optionally, the fourteenth message includes:
[0766] A second service identifier of the second device, where the second service identifier is used for the second function to identify the second device.
[0767] Optionally, the IoT device credential information processing device 1300 further includes:
[0768] The second deleting module is configured to delete the context information of the second device after the second receiving module receives the fifth message.
[0769] Optionally, the context information of the second device includes at least one of the following information:
[0770] status information of the second device;
[0771] Credential information of the second device in the communication network;
[0772] a first service identifier of the second device;
[0773] a second service identifier of the second device;
[0774] The contract information of the second device;
[0775] Information of the read-write device corresponding to the second device.
[0776] Optionally, the first message is also used to request deactivation of the second device;
[0777] or,
[0778] The IoT device credential information processing device 1300 further includes:
[0779] The third sending module is used to send a sixth message to the first device, where the sixth message is used to request to deactivate the second device.
[0780] Optionally, the sixth message includes at least one of the following information:
[0781] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;
[0782] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;
[0783] The sixth message is used to indicate information of a first service type, and is used to request to deactivate the second device whose service type includes the first service type.
[0784] Optionally, the fifth message is further used to indicate that the second device has been deactivated;
[0785] or,
[0786] The IoT device credential information processing device 1300 further includes:
[0787] 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.
[0788] Optionally, the fourteenth message is further used to indicate that the second device has been deactivated;
[0789] or,
[0790] The IoT device credential information processing device 1300 further includes:
[0791] The fourth sending module is used to send a fifteenth message to the second function, and the fifteenth message is used to indicate that the second device has been deactivated.
[0792] 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;
[0793] or,
[0794] The IoT device credential information processing device 1300 further includes:
[0795] The fifth receiving module is used 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.
[0796] 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.
[0797] Optionally, the second function includes the NEF, and the method further includes:
[0798] 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.
[0799] Optionally, processing the contract information of the second device includes:
[0800] Deleting the contract information of the second device;
[0801] or,
[0802] Add the contract information of the second device.
[0803] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[0804] The device 1300 for processing IoT device credential information provided in the embodiment of the present application can realize Fig.12 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.
[0805] Fig.14 A flowchart of a method for processing IoT device credential information provided by an embodiment of the present application is shown, and the method for processing IoT device credential information is executed by a second function. Fig.14 As shown, the method for processing IoT device credential information includes the following steps:
[0806] Step 1401: The second function sends a thirteenth message to the first function;
[0807] Step 1402: The second function receives the fourteenth message from the first function, and the fourteenth message is used to indicate that the second device has processed the credential information, 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.
[0808] 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:
[0809] The second device has deleted the first credential information;
[0810] The second device has released the first credential information;
[0811] The second device has deregistered the first credential information.
[0812] 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:
[0813] The second device has processed the newly added second credential information.
[0814] Optionally, the thirteenth message is at least used to request the second device to process the credential information.
[0815] 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:
[0816] The second device has deleted the first credential information;
[0817] The second device has released the first credential information;
[0818] The second device has deregistered the first credential information.
[0819] 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:
[0820] The second device has processed the newly added second credential information.
[0821] Optionally, the thirteenth message includes at least one of the following information:
[0822] 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;
[0823] a second service identifier, where the second service identifier is used by the second function to identify the second device;
[0824] Information for indicating a first area;
[0825] Information indicating a first service type;
[0826] Information used to indicate a reason for processing the credential information on the second device.
[0827] Optionally, the fourteenth message includes:
[0828] A second service identifier, where the second service identifier is used by the second function to identify the second device.
[0829] Optionally, the fourteenth message is further used to indicate that the second device has been deactivated;
[0830] or,
[0831] The method further comprises:
[0832] 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.
[0833] Optionally, the fourteenth message is further used to indicate that the second device has been activated;
[0834] or,
[0835] The method further comprises:
[0836] 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.
[0837] 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.
[0838] Optionally, the second function includes the IoT NF, and the method further includes:
[0839] The second function processes relevant information of the second device.
[0840] Optionally, the second function processes the relevant information of the second device, including at least one of the following:
[0841] The second function deletes the contract information corresponding to the first credential information of the second device;
[0842] The second function marks the contract information corresponding to the first credential information of the second device as unused;
[0843] The second function marks the contract information corresponding to the first credential information of the second device as a deactivated state;
[0844] The second function deletes the correspondence between the service identifier of the second device and the first credential information of the second device;
[0845] The second function marks the first credential information of the second device as unused;
[0846] The second function marks the first credential information of the second device as a deactivated state;
[0847] The second function deletes the service identification of the second device;
[0848] The second function marks the service identification of the second device as a state without credential information;
[0849] The second function adds contract information corresponding to the second credential information of the second device;
[0850] The second function marks the contract information corresponding to the second credential information of the second device as being in use;
[0851] The second function marks the contract information corresponding to the second credential information of the second device as an activated state;
[0852] The second function adds a correspondence between the service identifier of the second device and the second credential information of the second device;
[0853] The second function marks the second credential information of the second device as being in use;
[0854] The second function marks the second credential information of the second device as activated;
[0855] The second function stores a service identifier of the second device;
[0856] The second function marks the service identification of the second device as having credential information.
[0857] Optionally, the second function includes the IoT NF, and before the second function sends a thirteenth message to the first function, the method further includes:
[0858] 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.
[0859] Optionally, the eighteenth message further includes at least one of the following information:
[0860] 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;
[0861] a second service identifier, where the second service identifier is used by the second function to identify the second device;
[0862] Information for indicating a first area;
[0863] Information used to indicate the first service type.
[0864] Optionally, the method further comprises:
[0865] 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.
[0866] Optionally, the second function includes the NEF, and the method further includes:
[0867] 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.
[0868] Optionally, processing the contract information of the second device includes:
[0869] Deleting the contract information of the second device;
[0870] or,
[0871] Add the contract information of the second device.
[0872] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[0873] The method for processing IoT device credential information provided in the embodiment of the present application can be executed by a device for processing IoT device credential information. In the embodiment 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 embodiment of the present application.
[0874] Fig.15 The structure diagram of the device for processing the credential information of the Internet of Things device provided in the embodiment of the present application is shown, and the device for processing the credential information of the Internet of Things device can be applied to the second function. Fig.15 As shown, the device 1500 for processing the credential information of an IoT device includes:
[0875] The first sending module 1501 is used to send a thirteenth message to the first function;
[0876] 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.
[0877] 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:
[0878] The second device has deleted the first credential information;
[0879] The second device has released the first credential information;
[0880] The second device has deregistered the first credential information.
[0881] 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:
[0882] The second device has processed the newly added second credential information.
[0883] Optionally, the thirteenth message is at least used to request the second device to process the credential information.
[0884] 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:
[0885] The second device has deleted the first credential information;
[0886] The second device has released the first credential information;
[0887] The second device has deregistered the first credential information.
[0888] 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:
[0889] The second device has processed the newly added second credential information.
[0890] Optionally, the thirteenth message includes at least one of the following information:
[0891] 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;
[0892] a second service identifier, where the second service identifier is used by the second function to identify the second device;
[0893] Information for indicating a first area;
[0894] Information indicating a first service type;
[0895] Information used to indicate a reason for processing the credential information on the second device.
[0896] Optionally, the fourteenth message includes:
[0897] A second service identifier, where the second service identifier is used by the second function to identify the second device.
[0898] Optionally, the fourteenth message is further used to indicate that the second device has been deactivated;
[0899] or,
[0900] The IoT device credential information processing device 1500 further includes:
[0901] 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.
[0902] Optionally, the fourteenth message is further used to indicate that the second device has been activated;
[0903] or,
[0904] The IoT device credential information processing device 1500 further includes:
[0905] The third receiving module is used to receive a seventeenth message from the first function, where the seventeenth message is used to indicate that the second device has been activated.
[0906] 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.
[0907] Optionally, the second function includes the IoT NF, and the IoT device credential information processing device 1500 further includes:
[0908] A processing module is used to process the relevant information of the second device.
[0909] Optionally, the processing module is specifically used for at least one of the following:
[0910] Deleting the contract information corresponding to the first credential information of the second device;
[0911] Marking the contract information corresponding to the first credential information of the second device as unused;
[0912] Marking the contract information corresponding to the first credential information of the second device as a deactivated state;
[0913] Deleting the correspondence between the service identifier of the second device and the first credential information of the second device;
[0914] Marking the first credential information of the second device as unused;
[0915] Marking the first credential information of the second device as a deactivated state;
[0916] Deleting the service identification of the second device;
[0917] Marking the service identifier of the second device as a state without credential information;
[0918] Adding the contract information corresponding to the second credential information of the second device;
[0919] Marking the contract information corresponding to the second credential information of the second device as in use;
[0920] Marking the contract information corresponding to the second credential information of the second device as activated;
[0921] Adding a correspondence between the service identifier of the second device and the second credential information of the second device;
[0922] Marking the second credential information of the second device as in use;
[0923] Marking the second credential information of the second device as activated;
[0924] storing a service identifier of the second device;
[0925] The service identification of the second device is marked as having credential information.
[0926] Optionally, the second function includes the IoT NF, and the IoT device credential information processing device 1500 further includes:
[0927] The fourth receiving module is used to receive an eighteenth message from a third function, where the eighteenth message is used to request to deactivate the second device, or to request to activate the second device, and the third function includes the NEF.
[0928] Optionally, the eighteenth message further includes at least one of the following information:
[0929] 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;
[0930] a second service identifier, where the second service identifier is used by the second function to identify the second device;
[0931] Information for indicating a first area;
[0932] Information used to indicate the first service type.
[0933] Optionally, the IoT device credential information processing device 1500 further includes:
[0934] 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.
[0935] Optionally, the second function includes the NEF, and the device 1500 for processing the credential information of the Internet of Things device further includes:
[0936] The third sending module is used to send a twentieth message to a 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.
[0937] Optionally, processing the contract information of the second device includes:
[0938] Deleting the contract information of the second device;
[0939] or,
[0940] Add the contract information of the second device.
[0941] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[0942] The device 1500 for processing IoT device credential information provided in the embodiment of the present application can realize Fig.14 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.
[0943] The processing device for the IoT device credential information in the embodiment 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 a chip. The electronic device may be a terminal, or may be a device other than a terminal. Exemplarily, 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 embodiment of the present application.
[0944] like Fig.16 As shown, the embodiment of the present application further provides a communication device 1600, including a processor 1601 and a memory 1602, 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 Figure 8 When the communication device 1600 is a second device, the program or instruction is executed by the processor 1601 to implement the above Fig.10a or Fig.10b When the communication device 1600 is in the first function, the program or instruction is executed by the processor 1601 to implement the above Fig.12 When the communication device 1600 is in the second function, the program or instruction is executed by the processor 1601 to implement the above Fig.14 The steps of the method embodiment can achieve the same technical effect. To avoid repetition, they will not be described here.
[0945] The embodiment of 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 used to run a program or instruction to implement the following Figure 8 The steps in the method embodiment shown. The 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 can be applied to the first device embodiment and can achieve the same technical effect.
[0946] The embodiment of 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 used to run a program or instruction to implement the following Fig.10a or Fig.10b The steps in the method embodiment shown. The second device embodiment corresponds to the second device side method embodiment described above, and each implementation process and implementation method of the second device side method embodiment described above can be applied to the second device embodiment and can achieve the same technical effect.
[0947] The embodiment of the present application also provides a first function, including a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Fig.12 The steps in the method embodiment shown. The first functional embodiment corresponds to the first functional side method embodiment described above, and each implementation process and implementation method of the first functional side method embodiment described above can be applied to the first functional embodiment and can achieve the same technical effect.
[0948] The embodiment of the present application also provides a second function, including a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Fig.14 The steps in the method embodiment shown. The second functional embodiment corresponds to the second functional side method embodiment described above, and each implementation process and implementation method of the second functional side method embodiment described above can be applied to the second functional embodiment and can achieve the same technical effect.
[0949] The embodiment of 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 used to run a program or instruction to implement the following Figure 8 The steps of the method embodiment shown. This terminal embodiment corresponds to the first device side method embodiment described above. Each implementation process and implementation method of the above method embodiment can be applied to this terminal embodiment and can achieve the same technical effect.
[0950] Specifically, Fig.17 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.
[0951] 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.
[0952] Those skilled in the art will appreciate that the terminal 1700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.17 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0953] It should be understood that in the 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 the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the 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.
[0954] In the embodiment of the present application, after receiving downlink data from the access network device, the radio frequency unit 1701 can transmit the data to the processor 1710 for processing; in addition, the radio frequency unit 1701 can send uplink data to the access network device. Generally, 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, etc.
[0955] The memory 1709 can be used to store software programs or instructions and various data. The memory 1709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1709 may include a volatile memory or a non-volatile memory. Among them, 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. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory 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.
[0956] The processor 1710 may include one or more processing units; optionally, the processor 1710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1710.
[0957] The radio frequency unit 1701 is used for:
[0958] receiving a first message from a first function, wherein the first message is at least used to request processing of credential information of a second device, wherein 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;
[0959] A second message is sent to the second device, where the second message is at least used to request processing of the credential information.
[0960] Optionally, the first message includes at least one of the following information:
[0961] 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 that the second device identified by the first service identifier be used to process the credential information;
[0962] 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;
[0963] information indicating a first service type, the first message being used at least to request the second device of the first service type to process the credential information;
[0964] Information used to indicate a reason for processing the credential information on the second device.
[0965] Optionally, the radio frequency unit 1701 is further configured to:
[0966] A third message is received from the second device, where the third message includes the first service identifier of the second device.
[0967] Optionally, the radio frequency unit 1701 is further configured to:
[0968] 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;
[0969] A fifth message is sent to the first function, the fifth message being used to at least indicate confirmation of processing of the credential information by the second device.
[0970] Optionally, the fifth message further includes at least one of the following information:
[0971] a first service identifier of the second device;
[0972] Information used to indicate the area where the second device is located;
[0973] Information used to indicate a service type of the second device.
[0974] Optionally, processing the credential information on the second device includes at least one of the following:
[0975] Deleting the first credential information of the second device;
[0976] releasing the first credential information of the second device;
[0977] Deregister the first credential information of the second device.
[0978] Optionally, the first message is also used to request deactivation of the second device;
[0979] or,
[0980] The radio frequency unit 1701 is also used for:
[0981] A sixth message is received from the first function, where the sixth message is used to request deactivation of the second device.
[0982] Optionally, the sixth message includes at least one of the following information:
[0983] a first service identifier, the sixth message being used to request deactivation of the second device identified by the first service identifier;
[0984] information indicating a first area, the sixth message being used to request deactivation of the second device in the first area;
[0985] The sixth message is used to indicate information of a first service type, and is used to request to deactivate the second device whose service type includes the first service type.
[0986] Optionally, the second message is further used to request deactivation of the second device;
[0987] or,
[0988] The radio frequency unit 1701 is also used for:
[0989] A seventh message is sent to the second device, where the seventh message is used to request deactivation of the second device.
[0990] 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;
[0991] or,
[0992] The radio frequency unit 1701 is also used for:
[0993] 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.
[0994] 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;
[0995] or,
[0996] The radio frequency unit 1701 is also used for:
[0997] A ninth message is sent to the first function, where the ninth message is used to indicate that the second device has been deactivated.
[0998] Optionally, processing the credential information on the second device includes at least one of the following:
[0999] Adding the second credential information of the second device;
[1000] Push second credential information to the second device.
[1001] 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;
[1002] or,
[1003] The radio frequency unit 1701 is also used for:
[1004] A tenth message is received 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.
[1005] Optionally, the tenth message includes at least one of the following information:
[1006] a first service identifier, the tenth message being used to request activation of the second device identified by the first service identifier;
[1007] information indicating a first area, the tenth message being used to request activation of the second device in the first area;
[1008] 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.
[1009] 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;
[1010] or,
[1011] The radio frequency unit 1701 is also used for:
[1012] 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.
[1013] Optionally, the first function includes an access mobility management function AMF.
[1014] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[1015] The embodiment of the present application also provides an Internet of Things device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Fig.10a or Fig.10b The steps of the method embodiment shown. 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.
[1016] Specifically, the present application embodiment also provides an Internet of Things device. Fig.18 As shown, the Internet of Things 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.
[1017] The radio frequency unit 1801 is used for:
[1018] receiving a second message from the first device, the second message being used at least to request the second device to perform a first process on the credential information;
[1019] The processor 1805 is used to:
[1020] A first processing of the credential information is performed.
[1021] or,
[1022] The radio frequency unit 1801 is used for:
[1023] receiving 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;
[1024] The processor 1805 is used to:
[1025] A second process of the credential information is performed.
[1026] The second device includes an Internet of Things (IoT) device, and the first device is a reading and writing device of the second device.
[1027] Optionally, the processor 1805 is specifically configured to perform at least one of the following:
[1028] Deleting the first credential information;
[1029] releasing the first credential information;
[1030] Deregistering the first credential information;
[1031] Added second credential information.
[1032] Optionally, the twelfth message is used to request to deactivate the second device, and the processor 1805 is specifically configured to perform at least one of the following:
[1033] Deleting the first credential information;
[1034] releasing the first credential information;
[1035] The first credential information is deregistered.
[1036] 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 processor 1805 is specifically configured to:
[1037] The second credential information is stored.
[1038] Optionally, the radio frequency unit 1801 is further configured to:
[1039] 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.
[1040] Optionally, the second message is further used to request deactivation of the second device;
[1041] or,
[1042] The radio frequency unit 1801 is also used for:
[1043] A seventh message is received from the first device, where the seventh message is used to request deactivation of the second device.
[1044] Optionally, the fourth message is further used to indicate confirmation of the deactivation by the second device;
[1045] or,
[1046] The radio frequency unit 1801 is also used for:
[1047] 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.
[1048] 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;
[1049] or,
[1050] The radio frequency unit 1801 is also used for:
[1051] 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.
[1052] Optionally, the first device includes a terminal or an access network device.
[1053] 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 state 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 an IoT device in a communication network can be processed in a timely manner, on the one hand, when an IoT device is not needed temporarily or permanently, 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 an 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 contact the communication network as soon as possible, saving signaling processes.
[1054] 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 the credential information of the Internet of Things device, and achieve the same or corresponding technical effect. To avoid repetition, it will not be repeated here.
[1055] The embodiment of 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 used to run a program or instruction to implement the following Figure 8 The steps of the method embodiment shown. The 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 can be applied to the access network device embodiment and can achieve the same technical effect.
[1056] Specifically, the embodiment of the present application also provides an access network device. Fig.19 As shown, the access network device 1900 includes: an antenna 191, a radio frequency device 192, a baseband device 193, a processor 194 and a memory 195. The antenna 191 is connected to the radio frequency device 192. In the uplink direction, the radio frequency device 192 receives information through the antenna 191 and sends the received information to the baseband device 193 for processing. In the downlink direction, the baseband device 193 processes the information to be sent and sends it to the radio frequency device 192. The radio frequency device 192 processes the received information and sends it out through the antenna 191.
[1057] 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.
[1058] The baseband device 193 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig.19 As shown, 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 to execute the network device operations shown in the above method embodiment.
[1059] The access network device may further include a network interface 196, which is, for example, a Common Public Radio Interface (CPRI).
[1060] Specifically, the access network device 1900 of the embodiment of the present application further includes: instructions or programs stored in the memory 195 and executable on the processor 194, and the processor 194 calls the instructions or programs in the memory 195 to execute. Fig. 9 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.
[1061] The present application also provides a core network device. Fig. 20 As shown, 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).
[1062] Specifically, the core network device 2000 of the embodiment of the present application further includes: an instruction or program stored in the memory 2003 and executable on the processor 2001, and the processor 2001 calls the instruction or program in the memory 2003 to execute Fig.13 or Fig.15 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.
[1063] The 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.
[1064] 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-transient readable storage medium.
[1065] 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 an Internet of Things device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[1066] 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.
[1067] The embodiment of the present application further provides a computer program / program product, which is stored in a storage medium, and is executed by at least one processor to implement the various processes of the above-mentioned embodiment of the method for processing credential information of an Internet of Things device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[1068] 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, wherein 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, 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.
[1069] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment 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 reverse 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.
[1070] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, it can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or an Internet of Things device or an access network device or a core network device to execute the methods described in each embodiment of the present application.
[1071] 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 the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.
Claims
1. A method for processing credential information of an IoT device, It is characterized in that include: 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that include: 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that include: 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that The thirteenth message is at least used to request the second device to process the credential information.
15. The method according to claim 14, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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 according to claim 11, 12 or 15, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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, It is characterized in that include: 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 according to claim 29, It is characterized in that 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 according to claim 29, It is characterized in that 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 according to claim 29, It is characterized in that The thirteenth message is at least used to request the second device to process the credential information.
33. The method according to claim 32, It is characterized in that 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 according to claim 32, It is characterized in that 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, It is characterized in that 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, It is characterized in that 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 according to claim 36, It is characterized in that 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 according to claim 37, It is characterized in that 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 according to claim 36, It is characterized in that 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 according to claim 36, It is characterized in that 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 according to claim 40, It is characterized in that 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.
42. A device for processing credential information of an Internet of Things device, It is characterized in that Applied to a first device, the apparatus comprises: 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, 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 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, It is characterized in that Applied to a second device, the apparatus comprises 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, It is characterized in that Applied to the first function, the device comprises: 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, It is characterized in that Applied to the second function, the device comprises: A first sending module, used for sending 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, It is characterized in that The invention comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and 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, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it 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 when it is executed, it 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 when it is executed, it 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 when it is executed, it 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.
