Device state management method and electronic device
By enabling IoT devices to proactively report status information and readers to provide flexible instructions, the timeliness and accuracy of IoT device status management are addressed, thereby improving network resource management efficiency and service reliability.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-08-07
- Publication Date
- 2026-04-02
Smart Images

Figure CN2025113340_02042026_PF_FP_ABST
Abstract
Description
Device state management method and electronic device
[0001] The present application claims priority to the Chinese Patent Application No. 202411396050.6, filed on September 30, 2024, and entitled "Device state management method and electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of Internet of Things, and in particular to a device state management method and an electronic device. BACKGROUND
[0003] Internet of Things (IoT) is a new network architecture based on the Internet, which is a new technology mode combining sensors, intelligent devices, cloud computing, big data, artificial intelligence and other information technologies. Internet of Things can connect any object in the physical world with the Internet, realize real-time monitoring, intelligent control, remote operation and other functions, and realize the interconnection between things and things, people and things. By using Internet of Things, new generation information technology can be fully utilized in various industries, such as intelligent transportation, smart home, smart agriculture, environmental protection, public safety, intelligent manufacturing, personal health and other fields.
[0004] Based on Internet of Things technology, a reader / writer can read information (such as tag information, sensor data, etc.) on Internet of Things devices within an effective identification range, and write data to Internet of Things devices as needed. Internet of Things devices can provide identity information, status information or sensor data to the reader / writer through radio frequency or other wireless communication technologies. And Internet of Things devices can also receive commands from the reader / writer and perform corresponding operations such as status update and data return according to the commands. Among them, the reader / writer needs to send different instructions to Internet of Things devices based on different device states of Internet of Things devices. Therefore, it is necessary to manage the device states of Internet of Things devices. SUMMARY
[0005] Embodiments of the present application provide a device state management method and an electronic device, which can effectively manage and maintain the status information of Internet of Things devices.
[0006] To achieve the above-mentioned purpose, the embodiments of the present application adopt the following technical solutions:
[0007] In a first aspect, a device state management method is provided, applied to a first Internet of Things device. The method includes: sending first status information to a first reader / writer, the first status information being used to represent the reachable state of the first Internet of Things device.
[0008] The first Internet of Things device sends its own state information to the first reader, so that the first reader can obtain the state information of the first Internet of Things device in time to understand the reachability related information of the first Internet of Things device, so as to effectively manage and maintain the state information of the first Internet of Things device. In this way, the first reader can perform different operations based on different state information of the first Internet of Things device, thereby improving the accuracy of the management of the first Internet of Things device, and further improving the reliability and completion efficiency of related services in the Internet of Things.
[0009] In addition, in the technical solution, the first Internet of Things device actively reports the state information, and the device has high initiative, which can reduce the dependence on the network side, and can more timely report the state information when the device detects that the state of the device changes.
[0010] In combination with the first aspect, in an implementation manner, the first state information is used to indicate:
[0011] The first Internet of Things device is reachable;
[0012] The first Internet of Things device is not reachable;
[0013] The access stratum (AS) of the first Internet of Things device is reachable;
[0014] The AS of the first Internet of Things device is not reachable;
[0015] The connection management (CM) of the first Internet of Things device is reachable;
[0016] Or, the CM of the first Internet of Things device is not reachable.
[0017] In this way, the first Internet of Things device can comprehensively report (to the first reader) the reachability state information of itself, which can enable the first reader to more accurately determine and manage the state of the first Internet of Things device.
[0018] In combination with the first aspect, in an implementation manner, the first state information includes identification information of the first Internet of Things device; or the first state information includes identification information of the first Internet of Things device and reachability / unreachability indication information.
[0019] For example, the pre-defined reporting rule of the state information includes: if only the identification of the Internet of Things device is reported, it indicates that the Internet of Things device is AS reachable or not reachable, at this time, the first state information can only include the identification information of the Internet of Things device. Or, if there is no pre-defined reporting rule, in addition to the identification information of the first Internet of Things device, reachability / unreachability indication information also needs to be reported.
[0020] In combination with the first aspect, in an implementation, the first state information further indicates a reachable / unreachable time. Thus, the first reader can more accurately manage and maintain the reachability of the first IoT device based on the reachable / unreachable time.
[0021] In combination with the first aspect, in an implementation, before sending the first state information to the first reader, the method further includes: receiving a first signaling from the first reader, the first signaling being used to request the state information, or being used to indicate reporting the state information.
[0022] In this implementation, the first reader can instruct the first IoT device to report the state information, so that the state information of the first IoT device can be effectively managed and maintained. Moreover, the first reader can flexibly instruct the first IoT device to report the state information according to requirements, and can adapt to different actual business scenarios.
[0023] In combination with the first aspect, in an implementation, the first signaling is specifically used to request the state information of the IoT device satisfying a reporting trigger condition, or is specifically used to instruct the IoT device satisfying the reporting trigger condition to report the state information, and sending the first state information to the first reader includes: sending the first state information to the first reader when the first IoT device satisfies the reporting trigger condition.
[0024] In this way, the first reader can set the reporting trigger condition based on current actual requirements, so that the device state of the first IoT device can be flexibly managed and maintained based on real-time requirements, unnecessary information transmission can be avoided, network resources and device states can be efficiently managed, and unnecessary overheads can be reduced.
[0025] In combination with the first aspect, in an implementation, the reporting trigger condition is carried in the first signaling or is predefined.
[0026] In combination with the first aspect, in an implementation, the first signaling includes at least one of the following: a reader index, a reader group index, and a region index.
[0027] The reader index is an index of the first reader. The reader group index is an index of a reader group to which the first reader belongs. The region index is an index of a region to which the first reader belongs.
[0028] In combination with the first aspect, in an implementation, sending the first state information to the first reader includes: sending the first state information to the first reader when the first IoT device satisfies the reporting trigger condition. In this implementation, the first IoT device can actively send the first state information to the first reader when the reporting trigger condition is satisfied.
[0029] In an implementation form of the first aspect, the IoT device satisfying the reporting trigger condition comprises any one of:
[0030] the IoT device whose reachability state is changed;
[0031] the IoT device whose reachability state is not changed;
[0032] the IoT device in the reachability state;
[0033] the IoT device in the non-reachability state.
[0034] In an implementation form of the first aspect, the IoT device whose reachability state is changed comprises that the reader which retains the context of the IoT device is changed, the reader of the last communication is different from the first reader, or the index corresponding to the reader of the last communication is different from the index corresponding to the first reader.
[0035] In an implementation form of the first aspect, before the state information is sent to the first reader, the method further comprises: determining whether the reporting trigger condition is satisfied according to at least one of whether the index of the reader received by the first IoT device is changed, whether the stored AS identifier information, or whether the stored key information.
[0036] In an implementation form of the first aspect, before the first state information is sent to the first reader, the method further comprises: receiving a second signaling from the first reader, the second signaling comprising an inventory command of the second IoT device or a physical reader-to-device channel command.
[0037] In this way, the IoT device can report the state information based on the signaling of other devices, thereby reducing the burden of the network and saving signaling overhead.
[0038] In an implementation form of the first aspect, the first state information is further used to indicate that the first IoT device does not match the identifier information of the IoT device carried by the second signaling.
[0039] In a second aspect, a device state management method is provided, applied to a first reader, the method comprising: receiving first state information from a first IoT device, the first state information being used to represent a reachability state of the first IoT device; updating or maintaining the state information of the first IoT device.
[0040] In an implementation form of the second aspect, the first state information is used to indicate:
[0041] the first IoT device is reachable;
[0042] the first IoT device is not reachable;
[0043] The AS of the first Internet of Things device is reachable;
[0044] The AS of the first Internet of Things device is not reachable;
[0045] The CM of the first Internet of Things device is reachable;
[0046] Or, the CM of the first Internet of Things device is not reachable.
[0047] With reference to the second aspect, in an implementation manner, the first state information comprises: identification information of the first Internet of Things device; or the first state information comprises: identification information of the first Internet of Things device, and reachable / unreachable indication information.
[0048] With reference to the second aspect, in an implementation manner, the first state information further indicates: time of reachability / unreachability.
[0049] With reference to the second aspect, in an implementation manner, before receiving the first state information from the first Internet of Things device, the method further comprises: sending first signaling to the first Internet of Things device, the first signaling being used for requesting state information, or being used for indicating reporting state information.
[0050] With reference to the second aspect, in an implementation manner, the first signaling comprises at least one of the following: reader index, reader group index, area index.
[0051] With reference to the second aspect, in an implementation manner, the first signaling is triggered periodically, or the first signaling is triggered by valid information of the state of the first Internet of Things device.
[0052] With reference to the second aspect, in an implementation manner, the first signaling is specifically used for requesting: state information of an Internet of Things device satisfying a reporting trigger condition, or is specifically used for indicating: reporting, by an Internet of Things device, state information satisfying a reporting trigger condition.
[0053] With reference to the second aspect, in an implementation manner, the Internet of Things device satisfying the reporting trigger condition comprises any one of the following:
[0054] An Internet of Things device whose reachability state is changed;
[0055] An Internet of Things device whose reachability state is not changed;
[0056] An Internet of Things device in a reachable state;
[0057] An Internet of Things device in an unreachable state.
[0058] In combination with the second aspect, in an implementation, the IoT device whose reachable state is changed comprises: the reader whose context on the IoT device is reserved is changed, the reader of the last communication is different from the first reader, or the index corresponding to the reader of the last communication is different from the index corresponding to the first reader.
[0059] In combination with the second aspect, in an implementation, before receiving the first state information from the first IoT device, the method further comprises: sending, to the first IoT device, second signaling, the second signaling comprising an inventory command or a physical reader-to-device channel command of the second IoT device.
[0060] In combination with the second aspect, in an implementation, the first state information further indicates that the first IoT device does not match the identification information of the IoT device carried by the second signaling.
[0061] The third aspect provides another device state management method, applied to a first IoT device, the method comprising: receiving third signaling from a first reader, the third signaling being used to instruct the first IoT device to update, maintain, or release a reachable state; and updating, maintaining, or releasing the reachable state according to the third signaling.
[0062] The state information of the IoT device can be updated, maintained, or released based on the instruction of the first reader, thereby ensuring the real-time and accuracy of the device state in the network, and helping to provide more stable and reliable services and improve the stability and security of the network. Moreover, through periodic or on-demand state information updating, resources can be more effectively managed based on the state information.
[0063] In combination with the third aspect, in an implementation, the third signaling comprises at least one of:
[0064] indication information used to instruct the first IoT device to update, maintain, or release the reachable state;
[0065] configuration information of the context corresponding to the first IoT device;
[0066] configuration information of the state information corresponding to the first IoT device.
[0067] In combination with the third aspect, in an implementation, the updating, maintaining, or releasing of the reachable state comprises: updating, maintaining, or releasing of a CM state, and updating, maintaining, or releasing of an AS state.
[0068] In combination with the third aspect, in an implementation, the updating of the reachable state comprises at least one of:
[0069] storing information related to the CM reachable state;
[0070] discarding information related to the CM reachable state;
[0071] receiving the CM reachability state related information from the first reader-writer.
[0072] In combination with the third aspect, in an implementation, the reachability state updating, maintaining or releasing comprises:
[0073] storing the AS reachability state related information;
[0074] discarding the AS reachability state related information;
[0075] receiving the AS reachability state related information from the first reader-writer.
[0076] A fourth aspect provides another device state management method applied to a first reader-writer, the method comprising: sending third signaling to a first Internet of Things device, the third signaling being used to instruct the first Internet of Things device to perform reachability state updating, maintaining or releasing.
[0077] In combination with the fourth aspect, in an implementation, the third signaling comprises at least one of:
[0078] indication information used to instruct the first Internet of Things device to perform reachability state updating, maintaining or releasing;
[0079] configuration information of a context corresponding to the first Internet of Things device;
[0080] configuration information of state information corresponding to the first Internet of Things device.
[0081] In combination with the fourth aspect, in an implementation, the reachability state updating, maintaining or releasing comprises: CM state updating, maintaining or releasing, and AS state updating, maintaining or releasing.
[0082] In combination with the fourth aspect, in an implementation, the third signaling is triggered by a timer set through a core network, the third signaling is triggered by update request information of the core network, or the third signaling is triggered by state validity information of the first Internet of Things device.
[0083] In combination with the fourth aspect, in an implementation, the method further comprises:
[0084] receiving identification information from the first Internet of Things device;
[0085] based on the identification information, sending configuration information of an updated CM state to the first Internet of Things device.
[0086] In combination with the fourth aspect, in an implementation, the method further comprises:
[0087] receiving identification information from the first Internet of Things device;
[0088] Based on the identification information, the first Internet of Things device is sent the configuration information of the updated AS state.
[0089] In a fifth aspect, an electronic device is provided, which can be an Internet of Things device, and the Internet of Things device has a function of implementing the method of the first aspect or the third aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0090] In a sixth aspect, an electronic device is provided, which can be a reader / writer, and the Internet of Things device has a function of implementing the method of the second aspect or the fourth aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0091] In a seventh aspect, an electronic device is provided, which can be an Internet of Things device, and the electronic device includes a processor and a memory. The memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions stored in the memory to cause the Internet of Things device to perform the method of any one of the first aspect or the third aspect.
[0092] In an eighth aspect, an electronic device is provided, which can be a reader / writer, and the electronic device includes a processor and a memory. The memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions stored in the memory to cause the reader / writer to perform the method of any one of the second aspect or the fourth aspect.
[0093] In a ninth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores instructions, which, when executed on a computer, cause the computer to perform the method of any one of the first aspect, the second aspect, the third aspect, or the fourth aspect.
[0094] In a tenth aspect, a computer program product is provided, and the computer program product includes instructions, which, when executed on a computer, cause the computer to perform the method of any one of the first aspect, the second aspect, the third aspect, or the fourth aspect.
[0095] In an eleventh aspect, an apparatus (for example, the apparatus can be a chip system) is provided, and the apparatus includes a processor configured to support a terminal device to implement the functions involved in the first aspect, the second aspect, the third aspect, or the fourth aspect. In a possible design, the apparatus further includes a memory configured to save necessary program instructions and data for the terminal device. When the apparatus is a chip system, the apparatus can be composed of a chip, or can include a chip and other discrete devices.
[0096] The technical effects brought by any one of the designs in the fifth aspect to the eleventh aspect can refer to the technical effects brought by different designs in the first aspect, the second aspect, the third aspect, or the fourth aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0097] FIG. 1 is a network architecture diagram of an Internet of Things provided by an embodiment of the present application;
[0098] FIG. 2 is an interaction flow diagram between an Internet of Things device and a reader / writer provided by an embodiment of the present application;
[0099] FIG. 3A is a stocktaking flow diagram provided by an embodiment of the present application;
[0100] FIG. 3B is a read / write flow diagram provided by an embodiment of the present application;
[0101] FIG. 4 is another network architecture diagram of an Internet of Things provided by an embodiment of the present application;
[0102] FIG. 5A is a communication mode diagram between an Internet of Things device and a reader / writer provided by an embodiment of the present application;
[0103] FIG. 5B is another communication mode diagram between an Internet of Things device and a reader / writer provided by an embodiment of the present application;
[0104] FIG. 5C is another communication mode diagram between an Internet of Things device and a reader / writer provided by an embodiment of the present application;
[0105] FIG. 6 is a flow diagram of a device state management method provided by an embodiment of the present application;
[0106] FIG. 7 is a flow diagram of another device state management method provided by an embodiment of the present application;
[0107] FIG. 8 is a flow diagram of another device state management method provided by an embodiment of the present application;
[0108] FIG. 9 is a flow diagram of another device state management method provided by an embodiment of the present application;
[0109] FIG. 10 is a device structure composition diagram provided by an embodiment of the present application;
[0110] FIG. 11 is a chip system structure composition diagram provided by an embodiment of the present application. DETAILED DESCRIPTION
[0111] In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing the particular embodiments and are not intended to be limiting of the present application. As used in the specification and the appended claims of the application, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and / or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. The term “and / or” used in the context of the application refers to three relationships: A and / or B, A or B, and A and B.
[0112] Reference throughout this specification to “one embodiment” or “an embodiment” or “some embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. Thus, the appearances of the phrases “in one embodiment” or “in some embodiments” or “in other embodiments” or “in additional embodiments” or the like in various places throughout this specification are not necessarily referring to the same embodiment, unless otherwise expressly specified. The terms “including,” “containing,” “having,” and variations thereof are meant to encompass the terms “including but not limited to.” The term “connected” is used broadly and encompasses both direct and indirect connections, unless otherwise noted. The terms “first,” “second,” and “third” are used to describe various elements, but are not used to denote relative importance or a number of the elements.
[0113] In the present application, the word “exemplary” or “for example” is used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as “exemplary” or “for example” is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word “exemplary” or “for example” is intended to present concepts in a concrete manner.
[0114] The method provided in the application can be applied in various communication systems, for example, can be an internet of things (IoT), an ambient internet of things (A IoT), a narrow band internet of things (NB-IoT), a vehicle-to-everything (V2X), an artificial intelligence of things (AI IoT), a passive internet of things based communication system, and the like.
[0115] The system architecture to which the embodiments of the application are applied is described below.
[0116] Referring to FIG. 1, FIG. 1 shows a schematic diagram of the architecture of the internet of things to which the embodiments of the application are applied. As shown in FIG. 1, the internet of things can include an internet of things device 10, a reader 20, and a server 30.
[0117] The internet of things device 10 can have functions of data acquisition, processing, transmission, and the like, and can be connected to an internet of things platform or a data center through a wireless network or a wired network to realize interconnection and intelligent application of data.
[0118] In some embodiments, the Internet of Things device 10 can include a passive device, a semi-passive device, or an active device. Among them, the passive device can be a passive tag capable of collecting energy through backscatter technology to transceive messages, including but not limited to radio frequency identification (RFID), Bluetooth, Zigbee, etc. The semi-passive device usually refers to a device equipped with a battery pack to provide partial or auxiliary power, but the energy provided by the battery pack is limited, and the device still needs to obtain energy from the outside to maintain normal operation. For example, battery-assisted RFID tags, low-power sensors, etc. The active device can be a device with wireless transceiving function, such as mobile phone, pad, computer with wireless transceiving function, virtual reality (VR) terminal, augmented reality (AR) terminal, wireless terminal in industrial control, wireless terminal in self driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication function, computing device or other processing device connected to wireless modem, vehicle-mounted device, wearable device, terminal in various possible mobile communication systems or terminal in future evolution network, etc.
[0119] The reader 20 can read the data information in the Internet of Things device reading terminal in the effective identification range (or called management range, action range, etc.) according to the operation instruction issued by the server 30, so as to identify the Internet of Things device and exchange data with the Internet of Things device.
[0120] The reader / writer 20 (including the first reader / writer) can be a handheld terminal, or a fixed or mobile deployment reader / writer unit. It can also be a base station (BS), a node, or an intermediate node in a network, where the node can be a user equipment (UE). The reader / writer can transmit data signals, and also receive and analyze data transmitted by the IoT device. The reader / writer 20 can also be referred to as a reader, and can be deployed independently or integrated into other devices, such as an access network device or a terminal. Optionally, the reader / writer 20 can perform inventory, read, or write operations on the IoT device within the effective identification range. The inventory can also be referred to as a count, and the present application does not limit the inventory to be described below. If the operation is inventory, the reader / writer 20 can inventory the information of the IoT device 10 within its management range. If the operation is read, the reader / writer 20 reads the data in the storage area of the IoT device 10. Optionally, in some cases where the information stored in the IoT device 10 needs to be rewritten, the reader / writer 20 can also have a write function. If the operation is write, the reader / writer 20 writes data into the storage of the IoT device 10.
[0121] The server 30 can issue operation instructions according to requirements, and obtain the final result of the execution of the IoT device 10. The final result can include but is not limited to the type of device read, the number of terminals, whether the read operation is successful, etc. The server 30 can be located in a local network, such as a data network, or the server 30 can be located in a third-party application system, in which case the server 30 can be understood as an application function (AF).
[0122] The operation instructions issued by the server 30 can include one or more of the inventory instruction, the read instruction, the write instruction, and the invalidation operation. It should be understood that the present application does not limit the type of operation instruction or the naming of the operation instruction. In addition to the inventory instruction, the read instruction, the write instruction, and the invalidation operation, other operation instructions can also be included, and the operation instructions can also be named other names without limitation.
[0123] The operation instruction described in the present application can be used to instruct the Internet of Things device to perform certain operation, such as the inventory instruction can be used to instruct the Internet of Things device to perform the inventory operation, the read instruction can be used to instruct the Internet of Things device to perform the read operation, the write instruction can be used to instruct the Internet of Things device to perform the write operation, and the invalidation instruction can be used to instruct the Internet of Things device to perform the invalidation operation. The inventory operation can be an operation of obtaining the identification (such as the tag identification) of the Internet of Things device. The read operation can be an operation of reading the information stored in the Internet of Things device. The write operation can be an operation of writing information into the memory of the Internet of Things device. The invalidation operation can be an operation of invalidating the information (such as the tag identification of the Internet of Things device) of the Internet of Things device, and the invalidated Internet of Things device cannot be inventoried, cannot be read / written.
[0124] In some embodiments, the interaction process between the reader (such as the reader 20 in FIG. 1) and the Internet of Things device (such as the Internet of Things device 10 in FIG. 1) is generally that the reader first sends a paging message to the Internet of Things device to trigger the Internet of Things device to send a reply message. In turn, the paged Internet of Things device can perform Device-to-Reader (D2R) data transmission. Optionally, the paged Internet of Things device and the reader can also perform Reader-to-Device (R2D) data transmission or other D2R transmission. For example, as shown in FIG. 2, the interaction between the reader and the Internet of Things device can include:
[0125] Step A, the reader sends a paging message to the Internet of Things device.
[0126] Step B, D2R data transmission.
[0127] Optionally, a Random Access Procedure process of the Internet of Things device can be performed.
[0128] Optionally, the identification information of the Internet of Things device can be transmitted to the reader during the D2R data transmission process.
[0129] Step C, R2D data transmission and / or D2R data transmission.
[0130] In some embodiments, the reader and the Internet of Things device can perform independent inventory procedures, independent command procedures, or inventory and command can be in the same procedure. Optionally, if the inventory and the command are studied in the same procedure between the reader and the Internet of Things device, the inventory procedure can be started first based on the procedures of steps A-C above, and then the reader sends a command to the Internet of Things device.
[0131] When the server (e.g., the server 30 in FIG. 1) conducts an inventory of the IoT devices in a certain range, the server can send an inventory instruction to the reader, which can include the location information of the inventory area, the identification information of the IoT devices to be inventoried, and the like. When the reader receives the inventory instruction, it executes the inventory process (as shown in FIG. 3A) according to the identification information of the IoT devices in the inventory instruction. When the reader completes the inventory process, it sends the inventory result to the server.
[0132] FIG. 3A shows an inventory process of the IoT devices, including:
[0133] Step 11. The reader (e.g., the reader 20 in FIG. 1) sends a select command (also called a paging message) to the IoT device (e.g., the IoT device 10 in FIG. 1).
[0134] For example, when the reader receives the inventory command sent by the server (or the inventory command can be sent by the server to the reader through an intermediate node), it generates a select command, which includes the range of the IoT devices (e.g., the EPC code of a specific range to indicate the IoT devices in the specific range). After the IoT device receives the select command, it determines whether it is in the range of the IoT devices indicated in the select command. If the IoT device is in the range of the IoT devices indicated in the select command, it feeds back information after receiving the query command. If the IoT device does not belong to the range of the IoT devices to be determined, it does not have to feed back information after receiving the query command.
[0135] Step 12. The reader sends a query command to the IoT device. It can also be called a round trigger message, which can be the same as the paging message.
[0136] Step 13. When the IoT device receives the query command, it feeds back a random number to the reader.
[0137] For example, the IoT device can feed back the random number to the reader in a competitive manner. For example, the random number can be a 16-bit random number (RN16).
[0138] Step 14. When the reader receives the random number sent by the IoT device, it sends an acknowledgement (ACK) command to the IoT device, which includes the random number received in step 3.
[0139] Step 15. When the IoT device receives the acknowledgement command sent by the reader and verifies that the random number is correct, it feeds back its device-related index, such as the electronic product code (EPC), to the reader.
[0140] Wherein, the EPC code here is used to uniquely identify the IoT device. Optionally, the IoT device can also feedback its other identification information to the reader, such as the identification allocated by the core network or access network, device index device ID.
[0141] Fig. 3B shows the read-write flow of the IoT device. The server performs read-write operation on the IoT device according to the inventory result of the IoT device, wherein, steps 21-25 can refer to the inventory flow shown in steps 11-15 of Fig. 3A, after the server gets the inventory result, the reader can send read-write command to the IoT device based on the indication of the server to perform the read-write flow. Wherein, step 22 is different from step 12, step 22 needs to send a query command to a specific IoT device, which can include the EPC code of the specific IoT device. In addition, as shown in Fig. 3B, the flow also includes steps 26-29:
[0142] Step 26, the reader sends a request random number command (Req_RN) to the IoT device. Wherein, the request random number command includes the random number received in step 23, such as RN16.
[0143] Step 27, the IoT device verifies that the random number is correct, and then sends a handle to the reader.
[0144] Wherein, the handle is used to identify the identification or index of different readers, and in the subsequent read-write flow, the read command or write command includes the handle.
[0145] Step 28, the reader sends a read command or a write command to the IoT device, which includes the handle. If it is a write command, the write command also includes the data to be written into the storage area of the IoT device.
[0146] Step 29, if step 28 is a read command, the IoT device feedbacks the data in its own storage area while including the handle in step 27. If step 28 is a write command, this step can be omitted.
[0147] Wherein, in each interaction flow between the reader and the IoT device, the reader needs to determine the device state of the IoT device in real time, and then perform different operations based on the different device states of the IoT device, therefore, the device state management of the IoT device is needed.
[0148] Therefore, the present application provides a device state management method, the IoT device can report its device state based on the indication of the reader or actively. Thus, the reader can effectively manage and maintain the state information of the IoT device.
[0149] As shown in FIG. 4, based on the structure shown in FIG. 1, another architecture diagram of the Internet of Things to which the embodiments of the present application are applied is further provided. As shown in FIG. 4, the network architecture can include Internet of Things devices, readers / writers, access network devices, core network devices, data networks (DNs), and application functions (AFs). Servers can be deployed in the DNs. The core network devices can be divided into control plane devices and user plane devices. The control plane devices can include at least one of the following devices: a session management device, a network exposure device, a policy control device, a mobility management device, a data storage device, and a charging device.
[0150] The access network device can also be an access network (AN) device or a radio access network (RAN). The main function of the access network device is to control the user to access the mobile communication network through wireless access. The RAN is a part of the mobile communication system. It implements a wireless access technology. Conceptually, it resides between a device (such as a mobile phone, a computer, or any remote control machine) and provides a connection to its core network. The access network device includes but is not limited to: a (gNodeB, gNB) in 5G, an evolved node B (eNB), a radio network controller (RNC), a node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (e.g., a home evolved node B, or a home node B, HNB), a baseband unit (BBU), a transmitting and receiving point (TRP), a transmitting point (TP), a mobile switching center, etc. In addition, it can also include a wireless fidelity (WiFi) access point (AP), etc.
[0151] Optionally, the network architecture can further include terminal devices. In some embodiments, the reader / writer can be an access network device, a pole station, an eNodeB, a gNodeB, an integrated access and backhaul (IAB) node. In some embodiments, the reader / writer can be integrated into the access network device. Optionally, the reader / writer can also be a terminal device.
[0152] In a possible implementation, as shown in FIG. 5A, the Internet of Things device can directly communicate with the base station (BS) without the intervention of the intermediate node. The base station, as a reader, can be used to receive and process signals from the Internet of Things device. And, taking AIoT as an example, as shown in FIG. 5C, the common reader function (Common reader function) of the AIoT wireless access network and the AIoT wireless access network node function (AIoT RAN node function) are located on the base station.
[0153] The intermediate node is used for information forwarding, which can receive wireless signals from the base station (reader) and forward the information to the Internet of Things device. The intermediate node can be an Internet of Things relay, a router or a gateway, or other devices with wireless communication capability and data processing capability.
[0154] In another possible implementation, as shown in FIG. 5B, the Internet of Things device can access the network through the intermediate node. The terminal as a reader, the Common reader function of the AIoT wireless access network is located on the intermediate node (such as UE) and the AIoT RAN node function is located on the base station.
[0155] The server can be located in the DN to provide service services, issue operation instructions, etc. for the terminal. The AF can also provide service services, issue operation instructions, etc. for the terminal. The AF can be located in a third-party application system. The server can be independently deployed with the AF, or can be integrated in the same device, without limitation.
[0156] The user plane device is mainly responsible for forwarding packet data, quality of service (QoS) control, charging information statistics, etc. The charging information can also be referred to as charging data, charging message, charging content, etc. The user plane device can be a user plane function (UPF) entity in the 5G communication system.
[0157] The control plane device is mainly responsible for service flow interaction, issuing data packet forwarding strategy to the user plane, QoS control strategy, etc. Among them, the mobile management device is mainly responsible for the access and mobility management of users. The session management device is responsible for managing the creation and deletion of user protocol data unit (PDU) session, maintaining PDU session context and user plane forwarding pipe information. The network exposure device has the function of opening and providing interfaces to the outside. The policy control device is responsible for formulating QoS control strategy, etc. The charging device is responsible for charging the network resources used in the communication process. The data management device can be responsible for managing and storing data in the network, etc.
[0158] It should be understood that the mobile management device can be an access and mobility management function (AMF) entity in the 5G communication system, the session management device can be a session management function (SMF) entity in the 5G communication system, the policy control device can be a policy control function (PCF) entity in the 5G communication system, and the network exposure device can be a network exposure function (NEF) entity in the 5G communication system. The data storage device can include one or more of the unified data management (UDM) or network repository function (NRF) or unified data repository (UDR) in the 5G communication system. The charging device can be a charging function (CHF) entity in the 5G communication system.
[0159] It can be understood that the above functions can be network elements in hardware devices, or software functions running on dedicated hardware, or virtualized functions instantiated on a platform (e.g., a cloud platform). The above functions can be divided into one or more services, and further, services independent of network functions can also appear. In the present application, an instance of the above function, or an instance of a service included in the above function, or an instance of a service independent of a network function can be referred to as a service instance.
[0160] In some embodiments, the network architecture provided by the embodiments of the present application can further include a first core network node (or referred to as a function, a network element, an entity, etc.), which can be used to be responsible for Internet of Things related services. Taking AIoT as an example, the first core network node can be an AIoT network function node (AIoT network function, AIOT NF), an AIoT controller, an AIoT controller function node (AIoT controller function, AIOT CF), etc.
[0161] The system architecture and service scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. It can be known by those skilled in the art that, with the evolution of network architecture and the appearance of new service scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0162] The embodiments provided by the present application will be specifically introduced below in combination with the accompanying drawings of the specification.
[0163] As shown in FIG. 6, the present application provides a device state management method, which includes the following steps:
[0164] S101, the first Internet of Things device sends first state information to the first reader-writer.
[0165] The first state information is used to represent the reachable state of the first Internet of Things device.
[0166] The first Internet of Things device can be any Internet of Things device within the effective identification range of the first reader-writer. The reachable state of the first Internet of Things device can include a first state and a second state, the first state indicating that the first Internet of Things device is reachable, and the second state indicating that the first Internet of Things device is unreachable.
[0167] Optionally, the reachable state of the first Internet of Things device can be understood as a state in which it can be successfully accessed, communicated or controlled by the first reader-writer.
[0168] In some embodiments, the first Internet of Things device can determine the reachable state of the first Internet of Things device based on the context related to the first Internet of Things device.
[0169] The context corresponding to the first IoT device can include one or more of the following: an AS (access stratum) context and a CN (core network) context. The AS context can include one or more of the following: an AS ID (identity) corresponding to the first IoT device, a reader index corresponding to the first IoT device, and a first period. The first period is similar to a period of a DRX mode. The first IoT device can wake up to transmit a message in an active period of the first period, and not transmit a message or charge in a sleep period of the first period.
[0170] The CN context can include one or more of the following: authentication information, authorization information, security information, CN identity information, identity information of the first IoT device, a correspondence between the first IoT device and the first reader, and the like. The security information can include, for example, a secret key that can be used to encrypt a message in communication to ensure the security of the communication. The secret key can be a non-permanent secret key, or the secret key is not a fixed secret key.
[0171] The identity information of the first IoT device can include an EPC code of the first IoT device, an identity allocated to the device by the CN or RAN, and the like.
[0172] For example, in a case where the first IoT device stores (valid) context, it can be determined that the first IoT device is reachable. For example, in a case where the first IoT device stores an AS context (e.g., stores a radio side allocated identity, an access ID, a scheduling ID, or a first period), it can be determined that the first IoT device is AS-reachable. In a case where the first IoT device stores a CN context (e.g., stores authentication information, authorization information, security information, device identity, a correspondence between the first device and the second device, CN identity information, a secret key, or an identity of the first IoT device allocated by the CN), it can be determined that the first IoT device is CM-reachable. The valid context can be a context within a valid time range or a valid communication number.
[0173] Alternatively, in a case where the first IoT device does not store (valid) context, it can be determined that the first IoT device is not reachable. For example, in a case where the first IoT device does not store an AS context (e.g., an AS identity or a DRX mode has been lost), it can be determined that the first IoT device is AS-unreachable. In a case where the first IoT device does not store a CN context (e.g., CN identity information, a secret key, or an identity of the first IoT device allocated by the CN has been lost), it can be determined that the first IoT device is CM-unreachable.
[0174] In some embodiments, the first status information is used to indicate:
[0175] The first IoT device is reachable;
[0176] The first IoT device is not reachable;
[0177] The AS of the first IoT device is reachable;
[0178] The AS of the first IoT device is not reachable;
[0179] The CM of the first IoT device is reachable;
[0180] Or, the CM of the first IoT device is not reachable.
[0181] In this way, the first IoT device can comprehensively report its own reachability status information (to the first reader), which can enable the first reader to more accurately determine and manage the status of the first IoT device.
[0182] In some embodiments, the first status information can include identification information of the first IoT device; or the first status information includes: identification information of the first IoT device, and reachability / unreachability indication information.
[0183] In an example, the first status information is used to indicate that the first IoT device is reachable.
[0184] For example, the predefined reporting rule of the status information includes: if only the identification of the IoT device is reported, it indicates that the IoT device is reachable, and at this time, the first status information can only include the identification information of the IoT device. Or, the first status information can only include the reachability indication information of the first IoT device, and it should be understood that the first status information in this example does not directly contain the identification information of the first IoT device, and the first reader can determine the identity of the first IoT device through other possible ways, such as the internet protocol address (IP Address) and port number of the sending end (the first IoT device) carried in the information transmission process, the pre-agreed information encryption method, etc. The first IoT device can indicate the identity of the first IoT device through other possible ways. Or, the first status information includes the reachability indication information of the first IoT device and the identification information of the first IoT device.
[0185] The reporting of the first status information does not distinguish between the AS state and the CM state, that is, the first status information can reflect the reachability of the first Internet of Things device as a whole. For example, in a case where the AS of the first Internet of Things device is reachable and the CM is also reachable, the first status information indicates that the first Internet of Things device is reachable. For another example, in a case where the AS of the first Internet of Things device is reachable or the CM is reachable, the first status information indicates that the first Internet of Things device is reachable. For another example, in a case where the first Internet of Things device is online, the first status information indicates that the first Internet of Things device is reachable.
[0186] In another example, the first status information is used to indicate that the first Internet of Things device is unreachable.
[0187] At this time, the first status information can include the unreachable indication information of the first Internet of Things device and / or the identification information of the first Internet of Things device.
[0188] For example, the predefined reporting rule of the status information includes: if only the identification of the Internet of Things device is reported, it is indicated that the Internet of Things device is unreachable, at this time, the first status information can only include the identification information of the Internet of Things device. Or, the first status information can only include the unreachable indication information of the first Internet of Things device, etc. Or, the first status information includes the unreachable indication information of the first Internet of Things device and the identification information of the first Internet of Things device.
[0189] Optionally, the memory can be emptied after the device is powered off. For example, the first Internet of Things device uses a volatile memory to store the device data, or the first Internet of Things device uses a non-volatile memory (NVM) to store data, and performs an erasing operation when powered off. In this way, after the first Internet of Things device is powered off, its status information is no longer available, and when the first Internet of Things device is powered on again and attempts to re-establish a connection, it may need to re-perform identity authentication, configuration, etc.
[0190] In another example, the first status information is used to indicate that the AS is reachable. At this time, the first Internet of Things device stores the AS identification or the first period of AS context.
[0191] For example, the predefined reporting rule of the status information includes: if only the identification of the Internet of Things device is reported, it is indicated that the AS of the Internet of Things device is reachable, at this time, the first status information can only include the identification information of the Internet of Things device. Or, the first status information can only include the AS reachability indication information of the first Internet of Things device. Or, the first status information includes the AS reachability indication information of the first Internet of Things device and the identification information of the first Internet of Things device.
[0192] The reporting of the first status information does not distinguish between the AS status and the CM status, that is, the first status information can reflect the unreachable status of the first Internet of Things device as a whole. For example, in the case that the AS of the first Internet of Things device is unreachable and the CM is unreachable, the first status information indicates that the first Internet of Things device is unreachable. For another example, in the case that the AS of the first Internet of Things device is unreachable or the CM is unreachable, the first status information indicates that the first Internet of Things device is unreachable. For another example, in the case that the first Internet of Things device is offline, the first status information indicates that the first Internet of Things device is unreachable.
[0193] In another example, the first status information is used to indicate that the AS is unreachable. At this time, the AS identifier or the DRX mode in the first Internet of Things device has been lost.
[0194] For example, the predefined reporting rule of the status information includes: if only the identifier of the Internet of Things device is reported, it indicates that the AS of the Internet of Things device is unreachable, at this time, the first status information can only include the identifier information of the Internet of Things device. Alternatively, the first status information can only include the AS unreachable indication information of the first Internet of Things device. Alternatively, the first status information includes the AS unreachable indication information of the first Internet of Things device and the identifier information of the first Internet of Things device.
[0195] In another example, the first status information is used to indicate that the CM is reachable. At this time, the CN identifier information, the secret key or the identifier information of the first Internet of Things device allocated by the CN in the first Internet of Things device is stored.
[0196] For example, the predefined reporting rule of the status information includes: if only the identifier of the Internet of Things device is reported, it indicates that the CM of the Internet of Things device is reachable, at this time, the first status information can only include the identifier information of the Internet of Things device. Alternatively, the first status information can only include the CM reachable indication information of the first Internet of Things device. Alternatively, the first status information includes the CM reachable indication information of the first Internet of Things device and the identifier information of the first Internet of Things device.
[0197] In another example, the first status information is used to indicate that the CM is unreachable. At this time, the CN identifier information, the secret key or the identifier information of the first Internet of Things device allocated by the CN in the first Internet of Things device is lost.
[0198] For example, the predefined reporting rule of the status information includes: if only the identifier of the Internet of Things device is reported, it indicates that the CM of the Internet of Things device is unreachable, at this time, the first status information can only include the identifier information of the Internet of Things device. Alternatively, the first status information can only include the CM unreachable indication information of the first Internet of Things device. Alternatively, the first status information includes the CM unreachable indication information of the first Internet of Things device and the identifier information of the first Internet of Things device.
[0199] In some embodiments, the first status information is further used to indicate: a time of reachability / inreachability.
[0200] For example, in a case where the first status information is used to indicate: the first IoT device is reachable; the AS of the first IoT device is reachable; or, the CM of the first IoT device is reachable, the first status information is further used to indicate: a time of reachability. Or, in a case where the first status information is used to indicate: the first IoT device is not reachable; the AS of the first IoT device is not reachable; or, the CM of the first IoT device is not reachable, the first status information is further used to indicate: a time of inreachability.
[0201] For example, in a case where the first IoT device has entered another flow, the time of inreachability can be determined according to a number of time slots that need to be waited according to the other flow. For another example, the first IoT device can determine the time of reachability based on its own power and indicate the time of reachability through the first status information. The first IoT device can report the time of reachability (the first status information) in a process in which the first reader maintains a device list, for maintenance of a context corresponding to the first IoT device.
[0202] In a possible implementation, the step S101 can be specifically implemented as: sending the first status information to the first reader when the first IoT device satisfies a reporting trigger condition. The reporting trigger condition can be predefined in a protocol.
[0203] That is, the first IoT device actively triggers sending of the first status information to the first reader when the reporting trigger condition is satisfied.
[0204] In some embodiments, the IoT device that satisfies the reporting trigger condition includes any one of:
[0205] an IoT device whose reachability status is changed;
[0206] an IoT device whose reachability status is not changed;
[0207] an IoT device in a reachability state;
[0208] an IoT device in an inreachability state.
[0209] In an example, the change of the reachability status includes: change from reachability to inreachability, change from inreachability to reachability, or change of a reader used for management of the first IoT device.
[0210] In a case where the reader for managing the first IoT device changes, the first IoT device can store an index of a communicated reader. In a case where the reader for the last communication is different from the first reader or the index corresponding to the reader for the last communication is different from the index corresponding to the first reader, it is indicated that the reader for managing the first IoT device changes, i.e., the first IoT device belongs to an IoT device whose reachable state changes, and the reporting trigger condition is met.
[0211] In a case where each reader uses a different index, the first reader and the reader for the last communication are different readers. Alternatively, in a case where all readers in a same reader group use a same index, the first reader and the reader for the last communication belong to different reader groups. It should be understood that, if the first reader and the reader for the last communication are different readers but belong to a same reader group, the received index of the reader group is the same as the index of the reader group for the last communication, and the change of the reader does not occur.
[0212] Optionally, in a case where the reader for managing the first IoT device changes, the first state information can further include indication information for indicating that the reader for managing the first IoT device changes. For example, the first state information can include at least one of identification information of the first IoT device, an AS ID, or a 16-bit random number RN16. The RN16 can be used to indicate the AS ID and the change of the reader for managing the first IoT device.
[0213] The indication information can also be referred to as mobile indication information. Since the first IoT device moves from the effective identification range of one reader to the effective identification range of another reader (the first reader) in the process of the change of the reader for managing the first IoT device, the first IoT device and / or the reader are mobile. Optionally, the mobile indication information can further include unreachable information of the first IoT device, and specifically can include unreachable indication, unreachable time, etc.
[0214] Optionally, the reachability status of the IoT device can be determined within a preset time period. If the first IoT device changes from reachable to unreachable within the preset time period, or changes from unreachable to reachable within the preset time period, or if the reader / writer used to manage the first IoT device changes within the preset time period, the first IoT device can send first status information to the first reader / writer. For example, the preset time period can be a time period set by the first IoT device itself, a time period indicated by the first reader / writer, or a time period agreed upon by the first IoT device and the first reader / writer, such as 1 μs, 1 ms, 1 s, or other possible time periods.
[0215] In another example, unchanged reachability includes remaining reachable, remaining unreachable, or the reader used to manage the first IoT device remaining unchanged.
[0216] If the reader used to manage the first IoT device has not changed, the first IoT device may store the index of the reader that has communicated. If the reader that retains the IoT device context has not changed, the reader that communicated in the last time is the same as the first reader, or the index corresponding to the reader that communicated in the last time is the same as the index corresponding to the first reader, it indicates that the reader used to manage the first IoT device has not changed. That is, the first IoT device belongs to the IoT device whose reachability has not changed, and the reporting trigger condition is met.
[0217] The condition that the index corresponding to the reader in the previous communication is the same as the index corresponding to the first reader includes: when each reader uses a different reader index, the first reader is the same reader as the reader in the previous communication. Alternatively, when all readers in the same reader group use the same index, the first reader belongs to the same reader group as the reader in the previous communication.
[0218] Optionally, if the reader / writer managing the first IoT device has not changed, the aforementioned first status information may further include indication information indicating that the reader / writer managing the first IoT device has changed. For example, the first status information may not include indication information of AS ID change, or the AS ID may use a specific value to represent no change. Optionally, in the 16 bits of the message (such as Msg1), the first N bits may represent the AS ID, and the last 16-N bits may be used to represent no change, such as a specific no-change identifier.
[0219] Optionally, it can be determined whether the reachable state of the Internet of Things device changes within a preset time length. In a case where the first Internet of Things device remains reachable within the preset time length, or in a case where the first Internet of Things device remains unreachable within the preset time length, the first Internet of Things device can send the first state information to the first reader-writer.
[0220] In another example, in a case where the first Internet of Things device is currently in the reachable state, the first state information can be sent to the first reader-writer.
[0221] In another example, in a case where the first Internet of Things device is currently in the unreachable state, the first state information can be sent to the first reader-writer.
[0222] In some embodiments, it can also be determined whether the reporting trigger condition is met according to at least one of whether the reader-writer index received by the first Internet of Things device changes, whether the AS identifier information is stored, and whether the key information is stored.
[0223] For example, it can be determined whether the reader-writer for managing the first Internet of Things device changes according to whether the reader-writer index received by the first Internet of Things device is consistent with the reader-writer index of the last communication, that is, whether the first Internet of Things device belongs to an Internet of Things device whose reachable state changes or an Internet of Things device whose reachable state does not change, and then it is determined whether the first Internet of Things device meets the reporting trigger condition.
[0224] For another example, it can be determined whether the first Internet of Things device is reachable according to whether the AS identifier information is stored and whether the key information is stored, that is, whether the first Internet of Things device belongs to an Internet of Things device in the reachable state or an Internet of Things device in the unreachable state, and then it is determined whether the first Internet of Things device meets the reporting trigger condition.
[0225] S102, the first reader-writer updates or maintains the state information of the first Internet of Things device.
[0226] In some embodiments, the first reader-writer can update the stored state information of the first Internet of Things device based on the received first state information. The updating process can also be referred to as management or maintenance of the state of the Internet of Things device.
[0227] In an example, the context of the first Internet of Things device is stored in the first reader-writer, and the AS identifier in the context is consistent with the AS identifier provided by the first Internet of Things device, or the first state information includes indication information that the reader-writer for managing the first Internet of Things device does not change. At this time, the first reader-writer can update the stored state information of the first Internet of Things device based on the first state information, for example, set the reachable state of the first Internet of Things device, reset the reachable time T of the first Internet of Things device, etc.
[0228] In another example, in a case that the context of the first IoT device is not stored in the first reader-writer, or the AS identifier in the stored context of the first IoT device in the first reader-writer is inconsistent with the AS identifier provided by the first IoT device, or the first state information includes indication information that the reader-writer managing the first IoT device is changed, the first reader-writer can update the stored state information of the first IoT device based on the first state information, for example, set the reachable state of the first IoT device, reset the reachable time T of the first IoT device, and the like.
[0229] Optionally, the first reader-writer can also allocate new AS identifier information for the first IoT device, or the first reader-writer can also obtain the context corresponding to the first IoT device from other reader-writers.
[0230] In an example, in a case that the first IoT device reports the index of the second reader-writer to the first reader-writer, the first reader-writer can obtain the context corresponding to the first IoT device from the second reader-writer based on the index. The second reader-writer is the other reader-writer described above, and the second reader-writer is a reader-writer that has communicated with the first IoT device, and the context corresponding to the first IoT device is stored in the second reader-writer.
[0231] In another example, the first IoT device does not report the index of the second reader-writer to the first reader-writer, and at this time, the first reader-writer can obtain the context corresponding to the first IoT device from the reader-writer nearby. The reader-writer nearby the first reader-writer is the other reader-writer described above, and in some embodiments, the reader-writer nearby the first reader-writer can include the second reader-writer described above.
[0232] Optionally, the first reader-writer can also report the identifier information of the first IoT device to the core network. The core network can maintain the correspondence between the IoT device and the reader-writer, so that the reader-writer can report the identifier information of the IoT device whose correspondence changes to the core network, so as to facilitate the maintenance of the correspondence.
[0233] Based on the technical solutions provided in the embodiments of the present application, the reader-writer can obtain the state information of the IoT device in time, and can know the reachability related information of the IoT device in near real time, so as to effectively manage and maintain the state information of the IoT device. In this way, when the server related service is completed, the reader-writer can perform different operations based on different state information of the IoT device, so as to improve the accuracy of the management of the IoT device, and further improve the reliability and completion efficiency of the related service in the IoT.
[0234] Moreover, in the technical solution, the Internet of Things device can actively report state information, has high initiative, and can reduce dependence on the network side, and can more timely report state information when the device detects that the state of the device changes.
[0235] In another possible implementation, as shown in FIG. 7, another device state management method provided by the present application includes the following steps:
[0236] S200, the first reader / writer sends first signaling to the first Internet of Things device.
[0237] The first signaling is used to request state information, or is used to instruct reporting state information.
[0238] For example, the first reader / writer can send R2D signaling, that is, the first signaling, to the first Internet of Things device. The first signaling can be a preset message type, such as AS state maintenance signaling or signaling for instructing inventory, etc. For example, the instruction for requesting state information or for instructing reporting state information can be indicated by 1 bit “S bit” in AIoT paging information triggered by the inventory process or other possible ways.
[0239] In some embodiments, the first signaling is periodically triggered. Optionally, the first signaling can include full / group inventory instruction information.
[0240] Alternatively, the first signaling is triggered by valid information of the state of the first Internet of Things device. The valid information can include valid time corresponding to the state information of the first Internet of Things device, valid communication times, etc. Further, in a case where the use time of the state information exceeds the valid time, the first reader / writer can be triggered to send the first signaling. Alternatively, in a case where the communication times corresponding to the state information reach the valid communication times, the first reader / writer can be triggered to send the first signaling.
[0241] For example, based on the valid time, the first signaling can be triggered by a timer of the AS state of the first Internet of Things device. At this time, the first signaling can include identification information of the Internet of Things device whose timer of the AS state expires, that is, the first signaling is used to request state information of the Internet of Things device whose timer of the AS state expires or is used to instruct the Internet of Things device whose timer of the AS state expires to report state information. For another example, the first signaling can also be triggered by a timer related to the reachable state of the first Internet of Things device relative to the core network. For example, the first reader / writer sends the first signaling when the available time of the secret key or the correspondence between the reader / writer and the Internet of Things device expires.
[0242] In some embodiments, the first signaling can be triggered by a service request of the core network or triggered by the access network device itself. For example, the first signaling is triggered by the access network device itself, and the first signaling can be carried in a media access control control element (MAC CE) or a media access control protocol data unit (MAC PDU). For another example, the first signaling can be a physical reader to device channel (PRDCH) message.
[0243] In some embodiments, the first signaling is specifically used to request state information of the Internet of Things device that meets the reporting trigger condition, or is specifically used to instruct the Internet of Things device that meets the reporting trigger condition to report the state information.
[0244] In this way, the first reader can set the reporting trigger condition based on the current actual demand, so as to flexibly manage and maintain the device state of the first Internet of Things device based on real-time demand, and can avoid unnecessary information transmission, efficiently manage network resources and device states, and reduce unnecessary overhead.
[0245] The Internet of Things device that meets the reporting trigger condition includes any one of the following:
[0246] The Internet of Things device whose reachability state changes;
[0247] The Internet of Things device whose reachability state does not change;
[0248] The Internet of Things device in the reachability state;
[0249] The Internet of Things device in the unreachability state.
[0250] In some embodiments, the first signaling can further specifically include identification information of the Internet of Things device, AS identification information, or full / group inventory indication information, that is, the Internet of Things device corresponding to the identification information of the Internet of Things device, the AS identification information, or the full / group inventory indication information needs to report the state information.
[0251] The identification information of the Internet of Things device can be a device identifier allocated to the Internet of Things device by the core network.
[0252] The AS identification information can include an AS identifier allocated by each reader, an AS identifier allocated by a reader group, or an AS identifier allocated by each area.
[0253] It should be noted that in the case that the AS identifiers of the readers belonging to the same reader group are the same, the AS context of the Internet of Things may not change when the Internet of Things changes between different readers in the same reader group.
[0254] Optionally, the first signaling can also carry a reader / reader group index / region index. The reader index is used for the index of the first reader. The reader group index is the index of the reader group in which the first reader is located. The region index is the index of the region in which the first reader is located.
[0255] As shown in Table 1, the first signaling can include the type or identification code of the message Message type = 110, the reader / reader group index Reader / Reader group ID, the AS identification information AS ID 1, AS ID 2, AS ID 3, AS ID 4, and the specific indication 01. The specific indication 01 can be used for the identification information of the Internet of Things device, the full / group inventory indication information, or other possible identification information.
[0256] Table 1
[0257] S201, the first Internet of Things device sends first state information to the first reader.
[0258] In some embodiments, the step S201 can refer to the related description in the step S101, and will not be described here.
[0259] In some embodiments, in the case that the first signaling is specifically used to request the state information of the Internet of Things device that meets the reporting trigger condition, or is specifically used to indicate that the Internet of Things device that meets the reporting trigger condition reports the state information, the step S201 can be specifically implemented as: when the first Internet of Things device meets the reporting trigger condition, the first Internet of Things device sends the first state information to the first reader.
[0260] S202, the first reader updates or maintains the state information of the first Internet of Things device.
[0261] In some embodiments, the step S202 can refer to the related description in the step S102, and will not be described here.
[0262] In some embodiments, the first signaling includes the identification information of the first Internet of Things device or the AS identification information, and the first reader does not receive the first state information from the first Internet of Things device. At this time, the first reader can also update the stored state information of the first Internet of Things device, for example, set the unreachable state of the first Internet of Things device.
[0263] Based on the technical solutions provided in the embodiments of the present application, the reader can instruct the Internet of Things device to report state information, so that the state information of the Internet of Things device can be effectively managed and maintained. In this way, when the server-related service is completed, the reader can perform different operations based on different state information of the Internet of Things device, thereby improving the accuracy of the management of the Internet of Things device, and further improving the reliability and completion efficiency of the related service in the Internet of Things. Moreover, the reader can flexibly instruct the Internet of Things device to report state information according to the needs, and can adapt to different actual business scenario needs.
[0264] In yet another possible implementation, as shown in FIG. 8, another device state management method provided in the present application includes the following steps:
[0265] S300, the first reader sends second signaling to the first Internet of Things device.
[0266] The second signaling includes an inventory command or a PRDCH command of the second Internet of Things device.
[0267] The second Internet of Things device can be any other Internet of Things device different from the first Internet of Things device. That is, the second signaling is signaling for instructing corresponding operations of other Internet of Things devices except the first Internet of Things device.
[0268] In some embodiments, the second signaling is periodically triggered. Optionally, the second signaling can include full / group inventory indication information.
[0269] In some embodiments, the second signaling can be triggered by a service request of a core network, or triggered by an access network device itself.
[0270] In some embodiments, the second signaling can further include identification information of the Internet of Things device, AS identification information, or full / group inventory indication information, that is, the Internet of Things device corresponding to the identification information of the Internet of Things device, the AS identification information, or the full / group inventory indication information needs to report state information.
[0271] S301, the first Internet of Things device sends first state information to the first reader.
[0272] The step S301 can refer to the related description in the step S101, and will not be described here again.
[0273] In some embodiments, the first state information is further used to indicate that the first Internet of Things device does not match the identification information of the Internet of Things device carried by the second signaling.
[0274] For example, the second signaling can include an identification list of all second IoT devices, where the identification list does not include the identification of the first IoT device. At this time, it is necessary to indicate that the reported state information is not the state information of the second IoT device, and therefore the first state information can additionally indicate that the first IoT device does not match the identification information of the IoT device carried by the second signaling.
[0275] In some embodiments, the second signaling can indicate that the signaling allows other devices (for example, the first IoT device) other than the second IoT device to reply. Alternatively, the first state information sent by the first IoT device can also be enabled or predefined for the first reader.
[0276] S302, the first reader updates or maintains the state information of the first IoT device.
[0277] Wherein, step S302 can refer to the related description in step S102, which will not be repeated here.
[0278] Based on the technical solutions provided in the embodiments of the present application, the IoT device can report state information based on the signaling of other devices, thereby reducing the burden on the network and saving signaling overhead.
[0279] In another possible implementation, as shown in FIG. 9, another device state management method provided by the present application includes the following steps:
[0280] S401, the first reader sends third signaling to the first IoT device.
[0281] Wherein, the third signaling is used to indicate the first IoT device to update, maintain or release the reachability state.
[0282] In some embodiments, the reachability state update includes CM state update, maintenance or release, or AS state update, maintenance or release. That is, the third signaling can be used to indicate the first IoT device to update, maintain or release the CM state, or update, maintain or release the AS state.
[0283] Optionally, the third signaling is periodically triggered. Optionally, the third signaling can include full / group inventory indication information.
[0284] Optionally, the third signaling can be a preset message type, such as AS state maintenance signaling or signaling for indicating inventory, etc. For example, the CM state update indication can be indicated by 1 bit "S bit" in AIoT paging information triggered by the inventory process or other possible ways.
[0285] In some embodiments, the third signaling can further specifically include the identification information of the IoT device, the AS identification information, or the full / group inventory indication information, i.e., the IoT device corresponding to the identification information of the IoT device, the AS identification information, or the full / group inventory indication information needs to report the state information.
[0286] In some embodiments, the third signaling includes at least one of:
[0287] indication information for instructing the first IoT device to update, maintain, or release the reachability state.
[0288] configuration information of the context corresponding to the first IoT device.
[0289] configuration information of the state information corresponding to the first IoT device.
[0290] The indication information for instructing the first IoT device to update, maintain, or release the reachability state can specifically be used to instruct the first IoT device to release the AS state information or the CM state information, maintain (retain) the AS state information or the CM state information, or update the AS state information or the CM state information.
[0291] Optionally, the indication information for instructing the first IoT device to update, maintain, or release the reachability state can include first indication information or second indication information, wherein the first indication information is used to instruct the first IoT device to update the reachability state, and the second indication information is used to instruct the first IoT device to maintain the reachability state. Alternatively, the indication information for instructing the first IoT device to update, maintain, or release the reachability state only includes the first indication information, in the case that the third signaling includes the first indication information, the third signaling can be used to instruct the first IoT device to update the reachability state, and in the case that the third signaling does not include the first indication information, the third signaling can be used to instruct the first IoT device to maintain the reachability state. Alternatively, the indication information for instructing the first IoT device to update, maintain, or release the reachability state only includes the second indication information, in the case that the third signaling includes the second indication information, the third signaling can be used to instruct the first IoT device to maintain the reachability state, and in the case that the third signaling does not include the second indication information, the third signaling can be used to instruct the first IoT device to update the reachability state.
[0292] The configuration information of the context corresponding to the first IoT device can include the context of the first IoT device stored by the first reader-writer and valid information of the context. The valid information can include a valid time corresponding to the first IoT device state information, a valid communication number, and the like. The context of the first IoT device can include an AS context and a CN context. The context of the first IoT device can refer to the related description in the above step S101, and will not be described here again.
[0293] The configuration information of the state information corresponding to the first IoT device can include related information of an AS reachable state, valid information of the AS reachable state, related information of a CM reachable state, and valid information of the CM reachable state.
[0294] In a possible implementation manner, the third signaling can be used to indicate releasing the CM state information, maintaining (retaining) the CM state information, or updating the CM state information.
[0295] For example, the third signaling can be specifically used to instruct the first IoT device to release a CN context, retain the CN context, or update the CN context. Optionally, the third signaling can further include configuration information of the CN context, related information of a CM reachable state, and valid information of the CM reachable state. The third signaling can be triggered by the core network, for example, triggered by a request message or valid information of the CM state information configured by the core network.
[0296] In some embodiments, the first reader-writer can obtain a ciphering and deciphering context update request from the core network. Based on the ciphering and deciphering context update request, the third signaling is sent to the first IoT device.
[0297] Optionally, the ciphering and deciphering context update request can include an updated CN context, for example, an updated secret key, a valid time, and the like.
[0298] For example, the core network can configure a timer for the first reader-writer, and the timer can register a maintenance time of a state, used to trigger state maintenance, or the core network can send a state maintenance request to the reader-writer, and the request is triggered based on expiration of the first timer.
[0299] In another possible implementation manner, the third signaling can be used to indicate releasing the AS state information, maintaining (retaining) the AS state information, or updating the AS state information.
[0300] For example, the third signaling can be specifically used to instruct the first IoT device to release an AS context, retain the AS context, or update the AS context. Optionally, the third signaling can further include configuration information of the AS context, related information of an AS reachable state, and valid information of the AS reachable state.
[0301] In the implementation, the third signaling can be triggered based on valid information of the AS state information. For example, the third signaling can be triggered based on another timer, which can be a timer related to the AS state of each Internet of Things device stored by the first reader, for the first reader to manage and maintain each Internet of Things device.
[0302] S402, the first Internet of Things device updates, maintains or releases the reachable state according to the third signaling.
[0303] In a possible implementation, the reachable state update includes CM update, maintenance or release.
[0304] Step S402 can specifically include at least one of the following:
[0305] store the information related to the CM reachable state;
[0306] discard the information related to the CM reachable state;
[0307] receive the information related to the CM reachable state from the first reader.
[0308] In one example, when the third signaling is used to instruct to maintain (reserve) the CM state information, the first Internet of Things device maintains (reserves) the current CM state information. It should be understood that the CM state information at this time is used to indicate the CM reachable state of the first Internet of Things device, and the information related to the CM reachable state can include the CN context. For example, the CM reachable state of the first Internet of Things device includes that the first Internet of Things device stores the CN context, and the stored CN context is valid.
[0309] In another example, when the third signaling is used to instruct to update the CM state information, the first Internet of Things device can also receive the information related to the CM reachable state from the first reader. Further, when the first Internet of Things device does not store the information related to the CM reachable state, the first Internet of Things device can store the received information related to the CM reachable state. Alternatively, when the first Internet of Things device stores the information related to the CM reachable state, the first Internet of Things device can discard the stored information related to the CM reachable state and store the received information related to the CM reachable state.
[0310] For example, it can be implemented as steps S11-S14 as follows:
[0311] S11, the first Internet of Things device can discard the stored secret key, perform random access, and send the identification information of the first Internet of Things device to the first reader.
[0312] S12, the first reader receiving the identification information of the first Internet of Things device can send the updated secret key to the first Internet of Things device.
[0313] Optionally, the first reader-writer can further send state maintenance indication information to the first IoT device.
[0314] In some embodiments, the first reader-writer receives the identification information of the first IoT device, and can further report the identification information of the first IoT device to the core network to further indicate that the CM state update is completed. Optionally, the first reader-writer can further receive the encryption and decryption context from the core network.
[0315] S13, the first IoT device saves the updated secret key.
[0316] Optionally, the first IoT device can further restart the related timer. The operation is an operation performed by the state maintenance indication information, and if the first reader-writer does not send the state maintenance indication information, the related operation can not be performed.
[0317] S14, the core network restarts the related timer after receiving the determination message from the first reader-writer.
[0318] In another possible implementation, the reachable state update includes AS update, maintenance or release.
[0319] Step S402 can specifically include at least one of the following:
[0320] storing the AS reachable state related information;
[0321] discarding the AS reachable state related information;
[0322] receiving the AS reachable state related information from the first reader-writer.
[0323] In one example, in the case where the third signaling is used to indicate that the AS state information is maintained (reserved), the first IoT device maintains (reserves) the current AS state information. It should be understood that the AS state information at this time is used to indicate the AS reachable state of the first IoT device, and the AS state information can also be referred to as AS reachable state related information. The AS reachable state of the first IoT device can include that the first IoT device stores the AS context, and the stored AS context is valid.
[0324] In another example, in the case where the third signaling is used to indicate that the AS state information is updated, the first IoT device can further receive the AS reachable state related information from the first reader-writer. Further, when the first IoT device does not store the AS reachable state related information, the first IoT device can store the received AS reachable state related information. Alternatively, when the first IoT device stores the AS reachable state related information, the first IoT device can discard the stored AS reachable state related information and store the received AS reachable state related information.
[0325] Exemplarily, the steps S21-S24 can be implemented as follows:
[0326] S21, the first IoT device can discard the stored AS identification information, perform random access, and send the identification information of the first IoT device to the first reader.
[0327] S22, the first reader receives the identification information of the first IoT device.
[0328] Optionally, the first reader can send the updated AS identification information to the first IoT device. Exemplarily, the updated AS identification information is a newly generated AS ID or the updated AS identification information can reuse the 16-bit random number RN generated by the first IoT device.
[0329] Optionally, the first reader can also send state maintenance indication information to the first IoT device.
[0330] In some embodiments, the first reader can restart the relevant timer, which can be a timer corresponding to the AS state of each IoT device stored by the first reader, for the management and maintenance of each IoT device by the first reader.
[0331] Optionally, S23, the first IoT device saves the updated AS identification information.
[0332] Optionally, the first IoT device can also restart the start-related timer. Wherein, the operation is the operation performed by the state maintenance indication information, if the first reader does not send the state maintenance indication information, the relevant operation can not be performed.
[0333] S24, after the core network receives the determination message of the first reader, restarts the relevant timer.
[0334] Based on the above embodiments, the state information of the IoT device can be updated, maintained or released based on the instruction of the first reader, thereby ensuring the real-time and accuracy of the state of the device in the network, which helps to provide more stable and reliable services and improve the stability and security of the network. And, through the periodic or on-demand state information update, the resources can be more effectively managed based on the state information.
[0335] It can be understood that the reader or the Internet of Things device provided by the embodiment of the present application comprises a hardware structure and / or a software module corresponding to the execution of each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed in the present application, the embodiments of the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is realized in the form of hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present application.
[0336] The embodiments of the present application can divide the functional modules of the above-mentioned reader or Internet of Things device according to the above-mentioned method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing module. The above-mentioned integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical functional division. Actual implementation can have another division method.
[0337] In an example, please refer to FIG. 10, which shows a possible structural schematic diagram of an electronic device related to the above-mentioned embodiments. The electronic device can be an Internet of Things device or a reader. The device 1000 comprises a processing unit 1010 and a storage unit 1020.
[0338] The processing unit 1010 is configured to control and manage the actions of the terminal device 1000. The storage unit 1020 is configured to save the program code and data of the terminal device 1000. The processing unit 1010 invokes the program code stored in the storage unit 1020 to execute each step in the above method embodiments.
[0339] Of course, the unit modules in the above-mentioned terminal device 1000 include but are not limited to the above-mentioned processing unit 1010 and storage unit 1020. For example, the terminal device 1000 can also comprise a display unit, a communication unit, a power supply unit, etc. The display unit is configured to display the user interface of the terminal device 1000, for example, to display application icons, to display application interfaces, etc. The communication unit is configured to communicate with other electronic devices. The power supply unit is configured to supply power to the terminal device 1000.
[0340] The processing unit 1010 can be a processor or a controller, for example, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The storage unit 1020 can be a memory. The display unit can be a display screen and the like.
[0341] For example, the processing unit 1010 is a processor, the storage unit 1020 can be a memory, and the display unit can be a display screen. The above processor, memory, display screen and the like can be connected together, for example, through a bus. The processor calls the program code stored in the memory to execute the steps in the above method embodiments.
[0342] The embodiments of the present application also provide a chip system (for example, a system on a chip (SoC)), as shown in FIG. 11, which includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 and the interface circuit 1102 can be interconnected through a line. For example, the interface circuit 1102 can be used to receive signals from other devices (for example, a memory of an electronic device). For another example, the interface circuit 1102 can be used to send signals to other devices (for example, the processor 1101 or a touch screen of a terminal device). Illustratively, the interface circuit 1102 can read instructions stored in the memory and send the instructions to the processor 1101. When the instructions are executed by the processor 1101, the terminal device can be caused to perform the steps in the above embodiments. Of course, the chip system can also include other discrete devices, which are not limited in the embodiments of the present application.
[0343] The embodiments of the present application also provide a computer readable storage medium, which includes computer instructions, when the computer instructions are run on the above terminal device, causing the terminal device to perform each function or step in the above method embodiments.
[0344] The embodiments of the present application also provide a computer program product, when the computer program product is run on a computer, causing the computer to perform each function or step in the above method embodiments.
[0345] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is exemplified, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0346] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0347] The units described as separate components can or can not be physically separated, and the components shown as units can be one physical unit or multiple physical units, that is, they can be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0348] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0349] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application essentially or say the parts that make contributions to the prior art or all or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions to make a device (which can be a single-chip microcomputer, a chip, etc.) or a processor execute all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various storage medium that can store program codes.
[0350] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any change or replacement within the technical scope disclosed by the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A device state management method characterized by, The method is applied to a first Internet of Things device, and the method comprises: sending first state information to a first reader-writer, the first state information being used to represent a reachable state of the first Internet of Things device.
2. The method of claim 1, wherein, The first state information is used to indicate: The first Internet of Things device is reachable. The first Internet of Things device is not reachable. An access stratum (AS) of the first Internet of Things device is reachable. The AS of the first Internet of Things device is not reachable. A connection management (CM) of the first Internet of Things device is reachable. Or, the CM of the first Internet of Things device is not reachable.
3. The method of claim 2, wherein: The first state information comprises identification information of the first Internet of Things device. Or, the first state information comprises identification information of the first Internet of Things device and reachable / unreachable indication information.
4. The method of claim 3, wherein, The first state information is also used to indicate a time of reachability / unreachability.
5. The method according to any one of claims 1-4, characterized in that, Before the step of sending the first state information to the first reader-writer, the method further comprises: receiving first signaling from the first reader-writer, the first signaling being used to request state information or to indicate reporting state information.
6. The method of claim 5, wherein, The first signaling is specifically used to request state information of an Internet of Things device that meets a reporting trigger condition, or the first signaling is specifically used to indicate that an Internet of Things device that meets a reporting trigger condition reports state information. The step of sending the first state information to the first reader-writer comprises: sending the first state information to the first reader-writer when the first Internet of Things device meets the reporting trigger condition.
7. The method of claim 6, wherein, The reporting trigger condition is carried by the first signaling or is predefined.
8. The method according to any one of claims 5-7, characterized in that, The first signaling comprises at least one of the following: a reader-writer index, a reader-writer group index, and a region index.
9. The method according to any one of claims 1-4, characterized in that, The step of sending the first state information to the first reader-writer comprises: sending the first state information to the first reader-writer when the first Internet of Things device meets the reporting trigger condition.
10. The method according to any one of claims 6-9, characterized in that, The Internet of Things device that meets the reporting trigger condition comprises any of the following: An Internet of Things device whose reachable state has changed. An Internet of Things device whose reachable state has not changed. An Internet of Things device that is in a reachable state. An Internet of Things device that is in an unreachable state.
11. The method of claim 10, wherein, The Internet of Things device whose reachable state has changed comprises a reader-writer whose context of an Internet of Things device has changed, a reader-writer of last communication being different from the first reader-writer, or an index corresponding to a reader-writer of last communication being different from an index corresponding to the first reader-writer.
12. The method according to any one of claims 6-11, characterized in that, Before the step of sending the state information to the first reader-writer, the method further comprises: determining whether the reporting trigger condition is met according to at least one of the following: whether a reader-writer index received by the first Internet of Things device has changed, whether AS identification information stored, and whether key information stored.
13. The method of any one of claims 1-4, wherein, Before the step of sending the first state information to the first reader-writer, the method further comprises: receiving second signaling from the first reader-writer, the second signaling comprising an inventory command of a second Internet of Things device or a physical reader-writer-to-device channel command. The step of sending the first state information to the first reader-writer comprises: sending the first state information to the first reader-writer in response to the second signaling.
14. The method of claim 13, wherein, The first state information is further used for indicating that the first Internet of Things device does not match the identification information of the Internet of Things device carried by the second signaling.
15. A device state management method characterized by comprising: The method is applied to a first reader, and the method comprises: receiving first state information from a first Internet of Things device, the first state information being used for representing a reachable state of the first Internet of Things device; updating or maintaining state information of the first Internet of Things device.
16. The method of claim 15, wherein, The first state information is used for indicating: that the first Internet of Things device is reachable; that the first Internet of Things device is not reachable; that an AS of the first Internet of Things device is reachable; that an AS of the first Internet of Things device is not reachable; that a CM of the first Internet of Things device is reachable; or that a CM of the first Internet of Things device is not reachable.
17. The method of claim 16, wherein: the first state information comprises identification information of the first Internet of Things device; or the first state information comprises identification information of the first Internet of Things device and reachable / unreachable indication information.
18. The method according to claim 16 or 17, characterized in that The first state information is further used for indicating a time of reachability / unreachability.
19. The method according to any one of claims 15-18, characterized by, Before the receiving of the first state information from the first Internet of Things device, the method further comprises: sending first signaling to the first Internet of Things device, the first signaling being used for requesting state information or indicating reporting of state information.
20. The method of claim 19, wherein, The first signaling comprises at least one of the following: a reader index, a reader group index, and a region index.
21. The method of claim 19 or 20, wherein, The first signaling is periodically triggered, or the first signaling is triggered by valid information of the state of the first Internet of Things device.
22. The method of any one of claims 19-21, wherein, The first signaling is specifically used for requesting state information of an Internet of Things device satisfying a reporting trigger condition, or is specifically used for indicating reporting of state information by an Internet of Things device satisfying a reporting trigger condition.
23. The method of claim 22, wherein, The reporting trigger condition is carried by the first signaling or is predefined.
24. The method of claim 22, wherein, The Internet of Things device satisfying the reporting trigger condition comprises any one of the following: an Internet of Things device whose reachable state is changed; an Internet of Things device whose reachable state is not changed; an Internet of Things device in a reachable state; or an Internet of Things device in an unreachable state.
25. The method of claim 24, wherein, The Internet of Things device whose reachable state is changed comprises a reader whose context of an Internet of Things device is changed, a reader different from a last communication reader, or an index corresponding to a last communication reader different from an index corresponding to the first reader.
26. The method of any one of claims 15-18, wherein, Before the receiving of the first state information from the first Internet of Things device, the method further comprises: sending second signaling to the first Internet of Things device, the second signaling comprising an inventory command of a second Internet of Things device or a physical reader-to-device channel command.
27. The method of claim 26, wherein, The first state information is further used for indicating that the first Internet of Things device does not match the identification information of the Internet of Things device carried by the second signaling.
28. A device state management method, comprising: The method is applied to a first Internet of Things device, and the method comprises: receiving third signaling from a first reader, the third signaling being used for indicating that the first Internet of Things device performs reachable state updating, maintaining, or releasing; performing reachable state updating, maintaining, or releasing according to the third signaling.
29. The method of claim 28, wherein, The third signaling comprises at least one of the following: indication information for instructing the first IoT device to perform reachability state update, maintenance or release; configuration information of a context corresponding to the first IoT device; configuration information of state information corresponding to the first IoT device.
30. The method of claim 28 or 29, wherein, The reachability state update, maintenance or release comprises CM state update, maintenance or release, and AS state update, maintenance or release.
31. The method of any one of claims 28-30, wherein, The performing of the reachability state update comprises at least one of the following: storing information related to CM reachability state; discarding information related to CM reachability state; receiving information related to CM reachability state from the first reader-writer.
32. The method of any one of claims 28-30, wherein, The performing of the reachability state update comprises at least one of the following: storing information related to AS reachability state; discarding information related to AS reachability state; receiving information related to AS reachability state from the first reader-writer.
33. A device state management method, comprising: The method applied to the first reader-writer comprises: sending third signaling to the IoT device, the third signaling being used for instructing the first IoT device to perform reachability state update, maintenance or release.
34. The method of claim 33, wherein, The third signaling comprises at least one of the following: indication information for instructing the first IoT device to perform reachability state update, maintenance or release; configuration information of a context corresponding to the first IoT device; configuration information of state information corresponding to the first IoT device.
35. The method of claim 33 or 34, wherein, The reachability state update, maintenance or release comprises CM state update, maintenance or release, and AS state update, maintenance or release.
36. The method of any one of claims 33-35, wherein, The third signaling is triggered by a timer set by a core network, the third signaling is triggered by update request information of the core network, or the third signaling is triggered by state validity information of the first IoT device.
37. The method of any one of claims 33-36, wherein, The method further comprises: receiving identification information from the first IoT device; based on the identification information, sending configuration information of updated CM state to the first IoT device.
38. The method of any one of claims 33-36, wherein, The method further comprises: receiving identification information from the first IoT device; based on the identification information, sending configuration information of updated AS state to the first IoT device.
39. An electronic device, comprising: The electronic device comprises a processor and a memory, the processor is coupled with the memory; the memory is used for storing computer program code; the computer program code comprises computer instructions, when the processor executes the computer instructions, the electronic device performs the method as claimed in any one of claims 1-38.
Citation Information
Patent Citations
5G network resource control method and device, electronic equipment and storage medium
CN115734374A
Communication method and device
CN116056028A
Paging method and communication device
CN116762366A
Wireless access method, information processing method and network system based on Internet of Things
CN117320003A
System and method for resolving and assigning tag's location information by detecting the movement of the tag
KR101065445B1