WO2024222602A1 - 物联网设备凭证信息的处理方法、装置及相关设备 - Google Patents
物联网设备凭证信息的处理方法、装置及相关设备 Download PDFInfo
- Publication number
- WO2024222602A1 WO2024222602A1 PCT/CN2024/089011 CN2024089011W WO2024222602A1 WO 2024222602 A1 WO2024222602 A1 WO 2024222602A1 CN 2024089011 W CN2024089011 W CN 2024089011W WO 2024222602 A1 WO2024222602 A1 WO 2024222602A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- credential information
- function
- information
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y30/00—IoT infrastructure
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y30/00—IoT infrastructure
- G16Y30/10—Security thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
- H04W12/068—Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
Definitions
- 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.
- IoT devices i.e., IoT devices
- IoT devices with detection, sensing and other functions can use wireless signals to communicate with communication networks.
- 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.
- 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.
- 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.
- the embodiments of the present application provide a method, apparatus and related equipment for processing credential information of an IoT device, which can solve the problem that related technologies cannot process credential information of IoT devices.
- a method for processing credential information of an IoT device comprising:
- the first device receives a first message from a first function, where the first message is at least used to request that credential information of a second device be processed, where the second device includes an IoT device, the first device is a reading and writing device of the second device, and the credential information is credential information of the second device in a communication network;
- the first device sends a second message to the second device, where the second message is at least used to request processing of the credential information.
- a method for processing credential information of an IoT device comprising:
- the second device receives a second message from the first device, where the second message is at least used to request the second device to perform a first process on the credential information;
- the second device performs a first process on the credential information
- 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.
- IoT Internet of Things
- a method for processing credential information of an IoT device comprising:
- the first function receives a thirteenth message from the second function
- the first function sends a first message to 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.
- IoT Internet of Things
- a method for processing credential information of an IoT device comprising:
- the second function sends a thirteenth message to the first function
- the second function receives a fourteenth message from the first function, where the fourteenth message is used to indicate that the second device has processed the credential information, where the second device includes an Internet of Things (IoT) device, and the credential information is the credential information of the second device in the communication network.
- IoT Internet of Things
- a device for processing credential information of an IoT device which is applied to a first device, and includes:
- 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.
- a device for processing credential information of an IoT device which is applied to a second device, and the device includes 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
- 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.
- IoT Internet of Things
- a device for processing credential information of an IoT device which is applied to the first function, and the device includes:
- 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.
- IoT Internet of Things
- a device for processing credential information of an IoT device which is applied to the second function, and the device includes:
- 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.
- IoT Internet of Things
- a terminal 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.
- a terminal 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.
- an Internet of Things device 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.
- an Internet of Things device 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;
- 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.
- IoT Internet of Things
- an access network device 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.
- an access network device 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.
- a core network device 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.
- a core network device including a processor and a communication interface.
- 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.
- 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.
- a readable storage medium on which a program or instruction is stored.
- 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.
- a wireless 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 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.
- a chip 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.
- 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.
- 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.
- the credential information of the IoT device can be processed.
- 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.
- FIG1 is a block diagram of a wireless communication system provided in an embodiment of the present application.
- FIG2 is a flow chart of a method for processing IoT device credential information provided by an embodiment of the present application
- FIG3 is a flow chart of an embodiment provided by the present application.
- FIG4 is a flow chart of another embodiment provided by the embodiment of the present application.
- FIG5 is a flow chart of another embodiment provided by the embodiments of the present application.
- FIG6 is a flow chart of another embodiment provided by the embodiment of the present application.
- FIG7 is a flow chart of another embodiment provided by the embodiment of the present application.
- FIG8 is a flow chart of a method for processing IoT device credential information provided by an embodiment of the present application.
- FIG9 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.
- FIG10a is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application
- FIG10b is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application
- FIG11 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.
- FIG. 12 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application
- FIG. 13 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
- 15 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
- FIG16 is a structural diagram of a communication device provided in an embodiment of the present application.
- FIG17 is a schematic diagram of the hardware structure of a terminal provided in an embodiment of the present application.
- FIG18 is a schematic diagram of the hardware structure of an Internet of Things device provided in an embodiment of the present application.
- FIG. 19 is a schematic diagram of the hardware structure of an access network device provided in an embodiment of the present application.
- Figure 20 is a schematic diagram of the hardware structure of another core network device provided in an embodiment of the present application.
- 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.
- “or” in the present application represents at least one of the connected objects.
- “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.
- 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.
- LTE Long Term Evolution
- LTE-A Long Term Evolution
- CDMA Code Division Multiple Access
- TDMA Time Division Multiple Access
- FDMA Frequency Division Multiple Access
- OFDMA Orthogonal Frequency Division Multiple Access
- SC-FDMA Single-carrier Frequency Division Multiple Access
- NR New Radio
- 6G 6th Generation
- Fig. 1 shows a block diagram of a wireless communication system applicable to the embodiment of the present application.
- the wireless communication system includes an Internet of Things device 11, a terminal 12, an access network device 13 and a core network device 14.
- the Internet of Things device 11 can be, for example, a device with detection, sensing and other functions.
- 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), a flight vehicle (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.
- Tablet Personal Computer Tablet Personal Computer
- laptop computer laptop computer
- PDA personal digital assistant
- Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc.
- the vehicle-mounted device 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.
- 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.
- 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), or a wireless radio interface node B.
- the base station access point, relay station (Relay Base Station, RBS), serving base station (Serving Base Station, SBS), base transceiver station (Base Transceiver Station, BTS), radio base station, radio transceiver, basic service set (Basic Service Set, BSS), extended service set (Extended Service Set, ESS), home Node B (home Node B, HNB), home evolved Node B (home evolved Node B), transmission reception point (Transmission Reception Point, TRP) or other appropriate terms in the field, as long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is taken as an example for introduction, and the specific type of the base station is not limited.
- the core network device 14 may include but is not limited to at least one of the following: core network nodes, core network functions, 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 Func tion, EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (L-NEF), Binding Support Function (BSF), Application Function (AF), etc.
- MME mobility management entity
- AMF Access Mobility Management Function
- SMF session management function
- User Plane Function User Plane Function
- Policy Control Function Policy Control Function
- PCRF
- the "credential information” in this application refers to the credential information of an IoT device in a communication network.
- the related devices involved in the processing of the credential information of the IoT device in this application include but are not limited to the first device, the second device, the first function and the second function.
- the second device can be, for example, the IoT device 11 in Figure 1.
- the second device can be an Ambient Internet of Things (AIoT) device in the IoT device;
- the first device represents the reading and writing device (or reader/writer) of the second device.
- the first device can be, for example, the terminal 12 (also called the user equipment (UE)) or the access network device 13 in Figure 1;
- the first function can be the core network device 14 in Figure 1, and the second function can also be the core network device 14 in Figure 1.
- IoT devices generally refer to terminal devices used in certain specific scenarios or specific services.
- 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 App) to be executed.
- 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.
- 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, in the process of cultivating flowers, a flower shop can An AIoT device is placed on the flowerpot; the AIoT device can detect the environmental parameters of the flowerpot (such as temperature, humidity, etc.) and send them to the flower shop's application server through the communication network; the flower shop attendant can cultivate the flowers according to the environmental parameters received by the application server, such as watering the flowers or replenishing nutrient solution.
- the environmental parameters of the flowerpot such as temperature, humidity, etc.
- the flower shop attendant can cultivate the flowers according to the environmental parameters received by the application server, such as watering the flowers or replenishing nutrient solution.
- IoT devices such as AIoT devices access a communication network to obtain services
- they may need to obtain network credentials and sign a contract.
- 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.
- 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.
- 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.
- 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.
- FIG2 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application. As shown in FIG2 , the method for processing IoT device credential information includes the following steps:
- Step 201 The second function sends a thirteenth message to the first function
- Step 202 The first function receives the thirteenth message from the second function
- 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;
- Step 204 The first device receives a first message from the first function
- 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;
- Step 206 The second device receives a second message from the first device
- Step 207 The second device processes the credential information.
- the credential information of the second device in the communication network can be processed.
- the credential information of the second device in the communication network cannot be used, so the problem of the credential information being unusable can be solved. Since there is no unusable credential information, the waste of credential information resources can be avoided.
- 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.
- the first device may be either a UE or a RAN.
- 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.
- NAS Non-Access-Stratum
- the first device is a RAN
- messages between the AMF and the RAN may be encapsulated using the Next Generation Application Protocol (NGAP).
- NGAP Next Generation Application Protocol
- 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.
- 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.
- 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:
- the first device is an access point for the second device
- the second device accesses the communication network through the first device
- the first device sends an excitation signal to the second device
- the second device communicates with the communication network using the excitation signal from the first device.
- the second device can at least process the credential information when receiving any of the above requests forwarded by the second device.
- the second device can also perform deactivation or activation. Specific related solutions will be described below.
- the thirteenth message sent by the second function to the first function may include the following situations:
- Case 1 the thirteenth message is used to request to deactivate the second device
- Case 2 the thirteenth message is used to request activation of the second device
- Case 3 The thirteenth message is at least used to request the second device to process the credential information.
- situation 3 includes the following two situations:
- 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;
- 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.
- 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.
- 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.
- 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.
- 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.
- the thirteenth message includes at least one of the following information:
- first service identifier is used by the first device to identify the second device
- the second service identifier is used by the second function (and the first function) to identify the second device;
- the thirteenth message contains the first service identifier
- the thirteenth message contains the second service identifier
- the thirteenth message is used to request the deactivation of the second device identified by the second service identifier.
- the second device corresponding to the first service identifier and the second service identifier is actually the same second device, but 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 (EPC).
- the second service identifier can also be called a core network service identifier, such as an International Mobile Subscriber Identity (IMSI).
- IMSI International Mobile Subscriber Identity
- 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.
- the thirteenth message includes the first service identifier, it can be understood that the thirteenth message is used to request the second device identified by the first service identifier to process the credential information. If the thirteenth message includes information indicating the first area, it can be understood that the thirteenth message is used to request the processing of credential information for the second device identified by the second service identifier. If the thirteenth message includes information indicating the first area, it can be understood that the thirteenth message is used to request the processing of credential information for the second device located in the first area. If the thirteenth message includes information indicating the first service type, it can be understood that the thirteenth message is used to request the processing of credential information for the second device of the first service type.
- the thirteenth message contains the first service identifier
- 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.
- the thirteenth message contains the second service identifier
- 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.
- 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.
- the thirteenth message contains the first service identifier
- 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.
- the thirteenth message contains the second service identifier
- 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.
- 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.
- the first message sent by the first function to the first device may include the following situations:
- Case a the first message is used to request the second device to process the credential information
- Case b the first message is used to request deactivation of the second device and processing of credential information
- Case c The first message is used to request activation of the second device and processing of credential information.
- the first message includes at least one of the following information:
- 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
- the first message being used at least to request processing of the credential information on the second device in the first area
- the first message is used to indicate information of a first service type, wherein the first message is used to request at least
- the second device processes the credential information
- 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.
- 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.
- the first message can include the second credential information for the second device.
- 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.
- 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).
- the method for processing the IoT device credential information further includes the following steps:
- the first function sends a sixth message to the first device, where the sixth message is used to request to deactivate the second device;
- the first device receives a sixth message from the first function.
- the sixth message includes at least one of the following information:
- the sixth message being used to request deactivation of the second device identified by the first service identifier
- the sixth message being used to request deactivation of the second device in the first area
- 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.
- the method for processing the IoT device credential information further includes the following steps:
- the first function sends a tenth message to the first device, where the tenth message is used to request activation of the second device;
- the first device receives a tenth message from the first function.
- the second credential information for the second device i.e., the credential information that the second device needs to add
- the second credential information for the second device 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.
- the tenth message includes at least one of the following information:
- the tenth message being used to request activation of the second device identified by the first service identifier
- 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.
- the method for processing IoT device credential information may further include the following steps:
- the first function determines the first device based on the thirteenth message.
- 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.
- the second message sent by the first device to the second device may include the following situations:
- Case d the second message is used to request the second device to process the credential information
- Case e the second message is used to request the second device to deactivate and process the credential information
- Case f The second message is used to request the second device to activate and process the credential information.
- 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.
- 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.
- the second message can include the second credential information for the second device.
- 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.
- the method for processing the IoT device credential information further includes the following steps:
- the first device sends a seventh message to the second device, where the seventh message is used to request to deactivate the second device;
- the second device receives a seventh message from the first device
- the second device performs a deactivation action and sends a deactivation confirmation message to the first device.
- 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.
- the method for processing the IoT device credential information further includes the following steps:
- the first device sends an eleventh message to the second device, where the eleventh message is used to request activation of the second device;
- the second device receives an eleventh message from the first device
- the second device performs an activation action and sends an activation confirmation message to the first device.
- the second credential information for the second device (that is, the credential information that the second device needs to add) can be carried through the eleventh message, and the second credential information for the second device can also be carried through the second message.
- the examples are not limited to this.
- 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.
- the first device receives a third message from the second device, and the third message includes the first service identifier of the second device.
- 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.
- the first device 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.
- 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 .
- the second device may process the credential information in the following two cases:
- the second device processes the credential information, including at least one of the following:
- Case g applies to the scenario where the second device is deactivated or needs to be deactivated.
- 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.
- the second device stores second credential information.
- Case h is applicable to the scenario where the second device is activated or needs to be activated.
- 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.
- the method for processing IoT device credential information further includes the following steps:
- 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;
- the first device receives a fourth message from the second device
- 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;
- the first function receives a fifth message from the first device
- 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.
- the fifth message further includes at least one of the following information:
- the fourteenth message includes:
- the method for processing the credential information of the Internet of Things device further includes the following steps:
- the first function deletes context information of the second device.
- the context information of the second device includes at least one of the following information:
- contract data The contract information of the second device (may also be referred to as “contract data”);
- the fourth message is also used to indicate the confirmation of the deactivation by the second device.
- the method further includes:
- 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.
- the eighth message can be understood as the aforementioned deactivation confirmation message.
- the fifth message is also used to indicate that the second device has been deactivated.
- the method further includes:
- 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;
- the first function receives a ninth message from the first 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.
- the fourteenth message is also used to indicate that the second device has been deactivated.
- the method further includes:
- 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.
- 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.
- the fourteenth message is also used to indicate that the second device has been activated.
- the method further includes:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- the second function can have multiple options, for example, the second function can select IoT NF or NEF.
- the second function can select IoT NF or NEF.
- the interactive process of the above-mentioned method for processing IoT device credential information More different interaction processes may also be involved.
- Various situations of the second function are described below.
- the second function includes the IoT NF, and the method further includes:
- the second function processes relevant information of the second device.
- 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 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.
- the second function processes the relevant information of the second device, including at least one of the following:
- 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.
- 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.
- 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.
- IoT NF can initiate step 201 based on the deactivation (or activation) request initiated by NEF.
- NEF can initiate a deactivation (or activation) request based on the deactivation (or activation) request initiated by IoT App.
- IoT App can also be referred to as IoT AF.
- the eighteenth message further 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;
- the second service identifier is used by the second function to identify the second device
- the method further comprises:
- 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.
- the second function includes the NEF
- the method further includes:
- the first function sends a sixteenth message to the third function, and 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.
- the second function includes the NEF
- the method further includes:
- the second function sends a twentieth message to the third function, and the twentieth 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.
- the contract information of the second device is processed, including:
- the contract information of the second device is deleted.
- the contract information of the second device is processed, including:
- the second device performs local credential information processing.
- the first function performs local credential information processing.
- the second device when the second device receives the twelfth message from the first device, the second device processes the credential information, wherein:
- the second device processes 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 twelfth message includes second credential information for the second device, and the second device processes the credential information, including:
- the second device stores second credential information.
- the second device may locally delete (or release, deregister) the credential information of the second device.
- the second device may locally add credential information when receiving the activation request and when the activation request carries new credential information.
- 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.
- the thirteenth message is used to request deactivation of the second device, and the method further includes:
- the first function After receiving the thirteenth message, the first function directly deletes the context information of the second device.
- the first function may directly and locally delete the context information of the second device upon receiving the deactivation request.
- 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.
- the embodiments of the present application can realize the processing of credential information of IoT devices.
- the credential information of IoT devices can be processed in a timely manner.
- 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.
- the second device 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, and provides a specific embodiment to exemplarily illustrate the method for processing the IoT device credential information of the present application.
- the details not described in the method embodiment corresponding to FIG2 can be referred to the relevant description of any of the following embodiments, and the relevant description of any of the following embodiments is applicable to the method embodiment corresponding to FIG2. To avoid repetition, this will not be described in detail.
- Example 1 AIoT NF determines to trigger the credential deletion process, first deactivates and then deletes the credential
- the method for processing IoT device credential information includes the following steps:
- 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, and AIoT device service type.
- the AIoT device external service identifier is used by AIoT App to identify the AIoT device.
- AIoT App may also be referred to as AIoT AF.
- 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;
- the AIoT device service type describes the type of target AIoT device that needs to be deactivated.
- 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.
- 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.
- 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.
- Step 302 NEF sends a deactivation request message to AIoT NF.
- 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.
- Step 303 AIoT NF sends a deactivation request message to AMF.
- the deactivation message carries the parameters acquired in step 301.
- Step 304 AMF sends a deactivation request message to UE1.
- the air interface service identifier is used by UE1 to identify the AIoT device.
- UE1 can obtain the air interface service identifier through other processes (such as the process of inventorying or obtaining the AIoT device identifier).
- AMF can determine UE1 according to the parameter information in the deactivation request and send a deactivation request to UE1.
- AMF also determines UE1 according to the reader/writer information corresponding to the AIoT device.
- Step 305 UE1 deactivates the AIoT device.
- UE1 sends a deactivation request message to the AIoT device.
- UE1 may receive a deactivation confirmation message from the AIoT device.
- 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.
- 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.
- Step 306 UE1 sends a deactivation response message to AMF.
- 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.
- Step 307 AMF sends a deactivation response message to AIoT NF.
- AIoT NF receives the deactivation response message.
- 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.
- 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.
- 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 .
- the deletion reason may be set to "AIoT device deactivation".
- AIoT NF can obtain the identifier used by AIoT device in the core network based on the service identifier of AIoT device.
- the credential deletion request message may be a deregistration request message or an AIoT deregistration request message.
- 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.
- 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 service type of the AIoT device, and the reason for deletion.
- Air interface refers to the communication interface between the reader and the AIoT device.
- the reader is introduced by taking UE (ie, UE1) as an example, and can also be replaced by RAN.
- 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.
- 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.
- Step 3010 UE1 executes a credential deletion request for the AIoT device.
- UE1 sends a credential deletion request message to the AIoT device, and UE1 may receive a credential deletion confirmation message from the AIoT device.
- 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.
- 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.
- Step 3011 UE1 sends a delete credential response message to AMF.
- 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.
- 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.
- Step 3012 AMF sends a delete credential response message to AIoT NF.
- 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.
- AIoT NF obtains the AIoT device identifier (air interface service identifier or identifier used in the core network or AIoT
- the AIoT NF deletes the contract data (or contract information) corresponding to the credential.
- 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.
- 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 contract data locally. The AMF can also release the context information related to the AIoT device locally.
- AIoT devices can also release credentials locally.
- Releasing the credential locally means deleting the locally stored credential related to the AIoT device, as well as related contract data or context information.
- Step 3013 AIoT NF sends a deactivation response message to NEF.
- 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.
- the deactivation response message also includes at least one of the following parameters: region, AIoT device service identifier, and AIoT device service type.
- the deactivation response message also includes a delete credential parameter, indicating that the credential of the corresponding AIoT device has been deleted.
- Step 3014 NEF sends a deactivation response message to the AIoT App.
- 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.
- Embodiment 2 AIoT NF determines to trigger the credential deletion process, and the deactivation and credential deletion processes are combined as shown in FIG4 .
- the method for processing IoT device credential information includes the following steps:
- Step 401 to step 402 refer to the description of step 301 to step 302 in embodiment 1.
- Step 403 AIoT NF sends a deactivation request to AMF.
- 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.
- Step 404 AMF sends a deactivation request to UE1.
- the deactivation request includes the service identifier of the AIoT device. Refer to the description of step 304 in Example 1.
- the deactivation request also includes a delete credential request parameter.
- Step 405 UE1 deactivates the AIoT device.
- Step 405a UE1 deletes the credential of the AIoT device.
- 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.
- 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.
- 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.
- Step 406 UE1 sends a deactivation response message to AMF.
- the deactivation response message includes a delete credential response parameter, indicating that the credential of the AIoT device has been deleted as requested.
- the deactivation response message also includes a service identifier of the AIoT device, indicating that the credential of the AIoT device has been deleted.
- 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.
- Step 407 AMF sends a deactivation response to AIoT NF.
- AIoT NF receives the deactivation response.
- the deactivation response message includes a delete credential response parameter.
- the deactivation response message also includes a service identifier of the AIoT device.
- the AIoT NF obtains the credential of the AIoT device corresponding to the AIoT device service identifier.
- the AIoT NF deletes the contract data corresponding to the credential.
- 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.
- Step 408 to step 409 refer to step 3013 to step 3014 of embodiment 1.
- AIoT NF may also send a delete credential request message.
- it includes a deactivation request indication.
- AMF sends a delete credential request message.
- it includes a deactivation request indication.
- UE1 sends a delete credential response message.
- it includes a deactivation response.
- AMF sends a delete credential response message.
- it includes a deactivation response.
- 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 achieve The recycling of credentials/contracts can avoid the waste of credential information resources.
- Example 3 AMF determines to trigger the credential deletion process, and merges the deactivation and deletion credential processes
- the method for processing IoT device credential information includes the following steps:
- Step 501 to step 503 refer to the description of step 301 to step 303 in embodiment 1.
- Step 504 AMF sends a deactivation request to UE1.
- the deactivation request includes the service identifier of the AIoT device. Refer to the description of step 304 in Example 1.
- the deactivation request also includes a delete credential request parameter.
- Step 505 to step 505a refer to the description of step 405 to step 405a in Example 2.
- Step 506 Refer to the description of step 406 in Example 2.
- Step 507 AMF sends a deactivation response to AIoT NF.
- AIoT NF receives the deactivation response.
- Step 507a AMF sends a credential deletion notification to AIoT NF.
- This notification indicates that the target AIoT device's credential has been deleted.
- 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.
- the area can be a geographical location, a geographical location range, or a network location.
- 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.
- the AIoT NF deletes the contract data corresponding to the credential.
- 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.
- the AIoT NF obtains the credential of the AIoT device corresponding to the service identifier of the AIoT device.
- Step 507a may be combined with step 507.
- 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.
- Step 508 to step 509 refer to step 3013 to step 3014 of embodiment 1.
- the AMF may also send a delete credential request message.
- it includes a deactivation request indication.
- the UE1 may also send a delete credential response message.
- it includes a deactivation response.
- AMF can also trigger the deactivation and credential deletion processes respectively.
- AMF sends a deactivation request message and a credential deletion request message to UE1 respectively.
- UE1 sends a deactivation response message and a credential deletion response message to AMF respectively.
- 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 Timely release or recovery of the credential information of IoT devices in the communication network can save the operator's credentials/contracts and achieve the recycling of credentials/contracts, thereby avoiding the waste of credential information resources.
- Example 4 AIoT NF determines the triggering process of pushing credential, first activates and then pushes credential
- the method for processing IoT device credential information includes the following steps:
- Step 601 The AIoT App sends an activation request message to the capability exposure platform NEF.
- the activation request message includes at least one of the following parameters: region, AIoT device external service identifier, and AIoT device service type.
- 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;
- the AIoT device service type describes the type of target AIoT device that needs to be activated.
- the activation request includes an indication that credentials need to be pushed, which indicates that credentials need to be pushed to the target AIoT device.
- Step 602 NEF sends an activation request message to AIoT NF.
- the NEF authorizes the activation request message.
- the NEF authorizes the activation request message.
- deactivation is replaced by activation.
- Step 603 AIoT NF sends an activation request message to AMF.
- the activation message carries the parameters obtained in step 601.
- Step 604 AMF sends an activation request message to UE1.
- step 304 in Example 1 where deactivation is replaced by activation.
- Step 605 UE1 activates the AIoT device.
- step 305 in Example 1 where deactivation is replaced by activation.
- 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.
- step 606 also includes a core network identification acquisition indication.
- the core network identification acquisition indication may 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 indicates that the AIoT device needs to obtain a credential, and not carrying the indication indicates that the credential does not need to be obtained.
- 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.
- the credential push 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 reason for pushing.
- 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 .
- the push reason may be set to "AIoT device activation".
- the AIoT NF performs at least one of the following:
- the AIoT NF sends a push request based on the core network identifier in the activation response message.
- the AIoT NF after receiving the activation response message, the AIoT NF sends a push request.
- the AIoT NF obtains the identifier of the AIoT device (step 607), it authenticates the identifier and then sends a push request.
- AIoT NF can confirm that it is the App's device 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.
- 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.
- 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 service type of the AIoT device, and the reason for deletion.
- 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.
- 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.
- Step 6011 UE1 sends a push credential response message to AMF.
- Step 6012 AMF sends a push credential response message to AIoT NF.
- Step 6013 AIoT NF sends an activation response message to NEF.
- Step 6014 NEF sends an activation response message to AIoT AF.
- step 3010 to step 3014 in embodiment 1.
- Deactivation is replaced by activation
- deletion is replaced by adding or pushing.
- Example 4 can realize the processing of credential information of IoT devices in the activation scenario.
- 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.
- Example 5 AIoT NF determines to trigger the push credential process, and the activation and push credential processes are merged
- 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.
- the activation request includes an indication to push the credential and the credential.
- the activation response includes push credential response information.
- the push credential request message includes activation request indication information; the push credential response message includes activation request response information.
- the method for processing IoT device credential information includes the following steps:
- Step 701 to Step 702 See the description of Step 601 to Step 602 in Example 4.
- Step 703 AIoT NF sends an activation request to AMF.
- 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.
- Step 704 AMF sends an activation request to UE1.
- the activation request includes the service identifier of the AIoT device. Refer to the description of step 604 in Example 4.
- the activation request also includes push credential request parameters.
- Step 705 UE1 activates the AIoT device.
- Step 705a UE1 executes a push credential request for the AIoT device.
- 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.
- 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.
- 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.
- Step 706 UE1 sends an activation response message to AMF.
- the activation response message includes a push credential response parameter, indicating that the credential of the AIoT device has been pushed as requested.
- the activation response message also includes a service identifier of the AIoT device, indicating that the credential of the AIoT device has been pushed.
- Step 707 AMF sends an activation response to AIoT NF.
- AIoT NF receives the activation response.
- the activation response message includes a push credential response parameter.
- the activation response message also includes a service identifier of the AIoT device.
- the AIoT NF obtains the credential of the AIoT device corresponding to the AIoT device service identifier.
- the AIoT NF marks the newly added credential.
- the AIoT NF may perform at least one of the following: add a corresponding relationship between the AIoT device service identifier and the credential; mark the credential and the corresponding contract data as being in use or activated; add The contract data corresponding to the credential; stores the AIoT device service tag; marks the AIoT device service tag as having a credential status.
- Step 708 to step 709 refer to step 6013 to step 6014 of embodiment 4.
- AIoT NF may also send a push credential request message.
- it includes an activation request indication.
- AMF sends a push credential request message.
- it includes an activation request indication.
- UE1 sends a push credential response message.
- it includes an activation response.
- AMF sends a push credential response message.
- it includes an activation response.
- Example 5 can realize the processing of credential information of IoT devices in the activation scenario.
- 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.
- FIG8 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application, and the method for processing IoT device credential information is executed by a first device. As shown in FIG8 , the method for processing IoT device credential information includes the following steps:
- 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;
- 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.
- the first message includes at least one of the following information:
- 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
- the first message being used at least to request processing of the credential information on the second device in the first area
- the credential 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
- the method before the first device sends the second message to the second device, the method further includes:
- the first device receives a third message from the second device, where the third message includes a first service identifier of the second device.
- 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.
- the fifth message further includes at least one of the following information:
- processing the credential information on the second device includes at least one of the following:
- the first message is also used to request deactivation of the second device
- the method further comprises:
- the first device receives a sixth message from the first function, where the sixth message is used to request deactivation of the second device.
- the sixth message includes at least one of the following information:
- the sixth message being used to request deactivation of the second device identified by the first service identifier
- the sixth message being used to request deactivation of the second device in the first area
- 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.
- the second message is further used to request deactivation of the second device
- the method further comprises:
- the first device sends a seventh message to the second device, where the seventh message is used to request to deactivate the second device.
- 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;
- the method further comprises:
- 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.
- the fifth message is further used to indicate that the second device has been deactivated
- the method further comprises:
- 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.
- processing the credential information on the second device includes at least one of the following:
- 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;
- 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.
- the tenth message includes at least one of the following information:
- the tenth message being used to request activation of the second device identified by the first service identifier
- 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.
- 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;
- the method further comprises:
- 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.
- the first device includes a terminal or an access network device
- the first function includes an access mobility management function AMF.
- the credential information of an IoT device it is possible to process the credential information of an IoT device.
- the credential information of an IoT device can be processed in a timely manner.
- 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.
- 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.
- 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.
- FIG9 shows a structural diagram of a device for processing IoT device credential information provided in an embodiment of the present application, and the device for processing IoT device credential information can be applied to a first device.
- the device for processing IoT device credential information 900 includes:
- 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;
- 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.
- the first message includes at least one of the following information:
- 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 processed with respect to the credential information
- the first message being used at least to request processing of the credential information on the second device in the first area
- the credential 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
- the IoT device credential information processing device 900 further includes:
- 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.
- the IoT device credential information processing device 900 further includes:
- 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;
- 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.
- the fifth message further includes at least one of the following information:
- processing the credential information on the second device includes at least one of the following:
- the first message is also used to request deactivation of the second device
- the IoT device credential information processing device 900 further includes:
- 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.
- the sixth message includes at least one of the following information:
- the sixth message being used to request deactivation of the second device identified by the first service identifier
- the sixth message being used to request deactivation of the second device in the first area
- 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.
- the second message is further used to request deactivation of the second device
- the IoT device credential information processing device 900 further includes:
- 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.
- the fourth message is further used to indicate confirmation of the deactivation by the second device
- the IoT device credential information processing device 900 further includes:
- 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.
- the fifth message is further used to indicate that the second device has been deactivated
- the IoT device credential information processing device 900 further includes:
- 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.
- processing the credential information on the second device includes at least one of the following:
- 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;
- the IoT device credential information processing device 900 further includes:
- 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.
- the tenth message includes at least one of the following information:
- the tenth message being used to request activation of the second device identified by the first service identifier
- 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.
- 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;
- the IoT device credential information processing device 900 further includes:
- 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.
- the first device includes a terminal or an access network device
- the first function includes an access mobility management function AMF.
- the credential information of an IoT device it is possible to process the credential information of an IoT device.
- 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.
- the device 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.
- the IoT device credential information processing device 900 provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 8 and achieve the same technical effect. To avoid repetition, it will not be described here.
- Figure 10a shows a flowchart of a method for processing credential information of an Internet of Things device provided in an embodiment of the present application
- Figure 10b shows a flowchart of a method for processing credential information of an Internet of Things device provided in an embodiment of the present application.
- the method for processing credential information of the Internet of Things device in Figure 10a and the method for processing credential information of the Internet of Things device in Figure 10b are both executed by the second device.
- the method for processing IoT device credential information includes the following steps:
- 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;
- Step 1002a The second device performs a first process on the credential information.
- the method for processing IoT device credential information includes the following steps:
- 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;
- Step 1002b The second device performs a second process on the credential information.
- the second device performs a first processing 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.
- 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:
- the second device deletes the first credential information
- the second device releases the first credential information
- the second device deregisters the first credential information.
- 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:
- the second device stores the second credential information.
- 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.
- the second message is further used to request deactivation of the second device
- the method further comprises:
- the second device receives a seventh message from the first device, where the seventh message is used to request deactivation of the second device.
- the fourth message is further used to indicate confirmation of the deactivation by the second device
- the method further comprises:
- 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.
- 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;
- the method further comprises:
- the second device receives an eleventh message from the first device, wherein the eleventh message is used to request activation of the The second device, the second message or the eleventh message includes the second credential information for the second device.
- the first device includes a terminal or an access network device.
- the credential information of an IoT device it is possible to process the credential information of an IoT device.
- the credential information of an IoT device can be processed in a timely manner.
- 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.
- 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.
- 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.
- FIG11 shows a structural diagram of a device for processing IoT device credential information provided in an embodiment of the present application, and the device for processing IoT device credential information can be applied to a second device.
- the device for processing IoT device credential information 1100 includes a first receiving module 1101 and a processing module 1102:
- 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;
- the processing module 1102 is used to perform a first process on the credential information
- 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;
- the processing module 1102 is used to perform 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.
- IoT Internet of Things
- processing module 1102 is specifically configured to perform at least one of the following:
- 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:
- the first credential information is deregistered.
- 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:
- the second credential information is stored.
- the IoT device credential information processing device 1100 further includes:
- 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.
- the second message is further used to request deactivation of the second device
- the IoT device credential information processing device 1100 further includes:
- 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.
- the fourth message is further used to indicate confirmation of the deactivation by the second device
- the IoT device credential information processing device 1100 further includes:
- 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.
- 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;
- the IoT device credential information processing device 1100 further includes:
- 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.
- the first device includes a terminal or an access network device.
- the credential information of an IoT device it is possible to process the credential information of an IoT device.
- the credential information of an IoT device can be processed in a timely manner.
- the credential information of the IoT device in the communication network can be processed in a timely manner, on the one hand, when the IoT device is temporarily or permanently not needed, the credential information of the IoT device in the communication network can be released or recovered in a timely manner, thereby avoiding the waste of credential information resources; on the other hand, when the IoT device is activated or needs to be activated, the credential information can be added to the IoT device in a timely manner, thereby enabling the IoT device to contact the communication network as soon as possible, saving signaling processes.
- the IoT device credential information processing device 1100 provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 10a or FIG. 10b and achieve the same technical effect. To avoid repetition, it will not be described here.
- FIG12 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application, wherein the method for processing IoT device credential information is executed by a first function. As shown in FIG12 , the method for processing IoT device credential information includes the following steps:
- Step 1201 The first function receives the thirteenth message from the second function
- 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.
- 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:
- the method further comprises:
- the first function deletes the context information of the second device.
- 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:
- the thirteenth message is at least used to request the second device to process the credential information.
- 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:
- 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:
- the first message includes at least one of the following information:
- 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;
- the first message being used to request processing of the credential information on the second device in the first area
- the thirteenth message includes at least one of the following information:
- first service identifier is used by the first device to identify the second device
- the second service identifier is used by the second function to identify the second device
- the method further includes:
- the first function determines the first device based on the thirteenth message.
- 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.
- the fifth message includes at least one of the following information:
- 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.
- the fourteenth message includes:
- a second service identifier of the second device where the second service identifier is used for the second function to identify the second device.
- the method further includes:
- the first function deletes context information of the second device.
- the context information of the second device includes at least one of the following information:
- the first message is also used to request deactivation of the second device
- 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.
- the sixth message includes at least one of the following information:
- the sixth message being used to request deactivation of the second device identified by the first service identifier
- the sixth message being used to request deactivation of the second device in the first area
- 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.
- the fifth message is further used to indicate that the second device has been deactivated
- the method further comprises:
- 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.
- the fourteenth message is further used to indicate that the second device has been deactivated
- the method further comprises:
- 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.
- 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;
- 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.
- the first device includes a terminal or an access network device
- the first function includes an access mobility management function AMF
- the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.
- the second function includes the NEF
- the method further includes:
- the first function sends a sixteenth message to the third function, and 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.
- processing the contract information of the second device includes:
- the credential information of IoT devices it is possible to process the credential information of IoT devices.
- 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 IoT devices are not needed temporarily or permanently, they can be released or returned in a timely manner.
- the 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 the signaling process.
- 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.
- 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.
- FIG13 shows a structural diagram of a device for processing IoT device credential information provided in an embodiment of the present application, and the device for processing IoT device credential information can be applied to the first function.
- the device for processing IoT device credential information 1300 includes:
- the first receiving module 1301 is used to receive a thirteenth message from the second function
- 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.
- IoT Internet of Things
- 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:
- the IoT device credential information processing device 1300 further includes:
- 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.
- 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:
- the thirteenth message is at least used to request the second device to process the credential information.
- 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:
- 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:
- the first message includes at least one of the following information:
- 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;
- the first message being used to request processing of the credential information on the second device in the first area
- the thirteenth message includes at least one of the following information:
- first service identifier is used by the first device to identify the second device
- the second service identifier is used by the second function to identify the second device
- the method further includes:
- the first function determines the first device based on the thirteenth message.
- the IoT device credential information processing device 1300 further includes:
- 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.
- the fifth message includes at least one of the following information:
- the IoT device credential information processing device 1300 further includes:
- 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.
- the fourteenth message includes:
- a second service identifier of the second device where the second service identifier is used for the second function to identify the second device.
- the IoT device credential information processing device 1300 further includes:
- the second deleting module is configured to delete the context information of the second device after the second receiving module receives the fifth message.
- the context information of the second device includes at least one of the following information:
- the first message is also used to request deactivation of the second device
- the IoT device credential information processing device 1300 further includes:
- 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.
- the sixth message includes at least one of the following information:
- the sixth message being used to request deactivation of the second device identified by the first service identifier
- the sixth message being used to request deactivation of the second device in the first area
- 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.
- the fifth message is further used to indicate that the second device has been deactivated
- the IoT device credential information processing device 1300 further includes:
- 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.
- the fourteenth message is further used to indicate that the second device has been deactivated
- the IoT device credential information processing device 1300 further includes:
- 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.
- 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;
- the IoT device credential information processing device 1300 further includes:
- 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.
- the first device includes a terminal or an access network device
- the first function includes an access mobility management function.
- AMF the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.
- the second function includes the NEF
- the method further includes:
- the first function sends a sixteenth message to the third function, and 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.
- processing the contract information of the second device includes:
- the credential information of an IoT device it is possible to process the credential information of an IoT device.
- the credential information of an IoT device can be processed in a timely manner.
- 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.
- the IoT device credential information processing device 1300 provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 12 and achieve the same technical effect. To avoid repetition, it will not be described here.
- FIG14 is a flowchart of a method for processing IoT device credential information provided by an embodiment of the present application, wherein the method for processing IoT device credential information is executed by a second function. As shown in FIG14 , the method for processing IoT device credential information includes the following steps:
- Step 1401 The second function sends a thirteenth message to the first function
- 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.
- IoT Internet of Things
- 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.
- 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.
- the thirteenth message is at least used to request the second device to process the credential information.
- 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:
- 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.
- 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:
- the second device has processed the addition of the second credential information.
- 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;
- the second service identifier is used by the second function to identify the second device
- the fourteenth message includes:
- a second service identifier where the second service identifier is used by the second function to identify the second device.
- the fourteenth message is further used to indicate that the second device has been deactivated
- the method further comprises:
- 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.
- the fourteenth message is further used to indicate that the second device has been activated
- the method further comprises:
- 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.
- the first function includes an access mobility management function AMF
- the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.
- the second function includes the IoT NF, and the method further includes:
- the second function processes relevant information of the second device.
- 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.
- 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.
- the eighteenth message further 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;
- the second service identifier is used by the second function to identify the second device
- the method further comprises:
- 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.
- the second function includes the NEF
- the method further includes:
- the second function sends a twentieth message to the third function, and the twentieth 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.
- processing the contract information of the second device includes:
- the credential information of the IoT device it is possible to process the credential information of the IoT device.
- the credential information of IoT devices can be processed in a timely manner.
- the credential information of IoT devices in the communication network can be processed in a timely manner, on the one hand, when the IoT device is 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 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 contact the communication network as soon as possible, saving signaling processes.
- 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.
- 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.
- FIG15 shows a structural diagram of a device for processing IoT device credential information provided in an embodiment of the present application, and the device for processing IoT device credential information can be applied to the second function.
- the device for processing IoT device credential information 1500 includes:
- the first sending module 1501 is used to send a thirteenth message to the first function
- 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.
- IoT Internet of Things
- 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.
- 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.
- the thirteenth message is at least used to request the second device to process the credential information.
- 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:
- 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.
- 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:
- the second device has processed the addition of the second credential information.
- 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;
- the second service identifier is used by the second function to identify the second device
- the fourteenth message includes:
- a second service identifier where the second service identifier is used by the second function to identify the second device.
- the fourteenth message is further used to indicate that the second device has been deactivated
- the IoT device credential information processing device 1500 further includes:
- 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.
- the fourteenth message is further used to indicate that the second device has been activated
- the IoT device credential information processing device 1500 further includes:
- 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.
- the first function includes an access mobility management function AMF
- the second function includes an Internet of Things network function entity IoT NF or a network open function NEF.
- the second function includes the IoT NF
- the IoT device credential information processing device 1500 further includes:
- a processing module is used to process the relevant information of the second device.
- processing module is specifically used for at least one of the following:
- the service identification of the second device is marked as having credential information.
- the second function includes the IoT NF
- the IoT device credential information processing device 1500 further includes:
- 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.
- the eighteenth message further 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;
- the second service identifier is used by the second function to identify the second device
- the IoT device credential information processing device 1500 further includes:
- 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.
- the second function includes the NEF
- the device 1500 for processing the credential information of the Internet of Things device further includes:
- the third sending module is used to send a twentieth message to the third function, wherein the twentieth 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.
- processing the contract information of the second device includes:
- the credential information of an IoT device it is possible to process the credential information of an IoT device.
- the credential information of an IoT device can be processed in a timely manner.
- 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.
- the IoT device credential information processing device 1500 provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 14 and achieve the same technical effect. To avoid repetition, it will not be described here.
- 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 another device other than a terminal.
- 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.
- the embodiment of the present application further provides a communication device 1600, including a processor 1601 and a memory 1602, and the memory 1602 stores a program or instruction that can be run on the processor 1601.
- the communication device 1600 when the communication device 1600 is a first device, the program or instruction is executed by the processor 1601 to implement the various steps of the method embodiment of FIG8, and the same technical effect can be achieved.
- the communication device 1600 is a second device, the program or instruction is executed by the processor 1601 to implement the various steps of the method embodiment of FIG10a or FIG10b, and the same technical effect can be achieved.
- the communication device 1600 is a first function
- the program or instruction is executed by the processor 1601 to implement the various steps of the method embodiment of FIG12, and the same technical effect can be achieved.
- the communication device 1600 is a second function, the program or instruction is executed by the processor 1601 to implement the various steps of the method embodiment of FIG14, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- 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 steps in the method embodiment shown in Figure 8.
- 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.
- the embodiment of the present application also provides a second device, 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 steps in the method embodiment shown in Figure 10a or Figure 10b.
- the second device embodiment corresponds to the above-mentioned second device side method embodiment, and each implementation process and implementation method of the above-mentioned second device side method embodiment can be applied to the second device embodiment and can achieve the same technical effect.
- 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 steps in the method embodiment shown in Figure 12.
- the first function embodiment corresponds to the first function side method embodiment described above, and each implementation process and implementation method of the first function side method embodiment described above can be applied to the first function embodiment and can achieve the same technical effect.
- 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 steps in the method embodiment shown in Figure 14.
- the second function embodiment corresponds to the above-mentioned second function side method embodiment, and each implementation process and implementation method of the above-mentioned second function side method embodiment can be applied to the second function embodiment and can achieve the same technical effect.
- 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 steps of the method embodiment shown in Figure 8.
- 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 the terminal embodiment and can achieve the same technical effect.
- Figure 17 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of the present application.
- 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.
- the terminal 1700 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1710 through a power management system, so that the power management system can manage charging,
- a power source such as a battery
- the terminal structure shown in FIG17 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.
- 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 a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
- the radio frequency unit 1701 after receiving downlink data from the access network device, 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.
- 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.
- 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.
- the memory 1709 may include a volatile memory or a non-volatile memory.
- the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- 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).
- RAM random access memory
- SRAM static random access memory
- DRAM dynamic random access memory
- SDRAM synchronous dynamic random access memory
- DDRSDRAM double data rate synchronous dynamic random access memory
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronous link dynamic random access memory
- DRRAM direct memory bus random access memory
- 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.
- the radio frequency unit 1701 is used for:
- the first message is at least used to request processing of credential information of a second device
- the second device includes an IoT device
- the first device is a reading and writing device of the second device
- the credential information is credential information of the second device in a communication network
- a second message is sent to the second device, where the second message is at least used to request processing of the credential information.
- the first message includes at least one of the following information:
- 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
- the first message being used at least to request processing of the credential information on the second device in the first area
- the credential 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
- the radio frequency unit 1701 is further configured to:
- a third message is received from the second device, where the third message includes the first service identifier of the second device.
- the radio frequency unit 1701 is further configured to:
- 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.
- the fifth message further includes at least one of the following information:
- processing the credential information on the second device includes at least one of the following:
- the first message is also used to request deactivation of the second device
- the radio frequency unit 1701 is also used for:
- a sixth message is received from the first function, where the sixth message is used to request deactivation of the second device.
- the sixth message includes at least one of the following information:
- the sixth message being used to request deactivation of the second device identified by the first service identifier
- the sixth message being used to request deactivation of the second device in the first area
- 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.
- the second message is further used to request deactivation of the second device
- the radio frequency unit 1701 is also used for:
- a seventh message is sent to the second device, where the seventh message is used to request deactivation of the second device.
- 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;
- the radio frequency unit 1701 is also used for:
- 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.
- the fifth message is further used to indicate that the second device has been deactivated
- the radio frequency unit 1701 is also used for:
- a ninth message is sent to the first function, where the ninth message is used to indicate that the second device has been deactivated.
- processing the credential information on the second device includes at least one of the following:
- 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;
- the radio frequency unit 1701 is also used for:
- 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.
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
本申请公开了一种物联网设备凭证信息的处理方法、装置及相关设备,属于通信技术领域,本申请实施例的第一设备侧的方法包括:第一设备接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;所述第一设备向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
Description
相关申请的交叉引用
本申请主张在2023年4月28日在中国提交的中国专利申请No.202310477939.6的优先权,其全部内容通过引用包含于此。
本申请属于通信技术领域,具体涉及一种物联网设备凭证信息的处理方法、装置及相关设备。
随着物联网(Internet of Things,IoT)技术的发展,具有探测、传感等功能的物联网设备(即IoT设备)可以使用无线信号与通信网络进行通信。物联网设备在接入通信网络获得服务时,可能需要获得通信网络的凭证或签约。物联网设备的数量通常较为庞大,且各物联网设备一般用于特定的场景或特定的服务。当物联网设备的状态或使用场景发生变化时(如:暂时或永久不需要使用,或,使用的场景或服务被调整),存在对物联网设备进行凭证信息的处理的需求。然而,相关技术尚没有对物联网设备进行凭证信息的处理的相关方案,这导致无法对物联网设备进行凭证信息的处理。
发明内容
本申请实施例提供一种物联网设备凭证信息的处理方法、装置及相关设备,能够解决相关技术无法对物联网设备进行凭证信息的处理的问题。
第一方面,提供了一种物联网设备凭证信息的处理方法,该方法包括:
第一设备接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;
所述第一设备向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
第二方面,提供了一种物联网设备凭证信息的处理方法,该方法包括:
第二设备接收来自第一设备的第二消息,所述第二消息至少用于请求所述第二设备进行凭证信息的第一处理;
所述第二设备进行所述凭证信息的第一处理;
或者,
第二设备接收来自第一设备的第十二消息,所述第十二消息用于请求去激活所述第二设备,或请求激活所述第二设备;
所述第二设备进行凭证信息的第二处理;
其中,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备。
第三方面,提供了一种物联网设备凭证信息的处理方法,该方法包括:
第一功能接收来自第二功能的第十三消息;
所述第一功能向第一设备发送第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
第四方面,提供了一种物联网设备凭证信息的处理方法,该方法包括:
第二功能向第一功能发送第十三消息;
所述第二功能接收来自第一功能的第十四消息,所述第十四消息用于指示第二设备已进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
第五方面,提供了一种物联网设备凭证信息的处理装置,应用于第一设备,该装置包括:
第一接收模块,用于接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;
第一发送模块,用于向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
第六方面,提供了一种物联网设备凭证信息的处理装置,应用于第二设备,该装置包括第一接收模块和处理模块,其中,
所述第一接收模块用于:接收来自第一设备的第二消息,所述第二消息至少用于请求所述第二设备进行凭证信息的第一处理;
所述处理模块用于:进行所述凭证信息的第一处理;
或者,
所述第一接收模块用于:接收来自第一设备的第十二消息,所述第十二消息用于请求去激活所述第二设备,或请求激活所述第二设备;
所述处理模块用于:进行凭证信息的第二处理;
其中,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备。
第七方面,提供了一种物联网设备凭证信息的处理装置,应用于第一功能,该装置包括:
第一接收模块,用于接收来自第二功能的第十三消息;
第一发送模块,用于向第一设备发送第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
第八方面,提供了一种物联网设备凭证信息的处理装置,应用于第二功能,该装置包括:
第一发送模块,用于向第一功能发送第十三消息;
第一接收模块,用于接收来自第一功能的第十四消息,所述第十四消息用于指示第二设备已进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
第九方面,提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第十方面,提供了一种终端,包括处理器及通信接口。其中,所述通信接口用于:接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
第十一方面,提供了一种物联网设备,该物联网设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第二方面所述的方法的步骤。
第十二方面,提供了一种物联网设备,包括处理器及通信接口。其中,所述通信接口用于:接收来自第一设备的第二消息,所述第二消息至少用于请求所述第二设备进行凭证信息的第一处理;所述处理器用于:进行所述凭证信息的第一处理;
或者,
所述通信接口用于:接收来自第一设备的第十二消息,所述第十二消息用于请求去激活所述第二设备,或请求激活所述第二设备;所述处理器用于:进行凭证信息的第二处理;其中,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备。
第十三方面,提供了一种接入网设备,该接入网设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第十四方面,提供了一种接入网设备,包括处理器及通信接口。其中,所述通信接口用于:接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
第十五方面,提供了一种核心网设备,该核心网设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第三方面或第四方面所述的方法的步骤。
第十六方面,提供了一种核心网设备,包括处理器及通信接口。
该核心网设备为第一功能时,所述通信接口用于:接收来自第二功能的第十三消息;向第一设备发送第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
该核心网设备为第二功能时,所述通信接口用于:向第一功能发送第十三消息;接收来自第一功能的第十四消息,所述第十四消息用于指示第二设备已进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
第十七方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第四方面所述的方法的步骤。
第十八方面,提供了一种无线通信系统,包括:第一设备、第二设备、第一功能及第二功能,所述第一设备可用于执行如第一方面所述的方法的步骤,所述第二设备可用于执行如第二方面所述的方法的步骤,所述第一功能可用于执行如第三方面所述的方法的步骤,所述第二功能可用于执行如第四方面所述的方法的步骤。
第十九方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤,或实现如第二方面所述的方法的步骤,或实现如第三方面所述的方法的步骤,或实现如第四方面所述的方法的步骤。
第二十方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤,或实现如第二方面所述的方法的步骤,或实现如第三方面所述的方法的步骤,或实现如第四方面所述的方法的步骤。
在本申请实施例中,第一设备接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;所述第一设备向所述第二设备发送第二消息,所述第二消息至少用于请求所述第二设备进行所述凭证信息的处理。通过上述过程,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
图1是本申请实施例提供的一种无线通信系统的框图;
图2是本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图;
图3是本申请实施例提供的一实施例的流程图;
图4是本申请实施例提供的另一实施例的流程图;
图5是本申请实施例提供的另一实施例的流程图;
图6是本申请实施例提供的另一实施例的流程图;
图7是本申请实施例提供的另一实施例的流程图;
图8是本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图;
图9是本申请实施例提供的一种物联网设备凭证信息的处理装置的结构图;
图10a是本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图;
图10b是本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图;
图11是本申请实施例提供的一种物联网设备凭证信息的处理装置的结构图;
图12是本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图;
图13是本申请实施例提供的一种物联网设备凭证信息的处理装置的结构图;
图14是本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图;
图15是本申请实施例提供的一种物联网设备凭证信息的处理装置的结构图;
图16是本申请实施例提供的一种通信设备的结构图;
图17是本申请实施例提供的一种终端的硬件结构示意图;
图18是本申请实施例提供的一种物联网设备的硬件结构示意图;
图19是本申请实施例提供的一种接入网设备的硬件结构示意图;
图20是本申请实施例提供的另一种核心网设备的硬件结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
本申请的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,本申请中的“或”表示所连接对象的至少其中之一。例如“A或B”涵盖三种方案,即,方案一:包括A且不包括B;方案二:包括B且不包括A;方案三:既包括A又包括B。字符“/”一般表示前后关联对象是一种“或”的关系。
本申请的术语“指示”既可以是一个直接的指示(或者说显式的指示),也可以是一个间接的指示(或者说隐含的指示)。其中,直接的指示可以理解为,发送方在发送的指示中明确告知了接收方具体的信息、需要执行的操作或请求结果等内容;间接的指示可以理解为,接收方根据发送方发送的指示确定对应的信息,或者进行判断并根据判断结果确定需要执行的操作或请求结果等。
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(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)或其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统以外的系统,如第6代(6th Generation,6G)通信系统。
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括物联网设备11、终端12、接入网设备13和核心网设备14。
其中,物联网设备11例如可以是具有探测、传感等功能的设备。
终端12可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(Augmented Reality,AR)、虚拟现实(Virtual Reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、飞行器(flight vehicle)、车载设备(Vehicle User Equipment,VUE)、船载设备、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(Personal Computer,PC)、柜员机或者自助机等终端侧设备。可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。其中,车载设备也可以称为车载终端、车载控制器、车载模块、车载部件、车载芯片或车载单元等。需要说明的是,在本申请实施例并不限定终端12的具体类型。
接入网设备13也可以称为无线接入网(Radio Access Network,RAN)设备、无线接入网功能或无线接入网单元。接入网设备13可以包括基站、无线局域网(Wireless Local Area Network,WLAN)接入点(Access Point,AP)或无线保真(Wireless Fidelity,WiFi)节点等。其中,基站可被称为节点B(Node B,NB)、演进节点B(Evolved Node B,eNB)、下一代节点B(the next generation Node B,gNB)、新空口节点B(New Radio Node B,NR Node
B)、接入点、中继站(Relay Base Station,RBS)、服务基站(Serving Base Station,SBS)、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点(home Node B,HNB)、家用演进型B节点(home evolved Node B)、发送接收点(Transmission Reception Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。
核心网设备14可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility Management Entity,MME)、接入移动管理功能(Access and Mobility Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge Application Server Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM)、统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home Subscriber Server,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF)、网络开放功能(Network Exposure Function,NEF)、本地NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR系统中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。
本申请中的“凭证信息”指IoT设备(device)在通信网络中的凭证信息(credential),本申请的物联网设备凭证信息的处理所涉及的相关设备包括但不限于第一设备、第二设备、第一功能和第二功能。其中,第二设备例如可以是图1中的物联网设备11,示例性的,第二设备可以是IoT设备中的环境物联网(Ambient Internet of Things,AIoT)设备;第一设备表示第二设备的读写设备(或称读写器),第一设备例如可以是图1中的终端12(也可称为用户设备(User Equipment,UE))或接入网设备13;第一功能可以是图1中的核心网设备14,第二功能也可以是图1中的核心网设备14。
为了便于理解,以下先对IoT设备、AIoT设备的相关情况分别进行简单的介绍。
IoT设备一般指用于某些特定的场景或特定的服务的终端设备,例如,IoT设备可以应用于智能家居、智能城市、智能公用设施、电子健康等场景或服务。IoT设备可针对所需执行的服务或应用程序(如IoT App)的特定需求进行优化。
AIoT设备指可以从环境中获取能量的IoT设备,其中,环境能量来源可以包括:太阳能、无线信号、振动等。AIoT设备还可以由网络触发其进行通信,例如,网络向AIoT设备发送激励信号,该激励信号用于触发AIoT设备进行通信。
AIoT设备可以与终端或者接入网设备直接通信。AIoT设备也可以通过终端或者接入网设备接入网络。AIoT设备可以在多种场景中使用。例如,花店在培育花的过程中,可以在
花盆上放置AIoT设备;该AIoT设备可以探测花盆的环境参数(例如温度、湿度等)并通过通信网络发送给花店的应用服务器;花店服务员可以根据应用服务器接收到的环境参数培育花,例如给花浇水或补充营养液。
IoT设备如AIoT设备在接入通信网络获得服务时,可能需要获得通信网络的凭证和签约。在上述例子中,当花店的一盆花被售出时,放置在该花盆上的AIoT设备不需要再探测花盆的环境参数并且向花店App发送了。此时,可能有两种场景:
场景一:该AIoT设备不会再被利用。此时,该AIoT设备可以永久被去激活(一个设备被去激活,指该设备不能发送无线信号)。该场景下,该AIoT设备在通信网络中的凭证信息被该AIoT设备占用,而无法被其他设备使用。由于AIoT设备的数量较为庞大,这会造成信息资源的浪费,具体地,造成凭证信息资源的浪费。
场景二:该AIoT设备后续可能仍然会被激活,例如该AIoT设备会被回收利用。此时,该AIoT设备可以暂时被去激活。考虑到该AIoT设备在回收利用后使用的场景或服务可能会被调整,该AIoT设备相关联的运营商和企业都可能会发生变化,则该AIoT设备在通信网络中的凭证信息无法继续被该AIoT设备使用,导致该AIoT设备无法及时与通信网络联系。
综上可知,当IoT设备的状态或者使用场景发生变化时,存在对IoT设备进行凭证信息的处理的需求。然而,相关技术尚没有对物联网设备进行凭证信息的处理的相关方案,这导致无法对物联网设备进行凭证信息的处理。鉴于此,本申请实施例提供一种物联网设备凭证信息的处理方法,以解决相关技术无法对物联网设备进行凭证信息的处理的问题。
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的物联网设备凭证信息的处理方法、装置及相关设备进行详细地说明。
图2示出了本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图。如图2所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤201:第二功能向第一功能发送第十三消息;
步骤202:第一功能接收来自第二功能的第十三消息;
步骤203:第一功能向第一设备发送第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;
步骤204:第一设备接收来自第一功能的第一消息;
步骤205:第一设备向第二设备发送第二消息,所述第二消息至少用于请求所述第二设备进行所述凭证信息的处理;
步骤206:第二设备接收来自第一设备的第二消息;
步骤207:第二设备进行凭证信息的处理。
在本申请实施例中,通过上述过程,能够实现对第二设备在通信网络中的凭证信息进行处理。这样,当第二设备的状态发生变化时,由于第二设备在通信网络中的凭证信息能
够得到处理,因此,能够解决第二设备在通信网络中的凭证信息无法使用的问题。由于不存在无法使用的凭证信息,能够避免凭证信息资源的浪费。
本申请实施例中,第二功能例如可以是物联网网络功能实体(IoT Network Function,IoT NF)或AIoT NF,第二功能还可以是NEF,第一功能例如可以是AMF,第一设备例如可以是UE或RAN,第二设备例如可以是IoT设备或AIoT设备。需要说明的是,本申请实施例中,第一设备既可以是UE,也可以是RAN。当第一设备为UE时,AMF与UE之间的消息可以使用UE的非接入层(Non-Access-Stratum,NAS)协议进行封装。当第一设备为RAN时,AMF与RAN之间的消息可以使用下一代应用协议(Next Generation Application Protocol,NGAP)进行封装。
其中,第二功能可以与第一功能进行通信,第二功能可以发起对第二设备进行去激活的请求,或发起对第二设备进行激活的请求,或发起对第二设备的凭证信息进行处理的请求,或同时发起对第二设备进行去激活和对第二设备的凭证信息进行删除(或释放、去注册)的请求,或同时发起对第二设备进行激活和对第二设备的凭证信息进行新增(或推送)的请求。
第一功能可以与第一设备进行通信,第一功能可以向第一设备转发第二功能发起的上述任一种请求,或在接收到第二功能发起的对第二设备进行去激活的请求的情况下,同时发起对第二设备进行去激活和对第二设备的凭证信息进行删除(或释放、去注册)的请求,或在接收到第二功能发起的对第二设备进行激活的请求的情况下,同时发起对第二设备进行激活和对第二设备的凭证信息进行新增(或推送)的请求。
第一设备为第二设备的读写设备,第一设备可以向第二设备转发第一功能发送的上述任一种请求。第一设备为第二设备的读写设备可以包括但不限于如下多种理解:
第一设备为第二设备的接入点;
第二设备通过第一设备接入通信网络;
第一设备向第二设备发送激励信号;
第二设备使用来自第一设备的激励信号与通信网络进行通信。
第二设备在接收到第二设备转发的上述任一种请求下,至少可以进行凭证信息的处理。额外的,第二设备还可以进行去激活或激活。具体的相关方案将在下文进行说明。
通过上述说明可知,本申请实施例中,第二功能向第一功能发送的第十三消息可以包括如下的情况:
情况1:第十三消息用于请求去激活所述第二设备;
情况2:第十三消息用于请求激活所述第二设备;
情况3:第十三消息至少用于请求对第二设备进行凭证信息的处理。
其中,情况3又包括如下的两种情况:
情况3-1:第十三消息用于请求对第二设备进行凭证信息的处理,且第十三消息还用于请求去激活所述第二设备;
情况3-2:第十三消息用于请求对第二设备进行凭证信息的处理,且第十三消息还用于请求激活所述第二设备。
对于情况3,凭证信息的相关处理方式可以包括删除处理、释放处理、去注册处理、新增处理、推送处理中的至少一项。对于情况1和情况3-1,凭证信息的处理可以理解为与AIoT设备去激活相关的处理,例如可以包括删除处理、释放处理、去注册处理中的至少一项。对于情况2和情况3-2,凭证信息的处理可以理解为与AIoT设备激活相关的处理,例如可以包括新增处理、推送处理中的至少一项。也就是说,与(AIoT设备)去激活相关的凭证信息的处理方式可以包括删除处理、释放处理或去注册处理,与(AIoT设备)激活相关的凭证信息的处理方式可以包括新增处理或推送处理。
可选地,第十三消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备;
第二服务标识,所述第二服务标识用于所述第二功能(和所述第一功能)识别所述第二设备;
用于指示第一区域的信息;
用于指示第一服务类型的信息;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
对于上述情况1,若第十三消息包含第一服务标识,则可以理解为第十三消息用于请求对所述第一服务标识所标识的第二设备进行去激活。若第十三消息包含第二服务标识,则可以理解为第十三消息用于请求对所述第二服务标识所标识的第二设备进行去激活。需要说明的是,第一服务标识和第二服务标识对应的第二设备实际上为同一第二设备,只不过第一服务标识是用于第一设备来识别第二设备的,第二服务标识是用于核心网设备(如第二功能、第一功能)来识别第二设备的,第一服务标识又可称为空口服务标识,例如电子产品编码(Electronic Product Code,EPC)等。第二服务标识又可称为核心网服务标识,例如国际移动用户识别码(International Mobile Subscriber Identity,IMSI)等。若第十三消息包含用于指示第一区域的信息,则可以理解为第十三消息用于请求对位于第一区域的第二设备进行去激活。若第十三消息包含用于指示第一服务类型的信息,则可以理解为第十三消息用于请求对第一服务类型的第二设备进行去激活。
相应的,对于上述情况2,若第十三消息包含第一服务标识,则可以理解为第十三消息用于请求对所述第一服务标识所标识的第二设备进行激活。若第十三消息包含第二服务标识,则可以理解为第十三消息用于请求对所述第二服务标识所标识的第二设备进行激活。若第十三消息包含用于指示第一区域的信息,则可以理解为第十三消息用于请求对位于第一区域的第二设备进行激活。若第十三消息包含用于指示第一服务类型的信息,则可以理解为第十三消息用于请求对第一服务类型的第二设备进行激活。
相应的,对于上述情况3,若第十三消息包含第一服务标识,则可以理解为第十三消息用于请求对所述第一服务标识所标识的第二设备进行凭证信息的处理。若第十三消息包含
第二服务标识,则可以理解为第十三消息用于请求对所述第二服务标识所标识的第二设备进行凭证信息的处理。若第十三消息包含用于指示第一区域的信息,则可以理解为第十三消息用于请求对位于第一区域的第二设备进行凭证信息的处理。若第十三消息包含用于指示第一服务类型的信息,则可以理解为第十三消息用于请求对第一服务类型的第二设备进行凭证信息的处理。
相应的,对于上述情况3-1,若第十三消息包含第一服务标识,则可以理解为第十三消息用于请求对所述第一服务标识所标识的第二设备进行去激活,且还用于请求对所述第一服务标识所标识的第二设备进行与去激活相关的凭证信息的处理。若第十三消息包含第二服务标识,则可以理解为第十三消息用于请求对所述第二服务标识所标识的第二设备进行去激活,且还用于请求对所述第二服务标识所标识的第二设备进行与去激活相关的凭证信息的处理。若第十三消息包含用于指示第一区域的信息,则可以理解为第十三消息用于请求对位于第一区域的第二设备进行去激活,且还用于请求对位于第一区域的第二设备进行与去激活相关的凭证信息的处理。若第十三消息包含用于指示第一服务类型的信息,则可以理解为第十三消息用于请求对第一服务类型的第二设备进行去激活,且还用于请求对第一服务类型的第二设备进行与去激活相关的凭证信息的处理。
相应的,对于上述情况3-2,若第十三消息包含第一服务标识,则可以理解为第十三消息用于请求对所述第一服务标识所标识的第二设备进行激活,且还用于请求对所述第一服务标识所标识的第二设备进行与激活相关的凭证信息的处理。若第十三消息包含第二服务标识,则可以理解为第十三消息用于请求对所述第二服务标识所标识的第二设备进行激活,且还用于请求对所述第二服务标识所标识的第二设备进行与激活相关的凭证信息的处理。若第十三消息包含用于指示第一区域的信息,则可以理解为第十三消息用于请求对位于第一区域的第二设备进行激活,且还用于请求对位于第一区域的第二设备进行与激活相关的凭证信息的处理。若第十三消息包含用于指示第一服务类型的信息,则可以理解为第十三消息用于请求对第一服务类型的第二设备进行激活,且还用于请求对第一服务类型的第二设备进行与激活相关的凭证信息的处理。
本申请实施例中,第一功能向第一设备发送的第一消息可以包括如下的情况:
情况a:第一消息用于请求对所述第二设备进行凭证信息的处理;
情况b:第一消息用于请求对所述第二设备进行去激活以及进行凭证信息的处理;
情况c:第一消息用于请求对所述第二设备进行激活以及进行凭证信息的处理。
可选地,所述第一消息包含如下信息的至少一项:
第一服务标识,所述第一消息至少用于请求对所述第一服务标识所标识的所述第二设备进行所述凭证信息的处理;
用于指示第一区域的信息,所述第一消息至少用于请求对所述第一区域中的所述第二设备进行所述凭证信息的处理;
用于指示第一服务类型的信息,所述第一消息至少用于请求对所述第一服务类型的所
述第二设备进行所述凭证信息的处理;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
上述情况b可以理解为第一功能可以通过一个消息(即第一消息)来同时发送去激活和凭证信息处理的请求,即去激活流程和凭证信息删除(或释放、去注册)处理流程合并。
上述情况c可以理解为第一功能可以通过一个消息(即第一消息)来同时发送激活和凭证信息处理的请求,即激活流程和凭证信息新增(或推送)处理流程合并。在情况c中,第一消息可包含用于第二设备的第二凭证信息。
对于情况a,可以是第一功能先请求对第二设备进行去激活(或激活),再请求对所述第二设备进行凭证信息的处理。例如,第一功能在收到第二设备已进行去激活(或激活)的反馈(或响应)消息之后,再请求对所述第二设备进行凭证信息的处理。
对于情况a,也可以是第一功能先请求对第二设备进行凭证信息的处理,再请求对所述第二设备进行去激活(或激活)。例如,第一功能在收到第二设备已进行凭证信息的处理的反馈(或响应)消息之后,再请求对所述第二设备进行去激活(或激活)。
可选地,对于去激活的情况,在第一功能向第一设备发送第一消息之前,物联网设备凭证信息的处理方法还包括如下步骤:
第一功能向第一设备发送第六消息,所述第六消息用于请求去激活所述第二设备;
第一设备接收来自第一功能的第六消息。
可选地,所述第六消息包含如下信息的至少一项:
第一服务标识,所述第六消息用于请求去激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第六消息用于请求去激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第六消息用于请求去激活服务类型包括所述第一服务类型的所述第二设备。
可选地,对于激活的情况,在第一功能向第一设备发送第一消息之前,物联网设备凭证信息的处理方法还包括如下步骤:
第一功能向第一设备发送第十消息,所述第十消息用于请求激活所述第二设备;
第一设备接收来自第一功能的第十消息。
该可选方案中,可以通过第十消息携带用于第二设备的第二凭证信息(即第二设备需要新增的凭证信息),也可以通过第一消息携带用于第二设备的第二凭证信息,本申请实施例对此不作限定。
可选地,所述第十消息包含如下信息的至少一项:
第一服务标识,所述第十消息用于请求激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第十消息用于请求激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第十消息用于请求激活服务类型包括所述第一服务类型的所述第二设备。
可选地,在步骤202之后,在步骤203之前,物联网设备凭证信息的处理方法还可以包括如下步骤:
第一功能基于所述第十三消息,确定所述第一设备。
具体的,第一功能可以根据第十三消息中包含的信息来确定第一设备,第一功能还可以根据第二设备对应的读写设备信息(或称读写器信息)确定第一设备。在第一功能确定第一设备之后,即可执行步骤203。
本申请实施例中,第一设备向第二设备发送的第二消息可以包括如下的情况:
情况d:第二消息用于请求所述第二设备进行凭证信息的处理;
情况e:第二消息用于请求所述第二设备进行去激活以及进行凭证信息的处理;
情况f:第二消息用于请求所述第二设备进行激活以及进行凭证信息的处理。
上述情况e可以理解为第一设备可以通过一个消息(即第二消息)来同时发送去激活和凭证信息处理的请求,即去激活流程和凭证信息删除(或释放、去注册)处理流程合并。
上述情况f可以理解为第一设备可以通过一个消息(即第二消息)来同时发送激活和凭证信息处理的请求,即激活流程和凭证信息新增(或推送)处理流程合并。在情况f中,第二消息可包含用于第二设备的第二凭证信息。
对于情况d,第一设备在请求所述第二设备进行凭证信息的处理之前,第一设备可以先请求对第二设备进行去激活(或激活)。在收到第二设备已进行去激活(或激活)的确认消息之后,第一设备再请求所述第二设备进行凭证信息的处理。
可选地,对于去激活的情况,在第一设备向第二设备发送第二消息之前,物联网设备凭证信息的处理方法还包括如下步骤:
第一设备向第二设备发送第七消息,所述第七消息用于请求去激活所述第二设备;
第二设备接收来自第一设备的第七消息;
第二设备执行去激活行为,并向第一设备发送去激活确认消息。
这里,去激活确认消息可理解为第二设备成功去激活。在一些情况下,也不排除第二设备去激活失败的情况,如果第二设备去激活失败,第二设备可以向第二设备发送去激活响应消息,该消息中可以包含用于指示失败原因的信息。
可选地,对于激活的情况,在第一设备向第二设备发送第二消息之前,物联网设备凭证信息的处理方法还包括如下步骤:
第一设备向第二设备发送第十一消息,所述第十一消息用于请求激活所述第二设备;
第二设备接收来自第一设备的第十一消息;
第二设备执行激活行为,并向第一设备发送激活确认消息。
该可选方案中,可以通过第十一消息携带用于第二设备的第二凭证信息(即第二设备需要新增的凭证信息),也可以通过第二消息携带用于第二设备的第二凭证信息,本申请实
施例对此不作限定。
对于第一消息包含第一服务标识的情况下,需要说明的是,如果第一设备已经在本申请实施例步骤205之前获取到第二设备的第一服务标识,则在步骤204之后,第一设备可根据第一服务标识,向第一服务标识对应的第二设备发送第二消息。如果第一设备未获取到第二设备的第一服务标识,其中一种方式是:在步骤204之后,第一设备可以以广播的方式发送第二消息,并在第二消息中携带第一服务标识,这样,具有与第一服务标识相同服务标识的第二设备在接收到第二消息之后,可进行凭证信息的处理,并向第一设备发送确认消息。而不具有与第一服务标识相同服务标识的其他设备可不执行任何响应。其中另一种方式是:在步骤204之后,第一设备接收来自第二设备的第三消息,第三消息包含所述第二设备的第一服务标识。这里,第二设备可以主动上报其第一服务标识,即第二设备主动向第一设备发送第三消息,也可以基于第一设备的盘点请求来上报其第一服务标识,即第二设备在接收到第一设备的盘点请求之后,再向第一设备发送第三消息。第一设备发送的盘点请求可以是广播消息,也可以是发给多个设备的消息。该情况下,第一设备除了可以接收到第二设备上报的第一服务标识,还可以接收到其他设备上报的服务标识。第一设备在获取到设备的服务标识之后,可只向匹配第一服务标识的第二设备发送第二消息。
值得说明的是,步骤204之后第一设备获取第二设备的第一服务标识的方式也可以用于步骤205之前第一设备获取第二设备的第一服务标识。
在步骤207中,第二设备进行凭证信息的处理可以包括如下两种情况:
情况g:所述第二设备进行所述凭证信息的处理,包括如下至少一项:
对所述第二设备的第一凭证信息进行删除处理;
对所述第二设备的第一凭证信息进行释放处理;
对所述第二设备的第一凭证信息进行去注册处理。
情况g适用于第二设备去激活或需要去激活的场景。这里,第一凭证信息可以理解为第二设备在去激活之前所使用的凭证信息。在第二设备去激活之后,第二设备不能发送无线信号,第一凭证信息也无法被其他物联网设备使用,第一凭证信息可视为闲置的凭证信息。
情况h:所述第二设备进行所述凭证信息的处理,包括:
所述第二设备存储第二凭证信息。
情况h适用于第二设备激活或需要激活的场景。这里,第二凭证信息可以理解为通信网络为第二设备新增(或新推送)的凭证信息,第二设备在激活之后,需要使用第二凭证信息接入通信网络。
可选地,在步骤207之后,物联网设备凭证信息的处理方法还包括如下步骤:
第二设备向第一设备发送第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认;
第一设备接收来自第二设备的第四消息;
第一设备向第一功能发送第五消息,所述第五消息至少用于指示所述第二设备对所述凭证信息的处理的确认;
第一功能接收来自第一设备的第五消息;
第一功能向第二功能发送第十四消息,所述第十四消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
可选地,所述第五消息还包含如下信息的至少一项:
所述第二设备的第一服务标识;
用于指示所述第二设备所在的区域的信息;
用于指示所述第二设备的服务类型的信息。
可选地,所述第十四消息包含:
所述第二设备的第二服务标识。
可选地,对于凭证信息处理为删除(或释放、去注册)处理的情况,在第一功能接收到来自第一设备的第五消息之后,物联网设备凭证信息的处理方法还包括如下步骤:
所述第一功能删除所述第二设备的上下文信息。
可选地,所述第二设备的上下文信息包括如下信息的至少一项:
所述第二设备的状态信息;
所述第二设备在通信网络中的凭证信息;
所述第二设备的第一服务标识;
所述第二设备的第二服务标识;
所述第二设备的签约信息(也可以称为“签约数据”);
所述第二设备对应的读写设备的信息。
可选地,对于去激活流程和凭证信息删除(或释放、去注册)处理流程合并的情况,所述第四消息还用于指示所述第二设备对去激活的确认。
可选地,对于去激活流程和凭证信息删除(或释放、去注册)处理流程未合并的情况,所述方法还包括:
所述第一设备接收来自所述第二设备的第八消息,所述第八消息用于指示所述第二设备对去激活的确认。
这里,第八消息可以理解为前述的去激活确认消息。
可选地,对于去激活流程和凭证信息删除(或释放、去注册)处理流程合并的情况,所述第五消息还用于指示所述第二设备已去激活。
可选地,对于去激活流程和凭证信息删除(或释放、去注册)处理流程未合并的情况,所述方法还包括:
所述第一设备向所述第一功能发送第九消息,所述第九消息用于指示所述第二设备已去激活;
所述第一功能接收来自所述第一设备的第九消息。
需要说明的是,基于前述所提到的先对第二设备进行去激活,再对第二设备进行凭证信息的处理的方案,第一设备向第一功能发送第九消息的时机可以在第一设备向第一功能发送第五消息之前,且第一设备向第一功能发送第九消息的时机可以在第一设备接收到来自第二设备的第八消息之后。
可选地,对于去激活流程和凭证信息删除(或释放、去注册)处理流程未合并的情况,所述第十四消息还用于指示所述第二设备已去激活。
可选地,对于去激活流程和凭证信息删除(或释放、去注册)处理流程未合并的情况,所述方法还包括:
所述第一功能向所述第二功能发送第十五消息,所述第十五消息用于指示所述第二设备已去激活。
需要说明的是,基于前述所提到的先对第二设备进行去激活,再对第二设备进行凭证信息的处理的方案。第一功能向第二功能发送第十五消息的时机可以在第一功能向第二功能发送第十四消息之前,且第一功能向第二功能发送第十五消息的时机可以在第一功能接收到来自第一设备的第九消息之后。
可选地,对于激活流程和凭证信息新增(或推送)处理流程合并的情况,所述第十四消息还用于指示所述第二设备已激活。
可选地,对于激活流程和凭证信息新增(或推送)处理流程未合并的情况,所述方法还包括:
所述第一功能向所述第二功能发送第十七消息,所述第十七消息用于指示所述第二设备已激活。
对于激活流程和凭证信息新增(或推送)处理流程合并的情况,相关说明可参照上述去激活流程和凭证信息删除(或释放、去注册)处理流程合并的相关说明,为避免重复,对此不作赘述。
对于激活流程和凭证信息新增(或推送)处理流程未合并的情况,相关交互流程和未提及的消息均可以根据需求进行适应性增加,例如,可以通过增加第二十一消息、第二十二消息等消息,以用于指示所述第二设备已激活,为避免重复,对此不作赘述。
以上介绍了第二功能、第一功能、第一设备和第二设备参与物联网设备凭证信息的处理方法的交互流程,在上述交互过程中,可以由第二功能或第一功能发起凭证信息处理请求,以实现对第二设备在通信网络中的凭证信息进行处理。以上还以去激活和激活这两种可能的情况分别给出了对应的物联网设备凭证信息的处理方案,进一步地,还介绍了去激活流程与凭证信息处理流程合并、去激活流程与凭证信息处理流程未合并、激活流程与凭证信息处理流程合并、激活流程与凭证信息处理流程未合并这四种具体的情况所对应的实施方式。
本申请实施例中,第二功能可以有多种选择,例如,第二功能可以选择IoT NF,也可以选择NEF。当第二功能的选择不同时,上述物联网设备凭证信息的处理方法的交互流程
还可以涉及更多的不同的交互过程。以下对第二功能的各种情况分别进行说明。
可选地,所述第二功能包括所述IoT NF,所述方法还包括:
所述第二功能对所述第二设备的相关信息进行处理。
可选地,对于凭证信息处理为删除(或释放、去注册)处理的情况,所述第二功能对所述第二设备的相关信息进行处理,包括如下至少一项:
所述第二功能删除所述第二设备的第一凭证信息对应的签约信息;
所述第二功能将所述第二设备的第一凭证信息对应的签约信息标记为未使用状态;
所述第二功能将所述第二设备的第一凭证信息对应的签约信息标记为去激活状态;
所述第二功能删除所述第二设备的服务标识与所述第二设备的第一凭证信息之间的对应关系;
所述第二功能将所述第二设备的第一凭证信息标记为未使用状态;
所述第二功能将所述第二设备的第一凭证信息标记为去激活状态;
所述第二功能删除所述第二设备的服务标识;
所述第二功能将所述第二设备的服务标识标记为无凭证信息的状态。
在第二设备已去激活的情况下,第二设备在通信网络中的凭证信息无法使用,相应的,该凭证信息对应的签约信息也无法使用。因此,该实施方式中,通过对第二设备的签约信息进行删除处理,能够进一步减少信息资源的浪费。
可选地,对于凭证信息处理为新增处理的情况,所述第二功能对所述第二设备的相关信息进行处理,包括如下至少一项:
所述第二功能新增所述第二设备的第二凭证信息对应的签约信息;
所述第二功能将所述第二设备的第二凭证信息对应的签约信息标记为使用状态;
所述第二功能将所述第二设备的第二凭证信息对应的签约信息标记为激活状态;
所述第二功能新增所述第二设备的服务标识与所述第二设备的第二凭证信息之间的对应关系;
所述第二功能将所述第二设备的第二凭证信息标记为使用状态;
所述第二功能将所述第二设备的第二凭证信息标记为激活状态;
所述第二功能存储所述第二设备的服务标识;
所述第二功能将所述第二设备的服务标识标记为有凭证信息的状态。
该实施方式中,在第二设备已新增凭证信息的情况下,通过对第二设备的签约信息进行新增处理,这能够确保第二设备的新增的凭证信息能够正常使用,因此,这也能够减少信息资源的浪费。
可选地,所述第二功能包括所述IoT NF,在所述第二功能向第一功能发送第十三消息之前,所述方法还包括:
所述第二功能接收来自第三功能的第十八消息,所述第十八消息用于请求去激活所述第二设备,或,请求激活所述第二设备,所述第三功能包括所述NEF。
也就是说,当第二功能选择IoT NF,IoT NF可以基于NEF发起的去激活(或激活)请求来发起步骤201。需要说明的是,NEF可以基于IoT App发起的去激活(或激活)请求来发起去激活(或激活)请求。本申请实施例中,IoT App也可称为IoT AF。
可选地,所述第十八消息还包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于第一设备识别所述第二设备,所述第一设备为所述第二设备的读写设备;
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;
用于指示第一区域的信息;
用于指示第一服务类型的信息。
可选地,所述方法还包括:
所述第二功能向所述第三功能发送第十九消息,所述第十九消息用于指示所述第二设备已去激活,或,指示所述第二设备已激活。
可选地,所述第二功能包括所述NEF,所述方法还包括:
所述第一功能向第三功能发送第十六消息,所述第十六消息用于指示所述第三功能对所述第二设备的签约信息进行处理,所述第三功能包括所述IoT NF。
可选地,所述第二功能包括所述NEF,所述方法还包括:
所述第二功能向第三功能发送第二十消息,所述第二十消息用于指示所述第三功能对所述第二设备的签约信息进行处理,所述第三功能包括所述IoT NF。
可选地,对于凭证信息处理为删除(或释放、去注册)处理的情况,对所述第二设备的签约信息进行处理,包括:
对所述第二设备的签约信息进行删除。
可选地,对于凭证信息处理为新增处理的情况,对所述第二设备的签约信息进行处理,包括:
对所述第二设备的签约信息进行新增。
额外的,本申请实施例中,还提供以下的可选方案:
其一,在第二功能和第一功能均未发起凭证信息处理请求的情况下,由第二设备执行本地凭证信息处理的行为。
其二,在第二功能未发起凭证信息处理请求的情况下,由第一功能执行本地凭证信息处理的行为。
以下分别对上述的可选方案进行说明。
可选地,在第二设备接收到来自第一设备的第十二消息的情况下,所述第二设备进行凭证信息的处理,其中,
在所述第十二消息用于请求去激活所述第二设备的情况下,所述第二设备进行所述凭证信息的处理,包括如下至少一项:
所述第二设备对第一凭证信息进行删除处理;
所述第二设备对第一凭证信息进行释放处理;
所述第二设备对第一凭证信息进行去注册处理;
在所述第十二消息用于请求激活所述第二设备的情况下,所述第十二消息包含用于所述第二设备的第二凭证信息,所述第二设备进行所述凭证信息的处理,包括:
所述第二设备存储第二凭证信息。
该实施方式中,第二设备可以在接收到去激活请求的情况下,本地对第二设备的凭证信息进行删除(或释放、去注册)处理。
相应的,第二设备可以在接收到激活请求的情况下,且在激活请求中携带有新的凭证信息的情况下,本地新增凭证信息。
该实施方式通过由第二设备执行本地凭证信息处理的行为,能够简化物联网设备凭证信息的处理方法的交互流程。
可选地,所述第十三消息用于请求去激活所述第二设备,所述方法还包括:
所述第一功能在接收到所述第十三消息之后,直接删除所述第二设备的上下文信息。
该实施方式中,第一功能可以在接收到去激活请求的情况下,直接本地删除第二设备的上下文信息。
该实施方式通过由第一功能执行本地删除第二设备上下文信息的行为,能够简化物联网设备凭证信息的处理方法的交互流程。
综上,本申请实施例能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
为了更好地理解本申请的技术方案,以下以第二设备为AIoT设备,第一设备为UE1,第一功能为AMF,第二功能为AIoT NF,第三功能为NEF为例,提供具体的实施例对本申请的物联网设备凭证信息的处理方法进行示例性说明。此外,需要说明的是,图2对应的方法实施例中未予说明的细节内容可参见以下任何实施例的相关说明,以下任何实施例的相关说明均适用于图2对应的方法实施例,为避免重复,对此不作赘述。
实施例1:AIoT NF确定触发删除credential流程,先去激活再删除credential
如图3所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤301:AIoT App向NEF发送去激活请求消息。其中,去激活请求消息中包括以下参数中至少一项:区域,AIoT设备外部服务标识,AIoT设备服务类型。这里,AIoT设备外部服务标识用于AIoT App识别AIoT设备。
本申请实施例中,AIoT App也可称为AIoT AF。
其中,区域描述了对哪个区域中的AIoT设备进行去激活;AIoT设备外部服务标识描述了需要去激活的目标AIoT设备;AIoT设备服务类型描述了需要去激活的目标AIoT设备的类型。
可选地,去激活请求中包括需要删除credential的指示,该指示说明需要删除目标AIoT device的credential。
credential为目标AIoT device在核心网(如5G核心网)中的凭证信息,用以对AIoT device进行鉴权,或者用于在核心网中标识AIoT device。示例性的,AIoT device的credential可以包括以下参数至少一项:AIoT device在核心网中的标识,AIoT device用于认证的密钥或安全参数,AIoT device与通信网络之间传输数据的密钥或安全参数。
步骤302:NEF向AIoT NF发送去激活请求消息。
可选地,NEF对去激活请求消息进行授权。例如,NEF确认是否允许该AIoT App提出去激活请求,或者是否允许AIoT App对去激活请求消息中的AIoT设备进行去激活操作,或者AIoT App是否还有余额进行该请求。NEF可以根据运营商配置的策略来对去激活请求消息进行授权。
步骤303:AIoT NF向AMF发送去激活请求消息。
此时,去激活消息中携带步骤301中获取到的参数。
步骤304:AMF向UE1发送去激活请求消息。
其中包括AIoT device的空口服务标识。
该空口服务标识用于UE1标识AIoT设备。作为一种可能的实施方案,UE1可以通过其他流程(例如盘点或者获取AIoT设备标识的流程中)获取该空口服务标识。
AMF可以根据去激活请求中的参数信息确定UE1,并向该UE1发送去激活请求。可选地,AMF还根据AIoT设备对应的读写器信息确定UE1。
步骤305:UE1执行去激活AIoT设备。
示例性的,UE1向AIoT设备发送去激活请求消息。UE1可以接收来自AIoT设备的去激活确认消息。
可选地,UE1可以先向AIoT设备发送盘点请求消息,获取到AIoT设备的服务标识后,再向AIoT设备发送去激活请求消息。
UE1只向匹配步骤304中去激活请求消息中AIoT设备服务标识的AIoT设备发送去激活请求消息。
步骤306:UE1向AMF发送去激活响应消息。
去激活响应消息中包括以下至少一项参数:AIoT device的服务标识,区域,AIoT设备服务类型。
步骤307:AMF向AIoT NF发送去激活响应消息。AIoT NF接收去激活响应消息。
步骤308:AIoT NF向AMF发送删除credential请求消息。该删除credential请求用于请求删除相关AIoT device的credential。
删除credential请求中包括以下至少一项参数:AIoT device的服务标识,AIoT device在核心网中使用的标识(例如,IMSI),区域,AIoT设备服务类型,删除原因。
其中上述参数可以根据步骤302中接收到的去激活请求中的相应参数确定,也可以根据步骤307中接收到的去激活响应消息中的相应参数确定。
示例性的,删除原因可以取值为“AIoT设备去激活”。
AIoT NF可以根据AIoT device的服务标识获取AIoT device在核心网中使用的标识。
示例性的,删除credential请求消息可以为去注册请求消息或者AIoT去注册请求消息。
说明:步骤307至步骤308为可选步骤,如果步骤307至步骤308不发生,则AMF在步骤306接收到去激活响应后,执行步骤309。
步骤309:AMF向UE1发送删除credential请求消息。其中包括以下参数至少一项:AIoT device的空口服务标识,AIoT设备服务类型,删除原因。
AIoT device的空口服务标识用于在空口标识AIoT设备。“空口”指读写器与AIoT设备之间的通信接口。在本实施例中,读写器以UE(即UE1)为例进行介绍,也可以替换为RAN。
可选地,AMF删除AIoT设备的上下文信息。AIoT设备的上下文信息可以包括以下至少一项:AIoT device的状态,AIoT设备的credential,AIoT设备的服务标识,AIoT设备的核心网标识,AIoT设备的签约,AIoT设备对应的读写器信息。
本实施例中,UE1是一个读写器。AMF可以根据区域信息,AIoT设备对应的读写器信息中的至少一个确定向哪个UE发送删除credential请求。
步骤3010:UE1执行针对AIoT设备的删除credential请求。
示例性的,UE1向AIoT设备发送删除credential请求消息。UE1可以接收来自AIoT设备的删除credential确认消息。
可选地,UE1可以先向AIoT设备发送盘点请求消息,获取到AIoT设备的服务标识后,再向AIoT设备发送删除credential请求消息。
UE1只向匹配步骤309中删除credential请求消息中AIoT设备服务标识的AIoT设备发送删除credential请求消息。
步骤3011:UE1向AMF发送删除credential响应消息。
删除credential响应消息中可以包括以下参数至少一项:AIoT device的空口服务标识,AIoT设备服务类型,删除成功指示,删除失败原因值。
可选地,AMF在步骤309并不执行删除AIoT设备的上下文信息的操作,而是在步骤3011之后执行删除AIoT设备的上下文信息的操作。
步骤3012:AMF向AIoT NF发送删除credential响应消息。
删除credential响应消息中可以包括以下参数至少一项:AIoT device的空口服务标识,AIoT device在核心网中使用的标识,AIoT设备服务类型,删除成功指示,删除失败原因值。
AIoT NF获取AIoT device标识(空口服务标识或者在核心网中使用的标识或者AIoT
设备服务类型)对应的AIoT device的credential。可选地,AIoT NF删除该credential对应的签约数据(或称签约信息)。例如,AIoT NF可以执行以下至少一项:删除AIoT device服务标记与credential之间的对应关系;标记该credential以及对应的签约数据为未使用或去激活状态;删除credential对应的签约数据;删除AIoT device服务标记;标记AIoT device服务标识为无credential状态。
步骤309至步骤3012为可选的步骤。如果步骤309至步骤3012不发生,AIoT NF也可以本地释放credential以及相关的签约数据。AMF也可以本地释放AIoT设备相关的上下文信息。
此外,AIoT设备也可以本地释放credential。
本地释放credential的意思是删除本地存储的该AIoT设备相关的credential,以及相关的签约数据或上下文等信息。
步骤3013:AIoT NF向NEF发送去激活响应消息。
去激活响应消息指示成功将AIoT设备去激活,或者指示AIoT设备去激活失败。如果失败的话,还可以包括失败原因参数。
可选地,去激活响应消息中还包括以下参数中至少一项:区域,AIoT设备服务标识,AIoT设备服务类型。
可选地,去激活响应消息中还包括删除credential参数,表示已经删除相应的AIoT设备的credential。
步骤3014:NEF向AIoT App发送去激活响应消息。
以上为实施例1的相关说明。实施例1能够实现去激活场景下对物联网设备进行凭证信息的处理,当物联网设备暂时或永久不需要使用时,能够去激活物联网设备,并且能够及时释放或回收物联网设备在通信网络中的凭证信息,可以节约运营商的凭证/签约,实现凭证/签约的循环利用,从而能够避免凭证信息资源的浪费。
实施例2:AIoT NF确定触发删除credential流程,去激活和删除credential流程合并如图4所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤401至步骤402:参见实施例1步骤301至步骤302的描述。
步骤403:AIoT NF向AMF发送去激活请求。
此时去激活请求中携带步骤401中获取到的参数和删除credential请求参数。其中删除credential请求参数指示需要删除目标去激活AIoT设备的相应的credential。
步骤404:AMF向UE1发送去激活请求。
该去激活请求中包括AIoT设备的服务标识。参考实施例1中步骤304的描述。
该去激活请求中还包括删除credential请求参数。
步骤405:UE1去激活AIoT设备。
参考实施例1步骤305的描述。
步骤405a:UE1删除AIoT设备的credential。
参考实施例1步骤3010的描述。
值得说明的是,步骤405和步骤405a中,UE1可以向AIoT设备发送一条消息,包括去激活和删除credential的请求,也可以使用两条消息分别执行去激活和删除credential请求。去激活和删除credential的操作的先后顺序本申请实施例不作限定。
如果是分别执行去激活和删除credential请求,UE1可以分别在这两个请求前对AIoT设备进行盘点,获取AIoT设备的服务标识。UE1也可以在这两个请求前进行一次盘点,然后执行这两个请求。
示例性的,UE1向AIoT设备发送盘点请求,获取到AIoT设备的服务标识后,再向AIoT设备发送去激活请求消息。该去激活请求消息中包含删除credential请求消息。UE1向匹配步骤404中AIoT服务标识的AIoT设备发送去激活请求消息。
步骤406:UE1向AMF发送去激活响应消息。
该去激活响应消息中包括删除credential响应参数,表示已经按照请求删除AIoT设备的credential。
可选地,去激活响应消息中还包括AIoT设备的服务标识,指示已经删除该AIoT设备的credential。
可选地,AMF删除AIoT设备的上下文信息。AIoT设备的上下文信息可以包括以下至少一项:AIoT device的状态,AIoT设备的credential,AIoT设备的服务标识,AIoT设备的核心网标识,AIoT设备的签约,AIoT设备对应的读写器信息。
步骤407:AMF向AIoT NF发送去激活响应。AIoT NF接收去激活响应。
该去激活响应消息中包括删除credential响应参数。可选地,去激活响应消息中还包括AIoT设备的服务标识。
AIoT NF获取AIoT device服务标识对应的AIoT device的credential。可选地,AIoT NF删除该credential对应的签约数据。例如,AIoT NF可以执行以下至少一项:删除AIoT device服务标记与credential之间的对应关系;标记该credential以及对应的签约数据为未使用或去激活状态;删除credential对应的签约数据;删除AIoT device服务标记;标记AIoT device服务标识为无credential状态。
步骤408至步骤409:参考实施例1的步骤3013至步骤3014。
值得说明的是,步骤403中AIoT NF也可以发送删除credential请求消息。可选地,其中包括去激活请求指示。相应地,步骤404中AMF发送删除credential请求消息。可选地,其中包括去激活请求指示。相应地,步骤406中UE1发送删除credential响应消息。可选地,其中包括去激活响应。相应地,步骤407中AMF发送删除credential响应消息。可选地,其中包括去激活响应。
以上为实施例2的相关说明。实施例2能够实现去激活场景下对物联网设备进行凭证信息的处理,当物联网设备暂时或永久不需要使用时,能够去激活物联网设备,并且能够及时释放或回收物联网设备在通信网络中的凭证信息,可以节约运营商的凭证/签约,实现
凭证/签约的循环利用,从而能够避免凭证信息资源的浪费。
实施例3:AMF确定触发删除credential流程,去激活和删除credential流程合并
如图5所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤501至步骤503:参考实施例1步骤301至步骤303的说明。
步骤504:AMF向UE1发送去激活请求。
该去激活请求中包括AIoT设备的服务标识。参考实施例1中步骤304的描述。
该去激活请求中还包括删除credential请求参数。
步骤505至步骤505a:参考实施例2步骤405至步骤405a的说明。
步骤506:参考实施例2步骤406的说明。
步骤507:AMF向AIoT NF发送去激活响应。AIoT NF接收去激活响应。
步骤507a:AMF向AIoT NF发送删除credential通知。
该通知指示目标AIoT设备的credential已被删除。
该通知中可以包括以下至少一项:AIoT设备的服务标识,AIoT设备的credential,AIoT设备在核心网中的标识,AIoT设备的类型,AIoT设备所在的区域。
值得说明的是,该区域可以是一个地理位置,或者一个地理位置范围,或者一个网络位置。例如,由以下至少一项信息构成:小区标识、跟踪区标识、小区标识列表、跟踪区标识列表、AMF标识。
可选地,AIoT NF删除该credential对应的签约数据。例如,AIoT NF可以执行以下至少一项:删除AIoT device服务标记与credential之间的对应关系;标记该credential以及对应的签约数据为未使用或去激活状态;删除credential对应的签约数据;删除AIoT device服务标记;标记AIoT device服务标识为无credential状态。
如果该通知中包括AIoT device的服务标识,但没有包括AIoT device的credential,则AIoT NF获取AIoT device服务标识对应的AIoT device的credential。
步骤507a可以与步骤507合并。例如,AMF向AIoT NF发送去激活响应消息或者删除credential通知消息,该消息指示目标AIoT设备的credential已被删除,且AIoT设备已被去激活。
步骤508至步骤509:参考实施例1的步骤3013至步骤3014。
值得说明的是,步骤504中AMF也可以发送删除credential请求消息。可选地,其中包括去激活请求指示。相应地,步骤506中UE1也可以发送删除credential响应消息。可选地,其中包括去激活响应。
值得说明的是,步骤504中,AMF也可以分别触发去激活和删除credential流程。示例性地,AMF向UE1分别发送去激活请求消息和删除credential请求消息。相应地,步骤506中,UE1向AMF分别发送去激活响应消息和删除credential响应消息。
以上为实施例3的相关说明。实施例3能够实现去激活场景下对物联网设备进行凭证信息的处理,当物联网设备暂时或永久不需要使用时,能够去激活物联网设备,并且能够
及时释放或回收物联网设备在通信网络中的凭证信息,可以节约运营商的凭证/签约,实现凭证/签约的循环利用,从而能够避免凭证信息资源的浪费。
实施例4:AIoT NF确定触发推送credential流程,先激活再推送credential
如图6所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤601:AIoT App向能力开放平台NEF发送激活请求消息。其中,激活请求消息中包括以下参数中至少一项:区域,AIoT设备外部服务标识,AIoT设备服务类型。
其中,区域描述了对哪个区域中的AIoT设备进行激活;AIoT设备外部服务标识描述了需要激活的目标AIoT设备;AIoT设备服务类型描述了需要激活的目标AIoT设备的类型。
可选地,激活请求中包括需要推送credential的指示,该指示说明需要对目标AIoT device推送credential。
步骤602:NEF向AIoT NF发送激活请求消息。
可选地,NEF对激活请求消息进行授权。如何授权可以参考实施例1步骤302的说明,其中去激活替换为激活。
步骤603:AIoT NF向AMF发送激活请求消息。
此时激活消息中携带步骤601中获取到的参数。
步骤604:AMF向UE1发送激活请求消息。
参考实施例1步骤304的说明,其中去激活替换为激活。
步骤605:UE1执行激活AIoT设备。
参考实施例1步骤305的说明,其中去激活替换为激活。
步骤606至步骤607:参考实施例1步骤306至步骤307的说明,其中去激活可以替换为激活。
可选地,步骤606中还包括核心网标识获取指示。核心网标识获取指示可以是个隐式指示,例如如果AIoT device已经有credential或者标识则携带该指示,如果无则不携带,不携带表示核心网标识获取指示为需获取。或者反过来,如果携带该指示表示AIoT device需要获取credential,不携带该指示表示不需要获取credential。
步骤608:AIoT NF向AMF发送推送credential请求消息。该推送credential请求用于请求向相关AIoT device推送credential。
推送credential请求中包括以下至少一项参数:AIoT device的服务标识,AIoT device在核心网中使用的标识(例如IMSI),区域,AIoT设备服务类型,AIoT device的credential,推送原因。
其中上述参数可以根据步骤602中接收到的激活请求中的相应参数确定。也可以根据步骤607中接收到的激活响应消息中的相应参数确定。
示例性的,推送原因可以取值为“AIoT设备激活”。
可选地,AIoT NF执行以下至少一项:
新增AIoT device的credential对应的签约信息;
将AIoT device的credential对应的签约信息标记为使用状态;
将AIoT device的credential对应的签约信息标记为激活状态;
新增AIoT device的服务标识与AIoT device的credential之间的对应关系;
将AIoT device的credential标记为使用状态;
将AIoT device的credential标记为激活状态;
存储AIoT device的服务标识;
将AIoT device的服务标识标记为有凭证信息的状态。
可选地,AIoT NF根据激活响应消息中核心网标识获取指示发送推送请求。
可选地,AIoT NF接收到激活响应消息后,发送推送请求。
可选地,AIoT NF获取到AIoT device的标识后(步骤607),认证该标识后再发送推送请求。
AIoT NF可以根据AIoT device的服务标识确认是App的设备,或者,获取AIoT device的设备标识,并根据设备标识和服务标识之间的关系来进行认证。
步骤607至步骤608为可选步骤。如果步骤607至步骤608不发生,则AMF在步骤606接收到激活响应后,执行步骤609。
步骤609:AMF向UE1发送推送credential请求消息。其中包括以下参数至少一项:AIoT device的空口服务标识,AIoT设备服务类型,删除原因。
可选地,AMF新增AIoT设备的上下文信息。AIoT设备的上下文信息可以包括以下至少一项:AIoT device的状态,AIoT设备的credential,AIoT设备的服务标识,AIoT设备的5G核心网标识,AIoT设备的签约,AIoT设备对应的读写器信息。
步骤6010:UE1执行针对AIoT设备的推送credential请求,即UE1根据请求对AIoT设备进行credential推送。
步骤6011:UE1向AMF发送推送credential响应消息。
步骤6012:AMF向AIoT NF发送推送credential响应消息。
步骤6013:AIoT NF向NEF发送激活响应消息。
步骤6014:NEF向AIoT AF发送激活响应消息。
以上步骤可以参考实施例1步骤3010至步骤3014的说明。其中去激活替换为激活,删除替换为新增或推送。
以上为实施例4的相关说明。实施例4能够实现激活场景下对物联网设备进行凭证信息的处理,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
实施例5:AIoT NF确定触发推送credential流程,激活和推送credential流程合并
在实施例4的基础上,步骤608至步骤609可以与步骤603至步骤604分别合并,步骤6011至步骤6012也可以与步骤606至步骤607合并。
例如,激活请求中包括推送credential的指示和credential。
激活响应中包括推送credential响应信息。
或者,推送credential请求消息中包括激活请求指示信息;推送credential响应消息中包括激活请求响应信息。
如图7所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤701至步骤702:参见实施例4步骤601至步骤602的描述。
步骤703:AIoT NF向AMF发送激活请求。
此时激活请求中携带步骤701中获取到的参数和推送credential请求参数。其中推送credential请求参数指示需要向目标激活AIoT设备推送credential。
步骤704:AMF向UE1发送激活请求。
该激活请求中包括AIoT设备的服务标识。参考实施例4中步骤604的描述。
该激活请求中还包括推送credential请求参数。
步骤705:UE1执行激活AIoT设备。
参考实施例4步骤605的描述。
步骤705a:UE1执行针对AIoT设备的推送credential请求。
参考实施例4步骤6010的描述。
值得说明的是,步骤705和步骤705a中,UE1可以向AIoT设备发送一条消息,包括激活和推送credential的请求,也可以使用两条消息分别执行激活和推送credential请求。激活和推送credential的操作的先后顺序本申请实施例不作限定。
如果是分别执行激活和推送credential请求,UE1可以分别在这两个请求前对AIoT设备进行盘点,获取AIoT设备的服务标识。UE1也可以在这两个请求前进行一次盘点,然后执行这两个请求。
示例性的,UE1向AIoT设备发送盘点请求,获取到AIoT设备的服务标识后,再向AIoT设备发送激活请求消息。该激活请求消息中包含推送credential请求消息。UE1向匹配步骤704中AIoT服务标识的AIoT设备发送激活请求消息。
步骤706:UE1向AMF发送激活响应消息。
该激活响应消息中包括推送credential响应参数,表示已经按照请求推送AIoT设备的credential。
可选地,激活响应消息中还包括AIoT设备的服务标识,指示已经推送该AIoT设备的credential。
步骤707:AMF向AIoT NF发送激活响应。AIoT NF接收激活响应。
该激活响应消息中包括推送credential响应参数。可选地,激活响应消息中还包括AIoT设备的服务标识。
AIoT NF获取AIoT device服务标识对应的AIoT device的credential。可选地,AIoT NF标记新增credential。例如,AIoT NF可以执行以下至少一项:新增AIoT device服务标记与credential之间的对应关系;标记该credential以及对应的签约数据为使用或激活状态;新增
credential对应的签约数据;存储AIoT device服务标记;标记AIoT device服务标识为有credential状态。
步骤708至步骤709:参考实施例4的步骤6013至步骤6014。
值得说明的是,步骤703中AIoT NF也可以发送推送credential请求消息。可选地,其中包括激活请求指示。相应地,步骤704中AMF发送推送credential请求消息。可选地,其中包括激活请求指示。相应地,步骤706中UE1发送推送credential响应消息。可选地,其中包括激活响应。相应地,步骤707中AMF发送推送credential响应消息。可选地,其中包括激活响应。
以上为实施例5的相关说明。实施例5能够实现激活场景下对物联网设备进行凭证信息的处理,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
图8示出了本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图,该物联网设备凭证信息的处理方法由第一设备执行。如图8所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤801:第一设备接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;
步骤802:所述第一设备向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
可选地,所述第一消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备,所述第一消息至少用于请求对所述第一服务标识所标识的所述第二设备进行所述凭证信息的处理;
用于指示第一区域的信息,所述第一消息至少用于请求对所述第一区域中的所述第二设备进行所述凭证信息的处理;
用于指示第一服务类型的信息,所述第一消息至少用于请求对所述第一服务类型的所述第二设备进行所述凭证信息的处理;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,在所述第一设备向所述第二设备发送第二消息之前,所述方法还包括:
所述第一设备接收来自所述第二设备的第三消息,所述第三消息包含所述第二设备的第一服务标识。
可选地,所述方法还包括:
所述第一设备接收来自所述第二设备的第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认;或,
所述第一设备向所述第一功能发送第五消息,所述第五消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
可选地,所述第五消息还包含如下信息的至少一项:
所述第二设备的第一服务标识;
用于指示所述第二设备所在的区域的信息;
用于指示所述第二设备的服务类型的信息。
可选地,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
对所述第二设备的第一凭证信息进行删除处理;
对所述第二设备的第一凭证信息进行释放处理;
对所述第二设备的第一凭证信息进行去注册处理。
可选地,所述第一消息还用于请求去激活所述第二设备;
或,
所述方法还包括:
所述第一设备接收来自所述第一功能的第六消息,所述第六消息用于请求去激活所述第二设备。
可选地,所述第六消息包含如下信息的至少一项:
第一服务标识,所述第六消息用于请求去激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第六消息用于请求去激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第六消息用于请求去激活服务类型包括所述第一服务类型的所述第二设备。
可选地,所述第二消息还用于请求去激活所述第二设备;
或,
所述方法还包括:
所述第一设备向所述第二设备发送第七消息,所述第七消息用于请求去激活所述第二设备。
可选地,所述第一设备接收来自所述第二设备的第四消息,所述第四消息还用于指示所述第二设备对去激活的确认;
或,
所述方法还包括:
所述第一设备接收来自所述第二设备的第八消息,所述第八消息用于指示所述第二设备对去激活的确认。
可选地,在所述第一设备向所述第一功能发送第五消息的情况下,所述第五消息还用于指示所述第二设备已去激活;
或,
所述方法还包括:
所述第一设备向所述第一功能发送第九消息,所述第九消息用于指示所述第二设备已去激活。
可选地,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
新增所述第二设备的第二凭证信息;
向所述第二设备推送第二凭证信息。
可选地,所述第一消息还用于请求激活所述第二设备,所述第一消息包含用于所述第二设备的所述第二凭证信息;
或,
所述方法还包括:
所述第一设备接收来自所述第一功能的第十消息,所述第十消息用于请求激活所述第二设备,所述第一消息或所述第十消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第十消息包含如下信息的至少一项:
第一服务标识,所述第十消息用于请求激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第十消息用于请求激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第十消息用于请求激活服务类型包括所述第一服务类型的所述第二设备。
可选地,所述第二消息还用于请求激活所述第二设备,所述第二消息包含用于所述第二设备的第二凭证信息;
或,
所述方法还包括:
所述第一设备向所述第二设备发送第十一消息,所述第十一消息用于请求激活所述第二设备,所述第二消息或所述第十一消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第一设备包括终端或接入网设备,所述第一功能包括接入移动管理功能AMF。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
本申请实施例提供的物联网设备凭证信息的处理方法,执行主体可以为物联网设备凭证信息的处理装置。本申请实施例中以物联网设备凭证信息的处理装置执行物联网设备凭证信息的处理方法为例,说明本申请实施例提供的物联网设备凭证信息的处理装置。
图9示出了本申请实施例提供的物联网设备凭证信息的处理装置的结构图,该物联网设备凭证信息的处理装置可应用于第一设备。如图9所示,物联网设备凭证信息的处理装置900包括:
第一接收模块901,用于接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;
第一发送模块902,用于向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
可选地,所述第一消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备,所述第一消息至少用于请求对所述第一服务标识所标识的所述第二设备进行所述凭证信息的处理;
用于指示第一区域的信息,所述第一消息至少用于请求对所述第一区域中的所述第二设备进行所述凭证信息的处理;
用于指示第一服务类型的信息,所述第一消息至少用于请求对所述第一服务类型的所述第二设备进行所述凭证信息的处理;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,物联网设备凭证信息的处理装置900还包括:
第二接收模块,用于接收来自所述第二设备的第三消息,所述第三消息包含所述第二设备的第一服务标识。
可选地,物联网设备凭证信息的处理装置900还包括:
第三接收模块,用于接收来自所述第二设备的第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认;或,
第二发送模块,用于向所述第一功能发送第五消息,所述第五消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
可选地,所述第五消息还包含如下信息的至少一项:
所述第二设备的第一服务标识;
用于指示所述第二设备所在的区域的信息;
用于指示所述第二设备的服务类型的信息。
可选地,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
对所述第二设备的第一凭证信息进行删除处理;
对所述第二设备的第一凭证信息进行释放处理;
对所述第二设备的第一凭证信息进行去注册处理。
可选地,所述第一消息还用于请求去激活所述第二设备;
或,
物联网设备凭证信息的处理装置900还包括:
第四接收模块,用于接收来自所述第一功能的第六消息,所述第六消息用于请求去激活所述第二设备。
可选地,所述第六消息包含如下信息的至少一项:
第一服务标识,所述第六消息用于请求去激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第六消息用于请求去激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第六消息用于请求去激活服务类型包括所述第一服务类型的所述第二设备。
可选地,所述第二消息还用于请求去激活所述第二设备;
或,
物联网设备凭证信息的处理装置900还包括:
第三发送模块,用于向所述第二设备发送第七消息,所述第七消息用于请求去激活所述第二设备。
可选地,所述第四消息还用于指示所述第二设备对去激活的确认;
或,
物联网设备凭证信息的处理装置900还包括:
第五接收模块,用于接收来自所述第二设备的第八消息,所述第八消息用于指示所述第二设备对去激活的确认。
可选地,在所述第一设备向所述第一功能发送第五消息的情况下,所述第五消息还用于指示所述第二设备已去激活;
或,
物联网设备凭证信息的处理装置900还包括:
第四发送模块,用于向所述第一功能发送第九消息,所述第九消息用于指示所述第二设备已去激活。
可选地,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
新增所述第二设备的第二凭证信息;
向所述第二设备推送第二凭证信息。
可选地,所述第一消息还用于请求激活所述第二设备,所述第一消息包含用于所述第二设备的所述第二凭证信息;
或,
物联网设备凭证信息的处理装置900还包括:
第六接收模块,用于接收来自所述第一功能的第十消息,所述第十消息用于请求激活所述第二设备,所述第一消息或所述第十消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第十消息包含如下信息的至少一项:
第一服务标识,所述第十消息用于请求激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第十消息用于请求激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第十消息用于请求激活服务类型包括所述第一服务类型的所述第二设备。
可选地,所述第二消息还用于请求激活所述第二设备,所述第二消息包含用于所述第二设备的第二凭证信息;
或,
物联网设备凭证信息的处理装置900还包括:
第五发送模块,用于向所述第二设备发送第十一消息,所述第十一消息用于请求激活所述第二设备,所述第二消息或所述第十一消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第一设备包括终端或接入网设备,所述第一功能包括接入移动管理功能AMF。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,因此,能够解决物联网设备在通信网络中的凭证信息无法使用的问题。由于不存在无法使用的凭证信息,当物联网设备暂时或永久不需要使用时,需要去激活该设备,并且能够及时释放或回收物联网该设备在5G通信网络中的凭证信息/签约,可以节约运营商的凭证/签约,循环利用。从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备。尽快与通信网络联系,节约信令流程。
本申请实施例提供的物联网设备凭证信息的处理装置900能够实现图8的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图10a示出了本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图,图10b示出了本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图,图10a的物联网设备凭证信息的处理方法和图10b的物联网设备凭证信息的处理方法均由第二设备执行。
如图10a所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤1001a:第二设备接收来自第一设备的第二消息,所述第二消息至少用于请求所述第二设备进行凭证信息的第一处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备;
步骤1002a:所述第二设备进行所述凭证信息的第一处理。
如图10b所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤1001b:第二设备接收来自第一设备的第十二消息,所述第十二消息用于请求去激活所述第二设备,或请求激活所述第二设备,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备;
步骤1002b:所述第二设备进行凭证信息的第二处理。
可选地,所述第二设备进行所述凭证信息的第一处理,包括如下至少一项:
所述第二设备对第一凭证信息进行删除处理;
所述第二设备对第一凭证信息进行释放处理;
所述第二设备对第一凭证信息进行去注册处理;
所述第二设备存储第二凭证信息。
可选地,所述第十二消息用于请求去激活所述第二设备,所述第二设备进行所述凭证信息的第二处理,包括如下至少一项:
所述第二设备对第一凭证信息进行删除处理;
所述第二设备对第一凭证信息进行释放处理;
所述第二设备对第一凭证信息进行去注册处理。
可选地,所述第十二消息用于请求激活所述第二设备,所述第十二消息包含用于所述第二设备的第二凭证信息,所述第二设备进行所述凭证信息的第二处理,包括:
所述第二设备存储所述第二凭证信息。
可选地,所述方法还包括:
所述第二设备向所述第一设备发送第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
可选地,所述第二消息还用于请求去激活所述第二设备;
或,
所述方法还包括:
所述第二设备接收来自所述第一设备的第七消息,所述第七消息用于请求去激活所述第二设备。
可选地,第四消息还用于指示所述第二设备对去激活的确认;
或,
所述方法还包括:
所述第二设备向所述第一设备发送第八消息,所述第八消息用于指示所述第二设备对去激活的确认。
可选地,所述第二消息还用于请求激活所述第二设备,所述第二消息包含用于所述第二设备的第二凭证信息;
或,
所述方法还包括:
所述第二设备接收来自所述第一设备的第十一消息,所述第十一消息用于请求激活所
述第二设备,所述第二消息或所述第十一消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第一设备包括终端或接入网设备。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
本申请实施例提供的物联网设备凭证信息的处理方法,执行主体可以为物联网设备凭证信息的处理装置。本申请实施例中以物联网设备凭证信息的处理装置执行物联网设备凭证信息的处理方法为例,说明本申请实施例提供的物联网设备凭证信息的处理装置。
图11示出了本申请实施例提供的物联网设备凭证信息的处理装置的结构图,该物联网设备凭证信息的处理装置可应用于第二设备。如图11所示,物联网设备凭证信息的处理装置1100包括第一接收模块1101和处理模块1102:
第一接收模块1101用于接收来自第一设备的第二消息,所述第二消息至少用于请求所述第二设备进行凭证信息的第一处理;
处理模块1102用于进行所述凭证信息的第一处理;
或者,
第一接收模块1101用于接收来自第一设备的第十二消息,所述第十二消息用于请求去激活所述第二设备,或请求激活所述第二设备;
处理模块1102用于进行凭证信息的第二处理;
其中,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备。
可选地,处理模块1102具体用于如下至少一项:
对第一凭证信息进行删除处理;
对第一凭证信息进行释放处理;
对第一凭证信息进行去注册处理;
新增第二凭证信息。
可选地,所述第十二消息用于请求去激活所述第二设备,处理模块1102具体用于如下至少一项:
对第一凭证信息进行删除处理;
对第一凭证信息进行释放处理;
对第一凭证信息进行去注册处理。
可选地,所述第十二消息用于请求激活所述第二设备,所述第十二消息包含用于所述第二设备的第二凭证信息,处理模块1102具体用于:
存储所述第二凭证信息。
可选地,物联网设备凭证信息的处理装置1100还包括:
第一发送模块,用于向所述第一设备发送第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
可选地,所述第二消息还用于请求去激活所述第二设备;
或,
物联网设备凭证信息的处理装置1100还包括:
第二接收模块,用于接收来自所述第一设备的第七消息,所述第七消息用于请求去激活所述第二设备。
可选地,第四消息还用于指示所述第二设备对去激活的确认;
或,
物联网设备凭证信息的处理装置1100还包括:
第二发送模块,用于向所述第一设备发送第八消息,所述第八消息用于指示所述第二设备对去激活的确认。
可选地,所述第二消息还用于请求激活所述第二设备,所述第二消息包含用于所述第二设备的第二凭证信息;
或,
物联网设备凭证信息的处理装置1100还包括:
第三接收模块,用于接收来自所述第一设备的第十一消息,所述第十一消息用于请求激活所述第二设备,所述第二消息或所述第十一消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第一设备包括终端或接入网设备。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
本申请实施例提供的物联网设备凭证信息的处理装置1100能够实现图10a或图10b的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图12示出了本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图,该物联网设备凭证信息的处理方法由第一功能执行。如图12所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤1201:第一功能接收来自第二功能的第十三消息;
步骤1202:所述第一功能基于所述第十三消息,向第一设备发送第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
可选地,所述第十三消息用于请求去激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
对所述第二设备的第一凭证信息进行删除处理;
对所述第二设备的第一凭证信息进行释放处理;
对所述第二设备的第一凭证信息进行去注册处理。
可选地,所述方法还包括:
所述第一功能在接收到所述第十三消息之后,删除所述第二设备的上下文信息。
可选地,所述第十三消息用于请求激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
新增所述第二设备的第二凭证信息;
向所述第二设备推送第二凭证信息。
可选地,所述第十三消息至少用于请求对第二设备进行所述凭证信息的处理。
可选地,所述第十三消息还用于请求去激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
对所述第二设备的第一凭证信息进行删除处理;
对所述第二设备的第一凭证信息进行释放处理;
对所述第二设备的第一凭证信息进行去注册处理。
可选地,所述第十三消息还用于请求激活所述第二设备,所述第十三消息包含用于所述第二设备的第二凭证信息;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
新增所述第二设备的所述第二凭证信息;
向所述第二设备推送所述第二凭证信息。
可选地,所述第一消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备,所述第一消息用于请求对所述第一服务标识所标识的所述第二设备进行所述凭证信息的处理;
用于指示第一区域的信息,所述第一消息用于请求对所述第一区域中的所述第二设备进行所述凭证信息的处理;
用于指示第一服务类型的信息,所述第一消息用于请求对所述第一服务类型的所述第二设备进行所述凭证信息的处理;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,所述第十三消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备;
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;
用于指示第一区域的信息;
用于指示第一服务类型的信息;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,在所述第一功能向第一设备发送第一消息之前,所述方法还包括:
所述第一功能基于所述第十三消息,确定所述第一设备。
可选地,在所述第一功能向第一设备发送第一消息之后,所述方法还包括:
所述第一功能接收来自所述第一设备的第五消息,所述第五消息至少包括所述第二设备对所述凭证信息的处理的确认。
可选地,所述第五消息包含如下信息的至少一项:
所述第二设备的第一服务标识;
用于指示所述第二设备所在的区域的信息;
用于指示所述第二设备的服务类型的信息。
可选地,在所述第一功能接收来自所述第一设备的第五消息之后,所述方法还包括:
所述第一功能向所述第二功能发送第十四消息,所述第十四消息至少包括所述第二设备对所述凭证信息的处理的确认。
可选地,所述第十四消息包含:
所述第二设备的第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备。
可选地,在所述第一功能接收来自所述第一设备的第五消息之后,所述方法还包括:
所述第一功能删除所述第二设备的上下文信息。
可选地,所述第二设备的上下文信息包括如下信息的至少一项:
所述第二设备的状态信息;
所述第二设备在通信网络中的凭证信息;
所述第二设备的第一服务标识;
所述第二设备的第二服务标识;
所述第二设备的签约信息;
所述第二设备对应的读写设备的信息。
可选地,所述第一消息还用于请求去激活所述第二设备;
或,
所述方法还包括:
所述第一功能向所述第一设备发送第六消息,所述第六消息用于请求去激活所述第二设备。
可选地,所述第六消息包含如下信息的至少一项:
第一服务标识,所述第六消息用于请求去激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第六消息用于请求去激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第六消息用于请求去激活服务类型包括所述第一服务类型的所述第二设备。
可选地,所述第五消息还用于指示所述第二设备已去激活;
或,
所述方法还包括:
所述第一功能接收来自所述第一设备的第九消息,所述第九消息用于指示所述第二设备已去激活。
可选地,所述第十四消息还用于指示所述第二设备已去激活;
或,
所述方法还包括:
所述第一功能向所述第二功能发送第十五消息,所述第十五消息用于指示所述第二设备已去激活。
可选地,所述第一消息还用于请求激活所述第二设备,所述第一消息包含用于所述第二设备的所述第二凭证信息;
或,
所述方法还包括:
所述第一设备接收来自所述第一功能的第十消息,所述第十消息用于请求激活所述第二设备,所述第一消息或所述第十消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第一设备包括终端或接入网设备,所述第一功能包括接入移动管理功能AMF,所述第二功能包括物联网网络功能实体IoT NF或网络开放功能NEF。
可选地,所述第二功能包括所述NEF,所述方法还包括:
所述第一功能向第三功能发送第十六消息,所述第十六消息用于指示所述第三功能对所述第二设备的签约信息进行处理,所述第三功能包括所述IoT NF。
可选地,对所述第二设备的签约信息进行处理,包括:
对所述第二设备的签约信息进行删除;
或,
对所述第二设备的签约信息进行新增。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回
收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
本申请实施例提供的物联网设备凭证信息的处理方法,执行主体可以为物联网设备凭证信息的处理装置。本申请实施例中以物联网设备凭证信息的处理装置执行物联网设备凭证信息的处理方法为例,说明本申请实施例提供的物联网设备凭证信息的处理装置。
图13示出了本申请实施例提供的物联网设备凭证信息的处理装置的结构图,该物联网设备凭证信息的处理装置可应用于第一功能。如图13所示,物联网设备凭证信息的处理装置1300包括:
第一接收模块1301,用于接收来自第二功能的第十三消息;
第一发送模块1302,用于基于所述第十三消息,向第一设备发送第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
可选地,所述第十三消息用于请求去激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
对所述第二设备的第一凭证信息进行删除处理;
对所述第二设备的第一凭证信息进行释放处理;
对所述第二设备的第一凭证信息进行去注册处理。
可选地,物联网设备凭证信息的处理装置1300还包括:
第一删除模块,用于在第一接收模块1301接收到所述第十三消息之后,删除所述第二设备的上下文信息。
可选地,所述第十三消息用于请求激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
新增所述第二设备的第二凭证信息;
向所述第二设备推送第二凭证信息。
可选地,所述第十三消息至少用于请求对第二设备进行所述凭证信息的处理。
可选地,所述第十三消息还用于请求去激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
对所述第二设备的第一凭证信息进行删除处理;
对所述第二设备的第一凭证信息进行释放处理;
对所述第二设备的第一凭证信息进行去注册处理。
可选地,所述第十三消息还用于请求激活所述第二设备,所述第十三消息包含用于所述第二设备的第二凭证信息;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
新增所述第二设备的所述第二凭证信息;
向所述第二设备推送所述第二凭证信息。
可选地,所述第一消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备,所述第一消息用于请求对所述第一服务标识所标识的所述第二设备进行所述凭证信息的处理;
用于指示第一区域的信息,所述第一消息用于请求对所述第一区域中的所述第二设备进行所述凭证信息的处理;
用于指示第一服务类型的信息,所述第一消息用于请求对所述第一服务类型的所述第二设备进行所述凭证信息的处理;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,所述第十三消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备;
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;
用于指示第一区域的信息;
用于指示第一服务类型的信息;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,在所述第一功能向第一设备发送第一消息之前,所述方法还包括:
所述第一功能基于所述第十三消息,确定所述第一设备。
可选地,物联网设备凭证信息的处理装置1300还包括:
第二接收模块,用于接收来自所述第一设备的第五消息,所述第五消息至少包括所述第二设备对所述凭证信息的处理的确认。
可选地,所述第五消息包含如下信息的至少一项:
所述第二设备的第一服务标识;
用于指示所述第二设备所在的区域的信息;
用于指示所述第二设备的服务类型的信息。
可选地,物联网设备凭证信息的处理装置1300还包括:
第二发送模块,用于向所述第二功能发送第十四消息,所述第十四消息至少包括所述第二设备对所述凭证信息的处理的确认。
可选地,所述第十四消息包含:
所述第二设备的第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备。
可选地,物联网设备凭证信息的处理装置1300还包括:
第二删除模块,用于在第二接收模块接收到第五消息之后,删除所述第二设备的上下文信息。
可选地,所述第二设备的上下文信息包括如下信息的至少一项:
所述第二设备的状态信息;
所述第二设备在通信网络中的凭证信息;
所述第二设备的第一服务标识;
所述第二设备的第二服务标识;
所述第二设备的签约信息;
所述第二设备对应的读写设备的信息。
可选地,所述第一消息还用于请求去激活所述第二设备;
或,
物联网设备凭证信息的处理装置1300还包括:
第三发送模块,用于向所述第一设备发送第六消息,所述第六消息用于请求去激活所述第二设备。
可选地,所述第六消息包含如下信息的至少一项:
第一服务标识,所述第六消息用于请求去激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第六消息用于请求去激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第六消息用于请求去激活服务类型包括所述第一服务类型的所述第二设备。
可选地,所述第五消息还用于指示所述第二设备已去激活;
或,
物联网设备凭证信息的处理装置1300还包括:
第四接收模块,用于接收来自所述第一设备的第九消息,所述第九消息用于指示所述第二设备已去激活。
可选地,所述第十四消息还用于指示所述第二设备已去激活;
或,
物联网设备凭证信息的处理装置1300还包括:
第四发送模块,用于向所述第二功能发送第十五消息,所述第十五消息用于指示所述第二设备已去激活。
可选地,所述第一消息还用于请求激活所述第二设备,所述第一消息包含用于所述第二设备的所述第二凭证信息;
或,
物联网设备凭证信息的处理装置1300还包括:
第五接收模块,用于接收来自所述第一功能的第十消息,所述第十消息用于请求激活所述第二设备,所述第一消息或所述第十消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第一设备包括终端或接入网设备,所述第一功能包括接入移动管理功能
AMF,所述第二功能包括物联网网络功能实体IoT NF或网络开放功能NEF。
可选地,所述第二功能包括所述NEF,所述方法还包括:
所述第一功能向第三功能发送第十六消息,所述第十六消息用于指示所述第三功能对所述第二设备的签约信息进行处理,所述第三功能包括所述IoT NF。
可选地,对所述第二设备的签约信息进行处理,包括:
对所述第二设备的签约信息进行删除;
或,
对所述第二设备的签约信息进行新增。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
本申请实施例提供的物联网设备凭证信息的处理装置1300能够实现图12的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图14示出了本申请实施例提供的一种物联网设备凭证信息的处理方法的流程图,该物联网设备凭证信息的处理方法由第二功能执行。如图14所示,物联网设备凭证信息的处理方法包括如下步骤:
步骤1401:第二功能向第一功能发送第十三消息;
步骤1402:所述第二功能接收来自第一功能的第十四消息,所述第十四消息用于指示第二设备已进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
可选地,所述第十三消息用于请求去激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括如下至少一项:
所述第二设备已对第一凭证信息进行删除的处理;
所述第二设备已对第一凭证信息进行释放的处理;
所述第二设备已对第一凭证信息进行去注册的处理。
可选地,所述第十三消息用于请求激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括:
所述第二设备已进行新增第二凭证信息的处理。
可选地,所述第十三消息至少用于请求对第二设备进行所述凭证信息的处理。
可选地,所述第十三消息还用于请求去激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括如下至少一项:
所述第二设备已对第一凭证信息进行删除的处理;
所述第二设备已对第一凭证信息进行释放的处理;
所述第二设备已对第一凭证信息进行去注册的处理。
可选地,所述第十三消息还用于请求激活所述第二设备,所述第十三消息包含用于所述第二设备的第二凭证信息;其中,所述第二设备已进行的所述凭证信息的处理,包括:
所述第二设备已进行新增第二凭证信息的处理。
可选地,所述第十三消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于第一设备识别所述第二设备,所述第一设备为所述第二设备的读写设备;
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;
用于指示第一区域的信息;
用于指示第一服务类型的信息;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,所述第十四消息包含:
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备。
可选地,所述第十四消息还用于指示所述第二设备已去激活;
或,
所述方法还包括:
所述第二功能接收来自所述第一功能的第十五消息,所述第十五消息用于指示所述第二设备已去激活。
可选地,所述第十四消息还用于指示所述第二设备已激活;
或,
所述方法还包括:
所述第二功能接收来自所述第一功能的第十七消息,所述第十七消息用于指示所述第二设备已激活。
可选地,所述第一功能包括接入移动管理功能AMF,所述第二功能包括物联网网络功能实体IoT NF或网络开放功能NEF。
可选地,所述第二功能包括所述IoT NF,所述方法还包括:
所述第二功能对所述第二设备的相关信息进行处理。
可选地,所述第二功能对所述第二设备的相关信息进行处理,包括如下至少一项:
所述第二功能删除所述第二设备的第一凭证信息对应的签约信息;
所述第二功能将所述第二设备的第一凭证信息对应的签约信息标记为未使用状态;
所述第二功能将所述第二设备的第一凭证信息对应的签约信息标记为去激活状态;
所述第二功能删除所述第二设备的服务标识与所述第二设备的第一凭证信息之间的对应关系;
所述第二功能将所述第二设备的第一凭证信息标记为未使用状态;
所述第二功能将所述第二设备的第一凭证信息标记为去激活状态;
所述第二功能删除所述第二设备的服务标识;
所述第二功能将所述第二设备的服务标识标记为无凭证信息的状态;
所述第二功能新增所述第二设备的第二凭证信息对应的签约信息;
所述第二功能将所述第二设备的第二凭证信息对应的签约信息标记为使用状态;
所述第二功能将所述第二设备的第二凭证信息对应的签约信息标记为激活状态;
所述第二功能新增所述第二设备的服务标识与所述第二设备的第二凭证信息之间的对应关系;
所述第二功能将所述第二设备的第二凭证信息标记为使用状态;
所述第二功能将所述第二设备的第二凭证信息标记为激活状态;
所述第二功能存储所述第二设备的服务标识;
所述第二功能将所述第二设备的服务标识标记为有凭证信息的状态。
可选地,所述第二功能包括所述IoT NF,在所述第二功能向第一功能发送第十三消息之前,所述方法还包括:
所述第二功能接收来自第三功能的第十八消息,所述第十八消息用于请求去激活所述第二设备,或,请求激活所述第二设备,所述第三功能包括所述NEF。
可选地,所述第十八消息还包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于第一设备识别所述第二设备,所述第一设备为所述第二设备的读写设备;
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;
用于指示第一区域的信息;
用于指示第一服务类型的信息。
可选地,所述方法还包括:
所述第二功能向所述第三功能发送第十九消息,所述第十九消息用于指示所述第二设备已去激活,或,指示所述第二设备已激活。
可选地,所述第二功能包括所述NEF,所述方法还包括:
所述第二功能向第三功能发送第二十消息,所述第二十消息用于指示所述第三功能对所述第二设备的签约信息进行处理,所述第三功能包括所述IoT NF。
可选地,对所述第二设备的签约信息进行处理,包括:
对所述第二设备的签约信息进行删除;
或,
对所述第二设备的签约信息进行新增。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,
能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
本申请实施例提供的物联网设备凭证信息的处理方法,执行主体可以为物联网设备凭证信息的处理装置。本申请实施例中以物联网设备凭证信息的处理装置执行物联网设备凭证信息的处理方法为例,说明本申请实施例提供的物联网设备凭证信息的处理装置。
图15示出了本申请实施例提供的物联网设备凭证信息的处理装置的结构图,该物联网设备凭证信息的处理装置可应用于第二功能。如图15所示,物联网设备凭证信息的处理装置1500包括:
第一发送模块1501,用于向第一功能发送第十三消息;
第一接收模块1502,用于接收来自第一功能的第十四消息,所述第十四消息用于指示第二设备已进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
可选地,所述第十三消息用于请求去激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括如下至少一项:
所述第二设备已对第一凭证信息进行删除的处理;
所述第二设备已对第一凭证信息进行释放的处理;
所述第二设备已对第一凭证信息进行去注册的处理。
可选地,所述第十三消息用于请求激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括:
所述第二设备已进行新增第二凭证信息的处理。
可选地,所述第十三消息至少用于请求对第二设备进行所述凭证信息的处理。
可选地,所述第十三消息还用于请求去激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括如下至少一项:
所述第二设备已对第一凭证信息进行删除的处理;
所述第二设备已对第一凭证信息进行释放的处理;
所述第二设备已对第一凭证信息进行去注册的处理。
可选地,所述第十三消息还用于请求激活所述第二设备,所述第十三消息包含用于所述第二设备的第二凭证信息;其中,所述第二设备已进行的所述凭证信息的处理,包括:
所述第二设备已进行新增第二凭证信息的处理。
可选地,所述第十三消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于第一设备识别所述第二设备,所述第一设备为所述第二设备的读写设备;
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;
用于指示第一区域的信息;
用于指示第一服务类型的信息;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,所述第十四消息包含:
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备。
可选地,所述第十四消息还用于指示所述第二设备已去激活;
或,
物联网设备凭证信息的处理装置1500还包括:
第二接收模块,用于接收来自所述第一功能的第十五消息,所述第十五消息用于指示所述第二设备已去激活。
可选地,所述第十四消息还用于指示所述第二设备已激活;
或,
物联网设备凭证信息的处理装置1500还包括:
第三接收模块,用于接收来自所述第一功能的第十七消息,所述第十七消息用于指示所述第二设备已激活。
可选地,所述第一功能包括接入移动管理功能AMF,所述第二功能包括物联网网络功能实体IoT NF或网络开放功能NEF。
可选地,所述第二功能包括所述IoT NF,物联网设备凭证信息的处理装置1500还包括:
处理模块,用于对所述第二设备的相关信息进行处理。
可选地,所述处理模块具体用于如下至少一项:
删除所述第二设备的第一凭证信息对应的签约信息;
将所述第二设备的第一凭证信息对应的签约信息标记为未使用状态;
将所述第二设备的第一凭证信息对应的签约信息标记为去激活状态;
删除所述第二设备的服务标识与所述第二设备的第一凭证信息之间的对应关系;
将所述第二设备的第一凭证信息标记为未使用状态;
将所述第二设备的第一凭证信息标记为去激活状态;
删除所述第二设备的服务标识;
将所述第二设备的服务标识标记为无凭证信息的状态;
新增所述第二设备的第二凭证信息对应的签约信息;
将所述第二设备的第二凭证信息对应的签约信息标记为使用状态;
将所述第二设备的第二凭证信息对应的签约信息标记为激活状态;
新增所述第二设备的服务标识与所述第二设备的第二凭证信息之间的对应关系;
将所述第二设备的第二凭证信息标记为使用状态;
将所述第二设备的第二凭证信息标记为激活状态;
存储所述第二设备的服务标识;
将所述第二设备的服务标识标记为有凭证信息的状态。
可选地,所述第二功能包括所述IoT NF,物联网设备凭证信息的处理装置1500还包括:
第四接收模块,用于接收来自第三功能的第十八消息,所述第十八消息用于请求去激活所述第二设备,或,请求激活所述第二设备,所述第三功能包括所述NEF。
可选地,所述第十八消息还包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于第一设备识别所述第二设备,所述第一设备为所述第二设备的读写设备;
第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;
用于指示第一区域的信息;
用于指示第一服务类型的信息。
可选地,物联网设备凭证信息的处理装置1500还包括:
第二发送模块,用于向所述第三功能发送第十九消息,所述第十九消息用于指示所述第二设备已去激活,或,指示所述第二设备已激活。
可选地,所述第二功能包括所述NEF,物联网设备凭证信息的处理装置1500还包括:
第三发送模块,用于向第三功能发送第二十消息,所述第二十消息用于指示所述第三功能对所述第二设备的签约信息进行处理,所述第三功能包括所述IoT NF。
可选地,对所述第二设备的签约信息进行处理,包括:
对所述第二设备的签约信息进行删除;
或,
对所述第二设备的签约信息进行新增。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
本申请实施例提供的物联网设备凭证信息的处理装置1500能够实现图14的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例中的物联网设备凭证信息的处理装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端12的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
如图16所示,本申请实施例还提供一种通信设备1600,包括处理器1601和存储器1602,存储器1602上存储有可在所述处理器1601上运行的程序或指令,例如,该通信设备1600为第一设备时,该程序或指令被处理器1601执行时实现图8的方法实施例的各个步骤,且能达到相同的技术效果。该通信设备1600为第二设备时,该程序或指令被处理器1601执行时实现上述图10a或图10b的方法实施例的各个步骤,且能达到相同的技术效果。该通信设备1600为第一功能时,该程序或指令被处理器1601执行时实现上述图12的方法实施例的各个步骤,且能达到相同的技术效果。该通信设备1600为第二功能时,该程序或指令被处理器1601执行时实现上述图14的方法实施例的各个步骤,且能达到相同的技术效果。为避免重复,这里不再赘述。
本申请实施例还提供一种第一设备,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如图8所示方法实施例中的步骤。该第一设备实施例与上述第一设备侧方法实施例对应,上述第一设备侧方法实施例的各个实施过程和实现方式均可适用于该第一设备实施例中,且能达到相同的技术效果。
本申请实施例还提供一种第二设备,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如图10a或图10b所示方法实施例中的步骤。该第二设备实施例与上述第二设备侧方法实施例对应,上述第二设备侧方法实施例的各个实施过程和实现方式均可适用于该第二设备实施例中,且能达到相同的技术效果。
本申请实施例还提供一种第一功能,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如图12所示方法实施例中的步骤。该第一功能实施例与上述第一功能侧方法实施例对应,上述第一功能侧方法实施例的各个实施过程和实现方式均可适用于该第一功能实施例中,且能达到相同的技术效果。
本申请实施例还提供一种第二功能,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如图14所示方法实施例中的步骤。该第二功能实施例与上述第二功能侧方法实施例对应,上述第二功能侧方法实施例的各个实施过程和实现方式均可适用于该第二功能实施例中,且能达到相同的技术效果。
本申请实施例还提供一种终端,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如图8所示的方法实施例的步骤。该终端实施例与上述第一设备侧方法实施例对应。上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。
具体地,图17为实现本申请实施例的一种终端的硬件结构示意图。
该终端1700包括但不限于:射频单元1701、网络模块1702、音频输出单元1703、输入单元1704、传感器1705、显示单元1706、用户输入单元1707、接口单元1708、存储器1709以及处理器1710等中的至少部分部件。
本领域技术人员可以理解,终端1700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1710逻辑相连,从而通过电源管理系统实现管理充电、
放电以及功耗管理等功能。图17中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元1704可以包括图形处理单元(Graphics Processing Unit,GPU)17041和麦克风17042,图形处理器17041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1706可包括显示面板17061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板17061。用户输入单元1707包括触控面板17071以及其他输入设备17072中的至少一种。触控面板17071,也称为触摸屏。触控面板17071可包括触摸检测装置和触摸控制器两个部分。其他输入设备17072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元1701接收来自接入网设备的下行数据后,可以传输给处理器1710进行处理;另外,射频单元1701可以向接入网设备发送上行数据。通常,射频单元1701包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器1709可用于存储软件程序或指令以及各种数据。存储器1709可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1709可以包括易失性存储器或非易失性存储器。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1709包括但不限于这些和任意其它适合类型的存储器。
处理器1710可包括一个或多个处理单元;可选的,处理器1710集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1710中。
其中,射频单元1701用于:
接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;
向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
可选地,所述第一消息包含如下信息的至少一项:
第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备,所述第一消息至少用于请求对所述第一服务标识所标识的所述第二设备进行所述凭证信息的处理;
用于指示第一区域的信息,所述第一消息至少用于请求对所述第一区域中的所述第二设备进行所述凭证信息的处理;
用于指示第一服务类型的信息,所述第一消息至少用于请求对所述第一服务类型的所述第二设备进行所述凭证信息的处理;
用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
可选地,射频单元1701还用于:
接收来自所述第二设备的第三消息,所述第三消息包含所述第二设备的第一服务标识。
可选地,射频单元1701还用于:
接收来自所述第二设备的第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认;
向所述第一功能发送第五消息,所述第五消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
可选地,所述第五消息还包含如下信息的至少一项:
所述第二设备的第一服务标识;
用于指示所述第二设备所在的区域的信息;
用于指示所述第二设备的服务类型的信息。
可选地,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
对所述第二设备的第一凭证信息进行删除处理;
对所述第二设备的第一凭证信息进行释放处理;
对所述第二设备的第一凭证信息进行去注册处理。
可选地,所述第一消息还用于请求去激活所述第二设备;
或,
射频单元1701还用于:
接收来自所述第一功能的第六消息,所述第六消息用于请求去激活所述第二设备。
可选地,所述第六消息包含如下信息的至少一项:
第一服务标识,所述第六消息用于请求去激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第六消息用于请求去激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第六消息用于请求去激活服务类型包括所述第一服务类型的所述第二设备。
可选地,所述第二消息还用于请求去激活所述第二设备;
或,
射频单元1701还用于:
向所述第二设备发送第七消息,所述第七消息用于请求去激活所述第二设备。
可选地,所述第一设备接收来自所述第二设备的第四消息,所述第四消息还用于指示所述第二设备对去激活的确认;
或,
射频单元1701还用于:
接收来自所述第二设备的第八消息,所述第八消息用于指示所述第二设备对去激活的确认。
可选地,在所述第一设备向所述第一功能发送第五消息的情况下,所述第五消息还用于指示所述第二设备已去激活;
或,
射频单元1701还用于:
向所述第一功能发送第九消息,所述第九消息用于指示所述第二设备已去激活。
可选地,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:
新增所述第二设备的第二凭证信息;
向所述第二设备推送第二凭证信息。
可选地,所述第一消息还用于请求激活所述第二设备,所述第一消息包含用于所述第二设备的所述第二凭证信息;
或,
射频单元1701还用于:
接收来自所述第一功能的第十消息,所述第十消息用于请求激活所述第二设备,所述第一消息或所述第十消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第十消息包含如下信息的至少一项:
第一服务标识,所述第十消息用于请求激活所述第一服务标识所标识的所述第二设备;
用于指示第一区域的信息,所述第十消息用于请求激活所述第一区域中的所述第二设备;
用于指示第一服务类型的信息,所述第十消息用于请求激活服务类型包括所述第一服务类型的所述第二设备。
可选地,所述第二消息还用于请求激活所述第二设备,所述第二消息包含用于所述第二设备的第二凭证信息;
或,
射频单元1701还用于:
向所述第二设备发送第十一消息,所述第十一消息用于请求激活所述第二设备,所述第二消息或所述第十一消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第一功能包括接入移动管理功能AMF。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
本申请实施例还提供一种物联网设备,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如图10a或图10b所示的方法实施例的步骤。该物联网设备实施例与上述第二设备侧方法实施例对应。上述方法实施例的各个实施过程和实现方式均可适用于该物联网设备实施例中,且能达到相同的技术效果。
具体地,本申请实施例还提供了一种物联网设备。如图18所示,该物联网设备1800包括:射频单元1801(可选)、传感单元1802(可选)、存储单元1803、接口单元1804和处理器1805。
其中,射频单元1801用于:
接收来自第一设备的第二消息,所述第二消息至少用于请求所述第二设备进行凭证信息的第一处理;
处理器1805用于:
进行所述凭证信息的第一处理。
或者,
射频单元1801用于:
接收来自第一设备的第十二消息,所述第十二消息用于请求去激活所述第二设备,或请求激活所述第二设备;
处理器1805用于:
进行凭证信息的第二处理。
其中,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备。
可选地,处理器1805具体用于如下至少一项:
对第一凭证信息进行删除处理;
对第一凭证信息进行释放处理;
对第一凭证信息进行去注册处理;
新增第二凭证信息。
可选地,所述第十二消息用于请求去激活所述第二设备,处理器1805具体用于如下至少一项:
对第一凭证信息进行删除处理;
对第一凭证信息进行释放处理;
对第一凭证信息进行去注册处理。
可选地,所述第十二消息用于请求激活所述第二设备,所述第十二消息包含用于所述第二设备的第二凭证信息,处理器1805具体用于:
存储所述第二凭证信息。
可选地,射频单元1801还用于:
向所述第一设备发送第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
可选地,所述第二消息还用于请求去激活所述第二设备;
或,
射频单元1801还用于:
接收来自所述第一设备的第七消息,所述第七消息用于请求去激活所述第二设备。
可选地,第四消息还用于指示所述第二设备对去激活的确认;
或,
射频单元1801还用于:
向所述第一设备发送第八消息,所述第八消息用于指示所述第二设备对去激活的确认。
可选地,所述第二消息还用于请求激活所述第二设备,所述第二消息包含用于所述第二设备的第二凭证信息;
或,
射频单元1801还用于:
接收来自所述第一设备的第十一消息,所述第十一消息用于请求激活所述第二设备,所述第二消息或所述第十一消息包含用于所述第二设备的所述第二凭证信息。
可选地,所述第一设备包括终端或接入网设备。
在本申请实施例中,能够实现对物联网设备进行凭证信息的处理。这样,当存在对物联网设备进行凭证信息的处理的需求时,例如物联网设备的状态或使用场景发生变化时,能够及时地对物联网设备进行凭证信息的处理。由于物联网设备在通信网络中的凭证信息能够及时得到处理,一方面,当物联网设备暂时或永久不需要使用时,能够及时释放或回收物联网设备在通信网络中的凭证信息,从而能够避免凭证信息资源的浪费;另一方面,当物联网设备被激活或需要被激活时,能够及时为物联网设备新增凭证信息,从而能够使物联网设备尽快与通信网络联系,节约信令流程。
可以理解,本实施例中提及的各实现方式的实现过程可以参照物联网设备凭证信息的处理方法实施例的相关描述,并达到相同或相应的技术效果,为避免重复,在此不再赘述。
本申请实施例还提供一种接入网设备,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如图8所示的方法实施例的步骤。该接入网设备实施例与上述第一设备侧方法实施例对应。上述方法实施例的各个实施过程和
实现方式均可适用于该接入网设备实施例中,且能达到相同的技术效果。
具体地,本申请实施例还提供了一种接入网设备。如图19所示,该接入网设备1900包括:天线191、射频装置192、基带装置193、处理器194和存储器195。天线191与射频装置192连接。在上行方向上,射频装置192通过天线191接收信息,将接收的信息发送给基带装置193进行处理。在下行方向上,基带装置193对要发送的信息进行处理,并发送给射频装置192,射频装置192对收到的信息进行处理后经过天线191发送出去。
以上实施例中接入网设备执行的方法可以在基带装置193中实现,该基带装置193包括基带处理器。
基带装置193例如可以包括至少一个基带板,该基带板上设置有多个芯片,如图19所示,其中一个芯片例如为基带处理器,通过总线接口与存储器195连接,以调用存储器195中的程序,执行以上方法实施例中所示的网络设备操作。
该接入网设备还可以包括网络接口196,该接口例如为通用公共无线接口(Common Public Radio Interface,CPRI)。
具体地,本申请实施例的接入网设备1900还包括:存储在存储器195上并可在处理器194上运行的指令或程序,处理器194调用存储器195中的指令或程序执行图9所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。
本申请实施例还提供了一种核心网设备。如图20所示,该核心网设备2000包括:处理器2001、网络接口2002和存储器2003。其中,网络接口2002例如为通用公共无线接口(common public radio interface,CPRI)。
具体地,本申请实施例的核心网设备2000还包括:存储在存储器2003上并可在处理器2001上运行的指令或程序,处理器2001调用存储器2003中的指令或程序执行图13或图15所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述物联网设备凭证信息的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。在一些示例中,可读存储介质可以是非瞬态的可读存储介质。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述物联网设备凭证信息的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述物联网设备凭证
信息的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供了一种通信系统,包括:第一设备、第二设备、第一功能及第二功能,所述第一设备可用于执行如上所述的第一设备侧的物联网设备凭证信息的处理方法的步骤,所述第二设备可用于执行如上所述的第二设备侧的物联网设备凭证信息的处理方法的步骤,所述第一功能可用于执行如上所述的第一功能侧的物联网设备凭证信息的处理方法的步骤,所述第二功能可用于执行如上所述的第二功能侧的物联网设备凭证信息的处理方法的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助计算机软件产品加必需的通用硬件平台的方式来实现,当然也可以通过硬件。该计算机软件产品存储在存储介质(如ROM、RAM、磁碟、光盘等)中,包括若干指令,用以使得终端或者物联网设备或者接入网设备或者核心网设备执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式的实施方式,这些实施方式均属于本申请的保护之内。
Claims (47)
- 一种物联网设备凭证信息的处理方法,包括:第一设备接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;所述第一设备向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
- 根据权利要求1所述的方法,其中,所述方法还包括:所述第一设备接收来自所述第二设备的第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认;或,所述第一设备向所述第一功能发送第五消息,所述第五消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
- 根据权利要求1或2所述的方法,其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:对所述第二设备的第一凭证信息进行删除处理;对所述第二设备的第一凭证信息进行释放处理;对所述第二设备的第一凭证信息进行去注册处理;新增所述第二设备的第二凭证信息;向所述第二设备推送第二凭证信息。
- 根据权利要求1至3中任一项所述的方法,其中,所述第一设备包括终端或接入网设备,所述第一功能包括接入移动管理功能AMF。
- 一种物联网设备凭证信息的处理方法,包括:第二设备接收来自第一设备的第二消息,所述第二消息至少用于请求所述第二设备进行凭证信息的第一处理;所述第二设备进行所述凭证信息的第一处理;或者,第二设备接收来自第一设备的第十二消息,所述第十二消息用于请求去激活所述第二设备,或请求激活所述第二设备;所述第二设备进行凭证信息的第二处理;其中,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备。
- 根据权利要求5所述的方法,其中,所述第二设备进行所述凭证信息的第一处理,包括如下至少一项:所述第二设备对第一凭证信息进行删除处理;所述第二设备对第一凭证信息进行释放处理;所述第二设备对第一凭证信息进行去注册处理;所述第二设备存储第二凭证信息。
- 根据权利要求5所述的方法,其中,所述第十二消息用于请求去激活所述第二设备,所述第二设备进行所述凭证信息的第二处理,包括如下至少一项:所述第二设备对第一凭证信息进行删除处理;所述第二设备对第一凭证信息进行释放处理;所述第二设备对第一凭证信息进行去注册处理。
- 根据权利要求5所述的方法,其中,所述第十二消息用于请求激活所述第二设备,所述第十二消息包含用于所述第二设备的第二凭证信息,所述第二设备进行所述凭证信息的第二处理,包括:所述第二设备存储所述第二凭证信息。
- 根据权利要求5至8中任一项所述的方法,其中,所述方法还包括:所述第二设备向所述第一设备发送第四消息,所述第四消息至少用于指示所述第二设备对所述凭证信息的处理的确认。
- 一种物联网设备凭证信息的处理方法,包括:第一功能接收来自第二功能的第十三消息;所述第一功能基于所述第十三消息,向第一设备发送第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
- 根据权利要求10所述的方法,其中,所述第十三消息用于请求去激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:对所述第二设备的第一凭证信息进行删除处理;对所述第二设备的第一凭证信息进行释放处理;对所述第二设备的第一凭证信息进行去注册处理。
- 根据权利要求11所述的方法,其中,在所述第一功能在接收到所述第十三消息之后,所述方法还包括:删除所述第二设备的上下文信息。
- 根据权利要求10所述的方法,其中,所述第十三消息用于请求激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:新增所述第二设备的第二凭证信息;向所述第二设备推送第二凭证信息。
- 根据权利要求10所述的方法,其中,所述第十三消息至少用于请求对第二设备进行所述凭证信息的处理。
- 根据权利要求14所述的方法,其中,所述第十三消息还用于请求去激活所述第二设备;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:对所述第二设备的第一凭证信息进行删除处理;对所述第二设备的第一凭证信息进行释放处理;对所述第二设备的第一凭证信息进行去注册处理。
- 根据权利要求14所述的方法,其中,所述第十三消息还用于请求激活所述第二设备,所述第十三消息包含用于所述第二设备的第二凭证信息;其中,对所述第二设备进行所述凭证信息的处理,包括如下至少一项:新增所述第二设备的所述第二凭证信息;向所述第二设备推送所述第二凭证信息。
- 根据权利要求10至16中任一项所述的方法,其中,所述第一消息包含如下信息的至少一项:第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备,所述第一消息用于请求对所述第一服务标识所标识的所述第二设备进行所述凭证信息的处理;用于指示第一区域的信息,所述第一消息用于请求对所述第一区域中的所述第二设备进行所述凭证信息的处理;用于指示第一服务类型的信息,所述第一消息用于请求对所述第一服务类型的所述第二设备进行所述凭证信息的处理;用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
- 根据权利要求10至17中任一项所述的方法,其中,所述第十三消息包含如下信息的至少一项:第一服务标识,所述第一服务标识用于所述第一设备识别所述第二设备;第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;用于指示第一区域的信息;用于指示第一服务类型的信息;用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
- 根据权利要求10至18中任一项所述的方法,其中,在所述第一功能向第一设备发送第一消息之前,所述方法还包括:所述第一功能基于所述第十三消息,确定所述第一设备。
- 根据权利要求10至19中任一项所述的方法,其中,在所述第一功能向第一设备发送第一消息之后,所述方法还包括:所述第一功能接收来自所述第一设备的第五消息,所述第五消息至少包括所述第二设备对所述凭证信息的处理的确认。
- 根据权利要求20所述的方法,其中,在所述第一功能接收来自所述第一设备的第五消息之后,所述方法还包括:所述第一功能向所述第二功能发送第十四消息,所述第十四消息至少包括所述第二设备对所述凭证信息的处理的确认。
- 根据权利要求20或21所述的方法,其中,在所述第一功能接收来自所述第一设备的第五消息之后,所述方法还包括:所述第一功能删除所述第二设备的上下文信息。
- 根据权利要求12或22所述的方法,其中,所述第二设备的上下文信息包括如下信息的至少一项:所述第二设备的状态信息;所述第二设备在通信网络中的凭证信息;所述第二设备的第一服务标识;所述第二设备的第二服务标识;所述第二设备的签约信息;所述第二设备对应的读写设备的信息。
- 根据权利要求11、12或15所述的方法,其中,所述第一消息还用于请求去激活所述第二设备;或,所述方法还包括:所述第一功能向所述第一设备发送第六消息,所述第六消息用于请求去激活所述第二设备。
- 根据权利要求13或16所述的方法,其中,所述第一消息还用于请求激活所述第二设备,所述第一消息包含用于所述第二设备的所述第二凭证信息;或,所述方法还包括:所述第一设备接收来自所述第一功能的第十消息,所述第十消息用于请求激活所述第二设备,所述第一消息或所述第十消息包含用于所述第二设备的所述第二凭证信息。
- 根据权利要求10至25中任一项所述的方法,其中,所述第一设备包括终端或接入网设备,所述第一功能包括接入移动管理功能AMF,所述第二功能包括物联网网络功能实体IoT NF或网络开放功能NEF。
- 根据权利要求26所述的方法,其中,所述第二功能包括所述NEF,所述方法还包括:所述第一功能向第三功能发送第十六消息,所述第十六消息用于指示所述第三功能对所述第二设备的签约信息进行处理,所述第三功能包括所述IoT NF。
- 根据权利要求27所述的方法,其中,对所述第二设备的签约信息进行处理,包括:对所述第二设备的签约信息进行删除;或,对所述第二设备的签约信息进行新增。
- 一种物联网设备凭证信息的处理方法,包括:第二功能向第一功能发送第十三消息;所述第二功能接收来自第一功能的第十四消息,所述第十四消息用于指示第二设备已进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
- 根据权利要求29所述的方法,其中,所述第十三消息用于请求去激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括如下至少一项:所述第二设备已对第一凭证信息进行删除的处理;所述第二设备已对第一凭证信息进行释放的处理;所述第二设备已对第一凭证信息进行去注册的处理。
- 根据权利要求29所述的方法,其中,所述第十三消息用于请求激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括:所述第二设备已进行新增第二凭证信息的处理。
- 根据权利要求29所述的方法,其中,所述第十三消息至少用于请求对第二设备进行所述凭证信息的处理。
- 根据权利要求32所述的方法,其中,所述第十三消息还用于请求去激活所述第二设备;其中,所述第二设备已进行的所述凭证信息的处理,包括如下至少一项:所述第二设备已对第一凭证信息进行删除的处理;所述第二设备已对第一凭证信息进行释放的处理;所述第二设备已对第一凭证信息进行去注册的处理。
- 根据权利要求32所述的方法,其中,所述第十三消息还用于请求激活所述第二设备,所述第十三消息包含用于所述第二设备的第二凭证信息;其中,所述第二设备已进行的所述凭证信息的处理,包括:所述第二设备已进行新增第二凭证信息的处理。
- 根据权利要求29至34中任一项所述的方法,其中,所述第十三消息包含如下信息的至少一项:第一服务标识,所述第一服务标识用于第一设备识别所述第二设备,所述第一设备为所述第二设备的读写设备;第二服务标识,所述第二服务标识用于所述第二功能识别所述第二设备;用于指示第一区域的信息;用于指示第一服务类型的信息;用于指示对所述第二设备进行所述凭证信息的处理的原因的信息。
- 根据权利要求29至35中任一项所述的方法,其中,所述第一功能包括接入移动管理功能AMF,所述第二功能包括物联网网络功能实体IoT NF或网络开放功能NEF。
- 根据权利要求36所述的方法,其中,所述第二功能包括所述IoT NF,所述方法还包括:所述第二功能对所述第二设备的相关信息进行处理。
- 根据权利要求37所述的方法,其中,所述第二功能对所述第二设备的相关信息进行处理,包括如下至少一项:所述第二功能删除所述第二设备的第一凭证信息对应的签约信息;所述第二功能将所述第二设备的第一凭证信息对应的签约信息标记为未使用状态;所述第二功能将所述第二设备的第一凭证信息对应的签约信息标记为去激活状态;所述第二功能删除所述第二设备的服务标识与所述第二设备的第一凭证信息之间的对应关系;所述第二功能将所述第二设备的第一凭证信息标记为未使用状态;所述第二功能将所述第二设备的第一凭证信息标记为去激活状态;所述第二功能删除所述第二设备的服务标识;所述第二功能将所述第二设备的服务标识标记为无凭证信息的状态;所述第二功能新增所述第二设备的第二凭证信息对应的签约信息;所述第二功能将所述第二设备的第二凭证信息对应的签约信息标记为使用状态;所述第二功能将所述第二设备的第二凭证信息对应的签约信息标记为激活状态;所述第二功能新增所述第二设备的服务标识与所述第二设备的第二凭证信息之间的对应关系;所述第二功能将所述第二设备的第二凭证信息标记为使用状态;所述第二功能将所述第二设备的第二凭证信息标记为激活状态;所述第二功能存储所述第二设备的服务标识;所述第二功能将所述第二设备的服务标识标记为有凭证信息的状态。
- 根据权利要求36所述的方法,其中,所述第二功能包括所述IoT NF,在所述第二功能向第一功能发送第十三消息之前,所述方法还包括:所述第二功能接收来自第三功能的第十八消息,所述第十八消息用于请求去激活所述第二设备,或,请求激活所述第二设备,所述第三功能包括所述NEF。
- 根据权利要求36所述的方法,其中,所述第二功能包括所述NEF,所述方法还包括:所述第二功能向第三功能发送第二十消息,所述第二十消息用于指示所述第三功能对所述第二设备的签约信息进行处理,所述第三功能包括所述IoT NF。
- 根据权利要求40所述的方法,其中,对所述第二设备的签约信息进行处理,包括:对所述第二设备的签约信息进行删除;或,对所述第二设备的签约信息进行新增。
- 一种物联网设备凭证信息的处理装置,应用于第一设备,所述装置包括:第一接收模块,用于接收来自第一功能的第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二 设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息;第一发送模块,用于向所述第二设备发送第二消息,所述第二消息至少用于请求所述凭证信息的处理。
- 一种物联网设备凭证信息的处理装置,应用于第二设备,所述装置包括第一接收模块和处理模块,其中,所述第一接收模块用于:接收来自第一设备的第二消息,所述第二消息至少用于请求所述第二设备进行凭证信息的第一处理;所述处理模块用于:进行所述凭证信息的第一处理;或者,所述第一接收模块用于:接收来自第一设备的第十二消息,所述第十二消息用于请求去激活所述第二设备,或请求激活所述第二设备;所述处理模块用于:进行凭证信息的第二处理;其中,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备。
- 一种物联网设备凭证信息的处理装置,应用于第一功能,所述装置包括:第一接收模块,用于接收来自第二功能的第十三消息;第一发送模块,用于向第一设备发送第一消息,所述第一消息至少用于请求对第二设备进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述第一设备为所述第二设备的读写设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
- 一种物联网设备凭证信息的处理装置,应用于第二功能,所述装置包括:第一发送模块,用于向第一功能发送第十三消息;第一接收模块,用于接收来自第一功能的第十四消息,所述第十四消息用于指示第二设备已进行凭证信息的处理,所述第二设备包括物联网IoT设备,所述凭证信息为所述第二设备在通信网络中的凭证信息。
- 一种通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至4中任一项所述的物联网设备凭证信息的处理方法的步骤,或者执行时实现如权利要求5至9中任一项所述的物联网设备凭证信息的处理方法的步骤,或者执行时实现如权利要求10至28中任一项所述的物联网设备凭证信息的处理方法的步骤,或者执行时实现如权利要求29至41中任一项所述的物联网设备凭证信息的处理方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至4中任一项所述的物联网设备凭证信息的处理方法的步骤,或者执行时实现如权利要求5至9中任一项所述的物联网设备凭证信息的处理方法的步骤,或者执行时实现如权利要求10至28中任一项所述的物联网设备凭证信息的处理方法的步骤,或者执行时实现如权利要求29至41中任一项所述的物联网设备凭证信息的处理方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310477939.6A CN118869722A (zh) | 2023-04-28 | 2023-04-28 | 物联网设备凭证信息的处理方法、装置及相关设备 |
| CN202310477939.6 | 2023-04-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024222602A1 true WO2024222602A1 (zh) | 2024-10-31 |
Family
ID=93179910
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/089011 Ceased WO2024222602A1 (zh) | 2023-04-28 | 2024-04-22 | 物联网设备凭证信息的处理方法、装置及相关设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118869722A (zh) |
| WO (1) | WO2024222602A1 (zh) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109150807A (zh) * | 2017-06-19 | 2019-01-04 | 上海中兴软件有限责任公司 | 凭证分发方法、用户终端、用户签约认证管理单元及介质 |
| CN114097261A (zh) * | 2019-06-24 | 2022-02-25 | 上海诺基亚贝尔股份有限公司 | 网络切片特定凭证的动态分配 |
| US20220141658A1 (en) * | 2020-11-05 | 2022-05-05 | Visa International Service Association | One-time wireless authentication of an internet-of-things device |
| WO2023000139A1 (zh) * | 2021-07-19 | 2023-01-26 | 北京小米移动软件有限公司 | 传输凭证的方法、装置、通信设备及存储介质 |
| CN115699678A (zh) * | 2020-07-22 | 2023-02-03 | Oppo广东移动通信有限公司 | 设备注销的方法、设备注册的方法、通信设备和云平台 |
-
2023
- 2023-04-28 CN CN202310477939.6A patent/CN118869722A/zh active Pending
-
2024
- 2024-04-22 WO PCT/CN2024/089011 patent/WO2024222602A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109150807A (zh) * | 2017-06-19 | 2019-01-04 | 上海中兴软件有限责任公司 | 凭证分发方法、用户终端、用户签约认证管理单元及介质 |
| CN114097261A (zh) * | 2019-06-24 | 2022-02-25 | 上海诺基亚贝尔股份有限公司 | 网络切片特定凭证的动态分配 |
| CN115699678A (zh) * | 2020-07-22 | 2023-02-03 | Oppo广东移动通信有限公司 | 设备注销的方法、设备注册的方法、通信设备和云平台 |
| US20220141658A1 (en) * | 2020-11-05 | 2022-05-05 | Visa International Service Association | One-time wireless authentication of an internet-of-things device |
| WO2023000139A1 (zh) * | 2021-07-19 | 2023-01-26 | 北京小米移动软件有限公司 | 传输凭证的方法、装置、通信设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118869722A (zh) | 2024-10-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023116786A1 (zh) | 物联网设备的注册方法、装置、通信设备、核心网设备、存储介质及系统 | |
| CN116156667B (zh) | 物联网设备的会话建立方法及装置 | |
| WO2023198068A1 (zh) | 移动性管理方法、装置、终端、网络侧设备及介质 | |
| WO2024022440A1 (zh) | 小区切换方法、装置及相关设备 | |
| WO2024140725A1 (zh) | 传输方法及装置 | |
| WO2024149127A1 (zh) | 信息获取、发送方法、装置及通信设备 | |
| WO2024037512A1 (zh) | 网络接入方法、装置、终端及通信设备 | |
| WO2024104150A1 (zh) | 定位方法、装置及通信设备 | |
| WO2025067117A1 (zh) | 环境物联网设备的读写方法、读写器及网络侧设备 | |
| WO2024222602A1 (zh) | 物联网设备凭证信息的处理方法、装置及相关设备 | |
| WO2024208125A1 (zh) | Srs配置方法、装置及相关设备 | |
| EP4429209A1 (en) | Dns message sending method, terminal, and network side device | |
| WO2024067436A1 (zh) | 信息传输方法、装置及设备 | |
| WO2023186088A1 (zh) | 发起bsc链路建立的方法、终端及网络侧设备 | |
| WO2025026363A1 (zh) | 物联网设备控制方法、装置、通信设备及可读存储介质 | |
| CN116567777B (zh) | 接入参数使用方法、终端及网络侧 | |
| WO2025209295A1 (zh) | 通信处理方法、装置、设备及可读存储介质 | |
| WO2024169805A1 (zh) | 配置更新方法、配置更新装置、终端及网络侧设备 | |
| WO2024125454A1 (zh) | 信息交互方法及设备 | |
| WO2025148880A1 (zh) | Ntn的通信方法、装置终端及网络侧设备 | |
| WO2023213242A1 (zh) | Ue策略信息的配置方法、装置、第一网络功能及终端 | |
| WO2025140129A1 (zh) | 寻呼方法、装置、设备及存储介质 | |
| WO2024199161A1 (zh) | 鉴权方法、鉴权装置、通信设备及可读存储介质 | |
| WO2024235039A1 (zh) | 时间同步状态的处理方法、装置、终端及网络侧设备 | |
| WO2025130794A9 (zh) | 操作执行方法、装置、通信设备及可读存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24795983 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |